CN115550452B - Data processing method, power computing equipment and communication system - Google Patents
Data processing method, power computing equipment and communication system Download PDFInfo
- Publication number
- CN115550452B CN115550452B CN202211214256.3A CN202211214256A CN115550452B CN 115550452 B CN115550452 B CN 115550452B CN 202211214256 A CN202211214256 A CN 202211214256A CN 115550452 B CN115550452 B CN 115550452B
- Authority
- CN
- China
- Prior art keywords
- target service
- algorithm
- data
- computing
- equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims abstract description 66
- 238000003672 processing method Methods 0.000 title abstract description 8
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 131
- 238000012545 processing Methods 0.000 claims abstract description 48
- 238000000034 method Methods 0.000 claims abstract description 42
- 238000004364 calculation method Methods 0.000 claims abstract description 5
- 238000013468 resource allocation Methods 0.000 claims description 26
- 230000005540 biological transmission Effects 0.000 claims description 6
- 230000009286 beneficial effect Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 5
- 238000004590 computer program Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- KAICRBBQCRKMPO-UHFFFAOYSA-N phosphoric acid;pyridine-3,4-diamine Chemical compound OP(O)(O)=O.NC1=CC=NC=C1N KAICRBBQCRKMPO-UHFFFAOYSA-N 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000005242 forging Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application provides a data processing method, power computing equipment and a communication system, relates to the technical field of communication, and can more flexibly process various services. The communication system includes: terminal equipment, network equipment and power calculation equipment; the terminal equipment is used for determining the algorithm of the target service and the data of the target service and sending the algorithm of the target service and the data of the target service to the network equipment; the algorithm of the target service is an algorithm required for processing the data of the target service; the network equipment is used for receiving the algorithm of the target service and the data of the target service and sending the algorithm of the target service and the data of the target service to the power computing equipment; and the computing equipment is used for receiving the algorithm of the target service and the data of the target service, distributing resources for the target service based on the algorithm of the target service, and processing the data of the target service based on the resources and the algorithm of the target service. The embodiment of the application is used in a communication system.
Description
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a data processing method, a computing device, and a communications system.
Background
With the development of communication networks, the service demands of terminal devices are increasing. In order to meet the increasing service demands, data centers are presented in the communication network, so as to provide a strong computing power for the communication network and support the service demands of the terminal devices.
However, the algorithms for data center processing are input into the data center by the constructor at the beginning of the construction. The algorithm is fixed for the data center and cannot be easily replaced, so that the service processing range of the existing data center is limited.
Disclosure of Invention
The application provides a data processing method, power computing equipment and a communication system, which can be used for processing various services more flexibly.
In order to achieve the above purpose, the present application adopts the following technical scheme:
in a first aspect, the present application provides a communication system comprising: terminal equipment, network equipment and power calculation equipment; the terminal equipment is used for determining the algorithm of the target service and the data of the target service and sending the algorithm and the data to the network equipment; the algorithm is an algorithm required for processing data; the network equipment is used for receiving the algorithm and the data and sending the algorithm and the data to the power computing equipment; and the power computing equipment is used for receiving the algorithm and the data, distributing resources for the target service based on the algorithm, and processing the data based on the resources and the algorithm.
In one possible implementation, a network device includes: a first network device and a second network device; the first network device is used for encrypting the algorithm and the data of the terminal device to obtain encrypted data and sending the encrypted data to the second network device; the second network device is used for receiving the encrypted data from the first network device, decrypting the encrypted data to obtain an algorithm and data, and sending the algorithm and the data to the computing device; the computing device is also configured to receive the algorithm and the data from the second network device.
In one possible implementation manner, the second network device is further configured to determine, from at least one computing device corresponding to the terminal device, a computing device closest to the terminal device as a target computing device, and send an algorithm and data to the target computing device; and the target computing device is used for receiving the algorithm and the data from the second network device and sending the algorithm and the data to any computing device except the target computing device.
In one possible implementation, the computing device is further configured to determine a resource to be required of the target service based on the algorithm, and allocate the resource to the target service if the idle resource of the computing device is greater than or equal to the resource to be required.
In one possible implementation, the computing device is further configured to send a resource allocation indication message to the network device; the resource allocation indication message is used for indicating that the computing power equipment has allocated resources for the target service; the network equipment is also used for receiving the resource allocation indication message from the power computing equipment and establishing the corresponding relation between the terminal equipment and the power computing equipment based on the resource allocation indication message.
In one possible implementation manner, the terminal device is further configured to send a preset computing power device number of the target service to the network device; the network equipment is also used for sending the preset number of the computing equipment to the computing equipment; the computing equipment is also used for receiving the preset computing equipment number from the network equipment and distributing resources for the target service when the current computing equipment number for distributing resources for the target service is greater than or equal to the preset computing equipment number.
In one possible implementation, at least one of the computing devices has an intelligent contract.
In a second aspect, the present application provides a data processing method, applied to the computing device described in the first aspect, the method including: receiving an algorithm of a target service and data of the target service from network equipment, wherein the algorithm is an algorithm required for processing the data; distributing resources for the target service based on an algorithm; the data is processed based on resources and algorithms.
In one possible implementation, the method further includes: algorithms and data are received from the second network device.
In one possible implementation, allocating resources for a target service based on an algorithm includes: determining a resource to be required of a target service based on an algorithm; and allocating resources for the target service under the condition that the idle resources of the computing equipment are larger than or equal to the resources to be needed.
In one possible implementation, the method further includes: transmitting a resource allocation indication message to the network device; the resource allocation indication message is used to indicate that the computing device has allocated resources for the target service.
In one possible implementation, the method further includes: receiving a preset computing power equipment number from network equipment; and when the number of the computing power devices for distributing the resources for the target service is larger than or equal to the preset number of the computing power devices, distributing the resources for the target service.
In a third aspect, the present application provides a computing device comprising: a communication unit and a processing unit; the communication unit is used for receiving the algorithm of the target service and the data of the target service from the network equipment, wherein the algorithm is required by processing the data; the processing unit is used for distributing resources for the target service based on an algorithm; and the processing unit is also used for processing data based on resources and algorithms.
In one possible implementation, the communication unit is further configured to: algorithms and data are received from the second network device.
In a possible implementation manner, the processing unit is further configured to determine a resource to be required of the target service based on an algorithm; and the processing unit is also used for distributing resources for the target service under the condition that the idle resources of the computing equipment are larger than or equal to the resources to be needed.
In one possible implementation, the communication unit is further configured to send a resource allocation indication message to the network device; the resource allocation indication message is used to indicate that the computing device has allocated resources for the target service.
In one possible implementation, the communication unit is further configured to receive a preset number of computing devices from the network device; and the processing unit is also used for distributing the resources for the target service under the condition that the number of the power computing devices which are used for distributing the resources for the target service is larger than or equal to the preset number of the power computing devices.
In a fourth aspect, the present application provides a computing device, the device comprising: a processor and a communication interface; the communication interface is coupled to a processor for running a computer program or instructions to implement the component determination method as described in any one of the possible implementations of the first aspect and the first aspect. In a fifth aspect, the present application provides a computer readable storage medium having instructions stored therein which, when run on a terminal, cause the terminal to perform a component determination method as described in any one of the possible implementations of the first aspect and the first aspect. In a sixth aspect, the present application provides a computer program product comprising instructions which, when run on a computing device, cause the computing device to perform a component determination method as described in any one of the possible implementations of the first aspect and the first aspect. In a seventh aspect, the present application provides a chip comprising a processor and a communication interface, the communication interface and the processor being coupled, the processor being for running a computer program or instructions to implement the component determination method as described in any one of the possible implementations of the first aspect and the first aspect. In particular, the chip provided in the present application further includes a memory for storing a computer program or instructions.
The technical scheme at least brings the following beneficial effects: the terminal equipment sends the algorithm of the target service and the data of the target service to the power computing equipment through the network equipment, the power computing equipment receives the algorithm of the target service and the data of the target service, and resources are allocated for the target service based on the algorithm of the target service. After the resources are determined, the power computing equipment can process the data of the target service based on the resources, so that the power computing equipment needs to acquire an algorithm of the service from the terminal equipment through the network equipment in the process of processing the service data, and then allocates the resources for the service based on the algorithm.
Drawings
Fig. 1 is a block diagram of a communication system according to an embodiment of the present application;
fig. 2 is a block diagram of another communication system according to an embodiment of the present application;
fig. 3 is a block diagram of another communication system according to an embodiment of the present application;
fig. 4 is a block diagram of another communication system according to an embodiment of the present application;
fig. 5 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The communication system provided in the embodiments of the present application is described in detail below with reference to the accompanying drawings.
The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone.
The terms "first" and "second" and the like in the description and in the drawings are used for distinguishing between different objects or for distinguishing between different processes of the same object and not for describing a particular sequential order of objects. Furthermore, references to the terms "comprising" and "having" and any variations thereof in the description of the present application are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed but may optionally include other steps or elements not listed or inherent to such process, method, article, or apparatus.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion. In the description of the present application, unless otherwise indicated, the meaning of "a plurality" means two or more.
The following explains the terms related to the embodiments of the present application, so as to facilitate the understanding of the reader.
1. Block chain
The blockchain is a novel application mode of computer technologies such as integrated distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like, and has the characteristics of incapability of forging, whole-process trace, traceability, openness, transparency, collective maintenance and the like.
2. Intelligent contract
Intelligent contracts refer to computer protocols propagated and verified in an informationized manner that are commonly followed by multiple nodes in a blockchain. Based on the intelligent contract, the plurality of nodes may run the same set of codes, such that each of the plurality of nodes processes the same set of codes and generates a final processing result based on the processing result of each of the plurality of nodes. Alternatively, the plurality of nodes may form a de-centralized referencing procedure (decentralized application, DAPP). Because the plurality of nodes all run the same set of codes, even if any node in the plurality of nodes fails, the last processing result is not greatly affected, so that the DAPP has stronger robustness.
The foregoing is a simplified description of some of the concepts involved in the embodiments of this application.
With the development of communication networks, the data volume of a part of areas also continues to increase, and the service demands of terminal devices are also increasing. In order to meet the increasing service demands, data centers (for example, data centers with single chips of 5 nanometers (nm)) are presented in the communication network, so as to provide a strong computing power for the communication network and support the service demands of the terminal devices.
However, the algorithms for data center processing are input into the data center by the constructor at the beginning of the construction. The algorithm is fixed for the data center and cannot be easily replaced, so that the service processing range of the existing data center is limited.
In order to solve the problems in the prior art, the embodiments of the present application provide a communication system, which can more flexibly process multiple services. As shown in fig. 1, fig. 1 shows a schematic structural diagram of a communication system 10 according to an embodiment of the present application. The communication system 10 includes: terminal device 101, network device 102, and computing device 103.
The terminal device 101 is configured to determine an algorithm of a target service and data of the target service, and send the algorithm of the target service and the data of the target service to the network device 102.
The algorithm of the target service is an algorithm required for processing the data of the target service.
Alternatively, the terminal device 101 may send the algorithm of the target service to the network device 102 first, then send the data of the target service to the network device 102, and also send the algorithm of the target service and the data of the target service to the network device 102 together.
The network device 102 is configured to receive the algorithm of the target service and the data of the target service, and send the algorithm of the target service and the data of the target service to the computing device 103.
The computing device 103 is configured to receive the algorithm of the target service and the data of the target service, allocate resources for the target service based on the algorithm of the target service, and process the data of the target service based on the resources and the algorithm of the target service.
In a possible implementation manner, the process of processing the data by the computing device 103 based on the target resource is: the computing device 103 occupies the above resources, calculates the target data based on the algorithm of the target service, and generates a processing result. Optionally, after the computing device 103 generates the processing result, the computing device 103 may also send the processing result to the terminal device 101 through the network device 102.
It will be appreciated that due to the rapid development of the field of artificial intelligence, device calculations are necessary instead of human calculations. The three elements of the artificial intelligence device include: data, algorithms, and computing resources (also referred to as computing power) that may be the most predominant support in the device. Thus, the aforementioned computing nodes may refer to nodes that provide computing resources for the terminal device.
In an alternative implementation, the algorithm of the target service may be determined based on the requirement of the target service.
Alternatively, the underlying operating environment of the computing device 103 may be understood with reference to a technology of building an underlying environment by using public clouds, which is not described herein.
In some examples, the terminal device 101 may be a terminal (terminal equipment), a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), a mobile phone, a tablet computer, or a computer with a wireless transceiving function, and may also be a Virtual Reality (VR) terminal, an augmented reality (augmented reality, AR) terminal, a wireless terminal in industrial control, a wireless terminal in unmanned driving, a wireless terminal in telemedicine, a wireless terminal in smart grid, a wireless terminal in smart city (smart city), a smart home, an in-vehicle terminal, a terminal device of a personal user, a terminal device of an enterprise user (e.g., a high definition camera, a programmable logic controller (programmable logic controller, PLC) controller, a sensor), or the like. In the embodiment of the present application, the means for implementing the function of the terminal device 101 may be the terminal device 101, or may be a means capable of supporting the terminal device 101 to implement the function, for example, a chip system.
It will be appreciated that the network device 102 described herein primarily assumes the role of forwarding information (e.g., algorithms for target traffic) and/or data (e.g., data for target traffic), e.g., the network device 102 may send algorithms for target traffic and data for target traffic to the computing device 103 based on a target protocol (e.g., wireless communication protocol, wired routing protocol).
Optionally, the network device 102 may include at least one of: access network equipment, switches, and core network equipment. In one example, the access network device may be any of a small base station, a wireless access point, a transceiver point (transmission receive point, TRP), a transmission point (transmission point, TP), and some other access node.
The technical scheme at least brings the following beneficial effects: in the communication system provided by the application, the terminal device 101 sends the algorithm of the target service and the data of the target service to the power computing device 103 through the network device 102, and the power computing device 103 receives the algorithm of the target service and the data of the target service and allocates resources for the target service based on the algorithm of the target service. After determining the above resources, the computing device 103 may process the data of the target service based on the above resources, so that in the process of processing the service data, the computing device 103 needs to acquire the algorithm of the service from the terminal device 101 through the network device 102, and then allocate the resources for the service based on the above algorithm.
In an alternative embodiment, a plurality of network devices 102 may be included in the communication system described herein. This embodiment provides a possible implementation manner, as shown in fig. 2, and fig. 2 is another communication system provided in this application. The communication system includes: a first network device 1021 and a second network device 1022.
The first network device 1021 is configured to encrypt an algorithm of a target service and data of the target service of the terminal device 101, obtain encrypted data, and send the encrypted data to the second network device 1022.
The second network device 1022 is configured to receive the encrypted data from the first network device 1021, decrypt the encrypted data to obtain the algorithm of the target service and the data of the target service, and send the algorithm of the target service and the data of the target service to the computing device 103.
The computing device 103 is further configured to receive the algorithm of the target service and the data of the target service from the second network device 1022.
Optionally, the first network device 1021 may also encrypt the algorithm of the target traffic, or encrypt the data of the target traffic.
In some examples, the encryption method described above may include at least one of: symmetric encryption methods and asymmetric encryption methods.
As an alternative implementation, the second network device 1022 may send the algorithm of the target service and the data of the target service to each of the at least one computing device 103 corresponding to the terminal device 101.
Alternatively, the foregoing is merely illustrative of a communication system including two network devices 102, and the communication system may also include other numbers of network devices 102 (e.g., three network devices 102), which is not limited in any way herein.
Illustratively, in the case where the communication system includes three network devices 102 (e.g., the network device 102#1, the network device 102#2, and the network device 102#3), the network device 102#1 acquires the algorithm of the target service and the data of the target service from the terminal device 101, then performs encryption processing on the algorithm of the target service and the data of the target service to obtain encrypted data#1, and transmits the encrypted data#1 to the network device 102#2. Accordingly, the network device 102#2 receives the encrypted data#1 from the network device 102#1, and transmits the encrypted data#1 to the network device 102#3. Accordingly, the network device 102#3 receives the encrypted data#1 from the network device 102#2, encrypts the encrypted data#1 to obtain the algorithm of the target service and the data of the target service, and transmits the algorithm of the target service and the data of the target service to the computing device 103.
The technical scheme at least brings the following beneficial effects: in the communication system provided by the present application, when the communication system includes a plurality of network devices 102, the first network device 1021 receives the algorithm of the target service and the data of the target service from the terminal device 101, and needs to encrypt the algorithm of the target service and the data of the target service to obtain encrypted data, and sends the encrypted data to other network devices 102 (for example, the second network device 1022), and then the second network device 1022 decrypts the encrypted data, and then sends the algorithm of the target service and the data of the target service to the computing device 103. Therefore, the algorithm of the target service and the data of the target service are not directly sent between the first network device 1021 and the second network device 1022 in the communication system, but encrypted data obtained after encryption is transmitted, so that the algorithm of the target service and the data of the target service are prevented from being leaked, and the transmission safety is improved.
In an alternative embodiment, the second network device 1022 may further send the algorithm of the target service and the data of the target service to one computing device 103 of the at least one computing device 103 corresponding to the terminal device 101, and send the algorithm of the target service and the data of the target service to the other computing devices 103 by the computing device 103. As shown in fig. 3, fig. 3 is another communication system provided in the present application. The communication system includes: a plurality of computing devices 103. Accordingly, the operations performed by the respective devices in the above cases will be described in detail below:
the second network device 1022 is further configured to determine, from at least one computing device 103 corresponding to the terminal device 101, that the computing device 103 closest to the terminal device is the target computing device 103, and send the algorithm of the target service and the data of the target service to the target computing device 103.
The target power computing device 103 is configured to receive the algorithm of the target service and the data of the target service from the second network device 1022, and send the algorithm of the target service and the data of the target service to any one of the power computing devices 103 except the target power computing device 103, among the at least one power computing device 103.
Alternatively, the target computing device 103 may send all or part of the algorithm of the target service and the data of the target service to the other computing device 103 after receiving the algorithm of the target service and the data of the target service from the second network device.
In one possible implementation, at least one of the computing devices 103 has an intelligent contract such that each of the at least one computing device 103 processes data of the target business based on an algorithm of the target business. In this way, even if any one of the at least one computing device 103 fails, the processing of the target service is not greatly affected, so that the robustness of the communication system is high.
The technical scheme at least brings the following beneficial effects: in the communication system provided by the present application, the second network device 1022 sends the algorithm of the target service and the data of the target service to the target computing device 103 (i.e., in at least one computing device 103 corresponding to the terminal device 101, the computing device 103 with the closest distance is determined), and then the target computing device 103 sends the algorithm of the target service and the data of the target service to the other computing devices 103, so that each computing device 103 can acquire the algorithm of the target service and the data of the target service, so that the multiple computing devices 103 process the data of the target service together.
In an alternative embodiment, before allocating the resources for the target service, the computing device 103 may further determine whether the remaining resources of the computing device can meet the resource requirements of the target service, and allocate the resources for the target resource if the remaining resources of the computing device can meet the resource requirements of the target service. Accordingly, the operation performed by the computing device 103 in this case will be described in detail below:
the computing device 103 is further configured to determine a resource to be required of the target service based on the algorithm of the target service, and allocate a resource to the target service when the idle resource of the computing device 103 is greater than or equal to the resource to be required.
In a possible implementation manner, after the computing device 103 obtains the algorithm of the target service, the computing device may evaluate the resources required for processing the data of the target service based on the algorithm of the target service, so as to determine the resources to be required for the target service.
In some alternative examples, the resources may include at least one of: central processor (central processing unit, CPU) resources, graphics processor (graphics processing unit, GPU) resources, field programmable gate array (field programmable gate array, FPGA) resources, storage resources, and database resources.
Optionally, the computing device 103 does not allocate the idle resources for the target service and sends a resource allocation failure message to the network device 102 when the idle resources of the computing device 103 are smaller than the resources to be needed. Accordingly, network device 102 receives a resource allocation failure message from computing device 103. The resource allocation failure message is used to indicate that no free resources are allocated for the target service.
The technical scheme at least brings the following beneficial effects: in the communication system provided by the application, before the computing power equipment 103 allocates the idle resources for the target service, the computing power equipment 103 determines the resources to be required of the target service based on the algorithm of the target service, and determines that the idle resources of the computing power equipment 103 are greater than or equal to the resources to be required. In the case that the idle resources of the computing device 103 are greater than or equal to the resources to be needed, the computing device 103 allocates the idle resources for the target service, so that the fault caused by forcibly allocating the idle resources for the target service by the computing device 103 can be avoided, and the stability of the computing device 103 is improved.
In an alternative embodiment, the network device 102 may establish a correspondence between the terminal device 101 and the computing device 103 before sending the service data to the computing device 103, so that, in the case of receiving the data of the target service from the terminal device 101, the network device 102 may determine, directly based on the correspondence, the computing device 103 capable of providing the resource for the terminal device 101. Accordingly, the operations performed by the respective devices in this case will be described in detail below:
the computing device 103 is further configured to send a resource allocation indication message to the network device 102.
Wherein the resource allocation indication message is used to indicate that the computing power device 103 has allocated resources for the target service.
The network device 102 is further configured to receive a resource allocation indication message from the computing device 103, and establish a correspondence between the terminal device 101 and the computing device 103 based on the resource allocation indication message.
Alternatively, each corresponding relationship may have a DAPP session identifier corresponding to one of the corresponding relationships, so that the subsequent network device 102 may facilitate querying the corresponding relationship.
The technical scheme at least brings the following beneficial effects: in the communication system provided by the present application, the power computing device 103 may send a resource allocation indication message to the network device 102, and then after the network device 102 receives the resource allocation indication message, a correspondence between the terminal device 101 and the power computing device 103 may be established based on the resource allocation indication message, so that when the subsequent network device 102 receives data of the target service, at least one power computing device 103 corresponding to the terminal device 101 may be determined based on the correspondence.
In an alternative embodiment, the terminal device 101 may determine the preset number of computing devices based on the own service requirement, and send the preset number of computing devices to the computing device 103 through the network device 102, so that the computing device 103 may determine whether to allocate resources for the target service based on the preset number of computing devices. Accordingly, the operations performed by the respective devices in this case will be described in detail below:
the terminal device 101 is further configured to send a preset computing power device number of the target service to the network device 102.
The network device 102 is further configured to send a preset number of computing devices of the target service to the computing device 103.
The computing device 103 is further configured to receive a preset computing device number of the target service from the network device 102, and allocate resources for the target service if the number of computing devices 103 currently allocating resources for the target service is greater than or equal to the preset computing device number.
In a possible implementation manner, in a case where the number of computing devices 103 that currently allocate resources for the target service is greater than or equal to the preset number of computing devices, the computing devices 103 that allocate resources for the target service process the data of the target service together based on the algorithm of the target service. In the case that the number of the computing devices 103 that currently allocate resources for the target service is smaller than the number of the preset computing devices, the computing devices 103 that allocate resources for the target service do not process the data of the target service based on the algorithm of the target service.
In an alternative implementation, the high priority end device 101 may preempt the computing device 103 in the DAPP of the low priority end device 101. For example, in the case where all of the computing devices 103 in dapp#1 are occupied, other computing nodes in dapp#2 having a priority lower than that of dapp#1 may be preempted by dapp#1 so that the corresponding terminal device 101 of dapp#1 provides computing power.
As a possible implementation manner, in the case where the computing device 103 receives the business algorithm of the plurality of terminal devices 101 and the preset computing device 103 number corresponding to the plurality of terminal devices 101 at the same time, the computing device 103 may further determine the number of computing devices 103 (denoted as the first computing device number) that have allocated resources for each terminal device 101, and determine the number of computing devices 103 (denoted as the second computing device number) further needed for each terminal device 101 based on the first computing device number of each terminal device 101 and the preset computing device number corresponding to each terminal device 101. The computing device 103 may then determine the terminal device 101 of the plurality of terminal devices 101, determine the terminal device 101 with the largest number of second computing devices, and allocate resources for it.
Optionally, the number of the preset computing devices may be the number of the least computing devices 103 capable of processing the target service of the terminal device 101, and if the number of the computing devices 103 actually processing the target service of the terminal device 101 is greater than the number of the preset computing devices, resource waste may be caused; if the number of computing devices 103 actually processing the target service of the terminal device 101 is smaller than the number of preset computing devices, the target service of the terminal device 101 cannot be processed normally.
For example, the number of the preset computing devices may be 2.
The technical scheme at least brings the following beneficial effects: according to the communication system provided by the application, the terminal equipment 101 sends the preset power equipment number of the target service to the power equipment 103 through the network equipment 102, after the power equipment 103 receives the preset power equipment number of the target service, the preset power equipment number of the target service and the current power equipment 103 number for distributing resources for the target service can be compared, and if the current power equipment 103 number for distributing resources for the target service is greater than or equal to the preset power equipment number, the resources are distributed for the target service, so that whether the power equipment 103 can be more adaptively used for determining whether the resources need to be distributed for the target service is conveniently determined, the resource waste is avoided, and the problem that the target service of the terminal equipment 101 cannot be normally processed is avoided.
In one possible implementation, as shown in fig. 4, a communication system may include: a plurality of terminal devices 101, a plurality of network devices 102, and a plurality of computing devices 103. Each terminal device 101 of the plurality of terminal devices 101 may be connected to at least one network device 102. The network device 102 may be connected to the terminal device 101, may be connected to other network devices 102, and may be connected to the computing device 103. The computing device 103 may be connected to other computing devices 103 and may also be connected to the network device 102.
In addition, the communication system described in the embodiments of the present application is for more clearly describing the technical solution of the embodiments of the present application, and does not constitute a limitation on the technical solution provided in the embodiments of the present application, and as a person of ordinary skill in the art can know, with evolution of the network architecture and appearance of a new communication system, the technical solution provided in the embodiments of the present application is equally applicable to similar technical problems.
It should be noted that the present application also provides a data processing method and a computing device. The specific description of the data processing method and the computing device can be referred to the related description in the communication system, and will not be repeated here.
Fig. 5 is a schematic structural diagram of an electronic device (e.g., a terminal device 101, a network device 102, and a computing device 103) according to an embodiment of the present application. As shown in fig. 5, the electronic device includes: at least one processor 501, memory 502, a communication interface 503, and a bus 504. The processor 501, the memory 502, and the communication interface 503 may be connected by a bus 504.
The processor 501 may be a central processing unit (central processing unit, CPU), may be an integrated circuit (application specific integrated circuit, ASIC), or may be one or more integrated circuits configured to implement embodiments of the present application, such as: one or more digital signal processors (digital signal processor, DSP), or one or more field programmable gate arrays (field programmable gate array, FPGA).
The memory 502 may be, but is not limited to, read-only memory (ROM) or other type of static storage device that can store static information and instructions, random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, but may also be electrically erasable programmable read-only memory (EEPROM), compact disc-read only memory (compact disc read-only memory) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be utilized to contain or store the desired program code in the form of instructions or data structures and that can be accessed by a computer.
The communication interface 503 is used to communicate with other devices or communication networks, and any transceiver-like device may be used, such as ethernet, radio access network (radio access network, RAN), wireless local area network (wireless local area networks, WLAN), etc.
In a possible design, the memory 502 may exist separately from the processor 501, i.e. the memory 502 may be a memory external to the processor 501, where the memory 502 may be connected to the processor 501 through the bus 504 for storing execution instructions or application program codes, and the execution is controlled by the processor 501 to implement a software upgrade method provided in the embodiments described below. In yet another possible design, the memory 502 may be integrated with the processor 501, i.e., the memory 502 may be an internal memory of the processor 501, e.g., the memory 502 may be a cache, may be used to store some data and instruction information, etc.
As one implementation, processor 501 may include one or more CPUs, such as CPU0 and CPU1 in fig. 1.
Bus 504 may include a path for transferring information between the components.
Alternatively, the electronic device 500 may be applied to an access network device, a device room (e.g., a convergence room, a core room, etc.), a data center, etc.
It should be noted that the structure shown in fig. 5 does not constitute a limitation of the electronic device 500, and the electronic device 500 may include more or less components than those shown in fig. 5, or may combine some components, or may be a different arrangement of components.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above. The specific working processes of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which are not described herein. The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access Memory (Random Access Memory, RAM), a Read-Only Memory (ROM), an erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), a register, a hard disk, an optical fiber, a portable compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing, or any other form of computer readable storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuit, ASIC). In the context of the present application, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The foregoing is merely a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (14)
1. A communication system, the communication system comprising: terminal equipment, network equipment and power calculation equipment;
the terminal equipment is used for determining an algorithm of a target service and data of the target service and sending the algorithm and the data to the network equipment; the algorithm is an algorithm required for processing the data;
the network device is configured to receive the algorithm and the data, and send the algorithm and the data to the computing device;
the computing equipment is used for determining the resources to be required of the target service based on the algorithm, and distributing resources for the target service when the idle resources of the computing equipment are larger than or equal to the resources to be required;
the power computing equipment is also used for occupying the resources, computing the data of the target service based on the algorithm of the target service, and generating a processing result.
2. The system of claim 1, wherein the network device comprises: a first network device and a second network device;
the first network device is configured to encrypt the algorithm and the data of the terminal device to obtain encrypted data, and send the encrypted data to the second network device;
the second network device is configured to receive encrypted data from the first network device, decrypt the encrypted data to obtain the algorithm and the data, and send the algorithm and the data to the computing device;
the computing device is further configured to receive the algorithm and the data from the second network device.
3. The system of claim 2, wherein the system further comprises a controller configured to control the controller,
the second network device is further configured to determine, from at least one computing device corresponding to the terminal device, a computing device closest to the terminal device as a target computing device, and send the algorithm and the data to the target computing device;
the target computing device is configured to receive the algorithm and the data from the second network device, and send the algorithm and the data to any computing device other than the target computing device among the at least one computing device.
4. A system according to any one of claims 1 to 3, wherein,
the computing power equipment is further used for sending a resource allocation indication message to the network equipment; the resource allocation indication message is used for indicating that the computing power equipment has allocated the resource for the target service;
the network device is further configured to receive the resource allocation indication message from the computing device, and establish a correspondence between the terminal device and the computing device based on the resource allocation indication message.
5. A system according to any one of claims 1 to 3, wherein,
the terminal device is further configured to send a preset computing power device number of the target service to the network device;
the network device is further configured to send the preset number of computing devices to the computing device;
the computing device is further configured to receive the preset number of computing devices from the network device, and allocate the resource to the target service when the current number of computing devices that allocate the resource to the target service is greater than or equal to the preset number of computing devices.
6. The system of claim 3, wherein the at least one computing device each has a smart contract.
7. A data transmission method, applied to the computing device of any one of claims 1 to 6, comprising:
receiving an algorithm of a target service and data of the target service from a network device, wherein the algorithm is an algorithm required for processing the data;
determining a resource to be required of the target service based on the algorithm, and distributing the resource for the target service when the idle resource of the computing equipment is greater than or equal to the resource to be required;
occupying the resources, calculating the data of the target service based on the algorithm of the target service, and generating a processing result.
8. The method of claim 7, wherein the method further comprises:
the algorithm and the data are received from a second network device.
9. The method according to claim 7 or 8, characterized in that the method further comprises:
transmitting a resource allocation indication message to the network device; the resource allocation indication message is used for indicating that the computing power equipment has allocated the resource for the target service.
10. The method according to claim 7 or 8, characterized in that the method further comprises:
receiving a preset computing power equipment number from the network equipment;
and when the number of the computing power devices for distributing the resources for the target service is larger than or equal to the number of the preset computing power devices, distributing the resources for the target service.
11. A computing device, the computing device comprising: a communication unit and a processing unit;
the communication unit is used for receiving an algorithm of a target service and data of the target service from the network equipment, wherein the algorithm is an algorithm required for processing the data;
the processing unit is used for determining the resources to be required of the target service based on the algorithm, and distributing resources for the target service when the idle resources of the computing equipment are larger than or equal to the resources to be required;
the processing unit is further configured to occupy the resource, calculate data of the target service based on an algorithm of the target service, and generate a processing result.
12. The computing device of claim 11, wherein the communication unit is further configured to:
the algorithm and the data are received from a second network device.
13. The computing power device according to claim 11 or 12, characterized in that,
the communication unit is further configured to send a resource allocation indication message to the network device; the resource allocation indication message is used for indicating that the computing power equipment has allocated the resource for the target service.
14. The computing power device according to claim 11 or 12, characterized in that,
the communication unit is further used for receiving the preset computing power equipment number from the network equipment;
and the processing unit is further configured to allocate the resource to the target service when the number of computing devices currently allocating the resource to the target service is greater than or equal to the preset number of computing devices.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211214256.3A CN115550452B (en) | 2022-09-30 | 2022-09-30 | Data processing method, power computing equipment and communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211214256.3A CN115550452B (en) | 2022-09-30 | 2022-09-30 | Data processing method, power computing equipment and communication system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115550452A CN115550452A (en) | 2022-12-30 |
CN115550452B true CN115550452B (en) | 2024-04-16 |
Family
ID=84730704
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211214256.3A Active CN115550452B (en) | 2022-09-30 | 2022-09-30 | Data processing method, power computing equipment and communication system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115550452B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110995614A (en) * | 2019-11-05 | 2020-04-10 | 华为技术有限公司 | Computing power resource allocation method and device |
CN112134802A (en) * | 2020-09-23 | 2020-12-25 | 杭州雾联科技有限公司 | Edge computing power resource scheduling method and system based on terminal triggering |
CN113434294A (en) * | 2021-06-29 | 2021-09-24 | 腾讯科技(深圳)有限公司 | Data processing method, computer equipment and readable storage medium |
CN113810438A (en) * | 2020-06-12 | 2021-12-17 | 中国移动通信有限公司研究院 | Scheduling and requesting methods of service computing resources, node equipment and terminal |
CN114168331A (en) * | 2021-12-07 | 2022-03-11 | 杭州萤石软件有限公司 | Algorithm deployment and scheduling method and algorithm deployment and scheduling device |
WO2022143744A1 (en) * | 2020-12-31 | 2022-07-07 | 维沃移动通信有限公司 | Information processing method and apparatus, device, and storage medium |
CN114756340A (en) * | 2022-03-17 | 2022-07-15 | 中国联合网络通信集团有限公司 | Computing power scheduling system, method, device and storage medium |
-
2022
- 2022-09-30 CN CN202211214256.3A patent/CN115550452B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110995614A (en) * | 2019-11-05 | 2020-04-10 | 华为技术有限公司 | Computing power resource allocation method and device |
CN113810438A (en) * | 2020-06-12 | 2021-12-17 | 中国移动通信有限公司研究院 | Scheduling and requesting methods of service computing resources, node equipment and terminal |
CN112134802A (en) * | 2020-09-23 | 2020-12-25 | 杭州雾联科技有限公司 | Edge computing power resource scheduling method and system based on terminal triggering |
WO2022143744A1 (en) * | 2020-12-31 | 2022-07-07 | 维沃移动通信有限公司 | Information processing method and apparatus, device, and storage medium |
CN113434294A (en) * | 2021-06-29 | 2021-09-24 | 腾讯科技(深圳)有限公司 | Data processing method, computer equipment and readable storage medium |
CN114168331A (en) * | 2021-12-07 | 2022-03-11 | 杭州萤石软件有限公司 | Algorithm deployment and scheduling method and algorithm deployment and scheduling device |
CN114756340A (en) * | 2022-03-17 | 2022-07-15 | 中国联合网络通信集团有限公司 | Computing power scheduling system, method, device and storage medium |
Non-Patent Citations (2)
Title |
---|
5G时代运营商边缘算力部署浅析;刘伟;;中国新通信;20200920(18);全文 * |
Zhao Yue ; Qian Xu.Resource allocation and scheduling theory based on distributed environment.16th International Conference on Advanced Communication Technology.2014,全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN115550452A (en) | 2022-12-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106358245B (en) | Method and controller for sharing load of mobile edge computing application | |
US10979285B2 (en) | Service transmission method, device, and system | |
CN109672708B (en) | Communication method, device and system | |
US20200389811A1 (en) | Default quality of service (qos) control method and device | |
US20240073768A1 (en) | Information transmission method and device thereof | |
CN109691179A (en) | A kind of conversation shift method and apparatus | |
KR20200017589A (en) | Cloud server for offloading task of mobile node and therefor method in wireless communication system | |
CN113382421A (en) | Communication method and device | |
CN111510383A (en) | Route calculation method and related equipment | |
KR20210058720A (en) | Resource allocation method, apparatus, and system, and storage medium | |
CN113261249A (en) | Data transmission method, related equipment and computer storage medium | |
JP2017521937A (en) | Terminal device and D2D resource management method | |
CN114172753B (en) | Address reservation method, network equipment and system | |
CN116308066B (en) | Storage management method and device based on Internet of things | |
KR20060069886A (en) | Mobile communication terminal, mobile communication management device, mobile communication system, mobile communication terminal program, mobile communication management program, and mobile communication method | |
CN115550452B (en) | Data processing method, power computing equipment and communication system | |
CN110933758B (en) | Interference coordination method and device, and base station | |
US20210250425A1 (en) | Connecting computer processing systems and transmitting data | |
CN112714146B (en) | Resource scheduling method, device, equipment and computer readable storage medium | |
US20220408340A1 (en) | Wireless communication service responsive to an artificial intelligence (ai) network | |
CN113572591B (en) | Real-time high concurrency safety access device and access method for intelligent energy service system | |
CN114071683B (en) | Data transmission method and device and electronic equipment | |
CN111190733A (en) | Computing resource scheduling method and device for RSA (rivest Shamir Adleman) computation | |
WO2015177597A1 (en) | Methods and apparatuses for synchronization of distributed hierarchical databases | |
CN116501448B (en) | Container packaging method and device applied to multiple virtual machines |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |