Method and device for allocating computing tasks, and computer-readable storage medium

By dynamically allocating computing tasks in the intelligent connected vehicle system, and using edge computing resources of charging piles and vehicle computer systems, the problems of waste of computing resources and information leakage are solved, and efficient computing task allocation and information security are achieved.

CN115002109BActive Publication Date: 2025-03-28NIO TECH ANHUI CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210543344.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-19
Publication Date
2025-03-28
Estimated Expiration
2042-05-19

AI Technical Summary

Technical Problem

In intelligent connected vehicles, the existing technology fails to effectively utilize edge computing resources such as vehicle systems and charging piles, resulting in waste of computing resources and risk of information leakage.

Method used

By dynamically allocating calculation tasks between servers, charging piles and vehicle-machine systems, using idle resources of charging piles for calculations, and dividing privacy information processing tasks between vehicle-machine systems and charging piles to avoid information leakage.

Benefits of technology

It realizes efficient allocation of computing tasks, reduces server resource requirements, avoids the risk of information leakage, and makes full use of edge computing resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115002109B_ABST
    Figure CN115002109B_ABST
Patent Text Reader

Abstract

The present application relates to a method and device for allocating computing tasks, and a computer-readable storage medium. The device includes: a computing task allocation module, which is configured to allocate computing tasks into at least one of the following: a first task performed by the device, a second task performed by a charging pile, and a third task performed by a vehicle system; a computing module, which is configured to be able to perform the first task according to data related to the first task; a first communication module, which is configured to be able to send an instruction to the charging pile to perform the second task; and a second communication module, which is configured to be able to send an instruction to the vehicle system to perform the third task.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle distributed computing, and more specifically, to a method and device for allocating computing tasks, and a computer-readable storage medium. Background Art

[0002] With the development of intelligent connected cars, a large number of new functions have emerged, which often require greater computing power to support. If all this computing power is concentrated on the server side, a large amount of server-side computing power resources will be required, and the cost of the server will also rise.

[0003] In the traditional Internet field, edge computing is used to deploy a portion of computing power on user terminals to reduce server pressure. In the field of intelligent connected vehicles, the vehicle system itself is a viable edge computing terminal, and there are currently many solutions that perform some calculations on the vehicle system. However, these solutions only utilize the vehicle system without considering other available computing entities, and these solutions do not optimize the computing allocation scheme according to the type of computing task.

[0004] In view of this, it is necessary to propose an improved method for allocating computing tasks. Summary of the invention

[0005] Embodiments of the present application provide a method and apparatus for allocating computing tasks, and a computer-readable storage medium, for achieving efficient allocation of computing tasks generated during the use of a vehicle.

[0006] According to one aspect of the present application, a device for allocating computing tasks is provided. The device includes: a computing task allocation module, which is configured to allocate computing tasks into at least one of the following: a first task performed by the device, a second task performed by a charging pile, and a third task performed by a vehicle system; a computing module, which is configured to be able to perform the first task according to data related to the first task; a first communication module, which is configured to be able to send an instruction to the charging pile to perform the second task; and a second communication module, which is configured to be able to send an instruction to the vehicle system to perform the third task.

[0007] In some embodiments of the present application, optionally, the computing task allocation module is configured to allocate the computing tasks according to the respective computing resources of the computing module, the charging pile and the vehicle system, and the type of the computing tasks.

[0008] In some embodiments of the present application, optionally, the computing task allocation module is configured to allocate the computing task as the second task when the computing task is a computing task related to the safety setting of the vehicle system.

[0009] In some embodiments of the present application, optionally, the charging pile receives logs and audit information from the vehicle system, and performs the second task according to the logs and audit information.

[0010] In some embodiments of the present application, optionally, the computing task allocation module is configured to allocate the computing task into the second task and the third task when the computing task is a calculation related to the privacy information of the vehicle system.

[0011] In some embodiments of the present application, optionally, the vehicle system executes the third task according to the first part of the privacy information; and the charging pile receives the second part of the privacy information from the vehicle system, and executes the second task according to the second part of the privacy information.

