CN111324431B - 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
CN111324431B
CN111324431B CN202010063502.4A CN202010063502A CN111324431B CN 111324431 B CN111324431 B CN 111324431B CN 202010063502 A CN202010063502 A CN 202010063502A CN 111324431 B CN111324431 B CN 111324431B
Authority
CN
China
Prior art keywords
application
vehicle
identifier
target
mounted system
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.)
Active
Application number
CN202010063502.4A
Other languages
Chinese (zh)
Other versions
CN111324431A (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

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

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 a 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 a first application, the first application is added into the application set, and the identification set comprises 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 a target application in the application set. Because the application set can comprise the third party application, the application realizes supporting switching of the application except the built-in application of the vehicle-mounted system, thereby improving the flexibility of application switching.

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
With the development of the vehicle industry, more and more electronic technologies are being applied to vehicles. One of the key directions in which electronic technology is applied in the vehicle industry is the in-vehicle system built in the vehicle.
In the related art, an in-vehicle system built in a vehicle can provide functions such as audio playing, bluetooth telephone, navigation and the like. Currently, a steering wheel of a vehicle is generally provided with a plurality of keys. The plurality of keys are used for realizing control of the vehicle-mounted system, such as switching audio play sources (audio play sources are called sound sources for short), controlling audio play volume, receiving Bluetooth calls and the like. Wherein switching the audio source includes switching applications that play audio.
The audio source which can be switched by the keys on the steering wheel in the current vehicle-mounted system is limited to applications which are built in the vehicle-mounted system, such as a broadcasting station, a Bluetooth music player, a universal serial bus (universal serial bus, USB) music player and the like, and the flexibility of application switching is low.
Disclosure of Invention
The application provides an application switching method and device and a computer storage medium, which can solve the problem of lower flexibility of application switching in the related technology. The technical scheme is as follows:
in a first aspect, an application switching method is provided, the method including:
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 an application identifier of the first application is included in an identifier set, the first application is added into an application set, and the identifier set includes application identifiers of all third-party applications supported by the vehicle-mounted system for application switching;
and when an application switching instruction is received, starting a target application in the application set.
Optionally, the application set includes a plurality of applications in an order, and when receiving an application switching instruction, starting a target application in the application set includes:
when the vehicle-mounted system receives the application switching instruction in the process of playing the multimedia stream, acquiring a second application for providing the multimedia stream;
when the application set comprises the second application, 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 playing interface of the first application, and the adding the first application to the application set includes:
and adding the application identifier of the first application and the interface identifier of the playing interface of the first application to the application set.
Optionally, the target application is a third party application, and the starting the target application in the application set includes:
when the application set comprises a target application identifier of the target application and a target interface identifier of a 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 application set, the method further comprises:
and when receiving an updating instruction for the first application, updating an application identifier of the first application in the application set and an interface identifier of a playing interface of the first application.
Optionally, after the adding the first application to the application set, the method further comprises:
and deleting the first application in the application set 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, there is provided an application switching apparatus, the apparatus comprising:
the system comprises an acquisition module, a control module and a control module, wherein 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 to an application set when the application identifiers of the first application are included in the identification set, and the application identifiers of all third-party applications supported by the vehicle-mounted system for application switching are included in the identification set;
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 in a permutation 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 for providing the multimedia stream;
when the application set comprises the second application, 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 playing interface of the first application, and the adding module is configured to:
and adding the application identifier of the first application and the interface identifier of the playing interface of the first application to the application set.
Optionally, the target application is a third party application, and the starting module is configured to:
when the application set comprises a target application identifier of the target application and a target interface identifier of a 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 in the application set and the interface identifier of the playing interface of the first application when receiving an updating instruction for the first application.
Optionally, the apparatus further comprises:
and the deleting module is used for deleting the first application in the application set when receiving an unloading instruction aiming at the first application.
Optionally, the apparatus further comprises:
and 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 is used for storing a computer program, and the computer program comprises 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, there is provided a computer storage medium having instructions stored thereon which, when executed by a processor, implement the application switching method according to any of the first aspects.
The technical scheme provided by the application has the beneficial effects that:
after the vehicle-mounted system acquires 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, a target application in the application set can be started. Because the application set can comprise the third party application, the application except the built-in application of the vehicle-mounted system is supported to be switched, and therefore the flexibility of application switching is improved.
Drawings
Fig. 1 is a schematic flow chart of an application switching method according to an embodiment of the present application;
fig. 2 is a flow chart of another application switching method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an application switching device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another application switching device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another application switching device according to an 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 device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings.
Fig. 1 is a flow chart of an application switching method according to an embodiment of the present application. The method can be applied to an in-vehicle system. 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.
Step 102, when the application identifier of the first application is included in the identifier set, the first application is added to the application set. The identification set comprises application identifications of all third-party applications supported by the vehicle-mounted system for application switching.
Step 103, when an application switching instruction is received, starting a target application in the application set.
In summary, in the application switching method provided by the embodiment of the present application, after the application identifier of the first application installed in the vehicle-mounted system is obtained, 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, a target application in the application set can be started. Because the application set can comprise the third party application, the application except the built-in application of the vehicle-mounted system is supported to be switched, and therefore the flexibility of application switching is improved.
Fig. 2 is a flowchart of another application switching method according to an embodiment of the present application. The method can be applied to an in-vehicle system. As shown in fig. 2, the method includes:
step 201, an application identifier of a first application installed in a vehicle-mounted system is obtained.
The first application is any third party application installed in the vehicle-mounted system. The third party application in the embodiment of the application refers to other applications except for the built-in application of the vehicle-mounted system. The application identifier of the first application may be a package name of the first application, or may be other information capable of uniquely identifying the first application.
Optionally, the triggering condition for the vehicle-mounted 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, acquiring 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 identifier set may further include an interface identifier of a playing interface of the third party application, where the identifier set may include an interface identifier of a playing interface of the third party application corresponding to each application identifier, or the identifier set may include interface identifiers of playing interfaces of third party applications corresponding to one or more application identifiers. The vehicle-mounted system acquires the identification set from the corresponding service end of the vehicle-mounted system in a wired transmission or wireless transmission mode. Alternatively, the server may be a server, or a server cluster formed by a plurality of servers, or a cloud computing service center, etc., which is not limited in the embodiment of the present application.
The server is responsible for maintaining the set of identifications. Optionally, the server side periodically acquires application identifiers of third-party applications supported by the vehicle-mounted system in the application market for application switching, and compares the application identifiers with the application identifiers in the identifier set stored in the server side. When the application identifier of the third party application supporting the application switching in the vehicle-mounted system in the application market exists in the application identifier which is not included in the identifier set, the server adds the application identifier into the identifier set. When other application identifiers except the application identifiers of the third party applications supported by the vehicle-mounted system for application switching in the application market exist in the identifier set, the server side deletes the other application identifiers from the identifier set.
When the server adds the application identifier of the third party application to the identifier set, if the interface identifier of the playing interface of the third party application is valid, the server may also add the interface identifier of the playing interface of the third party application to the identifier set. For example, the interface identifier of the playback interface of the third party application may be an activity name of the playback interface of the third party application.
Alternatively, after the on-board system is powered on, the on-board system may acquire the identifier set by means of wireless transmission whenever networking is performed, or the on-board system may periodically acquire the identifier set by means of wireless transmission. Or the vehicle-mounted system and the server end are connected in a wired way, and then the identification set is obtained in a wired transmission mode.
Step 203, when the identifier set includes the application identifier of the first application, the first application is added to 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 into the application set when the identifier set comprises the application identifier of the first application.
In the embodiment of the application, adding the first application to the application set comprises the following steps: an application identification of the first application is added to the application set.
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 includes 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 an arrangement order. The arrangement order may be an order set manually, or may be a time order of application installation, for example. Alternatively, applications in the application set may be manually ordered, added, and deleted.
Optionally, the triggering condition for the vehicle-mounted 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 vehicle-mounted system receives an update instruction for the first application, an application identifier of the first application in the application set and an interface identifier of a 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 vehicle-mounted system receives a deletion instruction for the first application, the first application in the application set is deleted.
And 204, when an application switching instruction is received, starting a target application in the application set.
Optionally, the implementation procedure of step 204 includes:
in step 2041, when the in-vehicle system receives an application switching instruction during the playing of 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. The target key may be a MODE key on a vehicle steering wheel, for example. Alternatively, when a voice including a keyword for application switching is detected, it is determined that an application switching instruction is received, 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, a next application of the second application in the application set is taken as a target application, and the target application is started.
Optionally, when the second application is the last application in the application set, its 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 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. Or when the application set only comprises the target application identifier of the target application, starting the target application according to the target application identifier.
The vehicle-mounted system in the embodiment of the application mainly refers to a system based on android system (android), and any vehicle-mounted system capable of implementing the method of the application is included in the protection scope of the application, and the application is not described herein.
It should be noted that, the sequence 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 executes step 202 and then executes step 201. Any method that can be easily conceived by those skilled in the art within the technical scope of the present disclosure should be covered in the protection scope of the present application, and thus will not be repeated.
In summary, according to the application switching method provided by 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, a target application in the application set can be started. Because the application set can comprise the third party application, the application except the built-in application of the vehicle-mounted system is supported to be switched, and therefore 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 realizes automatic maintenance of the application set and simplifies the step 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-board system. As shown in fig. 3, the apparatus 30 includes:
the acquiring module 301 is configured to acquire 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.
And the adding module 302 is configured to add the first application to the application set when the application identifier of the first application is included in the identifier set, where the identifier set includes application identifiers of all third party applications supported by the vehicle-mounted system for application switching.
And the starting module 303 is configured to start a target application in the application set when an application switching instruction is received.
In summary, in the application switching device provided by 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 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 through an adding module. When the vehicle-mounted system receives the application switching instruction, a target application in the application set can be started through the starting module. Because the application set can comprise the third party application, the application except the built-in application of the vehicle-mounted system is supported to be switched, and therefore the flexibility of application switching is improved.
Optionally, the starting module is used for: when the vehicle-mounted system receives an application switching instruction in the process of playing the multimedia stream, acquiring a second application for 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; when the second application is not included in the application set, the first application in the application set is taken as a target application, and the target application is started.
Optionally, the identifier set further includes an interface identifier of a playing interface of the first application, and the adding module is configured to: and adding the application identifier of the first application and the interface identifier 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: 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, the playing interface of the target application is started according to the target application identifier and the target interface identifier.
Optionally, as shown in fig. 4, the apparatus 30 further includes:
the updating module 304 is configured to update an application identifier of a first application in the application set and an interface identifier of a playing interface of the first application when an update instruction for the first application is received.
Optionally, as shown in fig. 5, the apparatus 30 further includes:
the deleting module 305 is configured to delete the first application in the application set when an uninstall instruction for the first application is received.
Optionally, as shown in fig. 6, the apparatus 30 further includes:
a determining module 306, configured to determine that an application switching instruction is received when a pressing operation for a target key of the in-vehicle system is detected.
In summary, in the application switching device provided by 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 contains the application identification of the first application, adding the first application into the application set through an adding module. When the vehicle-mounted system receives the application switching instruction, a target application in the application set can be started through the starting module. Because the application set can comprise the third party application, the application except the built-in application of the vehicle-mounted system is supported to be switched, and therefore 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 realizes automatic maintenance of the application set and simplifies the step of maintaining the application set.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The embodiment of the application provides an application switching device, which comprises: 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 fig. 1 or 2.
The embodiment of the application also provides a computer storage medium, wherein the computer storage medium stores instructions which, when executed by a processor, implement the application switching method shown in fig. 1 or fig. 2.
Fig. 7 shows a block diagram of an application switching apparatus according to an exemplary embodiment of the present application. The application switching device may be an in-vehicle system 700.
In general, the in-vehicle system 700 includes: a processor 701 and a memory 702.
Processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 701 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 701 may also include a main processor, which is a processor for processing data in an awake state, also referred to as a CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 701 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 701 may also 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. The 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 of the present application.
In some embodiments, the vehicle-mounted system 700 may further optionally 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 a bus or signal lines. The individual peripheral devices may be connected to the peripheral device interface 703 via buses, signal lines or a circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 704, a display 705, a camera assembly 706, audio circuitry 707, a positioning assembly 708, and a power supply 709.
A peripheral interface 703 may be used to connect I/O (Input/Output) related at least one peripheral device to the processor 701 and memory 702. In some embodiments, the processor 701, memory 702, and peripheral interface 703 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 701, the memory 702, and the peripheral interface 703 may be implemented on separate chips or circuit boards, as embodiments of the application are not limited in this regard.
The Radio Frequency circuit 704 is configured to receive and transmit RF (Radio Frequency) signals, also referred to as electromagnetic signals. The radio frequency circuitry 704 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 704 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 704 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, 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 protocol includes, but is not limited to: the world wide web, metropolitan area networks, intranets, generation mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuitry 704 may also include NFC (Near Field Communication ) related circuitry, which is not limiting of the 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 705 is a touch display, the display 705 also has the ability to collect touch signals at or above the surface of the display 705. The touch signal may be input to the processor 701 as a control signal for processing. At this time, the display 705 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the display 705 may be one, providing a front panel of the in-vehicle system 700; in other embodiments, the display 705 may be at least two, each disposed on a different surface of the vehicle system 700 or in a folded configuration; in still other embodiments, the display 705 may be a flexible display disposed on a curved surface or a folded 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 other materials.
The camera assembly 706 is used to capture images or video. Optionally, the 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 rear of the in-vehicle system. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, camera assembly 706 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
The audio circuit 707 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and environments, 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 for voice communication. For purposes of stereo acquisition or noise reduction, a plurality of microphones may be respectively disposed at different portions of the vehicle-mounted system 700. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, the audio circuit 707 may also include a headphone jack.
The locating component 708 is used to locate the current geographic location of the in-vehicle system 700 to enable navigation or LBS (Location Based Service, location-based services). The positioning component 708 may be a positioning component based on the United states GPS (Global Positioning System ), the Beidou system of China, or the Galileo system of Russia.
The power supply 709 is used to power the various components in the in-vehicle system 700. The power supply 709 may be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 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 further includes one or more sensors 710. The one or more sensors 710 include, but are not limited to: acceleration sensor 711, gyroscope sensor 712, pressure sensor 713, fingerprint sensor 714, optical sensor 715, and proximity sensor 716.
The acceleration sensor 711 can detect the magnitudes of accelerations on 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 the components of the gravitational acceleration in three coordinate axes. The processor 701 may control the touch display screen 705 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal acquired by the acceleration sensor 711. The acceleration sensor 711 may also be used for the 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 vehicle-mounted system 700, and the gyro sensor 712 may collect a 3D motion of the user on the vehicle-mounted system 700 in cooperation with the acceleration sensor 711. The processor 701 may implement the following functions based on the data collected by the gyro sensor 712: motion sensing (e.g., changing UI according to a tilting operation by a user), image stabilization at shooting, game control, and inertial navigation.
The pressure sensor 713 may be disposed at a side frame of the in-vehicle system 700 and/or at an underlying layer of the touch display screen 705. When the pressure sensor 713 is disposed at a side frame of the in-vehicle system 700, a grip signal of the user to the in-vehicle system 700 may be detected, and the processor 701 performs left-right hand recognition or quick operation according to the grip signal collected by the pressure sensor 713. When the pressure sensor 713 is disposed at the lower layer of the touch display screen 705, the processor 701 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 705. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
The fingerprint sensor 714 is used to collect a fingerprint of the 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. Upon recognizing that the user's identity is a trusted identity, the processor 701 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 714 may be provided 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 intensity of the ambient light is high, the display brightness of the touch display screen 705 is turned up; when the ambient light intensity is low, the display brightness of the touch display screen 705 is turned down. In another embodiment, the processor 701 may also dynamically adjust the shooting parameters of the camera assembly 706 based on the ambient light intensity collected by the optical sensor 715.
The proximity sensor 716, also referred to as a distance sensor, is typically disposed on a front panel of the in-vehicle system 700. The proximity sensor 716 is used to capture the distance between the user and the front of the in-vehicle system 700. In one embodiment, when the proximity sensor 716 detects that the distance between the user and the front face 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 off screen state; when the proximity sensor 716 detects that the distance between the user and the front face of the in-vehicle system 700 gradually increases, the processor 701 controls the touch display screen 705 to switch from the off-screen state to the on-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 7 is not limiting of the in-vehicle system 700 and may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
The foregoing description of the preferred embodiments of the present application is not intended to limit the application, but is intended to cover any modifications, equivalents, alternatives, and improvements within the spirit and principles of the application.

Claims (10)

1. An application switching method, characterized in that it is applied to a vehicle-mounted system, the method comprising:
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 the application identifier of the first application is a package name of the first application;
acquiring an identification set maintained by a server, wherein the server periodically acquires application identifications of a third party application supported by a vehicle-mounted system for application switching in an application market, compares the application identifications with the application identifications in the identification set stored in the server, adds the application identifications which are not included in the identification set into the identification set when the application identifications of the third party application supported by the vehicle-mounted system for application switching in the application market exist, and deletes the other application identifications from the identification set when the application identifications except the application identifications of the third party application supported by the vehicle-mounted system for application switching in the application market exist in the identification set, wherein the identification set comprises the application identifications of all the third party applications supported by the vehicle-mounted system for application switching and the interface identifications of the playing interfaces of the third party applications, and the interface identifications of the playing interfaces of the third party applications are activity names of the third party applications;
when the application identifier of the first application is included in the identifier set, the application identifier of the first application and the interface identifier of the playing interface of the first application are added into the application set, wherein the application set comprises a plurality of applications with arrangement sequences, and the plurality of applications comprise built-in applications of a vehicle-mounted system and third-party applications;
when an update instruction for the first application is received, updating an application identifier of the first application in the application set and an interface identifier of a playing interface of the first application;
when the vehicle-mounted system receives the application switching instruction in the process of playing the multimedia stream, acquiring a second application for providing the multimedia stream, wherein the second application is an application for playing the multimedia stream currently;
when the application set comprises the 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.
2. The method of claim 1, wherein the target application is a third party application, the method further comprising:
when the application set comprises a target application identifier of the target application and a target interface identifier of a 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.
3. The method according to claim 1, wherein the method further comprises:
and deleting the first application in the application set when an uninstall instruction for the first application is received.
4. The method according to claim 1, wherein 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.
5. An application switching apparatus, characterized by being applied to an in-vehicle system, the apparatus comprising:
an acquisition module 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, and the application identifier of the first application is a package name of the first application; acquiring an identification set maintained by a server, wherein the server periodically acquires application identifications of a third party application supported by a vehicle-mounted system for application switching in an application market, compares the application identifications with the application identifications in the identification set stored in the server, adds the application identifications which are not included in the identification set into the identification set when the application identifications of the third party application supported by the vehicle-mounted system for application switching in the application market exist, and deletes the other application identifications from the identification set when the application identifications except the application identifications of the third party application supported by the vehicle-mounted system for application switching in the application market exist in the identification set, wherein the identification set comprises the application identifications of all the third party applications supported by the vehicle-mounted system for application switching and the interface identifications of the playing interfaces of the third party applications, and the interface identifications of the playing interfaces of the third party applications are activity names of the third party applications;
an adding module for:
when the application identifier of the first application is included in the identifier set, the application identifier of the first application and the interface identifier of the playing interface of the first application are added into the application set, wherein the application set comprises a plurality of applications with arrangement sequences, and the plurality of applications comprise built-in applications of a vehicle-mounted system and third-party applications;
a starting module for:
when an update instruction for the first application is received, updating an application identifier of the first application in the application set and an interface identifier of a playing interface of the first application; when the vehicle-mounted system receives the application switching instruction in the process of playing the multimedia stream, acquiring a second application for providing the multimedia stream, wherein the second application is an application for playing the multimedia stream currently; when the application set comprises the 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.
6. The apparatus of claim 5, wherein the target application is a third party application, and wherein the initiation module is configured to:
when the application set comprises a target application identifier of the target application and a target interface identifier of a 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.
7. The apparatus of claim 5, wherein the apparatus further comprises:
and the deleting module is used for deleting the first application in the application set when receiving an unloading instruction aiming at the first application.
8. The apparatus of claim 5, wherein the apparatus further comprises:
and 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.
9. An application switching apparatus, comprising: a processor and a memory;
the memory is used for storing a computer program, and the computer program comprises program instructions;
the processor is configured to invoke the computer program to implement the application switching method according to any of claims 1 to 4.
10. A computer storage medium having instructions stored thereon which, when executed by a processor, implement the application switching method of any of claims 1 to 4.
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 CN111324431A (en) 2020-06-23
CN111324431B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113067854B (en) * 2021-03-12 2023-08-25 斑马网络技术有限公司 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 (1)

* Cited by examiner, † Cited by third party
Title
"MPVUS: A Moving Prediction Based Video Streaming Uploading Scheme over Vehicular Networks";Xiaojin ZHU 等;《IEICE Transactions on Fundamentals of Electronics, Communications and Computer Sciences》(第1期);304-312 *

Also Published As

Publication number Publication date
CN111324431A (en) 2020-06-23

Similar Documents

Publication Publication Date Title
CN111400610B (en) Vehicle-mounted social method and device and computer storage medium
CN109101213B (en) Method, device and storage medium for controlling sound card to transmit audio
CN111327928A (en) Song playing method, device and system and computer storage medium
CN112256320A (en) Version number generation method, device, terminal and storage medium
CN111565338A (en) Method, device, system, equipment and storage medium for playing video
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
CN111324431B (en) Application switching method and device and computer storage medium
CN112181915B (en) Method, device, terminal and storage medium for executing service
CN111708581B (en) Application starting method, device, equipment and computer storage medium
CN113408989B (en) Automobile data comparison method and device and computer storage medium
CN113099378B (en) Positioning method, device, equipment and storage medium
CN112597417B (en) Page updating method and device, electronic equipment and storage medium
CN111399797B (en) Voice message playing method and device, electronic equipment and 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
CN108519913B (en) Application program running state management method and device, storage medium and terminal
CN111707263A (en) Path planning method and device, electronic equipment and storage medium
CN110992954A (en) Method, device, equipment and storage medium for voice recognition
CN111522576B (en) Application management method, device, equipment and computer storage medium
CN114566064B (en) Method, device, equipment and storage medium for determining position of parking space
CN110232135B (en) Song playing method and device, terminal and storage medium
CN111241337B (en) K song work sharing method and device

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