A method, device and server for processing edge programs

By establishing an edge device service list between the central server and the edge device, and using point-to-point transmission technology, the problem of excessive duration and high pressure on the central server during the issuance of massive edge device applications is solved, and a more efficient update process is achieved.

CN115114008BActive Publication Date: 2025-03-18CHINA MOBILE SHANGHAI ICT CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110284941.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-17
Publication Date
2025-03-18
Estimated Expiration
2041-03-17

AI Technical Summary

Technical Problem

When a large number of edge-end devices need to issue applications, the entire issuance process lasts too long, the central server is under too much pressure, and some edge-end devices program updates are lagging behind.

Method used

The central server sends target information to at least one edge device in the set of edge device and registers the edge device that successfully receives the target information into the edge device service list. Point-to-point transmission is performed through edge devices in the edge device service list, and target information is sent to edge devices that have not received target information.

Benefits of technology

It reduces the workload of the central server, shortens the duration of the entire edge-side program issuance, and improves the efficiency of target information updates of edge-side devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115114008B_ABST
    Figure CN115114008B_ABST
Patent Text Reader

Abstract

The present invention provides a method, device and server for processing edge programs, and relates to the field of communication technology. The method includes: a central server sends target information to at least one edge device in an edge device set; registers the edge device that successfully receives the target information into an edge device service list, the edge device service list is obtained based on the edge service list capacity, and the edge list service capacity is obtained based on the total number of edge devices in the edge device set, the edge service table capacity threshold, and the selection ratio of the edge device selected by the central server; controls the edge devices in the edge service list to send target information to edge devices in the edge device set that have not received the target information. The present invention reduces the workload of the central server, and later, with the continuous increase of edge devices, the time for issuing the entire edge program can be greatly shortened, and the update efficiency of the target information of the edge device 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 communication technology, and in particular to a method, device and server for processing edge programs. Background Art

[0002] Edge computing refers to the use of an open platform that integrates network, computing, storage, and application core capabilities to provide the nearest service on the side close to the source of objects or data. Its application is initiated on the edge side, resulting in faster network service response, meeting the basic needs of the industry in terms of real-time business, application intelligence, security and privacy protection. In this process, a large number of edge network devices will be deployed. The service programs run by these edge devices need to be updated and maintained from time to time. There are generally two solutions for the release of applications: Solution (I): All edge device program releases are completed uniformly by the central server. Solution (II): Select several suitable points near the edge and deploy multiple edge servers. The central server first releases to the edge server, and then the edge server distributes to each edge device. However, when a large number of edge devices need to release applications, they are limited by the access capacity and bandwidth of the central server, resulting in the entire release process lasting too long, the central server is overloaded, and some edge devices are delayed in program updates. Summary of the invention

[0003] The purpose of the present invention is to provide an edge program processing method, device and server to solve the problem that when a large number of edge devices need to send application programs, the entire sending process takes too long, the central server is under too much pressure, and the program updates of some edge devices are delayed.

[0004] To achieve the above object, an embodiment of the present invention provides a method for processing an edge program, comprising:

[0005] The central server sends target information to at least one edge device in the set of edge devices;

[0006] Registering the edge device that successfully receives the target information into the edge device service list, wherein the edge device service list is obtained according to the edge service list capacity, and the edge list service capacity is obtained according to the total number of edge devices in the edge device set, the edge service table capacity threshold, and the selection ratio of the edge devices selected by the central server;

[0007] The edge device in the edge service list is controlled to send the target information to the edge device in the edge device set that has not received the target information.

[0008] Optionally, in the edge program processing method of the embodiment of the present invention, the edge device service list can be used to register N edge devices, where N is the number of edge devices corresponding to the capacity of the edge device service list.

[0009] Optionally, the edge device service list is obtained by the following formula:

[0010] C = min(S*R,M);

[0011] Among them, C represents the service list capacity of the edge device, S represents the total number of edge devices in the edge device set, R represents the selection ratio of edge devices selected by the central server, and M represents the service list capacity of the edge device.

[0012] Optionally, the central server sends target information to at least one edge device in the edge device set, including:

[0013] The central server selects P edge devices that meet preset conditions and sends target information to the P edge devices;

[0014] The preset conditions include: supporting point-to-point function and the device load being less than a preset load threshold.

[0015] Optionally, the controlling the edge device in the edge service list to send the target information to the edge device in the edge device set that has not received the target information includes:

[0016] The central server selects T edge devices that have not received the target information from the edge device set;

[0017] Controlling the edge device in the edge device service list to establish a point-to-point connection with at least one edge device among the T edge devices, and starting to transmit the target information after the connection is established;

[0018] After the transmission of the target information is completed, if the number of edge devices registered in the edge device service list is less than the capacity of the edge device service list, registering the edge device that successfully receives the target information into the edge device service list;

[0019] Detect whether there is an edge device that has not received the target information in the edge device set. If so, enter the step of the central server selecting T edge devices that have not received the target information in the edge device set until there is no edge device that has not received the target information in the edge device set.

[0020] Optionally, the edge program processing method of the embodiment of the present invention further includes:

[0021] When it is detected that all edge devices in the edge device set have successfully received the target information, the edge device service list is deleted.

[0022] In order to achieve the above object, an embodiment of the present invention further provides an edge program processing device, which is applied to a central server and includes:

[0023] A first sending module, configured to send target information to at least one edge device in the edge device set;

[0024] A first processing module is used to register the edge device that successfully receives the target information into the edge device service list, wherein the edge device service list is obtained according to the edge service list capacity, and the edge list service capacity is obtained according to the total number of edge devices in the edge device set, the edge service list capacity threshold, and the selection ratio of the central server to select the edge devices;

[0025] The second processing module is used to control the edge device in the edge service list to send the target information to the edge device in the edge device set that has not received the target information.

[0026] Optionally, in the edge program processing apparatus of the embodiment of the present invention, the edge device service list can be used to register N edge devices, where N is the number of edge devices corresponding to the capacity of the edge device service list.

[0027] Optionally, the edge device service list capacity is obtained by the following formula:

[0028] C = min(S*R,M);

[0029] Among them, C represents the service list capacity of the edge device, S represents the total number of edge devices in the edge device set, R represents the selection ratio of edge devices selected by the central server, and M represents the service list capacity of the edge device.

[0030] Optionally, the first sending module is used to select P edge devices that meet preset conditions and send target information to the P edge devices;

[0031] The preset conditions include: supporting point-to-point function and the device load being less than a preset load threshold.

[0032] Optionally, the second processing module includes:

[0033] A first selection submodule is used to select T edge devices that have not received the target information from the edge device set;

[0034] A first processing submodule is used to control the edge device in the edge device service list to establish a point-to-point connection with at least one edge device among the T edge devices, and start transmitting the target information after the connection is established;

[0035] A second processing submodule is configured to register the edge device that successfully receives the target information into the edge device service list if the number of edge devices registered in the edge device service list is less than the capacity of the edge device service list after the transmission of the target information is completed;

[0036] The third processing sub-module is used to detect whether there is an edge device that has not received the target information in the edge device set. If so, the central server enters the step of selecting T edge devices that have not received the target information in the edge device set until there is no edge device that has not received the target information in the edge device set.

[0037] Optionally, the edge program processing device of the embodiment of the present invention further includes:

[0038] The third processing module is configured to delete the edge device service list when it is detected that all edge devices in the edge device set have successfully received the target information.

[0039] In order to achieve the above object, an embodiment of the present invention further provides a server, including: a transceiver and a processor:

[0040] The transceiver is used to send target information to at least one edge device in the edge device set;

[0041] The processor is used to register an edge device that successfully receives target information into an edge device service list, where the edge device service list is obtained based on the edge service list capacity, and the edge list service capacity is obtained based on the total number of edge devices in the edge device set, the edge service list capacity threshold, and the selection ratio of edge devices selected by the central server; and control the edge device in the edge service list to send the target information to the edge device in the edge device set that has not received the target information.

[0042] In order to achieve the above-mentioned purpose, the present invention also provides a processing device for an edge program, comprising: a transceiver, a processor, a memory, and a program or instruction stored in the memory and executable on the processor; when the processor executes the program or instruction, the steps in the edge program processing method as described above are implemented.

[0043] In order to achieve the above-mentioned purpose, the present invention also provides a readable storage medium on which a program or instruction is stored, characterized in that when the program or instruction is executed by a processor, the steps in the processing method of the edge program as described above are implemented.

[0044] The beneficial effects of the above technical solution of the present invention are as follows:

[0045] In an embodiment of the present invention, when the target information (such as an application) of an edge device is sent, the central server only bears a very small amount of sending workload, which is mainly to maintain and coordinate the edge device service list. The actual sending work is completed by the edge device registered to the edge device service list, thereby greatly reducing the workload of the central server. In the later stage, as the edge devices continue to increase, the duration of the entire edge program sending can be greatly shortened, thereby greatly improving the update efficiency of the target information of the edge devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 One of the flowcharts of the method for processing edge programs according to an embodiment of the present invention;

[0047] Figure 2 This is a schematic diagram of the relationship between the edge device service list and the edge device in an embodiment of the present invention;

[0048] Figure 3 This is a second schematic diagram of the relationship between the edge device service list and the edge device in an embodiment of the present invention;

[0049] Figure 4 This is a third schematic diagram of the relationship between the edge device service list and the edge device in an embodiment of the present invention;

[0050] Figure 5 FIG2 is a second flow chart of a method for processing edge programs according to an embodiment of the present invention;

[0051] Figure 6 A schematic diagram of a module of an edge program processing device according to an embodiment of the present invention;

[0052] Figure 7 is a structural block diagram of a server according to an embodiment of the present invention;

[0053] Figure 8 The structure block diagram of the edge program processing device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0054] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0055] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present invention. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0056] In various embodiments of the present invention, it should be understood that the size of the serial numbers of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0057] Additionally, the terms "system" and "network" are often used interchangeably herein.

[0058] In the embodiments provided in the present application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.

[0059] like Figure 1 As shown, an embodiment of the present invention provides a method for processing an edge program, including:

[0060] Step 101: The central server sends target information to at least one edge device in the edge device set.

[0061] Optionally, step 101 includes: the central server selects P edge devices that meet preset conditions, and sends target information to the P edge devices;

[0062] The preset conditions include: supporting point-to-point function and the device load being less than a preset load threshold.

[0063] Optionally, the target information is an application program. Here, when the central server receives the program delivery instruction, it is necessary to specify the application program to be delivered and the edge device set to receive the delivered program. According to the load capacity of the central server, a certain number of edge devices that meet the preset conditions are selected from the edge device set, and a connection is established with the central server to start delivering the program.

[0064] Step 102: Register the edge device that successfully receives the target information into the edge device service list, where the edge device service list is obtained based on the edge service list capacity, and the edge list service capacity is obtained based on the total number of edge devices in the edge device set, the edge service list capacity threshold, and the selection ratio of the edge devices selected by the central server.

[0065] Here, after the edge device that successfully receives the target information is registered to the edge device service list, the point-to-point transmission function of the edge device in the edge device service list is enabled, so that the above target information can be sent to other edge devices that have not received the target information through the edge device in the edge device service list.

[0066] Step 103: Control the edge device in the edge service list to send the target information to the edge device in the edge device set that has not received the target information.

[0067] In this step, the edge device in the edge service list establishes a point-to-point connection with the edge device that has not received the target information, and transmits the target information.

[0068] In the edge program processing method of the embodiment of the present invention, when the target information (such as an application) of the edge device is sent, the central server only bears a very small amount of sending workload, which is mainly to maintain and coordinate the edge device service list. The actual sending work is completed by the edge device registered to the edge device service list, thereby greatly reducing the workload of the central server. In the later stage, as the edge devices continue to increase, the duration of the entire edge program sending can be greatly shortened, thereby greatly improving the update efficiency of the target information of the edge devices.

[0069] Optionally, in the edge program processing method of the embodiment of the present invention, the edge device service list can be used to register N edge devices, where N is the number of edge devices corresponding to the capacity of the edge device service list.

[0070] Optionally, the edge device service list capacity is obtained by the following formula:

[0071] C = min(S*R,M);

[0072] Among them, C represents the service list capacity of the edge device, S represents the total number of edge devices in the edge device set, R represents the selection ratio of edge devices selected by the central server, and M represents the service list capacity of the edge device.

[0073] In the embodiment of the present invention, an appropriate edge device service list capacity is calculated according to the total number of edge devices in the edge device set, the edge device service list capacity and the above selection ratio, so as to create an edge device service list according to the edge device service list capacity, such as Figure 2 As shown, edge devices can be registered through the edge device service list.

[0074] Optionally, the controlling the edge device in the edge service list to send the target information to the edge device in the edge device set that has not received the target information includes:

[0075] The central server selects T edge devices that have not received the target information from the edge device set;

