CN111324431A - Application switching method and device and computer storage medium - Google Patents

Application switching method and device and computer storage medium Download PDF

Info

Publication number
CN111324431A
CN111324431A CN202010063502.4A CN202010063502A CN111324431A CN 111324431 A CN111324431 A CN 111324431A CN 202010063502 A CN202010063502 A CN 202010063502A CN 111324431 A CN111324431 A CN 111324431A
Authority
CN
China
Prior art keywords
application
target
vehicle
identifier
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010063502.4A
Other languages
Chinese (zh)
Other versions
CN111324431B (en
Inventor
商颖
孙权
侯捷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Wutong Chelian Technology Co Ltd
Original Assignee
Beijing Wutong Chelian Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Wutong Chelian Technology Co Ltd filed Critical Beijing Wutong Chelian Technology Co Ltd
Priority to CN202010063502.4A priority Critical patent/CN111324431B/en
Publication of CN111324431A publication Critical patent/CN111324431A/en
Application granted granted Critical
Publication of CN111324431B publication Critical patent/CN111324431B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses an application switching method and device and a computer storage medium, and belongs to the technical field of vehicle electronics. The method comprises the following steps: the method comprises the steps that the vehicle-mounted system obtains an application identifier of a first application installed in the vehicle-mounted system, wherein the first application is any third-party application installed in the vehicle-mounted system; when the identification set comprises application identifications of the first application, adding the first application into the application set, wherein the identification set comprises application identifications of all third-party applications supported by the vehicle-mounted system to perform application switching; and when an application switching instruction is received, starting the target application in the application set. Because the application set can comprise the third-party application, the method and the device support switching of the applications except the application built in the vehicle-mounted system, and therefore flexibility of application switching is improved.

Description

Application switching method and device and computer storage medium
Technical Field
The present application relates to the field of vehicle electronics, and in particular, to an application switching method and apparatus, and a computer storage medium.
Background
As the vehicle industry develops, more and more electronic technologies are applied to vehicles. One of the major directions in which electronic technology is applied in the vehicle industry is vehicle-mounted systems built in vehicles.
In the related art, a vehicle-mounted system built in a vehicle can provide functions of audio playing, bluetooth telephone, navigation and the like. Currently, a plurality of keys are generally provided on a steering wheel of a vehicle. The plurality of keys are used for realizing control over the vehicle-mounted system, such as switching audio playing sources (audio playing sources are called as sound sources for short), controlling audio playing volume, receiving and making Bluetooth calls and the like. Wherein switching the audio source comprises switching an application for playing the audio.
The existing sound source switchable by keys on the steering wheel in the vehicle-mounted system is limited to applications built in the vehicle-mounted system, such as a broadcasting station, a bluetooth music player, and a Universal Serial Bus (USB) music player, and the flexibility of application switching is low.
Disclosure of Invention
The application switching method and device and the computer storage medium can solve the problem of low flexibility of application switching in the related art. The technical scheme is as follows:
in a first aspect, a method for switching applications is provided, where the method includes:
acquiring an application identifier of a first application installed in the vehicle-mounted system, wherein the first application is any third-party application installed in the vehicle-mounted system;
when the identification set comprises the application identification of the first application, adding the first application into the application set, wherein the identification set comprises the application identifications of all third-party applications supported by the vehicle-mounted system for application switching;
and when an application switching instruction is received, starting the target application in the application set.
Optionally, the application set includes a plurality of applications in a ranking order, and the starting the target application in the application set when receiving the application switching instruction includes:
when the vehicle-mounted system receives the application switching instruction in the process of playing the multimedia stream, acquiring a second application providing the multimedia stream;
when the second application is included in the application set, taking the next application of the second application in the application set as the target application, and starting the target application;
and when the second application is not included in the application set, taking the first application in the application set as the target application, and starting the target application.
Optionally, the identifier set further includes an interface identifier of a play interface of the first application, and adding the first application to the application set includes:
adding the application identification of the first application and the interface identification of the playing interface of the first application into the application set.
Optionally, the starting the target application in the application set, where the target application is a third-party application, includes:
and when the application set comprises the target application identifier of the target application and the target interface identifier of the playing interface of the target application, starting the playing interface of the target application according to the target application identifier and the target interface identifier.
Optionally, after the adding the first application to the set of applications, the method further comprises:
when an update instruction for the first application is received, updating the application identifier of the first application and the interface identifier of the playing interface of the first application in the application set.
Optionally, after the adding the first application to the set of applications, the method further comprises:
deleting the first application in the set of applications when an uninstall instruction for the first application is received.
Optionally, the method further comprises:
and when the pressing operation of the target key of the vehicle-mounted system is detected, determining that the application switching instruction is received.
In a second aspect, an application switching apparatus is provided, the apparatus comprising:
the acquisition module is used for acquiring an application identifier of a first application installed in the vehicle-mounted system, wherein the first application is any third-party application installed in the vehicle-mounted system;
the adding module is used for adding the first application into an application set when the application identification of the first application is included in the identification set, wherein the identification set includes application identifications of all third-party applications supported by the vehicle-mounted system for application switching;
and the starting module is used for starting the target application in the application set when receiving the application switching instruction.
Optionally, the application set includes a plurality of applications having a ranking order, and the starting module is configured to:
when the vehicle-mounted system receives the application switching instruction in the process of playing the multimedia stream, acquiring a second application providing the multimedia stream;
when the second application is included in the application set, taking the next application of the second application in the application set as the target application, and starting the target application;
and when the second application is not included in the application set, taking the first application in the application set as the target application, and starting the target application.
Optionally, the identifier set further includes an interface identifier of a play interface of the first application, and the adding module is configured to:
adding the application identification of the first application and the interface identification of the playing interface of the first application into the application set.
Optionally, the target application is a third-party application, and the starting module is configured to:
and when the application set comprises the target application identifier of the target application and the target interface identifier of the playing interface of the target application, starting the playing interface of the target application according to the target application identifier and the target interface identifier.
Optionally, the apparatus further comprises:
and the updating module is used for updating the application identifier of the first application and the interface identifier of the playing interface of the first application in the application set when an updating instruction for the first application is received.
Optionally, the apparatus further comprises:
a deleting module, configured to delete the first application in the application set when an uninstalling instruction for the first application is received.
Optionally, the apparatus further comprises:
the determining module is used for determining that the application switching instruction is received when the pressing operation of the target key of the vehicle-mounted system is detected.
In a third aspect, an application switching apparatus is provided, including: a processor and a memory.
The memory for storing a computer program, the computer program comprising program instructions;
the processor is configured to invoke the computer program to implement the application switching method according to any one of the first aspect.
In a fourth aspect, a computer storage medium is provided, which has instructions stored thereon, and when the instructions are executed by a processor, the method for switching applications according to any one of the first aspect is implemented.
The beneficial effect that technical scheme that this application provided brought includes:
after acquiring the application identifier of the first application installed in the vehicle-mounted system, the vehicle-mounted system compares the application identifier of the first application with the application identifiers in the identifier set. And if the identification set contains the application identification of the first application, adding the first application into the application set. When the vehicle-mounted system receives the application switching instruction, the target application in the application set can be started. Because the application set can comprise the third-party application, the support of switching the applications except the application built in the vehicle-mounted system is realized, and the flexibility of application switching is improved.
Drawings
Fig. 1 is a schematic flowchart of an application switching method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another application switching method provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an application switching apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another application switching device provided in the embodiment of the present application;
fig. 5 is a schematic structural diagram of another application switching device provided in the embodiment of the present application;
fig. 6 is a schematic structural diagram of another application switching device according to an embodiment of the present application;
fig. 7 is a block diagram of an application switching apparatus according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating an application switching method according to an embodiment of the present application. The method can be applied to vehicle-mounted systems. As shown in fig. 1, the method includes:
step 101, acquiring an application identifier of a first application installed in the vehicle-mounted system, wherein the first application is any third-party application installed in the vehicle-mounted system.
And 102, when the identification set comprises the application identification of the first application, adding the first application into the application set. The identification set comprises application identifications of all third-party applications supported by the vehicle-mounted system for application switching.
And 103, starting the target application in the application set when receiving the application switching instruction.
To sum up, in the application switching method provided in the embodiment of the present application, after the vehicle-mounted system obtains the application identifier of the first application installed in the vehicle-mounted system, the application identifier of the first application is compared with the application identifiers in the identifier set. And if the identification set contains the application identification of the first application, adding the first application into the application set. When the vehicle-mounted system receives the application switching instruction, the target application in the application set can be started. Because the application set can comprise the third-party application, the support of switching the applications except the application built in the vehicle-mounted system is realized, and the flexibility of application switching is improved.
Fig. 2 is a flowchart illustrating another application switching method according to an embodiment of the present application. The method can be applied to vehicle-mounted systems. As shown in fig. 2, the method includes:
step 201, obtaining an application identifier of a first application installed in the vehicle-mounted system.
The first application is any third-party application installed in the vehicle-mounted system. The third-party application in the embodiment of the present application refers to other applications besides the application built in the vehicle-mounted system. The application identifier of the first application may be a package name of the first application, or other information capable of uniquely identifying the first application.
Optionally, the trigger condition for the in-vehicle system to acquire the application identifier of the first application may be to install the first application, update the first application, and/or uninstall the first application.
Step 202, obtaining an identification set.
The identification set comprises application identifications of all third-party applications supported by the vehicle-mounted system for application switching. Optionally, the identification set may further include interface identifications of playing interfaces of third-party applications, the identification set may include an interface identification of a playing interface of the third-party application corresponding to each application identification, or the identification set may include interface identifications of playing interfaces of the third-party applications corresponding to one or more application identifications. And the vehicle-mounted system acquires the identification set from the server corresponding to the vehicle-mounted system in a wired transmission or wireless transmission mode. Optionally, the server may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center, and the like, which is not limited in this embodiment of the present application.
The server is responsible for maintaining the set of identities. Optionally, the server periodically obtains an application identifier of a third-party application supported by the vehicle-mounted system in the application market for application switching, and compares the application identifier with an application identifier in an identifier set stored in the server. And when the application identification which is not included in the identification set exists in the application identification of the third-party application which is supported by the vehicle-mounted system in the application market and switched, adding the application identification into the identification set by the server. And when other application identifications except the application identification of the third-party application supported by the vehicle-mounted system for application switching in the application market exist in the identification set, the server deletes the other application identifications from the identification set.
When the server adds the application identifier of the third-party application into the identifier set, if the interface identifier of the playing interface of the third-party application is valid, the interface identifier of the playing interface of the third-party application can also be added into the identifier set. For example, the interface identification of the play interface of the third party application may be an activity name of the play interface of the third party application.
Optionally, after the vehicle-mounted system is powered on, the vehicle-mounted system may acquire the identifier set by means of wireless transmission every time networking is performed, or the vehicle-mounted system may periodically acquire the identifier set by means of wireless transmission. Or after the vehicle-mounted system establishes wired connection with the server, the identification set can be acquired in a wired transmission mode.
Step 203, when the identification set comprises the application identification of the first application, adding the first application into the application set.
The vehicle-mounted system compares the acquired application identifier of the first application with the acquired identifier set, and adds the first application to the application set when the identifier set comprises the application identifier of the first application.
In the embodiment of the present application, adding a first application to an application set includes: the application identification of the first application is added to the set of applications.
Optionally, when the identifier set includes an interface identifier of a playing interface of the third-party application, the in-vehicle system may further obtain the interface identifier of the playing interface of the first application. If the identifier set comprises the interface identifier of the playing interface of the first application, the interface identifier of the playing interface of the first application can be added when the first application is added.
Optionally, the application set includes built-in applications of the vehicle-mounted system and third-party applications, and the applications in the application set have a ranking order. For example, the arrangement order may be an order set by a human, or may be a time order of application installation. Alternatively, applications in the application set may be manually ordered, added, and deleted.
Optionally, the trigger condition for the in-vehicle system to acquire the application set may be to install the first application, update the first application, and/or uninstall the first application.
Optionally, after the first application is added to the application set, when the in-vehicle system receives an update instruction for the first application, the application identifier of the first application in the application set and the interface identifier of the playing interface of the first application are updated. Because the package name of the application and/or the activity name of the playing interface may change when the application is updated, after the application is updated, the application identifier of the application and the interface identifier of the playing interface in the application set are updated, so that the validity of the application identifier of the application and the interface identifier of the playing interface in the application set can be ensured.
Optionally, after the first application is added to the application set, when the in-vehicle system receives a deletion instruction for the first application, the first application in the application set is deleted.
And step 204, when an application switching instruction is received, starting the target application in the application set.
Optionally, the implementation process of step 204 includes:
in step 2041, when the in-vehicle system receives an application switching instruction during the process of playing the multimedia stream, a second application providing the multimedia stream is acquired. The second application is an application currently playing the multimedia stream.
Alternatively, when a pressing operation for a target key of the in-vehicle system is detected, it is determined that an application switching instruction is received. For example, the target key may be a MODE key on a steering wheel of the vehicle. Alternatively, when a voice including a keyword for application switching is detected, it is determined that an application switching instruction is received, and the keyword may be "switch next multimedia application" or "switch multimedia", or the like.
In step 2042, when the second application is included in the application set, the next application of the second application in the application set is taken as the target application, and the target application is started.
Optionally, when the second application is the last application in the application set, the next application (i.e. the target application) is the first application in the application set.
In step 2043, when the second application is not included in the application set, the first application in the application set is taken as the target application, and the target application is started.
Optionally, when the application set includes the target application identifier of the target application and the target interface identifier of the play interface of the target application, the play interface of the target application is started according to the target application identifier and the target interface identifier. Or when the application set only comprises the target application identification of the target application, starting the target application according to the target application identification.
The vehicle-mounted system in the embodiment of the present application mainly refers to a system based on android system (android), and any vehicle-mounted system that can implement the method of the present application should be included in the protection scope of the present application, and is not described herein again.
It should be noted that the order of the steps of the application switching method provided in the embodiment of the present application may be appropriately adjusted, and the steps may also be increased or decreased according to the situation, for example, before step 201, the vehicle-mounted system may first obtain the identifier set, that is, the vehicle-mounted system first performs step 202 and then performs step 201. Any method that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application is covered by the protection scope of the present application, and thus the detailed description thereof is omitted.
To sum up, in the application switching method provided in the embodiment of the present application, the vehicle-mounted system obtains the application identifier and the identifier set of the first application installed in the vehicle-mounted system, and compares the application identifier of the first application with the identifier set. And if the identification set contains the application identification of the first application, adding the first application into the application set. When the vehicle-mounted system receives the application switching instruction, the target application in the application set can be started. Because the application set can comprise the third-party application, the support of switching the applications except the application built in the vehicle-mounted system is realized, and the flexibility of application switching is improved.
Or the vehicle-mounted system automatically updates the application identifier and the interface identifier in the application set through the acquired identifier set when the third-party application is installed, uninstalled and updated. The method and the device realize automatic maintenance of the application set and simplify the steps of maintaining the application set.
Fig. 3 is a schematic structural diagram of an application switching device according to an embodiment of the present application. The device can be applied to an on-vehicle system. As shown in fig. 3, the apparatus 30 includes:
the obtaining module 301 is configured to obtain an application identifier of a first application installed in the vehicle-mounted system, where the first application is any third-party application installed in the vehicle-mounted system.
The adding module 302 is configured to add the first application to the application set when the identification set includes an application identification of the first application, where the identification set includes application identifications of all third-party applications that the vehicle-mounted system supports to perform application switching.
The starting module 303 is configured to start the target application in the application set when the application switching instruction is received.
To sum up, in the application switching device provided in the embodiment of the present application, after the vehicle-mounted system obtains the application identifier of the first application installed in the vehicle-mounted system through the obtaining module, the application identifier of the first application is compared with the application identifiers in the identifier set. And if the identification set comprises the application identification of the first application, adding the first application into the application set through the adding module. When the vehicle-mounted system receives the application switching instruction, the target application in the application set can be started through the starting module. Because the application set can comprise the third-party application, the support of switching the applications except the application built in the vehicle-mounted system is realized, and the flexibility of application switching is improved.
Optionally, the starting module is configured to: when the vehicle-mounted system receives an application switching instruction in the process of playing the multimedia stream, acquiring a second application providing the multimedia stream; when the application set comprises a second application, taking the next application of the second application in the application set as a target application, and starting the target application; and when the second application is not included in the application set, taking the first application in the application set as a target application, and starting the target application.
Optionally, the identifier set further includes an interface identifier of a playing interface of the first application, and the adding module is configured to: adding the application identification of the first application and the interface identification of the playing interface of the first application into the application set.
Optionally, the target application is a third-party application, and the starting module is configured to: and when the application set comprises the target application identification of the target application and the target interface identification of the playing interface of the target application, starting the playing interface of the target application according to the target application identification and the target interface identification.
Optionally, as shown in fig. 4, the apparatus 30 further includes:
the updating module 304 is configured to update the application identifier of the first application and the interface identifier of the playing interface of the first application in the application set when an update instruction for the first application is received.
Optionally, as shown in fig. 5, the apparatus 30 further includes:
a deletion module 305 for deleting a first application of the set of applications when an uninstall instruction for the first application is received.
Optionally, as shown in fig. 6, the apparatus 30 further includes:
the determining module 306 is configured to determine that an application switching instruction is received when a pressing operation of a target key of the in-vehicle system is detected.
To sum up, in the application switching apparatus provided in the embodiment of the present application, the vehicle-mounted system obtains the application identifier and the identifier set of the first application installed in the vehicle-mounted system through the obtaining module, and compares the application identifier of the first application with the identifier set. And if the identification set comprises the application identification of the first application, adding the first application into the application set through the adding module. When the vehicle-mounted system receives the application switching instruction, the target application in the application set can be started through the starting module. Because the application set can comprise the third-party application, the support of switching the applications except the application built in the vehicle-mounted system is realized, and the flexibility of application switching is improved.
Or the vehicle-mounted system automatically updates the application identifier and the interface identifier in the application set through the acquired identifier set when the third-party application is installed, uninstalled and updated. The method and the device realize automatic maintenance of the application set and simplify the steps of maintaining the application set.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An embodiment of the present application provides an application switching apparatus, including: a processor and a memory.
A memory for storing a computer program, the computer program comprising program instructions; and the processor is used for calling the computer program to realize the application switching method shown in the figure 1 or the figure 2.
The embodiment of the present application also provides a computer storage medium, which stores instructions that, when executed by a processor, implement the application switching method shown in fig. 1 or fig. 2.
Fig. 7 is a block diagram illustrating an application switching apparatus according to an exemplary embodiment of the present application. The application switching device may be an in-vehicle system 700.
Generally, the on-board system 700 includes: a processor 701 and a memory 702.
The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 701 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 701 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 702 may include one or more computer-readable storage media, which may be non-transitory. Memory 702 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 702 is used to store at least one instruction for execution by processor 701 to implement the application switching method provided by the method embodiments herein.
In some embodiments, the in-vehicle system 700 may further include: a peripheral interface 703 and at least one peripheral. The processor 701, the memory 702, and the peripheral interface 703 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 703 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 704, a display screen 705, a camera assembly 706, an audio circuit 707, a positioning component 708, and a power source 709.
The peripheral interface 703 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 701 and the memory 702. In some embodiments, processor 701, memory 702, and peripheral interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 701, the memory 702, and the peripheral interface 703 may be implemented on a separate chip or circuit board, which is not limited in this application.
The Radio Frequency circuit 704 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 704 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 704 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 704 may communicate with other in-vehicle systems via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 704 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 705 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to capture touch signals on or over the surface of the display screen 705. The touch signal may be input to the processor 701 as a control signal for processing. At this point, the display 705 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 705 may be one, providing the front panel of the in-vehicle system 700; in other embodiments, the number of the display screens 705 may be at least two, and each of the at least two display screens may be disposed on a different surface of the in-vehicle system 700 or may be of a foldable design; in still other embodiments, the display 705 may be a flexible display disposed on a curved surface or on a folding surface of the in-vehicle system 700. Even more, the display 705 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display 705 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 706 is used to capture images or video. Optionally, camera assembly 706 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the in-vehicle system 700 and the rear camera is disposed on the back of the in-vehicle system. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 706 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 707 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 701 for processing or inputting the electric signals to the radio frequency circuit 704 to realize voice communication. For stereo capture or noise reduction purposes, the number of microphones may be multiple, and the microphones may be disposed at different positions of the in-vehicle system 700. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 707 may also include a headphone jack.
The positioning component 708 is used to locate a current geographic location of the in-vehicle system 700 to implement navigation or LBS (location based Service). The positioning component 708 can be a positioning component based on the GPS (global positioning System) in the united states, the beidou System in china, or the galileo System in russia.
The power supply 709 is used to supply power to various components in the on-board system 700. The power source 709 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 709 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the in-vehicle system 700 also includes one or more sensors 710. The one or more sensors 710 include, but are not limited to: acceleration sensor 711, gyro sensor 712, pressure sensor 713, fingerprint sensor 714, optical sensor 715, and proximity sensor 716.
The acceleration sensor 711 may detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the in-vehicle system 700. For example, the acceleration sensor 711 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 701 may control the touch screen 705 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 711. The acceleration sensor 711 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 712 may detect a body direction and a rotation angle of the in-vehicle system 700, and the gyro sensor 712 may cooperate with the acceleration sensor 711 to acquire a 3D motion of the user on the in-vehicle system 700. From the data collected by the gyro sensor 712, the processor 701 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 713 may be disposed on a side bezel of in-vehicle system 700 and/or underneath touch screen 705. When the pressure sensor 713 is arranged on a side frame of the vehicle-mounted system 700, a holding signal of a user to the vehicle-mounted system 700 can be detected, and the processor 701 performs left-right hand identification or quick operation according to the holding signal collected by the pressure sensor 713. When the pressure sensor 713 is disposed at a lower layer of the touch display 705, the processor 701 controls the operability control on the UI interface according to the pressure operation of the user on the touch display 705. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 714 is used for collecting a fingerprint of a user, and the processor 701 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 714, or the fingerprint sensor 714 identifies the identity of the user according to the collected fingerprint. When the user identity is identified as a trusted identity, the processor 701 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, changing settings, and the like. The fingerprint sensor 714 may be disposed on the front, back, or side of the in-vehicle system 700. When a physical key or vendor Logo is provided on the in-vehicle system 700, the fingerprint sensor 714 may be integrated with the physical key or vendor Logo.
The optical sensor 715 is used to collect the ambient light intensity. In one embodiment, the processor 701 may control the display brightness of the touch display 705 based on the ambient light intensity collected by the optical sensor 715. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 705 is increased; when the ambient light intensity is low, the display brightness of the touch display 705 is turned down. In another embodiment, processor 701 may also dynamically adjust the shooting parameters of camera assembly 706 based on the ambient light intensity collected by optical sensor 715.
Proximity sensors 716, also known as distance sensors, are typically provided on the front panel of the in-vehicle system 700. The proximity sensor 716 is used to capture the distance between the user and the front face of the in-vehicle system 700. In one embodiment, when the proximity sensor 716 detects that the distance between the user and the front surface of the in-vehicle system 700 gradually decreases, the processor 701 controls the touch display screen 705 to switch from the bright screen state to the dark screen state; when the proximity sensor 716 detects that the distance between the user and the front surface of the in-vehicle system 700 gradually becomes larger, the processor 701 controls the touch display screen 705 to switch from the screen-on state to the screen-on state.
Those skilled in the art will appreciate that the configuration shown in FIG. 7 does not constitute a limitation of the on-board system 700, and may include more or fewer components than shown, or combine certain components, or employ a different arrangement of components.
The above description is only exemplary of the present application and is not intended to limit the present application, and any modifications, equivalents, improvements, etc. made within the spirit and principles of the present application are intended to be included within the scope of the present application.

Claims (16)

1. An application switching method is applied to a vehicle-mounted system, and comprises the following steps:
acquiring an application identifier of a first application installed in the vehicle-mounted system, wherein the first application is any third-party application installed in the vehicle-mounted system;
when the identification set comprises the application identification of the first application, adding the first application into the application set, wherein the identification set comprises the application identifications of all third-party applications supported by the vehicle-mounted system for application switching;
and when an application switching instruction is received, starting the target application in the application set.
2. The method according to claim 1, wherein the plurality of applications in the application set include a ranking order, and the starting the target application in the application set when receiving the application switching instruction includes:
when the vehicle-mounted system receives the application switching instruction in the process of playing the multimedia stream, acquiring a second application providing the multimedia stream;
when the second application is included in the application set, taking the next application of the second application in the application set as the target application, and starting the target application;
and when the second application is not included in the application set, taking the first application in the application set as the target application, and starting the target application.
3. The method according to claim 1 or 2, wherein the identifier set further includes an interface identifier of a playing interface of the first application, and the adding the first application to the application set includes:
adding the application identification of the first application and the interface identification of the playing interface of the first application into the application set.
4. The method of claim 3, wherein the target application is a third-party application, and wherein the launching the target application from the set of applications comprises:
and when the application set comprises the target application identifier of the target application and the target interface identifier of the playing interface of the target application, starting the playing interface of the target application according to the target application identifier and the target interface identifier.
5. The method of claim 3, wherein after the adding the first application to a set of applications, the method further comprises:
when an update instruction for the first application is received, updating the application identifier of the first application and the interface identifier of the playing interface of the first application in the application set.
6. The method of claim 1, wherein after the adding the first application to a set of applications, the method further comprises:
deleting the first application in the set of applications when an uninstall instruction for the first application is received.
7. The method of claim 1, further comprising:
and when the pressing operation of the target key of the vehicle-mounted system is detected, determining that the application switching instruction is received.
8. An application switching apparatus, applied to an in-vehicle system, the apparatus comprising:
the acquisition module is used for acquiring an application identifier of a first application installed in the vehicle-mounted system, wherein the first application is any third-party application installed in the vehicle-mounted system;
the adding module is used for adding the first application into an application set when the application identification of the first application is included in the identification set, wherein the identification set includes application identifications of all third-party applications supported by the vehicle-mounted system for application switching;
and the starting module is used for starting the target application in the application set when receiving the application switching instruction.
9. The apparatus of claim 8, wherein the set of applications includes a plurality of applications in a ranked order, and wherein the starting module is configured to:
when the vehicle-mounted system receives the application switching instruction in the process of playing the multimedia stream, acquiring a second application providing the multimedia stream;
when the second application is included in the application set, taking the next application of the second application in the application set as the target application, and starting the target application;
and when the second application is not included in the application set, taking the first application in the application set as the target application, and starting the target application.
10. The apparatus according to claim 8 or 9, wherein the identifier set further includes an interface identifier of a playing interface of the first application, and the adding module is configured to:
adding the application identification of the first application and the interface identification of the playing interface of the first application into the application set.
11. The apparatus of claim 10, wherein the target application is a third-party application, and wherein the starting module is configured to:
and when the application set comprises the target application identifier of the target application and the target interface identifier of the playing interface of the target application, starting the playing interface of the target application according to the target application identifier and the target interface identifier.
12. The apparatus of claim 10, further comprising:
and the updating module is used for updating the application identifier of the first application and the interface identifier of the playing interface of the first application in the application set when an updating instruction for the first application is received.
13. The apparatus of claim 8, further comprising:
a deleting module, configured to delete the first application in the application set when an uninstalling instruction for the first application is received.
14. The apparatus of claim 8, further comprising:
the determining module is used for determining that the application switching instruction is received when the pressing operation of the target key of the vehicle-mounted system is detected.
15. An application switching apparatus, comprising: a processor and a memory;
the memory for storing a computer program, the computer program comprising program instructions;
the processor, configured to invoke the computer program, to implement the application switching method according to any one of claims 1 to 7.
16. A computer storage medium having stored thereon instructions which, when executed by a processor, carry out an application switching method according to any one of claims 1 to 7.
CN202010063502.4A 2020-01-20 2020-01-20 Application switching method and device and computer storage medium Active CN111324431B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010063502.4A CN111324431B (en) 2020-01-20 2020-01-20 Application switching method and device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010063502.4A CN111324431B (en) 2020-01-20 2020-01-20 Application switching method and device and computer storage medium

Publications (2)

Publication Number Publication Date
CN111324431A true CN111324431A (en) 2020-06-23
CN111324431B CN111324431B (en) 2023-08-11

Family

ID=71168670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010063502.4A Active CN111324431B (en) 2020-01-20 2020-01-20 Application switching method and device and computer storage medium

Country Status (1)

Country Link
CN (1) CN111324431B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113067854A (en) * 2021-03-12 2021-07-02 斑马网络技术有限公司 Method, device, equipment and storage medium for acquiring content resources of vehicle-mounted equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484518A (en) * 2016-10-10 2017-03-08 广东欧珀移动通信有限公司 A kind of display methods, device and terminal for opening application more
WO2018040844A1 (en) * 2016-08-31 2018-03-08 腾讯科技(深圳)有限公司 Method, device, and apparatus for voice control based on vehicle multimedia apparatus
CN108363528A (en) * 2018-02-13 2018-08-03 广东欧珀移动通信有限公司 Startup method, apparatus, storage medium and the electronic equipment of five application page
CN110096327A (en) * 2019-04-30 2019-08-06 上海掌门科技有限公司 The method and apparatus of background for rendering
CN110341627A (en) * 2019-07-16 2019-10-18 北京梧桐车联科技有限责任公司 The method and apparatus for controlling interior behavior
CN110442437A (en) * 2019-07-18 2019-11-12 维沃移动通信有限公司 A kind of application switching method and mobile terminal
CN110569119A (en) * 2019-08-30 2019-12-13 维沃移动通信有限公司 Background application program management method and terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018040844A1 (en) * 2016-08-31 2018-03-08 腾讯科技(深圳)有限公司 Method, device, and apparatus for voice control based on vehicle multimedia apparatus
CN106484518A (en) * 2016-10-10 2017-03-08 广东欧珀移动通信有限公司 A kind of display methods, device and terminal for opening application more
CN108363528A (en) * 2018-02-13 2018-08-03 广东欧珀移动通信有限公司 Startup method, apparatus, storage medium and the electronic equipment of five application page
CN110096327A (en) * 2019-04-30 2019-08-06 上海掌门科技有限公司 The method and apparatus of background for rendering
CN110341627A (en) * 2019-07-16 2019-10-18 北京梧桐车联科技有限责任公司 The method and apparatus for controlling interior behavior
CN110442437A (en) * 2019-07-18 2019-11-12 维沃移动通信有限公司 A kind of application switching method and mobile terminal
CN110569119A (en) * 2019-08-30 2019-12-13 维沃移动通信有限公司 Background application program management method and terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
XIAOJIN ZHU 等: ""MPVUS: A Moving Prediction Based Video Streaming Uploading Scheme over Vehicular Networks"", 《IEICE TRANSACTIONS ON FUNDAMENTALS OF ELECTRONICS, COMMUNICATIONS AND COMPUTER SCIENCES》, no. 1, pages 304 - 312 *
李霞 等: "基于Atom Z510的车载多媒体播放系统", 《计算机应用》, vol. 31, no. 09, pages 2584 - 2588 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113067854A (en) * 2021-03-12 2021-07-02 斑马网络技术有限公司 Method, device, equipment and storage medium for acquiring content resources of vehicle-mounted equipment
CN113067854B (en) * 2021-03-12 2023-08-25 斑马网络技术有限公司 Method, device, equipment and storage medium for acquiring content resources of vehicle-mounted equipment

Also Published As

Publication number Publication date
CN111324431B (en) 2023-08-11

Similar Documents

Publication Publication Date Title
CN110308956B (en) Application interface display method and device and mobile terminal
CN110636477A (en) Device connection method, device, terminal and storage medium
CN111327928A (en) Song playing method, device and system and computer storage medium
CN112256320A (en) Version number generation method, device, terminal and storage medium
CN109783176B (en) Page switching method and device
CN108495183B (en) Method and device for displaying album information
CN111881423B (en) Method, device and system for authorizing restricted function use
CN111897465B (en) Popup display method, device, equipment and storage medium
CN111447562B (en) Vehicle travel track analysis method and device and computer storage medium
CN111324431B (en) Application switching method and device and computer storage medium
CN109107163B (en) Analog key detection method and device, computer equipment and storage medium
CN113099378B (en) Positioning method, device, equipment and storage medium
CN111708581B (en) Application starting method, device, equipment and computer storage medium
CN111717205B (en) Vehicle control method, device, electronic equipment and computer readable storage medium
CN111708669B (en) Analysis method, device, equipment and storage medium for system operation
CN110471613B (en) Data storage method, data reading method, device and system
CN109275015B (en) Method, device and storage medium for displaying virtual article
CN108519913B (en) Application program running state management method and device, storage medium and terminal
CN113408989A (en) Automobile data comparison method and device and computer storage medium
CN107948171B (en) User account management method and device
CN115545592A (en) Display positioning method, device, equipment and storage medium
CN111294513A (en) Photographing method and device, electronic equipment and storage medium
CN111158791A (en) Configuration file updating method, device and system and storage medium
CN111522576B (en) Application management method, device, equipment and computer storage medium
CN113746831B (en) Authority verification method and device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant