CN113259359A - Edge node capability supplementing method, system, medium and electronic terminal - Google Patents

Edge node capability supplementing method, system, medium and electronic terminal Download PDF

Info

Publication number
CN113259359A
CN113259359A CN202110560209.3A CN202110560209A CN113259359A CN 113259359 A CN113259359 A CN 113259359A CN 202110560209 A CN202110560209 A CN 202110560209A CN 113259359 A CN113259359 A CN 113259359A
Authority
CN
China
Prior art keywords
edge node
capability
task
processed
central cloud
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.)
Granted
Application number
CN202110560209.3A
Other languages
Chinese (zh)
Other versions
CN113259359B (en
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.)
Chongqing Unisinsight Technology Co Ltd
Original Assignee
Chongqing Unisinsight Technology 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 Chongqing Unisinsight Technology Co Ltd filed Critical Chongqing Unisinsight Technology Co Ltd
Priority to CN202110560209.3A priority Critical patent/CN113259359B/en
Publication of CN113259359A publication Critical patent/CN113259359A/en
Application granted granted Critical
Publication of CN113259359B publication Critical patent/CN113259359B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/133Protocols for remote procedure calls [RPC]
    • 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
    • H04L67/63Routing a service request depending on the request content or context

Abstract

The invention provides a method, a system, a medium and an electronic terminal for supplementing the capability of an edge node, wherein the method for supplementing the capability of the edge node comprises the following steps: acquiring task information to be processed of an edge node; according to the task information to be processed, controlling the edge node to send a capability supplement request to the central cloud end; according to the capacity supplement request, performing authentication management on the interfaces of the edge nodes and the center cloud; after the authentication is completed, the corresponding task is processed by calling the interface between the edge node and the center cloud end and utilizing the resource of the center cloud end, so that the capability supplement of the edge node is completed; according to the method, the interfaces of the edge node and the center cloud are subjected to authentication management, after authentication is completed, the interface between the edge node and the center cloud is called, the resources of the center cloud are utilized, corresponding tasks are processed, the capability supplement of the edge node is realized, the calculation and storage pressure of the edge node is reduced, the cost is effectively saved, new peripheral equipment is avoided, and the safety is high.

Description

