Computing power sharing method and device, vehicle-mounted terminal, vehicle, system and storage medium

By acquiring and allocating the idle computing power of mobile terminals, the problem of insufficient computing power of vehicle-mounted terminals is solved, and the task processing speed and the reliability and response speed of the vehicle system are improved.

CN118708353APending Publication Date: 2024-09-27CHINA FAW CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410851240.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Due to the limited computing power of the vehicle's on-board terminal, task processing speed is slow, resulting in delayed response or functional failure.

Method used

By obtaining the idle computing power of the mobile terminal to be shared, it controls the processing of the vehicle's pending tasks, including determining the proportion and priority of computing power allocation for task requirements, and rationally allocating computing power to execute tasks.

Benefits of technology

It improves the task processing speed and calculation accuracy, ensures the reliability and response speed of the vehicle system, and improves the response timeliness of the vehicle system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708353A
    Figure CN118708353A
Patent Text Reader

Abstract

The invention relates to a computing power sharing method and device, a vehicle-mounted terminal, a vehicle, a system and a storage medium. The method comprises the following steps: acquiring a to-be-processed task of a current vehicle; acquiring idle computing power of the mobile terminal to be shared; and controlling the to-be-shared mobile terminal, and processing the to-be-processed task of the current vehicle according to the idle computing power. By adopting the method, the idle computing power of the to-be-shared mobile terminal is introduced, and the computing power for executing various tasks is increased for the vehicle, so that the task processing speed and the computing precision are improved, the reliability of a vehicle system is guaranteed, and the response speed and the response timeliness of the vehicle system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of distributed computing technology, and in particular to a computing power sharing method, device, vehicle-mounted terminal, vehicle, system and storage medium. Background Art

[0002] With the development of technology, users require vehicles to provide more additional functions based on the original transportation function, such as navigation, route planning and media playback functions, making vehicles gradually becoming more complex and highly integrated.

[0003] At present, vehicles use their own on-board terminals to perform various tasks to realize various functions of the vehicle system. However, due to the limited computing power of the on-board terminal, the on-board terminal will have a slow task processing speed, which will lead to delayed response or even functional failure of the vehicle. Summary of the invention

[0004] Based on this, it is necessary to provide a computing power sharing method, device, vehicle-mounted terminal, vehicle, system and storage medium to address the above-mentioned technical problems, so as to increase the computing power of the vehicle for performing various tasks and ensure the reliability and timeliness of the vehicle system.

[0005] In a first aspect, the present application provides a computing power sharing method, the method comprising:

[0006] Get the pending tasks of the current vehicle;

[0007] Obtaining the idle computing power of the mobile terminal to be shared;

[0008] Control the shared mobile terminal and process the pending tasks of the current vehicle based on the idle computing power.

[0009] In one of the embodiments, if the number of tasks to be processed is at least two, the mobile terminal to be shared is controlled to process the tasks to be processed of the current vehicle according to the idle computing power, including: obtaining the task requirement computing power of each task to be processed; determining the computing power allocation ratio of each task to be processed in the idle computing power of the mobile terminal to be shared according to the task requirement computing power of each task to be processed; and controlling the mobile terminal to be shared to execute the corresponding tasks to be processed respectively based on the idle computing power under the computing power allocation ratio corresponding to each task to be processed in the mobile terminal to be shared.

[0010] In one of the embodiments, based on the task required computing power of each task to be processed, the computing power allocation ratio of each task to be processed in the idle computing power of the mobile terminal to be shared is determined, including: determining the allocation priority of each task to be processed; based on the allocation priority of each task to be processed and the corresponding task required computing power, determining the computing power allocation ratio of each task to be processed in the idle computing power of the mobile terminal to be shared.

[0011] In one embodiment, determining the allocation priority of each pending task includes: obtaining task attribute information of each pending task; wherein the task attribute information includes a task type; and determining the allocation priority of the corresponding pending task according to the task attribute information.

