CN112311820A - Edge device scheduling method, connection method, device and edge device - Google Patents

Edge device scheduling method, connection method, device and edge device Download PDF

Info

Publication number
CN112311820A
CN112311820A CN201910680725.2A CN201910680725A CN112311820A CN 112311820 A CN112311820 A CN 112311820A CN 201910680725 A CN201910680725 A CN 201910680725A CN 112311820 A CN112311820 A CN 112311820A
Authority
CN
China
Prior art keywords
task
equipment
edge device
information
edge
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
CN201910680725.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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910680725.2A priority Critical patent/CN112311820A/en
Publication of CN112311820A publication Critical patent/CN112311820A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to a method for scheduling edge equipment, a method for connecting the edge equipment, a device and the edge equipment, wherein the method comprises the following steps: receiving a task request of a target task sent by task initiating equipment; determining task processing equipment based on the task request, and acquiring equipment information of the task processing equipment; and sending the equipment information of the task processing equipment to the task initiating equipment so that the task initiating equipment is connected with the task processing equipment according to the equipment information. By the method, the central node screens and determines the task processing equipment for the edge equipment initiating the request, the equipment information of the task processing equipment is returned to the task initiating equipment, and the task initiating equipment is directly connected with the task processing equipment for communication, so that the pressure of the central node can be relieved and the probability of the central node of generating problems can be reduced on the premise of realizing cooperative cooperation and information interaction between the edge equipment.

Description

Edge device scheduling method, connection method, device and edge device
Technical Field
The present application relates to the field of internet of things technology, and in particular, to a method and an apparatus for scheduling edge devices, a method and an apparatus for connecting edge devices, a computer-readable storage medium, and an edge device.
Background
The internet of things is an information bearer based on the internet, a traditional telecommunication network and the like, and all common physical objects which can be independently addressed form an interconnected network. The integration level of the sensors in the edge equipment of the Internet of things is high, the acquired data information is large, the edge side can meet the requirements of processing and calculating a large number of tasks, a user can process some tasks or calculations by using the existing resources of the edge equipment without being handed over to the cloud, and therefore the balance point of hardware consumption of the terminal equipment and cloud service fund consumption is achieved. Meanwhile, task processing is directly carried out on the edge equipment, so that time delay can be reduced, and cloud load is saved.
When the edge equipment is deployed, sensors with different types and function requirements can be integrated to meet different types and different complexity of calculation, so that results are more accurate and faster to output. However, the processing capability and the computing capability of the edge device have certain limitations, and may not meet specific functional requirements, and in order to solve the problem, help of other edge devices needs to be sought.
Disclosure of Invention
In view of the foregoing, it is necessary to provide an edge device scheduling method, a connection method, an apparatus and an edge device.
A method of edge device scheduling, the method comprising:
receiving a task request of a target task sent by task initiating equipment;
determining task processing equipment based on the task request, and acquiring equipment information of the task processing equipment;
and sending the equipment information of the task processing equipment to the task initiating equipment so that the task initiating equipment is connected with the task processing equipment according to the equipment information.
An edge device connection method, the method comprising:
sending a task request of a target task to the central equipment;
acquiring equipment information of the task processing equipment determined by the central equipment according to the task request;
and actively connecting with the task processing equipment according to the equipment information.
An edge device scheduling apparatus, the apparatus comprising:
the receiving module is used for receiving a task request of a target task sent by the task initiating device;
the device screening module is used for determining task processing devices based on the task requests and acquiring device information of the task processing devices;
and the sending module is used for sending the equipment information of the task processing equipment to the task initiating equipment so that the task initiating equipment is connected with the task processing equipment according to the equipment information.
An edge device attachment apparatus, the apparatus comprising:
the task initiating module is used for sending a task request of a target task to the central equipment;
the acquisition module is used for acquiring the equipment information of the task processing equipment determined by the central equipment according to the task request;
and the connection module is used for actively connecting the task processing equipment according to the equipment information.
A computer-readable storage medium, in which a computer program is stored which, when executed by a processor, causes the processor to carry out the steps of the above-mentioned method.
An edge device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, carries out the steps of the above method.
According to the edge device scheduling method, the connection method and the device and the edge device, the task processing device is determined according to the received task request initiated by the task initiating device, and the device information of the task processing device is returned to the task initiating request, so that the task initiating device is directly connected and communicated with the task processing device according to the device information. By the method, the central node screens and determines the task processing equipment for the edge equipment initiating the request, the equipment information of the task processing equipment is returned to the task initiating equipment, and the task initiating equipment is directly connected with the task processing equipment for communication, so that the pressure of the central node can be relieved and the probability of the central node of generating problems can be reduced on the premise of realizing cooperative cooperation and information interaction between the edge equipment.
Drawings
FIG. 1 is a diagram of an embodiment of an application environment of a method for scheduling edge devices;
FIG. 2 is a flowchart illustrating a method for scheduling edge devices according to an embodiment;
FIG. 3 is a flow diagram that illustrates the determination of a task processing device based on a task request, under an embodiment;
FIG. 4 is a flow diagram that illustrates the determination of a set of target edge devices that may process a target task based on task information, under an embodiment;
FIG. 5 is a schematic flow chart diagram illustrating a method for edge device attachment in one embodiment;
FIG. 6 is a block diagram showing the structure of an edge device scheduler in one embodiment;
FIG. 7 is a block diagram of an edge device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is an application environment diagram of an edge device scheduling method in an embodiment. Referring to fig. 1, the edge device scheduling method involves a task initiator 110 and a central server 120. The task initiating device 110 is connected to the central server 120 via a network. When receiving a task request of a target task initiated by a task initiating device, the central server 120 determines a task processing device for processing the target task according to the task request, obtains device information of the device, and sends the device information to the task initiating device, so that the task initiating device 110 is connected with the task processing device according to the device information. In other embodiments, the central server may also be a terminal device. The terminal 110 may be a desktop terminal or a mobile terminal, and the mobile terminal may be at least one of a mobile phone, a tablet computer, a notebook computer, and the like. The server 120 may be implemented as a stand-alone server or a server cluster composed of a plurality of servers.
As shown in fig. 2, in one embodiment, an edge device scheduling method is provided. The embodiment is mainly illustrated by applying the method to the server in fig. 1. Referring to fig. 2, the method for scheduling edge devices specifically includes steps S210 to S230.
Step S210, receiving a task request of a target task sent by the task initiating device.
In this embodiment, a device that initiates a task request is denoted as a task initiating device, and a task requested by the task initiating device is denoted as a target task; in one embodiment, the target task may be a desire to open certain software, or to complete a calculation; the task request carries related information of the target task, for example, the task request carries a task type, a calculation requirement and the like of the target task.
When the edge equipment is deployed, sensors with different types and function requirements can be integrated to meet different types and different complexity of calculation, so that results are more accurate and faster to output. However, the processing capacity and the computing capacity of the edge device are limited to some extent, and may not meet specific functional requirements, so that help of other edge devices is required to be sought to solve the problem; in this embodiment, that is, when the edge device needs to seek assistance of other edge devices, the task request is sent to the central server, so as to request the central server to determine another edge device that can complete the task request according to the task request.
Step S220, determining the task processing device based on the task request, and acquiring device information of the task processing device.
After receiving the task request, the central server searches the edge device capable of completing the target task expected to be completed for the task initiating device according to the task request, and what is actually done in step S220 is to determine a task processing device for the task initiating device according to the task request and obtain device information of the task processing device.
The task request comprises relevant information of a task requested to be completed by the task initiating device, so that the central server determines the task processing device according to the task request; the task request may also include information about the task-initiating device to enable the central server to identify which edge device the task-initiating device is. For example, in one particular embodiment, the task request includes: task information of the target task, and location information of the task initiating device.
Further, in the present embodiment, determining a task processing device based on a task request, as shown in fig. 3, includes steps S310 to S330.
Step S310, a target edge device set capable of processing the target task is determined according to the task information.
The task information represents the calculation requirement and the task type of the target task, and the types and the functional requirements of the integrated sensors of the edge devices are different, so that the types and the calculation complexity of the tasks which can be completed by the edge devices may be different. In this embodiment, according to task information carried in a received task request, edge devices capable of completing a target task are first determined from the edge devices, and are recorded as a target edge device set.
Further, as shown in fig. 4, in one embodiment, determining a target set of edge devices that can process a target task according to task information includes steps S410 and S420.
Step S410, determining an edge device set meeting the requirement type of the task information from a plurality of edge device sets of which the task information is divided in the database according to the requirement type.
And step S420, taking the edge device set which accords with the requirement type of the task information as a target edge device set.
In this embodiment, each edge device is classified in advance according to the demand type in the database, and edge devices whose demand types belong to the same type are classified into the same edge device set. In one embodiment, the requirement type has a partnership or interactive relationship with the task requirement. After the central server receives the task request, according to the task request, the requirement information of the tasks which are expected to be processed by other edge devices by the task initiating device can be known, and the edge device set capable of processing the target task can be determined by combining the requirement types of the edge device sets, namely the target edge device set.
In the above embodiment, each edge device is divided into different edge device sets according to the respective requirement type, when the central server needs to search for an edge device capable of processing a target task, whether the edge device set meets the task requirement of the target task is judged according to the requirement type of each edge device set, if the edge device set meets the task requirement of the target task, the edge device set is used as the target device set, and then the task processing device is further determined from the target device set, so that the work of the central server can be reduced, the pressure of the central server is relieved, and the time delay is reduced.
Step S320, obtaining the location identifier of each edge device in the target edge device set.
The edge device may be disposed at various positions, and in this embodiment, the position of the edge device is represented by a position identifier; in one embodiment, dividing an edge device set in a database according to the position of each edge device, and classifying the edge devices in the same region into the same edge device set; in this embodiment, after the target edge device set is determined, each edge device in the target edge device set is matched with the location identifier of each edge device set, so that the location identifier of each edge device in the target edge device set can be obtained; it will be appreciated that in other embodiments the location identity may be known in other ways.
After the target edge device set is determined in step S310, the location identifiers of the edge devices in the target edge device set are respectively obtained, and the locations of the edge devices in the target edge device set are determined, so that the distances between the edge devices and the task initiating device can be known.
And step S330, based on the position information and each position mark, determining the edge device closest to the task initiating device from the target edge device set as the task processing device.
According to the position information of the task initiating device carried in the task request and the position identifier of the target edge device determined in step S310, the distance between each edge device and the task initiating device can be determined; in this embodiment, the edge device closest to the task initiating device in the target edge device set is taken as the task processing device.
In one embodiment, one edge device in the target edge device set, which is closest to the task initiating device in position, may be determined as the task processing device; in another embodiment, a preset number of devices in the target edge device set, which are distant from the task initiating device, may also be determined as alternative task processing devices, and then the edge device that best meets the conditions is screened out from the alternative task processing devices according to some other conditions to serve as the task processing device. For example, after determining the candidate edge devices, the optimal edge device may be determined by combining the operating states of the edge devices, and the like, and determined as the task processing device.
In another embodiment, after determining the edge device closest to the task initiating device from the target edge device set based on the location information and the location identifications, the method further includes: and acquiring the running state of the edge device closest to the task initiating device, and taking the edge device closest to the task initiating device as a task processing device when the running state is judged to meet the preset condition.
The operation status may be used to indicate a current operation status of the edge device, a current number of connected devices, and the like. The preset condition may be set according to actual conditions, for example, in a specific embodiment, the preset condition is set that the operation state does not exceed the load, or the operation state may also be set that the currently connected device does not exceed a threshold, and so on.
In another embodiment, when the running state is judged not to meet the preset condition, deleting the edge device closest to the task initiating device from the target edge device set to obtain a new target edge device set; and returning to the step of determining the edge device closest to the task initiating device from the target edge device set based on the position information and each position mark.
In this embodiment, when determining the task processing device, the central processing unit first selects an edge device (an edge device that can process a target task and is closest to the task initiating device), and then obtains the operating state of the edge device to determine whether the current connection of the edge device is overloaded, and if not, the edge device may be used as the task processing device; and if the current connection operation of the edge device is overloaded, deleting the edge device from the target edge device, and returning to the step of determining the task processing device from the target edge device set based on the position information and the position identifications.
In other embodiments, before determining the edge device closest to the task initiator from the target edge device set, the operating state of each edge device in the target edge device set may be determined, for example, in a specific embodiment, a polling method or a consistent hash method may be used to obtain the operating state of the edge device, so as to determine whether the edge devices in the target edge device set satisfy the preset condition, and delete the target edge device whose operating state does not satisfy the preset condition from the target edge device set; and then, taking the edge equipment closest to the task initiating equipment as task processing equipment according to the respective position identification from the rest target edge equipment with the running state meeting the preset condition.
In the above embodiment, when determining the task processing device, the location of the edge device (distance from the task initiating device) is combined with the operating state of the edge device, so that the load can be balanced to avoid over-consumption of a certain edge device and overload of the operation of the certain edge device. In other embodiments, the above-mentioned edge device scheduling method may also determine the task processing device in other manners.
Step S230, sending the device information of the task processing device to the task initiating device, so that the task initiating device is connected to the task processing device according to the device information.
In step S220, the task processing device is determined, the device information of the task processing device is obtained, and then in this embodiment, the obtained device information of the task processing device is sent to the task initiating device, so that the task initiating device is directly connected to the task processing device corresponding to the device information.
For the task initiating device, after the device information of the task processing device is acquired, the task initiating device can be directly connected with the task processing device for communication according to the information, so that the task processing device assists in completing the task requirement of the target task. In this embodiment, the task initiating device and the task processing device are directly connected to communicate with each other to complete the target task, and the central server only needs to screen and determine the task processing device according to the task request and return the device information of the task processing device to the task initiating device. The central server only needs to operate once, the relationship between the task initiating device and the selected task processing device can be established, the central server does not need to operate additionally subsequently, the reliability of the system can be enhanced, the system is not limited by the capacity of the central server, and the operability or the modeling space of the Internet of things is greatly enhanced.
According to the edge device scheduling method, the central server determines the task processing device according to the task request initiated by the received task initiating device, and returns the device information of the task processing device to the task initiating request, so that the task initiating device is directly connected and communicated with the task processing device according to the device information. By the method, the central node screens and determines the task processing equipment for the edge equipment initiating the request, the equipment information of the task processing equipment is returned to the task initiating equipment, and the task initiating equipment is directly connected with the task processing equipment for communication, so that the pressure of the central node can be relieved and the probability of the central node of generating problems can be reduced on the premise of realizing cooperative cooperation and information interaction between the edge equipment.
In a specific embodiment, taking an example of storing, in a database, edge device sets of edge devices divided according to demand types and locations, respectively, an edge device scheduling method includes the steps of:
the edge node a of the edge device puts forward a task processing or computing requirement (a task request of the target task) and sends the task processing or computing requirement to the central node C;
the central node C comprises a demand type T set and a region type Z set, wherein the T set comprises { TY1, TY2, … … and TYn } and the Z set comprises { Z1, Z2, … … and Zn };
the central node C identifies TYi the corresponding demand type for the task processing or computing demand set forth by the edge node a (the target edge device set); TYi corresponding to m edge devices that fulfill the task processing or computing requirements;
the central node C extracts the region information of each edge device from the m edge devices and forms the region information into a SepZ set;
the central node C judges the region Zi of the type closest to the edge node a from the SepZ set region; zi corresponds to n edge devices (Zi is a subset of TYi) deployed in the zone.
The central node C randomly selects one edge device (determines a task processing device) from the n edge devices in Zi, and sends the device information of the edge device to the edge node a, so that the edge node a is directly connected with the edge node b, and the edge node b completes the task processing or calculation request provided by the edge node a.
Taking the above-mentioned method for scheduling edge devices applied to the use of cloud games as an example, in the cloud game service, only a few cloud games are usually installed in one device running the cloud game, and the central node of the manufacturer classifies each device in advance according to the difference of the installed games on the device.
The request made by the client (task initiating device) comprises the game type to be started (task request of the target task); and the central node selects a matched type in the existing equipment categories according to the type of the game to be started. The central node (the cloud game is on the vendor side) also needs to run on a device, which may be a real physical device (such as a development version) or a virtual device (such as a plurality of hardware devices virtualized on one server), and these devices are a class of edge devices.
The central node distributes equipment (task processing equipment) for the client according to the edge equipment scheduling method according to the region where the client equipment is located and the type of the requested game; and returning basic information (such as equipment ID, IP address, port and the like) of the task processing equipment to the client.
After the client obtains the basic information of the task processing equipment distributed by the central node, the client can actively establish connection with the distributed task processing equipment directly according to the basic information so that the task processing equipment provides cloud game service for the client. Further, after the client establishes a connection with the task processing device, the client may send an instruction (such as game start, exit, restart, and the like) to the task processing device, and a video stream may be transmitted between the task processing device and the client.
According to the edge equipment scheduling method, when a balance point between edge equipment hardware consumption and cloud service fund consumption in terminal equipment is sought, the existing resources of the edge equipment are used for meeting some tasks and calculation requirements, and when a certain edge equipment cannot realize a specific function, help is required to other edge equipment; the cloud service resource consumption can be saved for small and medium-sized enterprises, the cloud load is reduced, and the operation and maintenance cost is reduced; the hardware consumption of the terminal equipment is saved, and the influence on the normal operation of the terminal equipment caused by the resource occupation with other running programs is avoided; selecting edge equipment with the operation condition meeting the preset condition as task processing equipment, so that the load can be balanced, and the phenomenon that the operation of certain edge equipment is overloaded due to over consumption is avoided; the central node only needs to operate once, the relationship between the client and the task processing equipment can be established, the central node does not need to operate additionally subsequently, the reliability of the system can be enhanced, the scheduling of the edge equipment is not limited by the capacity of the central node, and the operable or modeling space of the Internet of things is greatly enhanced; the time delay is greatly reduced by a refined and reliable scheduling process.
In an embodiment, the present application further provides an edge device connection method, and this embodiment is mainly exemplified by applying the method to the edge device in fig. 1. As shown in fig. 5, the method specifically includes steps S510 to S530.
Step S510, sending a task request of the target task to the central device.
In this embodiment, a device that initiates a task request is denoted as a task initiating device, and a task requested by the task initiating device is denoted as a target task; in one embodiment, the target task may be a desire to open certain software, or to complete a calculation; the task request carries related information of the target task, for example, the task request carries a task type, a calculation requirement and the like of the target task.
Step S520, acquiring the device information of the task processing device determined by the central device according to the task request.
The specific definition of the task processing device determined by the central device according to the task request may refer to the definition of the edge device scheduling method.
And step S530, actively connecting with the task processing equipment according to the equipment information.
According to the edge device connection method, after the edge device initiating the task request obtains the device information of the task processing device returned by the central device, the edge device directly uses the task processing device to connect according to the device information, and the central device only needs to operate once, so that the pressure of the central node is relieved, and the probability of the central node being out of order is reduced.
It should be understood that although the various steps in the flow charts of fig. 2-5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-5 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
An edge device scheduling apparatus, as shown in fig. 6, the apparatus includes: a receiving module 610, a device screening module 620, and a transmitting module 630. Wherein:
the receiving module 610 is configured to receive a task request of a target task sent by a task initiating device.
And the device screening module 620 is configured to determine the task processing device based on the task request, and obtain device information of the task processing device.
A sending module 630, configured to send the device information of the task processing device to the task initiating device, so that the task initiating device is connected to the task processing device according to the device information.
The edge device determines the task processing device according to the task request initiated by the received task initiating device, and returns the device information of the task processing device to the task initiating request, so that the task initiating device is directly connected and communicated with the task processing device according to the device information. By the method, the central node screens and determines the task processing equipment for the edge equipment initiating the request, the equipment information of the task processing equipment is returned to the task initiating equipment, and the task initiating equipment is directly connected with the task processing equipment for communication, so that the pressure of the central node can be relieved and the probability of the central node of generating problems can be reduced on the premise of realizing cooperative cooperation and information interaction between the edge equipment.
In one embodiment, the task request includes: task information of the target task, and location information of the task initiating device.
In this embodiment, the device screening module includes: the target edge device set determining module is used for determining a target edge device set capable of processing the target task according to the task information;
the position identification acquisition module is used for acquiring the position identification of each edge device in the target edge device set;
and the task processing equipment determining module is used for determining the edge equipment which is closest to the task initiating equipment from the target edge equipment set as the task processing equipment based on the position information and each position identification.
In one embodiment, the target edge device set determining module is configured to determine, from a plurality of edge device sets of which task information is divided in a database according to a requirement type, an edge device set conforming to the requirement type of the task information; and taking the edge device set which meets the requirement type of the task information as a target edge device set.
In one embodiment, the above apparatus further comprises: the operation state acquisition module is used for acquiring the operation state of the edge device closest to the task initiating device; and the task processing equipment determining module is used for taking the edge equipment closest to the task initiating equipment as the task processing equipment when the running state is judged to meet the preset condition.
In one embodiment, the task processing device determining module is further configured to delete the edge device closest to the task initiating device from the target edge device set to obtain a new target edge device set when it is determined that the operating state does not satisfy the preset condition; and returning to the step of determining the edge device closest to the task initiating device from the target edge device set based on the position information and each position mark.
In one embodiment, there is also provided an edge device connecting apparatus including: the system comprises a task initiating module, an acquiring module and a connecting module. Wherein:
the task initiating module is used for sending a task request of a target task to the central equipment;
the acquisition module is used for acquiring equipment information of the task processing equipment determined by the central equipment according to the task request;
and the connection module is used for actively connecting the task processing equipment according to the equipment information.
Fig. 7 shows an internal structure of an edge device in one embodiment. The edge device may specifically be the server 120 in fig. 1. As shown in fig. 7, the edge device includes a processor, a memory, a network interface, an input device, and a display screen connected by a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the edge device stores an operating system and may further store a computer program, and the computer program, when executed by the processor, may cause the processor to implement an edge device scheduling method or an edge device connecting method. The internal memory may also have a computer program stored therein, which when executed by the processor, causes the processor to perform an edge device scheduling method or an edge device connection method. The display screen of the edge device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the edge device can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the edge device, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the configuration shown in fig. 7 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the edge device to which the present application is applied, and that a particular edge device may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
In one embodiment, the edge device scheduling apparatus and the edge device connecting apparatus provided in the present application may be implemented in the form of a computer program, and the computer program may be run on an edge device as shown in fig. 7. The memory of the edge device may store various program modules constituting the edge device scheduler and the edge device connecting apparatus, such as the receiving module, the device screening module, and the sending module shown in fig. 6. The computer program constituted by the respective program modules causes the processor to execute the steps in the edge device scheduling method or the edge device connection method of the respective embodiments of the present application described in the present specification.
For example, the edge device shown in fig. 7 may execute a task request for receiving a target task sent by a task initiating device through a receiving module in the edge device scheduling apparatus shown in fig. 6. The edge device can determine the task processing device through the device screening module based on the task request, and obtain the device information of the task processing device. The edge device can send the device information of the task processing device to the task initiating device through the sending module, so that the task initiating device is connected with the task processing device according to the device information.
In one embodiment, there is provided an edge device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
receiving a task request of a target task sent by task initiating equipment;
determining task processing equipment based on the task request, and acquiring equipment information of the task processing equipment;
and sending the equipment information of the task processing equipment to the task initiating equipment so that the task initiating equipment is connected with the task processing equipment according to the equipment information.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the task request comprises the following steps: task information of the target task and position information of the task initiating equipment;
determining a task processing device based on a task request, comprising:
determining a target edge device set capable of processing a target task according to the task information;
acquiring a position identifier of each edge device in a target edge device set;
and determining the edge device closest to the task initiating device from the target edge device set as a task processing device based on the position information and each position mark.
In one embodiment, the processor, when executing the computer program, further performs the steps of: determining a target edge device set capable of processing a target task according to task information, comprising:
determining an edge device set which accords with the requirement type of the task information from a plurality of edge device sets of which the task information is divided in a database according to the requirement type;
and taking the edge device set which meets the requirement type of the task information as a target edge device set.
In one embodiment, the processor, when executing the computer program, further performs the steps of: after determining the edge device closest to the task initiating device from the target edge device set based on the location information and the location identifiers, the method further comprises:
and acquiring the running state of the edge device closest to the task initiating device, and taking the edge device closest to the task initiating device as a task processing device when the running state is judged to meet the preset condition.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when the running state is judged not to meet the preset condition, deleting the edge device closest to the task initiating device from the target edge device set to obtain a new target edge device set;
and returning to the step of determining the edge device closest to the task initiating device from the target edge device set based on the position information and each position mark.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the task information comprises task requirements, and the requirement type and the task requirements have a cooperative relationship or an interactive relationship.
In one embodiment, the processor, when executing the computer program, performs the steps of: sending a task request of a target task to the central equipment;
acquiring equipment information of the task processing equipment determined by the central equipment according to the task request;
and actively connecting with the task processing equipment according to the equipment information.
In one embodiment, the present application further provides a computer readable storage medium storing a computer program that, when executed by a processor, causes the processor to perform the steps of:
receiving a task request of a target task sent by task initiating equipment;
determining task processing equipment based on the task request, and acquiring equipment information of the task processing equipment;
and sending the equipment information of the task processing equipment to the task initiating equipment so that the task initiating equipment is connected with the task processing equipment according to the equipment information.
In one embodiment, the computer program when executed by the processor further performs the steps of: the task request comprises the following steps: task information of the target task and position information of the task initiating equipment;
determining a task processing device based on a task request, comprising:
determining a target edge device set capable of processing a target task according to the task information;
acquiring a position identifier of each edge device in a target edge device set;
and determining the edge device closest to the task initiating device from the target edge device set as a task processing device based on the position information and each position mark.
In one embodiment, the computer program when executed by the processor further performs the steps of: determining a target edge device set capable of processing a target task according to task information, comprising:
determining an edge device set which accords with the requirement type of the task information from a plurality of edge device sets of which the task information is divided in a database according to the requirement type;
and taking the edge device set which meets the requirement type of the task information as a target edge device set.
In one embodiment, the computer program when executed by the processor further performs the steps of: after determining the edge device closest to the task initiating device from the target edge device set based on the location information and the location identifiers, the method further comprises:
and acquiring the running state of the edge device closest to the task initiating device, and taking the edge device closest to the task initiating device as a task processing device when the running state is judged to meet the preset condition.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the running state is judged not to meet the preset condition, deleting the edge device closest to the task initiating device from the target edge device set to obtain a new target edge device set;
and returning to the step of determining the edge device closest to the task initiating device from the target edge device set based on the position information and each position mark.
In one embodiment, the computer program when executed by the processor further performs the steps of: the task information comprises task requirements, and the requirement type and the task requirements have a cooperative relationship or an interactive relationship.
In one embodiment, the computer program when executed by the processor further performs the steps of: sending a task request of a target task to the central equipment;
acquiring equipment information of the task processing equipment determined by the central equipment according to the task request;
and actively connecting with the task processing equipment according to the equipment information.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An edge device scheduling method includes:
receiving a task request of a target task sent by task initiating equipment;
determining task processing equipment based on the task request, and acquiring equipment information of the task processing equipment;
and sending the equipment information of the task processing equipment to the task initiating equipment so that the task initiating equipment is connected with the task processing equipment according to the equipment information.
2. The method of claim 1, wherein the task request comprises: task information of the target task and position information of the task initiating device;
the determining a task processing device based on the task request includes:
determining a target edge device set capable of processing the target task according to the task information;
acquiring a position identifier of each edge device in the target edge device set;
and determining the edge device closest to the task initiating device from the target edge device set as the task processing device based on the position information and the position identifications.
3. The method of claim 2, wherein determining a target set of edge devices that can process the target task based on the task information comprises:
determining an edge device set which accords with the requirement type of the task information from a plurality of edge device sets which are divided by the task information in a database according to the requirement type;
and taking the edge device set which accords with the requirement type of the task information as the target edge device set.
4. The method of claim 2, further comprising, after determining an edge device from the set of target edge devices that is closest to the task initiator device based on location information, each of the location identifiers:
and acquiring the running state of the edge device closest to the task initiating device, and taking the edge device closest to the task initiating device as the task processing device when the running state is judged to meet a preset condition.
5. The method according to claim 4, wherein when it is determined that the operating state does not satisfy a preset condition, the edge device closest to the task initiating device is deleted from the target edge device set, and a new target edge device set is obtained;
and returning the position information and the position identifications, and determining the edge device closest to the task initiating device from the target edge device set.
6. An edge device connection method, the method comprising:
sending a task request of a target task to the central equipment;
acquiring equipment information of the task processing equipment determined by the central equipment according to the task request;
and actively connecting with the task processing equipment according to the equipment information.
7. An edge device scheduling apparatus, the apparatus comprising:
the receiving module is used for receiving a task request of a target task sent by the task initiating device;
the device screening module is used for determining task processing devices based on the task requests and acquiring device information of the task processing devices;
and the sending module is used for sending the equipment information of the task processing equipment to the task initiating equipment so that the task initiating equipment is connected with the task processing equipment according to the equipment information.
8. An edge device attachment apparatus, the apparatus comprising:
the task initiating module is used for sending a task request of a target task to the central equipment;
the acquisition module is used for acquiring the equipment information of the task processing equipment determined by the central equipment according to the task request;
and the connection module is used for actively connecting the task processing equipment according to the equipment information.
9. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 6.
10. An edge device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 6.
CN201910680725.2A 2019-07-26 2019-07-26 Edge device scheduling method, connection method, device and edge device Pending CN112311820A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910680725.2A CN112311820A (en) 2019-07-26 2019-07-26 Edge device scheduling method, connection method, device and edge device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910680725.2A CN112311820A (en) 2019-07-26 2019-07-26 Edge device scheduling method, connection method, device and edge device