Edge node capability supplementing method, system, medium and electronic terminal
Technical Field
The invention relates to the technical field of internet, in particular to a method, a system, a medium and an electronic terminal for supplementing edge node capability.
Background
In the scenario of edge computing, multiple types of edge devices can access the central cloud, when the computing power of the edge node device accessing the central cloud is insufficient or lacks a single capability, the service capability provided by the edge node device is single, if a user wants to use more functions, the user needs to purchase a device with required capability to use, so that the cost of the user is increased, and if the edge node device is developed again at the edge device end, development and upgrade of hardware and software may be involved, so that the cost is increased, and the implementation is inconvenient.
Disclosure of Invention
The invention provides a method, a system, a medium and an electronic terminal for supplementing edge node capability, which aim to solve the problem that in the prior art, edge node equipment has single service capability due to insufficient computing capability or lack of a certain single capability.
The invention provides a method for supplementing edge node capability, which comprises the following steps:
acquiring task information to be processed of an edge node;
controlling the edge node to send a capacity supplement request to a central cloud according to the to-be-processed task information;
according to the capacity supplement request, performing authentication management on interfaces of the edge nodes and the central cloud;
after the authentication is completed, the interface between the edge node and the center cloud is called, the resource of the center cloud is utilized to process the corresponding task, and the capability supplement of the edge node is completed.
Optionally, the step of performing authentication management on the interfaces of the edge node and the central cloud according to the capability supplement request includes:
controlling the central cloud to generate authentication information according to the capability supplement request, wherein the authentication information comprises: interface verification serial number and interface key;
controlling the edge node to call the interface of the central cloud according to the interface verification serial number and the interface key to acquire an authorization code;
and authorizing the edge node through the authorization code.
Optionally, the step of performing authentication management on the interfaces of the edge node and the central cloud according to the capability supplement request includes:
pre-allocating capacity resources to the edge node according to a preset resource allocation rule and the authentication information to obtain pre-allocated resources corresponding to the edge node;
and synchronizing the authentication information to the edge node.
Optionally, according to the to-be-processed task information of the edge node, determining whether the edge node has a corresponding task processing capability, and obtaining a determination result, where the to-be-processed task information includes: task content and task type;
controlling the edge node to send a capacity supplement request to the central cloud according to the judgment result;
calling an interface of the central cloud according to the capacity supplement request, and transmitting the task information to be processed to the central cloud through the interface;
controlling the central cloud to perform resource adaptation according to the pre-allocated resources corresponding to the edge nodes and the task types, and acquiring computing resources corresponding to the to-be-processed task information;
and processing the corresponding task by utilizing the computing power resource.
Optionally, the method includes controlling, according to a task type, a resource intensity requirement corresponding to the to-be-processed task information, and a preset resource adaptation threshold, the central cloud end to perform resource adaptation on different to-be-processed task information, where the step of performing resource adaptation includes:
acquiring computing resources corresponding to the task type according to the task type;
when the resource intensity requirement corresponding to the task information to be processed exceeds the resource adaptation threshold, increasing the computing power resource corresponding to the task information to be processed according to the preset resource increasing quantity;
and when the resource intensity requirement corresponding to the task information to be processed is reduced, reducing the computing resources corresponding to the task information to be processed according to the preset resource reduction quantity.
Optionally, the step of completing the capability supplement for the edge node includes: and controlling the central cloud to release corresponding computing resources.
Optionally, according to a preset authorization code update cycle, controlling the central cloud to periodically refresh the authorization code, obtaining a refresh result, and updating the valid period timing time of the authorization code;
transmitting the refreshing result to an edge node to finish the refreshing of the authorization code;
if the authorization code fails to be refreshed, calling the interface according to the authentication information of the edge node, acquiring the authorization code, and updating the valid period timing time of the authorization code;
refreshing the authorization code according to the valid period updating time;
and when the valid period updating time of the edge node expires, controlling the central cloud to delete the authorization code.
Optionally, the method further includes:
controlling the edge node to search the processing result of the task, wherein the step of searching comprises the following steps:
obtaining an authorization code of the edge node;
checking the authorization code for the first time to obtain a checking result;
controlling the edge node to transmit a processing result retrieval request to the central cloud according to the primary check result;
controlling the central cloud to carry out secondary verification on the authorization code to obtain a secondary verification result;
and transmitting the processing result to the edge node according to the secondary verification result to finish retrieval.
Optionally, whether the remaining storage capacity of the edge node is smaller than a preset storage threshold range is judged, and if the remaining storage capacity of the edge node is smaller than the preset storage threshold range, the edge node is controlled to delete the task information to be processed and the processing result corresponding to the task information to be processed, and the central cloud is controlled to store the task information to be processed and the processing result corresponding to the task information to be processed.
Optionally, the task type includes at least one of the following: the method comprises the steps of analyzing tasks, storing tasks, retrieving tasks, decoding tasks, encoding tasks and deploying and controlling alarm tasks.
The invention also provides a system for supplementing the capability of the edge node, which comprises:
the task obtaining module is used for obtaining task information to be processed of the edge node;
the request module is used for controlling the edge node to send a capacity supplement request to a central cloud according to the to-be-processed task information;
the authentication module is used for carrying out authentication management on the interfaces of the edge nodes and the center cloud according to the capability supplement request;
the interface calling module is used for calling the interface between the edge node and the center cloud after authentication is completed;
the processing module is used for processing corresponding tasks by utilizing the resources of the central cloud end to complete the capability supplement of the edge nodes; the task obtaining module, the request module, the authentication module, the interface calling module and the processing module are connected.
The invention also provides a computer readable storage medium, on which a computer program is stored, wherein the computer program is used for controlling the central cloud to store the task information to be processed and the corresponding processing result, and when the computer program is executed by a processor, the method is realized.
The present invention also provides an electronic terminal, comprising: a processor and a memory;
the memory is adapted to store a computer program and the processor is adapted to execute the computer program stored by the memory to cause the terminal to perform the method as defined in any one of the above.
The invention has the beneficial effects that: according to the edge node capability supplementing method, the system, the medium and the electronic terminal, task information to be processed of the edge node is obtained; controlling the edge node to send a capacity supplement request to a central cloud according to the to-be-processed task information; according to the capacity supplement request, performing authentication management on interfaces of the edge nodes and the central cloud; after the authentication is completed, the interface between the edge node and the central cloud is called, the resource of the central cloud is utilized, the corresponding task is processed, the capability supplement of the edge node is realized, the calculation and storage pressure of the edge node is reduced, the cost is effectively saved, the newly added peripheral equipment is avoided, and the safety is higher.
Drawings
Fig. 1 is a flow chart of a method for supplementing edge node capability according to an embodiment of the present invention.
Fig. 2 is another flow chart of the method for supplementing edge node capability according to the embodiment of the present invention.
Fig. 3 is a schematic connection diagram of an edge node and a central cloud in the edge node capability supplementing method in the embodiment of the present invention.
Fig. 4 is a schematic diagram of information interaction between an edge node and a central cloud in the edge node capability supplementing method in the embodiment of the present invention.
Fig. 5 is a schematic structural diagram of an edge node capability supplementing system according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of an edge node capability supplementing system in the embodiment of the present invention.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
The inventor finds that in a scene of edge computing, various types of edge devices can be connected to a central cloud, when the computing power of edge node devices connected to the central cloud is insufficient or a single capability is lacked, the provided service capability is single, for example, in a security scene of edge computing, if a user of an edge node end wants to use more functions, the user needs to purchase a device with required capability to use, so that the cost of the user is increased, if the edge node end is developed again, development and upgrade of hardware and software can be involved, the cost is high, and the implementation is inconvenient, so that the inventor provides an edge node capability supplementing method, a system, a medium and an electronic terminal, and task information to be processed of the edge node is obtained; controlling the edge node to send a capacity supplement request to a central cloud according to the to-be-processed task information; according to the capacity supplement request, performing authentication management on interfaces of the edge nodes and the central cloud; after the authentication is completed, the interface between the edge node and the central cloud is called, the resource of the central cloud is utilized, the corresponding task is processed, the supplement of single or multiple capabilities of the edge node is realized, the calculation and storage pressure of the edge node is effectively reduced, the cost is saved, the addition of new peripherals is avoided, the practicability is high, the safety is high, and the flexibility is high.
As shown in fig. 1, the method for supplementing edge node capability in this embodiment includes:
s1: acquiring task information to be processed of an edge node; the task information to be processed comprises: task content and task type;
s2: controlling the edge node to send a capacity supplement request to a central cloud according to the to-be-processed task information; for example: and judging whether the edge node has the corresponding processing capacity or not according to the to-be-processed task information, and if the edge node does not have the corresponding processing capacity, controlling the edge node to send a capacity supplement request to supplement the capacity of the edge node, so as to avoid adding additional peripherals and reduce the cost.
S3: according to the capacity supplement request, performing authentication management on interfaces of the edge nodes and the central cloud; the interface calling safety is improved by carrying out authentication management on the interfaces of the edge nodes and the center cloud;
s4: after the authentication is completed, the interface between the edge node and the central cloud is called, the resource of the central cloud is utilized to process the corresponding task, and the capability supplement of the edge node is completed; the interface of the central cloud is called through the control edge node, the capability supplement channel between the edge node and the central cloud is established, the task information to be processed is conveniently transmitted to the central cloud by the edge node to be processed, the feasibility is high, and the data security is high. For example: the edge node is controlled to transmit the information of the task to be processed to the central cloud end by calling the interface of the central cloud end, the central cloud end is controlled to process the corresponding task, a processing result is obtained, the calculation and storage pressure of the edge node is reduced, the supplement of single or multiple capabilities of the edge node is realized, the processing speed of the task of the edge node is increased, the processing accuracy is improved, and the time and resource cost are effectively saved. In some embodiments, according to the capability supplement request, the control center cloud completes processing of the corresponding task, or the control center cloud and the edge node complete processing of the corresponding task together, so that processing efficiency of the task is improved.
As shown in fig. 2, in some embodiments, an edge node capability supplementing method includes:
s101: acquiring task information to be processed of an edge node; the task information to be processed comprises: task content and task type;
s201: judging whether the edge node has corresponding task processing capacity or not according to the to-be-processed task information of the edge node, and acquiring a judgment result; for example: when the edge node generates an analysis task, judging whether the equipment of the edge node has the corresponding analysis capability or not, acquiring a judgment result, and if the judgment result is that the edge node does not have the analysis capability, controlling the edge node to send a capability supplement request to a central cloud.
S202: controlling the edge node to send a capacity supplement request to the central cloud according to the judgment result;
s301: according to the capacity supplement request, performing authentication management on interfaces of the edge nodes and the central cloud;
in some embodiments, the step of performing authentication management on the interfaces of the edge node and the central cloud according to the capability supplement request includes:
controlling the central cloud to generate authentication information according to the capability supplement request, wherein the authentication information comprises: an interface authentication sequence number (API Key) and an interface Key (API Secret);
controlling the edge node to call the interface of the central cloud according to the interface verification serial number and the interface key to acquire an authorization code;
and authorizing the edge node through the authorization code. For example: when a third-party box serving as an edge node needs to access a central cloud, the edge node is controlled to send a capacity supplement request, the central cloud is controlled to create a partner user and generate corresponding authentication information according to the capacity supplement request, the edge node is controlled to call an interface of the central cloud by using the authentication information to obtain an authorization code, the edge node is authorized by the authorization code to complete authentication management of the interface of the edge node and the central cloud, and the security is improved by performing the authentication management.
S401: after the authentication is completed, controlling the edge node to call an interface of a central cloud end; the method comprises the steps that an interface of a center cloud is called by controlling an edge node, a capacity supplement channel between the edge node and the center cloud is constructed, the edge node can request the center cloud to supplement the capacity of the center cloud through the interface of the center cloud, new peripheral devices are avoided, and cost is effectively reduced. It will be appreciated that the interface may be a general purpose interface, such as: the center cloud is equipped with one or more interfaces that are used for carrying out the ability to marginal node and supplyes, and the center cloud can set up the interface of different quantity according to actual demand, for example: two interfaces are set, one of the two interfaces serves as a common interface, the other serves as a standby interface, when the common interface fails, the standby interface is started, safety and stability are improved, the above are only examples, the number of the specific interfaces can be set according to actual conditions, and details are not repeated here.
Further, in order to pre-configure the capability that can be used by an edge node and accelerate the task processing speed, the inventor proposes to pre-allocate the capability resource to the edge node according to a pre-set resource allocation rule and the authentication information, and obtain the pre-allocated resource corresponding to the edge node; namely, when the edge node completes the authentication management of the interface, the capability resource pre-allocation is carried out on the capability which can be used by the edge node, the capability supplement speed and efficiency of the edge node are improved, the implementability is strong, and the time is saved.
And synchronizing the authentication information to the edge node in order to realize the synchronization of the central cloud and the edge node.
S402: transmitting the task information to be processed to the central cloud end through the interface; for example: when a third-party box without the intelligent analysis and other capabilities needs to perform the analysis and other tasks, the capability can be supplemented by calling the interface of the central cloud to transmit the analysis task, so that the calculation pressure of edge nodes is reduced, newly-added peripherals are avoided, the costs of time, resources and the like are reduced, the reliability is higher, and the implementation is more convenient.
S403: controlling the central cloud to perform resource adaptation according to the pre-allocated resources corresponding to the edge nodes and the task types, and acquiring computing resources corresponding to the to-be-processed task information; according to the capacity resources and the task types which can be used by the edge nodes and the resource intensity requirements corresponding to the to-be-processed task information, the cloud of the control center performs resource adaptation to obtain the computing resources corresponding to the to-be-processed task information, and therefore flexibility is high and resource allocation rationality is high.
In order to improve the completion speed of the task and the accuracy of the task completion, the inventor proposes:
controlling the central cloud end to perform resource adaptation on different pieces of to-be-processed task information according to the task type, the resource intensity requirement corresponding to the to-be-processed task information and a preset resource adaptation threshold, wherein the step of performing resource adaptation comprises the following steps:
acquiring computing resources corresponding to the task type according to the task type;
when the resource intensity requirement corresponding to the task information to be processed exceeds the resource adaptation threshold, increasing the computing power resource corresponding to the task information to be processed according to the preset resource increasing quantity;
and when the resource intensity requirement corresponding to the task information to be processed is reduced, reducing the computing resources corresponding to the task information to be processed according to the preset resource reduction quantity. The computing power resources required by the edge nodes are dynamically adjusted and adapted by using the flexibility of the cloud resources, the tasks in the task information to be processed are adapted to resources of different types according to the task types, and the computing power resources corresponding to the edge nodes are dynamically adjusted and adapted according to different resource strengths required by different tasks, so that the flexibility and the accuracy of task processing are effectively improved, and the computing power resources are high in selectivity. Here, reducing the computational power resources corresponding to the to-be-processed task information means reducing the computational power resources corresponding to the to-be-processed task information.
S404: and processing the corresponding task by using the computing power resource to obtain a processing result. For example: and analyzing the task content by using the computing resources corresponding to the to-be-processed task information, and the like to obtain a processing result. The data information to be processed is transmitted to the central cloud end for processing and storage, so that the safety of data processing and storage is improved, and the calculation and storage pressure of edge nodes is reduced.
S405: and transmitting the processing result to the edge node to complete the capability supplement of the edge node. By transmitting the processing result to the corresponding edge node, the capability required by the edge node can be well supplemented, the edge lightweight is realized, newly-added peripherals are avoided, software or hardware change is not required to be carried out on the equipment of the edge node, the calculation pressure of the edge node is reduced, the cost is reduced, the implementability is stronger, and the accuracy is higher.
Further, in order to achieve the instant fetching and using of computing power resources of the central cloud and load balancing, the inventor proposes that the step of completing the capability supplement of the edge node comprises: and controlling the central cloud to release corresponding computing resources. By controlling the center cloud to release the corresponding computing resources, the flexibility of resource allocation of the center cloud can be effectively improved, the task processing speed is increased, and the accuracy of task processing is improved.
In order to enhance timeliness and security in the process of supplementing the capability of the edge node, the inventor proposes that, in some embodiments, according to a preset authorization code update cycle, the central cloud is controlled to periodically refresh the authorization code, obtain a refresh result, and update the valid period timing time of the authorization code;
transmitting the refreshing result to an edge node to finish the refreshing of the authorization code;
if the authorization code fails to be refreshed, calling the interface according to the authentication information of the edge node, acquiring the authorization code, and updating the valid period timing time of the authorization code;
refreshing the authorization code according to the valid period updating time;
and when the valid period updating time of the edge node expires, controlling the central cloud to delete the authorization code. The authorization code is deleted regularly through the cloud of the control center, the edge node is controlled to update the authorization code regularly, timeliness is high, dynamic refreshing of the authorization code is achieved through a mode that the valid period updating time of the authorization code is refreshed regularly, and safety of the authorization code is improved effectively.
In order to facilitate the edge node to query and retrieve the processing result, the inventor proposes that, in some embodiments, the edge node is controlled to retrieve the processing result of the task, and the step of retrieving includes:
obtaining an authorization code of the edge node;
checking the authorization code for the first time to obtain a checking result;
controlling the edge node to transmit a processing result retrieval request to the central cloud according to the primary check result;
controlling the central cloud to carry out secondary verification on the authorization code to obtain a secondary verification result;
and transmitting the processing result to the edge node according to the secondary verification result to finish retrieval. By retrieving the processing result, the edge node can conveniently acquire and query the processing result, the accuracy is high, and the implementation is convenient.
In order to reduce the storage pressure of the edge node, the inventor proposes that whether the remaining storage capacity of the edge node is smaller than a preset storage threshold range is judged, if the remaining storage capacity of the edge node is smaller than the preset storage threshold range, the edge node is controlled to delete the task information to be processed and the processing result corresponding to the task information to be processed, and the central cloud is controlled to store the task information to be processed and the processing result corresponding to the task information to be processed. By judging the residual storage capacity of the edge node, the task information to be processed and the processing result thereof in the edge node are deleted conditionally, so that the storage pressure of the edge node is effectively reduced.
In some embodiments, the task type includes at least one of: the method comprises the steps of analyzing tasks, storing tasks, retrieving tasks, decoding tasks, encoding tasks and deploying and controlling alarm tasks.
The first embodiment is as follows:
as shown in fig. 3 to 4, in an application scenario of intelligent security edge computing, a plurality of edge node devices are connected to a central cloud terminal by invoking interfaces of the central cloud terminal, so as to complete the construction of an edge computing network environment, a plurality of intelligent terminals IPC are connected to the edge node devices, the central cloud terminal has a central cloud platform with parsing, retrieving, storing, decoding, encoding and other capabilities, the edge nodes 1, 2, 3 are security devices or third party boxes without parsing capability or warning capability, and the plurality of edge nodes form an edge network, when the edge node 1 needs to parse a task and does not have a corresponding parsing capability, the edge node 1 is controlled to send a capability supplement request, the central cloud terminal is controlled to generate authentication information according to the capability supplement request, the edge node 1 is controlled to invoke the interfaces of the central cloud terminal according to the authentication information, acquiring an authorization code, inputting the authorization code into an authorization field of a subsequent universal request, authorizing the edge node 1 to access a central cloud, completing calling of an interface, pre-allocating capacity resources to the edge node 1 according to the authentication information, determining the capacity of the edge node 1, transmitting task information to be processed, namely analysis task information to the central cloud through the interface, controlling the central cloud to perform resource adaptation on the analysis task according to the pre-allocated resources corresponding to the edge node 1 and the analysis task information, acquiring computing resources for processing the analysis task, controlling the central cloud to receive task content, namely analysis video streams, corresponding to the analysis task and transmitted by the edge node 1, analyzing the analysis video streams by utilizing the computing resources, and acquiring a processing result, namely, the analysis result is transmitted to the corresponding edge node 1, the supplement of the analysis capability of the edge node 1 is completed, the feasibility is high, the addition of peripheral equipment is avoided, the calculation pressure of the edge node is reduced, the implementability is high, and the flexibility is high.
Example two:
referring to fig. 4, when the edge node 2 generates a deployment request and the edge node 2 does not have a corresponding processing capability, task information to be processed, that is, deployment task information is obtained, where the deployment task information includes: comparing task information with alarm task information, controlling the edge node 2 to send out a capability supplement request according to the deployment task information, controlling a central cloud end to create a partner user and generate authentication information according to the capability supplement request, controlling the edge node 2 to call an interface of the central cloud end according to the authentication information to obtain an authorization code, completing authorization by utilizing the authorization code and further completing the call of the interface of the central cloud end, pre-distributing capability resources to the edge node 2 according to the authentication information, transmitting the deployment task information to the central cloud end through the interface of the central cloud end for resource adaptation to obtain corresponding computing resources, receiving task contents transmitted by the edge node 2 by the control central cloud end, wherein the task contents are a deployment human face name list library, processing data in the deployment human face name list library to obtain a processing result, the processing result is control alarm information, the control center cloud transmits the control alarm information to the edge node 2 for real-time display or control alarm, the edge node 2 can also retrieve and query the processing result by calling an interface of the center cloud, capability supplement of the edge node without feature ratio peer-to-peer capability is well realized, the calculation and storage pressure of the edge node is reduced, the improvement of software or hardware of equipment of the edge node is not involved, the cost is low, and the implementation is convenient.
As shown in fig. 5, this embodiment further provides an edge node capability supplementing system, including:
the task obtaining module is used for obtaining task information to be processed of the edge node;
the request module is used for controlling the edge node to send a capacity supplement request to a central cloud according to the to-be-processed task information;
the authentication module is used for carrying out authentication management on the interfaces of the edge nodes and the center cloud according to the capability supplement request;
the interface calling module is used for calling the interface between the edge node and the center cloud after authentication is completed;
the processing module is used for processing corresponding tasks by utilizing the resources of the central cloud end to complete the capability supplement of the edge nodes; the task obtaining module, the request module, the authentication module, the interface calling module and the processing module are connected. Acquiring task information to be processed of edge nodes; controlling the edge node to send a capacity supplement request to a central cloud according to the to-be-processed task information; according to the capacity supplement request, performing authentication management on interfaces of the edge nodes and the central cloud; after the authentication is completed, the interface between the edge node and the central cloud is called, the resource of the central cloud is utilized, the corresponding task is processed, the capability supplement of the edge node is realized, the calculation and storage pressure of the edge node is reduced, the cost is effectively saved, the newly added peripheral equipment is avoided, and the safety is higher.
As shown in fig. 6, in some embodiments, the central cloud comprises:
the functional service module is used for processing the task information to be processed transmitted from the edge node and carrying out dynamic resource adjustment and adaptation according to the resource intensity requirement corresponding to the current task information to be processed;
and the interface management module is used for adding a partner, checking the authorization code of the edge node and judging whether the edge node has the authority of acquiring the capability.
The edge node includes:
the service module is used for judging whether the edge node has task processing capacity and transmitting task information to be processed;
the interface configuration module is used for configuring the identity information of the partner and calling an interface of the central cloud; the partner identity information is the identity information of an intelligent terminal connected with the edge node;
and the capacity acquisition module is used for transmitting the task information to be processed to the central cloud.
For example: when the service module judges that the edge node does not have the task processing capacity, the capacity acquisition module is called, the capacity acquisition module acquires an authorization code from the interface configuration module, the authorization code is inquired and checked, after the check is completed, the authorization code is fed back to the capacity acquisition module, the capacity acquisition module is controlled to transmit a capacity supplement request to the interface management module at the center cloud end, the interface management module acquires the authorization code and checks, whether the edge node has the authority of acquiring the capacity is judged, and resource adaptation is performed on the task information to be processed according to the judgment result, wherein the resource adaptation process comprises the following steps: and controlling the central cloud end to perform resource adaptation on different pieces of information of the task to be processed according to a preset resource adaptation threshold, the task type and the resource intensity requirement corresponding to the information of the task to be processed. And then the functional service module of the control center cloud acquires task content from the business module of the edge node, processes the corresponding task, transmits the acquired processing result to the business module of the edge node, and can display the task in real time. When the edge node needs to retrieve the processing result, the control service module calls the capability acquisition module to acquire an authorization code from the interface configuration module, the authorization code is subjected to primary verification, a primary verification result is acquired, if the primary verification result passes the verification, the control capability acquisition module sends a processing result retrieval request to the interface management module at the center cloud end, the interface management module at the control center cloud end performs secondary verification on the authorization code, a secondary verification result is acquired, if the secondary verification result passes the verification, the processing result retrieval request is sent to the function service module, the control function service module transmits the processing result to the interface management module, and the control interface management module transmits the corresponding processing result to the edge node. The task information to be processed of the edge nodes is transmitted to the central cloud for processing, so that the computing pressure of the edge nodes is reduced, new peripheral equipment is avoided, the capability of the edge nodes is well supplemented, and the method is high in implementability, high in stability, high in processing accuracy and low in cost.
In some embodiments, the step of performing authentication management on the interfaces of the edge node and the central cloud according to the capability supplement request includes:
controlling the central cloud to generate authentication information according to the capability supplement request, wherein the authentication information comprises: interface verification serial number and interface key;
controlling the edge node to call the interface of the central cloud according to the interface verification serial number and the interface key to acquire an authorization code;
and authorizing the edge node through the authorization code.
In some embodiments, the step of performing authentication management on the interfaces of the edge node and the central cloud according to the capability supplement request includes:
pre-allocating capacity resources to the edge node according to a preset resource allocation rule and the authentication information to obtain pre-allocated resources corresponding to the edge node;
and synchronizing the authentication information to the edge node.
In some embodiments, according to-be-processed task information of the edge node, determining whether the edge node has a corresponding task processing capability, and obtaining a determination result, where the to-be-processed task information includes: task content and task type;
controlling the edge node to send a capacity supplement request to the central cloud according to the judgment result;
calling an interface of the central cloud according to the capacity supplement request, and transmitting the task information to be processed to the central cloud through the interface;
controlling the central cloud to perform resource adaptation according to the pre-allocated resources corresponding to the edge nodes and the task types, and acquiring computing resources corresponding to the to-be-processed task information;
and processing the corresponding task by utilizing the computing power resource.
In some embodiments, the method includes controlling the central cloud end to perform resource adaptation on different pieces of information of the task to be processed according to a task type, a resource intensity requirement corresponding to the information of the task to be processed, and a preset resource adaptation threshold, where the step of performing resource adaptation includes:
acquiring computing resources corresponding to the task type according to the task type;
when the resource intensity requirement corresponding to the task information to be processed exceeds the resource adaptation threshold, increasing the computing power resource corresponding to the task information to be processed according to the preset resource increasing quantity;
and when the resource intensity requirement corresponding to the task information to be processed is reduced, reducing the computing resources corresponding to the task information to be processed according to the preset resource reduction quantity.
In some embodiments, completing the step of supplementing the capabilities of the edge node comprises: and controlling the central cloud to release corresponding computing resources.
In some embodiments, the central cloud is controlled to refresh the authorization code periodically according to a preset authorization code update period, obtain a refresh result, and update the valid period timing time of the authorization code;
transmitting the refreshing result to an edge node to finish the refreshing of the authorization code;
if the authorization code fails to be refreshed, calling the interface according to the authentication information of the edge node, acquiring the authorization code, and updating the valid period timing time of the authorization code;
refreshing the authorization code according to the valid period updating time;
and when the valid period updating time of the edge node expires, controlling the central cloud to delete the authorization code. For example: according to a preset authorization code updating period, regularly controlling an interface configuration module of an edge node to call an interface to an interface management module of a central cloud end to refresh an authorization code, checking whether the authorization code exists in the central cloud database by the interface management module, further updating the valid period timing time of the authorization code, obtaining an authorization code refreshing result, returning the authorization code refreshing result to the interface configuration module, controlling the interface configuration module to refresh the valid period timing time of the authorization code of the edge node according to the refreshing result, if the authorization code fails to be updated, controlling the interface configuration module of the edge node to call the interface to the interface management module of the central cloud end by using the authentication information of a user of the edge node to obtain the authorization code, updating the valid period timing time of the authorization code, returning the authorization code to the interface configuration module of the edge node, and updating the time according to the valid period, and periodically updating the authorization codes of the edge node and the central cloud. And if the valid period timing time of the authorization code expires, the control center cloud deletes the authorization code.
In some embodiments, further comprising:
controlling the edge node to search the processing result of the task, wherein the step of searching comprises the following steps:
obtaining an authorization code of the edge node;
checking the authorization code for the first time to obtain a checking result;
controlling the edge node to transmit a processing result retrieval request to the central cloud according to the primary check result;
controlling the central cloud to carry out secondary verification on the authorization code to obtain a secondary verification result;
and transmitting the processing result to the edge node according to the secondary verification result to finish retrieval.
In some embodiments, it is determined whether the remaining storage capacity of the edge node is smaller than a preset storage threshold range, and if the remaining storage capacity of the edge node is smaller than the preset storage threshold range, the edge node is controlled to delete the to-be-processed task information and the processing result corresponding to the to-be-processed task information, and the central cloud is controlled to store the to-be-processed task information and the processing result corresponding to the to-be-processed task information.
In some embodiments, the task type includes at least one of: the method comprises the steps of analyzing tasks, storing tasks, retrieving tasks, decoding tasks, encoding tasks and deploying and controlling alarm tasks.
The present embodiment also provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements any of the methods in the present embodiments.
The present embodiment further provides an electronic terminal, including: a processor and a memory;
the memory is used for storing computer programs, and the processor is used for executing the computer programs stored by the memory so as to enable the terminal to execute the method in the embodiment.
The computer-readable storage medium in the present embodiment can be understood by those skilled in the art as follows: all or part of the steps for implementing the above method embodiments may be performed by hardware associated with a computer program. The aforementioned computer program may be stored in a computer readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The electronic terminal provided by the embodiment comprises a processor, a memory, a transceiver and a communication interface, wherein the memory and the communication interface are connected with the processor and the transceiver and are used for completing mutual communication, the memory is used for storing a computer program, the communication interface is used for carrying out communication, and the processor and the transceiver are used for operating the computer program so that the electronic terminal can execute the steps of the method.
In this embodiment, the Memory may include a Random Access Memory (RAM), and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (13)