[0012] In some embodiments of the present application, optionally, the private information includes biometric information collected by the vehicle system.

[0013] According to another aspect of the present application, a method for allocating computing tasks is provided. The method includes the following steps performed by a server: allocating computing tasks into at least one of the following: a first task performed by the server, a second task performed by a charging pile, and a third task performed by a vehicle system; when the first task is allocated, executing the first task according to data related to the first task; when the second task is allocated, sending an instruction to the charging pile to execute the second task; and when the third task is allocated, sending an instruction to the vehicle system to execute the third task.

[0014] In some embodiments of the present application, optionally, the computing tasks are allocated according to the computing resources of the server, the charging pile, and the vehicle system, and the types of the computing tasks.

[0015] In some embodiments of the present application, optionally, when the computing task is a computing task related to the safety setting of the vehicle system, the computing task is allocated as the second task.

[0016] In some embodiments of the present application, optionally, the method also includes the following steps performed by the charging pile: receiving logs and audit information from the vehicle system, and performing the second task according to the logs and audit information.

[0017] In some embodiments of the present application, optionally, when the computing task is a calculation related to the privacy information of the vehicle system, the computing task is allocated into the second task and the third task, wherein the privacy information includes biometric information collected by the vehicle system.

[0018] In some embodiments of the present application, optionally, the method also includes: a step performed by the vehicle system: performing the third task according to the first part of the privacy information; and a step performed by the charging pile: receiving the second part of the privacy information from the vehicle system, and performing the second task according to the second part of the privacy information.

[0019] According to another aspect of the present application, a computer-readable storage medium is provided, in which instructions are stored, and the characteristics are that when the instructions are executed by a processor, the processor executes any one of the methods for allocating computing tasks as described above.

[0020] According to the method and device for allocating computing tasks and the computer-readable storage medium of some examples of the present application, the computing tasks generated during the use of the vehicle can be efficiently allocated. The allocation scheme will be able to utilize a large amount of idle resources of the charging pile, thereby further improving the efficiency of the allocation. In addition, the allocation scheme can also only use offline resources for processing sensitive tasks, thereby avoiding the risk of information leakage caused by the use of online resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The above and other objects and advantages of the present application will become more fully apparent from the following detailed description in conjunction with the accompanying drawings, wherein the same or similar elements are represented by the same reference numerals.

[0022] Figure 1 A system consisting of a device (server) for allocating computing tasks, a charging pile, and a vehicle system according to an embodiment of the present application is shown;

[0023] Figure 2 A method for allocating computing tasks according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0024] For the purpose of brevity and illustration, the principles of the present application are described herein mainly with reference to its exemplary embodiments. However, those skilled in the art will readily recognize that the same principles are equally applicable to all types of methods and devices for distributing computing tasks, computer-readable storage media, and these same or similar principles can be implemented therein, and any such changes do not depart from the true spirit and scope of the present application.

[0025] One aspect of the present application provides a device for allocating computing tasks. Figure 1 A system 10 consisting of a device 110 for allocating computing tasks (for example, a server arranged in the cloud), a charging pile 120 and a vehicle system 130 is shown. It should be known that the various parts that make up the system 10 can work independently, and each part does not need to consider the operating status of other parts in a separate process. The arrowed line segments in the figure represent the information flow between each unit module or product, and the data flow of the dotted part may need to be realized through the physical connection of the solid line part. It should be pointed out that the information flow shown in the figure is only an example, and there may be other variations that do not deviate from the spirit of the present application.

[0026] As understood, the charging pile 120 can replenish electric energy for the vehicle, and can be an AC charging pile, a DC charging pile, or an AC / DC dual-purpose charging pile according to the design. The charging pile 120 can be a home charging pile, or a commercial charging pile that serves a specific model or meets general specifications.

[0027] like Figure 1 As shown, the device 110 for allocating computing tasks includes a computing task allocation module, a processing module, a first communication module, and a second communication module. The first communication module and the second communication module are only intended to distinguish the communication objects (respectively, the charging pile 120 and the vehicle system 130) of the device 110 for allocating computing tasks. In some examples, the first communication module and the second communication module can share some or even all software and hardware resources.

[0028] The computing task allocation module of the device 110 for allocating computing tasks can allocate computing tasks into a first task performed by the device 110 for allocating computing tasks itself, a second task performed by the charging pile 120, and / or a third task performed by the vehicle system 130. In some embodiments of the present application, the computing task allocation module can allocate computing tasks according to the computing modules (described in detail below), the computing resources of the charging pile 120 and the vehicle system 130, and the types of computing tasks, wherein some computing entities in the system 10 may not undertake computing tasks, while other computing entities may undertake most or even all computing tasks. For example, the computing task allocation module can split the computing tasks into at least one task according to the computing power of the computing modules of the device 110 for computing tasks, the charging pile 120, and the vehicle system 130. Generally speaking, the heavier part of the computing task can be allocated to the processing entity with more abundant computing power. In addition, the attributes of the computing tasks can also be considered in the allocation process. For example, the computing task allocation module can allocate data without privacy and security concerns among the device 110 for allocating computing tasks (e.g., server 110), the charging pile 120, and the vehicle system 130 to perform calculations separately, thereby maximizing the activation of the computing resources of the system 10.

[0029] The "first" task, "second" task and "third" task described herein are only intended to distinguish the subjects of execution, and do not mean that these tasks must be different in content, attributes, etc. In other words, for example, some "first" tasks that should be executed by the device 110 for allocating computing tasks can also be reallocated to the charging pile 120 for execution in some cases.

[0030] In the case where the computing task assignment module assigns the first task, the computing module of the device 110 for assigning computing tasks can perform the first task according to the data related to the first task. The computing module can be the central processing unit of the device 110 for assigning computing tasks, and the computing module can include a number of processor devices constituting a computing array. The processor device can be implemented using a general-purpose or special-purpose processing chip. For example, it can be a general-purpose chip of an ARM architecture or an X86 architecture. Depending on the subject that initiates the computing task, the computing module can receive data from different subjects to perform the corresponding computing task. For example, if the device 110 for assigning computing tasks initiates the computing task, the data related to the first task will be stored locally in the device 110 for assigning computing tasks, so the computing module only needs to retrieve the corresponding data. For another example, if the vehicle system 130 initiates the computing task, the data related to the first task is generally stored in the vehicle system 130, so the computing module needs to receive these data from the vehicle system 130.

[0031] As described above, the amount of computing tasks that the computing task distribution device 110 can undertake is determined by its computing module. During the period when the computing module is relatively idle (for example, at night), the computing task distribution module can distribute more computing tasks to the computing task distribution device 110, and vice versa.

[0032] In the case where the computing task assignment module assigns the second task, the first communication module of the device 110 for assigning computing tasks can send an instruction to the charging pile 120 to execute the second task. In addition, in the case where the computing task assignment module assigns the third task, the second communication module of the device 110 for assigning computing tasks can send an instruction to the vehicle system 130 to execute the third task. The charging pile 120 and the vehicle system 130 that receive the instruction can know their roles in the computing task, and can trigger the relevant computing process according to the received instruction (the actual computing process will be implemented by the respective processing modules). In this way, the computing task can be scheduled between the device 110 for assigning computing tasks, the charging pile 120 and the vehicle system 130. In theory, when all three computing entities have surplus computing power and the computing tasks are not about security and privacy, the computing tasks can be freely allocated among the three computing entities.

[0033] In some embodiments of the present application, the computing task to be assigned may be related to the security settings of the vehicle system 130. At this time, the computing task assignment module can assign the computing task only to the second task. Since the device 110 for assigning computing tasks is in the cloud, it is more likely to be attacked. Therefore, the device 110 for assigning computing tasks will not participate in the actual processing of such tasks, but only execute the process of task assignment. Under normal circumstances, when the vehicle system 130 is attacked, if the attacker has completely mastered the authority of the vehicle system 130, the security audit function of the vehicle system 130 will also fail. To this end, the processing of related tasks can be achieved through the charging pile 120.

