Application management method and device
Patent Information
- Application Number
- CN202310233317.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-08-30
Smart Images

Figure CN118567672A
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of intelligent driving, and more specifically, to a method and device for application management. Background Art
[0002] As vehicles become more intelligent and connected, more and more applications (Applications, Apps) can be installed on vehicles. Currently, vehicles run applications through a single system on chip (SoC). A single SOC is difficult to meet the running requirements of applications. Therefore, a pluggable SoC can be set in the terminal to support the upgrade of terminal device hardware. When there are multiple SoCs in a vehicle, how to reasonably allocate applications running on each SOC to improve user experience has become an urgent problem to be solved. Summary of the invention
[0003] The embodiments of the present application provide a method and device for application management, which can reasonably allocate application programs running on various processing devices in a vehicle to improve user experience.
[0004] A first aspect provides an application management method, which includes: the first processing device receives an instruction for triggering a first application, and the first application is installed on the first processing device; in response to the instruction, the first processing device determines whether to run the first application on a second processing device according to preset conditions; if it is determined that the first application is to be run on the second processing device, the first processing device transfers the running task of the first application to the second processing device.
[0005] Based on the above scheme, when the first processing device receives an instruction for triggering the first application, the first processing device can determine whether to transfer the running task of the first application to the second processing device according to preset conditions. This can reasonably allocate the running resources of the application and ensure that the application responds in a timely manner, thereby helping to improve the user experience.
[0006] In combination with the first aspect, in certain implementations of the first aspect, the preset condition includes at least one of the following: the load of the first processing device exceeds a preset threshold; the first application is an application triggered on a first display device, wherein the first processing device is connected to at least one display device, and the at least one display device includes the first display device; the first application is an application of a first type, wherein at least one type of application is installed on the first processing device, and the at least one type of application includes the first type of application.
[0007] Based on the above scheme, the first processing device can reasonably allocate the running resources of the application and ensure timely response of the application by transferring the running task of the specified application to the second processing device when the load is too high, or directly transferring the application displayed on the specified display device or the running task of the specified application to the second processing device, thereby helping to improve the user experience.
[0008] In combination with the first aspect, in certain implementations of the first aspect, before the first processing device transfers the running task of the first application to the second processing device, the first processing device determines whether the first application is installed on the second processing device; if the first application is installed on the second processing device, the first processing device determines whether the application information of the first application installed on the second processing device is consistent with the application information of the first application on the first processing device.
[0009] Based on the above solution, by determining whether the first application is installed on the second processing device and whether the application information of the first application installed on the second processing device is consistent with the application information of the first application on the first processing device, the reliability of application operation can be improved.
[0010] In combination with the first aspect, in certain implementations of the first aspect, if the first application is installed on the second processing device, and the application information of the first application installed on the second processing device is consistent with the application information of the first application installed on the first processing device, the first processing device instructs to run the first application; if the first application is installed on the second processing device, and the application information of the first application installed on the second processing device is inconsistent with the application information of the first application on the first processing device, or the first application is not installed on the second processing device, the first processing device copies the first application on the first processing device to the second processing device and instructs to run the first application; wherein the application information includes the application name and the application version number.
[0011] In combination with the first aspect, in certain implementations of the first aspect, the second processing device is one of at least one third processing device, and the at least one third processing device is pluggable. Before transferring the running task of the first application to the second processing device, the first processing device performs a status judgment on the second processing device to determine that the second processing device is online.
[0012] In combination with the first aspect, in certain implementations of the first aspect, the first processing device receives data of the first application from the second processing device, the data of the first application includes data subjected to a first graphics processing, and the first graphics processing includes graphics rendering and window processing.
[0013] In combination with the first aspect, in some implementations of the first aspect, the first processing device instructs the second processing device to delete data of the first application after running the first application.
[0014] In combination with the first aspect, in certain implementations of the first aspect, the first processing device performs graphics synthesis based on the data of the first application, and displays the image of the first application after graphics synthesis on a display device.
[0015] The second aspect provides an application management device, which includes a communication interface and a processing unit, the communication interface is used to receive an instruction for triggering a first application, and the first application is installed on the first processing device; the processing unit is used to determine whether to run the first application on a second processing device according to preset conditions in response to the instruction; the processing unit is also used to transfer the running task of the first application to the second processing device if it is determined that the first application is to be run on the second processing device.
[0016] In combination with the second aspect, in certain implementations of the second aspect, the preset condition includes at least one of the following: the load of the device exceeds a preset threshold; the first application is an application triggered on a first display device, wherein the device is connected to at least one display device, and the at least one display device includes the first display device; the first application is an application of a first type, wherein at least one type of application is installed on the device, and the at least one type of application includes the first type of application.
[0017] In combination with the second aspect, in certain implementations of the second aspect, the processing unit is also used to determine whether the first application is installed on the second processing device; if the first application is installed on the second processing device, determine whether the application information of the first application installed on the second processing device is consistent with the application information of the first application on the device.
[0018] In combination with the second aspect, in certain implementations of the second aspect, the processing unit is specifically used to, if the first application is installed on the second processing device and the application information of the first application installed on the second processing device is consistent with the application information of the first application installed on the device, instruct to run the first application; if the first application is installed on the second processing device and the application information of the first application installed on the second processing device is inconsistent with the application information of the first application on the device, or the first application is not installed on the second processing device, copy the first application on the device to the second processing device and instruct to run the first application; wherein the application information includes the application name and the application version number.
[0019] In combination with the second aspect, in certain implementations of the second aspect, the second processing device is one of at least one third processing device, and the at least one third processing device is pluggable. The processing unit is also used to perform status judgment on the second processing device to determine that the second processing device is online.
[0020] In combination with the second aspect, in certain implementations of the second aspect, the processing unit is also used to receive data of the first application from the second processing device, the data of the first application includes data subjected to first graphics processing, and the first graphics processing includes graphics rendering and window processing.
[0021] In combination with the second aspect, in some implementations of the second aspect, the processing unit is further used to instruct the second processing device to delete data of the first application after running the first application.
[0022] In combination with the second aspect, in certain implementations of the second aspect, the processing unit is further used to perform graphics synthesis based on the data of the first application, and display the image of the first application after graphics synthesis on the display device.
[0023] The third aspect provides an intelligent driving device, comprising: one or more processors, one or more memories, and one or more computer programs; the above-mentioned one or more computer programs are stored in the memory, and when the intelligent driving device is running, the processor executes the one or more computer programs stored in the memory, so that the intelligent driving device performs the method described in the above-mentioned first aspect and any possible implementation method of the first aspect.
[0024] A fourth aspect provides a computer-readable storage medium, comprising computer instructions. When the computer instructions are executed on an electronic device, the intelligent driving device executes the display method as described in the first aspect and any possible implementation of the first aspect.
[0025] The fifth aspect provides a computer program product. When the computer program product is run on an intelligent driving device, the electronic device executes the display method described in the above-mentioned first aspect and any possible implementation method of the first aspect.
[0026] The sixth aspect provides a chip, comprising at least one processor and an interface circuit, wherein the interface circuit is used to provide program instructions or data to the at least one processor, and the at least one processor is used to execute the program instructions to implement the display method as described in the above-mentioned first aspect and any possible implementation method of the first aspect.
[0027] It can be understood that the above-mentioned intelligent driving device, computer-readable storage medium and computer program product are all used to execute the corresponding methods provided above. Therefore, the technical effects that can be achieved can refer to the technical effects in the corresponding methods provided above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a functional block diagram of the intelligent driving device provided in an embodiment of the present application.
[0029] Figure 2 It is a schematic diagram of the distribution of display devices in a vehicle cabin provided in an embodiment of the present application.
[0030] Figure 3 It is a schematic diagram of a graphical user interface provided in an embodiment of the present application.
[0031] Figure 4 It is a schematic flowchart of an application management method 400 provided in an embodiment of the present application.
[0032] Figure 5 It is a schematic block diagram of an application management device provided in an embodiment of the present application.
[0033] Figure 6 It is a schematic block diagram of the application management system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0034] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0035] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or. For example, A / B can mean A or B. The “and / or” in this article is merely a way to describe the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0036] In the embodiments of the present application, prefixes such as "first" and "second" are used only to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity or content of the described objects. The use of prefixes such as ordinal numbers to distinguish description objects in the embodiments of the present application does not constitute a limitation on the described objects. For the statement of the described objects, please refer to the description in the context of the claims or embodiments, and no unnecessary limitation should be constituted due to the use of such prefixes. In addition, in the description of the present embodiment, unless otherwise specified, the meaning of "multiple" is two or more.
[0037] Figure 11 is a functional block diagram of a vehicle 100 provided in an embodiment of the present application. The vehicle 100 may include a perception system 120, a display device 130, and a computing platform 150, wherein the perception system 120 may include one or more sensors for sensing information about the environment around the intelligent driving device 100. For example, the perception system 120 may include a positioning system, and the positioning system may be a global positioning system (GPS), or a Beidou system or other positioning systems, an inertial measurement unit (IMU), a laser radar, a millimeter wave radar, an ultrasonic radar, and a camera device. One or more.
[0038] Some or all functions of the vehicle 100 may be controlled by the computing platform 150. The computing platform 150 may include one or more processors, such as processors 151 to 15n (n is a positive integer). A processor is a circuit having the ability to process signals. In one implementation, the processor may be a circuit having the ability to read and run instructions, such as a central processing unit (CPU), a microprocessor, a graphics processing unit (GPU) (which may be understood as a microprocessor), or a digital signal processor (DSP). In another implementation, the processor may implement certain functions through the logical relationship of a hardware circuit, and the logical relationship of the hardware circuit may be fixed or reconfigurable, such as a hardware circuit implemented by a processor as an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), such as a field programmable gate array (FPGA). In a reconfigurable hardware circuit, the process of the processor loading a configuration document to implement the hardware circuit configuration may be understood as the process of the processor loading instructions to implement the functions of some or all of the above units. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a neural network processing unit (NPU), a tensor processing unit (TPU), a deep learning processing unit (DPU), etc. The processor may include multiple processing devices.
[0039] For example, taking the processing device as a SOC as an example, the processor may include multiple SOCs (for example, SOC 1 to SOCn, n is a positive integer greater than 1), and SOC1 to SOCn may have independent memories. As an example, the memory includes but is not limited to one or more of the following: read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM), Flash memory, electrically EPROM (EEPROM), and hard drive. For another example, taking the processing device as a computing core as an example, the processor may include multiple computing cores.
[0040] In addition, the computing platform 150 may also include a memory for storing instructions. Some or all of the processors 151 to 15n may call the instructions in the memory and execute the instructions to implement corresponding functions.
[0041] The display device 130 in the vehicle cockpit is mainly divided into two categories, the first category is the vehicle display screen; the second category is the projection display screen, such as a head up display (HUD). The vehicle display screen is a physical display screen and an important part of the vehicle infotainment system. Usually, multiple display screens can be set in the cockpit, such as a digital instrument display screen, a central control screen, a display screen in front of the passenger in the co-pilot seat (also called the front passenger), a display screen in front of the left rear passenger, and a display screen in front of the right rear passenger. Even the window can be used as a display screen for display. The head-up display, also known as the head-up display system, is mainly used to display driving information such as speed and navigation on a display device in front of the driver (such as a windshield), which can reduce the driver's line of sight transfer time, avoid pupil changes caused by the driver's line of sight transfer, and improve driving safety and comfort. HUD includes, for example, a combined head-up display (C-HUD) system, a windshield head-up display (W-HUD) system, and an augmented reality head-up display system (AR-HUD). It should be understood that other types of HUD systems may appear as technology evolves, and this application is not limited to this.
[0042] Figure 2 FIG. 1 is a schematic diagram showing an exemplary distribution of display screens (display devices) in a vehicle cabin provided by an embodiment of the present application. Figure 2As shown, the vehicle's cabin may include a display screen 201 (also referred to as a central control screen), a display screen 202 (also referred to as a co-pilot entertainment screen), a display screen 203 (also referred to as an entertainment screen in the second row left area), and a display screen 204 (also referred to as an entertainment screen in the second row right area). For another example, for a passenger car, the cabin may include a front row entertainment screen and a rear row entertainment screen; or, the cabin may include a display screen in the driving area and an entertainment screen in the passenger area.
[0043] As the level of vehicle intelligence and networking increases, more and more applications (applications, Apps) can be installed on vehicles. The applications installed on the vehicle can run on at least one processing device in the vehicle (for example, SOC1 to SOC n, n is a positive integer greater than 1), and at the same time, the application icon of the App and the graphical user interface (graphical user interface, GUI) running the App can be displayed on display screens distributed in the vehicle.
[0044] Figure 3 A set of GUIs provided by an embodiment of the present application is shown. Figure 3 As shown in (a) of FIG. 2 , user A is located in the main driving area of the vehicle cabin, and the display screen 201 can display the content display area 301 and the function bar 302. For example, the content display area 301 displays icons of applications installed in the vehicle, such as navigation application icons, camera application icons, video application icons, browser application icons, Bluetooth function icons, Wi-Fi function icons, and cellular network signal icons. Figure 3 As shown in (b) of FIG. 1 , the vehicle can display information of the application triggered by user A through the display screen 201. For example, user A triggers the navigation App, and the display screen 201 displays the navigation map information.
[0045] The number and types of applications in the above content display area 301 are merely illustrative, and the present application embodiment is not limited thereto. The content display area 301 may also include icons of more or fewer applications, or the content display area 301 may also include icons of other applications.
[0046] In addition, the display content display area of the display screens 202 to 204 can also display icons of multiple applications and information of applications triggered by the user. For example, the display screens 202 to 204 can display entertainment applications installed in the vehicle, such as games, video applications, singing applications, etc.
[0047] When multiple applications are installed in a vehicle and the vehicle includes multiple processing devices, unreasonable allocation of running resources for the applications may cause the applications to respond slowly or fail to run.
[0048] In view of this, the embodiments of the present application provide a method and device for application management, which can reasonably allocate the application programs running on each processing device, ensure the timely response of the application programs, and improve the user experience.
[0049] Figure 4 A schematic flow chart of an application management method 400 provided in an embodiment of the present application is shown. The method 400 may be executed by the vehicle 100, or the method 400 may be executed by the computing platform 120, or the method 400 may be executed by a processing device in the computing platform 400, for example, a first processing device. The vehicle 100 or the computing platform 400 may include a plurality of processing devices, including the first processing device and at least one third processing device, and the at least one third processing device is pluggable. The following description is made by taking the execution of the first processing device as an example.
[0050] The method 400 includes at least the following steps.
[0051] S401: A first processing device receives a first instruction, where the first instruction indicates that a first application is triggered.
[0052] Exemplarily, the first application is installed on the first processing device, and the first instruction may include identification information of the first application. The first processing device may recognize that the user has triggered the first application through the identification information of the application.
[0053] The first instruction is a voice instruction. For example, the user may issue a voice instruction including a wake-up word; the first processing device receives the voice instruction according to the wake-up word, and recognizes that the user has triggered the first application according to the voice instruction.
[0054] S410: The first processing device determines whether to run the first application on the second processing device according to a preset condition.
[0055] In response to the first instruction, the first processing device determines whether to run the first application on a second processing device according to a preset condition, wherein the second processing device is one of the at least one third processing device.
[0056] The preset condition may include at least one of the following: the load of the first processing device exceeds a preset threshold; the first application is an application triggered on the first display device; the first application is an application of the first type.
[0057] The first processing device determines whether to run the first application on the second processing device according to a preset condition, which may include: if the preset condition is met, determining to run the first application on the second processing device; if the preset condition is not met, not running the first application on the second processing device, or, in other words, running the first application on the first processing device.
[0058] For example, in the above preset conditions, the preset threshold can be set to 80% of the storage space of the first processing device. After receiving the first instruction, the first processing device can first query its own load condition to determine whether the load exceeds the preset threshold.
[0059] Exemplarily, the first processing device may be connected to at least one display device, and the at least one display device includes the first display device. For example, the at least one display device includes display screens 201 to 204, or includes a front row entertainment screen and a rear row entertainment screen in a passenger cabin, or includes a display screen in a driving area and an entertainment screen in a passenger area. The first display device may be any of the above-mentioned display screens 202 to 204, or a rear row entertainment screen, or an entertainment screen in a passenger area. After the first processing device receives the first instruction, it may determine whether the first application is an application triggered on the first display device based on the information of the application. For example, the first processing device may preset information of applications installed on each display device in the display devices to which it is connected.
[0060] For example, the central control display screen of the vehicle can be used to display applications with higher priority, and the co-pilot display screen or the rear display screen (an example of the first display device) can be used to display applications with lower priority. All of the above applications can be installed on the first processing device. Among them, the priority of the application can be divided according to the level at which the application needs to respond in a timely manner. For example, the priority of the navigation application can be higher than the priority of entertainment applications such as video applications and game applications.
[0061] In other words, if it is detected that the first application is an application triggered on the first display device, the priority of the first application can be assumed to be low, so that the first application can be determined to be run on the second processing device. Through this preset rule, the application triggered by the user can be run on the second processing device more timely, thereby improving the user experience.
[0062] Exemplarily, the application on the display device connected to the first processing device may belong to multiple application types, for example, the application types may include navigation, information, social, entertainment, etc. After the first processing device receives the first instruction, it can determine whether to run the first application on the second processing device according to the application type to which the first application belongs. For example, if the first application is entertainment (an example of the first type), it can be determined to run the first application on the second processing device.
[0063] The above classification of application types is merely illustrative and no specific limitation is imposed thereon.
[0064] In one example, the first processing device can identify whether the first application is a first type of application by identifying application information of the first application in the first instruction. For example, by identifying the name of the application, whether it is a first type of application can be determined. The application information and the type of application corresponding to the application information can be preset in the first processing device.
[0065] In another example, when the first instruction is a voice instruction, the first processing device can determine whether the first application is a first type of application based on the keywords in the voice. For example, after the user issues a voice containing a wake-up word, the user issues a voice to wake up the application. If the first processing device recognizes that the keyword included in the voice to wake up the application matches the keyword #1 preset in the first processing device, the first processing device can determine that the application awakened by the user is a first type of application. Among them, the keyword #1 is a keyword related to the first type of application awakening, for example, the keyword #1 includes "play", "open game", etc.
[0066] The first processing device may determine whether to run the first application on the second processing device according to any one of the above preset rules, or a combination of any several rules.
[0067] Exemplarily, the priority of the above preset conditions can be set, and the first processing device can first determine whether to run the first application on the second processing device according to the preset condition with a higher priority (recorded as condition #1). If condition #1 is not met, the first processing device can also determine whether to run the first application on the second processing device according to condition #2, and the priority of condition #2 is lower than the priority of condition #1. Similarly, the first processing device determines whether other preset conditions are met according to the priority of the preset conditions.
[0068] For example, condition #1 is that the load of the first processing device exceeds a preset threshold. The first processing device determines the relationship between its own load and the preset threshold, and when the load does not exceed the preset threshold, the first processing device may determine not to run the first application on the second processing device.
[0069] For another example, the condition #1 is that the load of the first processing device exceeds the preset threshold, and the condition #2 is that the first application is an application triggered on the first display device. The first processing device pre-determines the relationship between its own load and the preset threshold. If the load does not exceed the preset threshold, the first processing device can determine whether the first application is an application triggered on the first display device, thereby determining whether to run the first application on the third display device.
[0070] S420: If it is determined that the first application is to be run on the second processing device, the first processing device transfers the running task of the first application to the second processing device.
[0071] Exemplarily, transferring the running task of the first application to the second processing device may include: instructing the second processing device to run the first application; or, copying the first application to the second processing device and instructing to run the first application.
[0072] Optionally, before transferring the running task of the first application to the second processing device, the first processing device determines whether the first application is installed on the second processing device. If the first application is not installed, the first application is copied to the second processing device, and the first application is instructed to be installed and run; if the first application is installed, the first application is instructed to be run.
[0073] Optionally, if the first application is installed, the first processing device may also determine whether the information of the first application on the second processing device is consistent with the information of the first application on the first processing device. If they are consistent, it indicates to run the first application; if they are inconsistent, the first application on the first processing device is copied to the second processing device.
[0074] The application information may include the name of the application and the version number of the application.
[0075] Optionally, before transferring the running task of the first application to the second processing device, the first processing device may also determine the status information of the second processing device.
[0076] Exemplarily, the first processing device may determine status information of each processing device in at least one second processing device, the status information including an online status or an offline status; and determine that the processing device in the at least one second processing device that is in an online status is the second processing device.
[0077] Optionally, if multiple processing devices are online, the first processing device may select a processing device with a smaller load as the second processing device.
[0078] According to the application management method of the embodiment of the present application, when the preset rules are met, the running task of the first application is transferred to the second processing device, thereby avoiding the excessive load of the first processing device affecting the performance of the application, which helps to improve the user experience.
[0079] Optionally, the method further comprises:
[0080] S430: The second processing device sends the data of the first application to the first processing device. Correspondingly, the first processing device receives the data of the first application from the second processing device.
[0081] The data of the first application includes data that has undergone a first graphics processing, and the first graphics processing includes image rendering and window management.
[0082] After transferring the running task of the first application to the second processing device, the second processing device runs the first application and performs the first graphics processing on the first application data. For example, the second processing device can implement the first graphics processing through the windowManager / surfaceFlinger service on the Android open source project (AOSP) or the rendering function RenderService on the open source Hongmeng (OpenHarmony).
[0083] Taking the first application as a navigation application as an example, the data processed by the first graphics may include map data rendered by graphics, and control data in the navigation application, such as a cancel control, a confirmation control, an information prompt box, and the like.
[0084] Exemplarily, the second processing device may send the data of the first application to the first processing device in real time.
[0085] For example, the second processing device may be configured to send the data of the first application at a time interval t. The time t may be configured according to actual conditions.
[0086] By sending the data of the first application to the first processing device in real time, interruption of the application program caused by the second processing device being offline can be avoided.
[0087] Optionally, the second processing device deletes the data of the first application after running the first application.
[0088] Optionally, the method further includes S440, where the first processing device performs graphic synthesis based on the data of the first application, and displays the image of the first application after the graphic synthesis on a display device.
[0089] Taking the first application as a navigation application as an example, the data of the first application after graphic synthesis can be a GUI of the navigation application. For example, the GUI includes a navigation route display interface from the current location to the destination, a planned driving route, and an information prompt box.
[0090] That is, the graphics processing of the first application is completed on the second processing device, and the first processing device synthesizes the graphics-processed data and displays it on the display device.
[0091] In the embodiment of the present application, when the first processing device receives an instruction for triggering the first application, the first processing device can determine whether to run the first application on the pluggable processing device (second processing device) according to the preset conditions. If it is determined that the first application is to be run on the second processing device, the running task of the first application is transferred to the second processing device, and the data of the first application from the second processing device is received, and the data of the first application is displayed on the display device through graphic synthesis. In this way, the running resources of the application can be reasonably allocated, and the application can be ensured to respond in time, thereby helping to improve the user experience.
[0092] Figure 5 A schematic structural diagram of an application management device 500 provided in an embodiment of the present application is shown.
[0093] The device may include a communication interface 510 and a processing module 520. Optionally, the device may also include a storage module 530.
[0094] The communication interface 510 is used to receive an instruction for triggering a first application; the processing module 520 is used to determine, in response to the instruction, whether to run the first application on the second processing device according to preset conditions; the processing module 520 is also used to transfer the running task of the first application to the second processing device if it is determined that the first application is to be run on the second processing device.
[0095] The preset condition includes at least one of the following: the load of the device exceeds a preset threshold; the first application is an application triggered on a first display device, wherein the device is connected to at least one display device, and the at least one display device includes the first display device; the first application is an application of a first type, wherein at least one type of application is installed on the device, and the at least one type of application includes the first type of application.
[0096] Optionally, the processing module 520 is further used to determine whether the first application is installed on the second processing device;
[0097] If the first application is installed on the second processing device, it is determined whether the application information of the first application installed on the second processing device is consistent with the application information of the first application on the device.
[0098] Specifically, the processing module 520 is used to:
[0099] If the first application is installed on the second processing device, and the application information of the first application installed on the second processing device is consistent with the application information of the first application installed on the device, instructing to run the first application;
[0100] If the first application is installed on the second processing device, and the application information of the first application installed on the second processing device is inconsistent with the application information of the first application on the device, or the first application is not installed on the second processing device, copying the first application on the device to the second processing device, and instructing to run the first application;
[0101] The application information includes the application name and application version number.
[0102] Optionally, the processing module 520 is further used to perform status judgment on the second processing device to determine that the second processing device is in an online state.
[0103] Optionally, the communication module 510 is further used to receive data of the first application from the second processing device, where the data of the first application includes data subjected to a first graphics processing, and the first graphics processing includes graphics rendering and window processing.
[0104] Optionally, the processing module 520 is further used to instruct the second processing device to delete the data of the first application after running the first application.
[0105] Optionally, the processing module 520 is further used to perform graphic synthesis based on the data of the first application, and display the image of the first application after the graphic synthesis on the display device.
[0106] It should be understood that each module in the above device can be implemented in the form of a processor calling software; for example, the device includes a processor, the processor is connected to a memory, instructions are stored in the memory, and the processor calls the instructions stored in the memory to implement any of the above methods or implement the functions of each module of the device, wherein the processor is, for example, a general-purpose processor, such as a CPU or a microprocessor, and the memory is a memory inside the device or a memory outside the device.
[0107] Alternatively, the modules in the device may be implemented in the form of hardware circuits, and the functions of some or all of the modules may be implemented by designing the hardware circuits. The hardware circuits may be understood as one or more processors.
[0108] For example, in one implementation, the hardware circuit is an ASIC, and the functions of some or all of the above units are realized by designing the logical relationship of the components in the circuit; for another example, in another implementation, the hardware circuit can be realized by PLD, taking FPGA as an example, which can include a large number of logic gate circuits, and the connection relationship between the logic gate circuits is configured by the configuration file, so as to realize the functions of some or all of the above modules. All modules of the above device can be realized in the form of software called by the processor, or in the form of hardware circuit, or in part by software called by the processor, and the rest by hardware circuit.
[0109] Each module in the above device can be one or more processors (or processing circuits) configured to implement the above method, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms.
[0110] In addition, the modules in the above device can be fully or partially integrated together, or can be implemented independently. In one implementation, these modules are integrated together and implemented in the form of a SOC. The SOC may include at least one processor for implementing any of the above methods or implementing the functions of the modules of the device. The type of the at least one processor may be different, for example, including a CPU and an FPGA, a CPU and an artificial intelligence processor, a CPU and a GPU, etc.
[0111] The embodiment of the present application also provides an application management system 600, which includes a processor 610 and a memory 620, wherein the memory 620 is used to store instructions, and the processor 610 executes the instructions stored in the memory 620, so that the system executes the method or steps in the above embodiment. The processor 610 and the memory 620 may be connected via a bus.
[0112] Optionally, if the system is located in an intelligent driving device, the processor may be Figure 1 Processors 151-15n are shown.
[0113] The embodiment of the present application provides an intelligent driving device, including a first processing device and a third processing device, wherein the first processing device is used to execute the technical solution executed by the first processing device in the above method 400, and / or the third processing device is used to execute the technical solution executed by the third processing device in the above method 400. Its implementation principle and technical effect are similar to those of the above method related embodiments, and will not be repeated here.
[0114] The embodiment of the present application provides a computer program product, when the computer program product is run in a first processing device, the first processing device executes the technical solution in the above embodiment. Its implementation principle and technical effect are similar to those of the above method-related embodiments, and will not be repeated here.
[0115] The embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium contains instructions, when the instructions are executed in a first processing device, the first processing device executes the technical solution of the above embodiment. The implementation principle and technical effect are similar, and will not be repeated here.
[0116] The embodiment of the present application provides a chip, the chip is used to execute instructions, when the chip is running, the technical solution in the above embodiment is executed. The implementation principle and technical effect are similar, and will not be repeated here.
[0117] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0118] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0119] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0120] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0121] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0122] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0123] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for application management, characterized in that: The method comprises: The first processing device receives an instruction for triggering a first application, the first application being installed on the first processing device; In response to the instruction, the first processing device determines whether to run the first application on the second processing device according to a preset condition; If it is determined that the first application is to be run on the second processing device, the first processing device transfers the running task of the first application to the second processing device.
2. The method according to claim 1, characterized in that The preset condition includes at least one of the following: The load of the first processing device exceeds a preset threshold; The first application is an application triggered on a first display device, wherein the first processing device is connected to at least one display device, and the at least one display device includes the first display device; The first application is an application of a first type, wherein at least one type of application is installed on the first processing device, and the at least one type of application includes the application of the first type.
3. The method according to claim 1 or 2, characterized in that: Before the first processing device transfers the running task of the first application to the second processing device, the method further includes: Determining, by the first processing device, whether the first application is installed on the second processing device; If the first application is installed on the second processing device, the first processing device determines whether application information of the first application installed on the second processing device is consistent with application information of the first application installed on the first processing device.
4. The method according to claim 3, characterized in that The first processing device transfers the running task of the first application to the second processing device, including: If the first application is installed on the second processing device, and the application information of the first application installed on the second processing device is consistent with the application information of the first application installed on the first processing device, the first processing device instructs to run the first application; If the first application is installed on the second processing device, and the application information of the first application installed on the second processing device is inconsistent with the application information of the first application installed on the first processing device, Alternatively, if the first application is not installed on the second processing device, the first processing device copies the first application on the first processing device to the second processing device, and instructs the first application to be run; The application information includes the application name and the application version number.
5. The method according to any one of claims 1 to 4, characterized in that The second processing device is one of at least one third processing device, and the at least one third processing device is pluggable. Before transferring the running task of the first application to the second processing device, the method further includes: The first processing device determines the status of the second processing device and determines that the second processing device is in an online state.
6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: The first processing device receives data of the first application from the second processing device, where the data of the first application includes data that has undergone a first graphics processing, and the first graphics processing includes graphics rendering and window processing.
7. The method according to claim 6, characterized in that The method further comprises: The first processing device instructs the second processing device to delete the data of the first application after running the first application.
8. The method according to any one of claims 1 to 7, characterized in that The method further comprises: The first processing device performs graphic synthesis based on the data of the first application, and displays the image of the first application after the graphic synthesis on the display device.
9. An application management device, characterized in that: Including communication interface and processing module, The communication interface is used to receive an instruction for triggering a first application; The processing module is used to, in response to the instruction, determine whether to run the first application on a second processing device according to a preset condition, where the second processing device is one of the at least one processing device; The processing module is further configured to transfer the running task of the first application to the second processing device if it is determined that the first application is to be run on the second processing device.
10. The device according to claim 9, characterized in that The preset condition includes at least one of the following: The load of the device exceeds a preset threshold; The first application is an application triggered on a first display device, wherein the apparatus is connected to at least one display device, and the at least one display device includes the first display device; The first application is an application of a first type, wherein at least one type of application is installed on the device, and the at least one type of application includes the application of the first type.
11. The device according to claim 9 or 10, characterized in that The processing module is also used for: determining whether the first application is installed on the second processing device; If the first application is installed on the second processing device, it is determined whether the application information of the first application installed on the second processing device is consistent with the application information of the first application installed on the device.
12. The device according to claim 11, characterized in that The processing module is specifically used for: If the first application is installed on the second processing device, and the application information of the first application installed on the second processing device is consistent with the application information of the first application installed on the device, instructing to run the first application; If the first application is installed on the second processing device, and the application information of the first application installed on the second processing device is inconsistent with the application information of the first application on the device, Alternatively, if the first application is not installed on the second processing device, copying the first application on the device to the second processing device, and instructing the second processing device to run the first application; The application information includes the application name and the application version number.
13. The device according to any one of claims 9 to 12, characterized in that The processing module is also used for: A status judgment is performed on the second processing device to determine that the second processing device is in an online state.
14. The device according to any one of claims 9 to 13, characterized in that The communication interface is also used for: The data of the first application is received from the second processing device, where the data of the first application includes data that has undergone a first graphics processing, and the first graphics processing includes graphics rendering and window processing.
15. The device according to claim 14, characterized in that The processing module is also used for: The second processing device is instructed to delete the data of the first application after running the first application.
16. The device according to any one of claims 9 to 15, characterized in that The processing module is also used for: Graphics synthesis is performed based on the data of the first application, and the image of the first application after the graphics synthesis is displayed on a display device.
17. An application management device, characterized in that: include: Memory for storing computer programs; A processor, configured to execute the computer program stored in the memory, so that the apparatus performs the method according to any one of claims 1 to 8.
18. An intelligent driving device, characterized in that: It comprises the application management device as claimed in any one of claims 9 to 16.
19. A computer-readable storage medium, characterized in that: The method comprises computer instructions, which, when executed on an electronic device, cause the electronic device to execute the method as claimed in any one of claims 1 to 8.
20. A chip, characterized in that: The system comprises at least one processor and an interface circuit, wherein the interface circuit is used to provide program instructions or data to the at least one processor, and the at least one processor is used to execute the program instructions to implement the method according to any one of claims 1 to 8.
