CN115114008A - Edge program processing method and device and server - Google Patents

Edge program processing method and device and server Download PDF

Info

Publication number
CN115114008A
CN115114008A CN202110284941.2A CN202110284941A CN115114008A CN 115114008 A CN115114008 A CN 115114008A CN 202110284941 A CN202110284941 A CN 202110284941A CN 115114008 A CN115114008 A CN 115114008A
Authority
CN
China
Prior art keywords
edge
target information
service list
equipment
devices
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.)
Pending
Application number
CN202110284941.2A
Other languages
Chinese (zh)
Inventor
王飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Shanghai ICT Co Ltd
CM Intelligent Mobility Network Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Shanghai ICT Co Ltd
CM Intelligent Mobility Network Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Shanghai ICT Co Ltd, CM Intelligent Mobility Network Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110284941.2A priority Critical patent/CN115114008A/en
Publication of CN115114008A publication Critical patent/CN115114008A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a processing method, a processing device and a server of an edge program, and relates to the technical field of communication. The method comprises the following steps: the central server sends target information to at least one edge terminal device in the edge terminal device set; registering edge terminal equipment which successfully receives the target information into an edge terminal equipment service list, wherein the edge terminal equipment service list is obtained according to the capacity of the edge service list, and the edge list service capacity is obtained according to the total number of the edge terminal equipment in an edge terminal equipment set, the capacity threshold of the edge service list and the selection proportion of the central server for selecting the edge terminal equipment; and controlling the edge terminal equipment in the edge terminal service list to send the target information to the edge terminal equipment which does not receive the target information in the edge terminal equipment set. The invention reduces the workload of the central server, can greatly shorten the time of issuing the whole edge end program along with the continuous increase of the edge end equipment in the later period, and improves the updating efficiency of the target information of the edge end equipment.

Description

Edge program processing method and device and server
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a server for processing an edge program.
Background
Edge computing refers to an open platform integrating network, computing, storage and application core capabilities at one side close to an object or a data source to provide nearest-end services nearby. The application program is initiated at the edge side, so that a faster network service response is generated, and the basic requirements of the industry in the aspects of real-time business, application intelligence, safety, privacy protection and the like are met. In this process, a huge amount of edge network devices may be deployed. The service programs run by these edge devices need to be updated and maintained irregularly. There are currently two general approaches to application delivery: scheme (I): all the programs issued by the edge equipment are uniformly finished by the central server. And (II) selecting a plurality of proper points at the near edge end and deploying a plurality of edge servers. The central server is firstly issued to the edge servers, and then the edge servers distribute the data to each edge terminal device. However, when a large amount of edge devices need to issue application programs, the duration of the entire issuing process is too long, the central server is under too much pressure, and part of the edge device programs are updated and delayed due to the limitation of resources such as the access capability of the central server, bandwidth and the like.
Disclosure of Invention
The invention aims to provide a processing method, a processing device and a server of an edge program, and aims to solve the problems that when massive edge devices need to issue application programs, the duration of the whole issuing process is too long, the pressure of a central server is too large, and the program updating of part of the edge devices is delayed.
To achieve the above object, an embodiment of the present invention provides a method for processing an edge program, including:
the central server sends target information to at least one edge terminal device in the edge terminal device set;
registering edge terminal equipment which successfully receives target information into an edge terminal equipment service list, wherein the edge terminal equipment service list is obtained according to the capacity of the edge service list, and the edge list service capacity is obtained according to the total number of the edge terminal equipment in an edge terminal equipment set, the capacity threshold of the edge service list and the selection proportion of the edge terminal equipment selected by a central server;
and controlling the edge terminal equipment in the edge terminal service list to send the target information to the edge terminal equipment which does not receive the target information in the edge terminal equipment set.
Optionally, in the method for processing an edge program according to the embodiment of the present invention, the edge device service list may 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.
Optionally, the edge device service list is obtained by the following formula:
C=min(S*R,M);
wherein, C represents the capacity of the edge device service list, S represents the total number of the edge devices in the edge device set, R represents the selection proportion of the central server for selecting the edge devices, and M represents the capacity of the edge device service list.
Optionally, the sending, by the central server, the target information to at least one edge device in the edge device set includes:
the central server selects P edge devices meeting preset conditions and sends target information to the P edge devices;
the preset conditions include: supporting point-to-point functions and equipment load less than a preset load threshold.
Optionally, the controlling the edge device in the edge service list to send the target information to the edge device that does not receive the target information in the edge device set includes:
the central server selects T pieces of edge equipment which do not receive the target information from the edge equipment set;
controlling the edge device in the edge device service list to establish point-to-point connection with at least one edge device in the T edge devices, and starting to transmit the target information after establishing the connection;
after the transmission of the target information is completed, if the number of the edge devices registered in the edge device service list is smaller than the capacity of the edge device service list, registering the edge devices which successfully receive the target information in the edge device service list;
detecting whether edge end equipment which does not receive the target information exists in the edge end equipment set, if yes, entering a step that the central server selects T edge end equipment which does not receive the target information in the edge end equipment set until no edge end equipment which does not receive the target information exists in the edge end equipment set.
Optionally, the method for processing an edge program according to the embodiment of the present invention further includes:
and deleting the edge device service list under the condition that all the edge devices in the edge device set successfully receive the target information.
In order to achieve the above object, an embodiment of the present invention further provides a processing apparatus of an edge program, which is applied to a central server, and includes:
a first sending module, configured to send target information to at least one edge device in an edge device set;
the first processing module is used for registering edge equipment which successfully receives target information into an edge equipment service list, wherein the edge equipment service list is obtained according to the capacity of the edge service list, and the edge list service capacity is obtained according to the total number of the edge equipment in an edge equipment set, the capacity threshold of the edge service list and the selection proportion of the central server for selecting the edge equipment;
and the second processing module is used for controlling the edge terminal equipment in the edge terminal service list to send the target information to the edge terminal equipment which does not receive the target information in the edge terminal equipment set.
Optionally, in the apparatus for processing an edge program according to the embodiment of the present invention, the edge device service list may 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.
Optionally, the service list capacity of the edge device is obtained by the following formula:
C=min(S*R,M);
wherein, C represents the capacity of the edge device service list, S represents the total number of the edge devices in the edge device set, R represents the selection proportion of the central server for selecting the edge devices, and M represents the capacity of the edge device service list.
Optionally, the first sending module is configured to select P edge devices that meet a preset condition, and send target information to the P edge devices;
the preset conditions include: supporting point-to-point functions and equipment load less than a preset load threshold.
Optionally, the second processing module includes:
a first selection submodule, configured to select, from the edge device set, T edge devices that do not receive the target information;
a first processing submodule, configured to control an edge device in the edge device service list to establish a point-to-point connection with at least one edge device of the T edge devices, and start to transmit the target information after establishing the connection;
a second processing sub-module, configured to register, after completing transmission of the target information, an edge device that successfully receives the target information in an edge device service list if the number of edge devices registered in the edge device service list is smaller than a capacity of the edge device service list;
and a third processing sub-module, configured to detect whether there are edge devices that do not receive the target information in the edge device set, and if there are edge devices that do not receive the target information in the edge device set, enter a step in which the central server selects T edge devices that do not receive the target information in the edge device set until there are no edge devices that do not receive the target information in the edge device set.
Optionally, the apparatus for processing an edge program according to the embodiment of the present invention further includes:
a third processing module, configured to delete the edge device service list when it is detected that all edge devices in the edge device set successfully receive the target information.
In order to achieve the above object, an embodiment of the present invention further provides a server, including: a transceiver and a processor:
the transceiver is used for sending target information to at least one edge terminal device in the edge terminal device set;
the processor is used for registering edge equipment which successfully receives target information into an edge equipment service list, wherein the edge equipment service list is obtained according to the capacity of the edge service list, and the edge list service capacity is obtained according to the total number of the edge equipment in an edge equipment set, the threshold value of the capacity of the edge service list and the selection proportion of the central server for selecting the edge equipment; and controlling the edge terminal equipment in the edge terminal service list to send the target information to the edge terminal equipment which does not receive the target information in the edge terminal equipment set.
In order to achieve the above object, the present invention further provides an edge program processing apparatus, including: a transceiver, a processor, a memory, and a program or instructions stored on the memory and executable on the processor; the processor, when executing the program or instructions, implements the steps in the processing method of the edge program as described above.
In order to achieve the above object, the present invention also provides a readable storage medium on which a program or instructions are stored, characterized in that the program or instructions, when executed by a processor, implement the steps in the processing method of the edge program as described above.
The technical scheme of the invention has the following beneficial effects:
in the embodiment of the invention, when the target information (such as an application program) of the edge terminal equipment is issued, the central server only bears a very small amount of issuing workload, mainly maintains and coordinates the service list of the edge terminal equipment, and the actual issuing workload is completed by the edge terminal equipment registered in the service list of the edge terminal equipment, so that the workload of the central server is greatly reduced, and the issuing duration time of the whole edge terminal program can be greatly shortened along with the continuous increase of the edge terminal equipment in the later period, thereby greatly improving the updating efficiency of the target information of the edge terminal equipment.
Drawings
FIG. 1 is a flowchart illustrating a method for processing an edge program according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a relationship between an edge device service list and an edge device according to an embodiment of the present invention;
fig. 3 is a second schematic diagram illustrating a relationship between an edge device service list and an edge device according to an embodiment of the present invention;
fig. 4 is a third schematic diagram illustrating a relationship between an edge device service list and an edge device according to an embodiment of the present invention;
FIG. 5 is a second flowchart illustrating a processing method of an edge procedure according to an embodiment of the present invention;
FIG. 6 is a block diagram of an edge processing apparatus according to an embodiment of the present invention;
FIG. 7 is a block diagram of a server according to an embodiment of the present invention;
fig. 8 is a block diagram of a processing apparatus of an edge program according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In various embodiments of the present invention, it should be understood that the sequence numbers of the following processes do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Additionally, the terms "system" and "network" are often used interchangeably herein.
In the embodiments provided herein, it should be understood that "B corresponding to a" means that B is associated with a from which B can be determined. It should also be understood that determining B from a does not mean determining B from a alone, but may be determined from a and/or other information.
As shown in fig. 1, an embodiment of the present invention provides a method for processing an edge program, including:
step 101: and the central server sends the target information to at least one edge terminal device in the edge terminal device set.
Optionally, the step 101 includes: the central server selects P edge end devices meeting preset conditions and sends target information to the P edge end devices;
the preset conditions include: supporting point-to-point functions and equipment load less than a preset load threshold.
Optionally, the target information is an application program, where when the central server receives the program issuing instruction, the central server needs to designate the application program to be issued and an edge device set for receiving the issuing program. According to the load capacity of the central server, a certain number of edge equipment meeting preset conditions are selected from the edge equipment set, and connection with the central server is established to start issuing programs.
Step 102: and registering the edge terminal equipment which successfully receives the target information into an edge terminal equipment service list, wherein the edge terminal equipment service list is obtained according to the capacity of the edge service list, and the edge list service capacity is obtained according to the total number of the edge terminal equipment in the edge terminal equipment set, the capacity threshold of the edge service list and the selection proportion of the central server for selecting the edge terminal equipment.
Here, after registering the edge device that successfully receives the target information in the edge device service list, the peer-to-peer transmission function of the edge device in the edge device service list is started, so that the target information is subsequently sent to other edge devices that do not receive the target information through the edge device in the edge device service list.
Step 103: and controlling the edge terminal equipment in the edge terminal service list to send the target information to the edge terminal equipment which does not receive the target information in the edge terminal equipment set.
In this step, the edge device in the edge service list establishes a point-to-point connection with the edge device that does not receive the target information, and transmits the target information.
According to the method for processing the edge program, when the target information (such as an application program) of the edge device is issued, the central server only bears a very small amount of issuing workload, the method is mainly used for maintaining and coordinating the edge device service list, and the actual issuing workload is completed by the edge device registered in the edge device service list, so that the workload of the central server is greatly reduced, and the issuing duration of the whole edge program can be greatly shortened along with the continuous increase of the edge device in the later period, so that the updating efficiency of the target information of the edge device is greatly improved.
Optionally, in the method for processing an edge program according to the embodiment of the present invention, the edge device service list may 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.
Optionally, the service list capacity of the edge device is obtained by the following formula:
C=min(S*R,M);
wherein, C represents the capacity of the edge device service list, S represents the total number of the edge devices in the edge device set, R represents the selection proportion of the central server for selecting the edge devices, and M represents the capacity of the edge device service list.
In the embodiment of the present invention, an appropriate capacity of the edge device service list is calculated according to the total number of the edge devices in the edge device set, the capacity of the edge device service list, and the selection ratio, so as to create the edge device service list according to the capacity of the edge device service list, as shown in fig. 2, and the edge device can be registered through the edge device service list.
Optionally, the controlling the edge device in the edge service list to send the target information to the edge device that does not receive the target information in the edge device set includes:
the central server selects T pieces of edge equipment which do not receive the target information from the edge equipment set;
controlling the edge device in the edge device service list to establish point-to-point connection with at least one edge device in the T edge devices, and starting to transmit the target information after establishing the connection;
after the transmission of the target information is completed, if the number of the edge devices registered in the edge device service list is smaller than the capacity of the edge device service list, registering the edge devices which successfully receive the target information in the edge device service list;
detecting whether edge end equipment which does not receive the target information exists in the edge end equipment set, if yes, entering a step that the central server selects T edge end equipment which does not receive the target information in the edge end equipment set until no edge end equipment which does not receive the target information exists in the edge end equipment set.
In the embodiment of the invention, after the central server finishes the issue of the target information of the first batch of edge equipment, whether the edge equipment service list has idle positions or not is detected, if the edge equipment service list has idle positions, the point-to-point transmission service of the edge equipment which finishes the issue of the target information is sequentially started, the edge equipment which finishes the issue of the target information is registered in the edge equipment service list, and if the edge equipment service list has no idle positions, the operation is not executed. Then, as shown in fig. 3, the central server randomly captures the device again in the edge device that does not receive the target information, establishes a point-to-point service connection between the captured device and the edge device in the edge device service list, and issues the target information to the edge device by the edge device in the edge device service list.
Repeating the steps, and the edge device which finishes the target information sending can be registered to the service list until the upper limit of the service list capacity is reached. As shown in fig. 4, the central server may continuously capture the edge devices that do not receive the target information, and allocate the edge devices to the idle edge devices in the service list until all the edge devices receive the target information.
Optionally, the method for processing an edge program according to the embodiment of the present invention further includes:
and deleting the edge device service list under the condition that all the edge devices in the edge device set successfully receive the target information.
Here, after all the edge devices complete the sending of the target information, the central server will sequentially close the point-to-point services of the edge devices in the edge device service list, and remove the devices from the service list. And destroying the edge terminal equipment service list after all the equipment registered in the edge terminal equipment service list is removed, and finishing the whole issuing work.
The following describes the processing method of the edge program according to the present invention in detail with reference to fig. 5.
As shown in fig. 5, the transmission method includes:
step 501: the central server receives the issuing instruction.
Step 502: the central server captures the edge devices with point-to-point services.
Step 503: and the central server directly issues the target information to the captured edge equipment.
Step 504: the central server determines whether the service list capacity is exceeded.
The service list capacity here is the above-mentioned edge device service list capacity.
Step 505: if the capacity of the service list is not exceeded, the edge device which finishes the target information issue is added into the service list, otherwise, the step 506 is skipped.
Step 506: the central server judges whether the equipment is still to be issued.
Here, the device to be issued refers to an edge device that has not received the target information.
Step 507: and if the equipment to be issued does not exist, closing and emptying the service list.
Step 508: and if the equipment is to be issued, randomly grabbing part of the equipment.
Step 509: it is determined whether the device grabbed in step 508 has peer-to-peer functionality.
Step 510: if the service list has the peer-to-peer function, the edge device in the service list issues the target information, and the process goes to step 504.
Step 511: if the peer-to-peer function is not available, the central server directly issues the target information and skips to step 506.
In the embodiment of the invention, the edge equipment which finishes the target information issuing can start the point-to-point service and register the point-to-point service to the service list to become the service equipment. When the central server assigns a certain edge terminal device to be issued to the service device, the service device sends the target information to the edge terminal device through a point-to-point transmission technology.
By adopting the scheme of the invention, when the edge terminal program is issued, the central server only bears a very small amount of issuing workload, more maintenance work and coordination work on the server list are carried out, and the actual issuing work is automatically completed by the edge terminal equipment registered in the service list. The process greatly reduces the workload of the central server, and new problems can not be brought along with the continuous increase of the edge end equipment in the later period. Meanwhile, the method of splitting the edge terminal equipment into the edge terminal server can greatly shorten the duration time of the whole edge terminal program issuing.
As shown in fig. 6, an embodiment of the present invention further provides a processing apparatus 600 of an edge program, which is applied to a central server, and includes:
a first sending module 601, configured to send target information to at least one edge device in an edge device set;
a first processing module 602, configured to register edge devices that successfully receive target information in an edge device service list, where the edge device service list is obtained according to a capacity of the edge service list, and the edge list service capacity is obtained according to a total number of edge devices in an edge device set, an edge service list capacity threshold, and a selection ratio of edge devices selected by a central server;
a second processing module 603, configured to control the edge device in the edge device service list to send the target information to an edge device that does not receive the target information in the edge device set.
Optionally, in the apparatus for processing an edge program of the present invention, the edge device service list may 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.
Optionally, the service list capacity of the edge device is obtained by the following formula:
formula C ═ min (S × R, M);
wherein, C represents the capacity of the edge device service list, S represents the total number of the edge devices in the edge device set, R represents the selection proportion of the central server for selecting the edge devices, and M represents the capacity of the edge device service list.
Optionally, the first sending module is configured to select P edge devices that meet a preset condition, and send target information to the P edge devices;
the preset conditions include: supporting point-to-point functions and equipment load less than a preset load threshold.
Optionally, the second processing module includes:
a first selecting submodule, configured to select T edge devices that do not receive the target information from the edge device set;
a first processing submodule, configured to control an edge device in the edge device service list to establish a point-to-point connection with at least one edge device of the T edge devices, and start to transmit the target information after establishing the connection;
a second processing sub-module, configured to register, after completing transmission of the target information, an edge device that successfully receives the target information in an edge device service list if the number of edge devices registered in the edge device service list is smaller than a capacity of the edge device service list;
and a third processing sub-module, configured to detect whether there are edge devices that do not receive the target information in the edge device set, and if there are edge devices that do not receive the target information in the edge device set, enter a step in which the central server selects T edge devices that do not receive the target information in the edge device set until there are no edge devices that do not receive the target information in the edge device set.
Optionally, the apparatus for processing an edge program according to the embodiment of the present invention further includes:
a third processing module, configured to delete the edge device service list when it is detected that all edge devices in the edge device set successfully receive the target information.
The processing apparatus of the edge program can implement all the implementation manners in the above-mentioned embodiment of the processing method of the edge program, and is not described here again to avoid repetition.
As shown in fig. 7, an embodiment of the present invention further provides a server 700, including: transceiver 720 and processor 710:
the transceiver 720 is configured to send target information to at least one edge device in the edge device set;
the processor 710 is configured to register edge devices that successfully receive target information into an edge device service list, where the edge device service list is obtained according to a capacity of the edge service list, and the edge list service capacity is obtained according to a total number of edge devices in an edge device set, a capacity threshold of the edge service list, and a selection ratio of the edge devices selected by the central server; and controlling the edge terminal equipment in the edge terminal service list to send the target information to the edge terminal equipment which does not receive the target information in the edge terminal equipment set.
Optionally, the edge device service list may 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.
Optionally, the service list capacity of the edge device is obtained by the following formula:
C=min(S*R,M);
wherein, C represents the capacity of the edge device service list, S represents the total number of the edge devices in the edge device set, R represents the selection proportion of the central server for selecting the edge devices, and M represents the capacity of the edge device service list.
Optionally, the transceiver 720 is configured to select, by the central server, P edge devices that meet a preset condition, and send target information to the P edge devices;
the preset conditions include: supporting point-to-point functions and device loading is less than a preset load threshold.
Optionally, the processor 710 is configured to select T edge devices not receiving the target information from the edge device set;
controlling the edge device in the edge device service list to establish point-to-point connection with at least one edge device in the T edge devices, and starting to transmit the target information after establishing the connection;
after the transmission of the target information is finished, if the number of the edge devices registered in the edge device service list is smaller than the capacity of the edge device service list, registering the edge devices successfully receiving the target information in the edge device service list;
and detecting whether edge end equipment which does not receive the target information exists in the edge end equipment set, and if yes, entering a step of selecting T edge end equipment which does not receive the target information from the edge end equipment set by the central server until edge end equipment which does not receive the target information does not exist in the edge end equipment set.
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 successfully receive the target information.
The processing apparatus of the edge program can implement all the implementation manners in the above-mentioned embodiment of the processing method of the edge program, and is not described here again to avoid repetition.
Another embodiment of the present invention further provides an apparatus for processing an edge program, as shown in fig. 8, including a transceiver 810, a processor 800, a memory 820, and a program or instructions stored in the memory 820 and executable on the processor 800; the processor 800 implements the steps of the processing method of the edge program when executing the program or the instructions.
The transceiver 810 is used for receiving and transmitting data under the control of the processor 800.
Where in fig. 8, the bus architecture may include any number of interconnected buses and bridges, with various circuits being linked together, particularly 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, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 810 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over 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 in performing operations.
The embodiment of the present invention further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the steps in the processing method of the edge program described above are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
The processor is a processor in the processing device of the edge program described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It is further noted that the terminals described in this specification include, but are not limited to, smart phones, tablets, etc., and that many of the functional components described are referred to as modules in order to more particularly emphasize their implementation independence.
In embodiments of the present invention, modules may be implemented in software for execution by various types of processors. An identified module of executable code may, for instance, comprise one or more physical or logical blocks of computer instructions which may, for instance, be constructed as an object, procedure, or function. Nevertheless, the executables of an identified module need not be physically located together, but may comprise disparate instructions stored in different bits which, when joined logically together, comprise the module and achieve the stated purpose for the module.
Indeed, a module of executable code may be a single instruction, or many instructions, and may even be distributed over several different code segments, among different programs, and across several memory devices. Similarly, operational data may be identified within modules, and may be embodied in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed over different locations including over different storage devices, and may exist, at least partially, merely as electronic signals on a system or network.
When a module can be implemented by software, considering the level of hardware technology, a module implemented in software may build a corresponding hardware circuit to implement corresponding functions, without considering the cost, and the hardware circuit may include a conventional Very Large Scale Integration (VLSI) circuit or a gate array and an existing semiconductor such as a logic chip, a transistor, or other discrete components. A module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices or the like.
The exemplary embodiments described above are described with reference to the drawings, and many different forms and embodiments of the invention may be made without departing from the spirit and teaching of the invention, therefore, the invention is not to be construed as limited to the exemplary embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. In the drawings, the size and relative sizes of elements may be exaggerated for clarity. The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Unless otherwise indicated, a range of values, when stated, includes the upper and lower limits of the range and any subranges therebetween.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (15)