[0076] Controlling the edge device in the edge device service list to establish a point-to-point connection with at least one edge device among the T edge devices, and starting to transmit the target information after the connection is established;

[0077] After the transmission of the target information is completed, if the number of edge devices registered in the edge device service list is less than the capacity of the edge device service list, registering the edge device that successfully receives the target information into the edge device service list;

[0078] Detect whether there is an edge device that has not received the target information in the edge device set. If so, enter the step of the central server selecting T edge devices that have not received the target information in the edge device set until there is no edge device that has not received the target information in the edge device set.

[0079] In an embodiment of the present invention, after the central server completes the delivery of target information of the first batch of edge devices, it detects whether there are any free positions in the edge device service list. If there are free positions, the point-to-point transmission service of the edge devices that have completed the delivery of target information is started in sequence, and the edge devices that have completed the delivery of target information are registered in the edge device service list. If there are no free positions in the edge device service list, the above operation is not performed. Figure 3 As shown, the central server randomly captures devices again from edge devices that have not received target information, and establishes a point-to-point service connection between the captured devices and the edge devices in the edge device service list, and the edge devices in the edge device service list send the target information to the edge devices.

[0080] Repeat the above steps, and the edge device that has completed the target information delivery will be registered in the above service list until the service list capacity limit is reached. Figure 4 As shown, the central server will continue to capture edge devices that have not received the target information and assign them to idle edge devices in the service list until all edge devices have received the target information.

[0081] Optionally, the edge program processing method of the embodiment of the present invention further includes:

[0082] When it is detected that all edge devices in the edge device set have successfully received the target information, the edge device service list is deleted.

[0083] Here, when all edge devices have completed the delivery of target information, the central server will shut down the point-to-point services of the edge devices in the edge device service list in turn and remove the devices from the service list. When all devices registered in the edge device service list are removed, the edge device service list is destroyed and the entire delivery work is completed.

[0084] Combine the following Figure 5 The processing method of the edge program of the present invention is described in detail.

[0085] like Figure 5 As shown, the sending method includes:

[0086] Step 501: The central server receives the issued instruction.

[0087] Step 502: The central server captures some edge devices that have point-to-point services.

[0088] Step 503: The central server directly sends the target information to the captured edge device.

[0089] Step 504: The central server determines whether the service list capacity is exceeded.

[0090] The service list capacity here is the service list capacity of the edge device mentioned above.

[0091] Step 505: If the service list capacity is not exceeded, the edge device that has completed the target information delivery is added to the above service list; otherwise, jump to step 506.

[0092] Step 506: The central server determines whether there are any devices to be sent.

[0093] Here, the device to be sent refers to an edge device that has not received the target information.

[0094] Step 507: If there is no device to be sent, close and clear the above service list.

[0095] Step 508: If there are devices to be sent, some devices are randomly captured.

[0096] Step 509: Determine whether the device captured in step 508 has a point-to-point function.

[0097] Step 510: If the point-to-point function is available, the edge device in the service list sends the target information and jumps to step 504.

[0098] Step 511: If the point-to-point function is not available, the central server directly sends the target information and jumps to step 506.

[0099] In the embodiment of the present invention, the edge device that has completed the target information delivery will start the point-to-point service and register in the service list to become a service device. When the central server assigns a certain edge device to be delivered to the service device, the service device sends the target information to the edge device through the point-to-point transmission technology.

[0100] By adopting the solution of the present invention, when the edge program is issued, the central server only bears a very small amount of the issuance workload, and more is the maintenance and coordination work of the server list, while the actual issuance work is completed by the edge device registered in the service list. This process greatly reduces the workload of the central server, and will not cause new problems as the edge devices continue to increase in the future. At the same time, the practice of splitting the edge device into an edge server can greatly shorten the duration of the entire edge program issuance.

[0101] like Figure 6 As shown, the embodiment of the present invention further provides an edge program processing device 600, which is applied to a central server and includes:

[0102] A first sending module 601 is used to send target information to at least one edge device in the edge device set;

[0103] The first processing module 602 is used to register the edge device that successfully receives the target information into the edge device service list, where the edge device service list is obtained according to the edge service list capacity, and the edge list service capacity is obtained according to the total number of edge devices in the edge device set, the edge service list capacity threshold, and the selection ratio of the edge devices selected by the central server;

