Application management method and device
By receiving application instructions in smart driving vehicles and transferring running tasks according to preset conditions, it solves the problem of unreasonable allocation of application resources under multi-processing devices and improves user experience and application response speed.
Patent Information
- Application Number
- PCT/CN2024/074512
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-28
- Filing Date
- 2024-01-29
- Publication Date
- 2024-09-06
AI Technical Summary
In smart driving vehicles, the application running resources of multiple processing devices are unreasonably allocated, causing the application to respond slowly or fail to run, affecting the user experience.
By receiving the instruction to trigger the application, the first processing device determines whether to transfer the running task of the application program to the second processing device according to preset conditions, and reasonably allocates running resources to ensure timely response of the application.
It effectively improves the user experience, ensures timely response of the application, and improves the reliability of application operation through status judgment and data processing.
Smart Images

Figure CN2024074512_06092024_PF_FP
Abstract
Description
Application management method and device
[0001] This application claims priority to the Chinese patent application with application number 202310233317.9 filed with the State Intellectual Property Office of China on February 28, 2023, and priority to the Chinese patent application with the invention name “Method and Apparatus for Application Management”, all contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present application relate to the field of intelligent driving, and more specifically, to a method and apparatus for application management. Background Art
[0003] As vehicles become increasingly intelligent and connected, the number of applications (apps) that can be installed in them is increasing. Currently, vehicles run applications on a single system on chip (SoC), but a single SOC cannot meet the operational requirements of applications. Therefore, pluggable SoCs can be installed in terminals to support hardware upgrades. When multiple SoCs are present in a vehicle, how to properly distribute applications across them and improve the user experience becomes a pressing issue.
[0004] Summary of the Invention
[0005] The embodiments of the present application provide a method and device for application management, which can reasonably distribute application programs running on various processing devices in a vehicle and improve user experience.
[0006] 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.
[0007] 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.
[0008] 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 the 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.
[0009] Based on the above solution, the first processing device can reasonably allocate the application's running resources and ensure that the application responds in a timely manner 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.
[0010] 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.
[0011] 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.
[0012] 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 application version number.
[0013] 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.
[0014] 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 first graphics processing, and the first graphics processing includes graphics rendering and window processing.
[0015] 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.
[0016] 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.
[0017] 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, in response to the instruction, whether to run the first application on a second processing device according to preset conditions; 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.
[0018] 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.
[0019] 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.
[0020] 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 application version number.
[0021] 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.
[0022] In combination with the second aspect, in some implementations of the second aspect, the processing unit is further 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.
[0023] In combination with the second aspect, in some implementations of the second aspect, the processing unit is further configured to instruct the second processing device to delete data of the first application after running the first application.
[0024] In combination with the second aspect, in certain implementations of the second aspect, the processing unit is further configured to perform graphics synthesis based on the data of the first application, and to display the image of the first application after graphics synthesis on a display device.
[0025] A third aspect provides an intelligent driving device, comprising: one or more processors, one or more memories, and one or more computer programs; the 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 first aspect and any possible implementation of the first aspect.
[0026] The 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.
[0027] 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 first aspect and any possible implementation of the first aspect.
[0028] 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 first aspect and any possible implementation method of the first aspect.
[0029] 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
[0030] FIG1 is a functional block diagram of an intelligent driving device provided in an embodiment of the present application.
[0031] FIG2 is a schematic diagram of the distribution of display devices in a vehicle cabin provided in an embodiment of the present application.
[0032] FIG3 is a schematic diagram of a graphical user interface provided in an embodiment of the present application.
[0033] FIG4 is a schematic flowchart of an application management method 400 provided in an embodiment of the present application.
[0034] FIG5 is a schematic block diagram of an apparatus for application management provided in an embodiment of the present application.
[0035] FIG6 is a schematic block diagram of an application management system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
[0037] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; “and / or” in this article is merely a way to describe the association relationship of associated objects, indicating that three relationships can exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0038] 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 restriction 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 the use of such prefixes should not constitute an unnecessary restriction. In addition, in the description of this embodiment, unless otherwise specified, the meaning of "plurality" is two or more.
[0039] FIG1 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. The perception system 120 may include one or more sensors for sensing information about the environment surrounding the intelligent driving device 100. For example, the perception system 120 may include a positioning system, which may be a global positioning system (GPS), a Beidou system or other positioning system, an inertial measurement unit (IMU), a lidar, a millimeter-wave radar, an ultrasonic radar, and a camera.
[0040] Some or all functions of vehicle 100 may be controlled by computing platform 150. 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 capable of processing signals. In one implementation, the processor may be a circuit capable of reading and executing instructions, such as a central processing unit (CPU), a microprocessor, a graphics processing unit (GPU) (which can be understood as a type of microprocessor), or a digital signal processor (DSP). In another implementation, the processor may implement certain functions through the logical relationships of a hardware circuit, where the logical relationships of the hardware circuit are fixed or reconfigurable. For example, the processor may be a hardware circuit implemented 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 file to implement the hardware circuit configuration can 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.
[0041] For example, if the processing device is a SOC, the processor may include multiple SOCs (e.g., SOC 1 to SOC n, where n is a positive integer greater than 1). SOC 1 to SOC n may each have independent memory. By way of 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 a hard drive. For another example, if the processing device is a computing core, the processor may include multiple computing cores.
[0042] In addition, the computing platform 150 may further 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.
[0043] The display devices 130 in the vehicle cabin are mainly divided into two categories: the first category is the vehicle-mounted display screen; the second category is the projection display screen, such as a head-up display (HUD). The vehicle-mounted display screen is a physical display screen and is an important component of the in-vehicle infotainment system. Typically, multiple displays can be installed in the cabin, such as a digital instrument display screen, a central control screen, a display screen in front of the passenger in the front passenger seat (also known as 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 windows can be used as display screens. A head-up display, also known as a 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 the windshield). This can reduce the driver's gaze shift time, avoid pupil changes caused by the driver's gaze shift, and improve driving safety and comfort. HUDs include, for example, a combiner-HUD (C-HUD) system, a windshield-HUD (W-HUD) system, and an augmented reality HUD (AR-HUD) system. It should be understood that other types of HUD systems may appear as technology evolves, and this application does not limit this.
[0044] FIG2 shows a schematic diagram of an exemplary display screen (display device) distribution in a vehicle cabin provided by an embodiment of the present application. As shown in FIG2 , the vehicle 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, in a passenger car, the cabin may include front-row entertainment screens and rear-row entertainment screens; or, the cabin may include a display screen in the driving area and an entertainment screen in the passenger area.
[0045] As vehicles become increasingly intelligent and connected, a growing number of applications (apps) can be installed on them. These applications can run on at least one processing device in the vehicle (e.g., SOC 1 to SOC n, where n is a positive integer greater than 1). The app's icon and the graphical user interface (GUI) running on the app can be displayed on displays distributed throughout the vehicle.
[0046] Figure 3 shows a set of GUIs provided by an embodiment of the present application. As shown in (a) in Figure 3, 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. Exemplarily, the content display area 301 displays icons of applications installed in the vehicle, such as icons for navigation applications, camera applications, video applications, browser applications, Bluetooth function icons, Wi-Fi function icons, and cellular network signal icons. As shown in (b) in Figure 3, the vehicle can display information of applications triggered by user A through the display screen 201. For example, if user A triggers the navigation app, the display screen 201 displays navigation map information.
[0047] The number and types of applications in the above content display area 301 are merely illustrative, and the present invention 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.
[0048] 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.
[0049] When multiple applications are installed in a vehicle and the vehicle includes multiple processing devices, unreasonable allocation of application running resources may occur, resulting in slow application response or failure to run.
[0050] In view of this, embodiments of the present application provide a method and apparatus for application management, which can reasonably allocate application programs running on each processing device, ensure timely response of the application programs, and improve user experience.
[0051] Figure 4 shows a schematic flow chart of an application management method 400 provided in an embodiment of the present application. The method 400 can be executed by the vehicle 100, or the method 400 can be executed by the computing platform 120, or the method 400 can 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, the 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 will be made by taking the execution of the first processing device as an example.
[0052] The method 400 includes at least the following steps.
[0053] S401: A first processing device receives a first instruction, where the first instruction indicates that a first application is triggered.
[0054] For example, 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 can recognize that the user has triggered the first application through the identification information of the application.
[0055] The first instruction is a voice instruction. For example, a 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 based on the voice instruction.
[0056] S410: The first processing device determines whether to run the first application on the second processing device according to a preset condition.
[0057] In response to the first instruction, the first processing device determines, according to a preset condition, whether to run the first application on a second processing device, wherein the second processing device is one of the at least one third processing device.
[0058] 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; and the first application is an application of the first type.
[0059] The first processing device determines whether to run the first application on the second processing device based on preset conditions, which may include: if the preset conditions are met, determining to run the first application on the second processing device; if the preset conditions are 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.
[0060] For example, in the above-mentioned 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 situation to determine whether the load exceeds the preset threshold.
[0061] Exemplarily, the first processing device may be connected to at least one display device, which 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 bus cabin, or includes a display screen in the driving area and an entertainment screen in the 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 the passenger area. After the first processing device receives the first instruction, it may determine whether the first application is the application triggered on the first display device based on the application information. For example, the first processing device may preset information about the applications installed on each of the display devices to which it is connected.
[0062] For example, the vehicle's central control display screen 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. The above applications can all 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.
[0063] In other words, if the first application is detected as the application triggered on the first display device, the priority of the first application can be presumed to be lower, and 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 promptly, thereby improving the user experience.
[0064] For example, the applications 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 based on 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 that the first application will be run on the second processing device.
[0065] The above classification of application types is merely illustrative and is not intended to be limiting.
[0066] 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.
[0067] 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 keywords in the voice. For example, after the user speaks a voice instruction containing a wake-up word, they speak a voice instruction to wake up the application. If the first processing device recognizes that the keyword included in the voice instruction to wake up the application matches 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. Keyword #1 is a keyword related to waking up first type of applications, for example, keyword #1 includes "play", "open game", etc.
[0068] 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.
[0069] For example, the priorities of the above preset conditions can be set. The first processing device can first determine whether to run the first application on the second processing device based on 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 based on condition #2, where 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 based on the priority of the preset conditions.
[0070] 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 if 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.
[0071] For another example, condition #1 is that the load of the first processing device exceeds a preset threshold, and 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, and thus determine whether to run the first application on the third display device.
[0072] 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.
[0073] 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 the second processing device to run the first application.
[0074] Optionally, before transferring the execution 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 an instruction is given to install and execute the first application; if the first application is installed, an instruction is given to execute the first application.
[0075] Optionally, if the first application is installed, the first processing device can 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 instructs to run the first application; if they are inconsistent, the first application on the first processing device is copied to the second processing device.
[0076] The application information may include the name of the application and the version number of the application.
[0077] Optionally, before transferring the running task of the first application to the second processing device, the first processing device may further determine the status information of the second processing device.
[0078] Exemplarily, the first processing device may determine status information of each processing device in at least one second processing device, where the status information includes an online state or an offline state; and determine that the processing device in the at least one second processing device that is online is the second processing device.
[0079] 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.
[0080] 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.
[0081] Optionally, the method further includes:
[0082] 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.
[0083] 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.
[0084] After transferring the execution task of the first application to the second processing device, the second processing device executes the first application and performs the first graphics processing on the first application data. For example, the second processing device may implement the first graphics processing using the windowManager / surfaceFlinger service on the Android open source project (AOSP) or the rendering function RenderService on the open source Hongmeng (OpenHarmony).
[0085] 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.
[0086] Exemplarily, the second processing device may send the data of the first application to the first processing device in real time.
[0087] For example, the second processing device may be configured to send the data of the first application at a time interval t. The time interval t may be configured according to actual conditions.
[0088] 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.
[0089] Optionally, the second processing device deletes the data of the first application after running the first application.
[0090] 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 graphic synthesis on a display device.
[0091] 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.
[0092] 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.
[0093] In an 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 a pluggable processing device (second processing device) based on 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. The data of the first application is displayed on the display device through graphic synthesis. This can reasonably allocate the running resources of the application, ensure the timely response of the application, and thus help improve the user experience.
[0094] FIG5 shows a schematic structural diagram of an application management apparatus 500 provided in an embodiment of the present application.
[0095] The apparatus may include a communication interface 510 and a processing module 520. Optionally, the apparatus may further include a storage module 530.
[0096] 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.
[0097] Among them, 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.
[0098] Optionally, the processing module 520 is further configured to determine whether the first application is installed on the second processing device;
[0099] 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.
[0100] Specifically, the processing module 520 is used to:
[0101] 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;
[0102] 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 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;
[0103] The application information includes the application name and application version number.
[0104] Optionally, the processing module 520 is further configured to perform status judgment on the second processing device to determine whether the second processing device is in an online state.
[0105] Optionally, the communication module 510 is further configured to receive 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.
[0106] Optionally, the processing module 520 is further configured to instruct the second processing device to delete the data of the first application after running the first application.
[0107] Optionally, the processing module 520 is further configured to perform graphic synthesis based on the data of the first application, and display the image of the first application after graphic synthesis on a display device.
[0108] 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, where the processor is, for example, a general-purpose processor, such as a CPU or a microprocessor, and the memory is a memory within the device or a memory outside the device.
[0109] Alternatively, the modules in the device may be implemented in the form of hardware circuits, and the functions of some or all modules may be implemented by designing the hardware circuits. The hardware circuits may be understood as one or more processors.
[0110] For example, in one implementation, the hardware circuit is an ASIC, which implements the functions of some or all of the above units by designing the logical relationships between components within the circuit. In another implementation, the hardware circuit can be implemented using a PLD, such as an FPGA, which can include a large number of logic gate circuits. The connections between the logic gate circuits are configured using a configuration file, thereby implementing the functions of some or all of the above modules. All modules of the above devices can be implemented entirely through a processor calling software, entirely through hardware circuits, or partially through a processor calling software, with the remainder implemented through hardware circuits.
[0111] 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.
[0112] In addition, the modules in the above apparatus may be fully or partially integrated together, or may be implemented independently. In one implementation, these modules are integrated together and implemented in the form of a system-on-chip (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 apparatus. The at least one processor may be of different types, such as a CPU and an FPGA, a CPU and an artificial intelligence processor, a CPU and a GPU, etc.
[0113] The present application also provides an application management system 600, which includes a processor 610 and a memory 620. The memory 620 is used to store instructions, and the processor 610 executes the instructions stored in the memory 620 to enable the system to perform the methods or steps of the above embodiments. The processor 610 and the memory 620 may be connected via a bus.
[0114] Optionally, if the system is located in an intelligent driving device, the above-mentioned processor may be the processors 151 - 15n shown in FIG. 1 .
[0115] The present embodiment provides an intelligent driving device, comprising a first processing device and a third processing device. The first processing device is configured to execute the technical solution executed by the first processing device in the above-described method 400, and / or the third processing device is configured to execute the technical solution executed by the third processing device in the above-described method 400. The implementation principles and technical effects thereof are similar to those of the above-described method embodiments and are not further described here.
[0116] The present application provides a computer program product that, when executed on a first processing device, causes the first processing device to execute the technical solution of the above-mentioned embodiment. The implementation principle and technical effects thereof are similar to those of the above-mentioned method-related embodiments and will not be further described here.
[0117] This embodiment of the present application provides a computer-readable storage medium containing instructions that, when executed on a first processing device, cause the first processing device to execute the technical solutions of the above-described embodiments. The implementation principles and technical effects are similar and will not be further elaborated here.
[0118] The present application provides a chip for executing instructions. When the chip is running, the technical solution of the above embodiment is executed. The implementation principle and technical effect are similar and will not be described here.
[0119] Those skilled 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 beyond the scope of this application.
[0120] Those skilled in the art will 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.
[0121] In the several embodiments provided in this 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 merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, 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.
[0122] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0123] 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.
[0124] 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, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0125] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A method for application management, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, the second processing device being 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is 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, It is characterized in that The invention comprises an application management device as claimed in any one of claims 9 to 16.
19. A computer-readable storage medium, It is 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, It is 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.
Citation Information
Patent Citations
General plug-in terminal service engine
CN102081711A
Scheduling method, device and system for processor
CN103646006A
Method for scheduling tasks, and terminal
CN107066326A
Thread distribution method and device of application program, equipment and readable storage medium
CN110347508A
Vehicle-mounted application program running method and device, equipment and medium
CN115509772A
Cited By
Intelligent cabin control method and system
CN121764434A
Intelligent cabin control method and system
CN121764434B