[0034] In some embodiments of the present application, the charging pile 120 receives logs and audit information from the vehicle system 130, and performs a second task based on the logs and audit information. For example, a secure channel can be established through the communication module of the vehicle system 130 and the communication module of the charging pile 120. Through this channel, the storage module of the charging pile 120 can receive lower-level security operation logs and audit information from the audit module of the vehicle system 130. The processing module of the charging pile 120 then retrieves this information from its storage module, so that the charging pile 120 can audit such attack logs, in order to achieve the effect of strengthening the security system and prevent real attacks on the vehicle system 130 from being perceived.

[0035] In some embodiments of the present application, the computing task to be assigned may be related to the privacy information of the vehicle system 130. In this case, the computing task assignment module can assign the computing task into the second task and the third task. Similarly, since the device 110 for assigning computing tasks is more likely to be attacked, and thus the risk of information leakage is also greater, the device 110 for assigning computing tasks does not participate in the actual processing of such tasks.

[0036] In some embodiments of the present application, the vehicle system 130 performs a third task according to the first part of the private information, and the charging pile 120 receives the second part of the private information from the vehicle system 130 and performs a second task according to the second part of the private information. The first part and the second part of the private information here refer to a part of the private information extracted according to the calculation needs. There may be overlap between the first part and the second part, and the combination of the first part and the second part may not completely cover the private information stored in the vehicle system 130.

[0037] In some embodiments of the present application, the privacy information includes biometric information of the vehicle driver, passengers, or people in the surrounding environment collected by the vehicle system 130. For example, the privacy information may be part of the image information processed by the vehicle system 130, or part of the voice information processed by the voice recognition in the vehicle system 130. Due to the requirements of privacy protection, such information should not be uploaded to the cloud for processing. The computing power of the vehicle system 130 itself is limited. At this time, the charging pile 120 can be used as an auxiliary to edge computing to assist the vehicle system 130 in completing the calculation of some localized sensitive information. Similarly, a secure channel can be constructed through the communication module of the vehicle system 130 and the communication module of the charging pile 120. Through this channel, the storage module of the charging pile 120 can receive the second part of the privacy information from the vehicle system 130. The processing module of the charging pile 120 then retrieves this information from its storage module to perform the second task.

[0038] Another aspect of the present application provides a method for allocating computing tasks. Figure 2 As shown, a method 20 for allocating computing tasks (hereinafter referred to as method 20) includes, for example, Figure 1 The following steps are performed by the server 110 shown in the figure: in step S202, the computing task is allocated to at least one of the following: a first task executed by the server, a second task executed by the charging pile, and a third task executed by the vehicle system; when the first task is allocated in step S202, the first task is executed according to the data related to the first task in step S204; when the second task is allocated in step S202, an instruction to execute the second task is sent to the charging pile in step S206; and when the third task is allocated in step S202, an instruction to execute the third task is sent to the vehicle system in step S208.

[0039] Method 20 allocates the computing task into a first task performed by the server itself, a second task performed by the charging pile, and / or a third task performed by the vehicle system in step S202. In some embodiments of the present application, the computing task allocation module may allocate computing tasks according to the computing resources of the server, the charging pile, and the vehicle system, and the type of computing tasks, some of which may not be responsible for computing tasks, while other computing entities may be responsible for most or even all of the computing tasks. For example, in step S202, the computing task may be split into at least one task according to the computing power of the server, the charging pile, and the vehicle system. Generally speaking, the heavier part of the computing task can be allocated to the processing entity with more computing power. In addition, the attributes of the computing task can also be considered in the allocation process. For example, in step S202, data without privacy and security concerns can be allocated between the server, the charging pile, and the vehicle system to perform calculations separately, thereby maximizing the activation of computing resources.

[0040] The "first" task, "second" task and "third" task described in this article are only intended to distinguish the subjects of execution, and do not mean that these tasks must be different in content, attributes, etc. In other words, for example, some "first" tasks that should be executed by the server can also be reallocated to the charging pile for execution in some cases.

