A cloud-native-based edge computing terminal scheduling method

Team formation and task division are carried out through Bluetooth and WIFI modules between edge computing terminals, which solves the problem of low efficiency of terminals in processing large amounts of calculations or multi-terminal collaboration tasks, realizes autonomous network communication and real-time replacement operation and maintenance, and reduces the cost of Operation and maintenance costs.

CN114205790BActive Publication Date: 2024-10-18SHENZHEN AEROSPACE SMART CITY SYST TECH RES INST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111394235.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-23
Publication Date
2024-10-18
Estimated Expiration
2041-11-23

AI Technical Summary

Technical Problem

Edge computing terminals are inefficient when processing large amounts of calculations or multi-terminal collaboration tasks. They cannot organize network communications by themselves, and software and processing logic cannot be changed in real time, resulting in high operation and maintenance costs.

Method used

Scan and pair each other through Bluetooth and WIFI modules between edge computing terminals, elect captains to form a computing team, divide large tasks into small tasks and assign them to team members for processing, achieve task collaboration and resource management, and use cloud connections to realize data transmission and System interoperability.

Benefits of technology

It improves the processing efficiency of edge computing terminals, reduces hardware costs, realizes independent network communication and real-time replacement operation and maintenance outside the cloud, and significantly reduces operation and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114205790B_ABST
    Figure CN114205790B_ABST
Patent Text Reader

Abstract

The present invention provides a cloud-native-based edge computing terminal scheduling method, including the following steps: Step 1: Scan the nearby edge computing terminals through the Bluetooth module and send pairing information; Step 2: After pairing is successful, send the basic information and team information of the edge computing terminal; Step 3: After receiving the information, the edge computing terminal compares and scores with its own situation, selects the captain of this team, and then sends it to other edge computing terminals; Step 4: Open hostap through the WIFI module, send the description information of the hotspot to other edge computing terminals, and wait for other edge computing terminals to join; Step 5: After other edge computing terminals join the team, start the daemon process, and automatically send the basic information of this edge computing terminal at regular intervals, waiting for edge computing tasks. The beneficial effects of the present invention are: the computing tasks of large computing amount or multi-terminal collaboration can be completed in real time, and the processing efficiency of the edge computing terminal is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of big data, and in particular to a cloud-native based edge computing terminal scheduling method. Background Art

[0002] Edge computing terminals are open platforms that integrate network, computing, storage, and application core capabilities close to the data source. They can meet the basic needs of the industry in terms of real-time business, application intelligence, security, and privacy protection. However, when edge computing terminals perform the above business in the industry, the following problems often occur:

[0003] 1. The amount of calculation is huge and the terminal cannot respond in real time;

[0004] 2. The business is complex and the terminal cannot perform perfect scheduling; 3. The edge computing terminal has a single business and cannot collaborate;

[0005] 4. A third-party platform is required to achieve mutual communication with the terminal;

[0006] 5. The edge computing terminal software is difficult to operate and maintain, and it is impossible to obtain real-time status.

[0007] Existing technical solutions:

[0008] 1. Industrial Internet of Things - M2M system framework: a networked application and service technology with intelligent interaction between machine terminals as the core. It involves five parts: machines, M2M hardware, communication networks, middleware, and applications. It uses data obtained from sensor networks to make decisions and then changes the behavior of objects for control and feedback. Take the "parking lot lifting barrier" as an example:

[0009] a. When the vehicle enters or leaves the antenna communication area, the antenna exchanges data with the electronic identification card in a two-way manner through microwave communication.

[0010] b. Read the relevant information of the vehicle from the electronic vehicle card;

[0011] c. The remote system reads the card more carefully and determines whether the card is valid;

[0012] d. Inform the gate machine whether to lift the lever.

[0013] 2. HiBeiRui Information Technology Co., Ltd. - Sunflower Control: A piece of hardware that enables remote computer control via the Internet. The working principle is as follows:

[0014] a. The video screen of the controlled computer is output to the controller via HDMI cable, and the controller transmits the screen to the control computer via the cloud.

[0015] b. The mouse and keyboard operations issued by the control computer are sent to the control through the cloud. The control simulates the keyboard and mouse through the USB cable connected to the controlled computer and transmits the control model to the controlled computer.

[0016] c. The M2M system framework solves the interaction and control problems between the system and hardware devices, and uses remote services (cloud) to achieve integrated judgment of IoT information and business. Sunflower Control, based on the M2M system framework, uses a combination of hardware to complete information collection and control of computer systems.

[0017] Regarding the actual use of edge computing, existing technologies have the following problems:

[0018] 1. It is impossible to complete real-time, large-volume or multi-terminal collaborative computing tasks on the terminal side. When a large number of edge computing tasks are processed, task stacking occurs, resulting in low processing efficiency.

[0019] 2. The terminal cannot communicate and collaborate on its own without leaving the cloud;

[0020] 3. The software and processing logic are hard-coded into the hardware and cannot be updated in real time, resulting in high operation and maintenance costs. Summary of the invention

[0021] The present invention provides a cloud-native-based edge computing terminal scheduling method, comprising performing the following steps:

[0022] Step 1: All edge computing terminals scan nearby edge computing terminals and send pairing information until pairing is successful.

[0023] Step 2: After successful pairing, the edge computing terminals send their basic information and team information via their respective Bluetooth.

[0024] Step 3: After receiving the Bluetooth information, the edge computing terminal compares it with its own situation and scores it, selects the captain of the team based on the score, and sends the team information to other edge computing terminals via Bluetooth.

[0025] Step 4: The edge computing terminal as the team leader turns on hostap through the WIFI module, sends the hotspot description information to other edge computing terminals through the Bluetooth module, and waits for other edge computing terminals to join.

[0026] Step 5: After other edge computing terminals as team members join the team, the edge computing terminal as a team member starts the daemon process and automatically sends the basic information of the edge computing terminal at a fixed time, waiting for edge computing tasks.

[0027] As a further improvement of the present invention, in step 2, the basic information of the edge computing terminal sent via Bluetooth includes memory, bandwidth, storage, and CPU utilization, and the team information includes existing members and team numbers.

[0028] As a further improvement of the present invention, in step 3, the scoring weights for comparative scoring include memory and CPU utilization, that is, the larger the memory and the lower the CPU utilization, the higher the score.

[0029] As a further improvement of the present invention, in step 4, the description information of the hotspot includes SSID name, encryption method, password, and host IP.

[0030] As a further improvement of the present invention, in step 5, the edge computing task steps are as follows:

[0031] Step 50: The edge computing terminal as the team leader is responsible for the resource status, task line status, and results detection of each team member in the edge computing terminal team. When any team member needs to perform large or complex computing tasks, the respective operation information is sent to the edge computing terminal as the team leader through the wifi module.

[0032] Step 51: After receiving the job, the edge computing device as the team leader adds a new job record information in the local system, selects an appropriate number of team member edge computing terminals from the team, sends a resource check instruction and obtains the information of the team member edge computing terminals.

[0033] Step 52: After allocating the edge computing terminal that processes the job information, the edge computing terminal as the team leader divides the job task, that is, cuts the large computing task into small computing tasks, and then publishes the job status to the team members and starts the job work. The edge computing device as the team leader regularly monitors the completion of the job, and the team members need to provide real-time feedback.

[0034] Step 53: After receiving the instruction, the edge computing terminal as a team member responds to the edge computing terminal as the team leader, and starts the operation process in a multi-process manner, and reports the results to the edge computing terminal as the team leader one by one.

[0035] Step 54: After the edge computing terminal as the team leader receives the job completion information from the edge computing terminals of each team member, it matches the task with the information returned by the edge computing terminal as the team member from the job record information one by one, and assembles them into the final result.

[0036] Step 55: After the team leader's edge computing terminal completes the final result, it synchronizes the result to all edge computing terminals in the team through the WiFi module.

[0037] As a further improvement of the present invention, in step 52, if an interruption or failure to connect occurs, the edge computing terminal as the team leader will then search for a new edge computing terminal as a team member from the resource pool and resend the interrupted job to the newly found edge computing terminal.

[0038] As a further improvement of the present invention, the edge computing terminal scheduling method also includes a cloud, and the cloud can be connected to any edge computing terminal to obtain data of other edge computing terminals.

[0039] The beneficial effects of the present invention are: 1. The edge computing terminal adopting the edge computing terminal scheduling method of the present invention can complete computing tasks with large computing volume or multi-terminal collaboration in real time, improve the processing efficiency of the edge computing terminal, and reduce the hardware cost of the edge computing terminal; 2. The edge computing terminal adopting the edge computing terminal scheduling method of the present invention can realize self-networking communication when leaving the cloud, and use the networking for data transmission and system interoperability; 3. The computing framework and business processing logic of the edge computing terminal scheduling method of the present invention are completed through networking, so that real-time iteration of computing tasks is realized, and operation and maintenance costs are greatly reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a structural diagram of the edge computing terminal scheduling method of the present invention;

[0041] Figure 2 It is a principle block diagram of the edge computing terminal scheduling method of the present invention;

[0042] Figure 3 It is a flow chart of computing task cutting of the edge computing terminal scheduling method of the present invention. DETAILED DESCRIPTION

[0043] Action relationship description:

[0044] The present invention uses short message communication technology and Go language to realize the mutual communication of edge computing core computing devices, and its method structure is as follows: Figure 1 As shown. The edge computing terminal is connected to three x86 devices (such as Windows, Mac, Linux and other operating systems) to perform data collection and system operation tasks; the cloud server is responsible for receiving the data results of edge computing; the edge computing terminals use the present invention to communicate with each other and transmit information data. The cloud server can connect to any edge computing terminal to obtain data from other edge computing terminals.

[0045] An edge computing terminal generally consists of a Bluetooth module, a WIFI module, a core computing module and other extension modules. The steps of implementing a cloud-native-based edge computing terminal scheduling method of the present invention are as follows:

[0046] Step 1: All edge computing terminals scan nearby edge computing terminals through their respective Bluetooth modules and send pairing information until pairing is successful;

[0047] Step 2: After successful pairing, the edge computing terminals send their basic information and team information (such as memory, bandwidth, storage, CPU utilization, etc.) and team information (including existing members and team numbers) through their respective Bluetooth.

[0048] Step 3: After receiving the Bluetooth information, the edge computing terminal compares it with its own situation and scores it (the scoring weights are memory and CPU utilization, that is, the larger the memory and the lower the CPU utilization, the higher the score). The captain of this team is selected based on the score, and the team information is sent to other edge computing terminals via Bluetooth.

[0049] Step 4: The edge computing device (Core end) as the team leader turns on hostap through the WIFI module (hides SSID and randomly generates a hostap password), sends the hotspot description information (SSID name, encryption method, password, host IP) to other edge computing terminals through the Bluetooth module, and waits for other edge computing terminals to join;

[0050] Step 5: After other edge computing terminals as team members join the team (connect to the hotspots of other edge computing terminals, the Agent side), the edge computing terminal as a team member starts the daemon process and automatically sends basic information of the edge computing terminal (memory, bandwidth, device IP, CPU utilization) and other information at regular intervals, waiting for edge computing tasks.

[0051] Calculation task cutting process:

[0052] Edge computing task segmentation is performed using the reference dichotomy method, which is to split a large and complete computing task into multiple small and simple computing tasks. Finally, the splitter will merge the multiple small and simple computing tasks to get the result of the large and complete computing task. For example, the result of calculating 4+4 can be split into 4 computing tasks. Each task only needs to calculate 1+1, and finally get 4 2s. Then add the 4 2s together to get 8, which is the result of 4+4. This method is widely used in the computer field - cloud native, but the actual task is more complicated than this. The specific steps are as follows:

[0053] Step 50: The edge computing terminal (Core end) as the team leader is responsible for the resource status, task line status, and results detection of each team member in the edge computing terminal team. When any team member needs to perform large or complex computing tasks, the job information is sent to the Core end through the wifi module.

[0054] Step 51: After receiving the message, the Core end adds a new job record information in the local system, selects an appropriate number of terminals from the team (edge ​​computing device group), sends resource troubleshooting instructions and obtains device information (queries whether the device is online, memory, CPU load, storage, etc.).

[0055] Step 52: After allocating the edge computing terminal that processes the job, the Core end divides the job task, that is, cuts the large computing task into small computing tasks (also called jobs), and then publishes the job status to the edge computing terminals (Agents) that serve as team members and starts the job work. The Core end monitors the completion of the job regularly, and the Agent end needs to provide real-time feedback. If there is an interruption or failure to connect, the Core end will find a new Agent end from the resource pool and send the interrupted job again;

[0056] Step 53: After receiving the command, the edge computing terminal (Agent) as a team member responds to the edge computing terminal (Core) as the team leader, starts the operation process in a multi-process manner, and reports the results to the Core one by one;

[0057] Step 54: After receiving the job completion information from each Agent, the Core matches the task with the information returned by the Agent from the job record information and assembles them into the final result;

[0058] Step 55: After the Core completes the final result, it synchronizes the result to all edge computing terminals in the team through the WiFi module.

[0059] The beneficial effects of the present invention are as follows: 1. The edge computing terminal using the edge computing terminal scheduling method of the present invention can complete computing tasks with large computing volume or multi-terminal collaboration in real time, improve the processing efficiency of the edge computing terminal, and reduce the hardware cost of the edge computing terminal; 2. The edge computing terminal using the edge computing terminal scheduling method of the present invention can realize self-networking communication when leaving the cloud, and use the networking for data transmission and system interoperability; 3. The computing framework and business processing logic of the edge computing terminal scheduling method of the present invention are completed through networking, so that real-time iteration of computing tasks is realized, and operation and maintenance costs are greatly reduced.

[0060] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.

Claims

1. A cloud-native-based edge computing terminal scheduling method, It is characterized in that This involves performing the following steps: Step 1: All edge computing terminals scan nearby edge computing terminals and send pairing information until pairing is successful; Step 2: After the pairing is successful, the edge computing terminals send their basic information and team information through their respective Bluetooth; Step 3: After receiving the Bluetooth information, the edge computing terminal compares it with its own situation and scores it. According to the score, the captain of this team is selected and the team information is sent to other edge computing terminals via Bluetooth. Step 4: The edge computing terminal as the team leader turns on hostap through the WIFI module, sends the hotspot description information to other edge computing terminals through the Bluetooth module, and waits for other edge computing terminals to join; Step 5: After other edge computing terminals as team members join the team, the edge computing terminal as a team member starts the daemon process and automatically sends the basic information of the edge computing terminal at a fixed time, waiting for edge computing tasks.

2. According to the edge computing terminal scheduling method of claim 1, It is characterized in that In step 2, the basic information of the edge computing terminal sent via Bluetooth includes memory, bandwidth, storage, and CPU utilization, and the team information includes existing members and team numbers.

3. According to the edge computing terminal scheduling method of claim 1, It is characterized in that In step 3, the scoring weights for comparative scoring include memory and CPU utilization, that is, the larger the memory and the lower the CPU utilization, the higher the score.

4. The edge computing terminal scheduling method according to claim 1, It is characterized in that In step 4, the description information of the hotspot includes SSID name, encryption method, password, and host IP.

5. The edge computing terminal scheduling method according to claim 1, It is characterized in that In step 5, the edge computing task steps are as follows: Step 50: The edge computing terminal as the team leader is responsible for the resource status, task line status, and achievement detection of each team member in the edge computing terminal team. When any team member needs to perform a large amount of computing or a complex computing task, the respective operation information is sent to the edge computing terminal as the team leader through the wifi module; Step 51: After receiving the request, the edge computing device as the team leader adds a new job record information in the local system, selects an appropriate number of team member edge computing terminals from the team, sends a resource check instruction and obtains the information of the team member edge computing terminals; Step 52: After the edge computing terminal that processes the job information is assigned, the edge computing terminal as the team leader divides the job task, that is, cuts the large computing task into small computing tasks, and then publishes the job status to the team members and starts the job work. The edge computing device as the team leader regularly monitors the completion of the job, and the team members need to provide real-time feedback; Step 53: After receiving the instruction, the edge computing terminal as a team member responds to the edge computing terminal as the team leader, and starts the operation process in a multi-process manner, and reports the results to the edge computing terminal as the team leader one by one; Step 54: After receiving the job completion information from the edge computing terminals of each team member, the edge computing terminal as the team leader matches the task with the information returned by the edge computing terminals as the team members from the job record information one by one, and assembles them into the final result; Step 55: After the team leader's edge computing terminal completes the final result, it synchronizes the result to all edge computing terminals in the team through the WiFi module.

6. The edge computing terminal scheduling method according to claim 5, It is characterized in that In step 52, if an interruption or a connection failure occurs, the edge computing terminal as the team leader will search for a new edge computing terminal as a team member from the resource pool and resend the interrupted job to the newly found edge computing terminal.

7. The edge computing terminal scheduling method according to claim 5, It is characterized in that In step 52, if an interruption or a connection failure occurs, the edge computing terminal as the team leader will search for a new edge computing terminal as a team member from the resource pool and resend the interrupted job to the newly found edge computing terminal.

Citation Information

Patent Citations

  • Vehicle group navigation method and navigation system

    CN103604436A

  • Automatic data acquisition method based on distributed intelligent edge computing technology

    CN110851280A