Publications (1)

Publication Number Publication Date
CN112311820A true CN112311820A (en) 2021-02-02

Family

ID=74329659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910680725.2A Pending CN112311820A (en) 2019-07-26 2019-07-26 Edge device scheduling method, connection method, device and edge device

Country Status (1)

Country Link
CN (1) CN112311820A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114677781A (en) * 2022-04-06 2022-06-28 广州文远知行科技有限公司 Vehicle data uploading method and related device thereof
CN114741370A (en) * 2022-04-16 2022-07-12 即刻雾联科技(北京)有限公司 Edge device resource integration method and device, electronic device and storage medium
CN115086314A (en) * 2022-06-09 2022-09-20 中国银行股份有限公司 Interactive data processing method and related device
CN116467088A (en) * 2023-06-20 2023-07-21 深圳博瑞天下科技有限公司 Edge computing scheduling management method and system based on deep learning
CN117527829A (en) * 2023-11-20 2024-02-06 山东华允物联科技有限公司 Method and system for terminal linkage and data synchronization of distributed Internet of things

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348841A (en) * 2013-07-23 2015-02-11 中国联合网络通信集团有限公司 Content delivery method, analysis and management and control system and content delivery network system
CN106375471A (en) * 2016-09-29 2017-02-01 北京奇艺世纪科技有限公司 Edge node determination method and device
US20170171344A1 (en) * 2015-12-15 2017-06-15 Le Holdings (Beijing) Co., Ltd. Scheduling method and server for content delivery network service node
CN107295110A (en) * 2017-08-16 2017-10-24 网宿科技股份有限公司 Processing method, fringe node, service server and the system of calculating task
US20170310565A1 (en) * 2016-04-20 2017-10-26 Cisco Technology, Inc. Distributing data analytics in a hierarchical network based on computational complexity
CN107786544A (en) * 2017-09-29 2018-03-09 贵州白山云科技有限公司 The task status processing method and system of a kind of message
CN108521856A (en) * 2017-01-22 2018-09-11 华为技术有限公司 Dispatching method in content distributing network and equipment
CN109167840A (en) * 2018-10-19 2019-01-08 网宿科技股份有限公司 A kind of task method for pushing, Site autonomy server and edge cache server
CN109831511A (en) * 2019-02-18 2019-05-31 华为技术有限公司 Method and equipment for scheduling content delivery network CDN edge nodes
CN109918205A (en) * 2019-03-25 2019-06-21 深圳市网心科技有限公司 A kind of edge device dispatching method, system, device and computer storage medium
CN109951880A (en) * 2019-03-15 2019-06-28 腾讯科技(深圳)有限公司 Communication processing method, device, computer-readable medium and electronic equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348841A (en) * 2013-07-23 2015-02-11 中国联合网络通信集团有限公司 Content delivery method, analysis and management and control system and content delivery network system
US20170171344A1 (en) * 2015-12-15 2017-06-15 Le Holdings (Beijing) Co., Ltd. Scheduling method and server for content delivery network service node
US20170310565A1 (en) * 2016-04-20 2017-10-26 Cisco Technology, Inc. Distributing data analytics in a hierarchical network based on computational complexity
CN106375471A (en) * 2016-09-29 2017-02-01 北京奇艺世纪科技有限公司 Edge node determination method and device
CN108521856A (en) * 2017-01-22 2018-09-11 华为技术有限公司 Dispatching method in content distributing network and equipment
CN107295110A (en) * 2017-08-16 2017-10-24 网宿科技股份有限公司 Processing method, fringe node, service server and the system of calculating task
CN107786544A (en) * 2017-09-29 2018-03-09 贵州白山云科技有限公司 The task status processing method and system of a kind of message
CN109167840A (en) * 2018-10-19 2019-01-08 网宿科技股份有限公司 A kind of task method for pushing, Site autonomy server and edge cache server
CN109831511A (en) * 2019-02-18 2019-05-31 华为技术有限公司 Method and equipment for scheduling content delivery network CDN edge nodes
CN109951880A (en) * 2019-03-15 2019-06-28 腾讯科技(深圳)有限公司 Communication processing method, device, computer-readable medium and electronic equipment
CN109918205A (en) * 2019-03-25 2019-06-21 深圳市网心科技有限公司 A kind of edge device dispatching method, system, device and computer storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114677781A (en) * 2022-04-06 2022-06-28 广州文远知行科技有限公司 Vehicle data uploading method and related device thereof
CN114677781B (en) * 2022-04-06 2023-09-05 广州文远知行科技有限公司 Vehicle data uploading method and related device thereof
CN114741370A (en) * 2022-04-16 2022-07-12 即刻雾联科技(北京)有限公司 Edge device resource integration method and device, electronic device and storage medium
CN115086314A (en) * 2022-06-09 2022-09-20 中国银行股份有限公司 Interactive data processing method and related device
CN115086314B (en) * 2022-06-09 2024-06-21 中国银行股份有限公司 Interactive data processing method and related device
CN116467088A (en) * 2023-06-20 2023-07-21 深圳博瑞天下科技有限公司 Edge computing scheduling management method and system based on deep learning
CN116467088B (en) * 2023-06-20 2024-03-26 深圳博瑞天下科技有限公司 Edge computing scheduling management method and system based on deep learning
CN117527829A (en) * 2023-11-20 2024-02-06 山东华允物联科技有限公司 Method and system for terminal linkage and data synchronization of distributed Internet of things
CN117527829B (en) * 2023-11-20 2024-06-25 山东华允物联科技有限公司 Method and system for terminal linkage and data synchronization of distributed Internet of things

Similar Documents

Publication Publication Date Title
CN112311820A (en) Edge device scheduling method, connection method, device and edge device
CN110213523B (en) Video conference processing method, system, device, computer equipment and storage medium
CN110602169B (en) Service calling method and device, computer equipment and storage medium
CN106445473B (en) container deployment method and device
CN111054060B (en) Game control method, device, computer equipment and storage medium
CN110943934A (en) Service request processing method, system, terminal and readable storage medium
CN115604144B (en) Test method and device, electronic equipment and storage medium
CN112090066B (en) Scene display method and device based on virtual interactive application
CN112423281A (en) Wireless module upgrading method and device, computer equipment and storage medium
CN112269628A (en) Resource scheduling system and method
CN115328611A (en) Virtual machine management method, device, server and readable storage medium
CN111209061A (en) Method and device for filling in user information, computer equipment and storage medium
CN111126604A (en) Model training method, device, server and storage medium
US9405603B2 (en) Naming of nodes in net framework
CN113065887A (en) Resource processing method, resource processing device, computer equipment and storage medium
CN112232751A (en) Service data processing method, device, system, computer equipment and storage medium
CN110089076B (en) Method and device for realizing information interaction
CN107203915B (en) Data storage method and device
CN114760357A (en) Request processing method and device, computer equipment and storage medium
CN109711809B (en) Merchant attribute setting method and device, computer equipment and storage medium
CN106776947A (en) Resource acquiring method, device and terminal
CN115202856A (en) Resource allocation system, method, apparatus, computer device and storage medium
CN114287121A (en) User portrait authority management method, device, server and storage medium
CN111736953A (en) Virtual resource delivery method and device, computer equipment and storage medium
CN111352725B (en) Storage load balancing method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210202

RJ01 Rejection of invention patent application after publication