Application processing method and device

By establishing a connection between the car and the mobile phone, obtaining and integrating application collections, and displaying them uniformly on the car and computer desktop, the problem of low application search efficiency in the existing technology is solved, the user's operating experience is improved and potential application problems are avoided. .

CN119311433APending Publication Date: 2025-01-14GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310865131.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-13
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

The existing automotive and computer systems are relatively low in application search efficiency, and users need to switch pages back and forth to find applications, resulting in inefficiency.

Method used

By establishing a connection between the car machine and the mobile phone, sending an application acquisition request to the mobile phone, obtaining the application collection on the mobile phone, and eliminating applications that do not belong to the preset whitelist, integrating the application collection on the car machine and the mobile phone, and displaying it in a unified manner. On the desktop of the car machine.

Benefits of technology

Improve application search efficiency, simplify user operations, and avoid crashes or display exceptions caused by non-whitelisted applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119311433A_ABST
    Figure CN119311433A_ABST
Patent Text Reader

Abstract

The invention discloses an application processing method and device, and the method comprises the steps: sending an application obtaining request to a second device under the condition of building a connection with the second device, and enabling the application obtaining request to be used for obtaining an application installed on the second device from the second device; under the condition that a second application set based on the application obtaining request and returned by the second equipment is obtained, removing applications, which do not belong to the preset application white list, in the second application set from the second application set to obtain a third application set; acquiring a first application set of the first equipment; fusing the first application set and the third application set to obtain a target application set; and displaying the application identifier of each application in the target application set on a display desktop of the first equipment. According to the application, the applications of the first equipment and the second equipment can be uniformly displayed on the desktop of the first equipment, so that the application searching efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle-machine interconnection technology, and specifically to an application processing method and device. Background Art

[0002] With the development of car-machine interconnection technology and the coverage of intelligent car systems, users' diversified needs in the car have been stimulated. However, due to application adaptation and cost reasons, the current car-machine built-in system is difficult to cover the user's constantly enriching and growing in-car usage scenarios. However, in the existing technology, after the mobile phone and the car machine are connected, the car machine will display the application on the mobile phone separately on an interface on the car machine. When the user needs to find a certain application, he needs to switch pages back and forth to search for the application, resulting in low application search efficiency.

[0003] That is, the application search efficiency in the prior art is low. Summary of the invention

[0004] The embodiments of the present application provide an application processing method and device, which can improve the efficiency of application search.

[0005] In a first aspect, the application processing method provided by the present application is applied to a first device, including:

[0006] When a connection is established with the second device, sending an application acquisition request to the second device, wherein the application acquisition request is used to acquire an application installed on the second device from the second device;

[0007] In a case where the second device returns a second application set based on the application acquisition request, removing applications in the second application set that are not in the preset application whitelist from the second application set to obtain a third application set;

[0008] Acquire a first application set of the first device;

[0009] Merging the first application set and the third application set to obtain a target application set;

[0010] The application identifier of each application in the target application set is displayed on the display desktop of the first device.

[0011] In a second aspect, the application processing method provided by the present application is applied to a second device, including:

[0012] In case of obtaining the application acquisition request sent by the first device, obtaining the application installed on the first device;

[0013] Determine the applications installed on the first device as a second application set;

[0014] Return the second application set to the first device, where the second application set is used to instruct the first device to remove applications in the second application set that are not in the preset application whitelist from the second application set to obtain a third application set; obtain the first application set of the first device; merge the first application set and the third application set to obtain a target application set; and display the application identifier of each application in the target application set on the display desktop of the first device.

[0015] In a third aspect, the application processing device provided by the present application includes:

[0016] a request sending module, configured to send an application acquisition request to the second device when a connection is established with the second device, wherein the application acquisition request is used to acquire an application installed on the second device from the second device;

[0017] a removal module, configured to remove applications in the second application set that do not belong to a preset application whitelist from the second application set, when obtaining the second application set returned by the second device based on the application acquisition request, to obtain a third application set;

[0018] An acquisition module, configured to acquire a first application set of the first device;

[0019] A fusion module, used to fuse the first application set and the third application set to obtain a target application set;

[0020] The display module is used to display the application identification of each application in the target application set on the display desktop of the first device.

[0021] In a fourth aspect, the application processing device provided by the present application includes:

[0022] An acquisition module, configured to acquire an application installed on the first device upon receiving an application acquisition request sent by the first device;

[0023] A determination module, configured to determine the applications installed on the first device as a second application set;

[0024] A return module is used to return the second application set to the first device, wherein the second application set is used to instruct the first device to remove applications in the second application set that are not in a preset application whitelist from the second application set to obtain a third application set; obtain the first application set of the first device; merge the first application set and the third application set to obtain a target application set; and display the application identifier of each application in the target application set on the display desktop of the first device.

[0025] In a fifth aspect, the electronic device provided in the present application includes a memory and a processor, the memory stores a computer program, and the processor is used to run the computer program in the memory to implement the steps in the application processing method of the first aspect or the steps in the application processing method of the second aspect provided in the present application.

[0026] In a sixth aspect, the computer-readable storage medium provided in the present application stores a plurality of instructions, which are suitable for loading by a processor to implement the steps in the application processing method of the first aspect or the steps in the application processing method of the second aspect provided in the present application.