[0012] In one of the embodiments, the mobile terminal to be shared is determined in the following manner: based on basic attribute information of at least one candidate mobile terminal, the mobile terminal to be shared is selected from at least one candidate mobile terminal; wherein the basic attribute information includes a connectable status and / or an idle computing power size.

[0013] In a second aspect, the present application further provides a computing power sharing device, the device comprising:

[0014] The task acquisition module is used to obtain the pending tasks of the current vehicle;

[0015] A computing power acquisition module, used to acquire the idle computing power of the mobile terminal to be shared;

[0016] The computing power sharing module is used to control the mobile terminal to be shared and process the pending tasks of the current vehicle according to the idle computing power.

[0017] In a third aspect, the present application further provides a vehicle-mounted terminal, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0018] Get the pending tasks of the current vehicle;

[0019] Obtaining the idle computing power of the mobile terminal to be shared;

[0020] Control the shared mobile terminal and process the pending tasks of the current vehicle based on the idle computing power.

[0021] In a fourth aspect, the present application also provides a vehicle, in which a vehicle-mounted terminal is provided.

[0022] In a fifth aspect, the present application also provides a computing power sharing system, which includes a vehicle-mounted terminal and a mobile terminal to be shared; the vehicle-mounted terminal is communicatively connected with the mobile terminal to be shared.

[0023] In a sixth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:

[0024] Get the pending tasks of the current vehicle;

[0025] Obtaining the idle computing power of the mobile terminal to be shared;

[0026] Control the shared mobile terminal and process the pending tasks of the current vehicle based on the idle computing power.

[0027] In a seventh aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0028] Get the pending tasks of the current vehicle;

[0029] Obtaining the idle computing power of the mobile terminal to be shared;

[0030] Control the shared mobile terminal and process the pending tasks of the current vehicle based on the idle computing power.

[0031] The above-mentioned computing power sharing method, device, vehicle-mounted terminal, system, storage medium and product obtain the pending tasks of the current vehicle; obtain the idle computing power of the mobile terminal to be shared; and control the mobile terminal to be shared to process the pending tasks of the current vehicle according to the idle computing power. The above-mentioned technical solution introduces the idle computing power of the mobile terminal to be shared to increase the computing power for the vehicle to perform various tasks, thereby improving the processing speed and calculation accuracy of the tasks, thereby ensuring the reliability of the vehicle system, and improving the response speed and timeliness of the vehicle system. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0033] FIG1 is a schematic diagram of the structure of a computing power sharing system in one embodiment;

[0034] FIG2 is a schematic diagram of a flow chart of a computing power sharing method in one embodiment;

[0035] FIG3 is a schematic flow chart of the processing steps of a task to be processed in one embodiment;

[0036] FIG4 is a flow chart of steps for determining the computing power allocation ratio in one embodiment;

[0037] FIG5 is a schematic flow chart of a step of determining a mobile terminal to be shared in one embodiment;

[0038] FIG6 is a structural block diagram of a computing power sharing device in one embodiment;

[0039] FIG. 7 is a diagram showing the internal structure of a vehicle-mounted terminal in one embodiment. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0041] In order to more clearly introduce the technical solution of the present application, the computing power sharing system involved in the present application is first briefly described. Referring to the computing power sharing system shown in FIG. 1 , it includes a vehicle-mounted terminal 102 and a mobile terminal 104 to be shared; the vehicle-mounted terminal 102 is communicatively connected with the mobile terminal 104 to be shared. Among them, the vehicle-mounted terminal 102 can obtain the pending tasks of the current vehicle and obtain the idle computing power of the mobile terminal 104 to be shared. Furthermore, the vehicle-mounted terminal 102 can also control the mobile terminal 104 to be shared to process the pending tasks of the current vehicle according to the idle computing power.

[0042] In an exemplary embodiment, as shown in FIG2 , a computing power sharing method is provided, which is described by taking the method applied to the vehicle-mounted terminal in FIG1 as an example, and includes the following steps 210 to 230 . Among them:

[0043] S210, obtaining pending tasks of the current vehicle.

[0044] Among them, the pending tasks of the current vehicle can be understood as the tasks waiting to be processed in the vehicle chip of the current vehicle.

[0045] In an optional embodiment, the process of the vehicle terminal from generating a task to controlling the task to enter a pending state may include: generating tasks according to demand (such as controlling engine tasks and music playback tasks, etc.); and allocating computing power to the corresponding tasks based on the task information of the generated tasks (such as the content of the task, the priority of the task, timing information, etc.), and controlling the tasks to enter a processing state or a pending state.

[0046] Furthermore, computing power can be understood as resources that can be used to process various tasks to be processed. Exemplarily, computing power can include at least one of storage resources and computing resources.

[0047] S220: Obtain the idle computing power of the mobile terminal to be shared.

[0048] In an optional embodiment, compared with the vehicle-mounted terminal, the mobile terminal (such as a mobile phone, etc.) generally has higher computing power. Therefore, by establishing a communication connection between the vehicle-mounted terminal of the current vehicle and the mobile terminal, the vehicle-mounted terminal of the current vehicle can share the idle computing power of the mobile terminal that is not allocated for processing tasks. Among them, the mobile terminal to be shared can be understood as a mobile terminal connected to the vehicle-mounted terminal of the current vehicle and supporting the sharing of computing power with the vehicle-mounted terminal of the current vehicle.

[0049] In an optional embodiment, the idle computing power of the mobile terminal to be shared can be obtained so that the idle computing power of the mobile terminal to be shared can meet the computing power requirements of the tasks to be processed by the current vehicle. Exemplarily, the method of obtaining the idle computing power of the mobile terminal to be shared may include at least one of the following: obtaining the remaining storage resources, CPU (Central Processing Unit) utilization, and load balancing indicators of the mobile terminal to be shared.

[0050] S230, controlling the mobile terminal to be shared to process the pending tasks of the current vehicle according to the idle computing power.

[0051] In an optional embodiment, after the current vehicle is connected to the mobile terminal to be shared, the tasks generated by the vehicle system of the current vehicle can be directly sent to the mobile terminal to be shared, and the computing power sharing between the vehicle and the mobile terminal to be shared can be achieved by controlling the mobile terminal to be shared to process the tasks to be processed of the current vehicle.

[0052] In this embodiment, by obtaining the pending tasks of the current vehicle, obtaining the idle computing power of the mobile terminal to be shared, and controlling the mobile terminal to be shared, the pending tasks of the current vehicle are processed according to the idle computing power. The above technical solution introduces the idle computing power of the mobile terminal to be shared to increase the computing power for the vehicle to perform various tasks, thereby improving the processing speed and calculation accuracy of the tasks, thereby ensuring the reliability of the vehicle system, and improving the response speed and timeliness of the vehicle system.

[0053] Based on the technical solutions of the above-mentioned embodiments, the present application also provides an optional embodiment. In this optional embodiment, the steps of controlling the mobile terminal to be shared and processing the pending tasks of the current vehicle according to the idle computing power are refined.

[0054] Referring to the processing steps of the task to be processed shown in FIG3 , the steps include:

[0055] S310, obtaining the task required computing power of each task to be processed.

[0056] S320: Determine the computing power allocation ratio of each task to be processed in the idle computing power of the mobile terminal to be shared according to the computing power required by each task to be processed.

[0057] S330, controlling the mobile terminal to be shared to respectively execute corresponding tasks to be processed based on the idle computing power under the computing power allocation ratio corresponding to each task to be processed in the mobile terminal to be shared.

[0058] The task required computing power can be understood as the computing power required to complete a task to be processed. Furthermore, the computing power allocation ratio can be understood as the ratio of the computing power allocated to a task to be processed to the idle computing power of the mobile terminal to be shared.

[0059] In an optional embodiment, since different pending tasks have different required computing powers, for multiple pending tasks sent to the shared mobile terminal, it is necessary to reasonably allocate computing powers for different pending tasks to ensure the smooth completion of each pending task.