1. A method for processing an edge program, comprising:
the central server sends target information to at least one edge device in the edge device set;
registering edge terminal equipment which successfully receives target information into an edge terminal equipment service list, wherein the edge terminal equipment service list is obtained according to the capacity of the edge service list, and the edge list service capacity is obtained according to the total number of the edge terminal equipment in an edge terminal equipment set, the capacity threshold of the edge service list and the selection proportion of the edge terminal equipment selected by a central server;
and controlling the edge terminal equipment in the edge terminal service list to send the target information to the edge terminal equipment which does not receive the target information in the edge terminal equipment set.
2. The method for processing the edge program according to claim 1, wherein the edge device service list may 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 the edge program according to claim 1, wherein the edge device service list capacity is obtained by the following formula:
C=min(S*R,M);
wherein, C represents the capacity of the edge device service list, S represents the total number of the edge devices in the edge device set, R represents the selection proportion of the central server for selecting the edge devices, and M represents the capacity of the edge device service list.
4. The method for processing the edge program according to claim 1, wherein the sending, by the central server, the target information to at least one edge device in the set of edge devices includes:
the central server selects P edge end devices meeting preset conditions and sends target information to the P edge end devices;
the preset conditions include: supporting point-to-point functions and equipment load less than a preset load threshold.
5. The method for processing the edge program according to claim 1, wherein the controlling the edge device in the edge service list to send the target information to an edge device that does not receive the target information in the edge device set includes:
the central server selects T pieces of edge equipment which do not receive the target information from the edge equipment set;
controlling the edge device in the edge device service list to establish point-to-point connection with at least one edge device in the T edge devices, and starting to transmit the target information after establishing the connection;
after the transmission of the target information is finished, if the number of the edge devices registered in the edge device service list is smaller than the capacity of the edge device service list, registering the edge devices successfully receiving the target information in the edge device service list;
and detecting whether edge end equipment which does not receive the target information exists in the edge end equipment set, and if yes, entering a step of selecting T edge end equipment which does not receive the target information from the edge end equipment set by the central server until edge end equipment which does not receive the target information does not exist in the edge end equipment set.
6. The method for processing the edge program according to claim 1, further comprising:
and deleting the edge device service list under the condition that all the edge devices in the edge device set successfully receive the target information.
7. An edge program processing device applied to a central server, comprising:
a first sending module, configured to send target information to at least one edge device in an edge device set;
the first processing module is used for registering edge equipment which successfully receives target information into an edge equipment service list, wherein the edge equipment service list is obtained according to the capacity of the edge service list, and the edge list service capacity is obtained according to the total number of the edge equipment in an edge equipment set, the capacity threshold of the edge service list and the selection proportion of the central server for selecting the edge equipment;
and the second processing module is used for controlling the edge terminal equipment in the edge terminal service list to send the target information to the edge terminal equipment which does not receive the target information in the edge terminal equipment set.
8. The apparatus for processing an edge program according to claim 7, wherein 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 apparatus of claim 8, wherein the edge device service list capacity is obtained by the following formula:
C=min(S*R,M);
wherein, C represents the capacity of the edge device service list, S represents the total number of the edge devices in the edge device set, R represents the selection proportion of the central server for selecting the edge devices, and M represents the capacity of the edge device service list.
10. The apparatus for processing the edge program according to claim 7, wherein the first sending module is configured to select P edge devices that satisfy a preset condition, and send target information to the P edge devices;
the preset conditions include: supporting point-to-point functions and equipment load less than a preset load threshold.
11. The edge program processing apparatus according to claim 7, wherein the second processing module includes:
a first selecting submodule, configured to select T edge devices that do not receive the target information from the edge device set;
a first processing submodule, configured to control an edge device in the edge device service list to establish a point-to-point connection with at least one edge device of the T edge devices, and start to transmit the target information after establishing the connection;
a second processing sub-module, configured to register, after completing transmission of the target information, an edge device that successfully receives the target information in an edge device service list if the number of edge devices registered in the edge device service list is smaller than a capacity of the edge device service list;
and a third processing sub-module, configured to detect whether there are edge devices that do not receive the target information in the edge device set, and if there are edge devices that do not receive the target information in the edge device set, enter a step in which the central server selects T edge devices that do not receive the target information in the edge device set until there are no edge devices that do not receive the target information in the edge device set.
12. The edge program processing apparatus according to claim 7, further comprising:
a third processing module, configured to delete the edge device service list when it is detected that all edge devices in the edge device set successfully receive the target information.
13. A server, comprising: a transceiver and a processor:
the transceiver is used for sending target information to at least one edge terminal device in the edge terminal device set;
the processor is used for registering edge equipment which successfully receives target information into an edge equipment service list, wherein the edge equipment service list is obtained according to the capacity of the edge service list, and the edge list service capacity is obtained according to the total number of the edge equipment in an edge equipment set, the threshold value of the capacity of the edge service list and the selection proportion of the central server for selecting the edge equipment; and controlling the edge terminal equipment in the edge terminal service list to send the target information to the edge terminal equipment which does not receive the target information in the edge terminal equipment set.
14. An apparatus for processing an edge program, comprising: a transceiver, a processor, a memory, and a program or instructions stored on the memory and executable on the processor; wherein the processor executes the program or the instructions to implement the steps of the method for processing the edge program according to any one of claims 1 to 6.
15. A readable storage medium on which a program or instructions are stored, wherein the program or instructions, when executed by a processor, implement the steps in the processing method of the edge program according to any one of claims 1 to 6.
CN202110284941.2A 2021-03-17 2021-03-17 Edge program processing method and device and server Pending CN115114008A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110284941.2A CN115114008A (en) 2021-03-17 2021-03-17 Edge program processing method and device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110284941.2A CN115114008A (en) 2021-03-17 2021-03-17 Edge program processing method and device and server

Publications (1)

Publication Number Publication Date
CN115114008A true CN115114008A (en) 2022-09-27

Family

ID=83322902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110284941.2A Pending CN115114008A (en) 2021-03-17 2021-03-17 Edge program processing method and device and server

Country Status (1)

Country Link
CN (1) CN115114008A (en)

Similar Documents

Publication Publication Date Title
CN103346974B (en) Controlling method of service process and network device
CN107071824B (en) A kind of method and device called under network congestion
CN103944974A (en) Method for processing protocol messages, method for processing faults of controllers and related device
CN105511936A (en) Test system, method and device
CN111556125B (en) Access request distribution method, load balancing equipment and electronic equipment
CN113934545A (en) Video data scheduling method, system, electronic equipment and readable medium
CN110958139B (en) Network control method, orchestrator, controller, and computer-readable storage medium
RU2693903C1 (en) Method, apparatus and processing system for expanded port
CN115114008A (en) Edge program processing method and device and server
CN105045224A (en) Data transmission method and device
CN112000019A (en) Method, device and equipment for sharing equipment instruction control
CN110875945B (en) Method, apparatus and medium for task processing on a generic service entity
CN107835104B (en) Method, system, equipment and storage medium for sharing NF user permission among network slices
CN115080775A (en) Access control equipment face data storage method and device, server and storage medium
CN101114929B (en) Method of establishing interlinkage for preventing communication abnormality between network management terminal and equipment
CN114726711A (en) Method and system for cooperative processing service between devices
CN113448744B (en) Application program selection method and device
CN110868759B (en) Interference coordination method and device, and base station
CN113721938A (en) Edge-edge cooperative task processing method, device and system suitable for power Internet of things
CN105549911A (en) Data transmission method and apparatus for NVRAM
CN113190347A (en) Edge cloud system and task management method
CN102377597B (en) Network device and parameter setting method thereof
CN113010363A (en) Container monitoring method under swarm cluster and shared service cloud platform
CN113419880B (en) Cloud mobile phone root authority acquisition method, related device and computer program product
CN117331586B (en) Software upgrading method of wireless building intercom system

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