[0027] In the seventh aspect, the computer program product provided in the present application includes a computer program or instructions, which, when executed by a processor, implements the steps in the application processing method of the first aspect or the steps in the application processing method of the second aspect provided in the present application.

[0028] In the present application, compared with the related art, the applications installed on the second device are obtained from the second device to obtain the second application set, the applications that do not belong to the preset application whitelist are removed from the second application set to obtain the third application set, and then the third application set and the application set on the first device are merged to obtain the target application set, and finally the application identifiers of each application in the target application set are displayed on the display desktop of the first device. Since the applications on the second device are filtered through the preset application whitelist and then merged with the application set on the first device for display, the applications of the first device and the second device can be uniformly displayed on the desktop of the first device, which is convenient for user operation, and the displayed applications are reduced by filtering, thereby improving the application search efficiency. Furthermore, it can also avoid unexpected problems caused by the first device starting some non-whitelist applications, such as crashes, display abnormalities, etc. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0030] Figure 1 is a scenario diagram of an application processing system provided by an embodiment of the present application;

[0031] Figure 2 It is a flowchart of a first embodiment of the application processing method provided in the embodiments of the present application;

[0032] Figure 3 It is a schematic diagram of the process of adding an application in the application processing method provided in an embodiment of the present application;

[0033] Figure 4 It is a flowchart of a second embodiment of the application processing method provided in the embodiment of the present application;

[0034] Figure 5 It is a schematic diagram of the process of starting an application in the application processing method provided in an embodiment of the present application;

[0035] Figure 6 It is a flowchart of a third embodiment of the application processing method provided in the embodiments of the present application;

[0036] Figure 7 It is a flowchart of a fourth embodiment of the application processing method provided in the embodiments of the present application;

[0037] Figure 8 is a flowchart of a fifth embodiment of the application processing method provided in the embodiments of the present application;

[0038] Fig. 9 is a schematic diagram of the structure of an embodiment of an application processing device provided in an embodiment of the present application;

[0039] Fig.10 is a schematic diagram of the structure of another embodiment of the application processing device provided in an embodiment of the present application;

[0040] Fig.11 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] It should be noted that the principles of the present application are illustrated by implementing them in an appropriate computing environment. The following description is based on the illustrated specific embodiments of the present application and should not be considered as limiting other specific embodiments of the present application that are not described in detail herein.

[0042] In the following description of the present application, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0043] In the following description of the present application, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.

[0044] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0045] In order to improve the effect of application processing, the embodiments of the present application provide an application processing method, an application processing device, an electronic device, a computer-readable storage medium, and a computer program product. The application processing method can be executed by the application processing device, or by an electronic device integrated with the application processing device.

[0046] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0047] Please refer to Figure 1 , the present application also provides an application processing system, such as Figure 1 As shown, the application processing system includes a first electronic device 100 and a second electronic device 200. The first electronic device 100 is integrated with the application processing device provided by the present application, and the second electronic device 200 is integrated with the application processing device provided by the present application.

[0048] Among them, the first electronic device 100 can be any device equipped with a processor and has processing capabilities, such as mobile electronic devices with processors such as smart phones, tablet computers, PDAs, laptops, smart speakers, or fixed electronic devices with processors such as desktop computers, televisions, servers, industrial equipment, etc.

[0049] Among them, the second electronic device 200 can be any device equipped with a processor and has processing capabilities, such as mobile electronic devices with processors such as smart phones, tablet computers, PDAs, laptops, smart speakers, or fixed electronic devices with processors such as desktop computers, televisions, servers, industrial equipment, etc.

[0050] In a specific embodiment, the first electronic device 100 is a vehicle-mounted terminal. For example, the first electronic device 100 is a vehicle computer, and the second electronic device 200 is a mobile terminal, for example, the first electronic device 100 is a mobile phone. In another specific embodiment, the first electronic device 100 is a desktop computer, and the second electronic device 200 is a mobile terminal. In another specific embodiment, the first electronic device 100 is a television, and the second electronic device 200 is a mobile terminal.

[0051] In addition, the application processing system may further include a memory for storing original data, intermediate data, and result data.

[0052] In the embodiment of the present application, the memory may be a cloud memory. Cloud storage is a new concept extended and developed from the concept of cloud computing. A distributed cloud storage system (hereinafter referred to as the storage system) refers to a storage system that uses cluster applications, grid technology, and distributed storage file systems to bring together a large number of storage devices of various types (storage devices are also called storage nodes) in the network through application software or application interfaces to work together and provide external data storage and business access functions.

[0053] At present, the storage method of the storage system is: create a logical volume, and when creating a logical volume, allocate physical storage space for each logical volume. The physical storage space may be composed of disks of a storage device or several storage devices. The client stores data on a logical volume, that is, stores the data on the file system. The file system divides the data into many parts, each of which is an object. The object contains not only data but also additional information such as data identification (ID, ID entity). The file system writes each object into the physical storage space of the logical volume, and the file system records the storage location information of each object, so that when the client requests to access the data, the file system can allow the client to access the data according to the storage location information of each object.