[0041] In the case where the first task is assigned in step S202, method 20 executes the first task according to the data related to the first task in step S204. Depending on the subject that initiates the computing task, data from different subjects can be received in step S204 to execute the corresponding computing task. For example, if the server itself initiates the computing task, the data related to the first task will be stored locally on the server, so only the corresponding data needs to be retrieved in step S204. For another example, if the vehicle system initiates the computing task, the data related to the first task is generally stored in the vehicle system, so it is necessary to first receive these data from the vehicle system in step S204.

[0042] In the case where the second task is assigned in step S202, method 20 sends an instruction to execute the second task to the charging pile in step S206; and in the case where the third task is assigned, method 20 sends an instruction to execute the third task to the vehicle system in step S208. The charging pile and the vehicle system receiving the instruction are able to know their roles in the computing task, and can trigger the relevant computing process according to the received instruction (the actual computing process will be implemented by the respective processing modules). In this way, the computing task can be scheduled between the server, the charging pile and the vehicle system. In theory, when all three computing entities have surplus computing power and the computing tasks are not about security and privacy, the computing tasks can be freely allocated among the three computing entities.

[0043] In some embodiments of the present application, when the computing task is a computing task related to the security settings of the vehicle system, the computing task is assigned to the second task in step S202. Since the server is in the cloud, it is more likely to be attacked, so the server will not participate in the actual processing of such tasks, but only execute the task allocation process. Under normal circumstances, when the vehicle system is attacked, if the attacker has completely mastered the authority of the vehicle system, the security audit function of the vehicle system will also fail. To this end, the processing of related tasks can be achieved through the charging pile.

[0044] In some embodiments of the present application, if a second task is assigned, method 20 also includes step S210 performed by the charging pile: receiving logs and audit information from the vehicle system, and performing the second task according to the logs and audit information. In some embodiments of the present application, the charging pile may receive logs and audit information from the vehicle system in step S210, and perform the second task according to the logs and audit information. For example, a secure channel may be constructed through the communication module of the vehicle system and the communication module of the charging pile. Through this channel, the storage module of the charging pile can receive lower-level security operation logs and audit information from the audit module of the vehicle system. The processing module of the charging pile then retrieves this information from its storage module, thereby enabling the charging pile to audit such attack logs, in order to achieve the effect of strengthening the security system and prevent real attacks on the vehicle system from being perceived.

[0045] In some embodiments of the present application, when the computing task is a computing task related to the private information of the vehicle system, the computing task is allocated into a second task and a third task in step S202. The private information may include biometric information collected by the vehicle system. Similarly, since the server is more likely to be attacked, and thus the risk of information leakage is also greater, the server does not participate in the actual processing of such tasks.

[0046] In some embodiments of the present application, if the second task and the third task are assigned, the method 20 further includes: step S212 executed by the vehicle system: executing the third task according to the first part of the privacy information; and step S210 executed by the charging pile: receiving the second part of the privacy information from the vehicle system, and executing the second task according to the second part of the privacy information. The first part and the second part of the privacy information here refer to a part of the privacy information extracted according to the calculation needs, and there may be overlap between the first part and the second part, and the combination of the first part and the second part may not completely cover the privacy information stored in the vehicle system.

[0047] Another aspect of the present application provides a computer-readable storage medium in which instructions are stored. When the instructions are executed by a processor, the processor performs any of the methods for allocating computing tasks as described above. The computer-readable medium referred to in the present application includes various types of computer storage media, which can be any available medium that can be accessed by a general or special-purpose computer. For example, a computer-readable medium can include RAM, ROM, EPROM, EEPROM, etc. 2PROM, register, hard disk, removable disk, CD-ROM or other optical disk storage, disk storage or other magnetic storage device, or can be used to carry or store the desired program code unit in the form of instruction or data structure and can be accessed by general or special computer, or general or special processor. As used herein, the disk usually copies data magnetically, while the dish uses laser to optically copy data. The above combination should also be included in the protection scope of computer-readable medium. Exemplary storage medium is coupled to the processor so that the processor can read and write information from / to the storage medium. In an alternative solution, the storage medium can be integrated into the processor. The processor and the storage medium can reside in the ASIC. The ASIC can reside in the user terminal. In an alternative solution, the processor and the storage medium can reside in the user terminal as discrete components.

