Disclosure of Invention
In view of the above, it is desirable to provide an edge controller, an edge computing system and a configuration method thereof, which improve the efficiency of edge computing.
The present application provides an edge controller, the edge controller includes a plurality of interfaces, the parameter of interface includes target, source, function, input data and output data, a plurality of interfaces include:
the edge controller performs real-time and closed-loop edge control on the intelligent terminal through the first interface, the target of the first interface is the intelligent terminal, the source of the first interface is the edge controller, the function of the first interface comprises edge control, input data comprises control data of the edge controller, and output data comprises feedback data of the intelligent terminal;
the edge controller controls the non-intelligent terminal to acquire or receive analog data through the second interface, the target of the second interface is the non-intelligent terminal, the source of the second interface is the edge controller, the function of the second interface comprises edge control, input data comprises control data of the edge controller, and output data comprises analog data of the non-intelligent terminal;
the third interface is used for connecting at least one edge computing server according to the IP address, the edge controller sends edge data to the edge computing server through the third interface for processing, the target of the third interface is the edge controller, the source of the third interface is the edge computing server, the functions comprise edge resource support, human-computer interaction, edge acquisition, edge analysis, edge optimization, edge control and edge management, input data comprise control data of the edge computing server, and output data comprise edge data of the edge controller;
the edge controller sends edge data to the cloud end through the fourth interface for processing, the fourth interface aims at the edge controller, the source is the cloud end, functions comprise edge resource support, man-machine interaction, edge analysis, edge optimization and edge management, input data comprise data of the cloud end, and output data comprise edge data of the edge controller.
Optionally, the intelligent terminal is an internet of things terminal having a microprocessor, a firmware, and a communication module, and the non-intelligent terminal is an internet of things terminal that collects or receives analog signals.
Optionally, the destination of the first interface includes an IP address and a device identifier of the intelligent terminal, and the source includes an IP address and a device identifier of the edge controller; the target of the second interface comprises the IP address and the equipment identification of the non-intelligent terminal, and the source comprises the IP address of the edge controller; the target of the third interface comprises the IP address of the edge controller, and the source comprises the IP address of the edge computing server; the target of the fourth interface comprises the IP address of the edge controller, and the source comprises the IP address of the cloud and the equipment identification.
Optionally, the input data of the first interface, the second interface, the third interface and the fourth interface is characters, character strings, arrays, numbers, control commands, codes, addresses, files, network links and/or null values, and the output data is characters, character strings, arrays, numbers, control commands, codes, addresses and/or null values.
Optionally, the edge resource support is configured to provide physical resource support and resource virtualization, the edge acquisition is configured to perform data aggregation and data preprocessing, the edge analysis is configured to perform statistical analysis, classification recognition and event processing, the edge optimization includes process control optimization, emergency processing optimization and policy optimization, the edge control includes autonomous control and external control, the human-computer interaction includes data display and information processing, and the edge management includes service orchestration, operation and maintenance management and security management.
The present application further provides an edge computing system, edge computing system includes edge controller, intelligent terminal, non-intelligent terminal, edge calculation server, high in the clouds and a plurality of interfaces, the parameter of interface includes target, source, function, input data and output data, a plurality of interfaces include:
the first interface is used for connecting the edge controller and the intelligent terminal according to an IP address and an equipment identifier, the edge controller carries out real-time and closed-loop edge control on the intelligent terminal through the first interface, the target of the first interface is the intelligent terminal, the source of the first interface is the edge controller, the function comprises edge control, input data comprises control data of the edge controller, and output data comprises feedback data of the intelligent terminal;
the second interface is used for connecting the edge controller and the non-intelligent terminal according to the IP address and the equipment identifier, the edge controller controls the non-intelligent terminal to acquire or receive analog data through the second interface, the target of the second interface is the non-intelligent terminal, the source of the second interface is the edge controller, the function of the second interface comprises edge control, input data comprises control data of the edge controller, and output data comprises analog data of the non-intelligent terminal;
the third interface is used for connecting the edge computing server and the edge controller according to the IP address, the edge controller sends edge data to the edge computing server through the third interface for processing, the target of the third interface is the edge controller, the source of the third interface is the edge computing server, the functions of the third interface include edge resource support, man-machine interaction, edge acquisition, edge analysis, edge optimization, edge control and edge management, the input data include control data of the edge computing server, and the output data include edge data of the edge controller;
the fourth interface is used for connecting the cloud end with the edge controller according to the IP address, the edge controller sends edge data to the cloud end through the fourth interface for processing, the fourth interface aims at the edge controller, a source of the fourth interface is the cloud end, functions of the fourth interface include edge resource support, man-machine interaction, edge analysis, edge optimization and edge management, input data include data of the cloud end, and output data include edge data of the edge controller.
Optionally, the edge computing system further comprises an edge gateway, and the plurality of interfaces further comprise:
the fifth interface is used for connecting the edge gateway and the intelligent terminal according to the IP address, the target of the fifth interface is the intelligent terminal, the source of the fifth interface is the edge gateway, the functions of the fifth interface comprise edge acquisition, edge analysis, edge optimization, edge control and edge management, the input data comprise control data of the edge gateway, and the output data comprise feedback data of the intelligent terminal;
a sixth interface, configured to connect the edge gateway and the non-intelligent terminal according to the IP address, where the sixth interface is targeted at the non-intelligent terminal and sourced from the edge gateway, and functions of the sixth interface include edge acquisition, edge analysis, edge optimization, edge control, and edge management, where input data includes control data of the edge gateway, and output data includes simulation data of the non-intelligent terminal;
a seventh interface, configured to connect the edge computing server and the edge gateway according to the IP address, where a target of the seventh interface is the edge gateway, a source of the seventh interface is the edge computing server, functions include edge resource support and human-computer interaction, input data includes edge resources of the edge computing server, and output data includes edge data of the edge gateway;
the eighth interface is used for connecting the cloud end with the edge gateway according to the IP address, the target of the eighth interface is the edge gateway, the source of the eighth interface is the cloud end, the functions of the eighth interface comprise edge resource support and human-computer interaction, input data comprise edge resources of the cloud end, and output data comprise edge data of the edge gateway.
Optionally, the plurality of interfaces further comprises:
the ninth interface is used for connecting the cloud end and the intelligent terminal according to an IP address, the target of the ninth interface is the intelligent terminal, the source of the ninth interface is the cloud end, the functions comprise edge resource support, man-machine interaction, edge acquisition, edge analysis, edge optimization, edge control and edge management, input data comprise control data of the cloud end, and output data comprise feedback data of the intelligent terminal;
the tenth interface is used for connecting the cloud end and the edge computing server according to an IP address, the tenth interface is used for targeting at the edge computing server, a source is the cloud end, functions comprise edge resource support and man-machine interaction, input data comprises data output by the cloud end, and output data comprises feedback data of the edge computing server;
the eleventh interface is used for connecting the edge computing server and the intelligent terminal according to an IP address, the eleventh interface has the target of the intelligent terminal and the source of the edge computing server, the functions include edge resource support, man-machine interaction, edge acquisition, edge analysis, edge optimization, edge control and edge management, the input data includes control data of the edge computing server, and the output data includes feedback data of the intelligent terminal.
The application also provides an edge computing system configuration method, which comprises the following steps:
according to the IP address and the equipment identification, the sensor terminal is connected through a southbound interface, the sensor terminal is an intelligent terminal or a non-intelligent terminal, the southbound interface is a first interface or a second interface,
the first interface is used for connecting an edge controller and an intelligent terminal, the edge controller performs real-time and closed-loop edge control on the intelligent terminal through the first interface, the target of the first interface is the intelligent terminal, the source of the first interface is the edge controller, the function of the first interface comprises edge control, input data comprises control data of the edge controller, and output data comprises feedback data of the intelligent terminal;
the second interface is used for connecting the edge controller and the non-intelligent terminal, the edge controller controls the non-intelligent terminal to acquire or receive analog data through the second interface, the target of the second interface is the non-intelligent terminal, the source of the second interface is the edge controller, the function comprises edge control, the input data comprises control data of the edge controller, and the output data comprises analog data of the non-intelligent terminal;
connecting at least one of an edge computing server and a cloud terminal through a northbound interface according to the IP address, wherein the northbound interface is a third interface or a fourth interface,
the edge controller sends edge data to the edge computing server for processing through the third interface, the target of the third interface is the edge controller, the source of the third interface is the edge computing server, the functions include edge resource support, human-computer interaction, edge acquisition, edge analysis, edge optimization, edge control and edge management, the input data includes control data of the edge computing server, and the output data includes edge data of the edge controller;
the fourth interface is used for connecting the cloud end and the edge controller, the edge controller sends edge data to the cloud end through the fourth interface for processing, the fourth interface aims at the edge controller, the source is the cloud end, functions include edge resource support, human-computer interaction, edge analysis, edge optimization and edge management, input data include data of the cloud end, and output data include edge data of the edge controller.
Optionally, the method further comprises:
according to the IP address, an edge gateway and the intelligent terminal are connected through a fifth interface, the target of the fifth interface is the intelligent terminal, the source of the fifth interface is the edge gateway, the functions of the fifth interface comprise edge acquisition, edge analysis, edge optimization, edge control and edge management, input data comprise control data of the edge gateway, and output data comprise feedback data of the intelligent terminal;
according to the IP address, the edge gateway and the non-intelligent terminal are connected through a sixth interface, the target of the sixth interface is the non-intelligent terminal, the source of the sixth interface is the edge gateway, the functions of the sixth interface comprise edge acquisition, edge analysis, edge optimization, edge control and edge management, input data comprise control data of the edge gateway, and output data comprise simulation data of the non-intelligent terminal;
according to the IP address, the edge computing server and the edge gateway are connected through a seventh interface, the target of the seventh interface is the edge gateway, the source of the seventh interface is the edge computing server, the functions comprise edge resource support and man-machine interaction, input data comprise edge resources of the edge computing server, and output data comprise edge data of the edge gateway;
according to the IP address, the cloud end and the edge gateway are connected through an eighth interface, the target of the eighth interface is the edge gateway, the source is the cloud end, the functions comprise edge resource support and man-machine interaction, input data comprise edge resources of the cloud end, and output data comprise edge data of the edge gateway.
Optionally, the method further comprises:
according to an IP address, the cloud and the intelligent terminal are connected through a ninth interface, the target of the ninth interface is the intelligent terminal, the source of the ninth interface is the cloud, the functions comprise edge resource support, man-machine interaction, edge acquisition, edge analysis, edge optimization, edge control and edge management, input data comprise control data of the cloud, and output data comprise feedback data of the intelligent terminal;
according to the IP address, the cloud end and the edge computing server are connected through a tenth interface, the tenth interface is used for targeting the edge computing server, the source is the cloud end, the functions comprise edge resource support and man-machine interaction, input data comprise data of the cloud end, and output data comprise feedback data of the edge computing server;
according to the IP address, the edge computing server and the intelligent terminal are connected through an eleventh interface, the eleventh interface is used for targeting the intelligent terminal, the source is the edge computing server, the functions comprise edge resource support, man-machine interaction, edge acquisition, edge analysis, edge optimization, edge control and edge management, the input data comprise control data of the edge computing server, and the output data comprise feedback data of the intelligent terminal.
The edge controller, the edge computing system and the configuration method thereof can combine actual requirements to set a plurality of edge nodes, the edge nodes cooperate with one another to provide edge computing service, the edge controller is used for accurately controlling a terminal, the edge computing server is used for providing edge computing support, man-machine interaction, edge analysis, edge optimization, edge control and edge management, and the cloud is used for providing edge computing support and man-machine interaction, so that the phenomenon that a single edge node bears excessive workload can be avoided. In addition, the edge nodes are connected through a special service interface, the edge controller and the intelligent terminal are connected through a first interface, the edge controller and the non-intelligent terminal are connected through a second interface, the edge computing server and the edge controller are connected through a third interface, the cloud end and the edge controller are connected through a fourth interface, and therefore the complex setting of the same interface is avoided. The service interface defines the data type, the data transmission direction and the function of transmission through the structure and the parameters of the service interface, improves the data transmission efficiency, lightens the processing pressure of edge nodes, effectively improves the edge calculation efficiency and optimizes the edge calculation service.
Detailed Description
In order that the above objects, features and advantages of the present application can be more clearly understood, a detailed description of the present application will be given below with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth to provide a thorough understanding of the present application, and the described embodiments are merely a subset of the embodiments of the present application and are not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
Example one
Fig. 1 is a schematic diagram of an interface of anedge controller 40 according to the present application. Theedge controller 40 is a computer device integrated with a Personal Computer (PC), a programmable logic control system (PLC) and a motion controller, and is configured to perform data processing and logic control, and can implement control functions such as closed-loop control of a process, and PID (proportional-Integral-derivative) control, which are real-time, closed-loop, low-delay and high-reliability.
In one embodiment, theedge controller 40 includes a plurality of interfaces. The parameters of the interface comprise a target, a source, a function, input data and output data, and the data type of the parameters is string. The parameters of the interface define the structure of the interface, which may be "interface number (destination, source, function, input data, output data)". The target is a node or related node where data arrives or connects to edge computation. The source is an edge compute node or a related node that issues interface data. The function is a specific function of the interface. The input data is data brought back from the source node. The output data is data returned by the interface target. The target, the source and the function are optional parameters of the interface, and the input data and the output data are optional parameters of the interface and can be set according to the type of the edge node. In one embodiment, the input data of the interface may be characters, character strings, arrays, numbers, control commands, codes, addresses, files, network links, and/or NULL values (NULL), and the output data may be characters, character strings, arrays, numbers, control commands, codes, addresses, and/or NULL values (NULL).
Theedge controller 40 is connected to thecloud 10, theedge computing server 20, and/or thesensor terminal 50 through the plurality of interfaces. Thesensor terminals 50 include asmart terminal 501 and/or anon-smart terminal 502. The plurality of interfaces of theedge controller 40 include asouthbound interface 41 and anorthbound interface 42.
Thecloud 10 may be a server cluster, is deployed in a cloud data center, and has an information processing system that processes integral, non-real-time, and long-period data. Theedge computing server 20 may be a single server or a cluster of servers deployed near the terminals for implementing complex edge data processing. Alternatively, theedge computing server 20 may also be a mobile edge server, which is deployed at a communication base station side, such as a 5G base station, and is used for implementing mobile edge computing. Theintelligent terminal 501 is an internet of things terminal with a microprocessor, firmware and a communication module, such as industrial equipment and intelligent furniture. Thenon-intelligent terminal 502 is an internet of things terminal for collecting or receiving analog signals, and may not have a microprocessor and firmware, such as a temperature sensor, a humidity sensor, a door sensor, a smoke alarm, and the like.
Referring to fig. 2, in an embodiment, the plurality of interfaces include, but are not limited to, a first interface ECI _10, a second interface ECI _11, a third interface ECI _05, and a fourth interface ECI _ 03. The southbound interface is a first interface ECI _10 or a second interface ECI _11, and the northbound interface is a third interface ECI _05 or a fourth interface ECI _ 03.
The Interface is an Edge Computing Interface (ECI), and comprises a hardware Interface part and a software Interface part, and is used for defining the data type transmitted between Edge nodes, the data transmission direction, the data realization function and the like, and the Interface requirement of the Internet of things can be met. The hardware interface part comprises hardware such as a circuit, a chip, firmware and the like, and the software interface part comprises software such as a physical protocol, a self-defined program and the like.
The first interface ECI _10 is used for connecting at least oneintelligent terminal 501 according to an IP address and a device identifier. The first interface is targeted at theintelligent terminal 501, specifically, the IP address and the device identifier of theintelligent terminal 501, is sourced at theedge controller 40, specifically, the IP address and the device identifier of theedge controller 40, and has a function of edge control, where input data includes control data of theedge controller 40, and output data includes feedback data of theintelligent terminal 501. At this time, the functions of theintelligent terminal 501 include control execution, wherein the control execution includes accepting the control of theedge controller 40 to execute corresponding operations.
In one embodiment, theedge controller 40, theintelligent terminal 501 and thenon-intelligent terminal 502 all have IP addresses and device identifications. The device identification is a unique identification number, which may be a serial number. The first interface ECI _10 performs data transmission according to the IP address and the device identifier of theedge controller 40 and the IP address and the device identifier of theintelligent terminal 501.
Specifically, the corresponding relationship between the IP address and the device identifier of theedge controller 40 and the IP address and the device identifier of theintelligent terminal 501 may be preset, when theedge controller 40 establishes connection with theintelligent terminal 501, the first interface ECI _10 detects whether the IP address and the device identifier of theintelligent terminal 501 to be connected are matched with the IP address and the device identifier of theedge controller 40, and if so, establishes connection between theedge controller 40 and theintelligent terminal 501 based on the first interface ECI _ 10. When data transmission is performed after theedge controller 40 is connected to theintelligent terminal 501, the first interface ECI _10 detects whether the IP address and the device identifier of theintelligent terminal 501 are matched with the IP address and the device identifier of theedge controller 40, and if so, performs data transmission between theedge controller 40 and theintelligent terminal 501.
In one embodiment, theedge controller 40 performs real-time, closed-loop, low-latency and highly reliable edge control on theintelligent terminal 501 through the first interface ECI _ 10. The edge control includes autonomous control and external control. Specifically, the autonomous control is to independently perform edge side control operation according to a certain rule and synchronously control the process, such as triggering linkage control, process closed-loop control, PID control, and the like. The external control is to perform control operation on the edge side according to parameters of other devices (e.g., thecloud 10 and the edge computing server 20).
The edge control can ensure the stability, accuracy and timeliness of control, and the safety of control is ensured, which is mainly embodied in control safety feedback, including safety feedback of control authorization, surrounding environment and control result, and control result feedback, including control success, control failure and the like.
Referring to fig. 3, theedge controller 40 is connected to theintelligent terminal 501 only through the first interface ECI _ 10. Theedge controller 40 independently controls thesmart terminal 501 using a pre-stored control program.
The second interface ECI _11 is configured to connect to at least onenon-intelligent terminal 502 according to the IP address and the device identifier. The second interface is targeted at thenon-intelligent terminal 502, specifically, the IP address and the device identifier of thenon-intelligent terminal 502, and is sourced at theedge controller 40, specifically, the IP address and the device identifier of theedge controller 40, and has a function of edge control, where input data includes control data of theedge controller 40, and output data includes analog data of thenon-intelligent terminal 502. At this time, the function of thenon-intelligent terminal 502 includes control execution, wherein the control execution includes accepting the control of theedge controller 40 to execute corresponding operations.
In an embodiment, the second interface ECI _11 performs data transmission according to the IP address and the device identifier of theedge controller 40 and the IP address and the device identifier of thenon-intelligent terminal 502.
Specifically, the corresponding relationship between the IP address and the device identifier of theedge controller 40 and the IP address and the device identifier of thenon-intelligent terminal 502 may be preset, when theedge controller 40 establishes connection with thenon-intelligent terminal 502, the second interface ECI _11 detects whether the IP address and the device identifier of thenon-intelligent terminal 502 to be connected match the IP address and the device identifier of theedge controller 40, and if so, establishes connection between theedge controller 40 and thenon-intelligent terminal 502 based on the second interface ECI _ 11. When theedge controller 40 is connected to thenon-intelligent terminal 502 for data transmission, the second interface ECI _11 detects whether the IP address and the device identifier of thenon-intelligent terminal 502 match the IP address and the device identifier of theedge controller 40, and if so, performs data transmission between theedge controller 40 and thenon-intelligent terminal 502.
In one embodiment, theedge controller 40 controls thenon-intelligent terminal 502 to collect or receive analog data, such as temperature, humidity, voltage, current, etc., through the second interface ECI _ 11. Referring to fig. 4, theedge controller 40 is connected to theintelligent terminal 501 through the first interface ECI _10 and connected to thenon-intelligent terminal 502 through the second interface ECI _ 11. Theedge controller 40 obtains analog data from thenon-intelligent terminal 502 through the second interface ECI _11, and then independently controls theintelligent terminal 501 using a control program stored in advance and corresponding to the analog data. For example, theedge controller 40 obtains the temperature of theintelligent terminal 501 from thenon-intelligent terminal 502 through the second interface ECI _11, then determines whether the temperature of theintelligent terminal 501 exceeds a threshold, and if the temperature of theintelligent terminal 501 exceeds the threshold, controls theintelligent terminal 501 to cool down by using a pre-stored temperature control program.
The third interface ECI _05 is used for connecting at least oneedge computing server 20 according to the IP address. The third interface ECI _05 targets theedge controller 40, specifically, an IP address of theedge controller 40, has a source of theedge calculation server 20, specifically, an IP address of theedge calculation server 20, and has functions of edge resource support, human-computer interaction, edge acquisition, edge analysis, edge optimization, edge control, and edge management, where input data includes control data of theedge calculation server 20, and output data includes edge data of theedge controller 40. At this time, the function of theedge controller 40 includes edge control.
In one embodiment, the third interface ECI _05 performs data transmission according to the IP address of theedge computing server 20 and the IP address of theedge controller 40.
Specifically, a corresponding relationship between the IP address of theedge controller 40 and the IP address of theedge computing server 20 may be preset, and when theedge controller 40 establishes a connection with theedge computing server 20, the third interface ECI _05 detects whether the IP address of theedge computing server 20 to be connected matches the IP address of theedge controller 40, and if so, establishes a connection between theedge controller 40 and theedge computing server 20 based on the third interface ECI _ 05. When data transmission is performed after theedge controller 40 is connected to theedge computing server 20, the third interface ECI _05 detects whether the IP address of theedge computing server 20 matches the IP address of theedge controller 40, and if so, performs data transmission between theedge controller 40 and theedge computing server 20.
In an embodiment, the edge resource support is used to provide physical resource support and resource virtualization. Specifically, the physical resource support includes a computing resource support, a storage resource support and a network resource support, the computing resource support provides computing power, the storage resource support provides storage space, and the network resource support provides network communication capability. The computing resources comprise physical entities such as an MCU (microprogrammed control Unit), a CPU (Central processing Unit), a GPU (graphics processing Unit), a deep learning acceleration unit and the like, have networking and gridding capabilities, provide basic support for distributed computing, and support online upgrading and expansion of the resources. The storage resource supports the functions of multi-type data storage, multi-type database access, increase, deletion, check and modification of stored data, disaster tolerance and error prevention, data redundancy and data backup. The network resources support flexible switching of various network types, support transmission of various types of networks such as a mobile communication network and an optical fiber network, and support novel network technologies such as an SDN and a TSN.
The resource virtualization comprises computing resource virtualization, storage resource virtualization and network resource virtualization, wherein the computing resource virtualization adopts technologies such as heterogeneous computing to virtualize software and hardware resources related to computing in edge computing, the storage resource virtualization virtualizes data storage resources of the edge computing, the network resource virtualization virtualizes the software and hardware resources related to a network in the edge computing to realize communication between edge computing nodes and between the edge computing nodes and a cloud, and technologies meeting requirements of edge side service transmission time, transmission quality and flexible service deployment are adopted, such as technologies of TSN, SDN and the like. The resource virtualization has high real-time performance and high-efficiency processing capacity, time delay is controlled to be millisecond level, high reliability and self safety are achieved, high reliability application of system resources is guaranteed, a supported operating system has platform universality and supports multi-platform flexible switching, the virtualized operating system comprises a real-time operating system, a user operating system and the like, and virtualization is achieved in a mode of supporting a virtual machine or a container.
The edge acquisition is used to perform data aggregation and data preprocessing. Specifically, the data aggregation provides rich data interfaces for access aggregation of distributed, heterogeneous and cross-network multi-source data. The data preprocessing comprises data conversion, data cleaning, data filtering, data compression and the like, so that the data quality is improved, the requirement on communication bandwidth is reduced, or the utilization rate of transmission bandwidth is improved, and the subsequent processing is supported. The data aggregation supports safe and reliable data acquisition, transmission and distribution, supports concurrent access of multiple data sources, supports one or more wired or wireless network access modes such as Ethernet, PON, mobile cellular network, WLAN, NB-IoT, LoRa, C-V2X and the like, supports user mobility access and service continuity migration, and has data access strategy configuration. The data preprocessing supports the cleaning of invalid, missing, repeated and other data, and reduces the transmission bandwidth; desensitizing the data to ensure the safety of the data; row-column conversion of the structured data is supported; supporting data filtering condition configuration; supporting a structured description of unstructured data; and processing modes such as batch processing, stream processing and the like are supported.
The edge analysis is used for performing statistical analysis, classification recognition and event processing. Specifically, the statistical analysis analyzes the operation condition of the device and the operation trend of the real environment by using the aggregated or preprocessed data in a mathematical manner or a mathematical model, helps to make a prejudgment and make a response in advance, and is a process of searching information hidden in a large amount of data through an algorithm. The classification recognition is used for classifying the gathered data according to service requirements, equipment classification, the field category of the Internet of things and the like, and an intelligent algorithm and a relevant model are used for understanding and identifying the collected data, so that light-weight, low-delay and high-efficiency data analysis at the edge side is realized. The event processing makes a detection rule according to the time sequence relation and the aggregation relation among the events, continuously queries an event sequence meeting the requirement from the event stream, and triggers corresponding actions such as early warning and the like according to the rule.
The statistical analysis has the capacity of data time correlation and correlation analysis among data; the functions of monitoring, report statistics and the like are supported; the ability to support cross-node data aggregation computation and analysis; statistical analysis of numerical values, centralized trends, discrete degrees or correlation of the data is supported; the data aggregation statistical analysis is supported from different dimensions such as space dimension, time dimension, service dimension and the like; statistics and display of local, real-time and short-period data are supported; the device fault prediction and diagnosis capability is provided. The classification identification has the functions of classification standard, classification method and the like; the system has the capacity of processing structured data and unstructured data; the model training method such as light-weight deep learning is supported; providing a common statistical model library, and supporting the integration of model algorithms such as a statistical model, a mechanism model and the like; the method has the functions of registering, updating, deleting, inquiring and logging the analysis model; the method has the detailed description of the model and application condition statistics; support dynamic, adaptive resource allocation and management; the data with the same content and the same property are supported to be uniformly classified; the method has a structural description output function of classification recognition results; the data classification processing mode comprises static and dynamic data separation, data dictionary and data specification and the like. The event processing supports a real-time event processing function, and outputs a result to a queue or persistence; supporting the processing capacity of complex events and the associated processing capacity of a plurality of events; local implementation decision and real-time optimization should be supported; and the functions of intelligent planning, prediction analysis and the like are supported.
The edge optimization comprises process control optimization, emergency treatment optimization and strategy optimization. Specifically, the process control optimization performs optimization management on process control at the edge side, such as optimizing control system parameters, optimizing a fault detection process, and the like. The emergency treatment optimization carries out optimization management on emergency events occurring in edge calculation, such as simplification of emergency treatment processes, early response to alarm events and the like, and the strategy optimization carries out optimization on a data model according to scenes, a knowledge base, analysis results, configuration parameters and the like.
The process control optimization supports optimization of control models, control parameters, fault detection, and the like in process control; and distributed control optimization consisting of a plurality of controllers is supported. The emergency treatment optimization supports the optimization management of the alarm event, and the alarm event is discovered as soon as possible and is responded quickly; and the simplification of an emergency response process and the optimization of an emergency processing mode are supported. The policy optimization supports a functional module of business process distributed to one or more local edge services; translation of optimization strategies into locally schedulable execution commands should be supported; the real-time performance of local event response processing is ensured, and the high computing efficiency and the small resource occupancy rate of the edge computing nodes are supported.
The man-machine interaction comprises data display and input and output information processing. Specifically, the data display provides a real-time and visual data interface, the input and output information processing establishes the contact between the user and the edge computing node, and the input and output information of the exchange information is processed.
The data display requirements should conform to the national standard GB/T38637.2-2020. The input and output information processing support user issues data processing instructions to the edge computing node, wherein the data processing instructions comprise inquiry, retrieval, report generation, visualization and the like; supporting to return a data processing result required by a user; a friendly and simple interactive interface is provided, and the interaction between a user and the edge computing node is facilitated; and various data such as real-time data, graphic data, log data, service data and the like are supported.
The edge management comprises business arrangement, operation and maintenance management and safety management. The business arrangement carries out flow processing according to a business model and an edge computing field model to generate a workflow, the workflow is redistributed to a service module, the operation and maintenance management manages the edge computing nodes and the cluster in terms of equipment registration, running state, network connection and the like, and the safety management carries out safety management on the edge computing nodes, the network, the data and the like.
The business arrangement provides a workflow definition tool and supports operations such as adding, reading, updating and deleting workflows; the system has the capabilities of workflow semantic inspection, policy conflict detection and the like; the orchestration may be based on service templates, policy templates, etc. provided by a generic development service framework. The operation and maintenance management provides a resource configuration management function and supports the sub-role, grouping management and automation of configuration management; supporting edge computing cluster management, including recording a terminal list managed under each edge computing node under the current cluster, and performing local message routing forwarding during edge control; providing monitoring management functions including multi-dimensional, visual monitoring, alarming and the like; providing service management functions including supporting operations such as adding/uninstalling, starting/stopping, configuration modification and the like to the service, and supporting service self-recovery and the like; providing log management functions, including log collection, storage and retrieval, log catalog management and other functions; the method has the functions of high fault tolerance, self-repair, quick fault positioning and the like.
In one embodiment, theedge controller 40 sends the edge data to theedge calculation server 20 for processing through the third interface ECI _ 05. Referring to fig. 5, theedge controller 40 is connected to theintelligent terminal 501 through the first interface ECI _10, thenon-intelligent terminal 502 through the second interface ECI _11, and theedge computing server 20 through the third interface ECI _ 05. Theedge controller 40 obtains simulation data from thenon-intelligent terminal 502 through the second interface ECI _11, and transmits the simulation data to theedge computing server 20 through the third interface ECI _05, theedge computing server 20 analyzes the simulation data by using a neural network model, and outputs control parameters to theedge controller 40, and theedge controller 40 controls theintelligent terminal 501 according to the control parameters. For example, theedge controller 40 obtains temperature data from thenon-intelligent terminal 502 through the second interface ECI _11, and transmits the temperature data to theedge calculation server 20 through the third interface ECI _05, theedge calculation server 20 analyzes the temperature data by using a pre-trained neural network model for adjusting temperature, and outputs temperature control parameters to theedge controller 40, and theedge controller 40 performs temperature control on theintelligent terminal 501 according to the temperature control parameters.
The fourth interface ECI _03 is used for connecting thecloud 10 according to the IP address. The fourth interface ECI _03 is targeted at theedge controller 40, specifically at the IP address of theedge controller 40, and is sourced at thecloud 10, specifically at the IP address of thecloud 10, and has functions including edge resource support, human-computer interaction, edge analysis, edge optimization and edge management, where input data includes data of thecloud 10, and output data includes edge data of theedge controller 40. The data of thecloud 10 may include edge resources, edge optimization data, edge analysis data, and edge management data. At this time, the function of theedge controller 40 includes edge control.
In one embodiment, the fourth interface ECI _03 performs data transmission according to the IP address of thecloud 10 and the IP address of theedge controller 40.
Specifically, a corresponding relationship between an IP address of theedge controller 40 and an IP address of thecloud 10 may be preset, when theedge controller 40 establishes a connection with thecloud 10, the fourth interface ECI _03 detects whether the IP address of thecloud 10 to be connected matches the IP address of theedge controller 40, and if so, establishes a connection between theedge controller 40 and thecloud 10 based on the fourth interface ECI _ 03. When data transmission is performed after theedge controller 40 is connected to thecloud 10, the fourth interface ECI _03 detects whether the IP address of thecloud 10 matches the IP address of theedge controller 40, and if so, performs data transmission between theedge controller 40 and thecloud 10.
In one embodiment, theedge controller 40 sends edge data to thecloud 10 for processing through the fourth interface ECI _ 03. Referring to fig. 6, theedge controller 40 is connected to theintelligent terminal 501 through the first interface ECI _10, thenon-intelligent terminal 502 through the second interface ECI _11, theedge computing server 20 through the third interface ECI _05, and thecloud 10 through the fourth interface ECI _03 at the same time. Theedge controller 40 obtains simulation data from thenon-intelligent terminal 502 through the second interface ECI _11, and transmits the simulation data to theedge computing server 20 through the third interface ECI _05, theedge computing server 20 analyzes the simulation data by using a neural network model, and outputs control parameters to theedge controller 40, theedge controller 40 controls theintelligent terminal 501 according to the control parameters, and after the control is completed, theedge controller 40 transmits the control parameters and the control process to thecloud terminal 10 for sharing. For example, theedge controller 40 obtains temperature data from thenon-smart terminal 502 through the second interface ECI _11, and transmits the temperature data to theedge computing server 20 through the third interface ECI _05, theedge computing server 20 analyzes the temperature data by using a pre-trained neural network model for adjusting temperature, and outputs a temperature control parameter to theedge controller 40, theedge controller 40 performs temperature control on thesmart terminal 501 according to the temperature control parameter, after the control is completed, theedge controller 40 transmits the temperature control parameter and the temperature control process to thecloud terminal 10 for sharing or displaying, so that other users of thecloud terminal 10 can perform temperature control on devices by using the shared temperature control parameter.
Example two
Please refer to fig. 7, which is a flowchart illustrating a method for configuring an edge computing system according to a preferred embodiment of the present invention. The order of the steps in the flow chart may be changed and some steps may be omitted according to different needs.
And S701, connecting thesensor terminal 50 through a southbound interface according to the IP address and the equipment identifier.
In one embodiment, thesensor terminal 50 is anintelligent terminal 501 or anon-intelligent terminal 502, and the south interface is a first interface ECI _10 or a second interface ECI _ 11. The first interface ECI _10 is used for connecting theedge controller 40 and theintelligent terminal 501. Theedge controller 40 performs real-time, closed-loop, low-delay and highly reliable edge control on theintelligent terminal 501 through the first interface ECI _10, where the target of the first interface ECI _10 is theintelligent terminal 501, the source is theedge controller 40, the function includes edge control, the input data includes control data of theedge controller 40, and the output data includes feedback data of theintelligent terminal 501.
In an embodiment, the second interface ECI _11 is connected to theedge controller 40 and thenon-intelligent terminal 502, theedge controller 40 controls thenon-intelligent terminal 502 to collect or receive analog data through the second interface ECI _11, the second interface ECI _11 targets thenon-intelligent terminal 502 and sources theedge controller 40, functions include edge control, input data includes control data of theedge controller 40, and output data includes analog data of thenon-intelligent terminal 502.
S702, connecting at least one of theedge computing server 20 and thecloud 10 via a northbound interface according to the IP address.
In one embodiment, the northbound interface is the third interface ECI _05 or the fourth interface ECI _ 03. The third interface ECI _05 is connected to theedge computing server 20 and theedge controller 40, theedge controller 40 sends edge data to theedge computing server 20 through the third interface ECI _05 for processing, the third interface ECI _05 targets at theedge controller 40 and sources at theedge computing server 20, the functions include edge resource support, human-computer interaction, edge acquisition, edge analysis, edge optimization, edge control and edge management, the input data includes control data of theedge computing server 20, and the output data includes edge data of theedge controller 40.
In an embodiment, the fourth interface ECI _03 is connected to thecloud 10 and theedge controller 40, theedge controller 40 sends edge data to thecloud 10 through the fourth interface ECI _03 for processing, the fourth interface ECI _03 targets at theedge controller 40 and originates at thecloud 10, functions include edge resource support, human-computer interaction, edge analysis, edge optimization, and edge management, input data includes data of thecloud 10, and output data includes edge data of theedge controller 40.
EXAMPLE III
Referring to fig. 8, theedge controller 40 includes, but is not limited to, aprocessor 401, amemory 402, and acomputer program 403 stored in thememory 402 and operable on theprocessor 401. For example, thecomputer program 403 is an edge computing system configuration program. Theprocessor 401 implements steps of the edge computing system configuration method, such as steps S701 to S702 shown in fig. 7, when executing thecomputer program 403.
Illustratively, thecomputer program 403 may be partitioned into one or more modules/units that are stored in thememory 402 and executed by theprocessor 401 to perform the edge computing system configuration method of the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of thecomputer program 403 in theedge controller 40.
Those skilled in the art will appreciate that the schematic diagram is merely an example of theedge controller 40 and does not constitute a limitation on theedge controller 40, and may include more or less components than those shown, or combine some components, or different components, for example, theedge controller 40 may also include input-output devices, network access devices, buses, etc.
TheProcessor 401 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or theprocessor 401 may be any conventional processor or the like, theprocessor 401 being the control center of theedge controller 40 and connecting the various parts of theentire edge controller 40 using various interfaces and lines.
Thememory 402 may be used to store thecomputer program 403 and/or the module/unit, and theprocessor 401 may implement various functions of theedge controller 40 by running or executing the computer program and/or the module/unit stored in thememory 402 and calling data stored in thememory 402. Thememory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of theedge controller 40, and the like. In addition, thememory 402 may include volatile and non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other storage device.
Example four
Referring to FIG. 9, anedge computing system 100 according to the present application is shown. The edge computing system includes, but is not limited to, anedge controller 40, asmart terminal 501, anon-smart terminal 502, anedge computing server 20, acloud 10, and a plurality of interfaces, and parameters of the interfaces include a target, a source, a function, input data, and output data. The plurality of interfaces includes, but is not limited to, a first interface ECI _10, a second interface ECI _11, a third interface ECI _05, and a fourth interface ECI _ 03.
The first interface ECI _10 is configured to connect theedge controller 40 and theintelligent terminal 501 according to an IP address and a device identifier, theedge controller 40 performs real-time, closed-loop, low-latency, and highly reliable edge control on theintelligent terminal 501 through the first interface ECI _10, the first interface ECI _10 targets at theintelligent terminal 501, a source is theedge controller 40, functions include edge control, input data includes control data of theedge controller 40, and output data includes feedback data of theintelligent terminal 501.
The second interface ECI _11 is configured to connect theedge controller 40 and thenon-intelligent terminal 502 according to the IP address and the device identifier, theedge controller 40 controls thenon-intelligent terminal 502 to collect or receive analog data through the second interface ECI _11, the second interface ECI _11 targets at thenon-intelligent terminal 502, a source is theedge controller 40, functions include edge control, input data includes control data of theedge controller 40, and output data includes analog data of thenon-intelligent terminal 502.
The third interface ECI _05 is configured to connect theedge computing server 20 and theedge controller 40 according to the IP address, where theedge controller 40 sends edge data to theedge computing server 20 through the third interface ECI _05 for processing, the third interface ECI _05 has a target of theedge controller 40 and a source of theedge computing server 20, functions include edge resource support, human-computer interaction, edge acquisition, edge analysis, edge optimization, edge control, and edge management, input data includes control data of theedge computing server 20, and output data includes edge data of theedge controller 40.
The fourth interface ECI _03 is configured to connect thecloud 10 and theedge controller 40 according to the IP address, theedge controller 40 sends edge data to thecloud 10 through the fourth interface ECI _03 for processing, the fourth interface ECI _03 targets at theedge controller 40 and originates at thecloud 10, functions include edge resource support, human-computer interaction, edge analysis, edge optimization, and edge management, input data includes data of thecloud 10, and output data includes edge data of theedge controller 40.
Further, theedge computing system 100 further includes anedge gateway 30, and the plurality of interfaces further includes a fifth interface ECI _08, a sixth interface ECI _09, a seventh interface ECI _06, and an eighth interface ECI _ 02.
The fifth interface ECI _08 is configured to connect theedge gateway 30 and theintelligent terminal 501 according to the IP address, where the fifth interface ECI _08 targets theintelligent terminal 501, a source is theedge gateway 30, functions include edge acquisition, edge analysis, edge optimization, edge control, and edge management, input data includes control data of theedge gateway 30, and output data includes feedback data of theintelligent terminal 501.
The sixth interface ECI _09 is configured to connect theedge gateway 30 and thenon-intelligent terminal 502 according to the IP address, where the sixth interface ECI _09 targets thenon-intelligent terminal 502, a source is theedge gateway 30, functions include edge acquisition, edge analysis, edge optimization, edge control, and edge management, input data includes control data of theedge gateway 30, and output data includes simulation data of thenon-intelligent terminal 502.
The seventh interface ECI _06 is configured to connect theedge computing server 20 and theedge gateway 30 according to the IP address, where the destination of the seventh interface ECI _06 is theedge gateway 30, the source is theedge computing server 20, the functions include edge resource support and human-computer interaction, the input data includes edge resources of theedge computing server 20, and the output data includes edge data of theedge gateway 30.
The eighth interface ECI _02 is configured to connect thecloud 10 and theedge gateway 30 according to the IP address, where the eighth interface ECI _02 has a target of theedge gateway 30 and a source of thecloud 10, functions of theedge gateway 30 include edge resource support and human-computer interaction, input data includes edge resources of thecloud 10, and output data includes edge data of theedge gateway 30.
Further, the plurality of interfaces further includes a ninth interface ECI _04, a tenth interface ECI _01, and an eleventh interface ECI _ 07.
The ninth interface ECI _04 is used for connecting thecloud 10 with theintelligent terminal 501 according to an IP address, the ninth interface ECI _04 is used for targeting at theintelligent terminal 501, the source is thecloud 10, the functions include edge resource support, man-machine interaction, edge acquisition, edge analysis, edge optimization, edge control and edge management, the input data include control data of thecloud 10, and the output data include feedback data of theintelligent terminal 501. In an embodiment, thecloud 10 may directly perform edge control on thesmart terminal 501 based on the ninth interface ECI _ 04.
The tenth interface ECI _01 is configured to connect thecloud 10 and theedge computing server 20 according to an IP address, where the tenth interface ECI _01 targets theedge computing server 20, a source of theedge computing server 10, functions of theedge computing server 20 include edge resource support and human-computer interaction, input data includes data output by thecloud 10, and output data includes edge data of theedge computing server 20.
The eleventh interface ECI _07 is configured to connect theedge computing server 20 and theintelligent terminal 501 according to an IP address, where the eleventh interface ECI _07 has a target of theintelligent terminal 501 and a source of theedge computing server 20, and has functions including edge resource support, human-computer interaction, edge acquisition, edge analysis, edge optimization, edge control, and edge management, where input data includes control data of theedge computing server 20, and output data includes feedback data of theintelligent terminal 501. In an embodiment, theedge computing server 20 may directly perform edge control on theintelligent terminal 501 based on the eleventh interface ECI _ 07.
EXAMPLE five
Please refer to fig. 10, which is a flowchart illustrating a method for configuring an edge computing system according to another embodiment of the present application. The order of the steps in the flow chart may be changed and some steps may be omitted according to different needs.
S901, according to the IP address and the device identifier, theedge controller 40 connects to theintelligent terminal 501 through the first interface ECI _ 10. Theedge controller 40 performs real-time, closed-loop, low-delay and highly reliable edge control on theintelligent terminal 501 through the first interface ECI _10, where the target of the first interface ECI _10 is theintelligent terminal 501, the source is theedge controller 40, the function includes edge control, the input data includes control data of theedge controller 40, and the output data includes feedback data of theintelligent terminal 501.
S902, according to the IP address and the device identifier, theedge controller 40 is connected to thenon-intelligent terminal 502 through a second interface ECI _11, theedge controller 40 controls thenon-intelligent terminal 502 to collect or receive analog data through the second interface ECI _11, the second interface ECI _11 targets thenon-intelligent terminal 502 and is sourced to theedge controller 40, the function includes edge control, the input data includes control data of theedge controller 40, and the output data includes analog data of thenon-intelligent terminal 502.
S903, according to the IP address, theedge computing server 20 is connected to theedge controller 40 through a third interface ECI _05, theedge controller 40 sends edge data to theedge computing server 20 through the third interface ECI _05 for processing, the third interface ECI _05 has a target of theedge controller 40 and a source of theedge computing server 20, the functions include edge resource support, human-computer interaction, edge acquisition, edge analysis, edge optimization, edge control, and edge management, the input data includes control data of theedge computing server 20, and the output data includes edge data of theedge controller 40.
S904, according to the IP address, thecloud 10 is connected to theedge controller 40 through a fourth interface ECI _03, theedge controller 40 sends edge data to thecloud 10 through the fourth interface ECI _03 for processing, the fourth interface ECI _03 has a target of theedge controller 40 and a source of thecloud 10, and has functions including edge resource support, human-computer interaction, edge analysis, edge optimization, and edge management, where the input data includes data of thecloud 10, and the output data includes edge data of theedge controller 40.
Further, the method further comprises:
according to the IP address, theedge gateway 30 connects theedge gateway 30 and theintelligent terminal 501 through a fifth interface ECI _ 08;
according to the IP address, theedge gateway 30 connects theedge gateway 30 and thenon-intelligent terminal 502 through a sixth interface ECI _ 09;
according to the IP address, theedge computing server 20 connects theedge computing server 20 and theedge gateway 30 through a seventh interface ECI _ 06;
according to the IP address, thecloud 10 connects thecloud 10 and theedge gateway 30 through an eighth interface ECI _ 02.
Further, the method further comprises:
according to the IP address, thecloud 10 connects thecloud 10 and theintelligent terminal 501 through a ninth interface ECI _ 04;
according to the IP address, thecloud 10 connects thecloud 10 and theedge computing server 20 through a tenth interface ECI _ 01;
according to the IP address, theedge computing server 20 connects theedge computing server 20 and theintelligent terminal 501 through an eleventh interface ECI _ 07.
The edge controller, the edge computing system and the configuration method thereof can combine actual requirements, connect different edge nodes through different interfaces, provide edge computing service through mutual cooperation between the edge nodes, avoid overlarge workload of a single edge node, define the data type and the data transmission direction of transmission through the interface between the edge nodes, effectively improve the edge computing efficiency, and optimize the edge computing service.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. Several units or means recited in the apparatus claims may also be embodied by one and the same item or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.
Although the present application has been described in detail with reference to preferred embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the spirit and scope of the present application.