1. An edge node capability supplementing method, comprising:
acquiring task information to be processed of an edge node;
controlling the edge node to send a capacity supplement request to a central cloud according to the to-be-processed task information;
according to the capacity supplement request, performing authentication management on interfaces of the edge nodes and the central cloud;
after the authentication is completed, the interface between the edge node and the center cloud is called, the resource of the center cloud is utilized to process the corresponding task, and the capability supplement of the edge node is completed.
2. The method for supplementing edge node capability according to claim 1, wherein the step of performing authentication management on the interfaces of the edge node and the central cloud according to the capability supplement request comprises:
controlling the central cloud to generate authentication information according to the capability supplement request, wherein the authentication information comprises: interface verification serial number and interface key;
controlling the edge node to call the interface of the central cloud according to the interface verification serial number and the interface key to acquire an authorization code;
and authorizing the edge node through the authorization code.
3. The method for supplementing edge node capability according to claim 2, wherein the step of performing authentication management on the interfaces of the edge node and the central cloud according to the capability supplement request includes:
pre-allocating capacity resources to the edge node according to a preset resource allocation rule and the authentication information to obtain pre-allocated resources corresponding to the edge node;
and synchronizing the authentication information to the edge node.
4. The edge node capability supplementing method of claim 1,
judging whether the edge node has corresponding task processing capacity according to the to-be-processed task information of the edge node, and acquiring a judgment result, wherein the to-be-processed task information comprises: task content and task type;
controlling the edge node to send a capacity supplement request to the central cloud according to the judgment result;
calling an interface of the central cloud according to the capacity supplement request, and transmitting the task information to be processed to the central cloud through the interface;
controlling the central cloud to perform resource adaptation according to the pre-allocated resources corresponding to the edge nodes and the task types, and acquiring computing resources corresponding to the to-be-processed task information;
and processing the corresponding task by utilizing the computing power resource.
5. The edge node capability supplementing method of claim 1,
controlling the central cloud end to perform resource adaptation on different pieces of to-be-processed task information according to the task type, the resource intensity requirement corresponding to the to-be-processed task information and a preset resource adaptation threshold, wherein the step of performing resource adaptation comprises the following steps:
acquiring computing resources corresponding to the task type according to the task type;
when the resource intensity requirement corresponding to the task information to be processed exceeds the resource adaptation threshold, increasing the computing power resource corresponding to the task information to be processed according to the preset resource increasing quantity;
and when the resource intensity requirement corresponding to the task information to be processed is reduced, reducing the computing resources corresponding to the task information to be processed according to the preset resource reduction quantity.
6. The method for supplementing capability of an edge node according to claim 1, wherein the step of completing the capability supplementation of the edge node comprises: and controlling the central cloud to release corresponding computing resources.
7. The edge node capability supplementing method of claim 2,
controlling the central cloud to refresh the authorization code at regular intervals according to a preset authorization code updating period, acquiring a refreshing result, and updating the valid period timing time of the authorization code;
transmitting the refreshing result to an edge node to finish the refreshing of the authorization code;
if the authorization code fails to be refreshed, calling the interface according to the authentication information of the edge node, acquiring the authorization code, and updating the valid period timing time of the authorization code;
refreshing the authorization code according to the valid period updating time;
and when the valid period updating time of the edge node expires, controlling the central cloud to delete the authorization code.
8. The method for supplementing edge node capability according to claim 1, further comprising:
controlling the edge node to search the processing result of the task, wherein the step of searching comprises the following steps:
obtaining an authorization code of the edge node;
checking the authorization code for the first time to obtain a checking result;
controlling the edge node to transmit a processing result retrieval request to the central cloud according to the primary check result;
controlling the central cloud to carry out secondary verification on the authorization code to obtain a secondary verification result;
and transmitting the processing result to the edge node according to the secondary verification result to finish retrieval.
9. The edge node capability supplementing method of claim 1,
and judging whether the residual storage capacity of the edge node is smaller than a preset storage threshold range, if so, controlling the edge node to delete the task information to be processed and the corresponding processing result thereof, and controlling the central cloud to store the task information to be processed and the corresponding processing result thereof.
10. The edge node capability supplementing method of claim 4 wherein the task type comprises at least one of: the method comprises the steps of analyzing tasks, storing tasks, retrieving tasks, decoding tasks, encoding tasks and deploying and controlling alarm tasks.
11. An edge node capability supplementing system, comprising:
the task obtaining module is used for obtaining task information to be processed of the edge node;
the request module is used for controlling the edge node to send a capacity supplement request to a central cloud according to the to-be-processed task information;
the authentication module is used for carrying out authentication management on the interfaces of the edge nodes and the center cloud according to the capability supplement request;
the interface calling module is used for calling the interface between the edge node and the center cloud after authentication is completed;
the processing module is used for processing corresponding tasks by utilizing the resources of the central cloud end to complete the capability supplement of the edge nodes; the task obtaining module, the request module, the authentication module, the interface calling module and the processing module are connected.
12. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program, when executed by a processor, implements the method of any one of claims 1 to 10.
13. An electronic terminal, comprising: a processor and a memory;
the memory is adapted to store a computer program and the processor is adapted to execute the computer program stored by the memory to cause the terminal to perform the method according to any of claims 1 to 10.
CN202110560209.3A 2021-05-21 2021-05-21 Edge node capability supplementing method, system, medium and electronic terminal Active CN113259359B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110560209.3A CN113259359B (en) 2021-05-21 2021-05-21 Edge node capability supplementing method, system, medium and electronic terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110560209.3A CN113259359B (en) 2021-05-21 2021-05-21 Edge node capability supplementing method, system, medium and electronic terminal