[0060] It should be emphasized that the total task demand computing power of all pending tasks sent to the mobile terminal to be shared, and the total computing power allocation ratio in the idle computing power of the mobile terminal to be shared, shall not exceed the first ratio threshold value, so as to avoid the overload of the mobile terminal to be shared. It should be noted that the first ratio threshold value can be set or adjusted by the technicians according to the needs or experience, or determined through a large number of experiments, and this application does not make any limitation on this.

[0061] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment, in which the steps for determining the computing power allocation ratio are refined.

[0062] Referring to FIG. 4 , the steps for determining the computing power allocation ratio include:

[0063] S410: Determine the allocation priority of each task to be processed.

[0064] S420, determining the computing power allocation ratio of each task to be processed in the idle computing power of the mobile terminal to be shared according to the allocation priority of each task to be processed and the computing power required by the corresponding task.

[0065] Optionally, the allocation priority of each pending task can be understood as the level of computing power allocation priority enjoyed by each pending task in the computing power allocation process of multiple pending tasks. Further, the allocation priority of each pending task can be determined based on at least one of the task type to which each pending task belongs and the urgency of each pending task. Exemplarily, computing power can be allocated preferentially to pending tasks with higher allocation priorities.

[0066] For example, the allocation priority of pending tasks can be divided into the first level and the second level; wherein the first level is higher than the second level. Among them, the idle computing power of the mobile terminal can be preferentially allocated to the first level pending tasks. After the computing power allocation ratio of the first level pending tasks is determined, the idle computing power of the mobile terminal is allocated to the second level pending tasks. Furthermore, if the idle computing power of the mobile terminal does not meet the task requirement computing power of the second level pending tasks, the computing power of the vehicle chip is allocated to the second level pending tasks.

[0067] It is worth noting that the above description only takes the allocation priority including two levels as an example, and the allocation priority can be expanded to multiple levels, such as at least three, as needed, and should not be understood as a specific limitation on the number of allocation priorities. In addition, when the first level is lower than the second level, computing power is allocated to the tasks to be processed at the second level first. The above description only provides an exemplary description of the difference between the first level and the second level.

[0068] In an optional embodiment, the step of determining the allocation priority of each task to be processed may be refined into: obtaining task attribute information of each task to be processed; and determining the allocation priority of the corresponding task to be processed according to the task attribute information.

[0069] The task attribute information of each task to be processed can be understood as information describing the characteristics of each task to be processed. Optionally, the task attribute information of each task to be processed can include the task type to which each task to be processed belongs. Exemplarily, the task type to which each task to be processed belongs can include at least one of an audio playback task, a navigation task, and a path planning task.

[0070] Furthermore, different weight values ​​may be assigned to different task types. For example, if the weight value of the navigation task is higher than the weight value of the audio playback task, the allocation priority of the navigation task is determined to be higher than the weight value of the audio playback task, and the idle computing power of the mobile terminal is preferentially allocated to the navigation task, thereby giving priority to ensuring the smooth completion of the navigation task.

[0071] In this embodiment, the allocation priority of each pending task is determined; according to the allocation priority of each pending task and the computing power required by the corresponding task, the computing power allocation ratio of each pending task in the idle computing power of the mobile terminal to be shared is determined. The above technical solution can allocate computing power more reasonably for each pending task, ensuring that the pending tasks with higher allocation priority can be completed smoothly.

[0072] On the basis of the technical solutions of the above-mentioned embodiments, the present application further provides an optional embodiment, in which the steps for determining the mobile terminal to be shared are refined.

[0073] Referring to FIG. 5 , the steps of determining the mobile terminal to be shared include:

[0074] S510: Select a mobile terminal to be shared from at least one candidate mobile terminal according to basic attribute information of at least one candidate mobile terminal.

[0075] The basic attribute information of the candidate mobile terminal may be understood as information describing the characteristics of the candidate mobile terminal. Optionally, the basic attribute information of the candidate mobile terminal may include at least one of the connectable state and idle computing power size of the candidate mobile terminal.