[0054] The process of the storage system allocating physical storage space to a logical volume is as follows: based on the estimated capacity of the objects stored in the logical volume (this estimate often has a large margin relative to the actual capacity of the objects to be stored) and the grouping of independent redundant disk arrays (RAID, Redundant Array of Independent Disks), the physical storage space is pre-divided into stripes. A logical volume can be understood as a stripe, thereby allocating physical storage space to the logical volume.

[0055] It should be noted that Figure 1 The scenario diagram of the application processing system shown is merely an example. The application processing system and scenario described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided in the embodiment of the present application. A person of ordinary skill in the art can appreciate that with the evolution of the application processing system and the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is equally applicable to similar technical problems.

[0056] It should be noted that the serial numbers of the following embodiments are not intended to limit the preferred order of the embodiments.

[0057] Please refer to Figure 2 , Figure 2 is a flowchart of a first embodiment of the application processing method provided in the embodiment of the present application, such as Figure 2 As shown, the process of the application processing method provided by this application is as follows:

[0058] 201. When a connection is established with a second device, send an application acquisition request to the second device.

[0059] The application acquisition request is used to acquire the application installed on the second device from the second device.

[0060] In a specific embodiment, the first device establishes a screen projection connection with the second device based on a preset car connection protocol. When the first device detects that a screen projection connection is established with the second device based on the preset car connection protocol, the first device sends an application acquisition request to the second device. Specifically, the preset car connection protocol is the Carlink car connection protocol. Of course, in other embodiments, the preset car connection protocol can also be the CarPlay car connection protocol, the HiCar car connection protocol, etc., which can be set according to the specific situation and is not limited here.

[0061] In another specific embodiment, the first device establishes a screen projection connection with the second device based on a preset vehicle connection protocol, and sends an application acquisition request to the second device at a preset period, which can be 10s, 20s, etc., and can be set according to specific circumstances. Sending an application acquisition request to the second device at a preset period can ensure that the latest application installed on the second device is acquired.

[0062] 202. When the second device returns a second application set based on the application acquisition request, remove applications in the second application set that are not in the preset application whitelist from the second application set to obtain a third application set.

[0063] In the embodiment of the present application, after the first device sends an application acquisition request to the second device, the second device acquires the applications installed on the second device, and determines the applications installed on the second device as the second application set. Specifically, the second device acquires the application package name, application name, application icon, application classification and other information of the applications installed on the second device, and combines the application package name, application name, application icon, application classification and other information of each application into the second application set, and the second application set contains the application package name, application name, application icon, application classification and other information of each application as the second application set. For example, the second application set includes application A, application B, and application G.

[0064] In the embodiment of the present application, the preset application whitelist is preset manually, for example, the preset application whitelist is application A, application B, application C, application D, and application E. Since the second application set of application G does not belong to the preset application whitelist, it is removed, and the third application set includes application A and application B.

[0065] 203. Obtain a first application set of a first device.

[0066] In a specific embodiment, the first application set may be all applications installed on the first device.

[0067] In another specific embodiment, the first application set is a plurality of applications ranked top in descending order of user usage frequency. For example, the first device has 10 applications installed, and the first application set includes 8 applications ranked top in descending order of user usage frequency.

[0068] 204. The first application set and the third application set are integrated to obtain a target application set.

[0069] In a specific embodiment, fusing the first application set and the third application set to obtain the target application set may include:

[0070] (1) The first application set and the third application set are combined to obtain a fourth application set.

[0071] For example, the first application set includes application A, application D, and application E, and the third application set includes application A and application B. The first application set and the third application set are combined to obtain a fourth application set. The fourth application set includes application A, application D, application E, application A, and application B.

[0072] (2) Eliminate one of the two applications with the same application attributes in the fourth application set to obtain a target application set.

[0073] The application attribute includes at least one of an application name and an application package name. For example, if the application name and the application package name of an application are the same, the application attributes of the applications are the same. The fourth application set includes two applications A. One of the applications A is removed to obtain a target application set, which includes: application A, application B, application D, and application E.

[0074] Since applications with the same application attributes are eliminated, duplicate applications can be removed and the displayed desktop can be simplified.

[0075] In another specific embodiment, the first application set and the second application set are combined to obtain a target application set.

[0076] 205. Display the application identifier of each application in the target application set on the display desktop of the first device.

[0077] In the embodiment of the present application, the application identifier may include an application name and an application icon. For example, the application identifier is the application name displayed below the application icon. Of course, the application identifier may also include only the application name or the application icon, which can be set according to the specific situation and is not limited here.

[0078] Furthermore, in order to optimize the display, the user usage frequency of each application in the target application set is obtained, and the application identifiers of each application in the target application set are sequentially displayed on the display desktop of the first device according to the user usage frequency.

[0079] Further, in order to meet the personalized needs of the user, the application identifiers of the respective applications in the target application set are displayed on the display desktop of the first device, and then, the following may be included:

[0080] (1) Obtaining application configuration instructions input by a user, where the application configuration information includes one of an application adding instruction, an application removing instruction, an application sorting instruction, and an application updating instruction.

[0081] Specifically, the second device pops up an application configuration pop-up window to the user, and the user issues an application configuration instruction in the application configuration pop-up window. The application configuration pop-up window may provide an ADDED button, a REMOVED button, an UPDATE button, and a REORDERED button. The ADDED button is used to add an application, the REMOVED button is used to remove an application, the UPDATE button is used to update application information, and the REORDERED button is used to sort applications.