[0104] The second processing module 603 is used to control the edge device in the edge service list to send the target information to the edge device in the edge device set that has not received the target information.

[0105] Optionally, in the edge program processing apparatus of the present invention, the edge device service list can be used to register N edge devices, where N is the number of edge devices corresponding to the capacity of the edge device service list.

[0106] Optionally, the edge device service list capacity is obtained by the following formula:

[0107] Formula C = min(S*R, M);

[0108] Among them, C represents the service list capacity of the edge device, S represents the total number of edge devices in the edge device set, R represents the selection ratio of edge devices selected by the central server, and M represents the service list capacity of the edge device.

[0109] Optionally, the first sending module is used to select P edge devices that meet preset conditions and send target information to the P edge devices;

[0110] The preset conditions include: supporting point-to-point function and the device load being less than a preset load threshold.

[0111] Optionally, the second processing module includes:

[0112] A first selection submodule is used to select T edge devices that have not received the target information from the edge device set;

[0113] A first processing submodule is used to control the edge device in the edge device service list to establish a point-to-point connection with at least one edge device among the T edge devices, and start transmitting the target information after the connection is established;

[0114] A second processing submodule is configured to register the edge device that successfully receives the target information into the edge device service list if the number of edge devices registered in the edge device service list is less than the capacity of the edge device service list after the transmission of the target information is completed;

[0115] The third processing sub-module is used to detect whether there is an edge device that has not received the target information in the edge device set. If so, the central server enters the step of selecting T edge devices that have not received the target information in the edge device set until there is no edge device that has not received the target information in the edge device set.

[0116] Optionally, the edge program processing device of the embodiment of the present invention further includes:

[0117] The third processing module is configured to delete the edge device service list when it is detected that all edge devices in the edge device set have successfully received the target information.

[0118] The processing device of the edge program can implement all the implementation methods of the above-mentioned edge program processing method embodiment, and in order to avoid repetition, they will not be described here.

[0119] like Figure 7 As shown, the embodiment of the present invention further provides a server 700, including: a transceiver 720 and a processor 710:

[0120] The transceiver 720 is used to send target information to at least one edge device in the edge device set;

[0121] The processor 710 is used to register an edge device that successfully receives the target information into an edge device service list, where the edge device service list is obtained based on the edge service list capacity, and the edge list service capacity is obtained based on the total number of edge devices in the edge device set, the edge service list capacity threshold, and the selection ratio of edge devices selected by the central server; and control the edge device in the edge service list to send the target information to the edge device in the edge device set that has not received the target information.

[0122] Optionally, the edge device service list can be used to register N edge devices, where N is the number of edge devices corresponding to the capacity of the edge device service list.

[0123] Optionally, the edge device service list capacity is obtained by the following formula:

[0124] C = min(S*R,M);

[0125] Among them, C represents the service list capacity of the edge device, S represents the total number of edge devices in the edge device set, R represents the selection ratio of edge devices selected by the central server, and M represents the service list capacity of the edge device.

[0126] Optionally, the transceiver 720 is used for the central server to select P edge devices that meet preset conditions and send target information to the P edge devices;

[0127] The preset conditions include: supporting point-to-point function and the device load being less than a preset load threshold.

[0128] Optionally, the processor 710 is configured to select T edge devices from the edge device set that have not received the target information;

[0129] Controlling an edge device in the edge device service list to establish a point-to-point connection with at least one edge device among the T edge devices, and starting to transmit the target information after the connection is established;

[0130] After the transmission of the target information is completed, if the number of edge devices registered in the edge device service list is less than the capacity of the edge device service list, registering the edge device that successfully receives the target information into the edge device service list;

[0131] Detect whether there is an edge device that has not received the target information in the edge device set. If so, enter the step of the central server selecting T edge devices that have not received the target information in the edge device set until there is no edge device that has not received the target information in the edge device set.

[0132] Optionally, the processor 710 is configured to delete the edge device service list when it is detected that all edge devices in the edge device set have successfully received the target information.

[0133] The processing device of the edge program can implement all the implementation methods of the above-mentioned edge program processing method embodiment, and in order to avoid repetition, they will not be described here.

[0134] Another embodiment of the present invention further provides a device for processing edge programs, such as Figure 8 As shown, it includes a transceiver 810, a processor 800, a memory 820, and a program or instruction stored in the memory 820 and executable on the processor 800; when the processor 800 executes the program or instruction, the steps of the processing method of the above-mentioned edge program are implemented.

[0135] The transceiver 810 is used to receive and send data under the control of the processor 800 .

[0136] Among them, Figure 8 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by processor 800 and memory represented by memory 820. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 810 may be a plurality of components, i.e., including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. The processor 800 is responsible for managing the bus architecture and general processing, and the memory 820 may store data used by the processor 800 when performing operations.

[0137] An embodiment of the present invention also provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps in the edge program processing method as described above are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0138] The processor is a processor in the edge program processing device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0139] It should be further explained that the terminals described in this specification include but are not limited to smart phones, tablet computers, etc., and many of the functional components described are called modules in order to more particularly emphasize the independence of their implementation methods.

[0140] In the embodiment of the present invention, module can be implemented with software so that it can be executed by various types of processors. For example, an executable code module of an identification can include one or more physical or logical blocks of computer instructions, for example, it can be constructed as an object, process or function. Nevertheless, the executable code of the identified module does not need to be physically located together, but can include different instructions stored in different positions, and when these instructions are logically combined together, it constitutes a module and realizes the specified purpose of the module.

[0141] In fact, executable code module can be a single instruction or many instructions, and can even be distributed on a plurality of different code segments, distributed among different programs, and distributed across a plurality of memory devices. Similarly, operating data can be identified in the module, and can be implemented and organized in the data structure of any appropriate type according to any appropriate form. The operating data can be collected as a single data set, or can be distributed in different locations (including on different storage devices), and can only be present on a system or network as an electronic signal at least in part.

[0142] When a module can be implemented by software, considering the level of existing hardware technology, a person skilled in the art can build a corresponding hardware circuit to implement the corresponding function of the module that can be implemented by software without considering the cost. The hardware circuit includes a conventional very large scale integration (VLSI) circuit or gate array and existing semiconductors such as logic chips, transistors, or other discrete components. The module can also be implemented by a programmable hardware device, such as a field programmable gate array, a programmable array logic, a programmable logic device, etc.

[0143] The above exemplary embodiments are described with reference to the accompanying drawings, and many different forms and embodiments are feasible without departing from the spirit and teachings of the present invention. Therefore, the present invention should not be constructed as a limitation of the exemplary embodiments proposed herein. More specifically, these exemplary embodiments are provided so that the present invention will be perfect and complete, and the scope of the present invention will be conveyed to those who are familiar with the technology. In these figures, the component sizes and relative sizes may be exaggerated for clarity. The terms used here are only based on the purpose of describing specific exemplary embodiments and are not intended to be limiting. As used herein, unless the text clearly indicates otherwise, the singular forms "one", "an" and "the" are intended to include these multiple forms. It will be further understood that the terms "including" and / or "comprising" when used in this specification indicate the presence of the features, integers, steps, operations, components and / or components, but do not exclude the presence or increase of one or more other features, integers, steps, operations, components, components and / or their groups. Unless otherwise indicated, when stated, a range of values ​​includes the upper and lower limits of that range and any subranges therebetween.

[0144] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for processing edge programs, characterized in that: include: The central server sends target information to at least one edge device in the edge device set that meets preset conditions; wherein the preset conditions include: supporting point-to-point functions and the device load being less than a preset load threshold; Registering the edge device that successfully receives the target information into the edge device service list, wherein the edge device service list is obtained according to the edge service list capacity, wherein the edge service list capacity is obtained according to the total number of edge devices in the edge device set, the edge service list capacity threshold, and the selection ratio of the edge devices selected by the central server; The edge devices in the edge device service list are controlled to send the target information to edge devices in the edge device set that have not received the target information.

2. The method for processing edge programs according to claim 1, characterized in that: The edge device service list can be used to register N edge devices, where N is the number of edge devices corresponding to the capacity of the edge device service list.

3. The method for processing edge programs according to claim 1, characterized in that: The edge device service list capacity is obtained by the following formula: C = min(S*R,M); Among them, C represents the service list capacity of the edge device, S represents the total number of edge devices in the edge device set, R represents the selection ratio of edge devices selected by the central server, and M represents the service list capacity of the edge device.

4. The method for processing edge programs according to claim 1, characterized in that: The central server sends target information to at least one edge device in the edge device set, including: The central server selects P edge devices that meet preset conditions and sends target information to the P edge devices; The preset conditions include: supporting point-to-point function and the device load being less than a preset load threshold.