[0076] In an optional embodiment, the total task required computing power of the pending tasks that need to be sent to the mobile terminal in the current vehicle can be obtained. Among the candidate mobile terminals, the candidate mobile terminals that are in a connectable state and whose idle computing power is greater than the total task required computing power are used as the mobile terminals to be shared.

[0077] In this embodiment, by obtaining basic attribute information of at least one candidate mobile terminal, and selecting a mobile terminal to be shared from at least one candidate mobile terminal according to the basic attribute information of each candidate mobile terminal, the above technical solution can ensure that the mobile terminal to be shared can provide sufficient computing power support for the current vehicle.

[0078] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0079] Based on the same inventive concept, the embodiment of the present application also provides a computing power sharing device for implementing the computing power sharing method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more computing power sharing device embodiments provided below can refer to the limitations on the computing power sharing method above, and will not be repeated here.

[0080] In an exemplary embodiment, as shown in FIG6 , a computing power sharing device is provided, including: a task acquisition module 610, a computing power acquisition module 620 and a computing power sharing module 630, wherein:

[0081] The task acquisition module 610 is used to acquire the pending tasks of the current vehicle.

[0082] The computing power acquisition module 620 is used to acquire the idle computing power of the mobile terminal to be shared.

[0083] The computing power sharing module 630 is used to control the mobile terminal to be shared and process the pending tasks of the current vehicle according to the idle computing power.

[0084] In one embodiment, the computing power sharing module 630 includes: a first acquisition unit, used to acquire the task required computing power of each task to be processed; a first determination unit, used to determine the computing power allocation ratio of each task to be processed in the idle computing power of the mobile terminal to be shared according to the task required computing power of each task to be processed; a first control unit, used to control the mobile terminal to be shared, and execute the corresponding tasks to be processed respectively based on the idle computing power under the computing power allocation ratio corresponding to each task to be processed in the mobile terminal to be shared.

[0085] In one of the embodiments, the first determination unit includes: a first determination sub-unit, used to determine the allocation priority of each task to be processed; and a second determination sub-unit, used to determine the computing power allocation ratio of each task to be processed in the idle computing power of the mobile terminal to be shared based on the allocation priority of each task to be processed and the computing power required by the corresponding task.

[0086] In one of the embodiments, the first determining subunit is used to obtain task attribute information of each task to be processed, and determine the allocation priority of the corresponding task to be processed according to the task attribute information.

[0087] In one of the embodiments, the computing power acquisition module 620 includes: a first selection unit, configured to select a mobile terminal to be shared from at least one candidate mobile terminal according to basic attribute information of at least one candidate mobile terminal.

[0088] Each module in the above computing power sharing device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of the processor in the vehicle terminal in the form of hardware, or can be stored in the memory in the vehicle terminal in the form of software, so that the processor can call and execute the corresponding operations of each module.

[0089] In an exemplary embodiment, a vehicle-mounted terminal is provided, and its internal structure diagram may be shown in FIG7. The vehicle-mounted terminal includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the vehicle-mounted terminal is used to provide computing and control capabilities. The memory of the vehicle-mounted terminal includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the vehicle-mounted terminal is used to exchange information between the processor and an external device. The communication interface of the vehicle-mounted terminal is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a computing power sharing method is implemented. The display unit of the vehicle-mounted terminal is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the vehicle terminal can be a touch layer covering the display screen, or a button, trackball or touchpad set on the vehicle terminal shell, or an external keyboard, touchpad or mouse.

[0090] Those skilled in the art will understand that the structure shown in FIG. 7 is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the vehicle-mounted terminal to which the scheme of the present application is applied. The specific vehicle-mounted terminal may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0091] In an exemplary embodiment, a vehicle-mounted terminal is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0092] Get the pending tasks of the current vehicle;

[0093] Obtaining the idle computing power of the mobile terminal to be shared;

[0094] Control the shared mobile terminal and process the pending tasks of the current vehicle based on the idle computing power.