[0082] (2) Update the target application set based on the application configuration instructions.

[0083] Specifically, after updating the target application set, the application identifiers of each application in the updated target application set are displayed on the display desktop of the first device. Users can manage the mobile phone on-board applications through the add and remove buttons, and can sort the added on-board applications. These user operations will take effect in real time. Users can independently configure the integrated target application set on the first device by entering application configuration instructions to meet the user's personalized needs.

[0084] In a specific embodiment, the first device is a car computer, and the second device is a mobile phone. Carlink HMI and Carlink car computer SDK are installed on the car computer. Carlink HMI is a human-machine interface (HMI) that adopts the Carlink protocol. HMI is a medium for interaction and information exchange between the system and the user, and it realizes the conversion between the internal form of information and the form acceptable to humans. Car computer SDK, that is, the software development kit (SDK) of the car computer, is generally a set of development tools for software engineers to build application software for specific software packages, software frameworks, hardware platforms, operating systems, etc. Carlink HMI is the car computer system, and Carlink car computer SDK is the Carlink application. Carlink mobile phone SDK and mobile phone interconnection management program are installed on the mobile phone.

[0085] like Figure 3 As shown, taking adding applications as an example, the target application set is the vehicle application list. When the user installs a new application that supports being in the vehicle on the mobile phone or manually adds an application that supports being in the vehicle, the mobile interconnection management program notifies the Carlink mobile SDK of the application list change, and then notifies the Carlink vehicle SDK of the application list change through the Carlink protocol. After receiving the notification, the Carlink HMI application calls back to notify the application category information change, updates the newly added application to the vehicle application list, and displays the application list information on the desktop launcher interface according to the identity document (ID), name, package name, and icon information.

[0086] Please refer to Figure 4 , Figure 4 is a flow chart of a second embodiment of the application processing method provided in the embodiment of the present application, such as Figure 4 As shown, the process of the application processing method provided by this application is as follows:

[0087] 301. Establish a screen projection connection with a second device based on a preset vehicle connection protocol.

[0088] 302. Send an application acquisition request to the second device.

[0089] 303. When the second device returns the second application set based on the application acquisition request, remove applications in the second application set that are not in the preset application whitelist from the second application set to obtain a third application set.

[0090] 304. Obtain a first application set of a first device.

[0091] 305. The first application set and the third application set are integrated to obtain a target application set.

[0092] 306. Display the application identifier of each application in the target application set on the display desktop of the first device.

[0093] 307. When a state adjustment operation instruction for a target application on the display desktop is detected, the state adjustment operation instruction for the target application is sent to the second device.

[0094] The state adjustment operation instruction is used to instruct to adjust the running state of the target application to the target application state.

[0095] Specifically, the application status of the application in the status adjustment operation instruction can be the application started status, the application paused status, the application resumed status, the application stopped status, and the application destroyed status. When the application is in the started status, the application is being displayed in the foreground, which can be indicated by STARTED. The application paused status means that the application is covered at this time, but partially visible, which can be indicated by PAUSED. The application resumed status means that the application has resumed the foreground display at this time, which can be indicated by RESUMED. The application stopped status means that the application is completely covered at this time and is running in the background, which can be indicated by STOPPED. The application destroyed status means that the application has stopped running at this time, which can be indicated by DESTROYED.

[0096] In an embodiment of the present application, a user operates on the display desktop of the first device and issues a state adjustment operation instruction. The first device detects the state adjustment operation instruction for the target application on the display desktop and sends the state adjustment operation instruction of the target application to the second device.

[0097] 308. If the operation result information of the execution status adjustment operation instruction returned by the second device is obtained, the display content on the display desktop of the first device is determined based on the target application state.

[0098] In an embodiment of the present application, the first device sends a state adjustment operation instruction of the target application to the second device, the second device executes the state adjustment operation instruction, and returns the operation result information of executing the state adjustment operation instruction to the first device, and the first device determines the display content on the display desktop of the first device based on the state of the target application.

[0099] The present application utilizes a first device to detect a state adjustment operation instruction for a target application on a display desktop, and uses a second device to adjust the application state according to the state adjustment operation instruction, thereby adjusting the state of the target application on the display desktop when the applications of the first device and the second device are displayed in a fusion manner on the display desktop of the first device.

[0100] In a specific embodiment, determining the display content on the display desktop of the first device based on the target application state may include:

[0101] If the target application state is that the application has been started or the application has been restored, a content call request is initiated to the second device. The video content returned by the second device based on the content call request is displayed on the display desktop. If the target application state is that the application has been destroyed, the application displayed on the display desktop of the first device is run to the background. The audio content returned by the second device based on the content call request is played on the speaker. Among them, the first device is a vehicle-mounted terminal, and the display screen of the first device can be a central control display screen of the car connection, or it can be a head-up display. Head-up display, referred to as HUD, is also called a head-up display system, which refers to a blind-operated, multi-functional dashboard centered on the car connection driver. Its function is to project important driving information such as speed and navigation onto the windshield in front of the driver, so that the driver can see important driving information such as speed and navigation without lowering his head or turning his head as much as possible.

[0102] 309. If the operation result information of the execution status adjustment operation instruction returned by the second device is obtained, the vehicle computer application stack is updated based on the operation result information.

[0103] Specifically, when the first device establishes a connection with the second device, an application running stack is established, and the applications running on the first device are sequentially placed in the application running stack in the order of running. The application running stack is a data structure that stores the applications currently running on the vehicle. The data structure is stored in a list and is divided into four operations: stacking, popping, removing, and clearing.

[0104] Specifically, if the operation result information is an execution for indicating that the running state of the target application is adjusted to the application started state, it is determined whether the target application is located in the application running stack. If the target application is not located in the application running stack, it means that the target application is a newly started application, and the target application is added to the top of the application running stack. If the target application is located in the application running stack, it means that the target application is an application that has been started, and the target application is removed from the application running stack, and the target application is placed at the top of the application running stack. If the operation result information is an execution for indicating that the running state of the target application is adjusted to the application destroyed state, a pop operation is performed to remove the target application from the application running stack. If the first device and the second device are disconnected, the application running stack is cleared. The present application manages the applications running on the first device through the application stack, which can avoid application status confusion and improve user experience.

[0105] Furthermore, when the first device establishes a connection with the second device, the preset display page is placed in the application running stack, and when the first device does not run an application, the preset display page is displayed. For example, the preset display page is a pre-designed Home page. The preset display page serves as a demarcation mark between historical running applications and currently running applications to manage application running. The pages above the Home page are running applications, and the pages below the Home page are historically launched applications. When the application Home page becomes the top application in the stack, it means that the application display window should retreat to the background and display the Home page.

[0106] In a specific embodiment, the first device is a vehicle computer, and the second device is a mobile phone. The vehicle computer is installed with Carlink HMI and Carlink vehicle computer SDK, Carlink HMI is the vehicle computer system, and Carlink vehicle computer SDK is the Carlink application. The mobile phone is installed with Carlink mobile phone SDK, mobile phone interconnection management program, Android system and third-party applications.

[0107] like Figure 5As shown, taking the launch of an application as an example, when the user clicks on the application icon on the vehicle side to launch the application, the Carlink HMI of the vehicle side notifies the Carlink vehicle side SDK through the Carlink protocol that the user needs to launch a certain application. The Carlink vehicle side SDK sends an application launch event to the Carlink mobile side SDK through the Carlink protocol. The Carlink mobile side SDK calls back to notify the mobile phone interconnection management program of the new application launch event. The mobile phone interconnection management program calls the Android system interface to launch the specified application to the vehicle virtual screen. The Android system launches the third-party application. The third-party application draws the application content on the current virtual screen and submits the application content to the Android system. The application content includes audio content and video content. The Android system notifies the mobile phone interconnection management program that the application has been successfully launched, and the application running status is updated to STARTED. The mobile phone interconnection management program notifies the Carlink mobile side SDK of the application status change. The Carlink mobile SDK notifies the Carlink car SDK of the application status change message through the Carlink protocol. The Carlink car SDK callback notifies the application status change. The car's Carlink HMI applies for a window based on the current application status information. The car's Carlink HMI calls the SDK interface to update the projection parameters and the surface. The surface corresponds to a screen buffer, and each window corresponds to a surface. Any control is drawn on the surface, and all drawing must be done in the user interface thread. The car's Carlink HMI returns ACK (confirmation character, ACK) confirmation information to the mobile phone. ACK is a transmission control character sent from the receiving station to the sending station in data communication. It indicates that the data sent has been confirmed to be received correctly. The mobile phone interconnection management program detects that the virtual screen has new data and starts to push the stream, and pushes the encoded audio and video stream to the Carlink car SDK through the Carlink protocol. The Carlink car SDK obtains the encoded audio and video stream through the Carlink protocol, decodes the audio and video stream, renders and outputs it to the surface, and applies rotation and plays sound.

[0108] Please refer to Figure 6 , Figure 6 is a flow chart of a third embodiment of the application processing method provided in the embodiment of the present application, such as Figure 6 As shown, the process of the application processing method provided by this application is as follows:

[0109] 401. Upon receiving an application acquisition request sent by a first device, acquire an application installed on the first device.

[0110] Specifically, in a specific embodiment, the second device establishes a screen projection connection with the first device based on a preset vehicle connection protocol. When the first device detects that a screen projection connection is established with the second device based on the preset vehicle connection protocol, the first device sends an application acquisition request to the second device.

[0111] 402. Determine the applications installed on the first device as a second application set.

[0112] 403. Return the second application set to the first device.

[0113] Specifically, the second application set is returned to the first device based on the preset vehicle connection protocol.

[0114] Please refer to Figure 7 , Figure 7 is a flowchart of a fourth embodiment of the application processing method provided in the embodiments of the present application. Figure 7 As shown, the process of the application processing method provided by this application is as follows:

[0115] 501. Upon receiving an application acquisition request sent by a first device, acquire an application installed on the first device.

[0116] 502. Determine the applications installed on the first device as a second application set.

[0117] 503. Return the second application set to the first device.

[0118] Specifically, the second application set is returned to the first device based on the preset vehicle connection protocol.

[0119] 504. When the state adjustment operation instruction of the target application is obtained, the state adjustment operation instruction is placed in a state adjustment operation instruction queue.

[0120] Specifically, a state adjustment operation instruction queue eventLoop is pre-set. When a state adjustment operation instruction of a target application is obtained, the state adjustment operation instruction is put into the state adjustment operation instruction queue eventLoop. The execution mode of the state adjustment operation instruction queue eventLoop is a first-in-first-out mode.

[0121] 505. Determine the state adjustment operation instruction first put into the state adjustment operation instruction queue as the operation instruction to be executed.

[0122] The present application utilizes a queue to sequentially process state adjustment operation instructions, which can ensure that the state adjustment operation instructions sent by the application are processed in order, ensuring that the application state is updated normally and the application stack runs stably.

[0123] 506. Adjust the application in the operation instruction to be executed to the target application state in the operation instruction to be executed.

[0124] Specifically, the pending operation instruction is a state adjustment operation instruction queue with the highest priority for execution, and the pending operation instruction is executed to adjust the application in the pending operation instruction to the target application state in the pending operation instruction.

[0125] 507. Determine whether the state change of the application in the operation instruction to be executed is consistent with the operation instruction to be executed.

[0126] After the application in the operation instruction to be executed is adjusted to the target application state in the operation instruction to be executed, it is determined whether the state change of the application in the operation instruction to be executed is consistent with the operation instruction to be executed.

[0127] For example, the state change of the application in the operation instruction to be executed is to destroy the application, and the operation instruction to be executed is to instruct to adjust the running state of the target application to a destroyed state. That is, the state change of the application in the operation instruction to be executed and the operation instruction to be executed both indicate that the currently running application is destroyed, which indicates that the state change of the application in the operation instruction to be executed is consistent with the operation instruction to be executed.

[0128] Further, if the operation result information of the pending operation instruction is received or the operation result information of the pending operation instruction is not received after the preset time, the next state adjustment operation instruction in the state adjustment operation instruction queue is executed. The preset time can be 10s, which can be set according to the specific situation.

[0129] 508. Remove the state adjustment operation instruction that is first put into the state adjustment operation instruction queue.

[0130] If the state change of the application in the pending operation instruction is consistent with the pending operation instruction, the state adjustment operation instruction first placed in the state adjustment operation instruction queue is removed.

[0131] In another specific embodiment, the application in the pending operation instruction is adjusted to the target application state in the pending operation instruction, and then the application running stack is updated to determine whether the state change of the application running stack is consistent with the pending operation instruction. If the change of the application running stack is consistent with the pending operation instruction, the state adjustment operation instruction first placed in the state adjustment operation instruction queue is removed. For example, if the change of the application running stack is to remove the top application of the stack, and the pending operation instruction is to instruct to adjust the running state of the target application to a destroyed state, that is, if the change of the application running stack and the pending operation instruction both indicate that the currently running application is destroyed, it indicates that the change of the application running stack is consistent with the pending operation instruction, and the state adjustment operation instruction first placed in the state adjustment operation instruction queue is removed.

[0132] 509. Return operation result information of executing the operation instruction to be executed to the first device.

[0133] After the operation instruction to be executed is executed, the operation result information of executing the operation instruction to be executed is returned to the first device.

[0134] Please refer to Figure 8 , Figure 8 is a flowchart of a fifth embodiment of the application processing method provided in the embodiment of the present application, such as Figure 8 As shown, the first device is a car machine, and the second device is a mobile phone. The car machine is installed with Carlink HMI and Carlink car machine SDK, Carlink HMI is the car machine system, and Carlink car machine SDK is the Carlink application. The mobile phone is installed with Carlink mobile phone SDK and mobile phone interconnection management program.

[0135] The target application set is an application list. When the user's mobile phone is close to the car machine for seamless connection, Carlink HMI obtains the application list from Carlink car machine SDK. Carlink car machine SDK sends the application list information to Carlink mobile phone SDK through Carlink protocol. Carlink mobile phone SDK obtains the application list from the mobile phone interconnection management program. The mobile phone interconnection management program returns the application list to Carlink mobile phone SDK. Carlink mobile phone SDK returns the application list information to Carlink car machine SDK through Carlink protocol. Carlink car machine SDK returns the application list to Carlink HMI. Carlink HMI filters unnecessary applications and saves the application list.

[0136] In order to better implement the application processing method provided in the embodiment of the present application, the embodiment of the present application also provides an application processing device based on the above application processing method. The meanings of the terms are the same as those in the above application processing method. For specific implementation details, please refer to the description in the above method embodiment.

[0137] Please refer to Fig. 9 , Fig. 9 The schematic diagram of the structure of the application processing device provided in the embodiment of the present application, the application processing device may include a request sending module 701, a rejection module 702, an acquisition module 703, a fusion module 704, and a display module 705, wherein:

[0138] A request sending module 701 is used to send an application acquisition request to the second device when a connection is established with the second device, wherein the application acquisition request is used to acquire an application installed on the second device from the second device;

[0139] A removal module 702 is configured to remove applications in the second application set that are not in a preset application whitelist from the second application set when obtaining the second application set returned by the second device based on the application acquisition request, so as to obtain a third application set;

[0140] An acquisition module 703 is used to acquire a first application set of the first device;

[0141] A fusion module 704 is used to fuse the first application set and the third application set to obtain a target application set;

[0142] The display module 705 is configured to display the application identifier of each application in the target application set on the display desktop of the first device.

[0143] In an optional embodiment, displaying the application identifier of each application in the target application set on the display desktop of the first device includes:

[0144] Acquire an application configuration instruction input by a user, wherein the application configuration information includes at least one of an application adding instruction, an application removing instruction, an application sorting instruction, and an application updating instruction;

[0145] The target application set is updated based on the application configuration instruction.

[0146] In an alternative embodiment,

[0147] When a state adjustment operation instruction for a target application on the display desktop is detected, the state adjustment operation instruction for the target application is sent to the second device, wherein the state adjustment operation instruction is used to instruct to adjust the running state of the target application to the target application state;

[0148] If the operation result information of executing the state adjustment operation instruction returned by the second device is obtained, the display content on the display desktop of the first device is determined based on the target application state.

[0149] In an optional embodiment, determining the display content on the display desktop of the first device based on the target application state includes:

[0150] If the target application state is an application started state or an application resumed state, initiating a content call request to the second device;

[0151] Displaying the video content returned by the second device based on the content call request on the display desktop.

[0152] In an alternative embodiment,

[0153] If the operation result information of executing the state adjustment operation instruction returned by the second device is obtained, the application running stack is updated based on the operation result information, wherein the first device establishes the application running stack when establishing a connection with the second device, and places the applications running by the first device into the application running stack in sequence according to the order of operation.

[0154] In an optional embodiment, the fusing the first application set and the third application set to obtain a target application set includes:

[0155] Combining the first application set and the second application set to obtain a fourth application set;

[0156] One of the two applications with the same application attribute in the fourth application set is removed to obtain a target application set, wherein the application attribute includes at least one of an application name and an application package name.

[0157] In order to better implement the application processing method provided in the embodiment of the present application, the embodiment of the present application also provides an application processing device based on the above application processing method. The meanings of the terms are the same as those in the above application processing method. For specific implementation details, please refer to the description in the above method embodiment.

[0158] Please refer to Fig.10 , Fig.10 The schematic diagram of the structure of the application processing device provided in the embodiment of the present application, the application processing device may include an acquisition module 801, a determination module 802, and a return module 803, wherein:

[0159] An acquisition module 801 is configured to acquire an application installed on a first device upon receiving an application acquisition request sent by the first device;

[0160] A determination module 802, configured to determine the applications installed on the first device as a second application set;

[0161] The returning module 803 is used to return the second application set to the first device.

[0162] An embodiment of the present application also provides an electronic device, including a memory and a processor, wherein the processor is used to execute the steps of the application processing method provided in this embodiment by calling a computer program stored in the memory.

[0163] Please refer to Fig.11 , Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.10 The electronic device may be a first device or a second device.

[0164] The electronic device may include components such as a processor 101 with one or more processing cores, a memory 102 with one or more computer-readable storage media, a power supply 103, and an input unit 104. Those skilled in the art will appreciate that the electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. Among them:

[0165] The processor 101 is the control center of the electronic device, which uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 102, and calling data stored in the memory 102. Optionally, the processor 101 may include one or more processing cores; optionally, the processor 101 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 101.

[0166] The memory 102 can be used to store software programs and modules. The processor 101 executes various functional applications and data processing by running the software programs and modules stored in the memory 102. The memory 102 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 102 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 102 may also include a memory controller to provide the processor 101 with access to the memory 102.

[0167] The electronic device also includes a power supply 103 for supplying power to each component. Optionally, the power supply 103 can be logically connected to the processor 101 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 103 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0168] The electronic device may further include an input unit 104, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0169] Although not shown, the electronic device may also include a display unit, an image acquisition component, etc., which will not be described in detail here. Specifically in this embodiment, the processor 101 in the electronic device will load the executable code corresponding to one or more computer programs into the memory 102 according to the following instructions, and the processor 101 will execute the steps in the application processing method provided in this application, such as:

[0170] When a connection is established with the second device, sending an application acquisition request to the second device, wherein the application acquisition request is used to acquire an application installed on the second device from the second device;

[0171] In a case where the second device returns a second application set based on the application acquisition request, removing applications in the second application set that are not in the preset application whitelist from the second application set to obtain a third application set;

[0172] Acquire a first application set of the first device;

[0173] Merging the first application set and the third application set to obtain a target application set;

[0174] Displaying the application identifier of each application in the target application set on the display desktop of the first device;

[0175] Alternatively, in case of obtaining an application acquisition request sent by the first device, obtaining the application installed on the first device;

[0176] Determine the applications installed on the first device as a second application set;

[0177] Return the second application set to the first device, where the second application set is used to instruct the first device to remove applications in the second application set that are not in the preset application whitelist from the second application set to obtain a third application set; obtain the first application set of the first device; merge the first application set and the third application set to obtain a target application set; and display the application identifier of each application in the target application set on the display desktop of the first device.

[0178] It should be noted that the electronic device provided in the embodiment of the present application and the application processing method in the above embodiment belong to the same concept, and its specific implementation process is detailed in the above related embodiments and will not be repeated here.

[0179] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program stored therein is executed on a processor of an electronic device provided in an embodiment of the present application, the processor of the electronic device executes the steps in the application processing method provided in the present application. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0180] The present application also provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes various optional implementations of the above-mentioned application processing method.

[0181] The above is a detailed introduction to an application processing method and device provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

[0182] It should be noted that when the above embodiments of the present application are applied to specific products or technologies, the relevant data of the user is involved, and the user's permission or consent is required, and the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

Claims

1. An application processing method, characterized in that: Applied to a first device, comprising: When a connection is established with the second device, sending an application acquisition request to the second device, wherein the application acquisition request is used to acquire an application installed on the second device from the second device; In a case where the second device returns a second application set based on the application acquisition request, removing applications in the second application set that are not in the preset application whitelist from the second application set to obtain a third application set; Acquire a first application set of the first device; Merging the first application set and the third application set to obtain a target application set; The application identifier of each application in the target application set is displayed on the display desktop of the first device.

2. The application processing method according to claim 1, characterized in that: The step of displaying the application identifier of each application in the target application set on the display desktop of the first device includes: Acquire an application configuration instruction input by a user, wherein the application configuration information includes at least one of an application adding instruction, an application removing instruction, an application sorting instruction, and an application updating instruction; The target application set is updated based on the application configuration instruction.

3. The application processing method according to claim 1, characterized in that: The application processing method comprises: When a state adjustment operation instruction for a target application on the display desktop is detected, the state adjustment operation instruction for the target application is sent to the second device, wherein the state adjustment operation instruction is used to instruct to adjust the running state of the target application to the target application state; If the operation result information of executing the state adjustment operation instruction returned by the second device is obtained, the display content on the display desktop of the first device is determined based on the target application state.

4. The application processing method according to claim 3, characterized in that: The determining, based on the target application state, display content on the display desktop of the first device includes: If the target application state is an application started state or an application resumed state, initiating a content call request to the second device; Displaying the video content returned by the second device based on the content call request on the display desktop.

5. The application processing method according to claim 4, characterized in that: The application processing method further includes: If the operation result information of executing the state adjustment operation instruction returned by the second device is obtained, the application running stack is updated based on the operation result information, wherein the first device establishes the application running stack when establishing a connection with the second device, and places the applications running by the first device into the application running stack in sequence according to the order of operation.

6. The application processing method according to claim 1, characterized in that: The fusing the first application set and the third application set to obtain a target application set includes: Combining the first application set and the second application set to obtain a fourth application set; One of the two applications with the same application attribute in the fourth application set is removed to obtain a target application set, wherein the application attribute includes at least one of an application name and an application package name.

7. An application processing method, characterized in that: Applied to the second device, comprising: In case of obtaining the application acquisition request sent by the first device, obtaining the application installed on the first device; Determine the applications installed on the first device as a second application set; Return the second application set to the first device, where the second application set is used to instruct the first device to remove applications in the second application set that are not in the preset application whitelist from the second application set to obtain a third application set; obtain the first application set of the first device; merge the first application set and the third application set to obtain a target application set; and display the application identifier of each application in the target application set on the display desktop of the first device.

8. The application processing method according to claim 7, characterized in that: The application processing method comprises: When a state adjustment operation instruction is obtained, the state adjustment operation instruction is placed in a state adjustment operation instruction queue; Determine the state adjustment operation instruction first put into the state adjustment operation instruction queue as the operation instruction to be executed; Adjusting the application in the to-be-executed operation instruction to the target application state in the to-be-executed operation instruction; Returning to the first device operation result information of executing the to-be-executed operation instruction.

9. The application processing method according to claim 8, characterized in that: The application processing method comprises: After adjusting the application in the to-be-executed operation instruction to the target application state in the to-be-executed operation instruction, determining whether the state change of the application in the to-be-executed operation instruction is consistent with the to-be-executed operation instruction; If the state change of the application in the to-be-executed operation instruction is consistent with the to-be-executed operation instruction, the state adjustment operation instruction first put into the state adjustment operation instruction queue is removed.

10. An application processing device, characterized in that: include: a request sending module, configured to send an application acquisition request to the second device when a connection is established with the second device, wherein the application acquisition request is used to acquire an application installed on the second device from the second device; a removal module, configured to remove applications in the second application set that do not belong to a preset application whitelist from the second application set, when obtaining the second application set returned by the second device based on the application acquisition request, to obtain a third application set; An acquisition module, configured to acquire a first application set of the first device; A fusion module, used to fuse the first application set and the third application set to obtain a target application set; The display module is used to display the application identification of each application in the target application set on the display desktop of the first device.

11. An application processing device, characterized in that: include: An acquisition module, configured to acquire an application installed on the first device upon receiving an application acquisition request sent by the first device; A determination module, configured to determine the applications installed on the first device as a second application set; a returning module, configured to return the second application set to the first device, wherein the second application set is used to instruct the first device to remove applications in the second application set that are not in a preset application whitelist from the second application set, so as to obtain a third application set; Acquire a first application set of the first device; The first application set and the third application set are merged to obtain a target application set; and application identifiers of each application in the target application set are displayed on the display desktop of the first device.

12. An electronic device, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program, and the processor is used to run the computer program in the memory to execute the steps in the application processing method according to any one of claims 1 to 6 or the steps in the application processing method according to any one of claims 7 to 9.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps of the application processing method described in any one of claims 1 to 6 or the steps of the application processing method described in any one of claims 7 to 9.

14. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the steps of the application processing method according to any one of claims 1 to 6 or the steps of the application processing method according to any one of claims 7 to 9 are implemented.