Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for operating system switching with dual Android terminals

An operating system and Android technology, applied in the directions of boot programs, program control devices, etc., can solve problems such as upper-layer application errors

Active Publication Date: 2022-07-29
CHENGDU TD TECH LTD
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing smart terminals with dual Android systems cannot achieve the above goals, and may cause errors in upper-layer applications during system switching.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for operating system switching with dual Android terminals
  • Method and device for operating system switching with dual Android terminals

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0074] Embodiment 1: The processing flow of switching the system when playing music or video

[0075] When switching between dual operating systems, the music player is notified by sending a system broadcast to pause the music (Music) playback, and simulates the power (Power) button to put the operating system that is about to switch to the background and enter the sleep state, so that the Switch to the background operating system to pause the playback of all currently running videos (Video), so that the music player and video player will stop occupying audio and video hardware resources. At the same time, this embodiment starts a monitoring thread on the media playback server (MediaPlayerService) to monitor the system switching event. When the monitoring thread monitors that the operating system is switched from the foreground to the background, and all audio and video are stopped playing, a notification Kernel audio and video hardware resources have been released.

[0076] ...

Embodiment 2

[0077] Embodiment 2: The processing flow of switching the system when playing the prompt tone

[0078] When the foreground system is currently playing prompt sounds (for example: screen lock, incoming call, alarm clock, etc.), the system switching cannot force the system to release the hardware resources used to play these prompt sounds from the application layer. Therefore, in this embodiment, the HAL layer is used. The audio module starts a monitoring thread to monitor system switching events. When the system switches from the foreground to the background, all audio resources are released, and the upper-layer write data operations (play audio) and read data operations (record audio) are overridden; when the system switches from the background When switching to the foreground, the upper-layer read and write data operations are reconnected.

[0079] The technical effect achieved by adopting this processing method in this embodiment is: the sound playback / recording logic of the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present application discloses a method for switching operating systems with dual Android terminals, comprising: for an audio and video playback application currently running in an operating system that is about to be switched to the background in the dual Android terminals, suspending all audio and video playback applications by means of system broadcasting. The audio and video playback application; the audio and video playback application pauses the audio and video playback according to the system broadcast, and releases the audio and video hardware resources occupied by the audio and video playback application. Corresponding to the above method, the present application also discloses a dual Android terminal device. The application of the technical solution disclosed in the present application can ensure the normal operation of the upper-layer application program when the operating system is switched.

Description

technical field [0001] The present application relates to the technical field of intelligent terminals, and in particular, to a method and device for switching operating systems with dual Android terminals. Background technique [0002] Android, the common unofficial Chinese name is Android, is an open source mobile operating system based on the Linux kernel. It is continuously led and developed by the Open Handset Alliance (OHA, Open Handset Alliance) established by Google. It is mainly designed for touch screens. Mobile devices such as smartphones and tablets and other portable devices. [0003] Normally, an Android phone has only one operating system, but with the development of technology, some smart terminals with dual Android systems have appeared. However, this is actually a dual-domain smart terminal. This type of terminal can still only start one Android operating system at a time, and using two users does not start two Android systems. This switching system is no...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/4401
CPCG06F9/441
Inventor 袁程波蒋兴
Owner CHENGDU TD TECH LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products