[0095] In one embodiment, the processor also implements the following steps when executing the computer program: if the number of tasks to be processed is at least two, the mobile terminal to be shared is controlled to process the tasks to be processed of the current vehicle according to the idle computing power, including: obtaining the task requirement computing power of each task to be processed; determining the computing power allocation ratio of each task to be processed in the idle computing power of the mobile terminal to be shared according to the task requirement computing power of each task to be processed; and controlling the mobile terminal to be shared to execute the corresponding tasks to be processed respectively based on the idle computing power under the computing power allocation ratio corresponding to each task to be processed in the mobile terminal to be shared.

[0096] In one embodiment, when the processor executes the computer program, the following steps are also implemented: according to the task required computing power of each task to be processed, the computing power allocation ratio of each task to be processed in the idle computing power of the mobile terminal to be shared is determined, including: determining the allocation priority of each task to be processed; according to the allocation priority of each task to be processed and the corresponding task required computing power, the computing power allocation ratio of each task to be processed in the idle computing power of the mobile terminal to be shared is determined.

[0097] In one embodiment, when the processor executes the computer program, it also implements the following steps: determining the allocation priority of each task to be processed, including: obtaining task attribute information of each task to be processed; wherein the task attribute information includes the task type; and determining the allocation priority of the corresponding task to be processed based on the task attribute information.

[0098] In one embodiment, when the processor executes the computer program, the following steps are further implemented: the mobile terminal to be shared is determined in the following manner: the mobile terminal to be shared is selected from at least one candidate mobile terminal according to basic attribute information of at least one candidate mobile terminal.

[0099] On the basis of the technical solutions of the above embodiments, the present application further provides a vehicle, in which a vehicle-mounted terminal as shown in FIG. 7 is arranged.

[0100] In an exemplary embodiment, a computing power sharing system is provided, the system comprising a vehicle-mounted terminal and a mobile terminal to be shared; the vehicle-mounted terminal is communicatively connected with the mobile terminal to be shared.

[0101] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0102] Get the pending tasks of the current vehicle;

[0103] Obtaining the idle computing power of the mobile terminal to be shared;

[0104] Control the shared mobile terminal and process the pending tasks of the current vehicle based on the idle computing power.

[0105] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the number of tasks to be processed is at least two, the mobile terminal to be shared is controlled to process the tasks to be processed of the current vehicle according to the idle computing power, including: obtaining the task requirement computing power of each task to be processed; determining the computing power allocation ratio of each task to be processed in the idle computing power of the mobile terminal to be shared according to the task requirement computing power of each task to be processed; and controlling the mobile terminal to be shared to execute the corresponding tasks to be processed respectively based on the idle computing power corresponding to the computing power allocation ratio of each task to be processed in the mobile terminal to be shared.

[0106] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: according to the task required computing power of each task to be processed, the computing power allocation ratio of each task to be processed in the idle computing power of the mobile terminal to be shared is determined, including: determining the allocation priority of each task to be processed; according to the allocation priority of each task to be processed and the corresponding task required computing power, the computing power allocation ratio of each task to be processed in the idle computing power of the mobile terminal to be shared is determined.

[0107] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the allocation priority of each task to be processed, including: obtaining task attribute information of each task to be processed; wherein the task attribute information includes the task type; and determining the allocation priority of the corresponding task to be processed based on the task attribute information.

[0108] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: the mobile terminal to be shared is determined in the following manner: the mobile terminal to be shared is selected from at least one candidate mobile terminal according to basic attribute information of at least one candidate mobile terminal.

[0109] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0110] Get the pending tasks of the current vehicle;

[0111] Obtaining the idle computing power of the mobile terminal to be shared;

[0112] Control the shared mobile terminal and process the pending tasks of the current vehicle based on the idle computing power.