[0048] According to some examples of the method and device for allocating computing tasks and the computer-readable storage medium of the present application, the computing tasks generated during the use of the vehicle can be efficiently allocated. The allocation scheme will be able to utilize a large amount of idle resources of the charging pile, thereby further improving the efficiency of the allocation. In addition, the allocation scheme can also only use offline resources for sensitive tasks, thereby avoiding the risk of information leakage caused by the use of online resources. The above is only a specific implementation method of the present application, but the scope of protection of the present application is not limited to this. Those skilled in the art can think of other feasible changes or substitutions based on the technical scope disclosed in this application, and such changes or substitutions are all covered by the scope of protection of this application. In the absence of conflict, the implementation methods of the present application and the features in the implementation methods can also be combined with each other. The scope of protection of the present application shall be subject to the records of the claims.

Claims

1. A device for allocating computing tasks, characterized in that: The device comprises: A computing task allocation module, configured to allocate the computing task into: a first task executed by the device, a second task executed by the charging pile, and a third task executed by the vehicle system; a computing module configured to execute the first task according to data related to the first task; A first communication module configured to send an instruction to execute the second task to the charging pile; and a second communication module configured to send an instruction to execute the third task to the vehicle system; The computing task allocation module is configured to allocate the computing tasks according to the computing resources of the computing module, the charging pile and the vehicle system, and the types of the computing tasks. The computing task allocation module is configured to allocate the computing task to the second task if the computing task is a computing task related to the safety setting of the vehicle system. And wherein, the computing task allocation module is configured to allocate the computing task into the second task and the third task when the computing task is a computing task related to the privacy information of the vehicle system, And wherein, the vehicle system performs the third task according to the first part of the privacy information; and The charging pile receives the second part of the private information from the vehicle system and performs the second task according to the second part of the private information, wherein the private information includes biometric information collected by the vehicle system.

2. The device according to claim 1, wherein: The charging pile receives the log and audit information from the vehicle system, and performs the second task according to the log and audit information.

3. A method for allocating computing tasks, characterized in that: The method comprises the following steps performed by the server: Allocating the computing tasks into: a first task executed by the server, a second task executed by the charging pile, and a third task executed by the vehicle system; In case the first task is assigned, performing the first task according to data related to the first task; In case the second task is assigned, sending an instruction to execute the second task to the charging pile; as well as In the case where the third task is assigned, an instruction to execute the third task is sent to the vehicle system, wherein the computing task is assigned according to the computing resources of the server, the charging pile and the vehicle system and the type of the computing task, Wherein, in the case where the computing task is a computing task related to the safety setting of the vehicle system, the computing task is allocated as the second task, And wherein, in the case where the computing task is a computing task related to the privacy information of the vehicle system, the computing task is allocated into the second task and the third task, And wherein the method further comprises: The steps performed by the vehicle system are: performing the third task according to the first part of the private information; and The step performed by the charging pile: receiving the second part of the private information from the vehicle system, and performing the second task according to the second part of the private information, wherein the private information includes biometric information collected by the vehicle system.

4. The method according to claim 3, wherein: The method further comprises the following steps performed by the charging pile: Receive log and audit information from the vehicle system, and execute the second task according to the log and audit information.

5. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, characterized in that: When the instructions are executed by a processor, the processor is caused to perform the method as claimed in any one of claims 3 or 4.

Citation Information

Patent Citations

  • Information processing system and method and robot system comprising information processing system

    CN110666813A

  • Electric vehicle charging pile with edge calculation function

    CN111993944A

  • Computing power scheduling system

    CN114168313A

  • Resource allocation method, device and equipment for vehicle-machine interconnection and storage medium

    CN114356569A

  • Method and device for assigning arithmetic tasks

    DE102017206808A1