5. The method for processing edge programs according to claim 1, characterized in that: The controlling the edge device in the edge device service list to send the target information to the edge device in the edge device set that has not received the target information comprises: The central server selects T edge devices that have not received the target information from the edge device set; Controlling an edge device in the edge device service list to establish a point-to-point connection with at least one edge device among the T edge devices, and starting to transmit the target information after the connection is established; After the transmission of the target information is completed, if the number of edge devices registered in the edge device service list is less than the capacity of the edge device service list, registering the edge device that successfully receives the target information into the edge device service list; Detect whether there is an edge device that has not received the target information in the edge device set. If so, enter the step of the central server selecting T edge devices that have not received the target information in the edge device set until there is no edge device that has not received the target information in the edge device set.

6. The method for processing edge programs according to claim 1, characterized in that: Also includes: When it is detected that all edge devices in the edge device set have successfully received the target information, the edge device service list is deleted.

7. A processing device for edge programs, applied to a central server, characterized in that: include: A first sending module is used to send target information to at least one edge device in the edge device set that meets preset conditions; wherein the preset conditions include: supporting point-to-point function and the device load is less than a preset load threshold; A first processing module is used to register the edge device that successfully receives the target information into the edge device service list, wherein the edge device service list is obtained according to the edge service list capacity, and the edge service list capacity is obtained according to the total number of edge devices in the edge device set, the edge service list capacity threshold, and the selection ratio of the central server to select the edge device; The second processing module is used to control the edge device in the edge device service list to send the target information to the edge device in the edge device set that has not received the target information.

8. The edge program processing device according to claim 7, characterized in that: The edge device service list can be used to register N edge devices, where N is the number of edge devices corresponding to the capacity of the edge device service list.

9. The edge program processing device according to claim 8, characterized in that: The edge device service list capacity is obtained by the following formula: C = min(S*R,M); Among them, C represents the service list capacity of the edge device, S represents the total number of edge devices in the edge device set, R represents the selection ratio of edge devices selected by the central server, and M represents the service list capacity of the edge device.

10. The edge program processing device according to claim 7, characterized in that: The first sending module is used to select P edge devices that meet preset conditions and send target information to the P edge devices; The preset conditions include: supporting point-to-point function and the device load being less than a preset load threshold.

11. The edge program processing device according to claim 7, characterized in that: The second processing module comprises: A first selection submodule is used to select T edge devices that have not received the target information from the edge device set; A first processing submodule is used to control the edge device in the edge device service list to establish a point-to-point connection with at least one edge device among the T edge devices, and start transmitting the target information after the connection is established; A second processing submodule is configured to register the edge device that successfully receives the target information into the edge device service list if the number of edge devices registered in the edge device service list is less than the capacity of the edge device service list after the transmission of the target information is completed; The third processing sub-module is used to detect whether there is an edge device that has not received the target information in the edge device set. If so, the central server enters the step of selecting T edge devices that have not received the target information in the edge device set until there is no edge device that has not received the target information in the edge device set.

12. The edge program processing device according to claim 7, characterized in that: Also includes: The third processing module is configured to delete the edge device service list when it is detected that all edge devices in the edge device set have successfully received the target information.

13. A server, characterized in that: include: Transceiver and Processor: The transceiver is used to send target information to at least one edge device in the edge device set that meets preset conditions; wherein the preset conditions include: supporting point-to-point function and device load being less than a preset load threshold; The processor is used to register an edge device that successfully receives target information into an edge device service list, wherein the edge device service list is obtained based on the edge service list capacity, and the edge service list capacity is obtained based on the total number of edge devices in the edge device set, the edge service list capacity threshold, and the selection ratio of edge devices selected by the central server; and control the edge device in the edge device service list to send the target information to the edge device in the edge device set that has not received the target information.

14. A processing device for edge programs, comprising: A transceiver, a processor, a memory, and a program or instruction stored in the memory and executable on the processor; characterized in that when the processor executes the program or instruction, the steps in the edge program processing method as described in any one of claims 1 to 6 are implemented.

15. A readable storage medium having a program or instruction stored thereon, characterized in that: When the program or instruction is executed by a processor, the steps in the edge program processing method as described in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Task processing method and device and cloud computing system

    CN110557419A

  • Big data content distribution method

    CN111930710A