Publications (2)

Publication Number Publication Date
CN113259359A true CN113259359A (en) 2021-08-13
CN113259359B CN113259359B (en) 2022-08-02

Family

ID=77183771

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110560209.3A Active CN113259359B (en) 2021-05-21 2021-05-21 Edge node capability supplementing method, system, medium and electronic terminal

Country Status (1)

Country Link
CN (1) CN113259359B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114138454A (en) * 2021-10-19 2022-03-04 中标慧安信息技术股份有限公司 Fair distribution method and system for computing power of edge computing platform
CN114330722A (en) * 2021-11-25 2022-04-12 达闼科技(北京)有限公司 Inference implementation method, network, electronic device and storage medium
CN115633354A (en) * 2022-12-21 2023-01-20 成都卫士通信息产业股份有限公司 Terminal identity authentication method, device, equipment and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109005223A (en) * 2018-07-26 2018-12-14 南京邮电大学 Internet of Things resource regulating method and system, computer readable storage medium and terminal
EP3668174A1 (en) * 2017-09-12 2020-06-17 Huawei Technologies Co., Ltd. Service processing method, mobile edge computing device, and network device
CN111800283A (en) * 2019-04-08 2020-10-20 阿里巴巴集团控股有限公司 Network system, service providing and resource scheduling method, device and storage medium
CN111800282A (en) * 2019-04-08 2020-10-20 阿里巴巴集团控股有限公司 Network system, instance management and control method, device and storage medium
CN111932027A (en) * 2020-08-28 2020-11-13 电子科技大学 Cloud service comprehensive scheduling optimization system and method fusing edge facilities
WO2021017161A1 (en) * 2019-07-26 2021-02-04 网宿科技股份有限公司 Resource acquisition method and edge computing scheduling server
CN112433852A (en) * 2020-11-23 2021-03-02 广州技象科技有限公司 Internet of things edge calculation control method, device, equipment and storage medium
CN112532751A (en) * 2021-02-09 2021-03-19 中关村科学城城市大脑股份有限公司 Method and system for scheduling distributed heterogeneous computing power of urban brain AI computing center
CN112671830A (en) * 2020-12-02 2021-04-16 武汉联影医疗科技有限公司 Resource scheduling method, system, device, computer equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3668174A1 (en) * 2017-09-12 2020-06-17 Huawei Technologies Co., Ltd. Service processing method, mobile edge computing device, and network device
CN109005223A (en) * 2018-07-26 2018-12-14 南京邮电大学 Internet of Things resource regulating method and system, computer readable storage medium and terminal
CN111800283A (en) * 2019-04-08 2020-10-20 阿里巴巴集团控股有限公司 Network system, service providing and resource scheduling method, device and storage medium
CN111800282A (en) * 2019-04-08 2020-10-20 阿里巴巴集团控股有限公司 Network system, instance management and control method, device and storage medium
WO2021017161A1 (en) * 2019-07-26 2021-02-04 网宿科技股份有限公司 Resource acquisition method and edge computing scheduling server
CN111932027A (en) * 2020-08-28 2020-11-13 电子科技大学 Cloud service comprehensive scheduling optimization system and method fusing edge facilities
CN112433852A (en) * 2020-11-23 2021-03-02 广州技象科技有限公司 Internet of things edge calculation control method, device, equipment and storage medium
CN112671830A (en) * 2020-12-02 2021-04-16 武汉联影医疗科技有限公司 Resource scheduling method, system, device, computer equipment and storage medium
CN112532751A (en) * 2021-02-09 2021-03-19 中关村科学城城市大脑股份有限公司 Method and system for scheduling distributed heterogeneous computing power of urban brain AI computing center

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114138454A (en) * 2021-10-19 2022-03-04 中标慧安信息技术股份有限公司 Fair distribution method and system for computing power of edge computing platform
CN114138454B (en) * 2021-10-19 2022-07-15 中标慧安信息技术股份有限公司 Fair distribution method and system for computing power of edge computing platform
CN114330722A (en) * 2021-11-25 2022-04-12 达闼科技(北京)有限公司 Inference implementation method, network, electronic device and storage medium
CN115633354A (en) * 2022-12-21 2023-01-20 成都卫士通信息产业股份有限公司 Terminal identity authentication method, device, equipment and medium
CN115633354B (en) * 2022-12-21 2023-05-26 中电科网络安全科技股份有限公司 Terminal identity authentication method, device, equipment and medium