[0113] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the number of tasks to be processed is at least two, the mobile terminal to be shared is controlled to process the tasks to be processed of the current vehicle according to the idle computing power, including: obtaining the task requirement computing power of each task to be processed; determining the computing power allocation ratio of each task to be processed in the idle computing power of the mobile terminal to be shared according to the task requirement computing power of each task to be processed; and controlling the mobile terminal to be shared to execute the corresponding tasks to be processed respectively based on the idle computing power corresponding to the computing power allocation ratio of each task to be processed in the mobile terminal to be shared.

[0114] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: according to the task required computing power of each task to be processed, the computing power allocation ratio of each task to be processed in the idle computing power of the mobile terminal to be shared is determined, including: determining the allocation priority of each task to be processed; according to the allocation priority of each task to be processed and the corresponding task required computing power, the computing power allocation ratio of each task to be processed in the idle computing power of the mobile terminal to be shared is determined.

[0115] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the allocation priority of each task to be processed, including: obtaining task attribute information of each task to be processed; wherein the task attribute information includes the task type; and determining the allocation priority of the corresponding task to be processed based on the task attribute information.

[0116] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: the mobile terminal to be shared is determined in the following manner: the mobile terminal to be shared is selected from at least one candidate mobile terminal according to basic attribute information of at least one candidate mobile terminal.

[0117] It should be noted that the data involved in this application (including the pending tasks of the current vehicle, the idle computing power of the mobile terminal to be shared, the basic attribute information of the candidate mobile terminals, the task attribute information of each pending task, etc.) are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with relevant regulations.

[0118] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0119] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0120] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A computing power sharing method, It is characterized in that include: Get the pending tasks of the current vehicle; Obtaining the idle computing power of the mobile terminal to be shared; The mobile terminal to be shared is controlled to process the pending tasks of the current vehicle according to the idle computing power.

2. The method according to claim 1, It is characterized in that If the number of the tasks to be processed is at least two, controlling the mobile terminal to be shared to process the tasks to be processed of the current vehicle according to the idle computing power includes: Obtaining the task required computing power of each of the tasks to be processed; Determine, according to the task required computing power of each of the tasks to be processed, the computing power allocation ratio of each of the tasks to be processed in the idle computing power of the mobile terminal to be shared; The mobile terminal to be shared is controlled to respectively execute corresponding tasks to be processed based on the idle computing power under the computing power allocation ratio corresponding to each task to be processed in the mobile terminal to be shared.

3. The method according to claim 2, wherein the computing power allocation ratio of each of the tasks to be processed in the idle computing power of the mobile terminal to be shared is determined according to the computing power required by each of the tasks to be processed, include: Determining the allocation priority of each of the pending tasks; According to the allocation priority of each of the tasks to be processed and the computing power required by the corresponding task, the computing power allocation ratio of each of the tasks to be processed in the idle computing power of the mobile terminal to be shared is determined.

4. The method according to claim 3, wherein the determining the allocation priority of each of the tasks to be processed, include: Acquire task attribute information of each of the tasks to be processed; wherein the task attribute information includes a task type; According to the task attribute information, the allocation priority of the corresponding task to be processed is determined.

5. The method according to any one of claims 1 to 4, It is characterized in that The mobile terminal to be shared is determined in the following manner: The mobile terminal to be shared is selected from the at least one candidate mobile terminal according to basic attribute information of at least one candidate mobile terminal; wherein the basic attribute information includes a connectable state and / or an idle computing power size.

6. A computing power sharing device, It is characterized in that The device comprises: The task acquisition module is used to obtain the pending tasks of the current vehicle; A computing power acquisition module, used to acquire the idle computing power of the mobile terminal to be shared; The computing power sharing module is used to control the mobile terminal to be shared and process the pending tasks of the current vehicle according to the idle computing power.

7. A vehicle-mounted terminal, comprising a memory and a processor, wherein the memory stores a computer program, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

8. A vehicle, It is characterized in that The vehicle is provided with the vehicle-mounted terminal according to claim 7.

9. A computing power sharing system, It is characterized in that The system comprises the vehicle-mounted terminal according to claim 7 and a mobile terminal to be shared; the vehicle-mounted terminal is communicatively connected with the mobile terminal to be shared.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.