Computing power coordination method and apparatus, electronic device, and program product
By acquiring the computing power broadcast of peripheral devices, matching actual and theoretical computing power, establishing a near-field communication channel, and realizing local computing power collaboration, the network dependence and high latency issues of cloud computing are solved, and costs are reduced.
Patent Information
- Application Number
- PCT/CN2025/089409
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-04-22
- Filing Date
- 2025-04-16
- Publication Date
- 2025-10-30
AI Technical Summary
In existing technologies, computing power relying on cloud servers has limitations such as network dependence, high latency and high cost, and the computing power of a single device is insufficient to meet computing needs.
By acquiring the computing power broadcast of surrounding devices, matching actual computing power with theoretical computing power, establishing a data transmission channel, screening and coordinating computing power components with the target device, using near-field communication for data transmission, sending missing or updated computing power components, and realizing local computing power coordination.
It shortens data transmission latency, reduces costs, improves user experience, and avoids network dependence and high latency in cloud computing.
Smart Images

Figure CN2025089409_30102025_PF_FP_ABST
Abstract
Description
A method, apparatus, electronic device, and software product for collaborative computing power.
[0001] Cross-references to related applications
[0002] This disclosure claims priority to Chinese Patent Application No. 2024104870996, filed on April 22, 2024, entitled “A Computing Power Collaboration Method, Apparatus and Electronic Device”, the entire contents of which are incorporated herein by reference. Technical Field
[0003] This disclosure relates to the fields of artificial intelligence and communication technology, and includes, but is not limited to, a computing power collaboration method, device, electronic device, and program product. Background Technology
[0004] With the development of the artificial intelligence industry, current computing services mainly rely on the powerful computing power of devices such as central processing units (CPUs) or graphics processing units (GPUs). However, these hardware are quite expensive, and as computing demands increase, the computing power of a single device itself is becoming increasingly insufficient.
[0005] Currently, the industry's solutions mainly rely on the powerful computing power of cloud servers, but cloud computing has limitations such as network dependence, high latency, and high cost. Summary of the Invention
[0006] To address the aforementioned technical issues, this disclosure provides a computing power collaboration method, apparatus, electronic device, and program product.
[0007] To achieve the above objectives, the present disclosure adopts the following technical solution:
[0008] Firstly, this disclosure provides a computing power collaboration method, comprising: during the operation of a target service, acquiring a computing power broadcast sent by a peripheral device; wherein the computing power broadcast carries the theoretical computing power that the peripheral device can provide; when the actual computing power required at the current time matches the theoretical computing power, establishing a data transmission channel with the target device, wherein the target device is a peripheral device corresponding to the theoretical computing power that matches the actual computing power; screening the target device for components to determine the target computing power components; sending the target computing power components to the target device; sending the service data of the target service to the target device; and receiving the processing result of the service data sent by the target device.
[0009] In some feasible examples, the step of screening the target device for components to determine the target computing power components includes: in the case of establishing the data transmission channel, screening the target device for components through the data transmission channel to determine the target computing power components; wherein, the target computing power components include computing power components that the target device lacks, or computing power components that the target device needs to update.
[0010] In some feasible examples, sending the target computing power component to the target device includes: sending the target computing power component to the target device through the data transmission channel; sending the service data of the target service to the target device includes: sending the service data of the target service to the target device through the data transmission channel.
[0011] In some feasible examples, establishing a data transmission channel with the target device when the actual computing power required for the current needs matches the theoretical computing power includes: sending establishment information carrying a near-field communication method to the target device when the actual computing power required for the current needs matches the theoretical computing power; wherein the establishment information is used to instruct the target device to establish a data transmission channel according to the near-field communication method.
[0012] In some feasible examples, sending the target computing power component to the target device through the data transmission channel includes: processing the target computing power component to obtain a processed target computing power component; and sending the processed target computing power component to the target device through the data transmission channel; wherein the processing includes at least one of component classification and encryption.
[0013] In some feasible examples, computing power broadcasting also includes theoretical communication methods supported by peripheral devices; when the actual computing power required at the current time matches the theoretical computing power, sending establishment information carrying near-field communication methods to the target device, including: when the actual computing power required at the current time matches the theoretical computing power, obtaining an actual communication method that matches the service type of the target service; when a theoretical communication method that is the same as the actual communication method exists, sending establishment information carrying near-field communication methods to the target device; wherein, the near-field communication method is the same as the actual communication method.
[0014] In some feasible examples, obtaining the actual communication method that matches the business type of the target business includes: querying based on the business type of the target business to obtain the corresponding target communication method; and using the target communication method as the actual communication method that matches the business type of the target business.
[0015] In some feasible examples, with a data transmission channel established, component screening of the target device is performed through the data transmission channel to determine the target computing power components. This includes: splitting the target service into tasks to obtain at least one sub-task, and sending query information to the target device through the data transmission channel; wherein the query information is used to instruct the target device to report the actual computing power components currently installed, as well as the configuration data of each actual computing power component, the configuration data including at least version information; receiving the reporting information sent by the target device; wherein the reporting information includes the actual computing power components currently installed on the target device, as well as the configuration data of each actual computing power component; and performing component screening based on the theoretical and actual computing power components required to run the sub-tasks to obtain the target computing power components.
[0016] Secondly, this disclosure provides a computing power collaboration method, including: receiving establishment information sent by a negotiation device; establishing a data transmission channel with the negotiation device based on the establishment information; receiving a target computing power component sent by the negotiation device; wherein the target computing power component includes computing power components that the target device lacks, or computing power components that the target device needs to update; loading components based on the target computing power component, and processing the business data of the target service sent by the negotiation device to obtain the processing result of the business data; and sending the processing result to the negotiation device.
[0017] In some feasible examples, before receiving the establishment information sent by the negotiation device, the method further includes: sending a computing power broadcast when the device is powered on; wherein the computing power broadcast carries the theoretical computing power that can be provided.
[0018] In some feasible examples, receiving establishment information sent by the negotiation device includes: receiving establishment information carrying near-field communication method sent by the negotiation device; wherein, the establishment information is used to instruct the target device to establish a data transmission channel according to the near-field communication method, the target device is a peripheral device corresponding to the theoretical computing power that matches the actual computing power, and the actual computing power is the computing power currently required by the negotiation device in the process of running the target service.
[0019] In some implementable examples, when the device is powered on, sending a computing power broadcast includes: when the device is powered on, determining the theoretical computing power that the device can provide; and sending a computing power broadcast carrying the theoretical computing power that can be provided based on the theoretical computing power that can be provided.
[0020] In some feasible examples, determining the theoretical computing power that the device can provide when the device is powered on includes: obtaining the remaining resources of the computing hardware when the device is powered on; wherein the computing hardware includes at least one or more of a central processing unit, a graphics processing unit, a computing center for the vehicle motion domain, and memory; and statistically analyzing the remaining resources to obtain the theoretical computing power that can be provided.
[0021] Thirdly, this disclosure provides a computing power collaboration device, comprising: a negotiation unit configured to control an acquisition unit to acquire computing power broadcasts sent by peripheral devices during the operation of a target service; wherein the computing power broadcasts carry the theoretical computing power that the peripheral devices can provide; a communication unit further configured to establish a data transmission channel with a target device when the actual computing power currently required matches the theoretical computing power acquired by the acquisition unit, wherein the target device is a peripheral device corresponding to the theoretical computing power that matches the actual computing power; a computing unit further configured to perform component screening on the target device to determine the target computing power components; a sending unit further configured to send the target computing power components to the target device; a sending unit further configured to send the service data of the target service to the target device; and a receiving unit further configured to receive the processing results of the service data sent by the target device.
[0022] In some feasible examples, the computing unit is also configured to perform component screening on the target device through the data transmission channel, in the case of establishing a data transmission channel, to determine the target computing power components; wherein the target computing power components include computing power components that the target device lacks, or computing power components that the target device needs to update.
[0023] In some feasible examples, the sending unit is also configured to send the target computing power component to the target device through the data transmission channel; the sending unit is also configured to send the service data of the target service to the target device through the data transmission channel.
[0024] In some feasible examples, the communication unit is further configured to control the sending unit to send establishment information carrying a near-field communication method to the target device when the actual computing power required at the current time matches the theoretical computing power acquired by the acquisition unit; wherein the establishment information is used to instruct the target device to establish a data transmission channel in accordance with the near-field communication method.
[0025] In some feasible examples, the sending unit is further configured to process the target computing power component to obtain a processed target computing power component; and to send the processed target computing power component to the target device through a data transmission channel; wherein the processing includes at least one of component classification and encryption.
[0026] In some feasible examples, computing power broadcasting also includes theoretical communication methods supported by peripheral devices; a communication unit, specifically configured to control the acquisition unit to acquire an actual communication method that matches the service type of the target service when the actual computing power required at the current time matches the theoretical computing power acquired by the acquisition unit; and a communication unit, specifically configured to control the sending unit to send establishment information carrying a near-field communication method to the target device when a theoretical communication method identical to the actual communication method acquired by the acquisition unit exists; wherein, the near-field communication method is the same as the actual communication method.
[0027] In some feasible examples, the acquisition unit is specifically configured to query based on the service type of the target service to obtain the corresponding target communication method; the acquisition unit is specifically configured to use the target communication method as the actual communication method that matches the service type of the target service.
[0028] In some feasible examples, the computing unit is specifically configured to, when a data transmission channel is established, split the target service into at least one sub-task and control the sending unit to send query information to the target device through the data transmission channel; wherein, the query information is used to instruct the target device to report the actual computing power components currently installed, as well as the configuration data of each actual computing power component, and the configuration data includes at least the version information.
[0029] The receiving unit is specifically configured to receive the reported information sent by the target device; wherein, the reported information includes the actual computing power components currently installed on the target device, and the configuration data of each actual computing power component;
[0030] The computing unit is specifically configured to screen the theoretical computing power components required to run the subtask and the actual computing power components received by the receiving unit to obtain the target computing power components.
[0031] Fourthly, this disclosure provides a computing power collaboration device, comprising: a receiving unit, further configured to receive establishment information sent by a negotiation device; a communication unit, further configured to establish a data transmission channel with the negotiation device based on the establishment information received by the receiving unit; the receiving unit, further configured to receive a target computing power component sent by the negotiation device; wherein the target computing power component includes a computing power component that the target device lacks, or a computing power component that the target device needs to update; a processing unit, further configured to load components based on the target computing power component received by the receiving unit, and process the service data of the target service sent by the negotiation device to obtain the processing result of the service data; the processing unit, further configured to control the sending unit to send the processing result to the negotiation device.
[0032] In some feasible examples, the sending unit is configured to send a computing power broadcast when the device is powered on; wherein the computing power broadcast carries the theoretical computing power that can be provided.
[0033] In some feasible examples, the communication unit is also configured to receive establishment information carrying near-field communication method sent by the negotiation device; wherein, the establishment information is used to instruct the target device to establish a data transmission channel according to the near-field communication method, the target device is a peripheral device corresponding to the theoretical computing power that matches the actual computing power, and the actual computing power is the computing power currently required by the negotiation device in the process of running the target service.
[0034] In some feasible examples, the processing unit is specifically configured to determine the theoretical computing power that the device can provide when the device is powered on; the processing unit is specifically configured to control the sending unit to send a computing power broadcast carrying the theoretical computing power that can be provided based on the theoretical computing power that can be provided.
[0035] In some feasible examples, the processing unit is specifically configured to control the acquisition unit to acquire the remaining resources of the computing hardware when the device is powered on; wherein the computing hardware includes at least one or more of the following: a central processing unit, a graphics processing unit, a computing center for the vehicle motion domain, and memory; the processing unit is specifically configured to perform statistics on the remaining resources acquired by the acquisition unit to obtain the theoretical computing power that can be provided.
[0036] Fifthly, this disclosure provides an electronic device, including: a memory and a processor, wherein the memory is used to store a computer program; and the processor is used to cause the electronic device to implement the computing power collaboration method provided in the first aspect above when executing the computer program.
[0037] In a sixth aspect, this disclosure provides a computer-readable storage medium, comprising: a computer program stored on the computer-readable storage medium, wherein when the computer program is executed by a computing device, the computing device implements the computing power collaboration method provided in the first aspect above.
[0038] In a seventh aspect, this disclosure provides an electronic device, including: a memory and a processor, wherein the memory is used to store a computer program; and the processor is used to cause the electronic device to implement the computing power collaboration method provided in the second aspect above when executing the computer program.
[0039] Eighthly, this disclosure provides a computer-readable storage medium, comprising: a computer program stored on the computer-readable storage medium, wherein when the computer program is executed by a computing device, the computing device implements the computing power collaboration method provided in the second aspect above.
[0040] Ninthly, this disclosure provides a vehicle including any of the computing power collaboration devices provided in the third aspect, or any of the computing power collaboration devices provided in the fourth aspect.
[0041] In a tenth aspect, this disclosure provides a computing power collaboration system, including a computing power collaboration device as provided in the third aspect and a computing power collaboration device as provided in the fourth aspect.
[0042] In the eleventh aspect, this disclosure provides a computer program product, which includes a computer program that, when executed by a processor, implements the computing power collaboration method provided in the first aspect above, or the computing power collaboration method provided in the second aspect above.
[0043] In this disclosure, the names of the aforementioned computing power collaboration devices do not limit the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear under other names. As long as the functions of each device or functional module are similar to those of this disclosure, they fall within the scope of the claims of this disclosure and their equivalents.
[0044] These or other aspects of this disclosure will become more readily apparent in the following description.
[0045] The technical solution provided in this disclosure has the following advantages compared with the prior art:
[0046] The computing power collaboration method disclosed herein acquires computing power broadcasts from peripheral devices during the operation of a target service. Then, by matching the actual and theoretical computing power required for the current operation, peripheral devices suitable for computing power collaboration can be identified. For example, if the actual and theoretical computing power match, a data transmission channel is established with the target device. After establishing this channel, computing power collaboration can be performed. Since the computing power components required to run the target service may differ from those currently available on the target device, component screening is performed on the target device after establishing the data transmission channel to identify missing or updated computing power components. The target computing power components are then sent to the target device, ensuring its ability to run the target service normally. Finally, the processing results of the service data sent by the target device are received. Thus, computing power collaboration based on peripheral devices can be achieved without requiring collaboration with the cloud. Meanwhile, compared to data transmission with the cloud, data transmission with peripheral devices via near-field communication (NFC) reduces the data transmission distance, thus shortening latency. Furthermore, peripheral devices have lower operating costs compared to the cloud, reducing the cost of collaborative computing and improving user experience. This addresses the limitations of current industry solutions that rely heavily on the powerful computing capabilities of cloud servers, which suffer from network dependence, high latency, and high costs. Attached Figure Description
[0047] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0048] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0049] Figure 1 is a schematic flowchart of one of the computing power collaboration methods provided in this embodiment of the present disclosure;
[0050] Figure 2 is a schematic diagram of one scenario of a computing power collaboration method provided in an embodiment of this disclosure;
[0051] Figure 3 is a second schematic diagram of a scenario for a computing power collaboration method provided in an embodiment of this disclosure;
[0052] Figure 4 is a second schematic flowchart of a computing power collaboration method provided in an embodiment of this disclosure;
[0053] Figure 5 is a third schematic flowchart of a computing power collaboration method provided in this embodiment of the present disclosure;
[0054] Figure 6A is a fourth schematic flowchart of a computing power collaboration method provided in an embodiment of this disclosure;
[0055] Figure 6B is a fifth schematic flowchart of a computing power collaboration method provided in an embodiment of this disclosure;
[0056] Figure 7 is a schematic flowchart of a computing power collaboration method provided in an embodiment of this disclosure;
[0057] Figure 8 is a schematic diagram of one of the structures of a computing power collaboration device provided in an embodiment of this disclosure;
[0058] Figure 9 is a schematic diagram of the structure of a vehicle-mounted terminal provided in an embodiment of this disclosure;
[0059] Figure 10 is one of the structural schematic diagrams of a computer program product of a computing power collaboration method provided in an embodiment of this disclosure;
[0060] Figure 11 is a second schematic diagram of a computing power collaboration device provided in an embodiment of this disclosure;
[0061] Figure 12 is a second structural schematic diagram of a vehicle-mounted terminal provided in an embodiment of this disclosure;
[0062] Figure 13 is a second schematic diagram of the structure of a computer program product of a computing power collaboration method provided in an embodiment of this disclosure. Detailed Implementation
[0063] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0064] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.
[0065] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0066] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0067] TensorFlow, as described in this disclosure, is an open-source machine learning framework.
[0068] The execution subject of the computing power collaboration method in this embodiment is a computing power collaboration device, which can be located in a server or other device; this embodiment does not limit this. For example, when the computing power collaboration device is located in a vehicle, a new energy vehicle, or an intelligent connected vehicle, the execution subject of the computing power collaboration method provided in this embodiment is the vehicle's processor.
[0069] For example, taking a vehicle as the executing entity for the computing power collaboration method provided in this embodiment of the present disclosure, the computing power collaboration method provided in this embodiment of the present disclosure will be introduced.
[0070] As shown in Figure 1, the computing power collaboration method provided in this embodiment includes the following steps S11-S16:
[0071] S11. During the operation of the target service, acquire the computing power broadcast sent by the surrounding devices.
[0072] Among them, the computing power broadcast carries the theoretical computing power that peripheral devices can provide.
[0073] In some examples, the scenario of the computing power collaboration method provided in this disclosure is shown in Figure 2, including a smart car, a computing power box, a mobile terminal (such as a mobile phone, a personal computer (PC), etc.), and Internet of Things (IoT) peripherals. The smart car can communicate with any one of the computing power box, mobile terminal, and IoT peripherals via near-field communication technologies (such as mobile hotspot Wi-Fi, Bluetooth, Ethernet). Subsequently, the smart car can construct an Artificial Intelligence (AI) computing power network with one or more of the established communication connections—the computing power box, mobile terminal, or IoT peripherals—and establish a data transmission channel and AI computing power collaboration architecture on this AI computing power network. The smart car can then realize more intelligent AI scenarios on the AI computing power network. These AI scenarios include speech recognition, facial recognition, touch recognition, gesture recognition, iris recognition, and biometric recognition.
[0074] In some examples, the computing power box can be a local hardware device that provides computing power or a gateway, etc.
[0075] In some examples, the vehicle provided in this disclosure can be the aforementioned intelligent vehicle. In this case, the intelligent vehicle can establish a communication connection with the target device through near-field communication technology, thereby constructing an AI computing power network and realizing collaborative computing. The target device includes one or more of a computing power box, a mobile terminal, and IoT peripherals.
[0076] In one embodiment, during the operation of the target service, the computing power broadcast of the surrounding devices can be obtained according to a preset computing power allocation scheme. Here, the implementation method of the preset computing power allocation scheme is not specifically limited. For example, the preset computing power allocation scheme can be: determine whether the actual computing power currently required is greater than the computing power currently available by the device. If the actual computing power currently required is greater than the computing power currently available by the device, then the computing power broadcast sent by the surrounding devices is obtained.
[0077] S12. When the actual computing power required matches the theoretical computing power, establish a data transmission channel with the target device.
[0078] For example, when the actual computing power required matches the theoretical computing power, an establishment message can be sent to the target device. This establishment message instructs the target device to establish a data transmission channel; the target device is a peripheral device with theoretical computing power matching the actual computing power.
[0079] In some examples, actual computing power includes one or more of the following: the resources required by the Central Processing Unit (CPU), the resources required by the graphics processing unit (GPU), the resources required by the Compute Control Unit (XCU) in the vehicle motion domain, and the resources required by memory.
[0080] In some examples, theoretical computing power includes one or more of the remaining resources of the CPU, GPU, XCU, and memory.
[0081] For example, taking actual computing power including CPU resource requirements, GPU resource requirements, XCU resource requirements, and memory resource requirements, and theoretical computing power including remaining CPU resources, GPU resources, XCU resources, and memory resources as an example, assume peripheral devices include device 1 and device 2. Device 1's theoretical computing power includes 70% remaining CPU resources, 20% remaining GPU resources, 10% remaining XCU resources, and 20% remaining memory resources. Device 2's theoretical computing power includes 30% remaining CPU resources, 50% remaining GPU resources, 50% remaining XCU resources, and 10% remaining memory resources. In this case, if the actual computing power is 60% CPU resource requirements, 10% GPU resource requirements, 5% XCU resource requirements, and 15% memory resource requirements, then... At this point, a comparison reveals that the remaining CPU resources of device 1 exceed the CPU's actual computing power requirements, as do the remaining GPU resources, XCU resources, and memory resources. Similarly, the remaining CPU resources of device 1 are less than the CPU's actual computing power requirements, while the remaining GPU resources, XCU resources, and memory resources are less than the memory resources. Therefore, the vehicle's actual computing power matches the theoretical computing power of device 1, but the vehicle's actual computing power does not match the theoretical computing power of device 2. Thus, device 1 can be considered the target device.
[0082] In some examples, when multiple theoretical computing powers match the actual computing power, a device corresponding to a theoretical computing power can be randomly selected from among the multiple theoretical computing powers as the target device.
[0083] Alternatively, the difference between the remaining and required resources for each category within the theoretical and actual computing power can be calculated, and all differences can be summed to obtain a total value. Then, the sum of the actual computing power and each theoretical computing power is calculated, and the device with the highest sum of theoretical computing power is selected as the target device.
[0084] For example, taking actual computing power including CPU resource requirements, GPU resource requirements, XCU resource requirements, and memory resource requirements, and theoretical computing power including remaining CPU resources, GPU resources, XCU resources, and memory resources as an example, assume peripheral devices include device 1 and device 2. Device 1's theoretical computing power includes 70% remaining CPU resources, 20% remaining GPU resources, 10% remaining XCU resources, and 20% remaining memory resources. Device 2's theoretical computing power includes 80% remaining CPU resources, 50% remaining GPU resources, 50% remaining XCU resources, and 30% remaining memory resources. In this case, if the actual computing power is 60% CPU resource requirements, 10% GPU resource requirements, 5% XCU resource requirements, and 15% memory resource requirements, then... At this point, a comparison reveals that the remaining CPU resources of device 1 exceed the CPU's actual computing power requirements, as do the remaining GPU resources, XCU resources, and memory resources. Similarly, the remaining CPU resources of device 1 exceed the CPU's actual computing power requirements, as do the remaining GPU resources, XCU resources, and memory resources. Therefore, the vehicle's actual computing power matches the theoretical computing power of device 1, and the vehicle's actual computing power matches the theoretical computing power of device 2. At this point, the difference between the remaining resources and required resources for each category in the theoretical computing power and the actual computing power can be calculated, and all differences can be summed to obtain a total value. For example, the total value for vehicle and equipment 1 is (70%-60%+20%-10%+10%-5%+20%-15%) = 0.3, and the total value for vehicle and equipment 2 is (80%-60%+50%-10%+50%-5%+30%-15%) = 1.2. Since the total value for vehicle and equipment 1 is less than the total value for vehicle and equipment 2, equipment 2 can be used as the target equipment.
[0085] In some examples, when the actual computing power required for the current needs matches the theoretical computing power, a data transmission channel is established with the target device, including: when the actual computing power required for the current needs matches the theoretical computing power, sending establishment information carrying near-field communication method to the target device; wherein, the establishment information is used to instruct the target device to establish a data transmission channel according to the near-field communication method.
[0086] Understandably, when the actual computing power matches the theoretical computing power, information carrying the near-field communication method is sent to the target device. In this way, the target device can establish a data transmission channel with the vehicle according to the near-field communication method. After that, the target device and the vehicle can perform computing power collaboration through the data transmission channel.
[0087] S13. Screen the target equipment for components and determine the target computing power components.
[0088] The target computing power components include computing power components that the target device lacks, or computing power components that the target device needs to update.
[0089] In some examples, component screening is performed on the target device to determine the target computing power components, including: when a data transmission channel is established, component screening is performed on the target device through the data transmission channel to determine the target computing power components.
[0090] In some examples, the component selection process between the vehicle and the target device includes: obtaining the actual computing power components currently available on the target device; then, obtaining the theoretical computing power components required to run the target service; and finally, comparing the differences between the theoretical and actual computing power components to determine the target computing power components.
[0091] In some feasible examples, the above S13 can be specifically implemented by the following S130-S132.
[0092] S130. With a data transmission channel established, the target service is task-splitting to obtain at least one sub-task, and query information is sent to the target device through the data transmission channel. The query information instructs the target device to report the currently installed actual computing power components and the configuration data for each actual computing power component, with the configuration data including at least version information.
[0093] S131. Receive the reporting information sent by the target device. The reporting information includes the actual computing power components currently installed on the target device, and the configuration data of each actual computing power component.
[0094] S132. Based on the theoretical computing power components and actual computing power components required to run the sub-task, perform component screening to obtain the target computing power components.
[0095] In some examples, after receiving at least one subtask corresponding to the target task, the vehicle can distribute some of the subtasks to the target device for processing. Then, the processing results from the target device and the processing results from the subtasks processed by the vehicle are aggregated to obtain the final processing result of the target task. In some examples, the target computing power component can be one or more of the following: a trained model file, a pre-built Docker image, or a customized system image.
[0096] S14. Send the target computing power component to the target device.
[0097] In this embodiment of the disclosure, after the data transmission channel is established, the vehicle can send the target computing power component to the target device through the data transmission channel.
[0098] In some examples, the target computing power component can be processed to obtain a processed target computing power component. Then, the processed target computing power component is sent to the target device via a data transmission channel. The processing includes at least one of component classification and encryption.
[0099] In some examples, when sending the processed target computing power components to the target device via the data transmission channel, the total number of target computing power components within the same component category can be counted. Then, in descending order, the target computing power components corresponding to each total number in the component category are sent to the target device via the data transmission channel.
[0100] Alternatively, when sending the processed target computing power components to the target device via the data transmission channel, the total number of target computing power components within the same component category can be counted. Then, in descending order, the target computing power components in each component category corresponding to the total number are encrypted, and the encrypted target computing power components are then sent to the target device via the data transmission channel.
[0101] In some examples, different component categories correspond to different encryption methods. When the processed target computing power component is sent to the target device via the data transmission channel, the component category of the target computing power component can be determined (e.g., component category 1). Then, in the pre-configured target relationship, a query is performed according to component category 1 to obtain the encryption method corresponding to component category 1 (e.g., encryption method 1). Subsequently, the target computing power component in component category 1 is encrypted according to encryption method 1, and the encrypted target computing power component is sent to the target device via the data transmission channel.
[0102] S15. Send the service data of the target service to the target device.
[0103] In this embodiment of the disclosure, after the data transmission channel is established, the vehicle can send the service data of the target service to the target device through the data transmission channel.
[0104] S16. Receive the processing results of the service data sent by the target device.
[0105] In some examples, the vehicle can provide prompts based on the processing results sent by the target device, so that the user can understand the processing results of the target service.
[0106] In some examples, the vehicle is referred to as device A (vehicle infotainment system), and peripheral devices are referred to as device B, such as mobile terminals, local hardware devices that can provide computing power, or gateways.
[0107] For example, taking device A as the negotiating device and device B as the target device, device A is the vehicle system and device B is a mobile phone with computing power services deployed on the mobile phone as an example, the interaction process between device A and device B is shown in Figure 3.
[0108] When the mobile phone is powered on, its computing power service detects the current hardware (such as internal protective storage, CPU, GPU, XCU) and performs computing power abstraction to obtain the theoretical computing power that the phone can provide. Based on this theoretical computing power, the phone's computing power service sends a computing power broadcast carrying the theoretical computing power, thus completing the computing power registration process. Subsequently, when the vehicle's computing mobile phone software (application, APP) 1 is running the target service, if the actual computing power required is greater than the device's current computing power, it performs a computing power query process, such as obtaining computing power broadcasts sent by surrounding devices (e.g., querying the computing power broadcasts of surrounding devices via wireless or wired detection packets). The computing power broadcast carries the theoretical computing power that the surrounding devices can provide. Subsequently, the vehicle's computing APP1 performs a computing power perception process based on the computing power broadcast. This includes determining whether the theoretical computing power in the broadcast is greater than 0. If the theoretical computing power is greater than 0 and the actual computing power matches the theoretical computing power (e.g., the actual computing power is less than the theoretical computing power), the vehicle's computing APP1 executes a computing power request process. For example, if the actual computing power matches the theoretical computing power, it sends establishment information carrying the near-field communication method to the target device (e.g., a mobile phone). This establishment information instructs the target device to establish a data transmission channel using the near-field communication method. The target device is a peripheral device corresponding to the theoretical computing power that matches the actual computing power. The mobile phone's computing APP1 receives the establishment information carrying the near-field communication method sent by the vehicle's system. This establishment information instructs the target device to establish a data transmission channel using the near-field communication method. The target device is a peripheral device corresponding to the theoretical computing power that matches the actual computing power, and the actual computing power is the computing power currently required by the vehicle's system during the operation of the target service. Based on the establishment information, the mobile phone establishes a data transmission channel with the system using the near-field communication method. Simultaneously, the mobile phone's computing power service utilizes the current hardware's computing power to ensure the processing of data sent by the vehicle's infotainment system. After establishing a data transmission channel between the vehicle's infotainment system and the mobile phone, a computing power negotiation process is executed. For example, the vehicle's computing app 1, with the data transmission channel established, uses the data transmission channel to screen components with the mobile phone's computing power service to determine the target computing power components. These target computing power components include those missing from the mobile phone or those that need to be updated. Thus, the vehicle's computing app 1 can identify the target computing power components that the mobile phone lacks for executing the target task. Then, the vehicle's computing app 1 executes a component push process. For example, the vehicle sends the target computing power components to the mobile phone's computing power service through the data transmission channel; the mobile phone's computing power service receives the target computing power components sent by the vehicle. These target computing power components include those missing from the mobile phone or those that need to be updated. For example, the target computing power components may include a deep learning model (Generative Pre-Trained, GPT) component and a TensorFlow component.The mobile phone's computing power service loads components based on the GPT and TensorFlow components included in the target computing power component, and starts computing after loading the target computing power component. The vehicle's computing APP1 sends the target service's business data to the mobile phone. The mobile phone's computing power service processes the target service's business data sent by the vehicle's system and obtains the processing result. The mobile phone sends the processing result back to the vehicle's system. The vehicle's computing APP1 receives the processing result of the business data sent by the mobile phone. In this way, the computing power collaboration between the vehicle's system and the mobile phone is completed.
[0109] It should be noted that the above example illustrates the deployment of computing power services locally on the target device. In other examples, computing power services can also be deployed in the cloud, such as on a server. The process for deploying computing power services in the cloud is similar to that for deploying computing power services locally on the target device, and is not limited here.
[0110] In some examples, establishing a data transmission channel between device A and device B ensures fast and accurate data and command transmission between the devices. The establishment and management of this channel employ advanced network transmission protocols and control mechanisms to guarantee the reliability and real-time performance of data transmission.
[0111] As described above, the computing power collaboration method provided in this embodiment acquires computing power broadcasts from peripheral devices during the operation of the target service. Then, by matching the actual and theoretical computing power required for the current operation, peripheral devices suitable for computing power collaboration can be identified. For example, if the actual and theoretical computing power required for the current operation match, establishment information carrying near-field communication is sent to the target device to establish a data transmission channel. After establishing the data transmission channel, the target device and the vehicle can then collaborate on computing power. Since the computing power components required to run the target service may differ from the existing computing power components of the target device, the vehicle, upon establishing a data transmission channel with the target device, performs component screening through the data transmission channel to identify any missing or needing-updated computing power components. The vehicle then sends the target computing power components to the target device, ensuring that the target device can operate the target service normally. The vehicle then receives the processing results of the service data sent by the target device. Thus, the vehicle can collaborate on computing power based on peripheral devices without needing to collaborate with the cloud. Meanwhile, compared to data transmission between vehicles and the cloud, data transmission between vehicles and surrounding devices via near-field communication reduces data transmission latency and improves user experience due to the shorter data transmission distance.
[0112] In some feasible examples, computing power broadcasting also includes theoretical communication methods supported by peripheral devices; referring to Figure 1, as shown in Figure 4, the above S12 can be specifically implemented through the following S120 and S121.
[0113] S120. When the actual computing power required matches the theoretical computing power, obtain the actual communication method that matches the business type of the target business.
[0114] In some examples, the service type includes any one of voice recognition, face recognition, touch screen recognition, gesture recognition, iris recognition, and biometrics.
[0115] S121. In the case that there is a theoretical communication method that is the same as the actual communication method, send establishment information carrying the near-field communication method to the target device; wherein, the near-field communication method is the same as the actual communication method.
[0116] In some examples, since different service types require different amounts of data to be transmitted, different actual communication methods can be selected for different service types. These actual communication methods include any one of mobile hotspot Wi-Fi, Bluetooth, and Ethernet, while theoretical communication methods include at least Wi-Fi, Bluetooth, and Ethernet.
[0117] For example, the theoretical communication methods supported by the target device include at least Wi-Fi, Bluetooth, and Ethernet, and the service types include voice recognition and face recognition. The actual communication method corresponding to voice recognition is Bluetooth, and the actual communication method corresponding to face recognition is Wi-Fi.
[0118] If the target service type is voice recognition, then the actual communication method corresponding to voice recognition can be determined to be Bluetooth. Since a theoretical communication method identical to the actual communication method exists, establishment information carrying the near-field communication (Bluetooth) method is sent to the target device. Upon receiving the establishment information from the negotiating device, the target device establishes a data transmission channel with the negotiating device based on Bluetooth communication.
[0119] or,
[0120] If the target service type is facial recognition, then the actual communication method corresponding to facial recognition can be determined to be Wi-Fi. Since a theoretical communication method identical to the actual communication method exists, establishment information carrying the near-field communication (Wi-Fi) method is sent to the target device. Upon receiving the establishment information from the negotiating device, the target device establishes a data transmission channel with the negotiating device based on Wi-Fi communication.
[0121] In some feasible examples, referring to Figure 4 and as shown in Figure 5, the above S120 can be specifically implemented by the following S1200 and S1201.
[0122] S1200: Query based on the service type of the target service to obtain the corresponding target communication method.
[0123] In some examples, when the actual computing power for the current demand matches the theoretical computing power, a query is performed based on the business type of the target service from a pre-configured mapping relationship to obtain the corresponding target communication method. This mapping relationship includes the correspondence between business types and target communication methods.
[0124] In some examples, different business types require different computing power, and different communication methods can transmit different amounts of data. Therefore, the computing power collaboration method provided in this disclosure uses different communication methods to transmit data of different business types, that is, it establishes a correspondence between business types and communication methods. Based on this correspondence, it can determine the communication method required for the business type corresponding to the target business, thereby avoiding the waste of communication resources.
[0125] For example, taking business types including voice recognition and face recognition as an example, the pre-configured correspondence is shown in Table 1.
[0126] Table 1
[0127] Assuming that the peripheral device corresponding to the theoretical computing power matching the actual computing power is device 1, and the target service type is voice recognition, then according to Table 1, the target communication method corresponding to voice recognition is Bluetooth. Therefore, the vehicle can use Bluetooth as the actual communication method matching the target service type. That is, the vehicle and device 1 establish a data transmission channel via Bluetooth.
[0128] Alternatively, if the peripheral device corresponding to the theoretical computing power matching the actual computing power is device 2, and the target service type is face recognition, then according to Table 1, the target communication method corresponding to voice recognition is Wi-Fi. Therefore, the vehicle can use Wi-Fi as the actual communication method matching the target service type. That is, the vehicle and device 1 establish a data transmission channel via Wi-Fi.
[0129] S1201. Based on the target communication method, the target communication method is used as the actual communication method that matches the business type of the target business.
[0130] For example, taking a mobile phone as the executing entity for the computing power collaboration method provided in this embodiment of the disclosure, the computing power collaboration method provided in this embodiment of the disclosure will be introduced.
[0131] As shown in Figure 6A, the computing power collaboration method provided in this embodiment includes the following steps S22-S26:
[0132] S22. Receive the establishment information sent by the negotiation device.
[0133] S23. Based on the established information, establish a data transmission channel with the negotiation equipment.
[0134] S24. Receive the target computing power component sent by the negotiation device.
[0135] The target computing power components include computing power components that the target device lacks, or computing power components that the target device needs to update.
[0136] S25. Load the component based on the target computing power component, and process the service data of the target service sent by the negotiation device to obtain the processing result of the service data.
[0137] S26. Send the processing result to the negotiation device.
[0138] In some feasible examples, as shown in Figure 6B, the computing power collaboration method may also include the content of S21 before S22 above:
[0139] S21: Send computing power broadcast when the device is powered on.
[0140] Among them, the computing power broadcast carries the theoretical computing power that can be provided.
[0141] In some feasible examples, the above S22 may specifically include: receiving establishment information carrying near-field communication method sent by the negotiation device; wherein, the establishment information is used to instruct the target device to establish a data transmission channel according to the near-field communication method, the target device is a peripheral device corresponding to the theoretical computing power that matches the actual computing power, and the actual computing power is the computing power currently required by the negotiation device in the process of running the target service.
[0142] In some feasible examples, referring to Figure 6B, as shown in Figure 7, the above S21 can be specifically implemented by the following S210 and S211.
[0143] S210. With the device powered on, determine the theoretical computing power that the device can provide;
[0144] S211. Based on the available theoretical computing power, send a computing power broadcast carrying the available theoretical computing power.
[0145] In some embodiments, when the device is powered on, determining the theoretical computing power that the device can provide includes: when the device is powered on, detecting the current hardware and performing computing power abstraction to obtain the theoretical computing power that the device can provide.
[0146] For example, the current hardware refers to the hardware with computing capabilities in the device. For instance, in the case of a mobile phone, the current hardware may include internal protective storage, CPU, GPU, XCU, etc. Abstracting the computing power of the current hardware means abstracting the computing power of the current hardware into a specific computing power value, which is the theoretical computing power that the device can provide.
[0147] In some examples, when the device is powered on, determining the theoretical computing power that the device can provide includes: when the device is powered on, acquiring the remaining resources of the computing hardware; wherein the computing hardware includes at least one or more of a central processing unit, a graphics processing unit, a computing center for the vehicle motion domain, and memory; and statistically analyzing the remaining resources to obtain the theoretical computing power that can be provided.
[0148] The foregoing primarily describes the solutions provided by the embodiments of this disclosure from a methodological perspective. To achieve the aforementioned functions, it includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, this disclosure can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art 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 disclosure.
[0149] This disclosure embodiment can divide the computing power collaboration device into functional modules according to the above method examples. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this disclosure embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.
[0150] Figure 8 shows a schematic diagram of the structure of a computing power collaboration device 10 provided in an embodiment of this disclosure. It includes a negotiation unit 101, an acquisition unit 102, a communication unit 103, a sending unit 104, a calculation unit 105, and a receiving unit 106.
[0151] Negotiation unit 101 is configured to control acquisition unit 102 to acquire computing power broadcasts sent by peripheral devices during the operation of the target service; wherein the computing power broadcasts carry the theoretical computing power that the peripheral devices can provide; communication unit 103 is further configured to establish a data transmission channel with the target device when the actual computing power required at present matches the theoretical computing power acquired by acquisition unit 102, wherein the target device is the peripheral device corresponding to the theoretical computing power that matches the actual computing power; calculation unit 105 is further configured to perform component screening on the target device to determine the target computing power components; sending unit 104 is further configured to send the target computing power components to the target device; sending unit 104 is further configured to send the service data of the target service to the target device; receiving unit 106 is further configured to receive the processing results of the service data sent by the target device.
[0152] In some feasible examples, computing unit 105 is further configured to perform component screening on the target device through the data transmission channel when a data transmission channel is established, to determine target computing power components; wherein the target computing power components include computing power components that the target device lacks, or computing power components that the target device needs to update.
[0153] In some feasible examples, the sending unit 104 is further configured to send the target computing power component to the target device through the data transmission channel; the sending unit 104 is also configured to send the service data of the target service to the target device through the data transmission channel.
[0154] In some feasible examples, the communication unit 103 is further configured to control the sending unit 104 to send establishment information carrying a near-field communication method to the target device when the actual computing power required at the current time matches the theoretical computing power acquired by the acquisition unit 102; wherein the establishment information is used to instruct the target device to establish a data transmission channel according to the near-field communication method.
[0155] In some feasible examples, the sending unit 104 is further configured to process the target computing power component to obtain a processed target computing power component; and send the processed target computing power component to the target device through the data transmission channel; wherein the processing includes at least one of component classification and encryption.
[0156] In some feasible examples, computing power broadcasting also includes theoretical communication methods supported by peripheral devices; communication unit 103 is specifically configured to control acquisition unit 102 to acquire an actual communication method that matches the service type of the target service when the actual computing power required at the current time matches the theoretical computing power acquired by acquisition unit 102; communication unit 103 is specifically configured to control sending unit 104 to send establishment information carrying near-field communication method to target device when there is a theoretical communication method that is the same as the actual communication method acquired by acquisition unit 102; wherein, the near-field communication method is the same as the actual communication method.
[0157] In some feasible examples, the acquisition unit 102 is specifically configured to query based on the service type of the target service to obtain the corresponding target communication method; the acquisition unit is specifically configured to use the target communication method as the actual communication method that matches the service type of the target service.
[0158] In some feasible examples, the computing unit 105 is specifically configured to, when a data transmission channel is established, split the target service into at least one sub-task and control the sending unit 104 to send query information to the target device through the data transmission channel; wherein, the query information is used to instruct the target device to report the actual computing power components currently installed, as well as the configuration data of each actual computing power component, and the configuration data includes at least the version information.
[0159] The receiving unit 106 is specifically configured to receive the reporting information sent by the target device; wherein, the reporting information includes the actual computing power components currently installed on the target device, and the configuration data of each actual computing power component;
[0160] The computing unit 105 is specifically configured to perform component screening based on the theoretical computing power components required to run the subtask and the actual computing power components received by the receiving unit 106 to obtain the target computing power components.
[0161] All relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and their functions will not be repeated here.
[0162] Of course, the computing power collaboration device 10 provided in this embodiment includes, but is not limited to, the modules described above. For example, the computing power collaboration device 10 may also include a storage unit 107. The storage unit 107 may be used to store the program code of the computing power collaboration device 10, and may also be used to store data generated by the computing power collaboration device 10 during operation, such as data in write requests.
[0163] Figure 9 is a schematic diagram of the structure of a vehicle terminal provided in an embodiment of the present disclosure. As shown in Figure 9, the vehicle terminal may include at least one processor 51, a memory 52, a communication interface 53, and a communication bus 54.
[0164] The following section, with reference to Figure 9, provides a detailed description of each component of the vehicle-mounted terminal:
[0165] The processor 51 is the control center of the electronic device and can be a single processor or a collective term for multiple processing elements. For example, the processor 51 can be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this disclosure, such as one or more DSPs, or one or more field-programmable gate arrays (FPGAs).
[0166] In a specific implementation, as one embodiment, processor 51 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 9. Furthermore, as one embodiment, the electronic device may include multiple processors, such as processor 51 and processor 55 shown in FIG. 9. Each of these processors may be a single-core processor (Single-CPU) or a multi-core processor (Multi-CPU). Here, "processor" may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0167] The memory 52 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. The memory 52 may exist independently and be connected to the processor 51 via the communication bus 54. The memory 52 may also be integrated with the processor 51.
[0168] In a specific implementation, memory 52 is used to store data disclosed herein and execute software programs disclosed herein. Processor 51 can perform various functions of the air conditioner by running or executing software programs stored in memory 52 and by calling data stored in memory 52.
[0169] Communication interface 53 uses any transceiver-like device for communicating with other devices or communication networks, such as Radio Access Network (RAN), Wireless Local Area Networks (WLAN), terminals, and the cloud. Communication interface 53 may include a receiving unit, a transmitting unit, and an acquiring unit to implement receiving, transmitting, and acquiring functions.
[0170] The communication bus 54 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used in Figure 9, but this does not mean that there is only one bus or one type of bus.
[0171] As an example, referring to Figure 8, the functions of the acquisition unit 102, the sending unit 104, and the receiving unit 106 in the computing power collaboration device 10 are the same as the functions of the communication interface 53 in Figure 9. The functions of the negotiation unit 101 and the calculation unit 105 in the computing power collaboration device 10 are the same as the functions of the processor 51 in Figure 9. The functions of the storage unit 107 in the computing power collaboration device 10 are the same as the functions of the memory 52 in Figure 9.
[0172] Another embodiment of this disclosure provides a computer-readable storage medium storing a computer program that, when executed by a computing device, causes the computing device to perform the mode switching method shown in the above-described method embodiments.
[0173] In some embodiments, the disclosed method may be implemented as computer program instructions encoded in a machine-readable format on a computer-readable storage medium or on other non-transitory media or articles of art.
[0174] Figure 10 schematically illustrates a conceptual partial view of a computer program product provided in an embodiment of the present disclosure, the computer program product including a computer program for executing computer processes on a computing device.
[0175] In one embodiment, the computer program product is provided using a signal carrying medium 410. The signal carrying medium 410 may include one or more program instructions that, when executed by one or more processors, can provide the functions or parts thereof described above with reference to FIG. 1. Therefore, for example, referring to the embodiment shown in FIG. 1, one or more features of S11-S16 may be borne by one or more instructions associated with the signal carrying medium 410. Furthermore, example instructions are also described in FIG. 10.
[0176] In some examples, the signal carrying medium 410 may include a computer-readable medium 411, such as, but not limited to, a hard disk drive, a compact disc (CD), a digital video disc (DVD), a digital magnetic tape, a memory, a read-only memory (ROM), or a random access memory (RAM), etc.
[0177] In some implementations, the signal carrying medium 410 may include a computer recordable medium 412, such as, but not limited to, a memory, a read / write (R / W) CD, a R / W DVD, and so on.
[0178] In some implementations, the signal carrying medium 410 may include a communication medium 413, such as, but not limited to, digital and / or analog communication media (e.g., fiber optic cables, waveguides, wired communication links, wireless communication links, etc.).
[0179] The signal-bearing medium 410 can be transmitted by a wireless communication medium 413 (e.g., a wireless communication medium conforming to the IEEE 802.41 standard or other transmission protocols). One or more program instructions can be, for example, device-executable instructions or logic implementation instructions.
[0180] In some examples, such as the computing power collaboration device 10 described with respect to FIG8, can be configured to provide various operations, functions, or actions in response to one or more program instructions in a computer-readable medium 411, a computer-recordable medium 412, and / or a communication medium 413.
[0181] Figure 11 shows a schematic diagram of a computing power collaboration device 20 provided in an embodiment of this disclosure. It includes a sending unit 201, a receiving unit 202, a communication unit 203, and a processing unit 204.
[0182] The receiving unit 202 is further configured to receive establishment information sent by the negotiation device; the communication unit 203 is further configured to establish a data transmission channel with the negotiation device based on the establishment information received by the receiving unit 202; the receiving unit 202 is further configured to receive a target computing power component sent by the negotiation device; wherein, the target computing power component includes computing power components that the target device lacks, or computing power components that the target device needs to update; the processing unit 204 is further configured to load components based on the target computing power component received by the receiving unit 202, and process the service data of the target service sent by the negotiation device to obtain the processing result of the service data; the processing unit 204 is further configured to send the processing result to the negotiation device.
[0183] In some implementable examples, the sending unit 201 is configured to send a computing power broadcast when the device is powered on; wherein the computing power broadcast carries the theoretical computing power that can be provided.
[0184] In some feasible examples, the communication unit 203 is further configured to receive establishment information carrying a near-field communication method sent by the negotiation device; wherein the establishment information is used to instruct the target device to establish a data transmission channel according to the near-field communication method, the target device is a peripheral device corresponding to the theoretical computing power that matches the actual computing power, and the actual computing power is the computing power currently required by the negotiation device in the process of running the target service.
[0185] In some implementable examples, the processing unit 204 is specifically configured to determine the theoretical computing power that the device can provide when the device is powered on; the processing unit 204 is specifically used to control the sending unit 201 to send a computing power broadcast carrying the theoretical computing power that can be provided based on the theoretical computing power that can be provided.
[0186] In some feasible examples, the processing unit 204 is specifically configured to control the acquisition unit to acquire the remaining resources of the computing hardware when the device is powered on; wherein the computing hardware includes at least one or more of the following: a central processing unit, a graphics processing unit, a computing center for the vehicle motion domain, and memory; the processing unit 204 is specifically configured to perform statistics on the remaining resources acquired by the acquisition unit to obtain the theoretical computing power that can be provided.
[0187] All relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and their functions will not be repeated here.
[0188] Of course, the computing power collaboration device 20 provided in this embodiment includes, but is not limited to, the modules described above. For example, the computing power collaboration device 20 may also include a storage unit 205. The storage unit 205 may be used to store the program code of the computing power collaboration device 20, and may also be used to store data generated by the computing power collaboration device 20 during operation, such as data in write requests.
[0189] Figure 12 is a schematic diagram of the structure of a vehicle terminal provided in an embodiment of the present disclosure. As shown in Figure 12, the vehicle terminal may include at least one processor 61, a memory 62, a communication interface 63, and a communication bus 64.
[0190] The following section, with reference to Figure 12, provides a detailed description of each component of the vehicle-mounted terminal:
[0191] The processor 61 is the control center of the electronic device and can be a single processor or a collective term for multiple processing elements. For example, the processor 61 can be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this disclosure, such as one or more DSPs, or one or more field-programmable gate arrays (FPGAs).
[0192] In a specific implementation, as one embodiment, processor 61 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 12. Furthermore, as one embodiment, the electronic device may include multiple processors, such as processor 61 and processor 65 shown in FIG. 12. Each of these processors may be a single-core processor (Single-CPU) or a multi-core processor (Multi-CPU). Here, "processor" may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0193] The memory 62 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. The memory 62 may exist independently and be connected to the processor 61 via a communication bus 64. The memory 62 may also be integrated with the processor 61.
[0194] In a specific implementation, memory 62 is used to store the data disclosed herein and to execute the software programs disclosed herein. Processor 61 can perform various functions of the air conditioner by running or executing the software programs stored in memory 62 and by calling the data stored in memory 62.
[0195] Communication interface 63 uses any transceiver-like device for communicating with other devices or communication networks, such as Radio Access Network (RAN), Wireless Local Area Networks (WLAN), terminals, and the cloud. Communication interface 63 may include a transceiver unit to implement receiving and transmitting functions.
[0196] The communication bus 64 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. This bus can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is used in Figure 12, but this does not mean that there is only one bus or one type of bus.
[0197] As an example, referring to Figure 11, the functions of the sending unit 201, receiving unit 202 and communication unit 203 in the computing power collaboration device 20 are the same as the functions of the communication interface 63 in Figure 12. The functions of the processing unit 204 in the computing power collaboration device 20 are the same as the functions of the processor 61 in Figure 12. The functions of the storage unit 205 in the computing power collaboration device 20 are the same as the functions of the memory 62 in Figure 12.
[0198] Another embodiment of this disclosure provides a computer-readable storage medium storing a computer program that, when executed by a computing device, causes the computing device to perform the mode switching method shown in the above-described method embodiments.
[0199] In some embodiments, the disclosed method may be implemented as computer program instructions encoded in a machine-readable format on a computer-readable storage medium or on other non-transitory media or articles of art.
[0200] Figure 13 schematically illustrates a conceptual partial view of a computer program product provided in an embodiment of the present disclosure, the computer program product including a computer program for executing computer processes on a computing device.
[0201] In one embodiment, the computer program product is provided using a signal carrying medium 510. The signal carrying medium 510 may include one or more program instructions that, when executed by one or more processors, can provide the functions or parts thereof described above with reference to FIG. 4. Therefore, for example, referring to the embodiment shown in FIG. 4, one or more features of S21-S26 may be performed by one or more instructions associated with the signal carrying medium 510. Furthermore, example instructions are also described in FIG. 13.
[0202] In some examples, the signal carrying medium 510 may include a computer-readable medium 511, such as, but not limited to, a hard disk drive, a compact disc (CD), a digital video disc (DVD), a digital magnetic tape, a memory, a read-only memory (ROM), or a random access memory (RAM), etc.
[0203] In some implementations, the signal carrying medium 510 may include a computer recordable medium 512, such as, but not limited to, a memory, a read / write (R / W) CD, a R / W DVD, and so on.
[0204] In some implementations, the signal carrying medium 510 may include a communication medium 513, such as, but not limited to, digital and / or analog communication media (e.g., fiber optic cables, waveguides, wired communication links, wireless communication links, etc.).
[0205] The signal-bearing medium 510 can be transmitted by a wireless communication medium 513 (e.g., a wireless communication medium conforming to the IEEE 802.41 standard or other transmission protocols). One or more program instructions can be, for example, device-executable instructions or logic implementation instructions.
[0206] In some examples, such as the computing power collaboration device 20 described with respect to FIG11, can be configured to provide various operations, functions, or actions in response to one or more program instructions in a computer-readable medium 511, a computer-recordable medium 512, and / or a communication medium 513.
[0207] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0208] In the several embodiments provided in this disclosure, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.
[0209] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0210] Furthermore, the functional units in the various embodiments of this disclosure can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0211] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this disclosure, in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0212] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for collaborative computing power, comprising: During the operation of the target service, the computing power broadcast sent by the peripheral devices is obtained; wherein the computing power broadcast carries the theoretical computing power that the peripheral devices can provide; When the actual computing power required at the current time matches the theoretical computing power, a data transmission channel is established with the target device, which is a peripheral device corresponding to the theoretical computing power that matches the actual computing power. Component screening is performed on the target device to identify the target computing power components; Send the target computing power component to the target device; Send the service data of the target service to the target device; The processing result of the service data sent by the target device is received.
2. The computing power collaboration method according to claim 1, wherein, The step of screening the target device to determine the target computing power components includes: When the data transmission channel is established, the target device is screened through the data transmission channel to determine the target computing power components; wherein, the target computing power components include computing power components that the target device lacks, or computing power components that the target device needs to update.
3. The computing power collaboration method according to claim 1 or 2, wherein, Sending the target computing power component to the target device includes: The target computing power component is sent to the target device through the data transmission channel; Sending the service data of the target service to the target device includes: The service data of the target service is sent to the target device through the data transmission channel.
4. The computing power collaboration method according to any one of claims 1 to 3, wherein, The step of establishing a data transmission channel with the target device when the actual computing power required matches the theoretical computing power includes: When the actual computing power required by the current requirement matches the theoretical computing power, establishment information carrying the near-field communication method is sent to the target device; wherein, the establishment information is used to instruct the target device to establish a data transmission channel according to the near-field communication method.
5. The computing power collaboration method according to claim 3, wherein, Sending the target computing power component to the target device through the data transmission channel includes: The target computing power component is processed to obtain the processed target computing power component; The processed target computing power component is sent to the target device through the data transmission channel; wherein the processing includes at least one of component classification and encryption.
6. The computing power collaboration method according to claim 4, wherein, The computing power broadcast also includes the theoretical communication methods supported by the peripheral devices; When the actual computing power required by the current demand matches the theoretical computing power, sending establishment information carrying near-field communication method to the target device includes: If the actual computing power required at the current time matches the theoretical computing power, obtain the actual communication method that matches the service type of the target service. In the case where a theoretical communication method identical to the actual communication method exists, information carrying the establishment of a near-field communication method is sent to the target device; wherein, the near-field communication method is identical to the actual communication method.
7. The computing power collaboration method according to claim 6, wherein, The acquisition of the actual communication method matching the service type of the target service includes: Based on the service type of the target service, a query is performed to obtain the corresponding target communication method; Based on the target communication method, the target communication method is used as the actual communication method that matches the service type of the target service.
8. The computing power collaboration method according to any one of claims 2 to 7, wherein, When the data transmission channel is established, the step of screening the target device through the data transmission channel to determine the target computing power components includes: With the data transmission channel established, the target service is split into tasks to obtain at least one sub-task, and query information is sent to the target device through the data transmission channel; wherein, the query information is used to instruct the target device to report the currently installed actual computing power components and the configuration data of each actual computing power component, and the configuration data includes at least version information; Receive the reporting information sent by the target device; wherein the reporting information includes the actual computing power components currently installed on the target device, and the configuration data of each actual computing power component; The target computing power component is obtained by screening the theoretical computing power components and the actual computing power components required to run the subtask.
9. A method for collaborative computing power, comprising: Receive the establishment information sent by the negotiation device; Based on the established information, a data transmission channel with the negotiation device is established; Receive the target computing power component sent by the negotiation device; wherein, the target computing power component includes computing power components that the target device lacks, or computing power components that the target device needs to update; The component is loaded based on the target computing power component, and the service data of the target service sent by the negotiation device is processed to obtain the processing result of the service data; The processing result is sent to the negotiation device.
10. The computing power collaboration method according to claim 9, wherein, Before receiving the establishment information sent by the negotiation device, the method further includes: When the device is powered on, it sends a computing power broadcast; wherein the computing power broadcast carries the theoretical computing power that can be provided.
11. The computing power collaboration method according to claim 9 or 10, wherein, Receive the establishment information sent by the negotiation device, including: The system receives establishment information carrying a near-field communication method sent by the negotiation device; wherein the establishment information is used to instruct the target device to establish a data transmission channel according to the near-field communication method, the target device is a peripheral device corresponding to the theoretical computing power that matches the actual computing power, and the actual computing power is the computing power currently required by the negotiation device in the process of running the target service.
12. The computing power collaboration method according to claim 10, wherein, Sending a computing power broadcast when the device is powered on includes: With the device powered on, determine the theoretical computing power that the device can provide; Based on the available theoretical computing power, a computing power broadcast carrying the available theoretical computing power is sent.
13. The computing power collaboration method according to claim 12, wherein, Determining the theoretical computing power that the device can provide when it is powered on includes: When the device is powered on, the remaining resources of the computing hardware are acquired; wherein the computing hardware includes at least one or more of a central processing unit, a graphics processing unit, a computing center for the vehicle motion domain, and memory; The remaining resources are statistically analyzed to obtain the theoretical computing power that can be provided.
14. A computing power collaboration device, comprising: The negotiation unit is configured to control the acquisition unit to acquire the computing power broadcast sent by the peripheral devices during the operation of the target service; wherein the computing power broadcast carries the theoretical computing power that the peripheral devices can provide; The communication unit is further configured to establish a data transmission channel with a target device when the actual computing power required at the current time matches the theoretical computing power obtained by the acquisition unit. The target device is a peripheral device corresponding to the theoretical computing power that matches the actual computing power. The computing unit is also configured to perform component screening on the target device to determine the target computing power components; The sending unit is further configured to send the target computing power component to the target device; The sending unit is further configured to send the service data of the target service to the target device; The receiving unit is further configured to receive the processing result of the service data sent by the target device.
15. A computing power collaboration device, comprising: The receiving unit is also configured to receive establishment information sent by the negotiation device; The communication unit is further configured to establish a data transmission channel with the negotiation device based on the establishment information received by the receiving unit; The receiving unit is further configured to receive a target computing power component sent by the negotiation device; wherein the target computing power component includes a computing power component that the target device lacks, or a computing power component that the target device needs to update; The processing unit is further configured to load components based on the target computing power components received by the receiving unit, and to process the service data of the target service sent by the negotiation device to obtain the processing result of the service data. The processing unit is further configured to send the processing result to the negotiation device.
16. An electronic device comprising: The electronic device includes a memory and a processor, the memory being configured to store a computer program; the processor being configured to, when executing the computer program, cause the electronic device to implement the computing power collaboration method according to any one of claims 1-8, or the electronic device to implement the computing power collaboration method according to claims 9-13.
17. A computer-readable storage medium comprising: The computer-readable storage medium stores a computer program that, when executed by a computing device, causes the computing device to implement the computing power collaboration method according to any one of claims 1-8, or causes the computing device to implement the computing power collaboration method according to claims 9-13.
18. A vehicle comprising the computing power collaboration device as described in claim 14, or the computing power collaboration device as described in claim 15.
19. A computing power collaboration system, comprising the computing power collaboration device as described in claim 14 and the computing power collaboration device as described in claim 15.
20. A computer program product comprising a computer program, wherein the computer program, when executed by a processor, implements the computing power collaboration method as described in any one of claims 1-8, or implements the computing power collaboration method as described in claims 9-13.
Citation Information
Patent Citations
Computing power service authentication method and device and readable storage medium
CN113157444A
Data processing method, computing power device and communication system
CN115550452A
Data processing method and device, computer equipment, storage medium and program product
CN116339763A
Method for changing device business and business change system
US20210065083A1