Also Published As

Publication number Publication date
CN113259359B (en) 2022-08-02

Similar Documents

Publication Publication Date Title
CN113259359B (en) Edge node capability supplementing method, system, medium and electronic terminal
CN109710236B (en) Service development and implementation method, device, platform and medium based on shared service
EP3975474B1 (en) Methods and apparatuses for chaining service data
CN103036597B (en) Method and device of sharing resources among devices in close range
CN107784221B (en) Authority control method, service providing method, device and system and electronic equipment
CN113300854B (en) Edge node capability expansion method, system and expansion box
CN111858041A (en) Data processing method and server
CN112243016A (en) Middleware platform, terminal equipment, 5G artificial intelligence cloud processing system and processing method
CN111475230B (en) Application function configuration method and device and electronic equipment
US9860313B2 (en) Maintaining state synchronization of an application between computing devices as well as maintaining state synchronization of common information between different applications without requiring perioidic synchronization
CN115277707A (en) Service processing method, device, electronic equipment and storage medium
CN113259437B (en) Method and device for determining vehicle network protocol and storage medium
CN113824675B (en) Method and device for managing login state
CN113946816A (en) Cloud service-based authentication method and device, electronic equipment and storage medium
CN113541981B (en) Member management method and system for network slice
KR102385702B1 (en) Data analysis service method and data analysis service system using the method
CN110855750B (en) Downloading method of software development kit and related equipment
CN110941683B (en) Method, device, medium and electronic equipment for acquiring object attribute information in space
CN106503225A (en) A kind of fragmentation demand and the integration platform and integration method of fragmentation Service Source
CN111339189A (en) Data processing method and device and computer readable storage medium
CN114531486B (en) Industrial Internet data processing method, device, equipment and storage medium
CN116760885B (en) Method, device, equipment, medium and program product for managing computing power network business
WO2023029414A1 (en) Data analysis method and apparatus
CN113641966B (en) Application integration method, system, equipment and medium
EP4068129A1 (en) Access control method, apparatus and device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant