CN114448673A - Device access method, related platform and computer storage medium - Google Patents

Device access method, related platform and computer storage medium Download PDF

Info

Publication number
CN114448673A
CN114448673A CN202111614751.9A CN202111614751A CN114448673A CN 114448673 A CN114448673 A CN 114448673A CN 202111614751 A CN202111614751 A CN 202111614751A CN 114448673 A CN114448673 A CN 114448673A
Authority
CN
China
Prior art keywords
iot
edge computing
platform
computing platform
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111614751.9A
Other languages
Chinese (zh)
Inventor
杜鹏
白涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei Cloud Computing Technologies 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 Huawei Cloud Computing Technologies Co Ltd filed Critical Huawei Cloud Computing Technologies Co Ltd
Priority to CN202111614751.9A priority Critical patent/CN114448673A/en
Publication of CN114448673A publication Critical patent/CN114448673A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • 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
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • 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
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention discloses a device access method, a related platform and a computer storage medium, wherein the method comprises the following steps: the server cluster sends a first message to an IoT platform, wherein the first message carries an identification of an IoT device and is used for requesting authentication of the IoT device; and receiving a second message returned by the IoT platform, wherein the second message is used for indicating that the IoT equipment is successfully authenticated and carrying an identification of an IoT edge computing platform associated with the identification of the IoT equipment, and the IoT edge computing platform is an application program which runs on the server cluster and is deployed in a container mode and is used for processing service data of equipment which belongs to the same type as the IoT equipment. By adopting the embodiment of the invention, the problems of plug-in incompatibility, low safety performance and even performance conflict of the IoT edge computing platform caused by the complicated service types supported and processed by the IoT edge computing platform in the prior art can be solved.

Description

Device access method, related platform and computer storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a device access method, a related platform, and a computer storage medium.
Background
With the rapid development of internet of things (IoT) technology, in order to reduce the computational load of the device side, an IoT platform is specially designed for performing operations such as real-time analysis and filtering on service data of a large number of IoT devices. However, in some service scenarios with high performance index requirements, mass data transmission, and the like, for example, in the car networking with high requirement on the delay index, the processing procedures of data analysis, filtering, compression, and the like in the IoT platform need to be sunk to the edge of the network.
In order to realize the data processing process of the IoT platform sinking, an IoT edge computing platform is provided. Currently, designed IoT edge computing platforms are built based on Java service gateway initiative (OSGI) framework, and can be used for processing service data in different industries and fields. In particular, various service plugins are deployed on the IoT edge computing platform to process corresponding types of service data, such as plugins for processing internet of vehicles services. However, in practice, it is found that service plug-ins deployed on the IoT edge computing platform come from various industries in order to support the processing of different service data. The communication protocols used in different industries and fields are different and even greatly different; moreover, even different vendor devices in the same industry are designed with different communication protocols, which may cause plug-in incompatibility, lower security, and even performance conflicts in the IoT edge computing platform.
Disclosure of Invention
The embodiment of the invention discloses a device access method, a relevant platform and a computer storage medium, wherein a corresponding IoT edge computing platform can be designed according to a service type, so that the IoT edge computing platform is used for processing service data of target type devices, and the problems of plug-in incompatibility, low safety, performance conflict and the like in the prior art can be solved.
In a first aspect, an embodiment of the present invention discloses a device access method, where the method includes:
the server cluster sends a first message to an IoT platform, wherein the first message carries an identification of an IoT device, and the first message is used for requesting the IoT platform to authenticate the IoT device;
the server cluster receives a second message returned by the IoT platform, wherein the second message is used for indicating that the IoT platform successfully authenticates the IoT equipment, and the second message carries an identification of an IoT edge computing platform associated with the identification of the IoT equipment, and the IoT edge computing platform is an application program which runs on the server cluster and is deployed in a container mode and is used for processing service data of equipment which belongs to the same type as the IoT equipment.
By implementing the embodiment of the invention, the problems of plug-in incompatibility, low safety performance and even performance conflict of the IoT edge computing platform caused by the complicated service types supported and processed by the IoT edge computing platform in the prior art can be solved.
In a second aspect, an embodiment of the present invention provides another device access method, where the method includes:
an IoT platform receives a first message sent by a server cluster, wherein the first message carries an identification of an IoT device, the first message is used for requesting the IoT platform to authenticate the IoT device, an IoT edge computing platform is deployed in the server cluster, and the IoT edge computing platform is an application program which runs on the server cluster and is deployed in a container mode and is used for processing service data of devices which belong to the same type as the IoT device;
the IoT platform sends a second message to the server cluster, wherein the second message is used for indicating that the IoT equipment is successfully authenticated, and the second message carries the identity of the IoT edge computing platform associated with the identity of the IoT equipment, and the IoT platform stores the association relationship between the identity of the IoT equipment and the identity of the IoT edge computing platform.
In combination with the embodiments of the first or second aspect of the present invention, in some possible embodiments, the IoT edge computing platform includes N containers, the N containers are created based on a same target image, the target image includes at least one plug-in supporting hot-load deployment, so as to process traffic data of devices belonging to a same type as the IoT device, where N is a positive integer.
In combination with the embodiments of the first aspect or the second aspect of the present invention, in some possible embodiments, the IoT edge computing platforms are divided according to business influence factors, different IoT edge computing platforms correspondingly process business data of different types of devices, where the business influence factors include at least one of the following: the type of service, the industry the service is in, and the domain the service is in.
Specifically, the embodiment of the invention can design different IoT edge computing platforms for different service types to process service data of corresponding type equipment, realize safety isolation among services and better solve various problems in the prior art.
In combination with the embodiments of the first or second aspect of the present invention, in some possible embodiments, the IoT edge computing platform includes a distinct component deployed in a plug-in manner, and the IoT edge computing platforms share the same basic component; the distinguishing component is an application program which is different from the basic component and is used for processing the business data of the target type equipment. Specifically, the IoT edge computing platform designed by the present invention can share the same basic components, and the differentiated components are deployed in a plug-in manner to the target image for constructing the IoT edge computing platform, which can save resources.
In some possible embodiments, any two containers in the IoT edge computing platform support data sharing and data backup.
In some possible embodiments, before the IoT platform receives the first message of the IoT device sent by the server cluster, the method further includes:
the IoT platform determines the server cluster according to the service requirement of the target type equipment;
sending a first creation message to the server cluster, where the first creation message is used to indicate that the IoT edge computing platform is created in the server cluster, where the first creation message carries a target image, and the IoT edge computing platform includes N containers created based on the target image, where N is a positive integer.
Correspondingly, before the server cluster sends the first message of the IoT device to the IoT platform, the method further includes:
the server cluster receives a first creation message sent by the IoT platform, wherein the first creation message is used for indicating that the IoT edge computing platform is created in the server cluster, the first creation message carries a target image, and the IoT platform at least stores an association relationship between an identifier of the IoT device and an identifier of the target image;
the server cluster creates the IoT edge computing platform in the server cluster according to the indication of the first creation message, wherein the IoT edge computing platform comprises N containers created based on the target image, N being a positive integer.
Further, in combination with the embodiments of the second aspect of the present invention, in some possible embodiments, the method further includes:
the IoT platform receives a binding message sent by the IoT equipment, wherein the binding message carries the identity of the IoT equipment;
the IoT platform determines device description information of the IoT device according to the identity and allocates the identity of the IoT device to the IoT device, wherein an association relationship between the device description information of the IoT device and the identity of the IoT edge computing platform is stored in the IoT platform;
the IoT platform creates and maintains an association between device description information of the IoT device, an identification of the IoT device, and an identification of the IoT edge computing platform.
Specifically, the IoT platform may obtain device description information profile of the target type device in advance, and determine a corresponding target image (template) according to the profile, where the target image is used to construct the IoT edge computing platform. That is, the IoT platform may obtain, according to the profile of the target type device, an association relationship between the profile and the target image or the IoT edge computing platform, where the target type device is a device that belongs to the same type as the IoT device. Subsequently, when receiving the binding message of the IoT device, the IoT platform determines a profile corresponding to the IoT device according to the identity of the IoT device in the binding message, and allocates the identity of the IoT device to the IoT device. Further, the IoT platform binds the association among the device description information of the IoT device, the identification of the IoT device and the identification of the IoT edge computing platform and saves the association.
In combination with the embodiments of the first or second aspect of the present invention, in some possible embodiments, after the server cluster creates the IoT edge computing platform, the method further includes:
the server cluster sends a first registration message to the IoT platform through a main container so as to record the first registration message in the IoT platform; wherein the first registration message carries an identification of the primary container, an identification of the IoT edge computing platform, and an identification of the server cluster, the primary container being any one of the N containers.
Accordingly, the IoT platform receives the first registration message and records the first registration message.
In combination with the embodiments described in the first aspect of the present invention, in some possible embodiments, the method further includes:
the server cluster selects a target container from the N containers by utilizing a balanced load strategy, and the target container is used for processing the service data of the IoT equipment in the target container.
In combination with the embodiments of the first or second aspect of the present invention, in some possible embodiments, the method further includes:
the server cluster sending a second registration message to the IoT platform through the target container to record the first registration message in the IoT platform; wherein the second registration message carries an identification of the IoT device, an identification of the target container, an identification of the IoT edge computing platform, and an identification of the server cluster.
Accordingly, the IoT platform receives the second registration message and records the second registration message.
In combination with the embodiments of the first or second aspect of the present invention, in some possible embodiments, the method further includes:
the server cluster sends a load notification message to the IoT platform, wherein the load notification message carries the total load of the IoT edge computing platform, so that a backup cluster is determined in the IoT platform according to the total load of the IoT edge computing platform in the server cluster, and when the service of the server cluster is overloaded, the service data of the IoT equipment is processed in the backup cluster by using the IoT edge computing platform.
Correspondingly, the IoT platform receives a load notification message sent by the server cluster, where the load notification message carries a total load amount of the IoT edge computing platform; determining a backup cluster of the server cluster according to the total load of the IoT edge computing platform, wherein the IoT edge computing platform is deployed in the backup cluster.
Further, the IoT platform may also send a backup notification message to the server cluster, where the backup notification message carries an identifier of the backup cluster.
The server cluster traffic overload may refer to a total load amount of the IoT edge computing platform in the server cluster being greater than or equal to a first threshold, or may refer to a load amount of a target container in the IoT edge computing platform being greater than or equal to a second threshold (a preset load threshold).
In combination with the embodiments of the first or second aspect of the present invention, in some possible embodiments, the method further includes:
the server cluster determines a backup service cluster under the condition that the load capacity of the target container is greater than or equal to a first threshold value; wherein the server cluster stores an identifier of the backup cluster, and the IoT edge computing platform is deployed in the backup cluster;
the server cluster sends a third message to the backup cluster, where the third message carries the identity of the IoT edge computing platform and the identity of the IoT device to indicate that the IoT edge computing platform is utilized to process the traffic data of the IoT device in the backup cluster.
Optionally, the server cluster may send a traffic overload message to the IoT device when the load of the target container is greater than or equal to the first threshold, so as to notify that the load of the server cluster is large, and further may prompt an administrator whether to add a container to the IoT edge computing platform in the server cluster.
In some possible embodiments, an interval between the area location where the backup cluster is located and the area location where the server cluster is located is within a preset range. That is, the backup cluster is a cluster close/adjacent to the server cluster, and the IoT edge computing platform is also deployed with the backup cluster for processing the service data of the IoT device.
In combination with the embodiments of the first or second aspect of the present invention, in some possible embodiments, the method further includes:
the IoT platform sends a second creation message to the server cluster, wherein the second creation message is used for indicating that a container is newly built in the IoT edge computing platform, the second creation message is generated by the IoT platform according to the service requirement of the IoT equipment, or the IoT platform receives a creation confirmation instruction which is used for indicating that the container is determined to be newly built in the IoT edge computing platform.
Accordingly, the server cluster receives a second creation message sent by the IoT platform; and then, creating a container in the IoT edge computing platform according to the second creation message, so that the service data of the equipment belonging to the same type as the IoT equipment can be processed by using the newly-added container subsequently.
In a third aspect, an embodiment of the present invention discloses a server cluster, including an IoT edge computing platform and an access service instance;
the access service instance to send a first message to an IoT platform; wherein the first message carries an identity of an IoT device, and is used to request the IoT platform to authenticate the IoT device;
the access service instance is further configured to receive a second message returned by the IoT platform, and forward the second message to the IoT edge computing platform, where the second message is used to indicate that the IoT device is successfully authenticated and carries an identifier of the IoT edge computing platform associated with the identifier of the IoT device, and the IoT platform holds an association relationship between the identifier of the IoT device and the identifier of the IoT edge computing platform;
the IoT edge computing platform is used for processing the service data of the IoT equipment under the condition that the second message is used for indicating that the IoT equipment is successfully authenticated.
In some possible embodiments, the IoT edge computing platform is created according to traffic requirements of the IoT device, the server cluster further includes a scheduler;
the scheduler is used for receiving a service creation instruction sent by the IoT platform and creating the access service instance according to the service creation instruction;
the dispatcher is further used for receiving a first creation message sent by the IoT platform and creating the IoT edge computing platform in the server cluster according to the indication of the first creation message; the first creation message carries a target image, the IoT edge computing platform comprises N CIG containers created based on the target image, and N is a positive integer; the IoT platform at least maintains an association between the identity of the IoT device and the identity of the target image.
In some of the possible embodiments of the present invention,
the IoT edge computing platform is further to send a first registration message to the IoT platform through a primary container to record the first registration message in the IoT platform; wherein the first registration message carries an identification of the primary container, an identification of the IoT edge computing platform, and an identification of the server cluster, the primary container being any one of the N containers.
In some possible embodiments, the IoT edge computing platform is further configured to receive a response message sent by the IoT platform, where the response message carries the address of the access service instance and the respective addresses of the N containers.
In some possible embodiments, the scheduler is further configured to receive a second creation message sent by the IoT platform, and add a container to the IoT edge computing platform according to an indication of the second creation message; the second creation message is generated by the IoT platform according to the service requirement of the IoT device, or generated when the IoT platform receives a creation confirmation instruction, where the creation confirmation instruction is used to determine to newly create a container in the IoT edge computing platform.
In some of the possible embodiments of the present invention,
the IoT edge computing platform is further configured to select a target container from the N containers using a balanced load policy after receiving the second message for processing traffic data of the IoT device in the target container.
In some possible embodiments, the IoT edge computing platform is further to send a second registration message to the IoT platform through the target container to record the second registration message in the IoT platform; wherein the second registration message carries an identification of the IoT device, an identification of the target container, an identification of the IoT edge computing platform, and an identification of the server cluster.
In some possible embodiments, the IoT edge computing platform is further to determine a backup cluster if an amount of load of the target container is greater than or equal to a first threshold; wherein the server cluster stores an identifier of the backup cluster, and the IoT edge computing platform is deployed in the backup cluster; sending, by the access service instance, a third message to the access service instance of the backup cluster, the third message carrying the identity of the IoT edge computing platform and the identity of the IoT device to instruct processing of traffic data of the IoT device with the IoT edge computing platform in the backup cluster.
In some possible embodiments, the IoT edge computing platform is further configured to send a load notification message to the IoT platform, where the load notification message carries a total load amount of the IoT edge computing platform, so as to determine the backup cluster in the IoT platform according to the total load amount of the IoT edge computing platform.
In a fourth aspect, an embodiment of the present invention provides an IoT platform, including a connection management unit;
the connection management unit is configured to receive a first message sent by a server cluster, where the first message carries an identifier of an IoT device, and is used to request the IoT platform to authenticate the IoT device, an IoT edge computing platform is deployed in the server cluster, and the IoT edge computing platform is an application program that runs on the server cluster and is deployed in a container manner, and is used to process service data of devices that belong to the same type as the IoT device;
the connection management unit is further configured to send a second message to the server cluster, where the second message is used to indicate that the IoT device is successfully authenticated, and the second message carries an identifier of the IoT edge computing platform associated with the identifier of the IoT device, and the connection management unit stores an association relationship between the identifier of the IoT device and the identifier of the IoT edge computing platform.
In some possible embodiments, a mirror repository is also included;
the mirror image warehouse is used for acquiring the equipment description information of at least one type of equipment, distributing a corresponding mirror image for the equipment description information of the at least one type of equipment, and sending the association relationship between the at least one mirror image and the equipment description information of the at least one type of equipment to the connection management module; wherein one class of devices corresponds to a mirror image;
the connection management unit is further configured to store an association relationship between the at least one mirror and device description information of at least one type of device, where the device description information of the at least one type of device includes device description information of the IoT device;
the connection management unit is further configured to receive a binding message sent by the IoT device, where the binding message carries an identity of the IoT device; determining device description information of the IoT device according to the identity, and allocating the identity of the IoT device to the IoT device; wherein, the IoT platform stores the association relationship between the description information of the IoT device and the identification of the IoT edge computing platform;
the connection management unit is further configured to create an association relationship between the device description information of the IoT device, the identity of the IoT device, and the identity of the IoT edge computing platform.
In some possible embodiments, the system further comprises a plug-in warehouse and a cluster management unit;
the plug-in warehouse is used for storing at least one plug-in;
the cluster management unit is configured to determine the server cluster according to the service requirement of the target type device, and send a service creation instruction to the server cluster, where the service creation request is used to instruct to create an access service instance in the server cluster, so as to implement message transmission between the IoT device and the connection management unit through the access service instance;
the cluster management unit is further configured to send a first creation message to the server cluster, where the first creation message is used to instruct to create the IoT edge computing platform in the server cluster, and the first creation message carries a target image, where the IoT edge computing platform includes N containers created based on the target image, where N is a positive integer.
In some of the possible embodiments of the present invention,
the cluster management unit is further configured to receive a first registration message sent by the server cluster through a main container, and record the first registration message; wherein the first registration message carries an identification of the primary container, an identification of the IoT edge computing platform, and an identification of the server cluster.
In some of the possible embodiments of the present invention,
the cluster management unit is further configured to send a second creation message to the server cluster, where the second creation message is used to instruct to newly create a container in the IoT edge computing platform, the second creation message is generated by the IoT platform according to a service requirement of the IoT device, or is generated when the IoT platform receives a creation confirmation instruction, and the creation confirmation instruction is used to instruct to determine to newly create a container in the IoT edge computing platform.
In some of the possible embodiments of the present invention,
the connection management unit is further configured to receive a second registration message sent by the server cluster through a target container, and record the second registration message; wherein the second registration message carries an identification of the IoT device, an identification of the target container, an identification of the IoT edge computing platform, and an identification of the server cluster, the target container being selected from the N containers for the IoT edge computing platform using a balanced load policy to process traffic data of the IoT device.
In some possible embodiments, the system further comprises a cluster management unit;
the cluster management unit is configured to receive a load notification message sent by the server cluster, where the load notification message carries a total load amount of the IoT edge computing platform;
the cluster management unit is further configured to determine a backup cluster of the server cluster according to a total load amount of the IoT edge computing platform, where the backup cluster is deployed with the IoT edge computing platform, so as to process traffic data of the IoT device by using the IoT edge computing platform in the backup cluster when the server cluster traffic is overloaded.
In some of the possible embodiments of the present invention,
the cluster management unit is further configured to send a backup notification message to the server cluster, where the backup notification message carries an identifier of the backup cluster.
For contents that are not shown or described in the third aspect or the fourth aspect, reference may be made to the foregoing embodiments specifically, and details are not described here again.
In a fifth aspect, an embodiment of the present invention discloses a network device, which includes a functional unit configured to execute the method in the first aspect.
In a sixth aspect, the present invention provides another network device, which includes a functional unit configured to execute the method of the second aspect.
In a seventh aspect, an embodiment of the present invention provides another network device, including a memory, a communication interface, and a processor coupled to the memory and the communication interface; the memory is configured to store instructions, the processor is configured to execute the instructions, and the communication interface is configured to communicate with other network devices under control of the processor; wherein the processor, when executing the instructions, performs the method described in the first aspect above.
In an eighth aspect, an embodiment of the present invention provides another network device, including a memory, a communication interface, and a processor coupled to the memory and the communication interface; the memory is configured to store instructions, the processor is configured to execute the instructions, and the communication interface is configured to communicate with other network devices under control of the processor; wherein the processor, when executing the instructions, performs the method described in the second aspect above.
In a ninth aspect, a computer-readable storage medium is provided that stores program code for device access. The program code comprises instructions for performing the method described in the first aspect above.
In a tenth aspect, a computer-readable storage medium is provided that stores program code for device access. The program code comprises instructions for performing the method described in the second aspect above.
In an eleventh aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method described in the first aspect above.
In a twelfth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method described in the second aspect above.
By implementing the embodiment of the invention, the problems of plug-in incompatibility, low safety performance and even performance conflict of the IoT edge computing platform caused by the complicated service types supported and processed by the IoT edge computing platform in the prior art can be solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1A is a schematic structural diagram of an IoT edge computing platform according to an embodiment of the present invention.
Fig. 1B is a schematic diagram of a container group according to an embodiment of the present invention.
Fig. 1C is a schematic diagram of a server cluster deployed with an IoT edge computing platform according to an embodiment of the present invention.
Fig. 1D is a schematic view of a data synchronization scenario according to an embodiment of the present invention.
Fig. 1E is a schematic diagram of a relationship provided in the embodiment of the present invention.
Fig. 2A to fig. 2D are schematic flowcharts of several device access methods provided in the embodiment of the present invention.
Fig. 3A and 3B are schematic diagrams of two network frameworks provided by the embodiment of the present invention.
Fig. 4-fig. 7 are schematic flowcharts of another device access method according to an embodiment of the present invention.
Fig. 8A is a schematic structural diagram of a network device according to an embodiment of the present invention.
Fig. 8B is a schematic structural diagram of another network device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings of the present invention.
The applicant has discovered in the course of the present application: in order to meet the service scenes of high requirements on service performance indexes, mass data transmission and the like, data processing processes such as data analysis, filtration, compression and the like related to an IoT platform need to be sunk to the edge of a network. In order to realize data processing processes such as data analysis and filtering of the IoT platform sinking, the following two IoT edge computing platforms are particularly proposed.
A first IoT edge computing platform constructed based on a Java service gateway initiative (OSGI) framework. Research shows that business plugins of various industries are deployed in an IoT edge computing platform, which causes the problems of incompatibility, low security, performance conflict and the like among the business plugins.
A second, container-technology-based IoT edge computing platform. Specifically, business plugins (such as third-party application plugins) and other functional services are deployed in an IoT edge computing platform through a container, and problems of incompatibility, data leakage (low security), performance conflict and the like which may occur between different business plugins are solved by using a container-owned isolation mechanism. However, in practice, it is found that each business plug-in or functional service is separately deployed in the form of a container, which causes a great deal of resource waste and increases platform construction cost.
In order to solve the above problem, the present application provides an IoT edge computing platform supporting light weight and container deployment and a device access method based on the IoT edge computing platform, which will be described in detail below.
First, the IoT edge computing platform proposed by the present application is set forth. The IoT edge computing platforms may be designed according to business impact factors, and different IoT edge computing platforms are used to process business data of different types of devices, i.e., to process business data of different business types. In addition, each IoT edge computing platform is deployed in a container mode, so that the safety isolation among different service plug-ins is realized, and the problems of plug-in incompatibility, low safety, performance conflict and the like are avoided. Wherein the business impact factors include, but are not limited to, any one or combination of more of the following: the type of service, the industry the service is in, the domain the service is in, and the like.
The service type here refers to the classification of services of different IoT devices in the internet of things, such as car networking services, smart home services, and so on. The business of the service refers to business of different IoT devices or IoT devices in the internet of things, such as mobile phone industry, automobile industry, and the like, and the domain of the service refers to domain of different IoT devices (i.e., services of IoT devices) in the physical network, such as terminal domain, and the like. Generally, the domain of the field compared to the industry; at present, the method is not clearly distinguished from the industry and the field.
However, in order to solve the problems of incompatibility of application programs, low security performance, even performance conflict and the like caused by cross-industry or cross-domain, different IoT edge computing platforms are designed according to different industries or domains, and service data of IoT devices in the corresponding industries/domains are processed. Optionally, the IoT edge computing platform may also be designed according to the service types in different industries/domains, so that the IoT edge computing platform corresponds to the IoT device for processing the service data corresponding to the service type. For example, one IoT edge computing platform is designed to process traffic data in the car networking, another IoT edge computing platform is designed to process traffic data in the smart home domain, and so on.
In this application, the IoT edge computing platform refers to an application deployed in one or more physical servers (also referred to as a server cluster) for processing service data of a target type device, that is, processing service data of a certain type of service. Such as the business data of the internet of vehicles described above, etc. Optionally, the IoT edge computing platform described herein may also be referred to as an IoT edge computing platform type, and is used for processing service data of a certain type (i.e., target type) of service.
Optionally, to save resources, the IoT edge computing platform may share the same basic components, such as java class programs. To process traffic data for different types or different vendor devices, corresponding distinct components are also deployed on the IoT edge computing platform. Wherein the distinguishing component can be deployed by means of plug-in, for example, by binding bundle plug-in. The distinguishing component is different from the basic component and is used for processing service data of different types of equipment. For example, an application program for internet of vehicles service data and an application program for processing smart home service data can be distinct components and are deployed in respective IoT edge computing platforms in a plug-in manner.
To achieve traffic isolation between different IoT edge computing platforms, the present application may employ container technology to design IoT edge computing platforms. In particular, the present application employs container isolation for the different IoT edge computing platforms. That is, the present application employs a container to deploy the IoT edge computing platform. Fig. 1A in particular illustrates an internal structural schematic of two IoT computing edge platforms. As with fig. 1A, an IoT edge computing platform is shown for handling internet of vehicles traffic and smart home traffic, respectively. In the figure, the basic protocol stack may be a basic component, and a vehicle to outside communication (V2X) plug-in, an equipment instruction, a protocol plug-in, and the like are all distinctive components, which are not described in detail in this application. An IoT platform communication module is used for realizing mutual communication between the IoT edge computing platform and the IoT platform. The OSGI framework is an underlying framework designed for the Java system, and will not be described in detail in this application, and the management module will be described in detail below.
Optionally, according to a traffic demand (e.g., how much of the total amount of traffic data to be processed by some type of IoT device), N containers may be designed/included in the IoT edge computing platform, where the N containers are created based on the same mirror image, and N is a positive integer. That is, the N containers belong to the same type, and are all used for processing service data of a certain type of device (i.e., a target type device). That is, the IoT edge computing platform is created based on an image. Wherein, different IoT edge computing platforms correspond to different images, and one IoT edge computing platform corresponds to one image, that is, the IoT edge computing platform and the image correspond one to one.
The image comprises one or more plug-ins supporting open and integrated deployment, namely various programs deployed in a plug-in mode, such as a preset shared basic component, a protocol plug-in (namely a protocol application) provided by a main stream device manufacturer, a functional plug-in, a distinguishing component (namely an application processing a certain service) and the like. Optionally, the plug-in supports hot-load deployment, and details about the hot-load are not described in detail in this application. It is understood that the object image is a template for creating a container, and data and applications required for running the container are packaged in the template, and the applications include, but are not limited to, the above-mentioned differentiated components deployed by plug-in mode, protocol plug-ins provided by device manufacturers, and function plug-ins.
Since the IoT edge computing platform is used to process traffic data for a class of devices, and the IoT edge computing platform includes N containers, it can be understood to be composed of N containers. Accordingly, the IoT edge computing platform described herein may also be referred to as a container group. Accordingly, in order to realize mutual discovery of the same type of containers, a container management module, specifically, a karaf container management module, is designed in the container, and through this module, mutual discovery of the same type of containers can be realized to automatically form/form a container group, specifically, as shown in fig. 1B. Optionally, data synchronization between the N containers may also be implemented by the container management module, and a data synchronization mechanism is specifically described in detail below. The container management module also refers to an application program, and may be specifically packaged in a plug-in form in a target image for creating the container, which is not described in detail in this application.
In an alternative embodiment, the IoT edge computing platform (i.e., N containers) may be deployed into a server cluster that includes, but is not limited to, one or more servers. It should be understood that deployment of one or more IoT edge computing platforms to handle traffic data for one or more classes of devices may be supported in the server cluster. Specifically as fig. 1C, three IoT edge computing platforms, specifically a first edge computing platform for processing internet of vehicles traffic, a second edge computing platform for processing smart home traffic, and a third edge computing platform for processing voice traffic, are deployed on the same server cluster; the number of containers included in each edge computing platform is not limited, and they may be the same or different.
In an alternative embodiment, data sharing and data backup may be supported between any two containers in the IoT edge computing platform. That is, a data synchronization mechanism is supported between containers in the same IoT edge computing platform. Optionally, to know in which containers the same piece of data is stored/backed up, the data may be recorded in the form of a data distribution table, and the data distribution table is synchronously recorded in each container in the IoT edge computing platform. As shown in fig. 1D, the IoT edge computing platform includes 3 containers therein. Data 1, data 2, and data 3 are stored in the containers 1 to 3, respectively, and the main data 1, the main data 2, and the main data 3 are shown in the figure. To avoid data loss in a single container from being lost and not being found back, the present application relates to a data synchronization mechanism that supports data backup between two containers in the same IoT edge computing platform. A data distribution table is synchronously stored in each container and used for recording the position of each/kind of data in which writing container a record is stored. As shown in fig. 1D, the main data 1 is backed up to the container 2 (i.e., the backup data 1 in the figure), the data 2 is backed up to the container 3 (the backup data 2 in the figure), and the main data 3 is backed up to the container 1 (the backup data 3 in the figure). Accordingly, the data distribution table stores the relationship between the containers in which the main data and the backup data are located. Table 1 below shows a schematic diagram of a data distribution table.
TABLE 1
Data identification Master data storage locations Backup data storage location
Data 1 Container 1 Container 2
Data 2 Container 2 Container 3
Data 3 Container 3 Container 1
Optionally, when data is deleted or added to a certain container, the data distribution table can be updated synchronously. For example, if data 1 in container 1 is deleted in the above example, backup data 1 may be obtained from container 2 when IoT edge computing platform needs to use data 1 accordingly.
Optionally, when a container in the IoT edge computing platform fails, the data in the other containers in the IoT edge computing platform except the container may be redistributed and stored, which is not described in detail herein.
Embodiments involving mirroring, IoT edge computing platforms, and different types of devices (specifically, device description information profiles) are set forth below. Specifically, in order to solve the problems of incompatibility among plug-ins, low security, performance conflict and the like in the prior art, different IoT edge computing platforms are proposed to process service data of different types of devices. Wherein, different IoT edge computing platforms are constructed based on different images, and one IoT edge computing platform corresponds to one image, which is not described herein with reference to the foregoing embodiments specifically. The idea of the present application to build an IoT edge computing platform is specifically set forth below with respect to mirroring, IoT edge computing platforms, and profiles of different types of devices.
Specifically, fig. 1E shows a relationship diagram. The schematic diagram includes the mirror repository and device information of different types of devices (illustrated as device identifiers of certain target type of devices and corresponding device description information profiles). Wherein the mirror repository stores at least one mirror, one mirror used to construct an IoT edge computing platform. For the mirror image, reference may be made to the foregoing embodiments, which are not described herein again. Optionally, in order to distinguish different images, a corresponding identifier may be assigned to the image, that is, an identifier of the image, which may specifically be a name, a number, and the like of the image.
In order to realize service differentiation, different types of devices need to build different IoT edge computing platforms. Each type of device may also include multiple types of devices, and each type of device corresponds to respective device information (which may also be referred to as device record information), where the device information includes, but is not limited to, device description information profile, device identifier, manufacturer, system version, and other information. The device description information may include, but is not limited to, a device name, a device type, a device model, and the like, which will be described in detail below. Further, the number of each apparatus is not limited, i.e., each apparatus may include a plurality of apparatuses.
It should be understood that, to distinguish the devices and the device description information of the devices, each device corresponds to a respective device identifier (shown as a device ID), and the device description information of each device also corresponds to a respective profile identifier, i.e., a profile ID. For example, a plurality of in-vehicle apparatuses 1 and a plurality of in-vehicle apparatuses 2 produced by different manufacturers are included in one type of in-vehicle apparatus, and different users can purchase the in-vehicle apparatuses 1 or the in-vehicle apparatuses 2 at will. Corresponding to the example in fig. 1E, the type of vehicle-mounted device belongs to a target type device, the profile of the type of vehicle-mounted device includes profiles of the vehicle-mounted device 1 and the vehicle-mounted device 2, and the device information of the type of vehicle-mounted device may include device identifiers corresponding to the plurality of vehicle-mounted devices 1, device identifiers corresponding to the plurality of vehicle-mounted devices 2, and the like. Accordingly, in order to process the service data of the vehicle-mounted device, an IoT edge computing platform may be designed for the vehicle-mounted device. That is, as shown in fig. 1E, a class of device corresponds to a profile group having the class of device, and the group includes device description information corresponding to the class of device. Further, a class of devices may be designed to be an IoT edge computing platform, which also has a mirror image, and will not be described in detail herein.
Based on the embodiments of the IoT edge computing platform, the following describes related embodiments of the device access method related to the present application. Specifically, as shown in fig. 2A, a flow diagram of a device access method provided in the embodiment of the present invention is shown. The method as shown in fig. 2A includes the following implementation steps:
step S201, the server cluster sends a first message to an IoT platform, where the first message carries an identifier of an IoT device, and is used to request the IoT device to authenticate the IoT device. Accordingly, the IoT platform receives the first message.
In this application, the first message may be a device online message that is sent by the IoT device to the server cluster, so as to request the IoT platform to perform identity authentication on the IoT device. Correspondingly, the server cluster receives the first message and forwards the first message to the IoT platform.
Step S202, the IoT platform returns a second message to the server cluster, where the second message is used to indicate that the IoT platform successfully authenticates the IoT device, and the second message also carries an identifier of an IoT edge computing platform associated with the identifier of the IoT device. The server cluster receives the second message accordingly.
Specifically, after receiving the first message, the IoT platform may parse the first message to obtain the identity of the IoT device. And then, authenticating the IoT equipment according to the identification of the IoT equipment, and returning a corresponding second message to the server cluster. The second message is used for indicating whether the IoT platform successfully authenticates the IoT equipment, namely, authentication is successful or authentication is failed. If authentication fails, the process may end. If the authentication is successful, the second message also carries an identifier of an IoT edge computing platform associated with the identifier of the IoT device.
The IoT edge computing platform is a container-deployed application program running on the server cluster and used for processing service data of a device belonging to the same type as the IoT device, that is, for processing service data of a target type device. The target type device is a device of the same type as the IoT device.
In an optional embodiment, an association/mapping relationship between the identity of the IoT device and the identity of the IoT edge computing platform is maintained in the IoT platform. As shown in fig. 2B, before step S201, the method may further include the following steps:
s101, the IoT equipment sends a binding message (which can also be a registration message) to the IoT platform, wherein the binding message carries the identity of the IoT equipment; accordingly, the IoT platform receives the binding message.
The identity of the IoT device is a unique identifier key used to represent the IoT device, and may specifically include, but not limited to, a Multimedia Access Control (MAC) of the IoT device, an International Mobile Subscriber Identity (IMSI), and the like.
S102, after the IoT platform performs the binding message, determining the device description information of the IoT device and the identity of the IoT edge computing platform associated with the device description information according to the identity, and allocating the identity of the IoT device to the IoT device. Wherein, the IoT platform prestores an association relationship between the device description information and the identity of the IoT edge computing platform. Accordingly, the IoT device may send a binding response message to the IoT device, the binding response message carrying an identification of the IoT device.
Specifically, after receiving the binding message, the IoT platform may query the device description information associated with the identity key from the connection management unit according to the identity of the IoT device. At the same time, the IoT edge computing platform with which the device description information is associated is also known. Optionally, the identity of the target image used to build the IoT edge computing platform is queried as well. For the device description information, reference may be made to related explanations in the foregoing embodiments, and details are not described here.
Further, the IoT platform may assign a unique identity, i.e., an identity (device ID) of the IoT device, to the IoT device. Optionally, the IoT platform may return a binding/registration response message to the IoT device, where the registration response message carries the identity of the IoT device.
S103, the IoT platform creates and stores the device description information of the IoT device, the identification of the IoT device and the association relation between the identification of the IoT edge computing platform.
In an alternative embodiment, as shown in fig. 2C, before step S201, the method further includes the following implementation steps:
step S104, the IoT platform determines the server cluster according to the service requirement of the target type equipment so as to create an IoT edge computing platform for processing the service data of the target type equipment in the server cluster.
Specifically, the IoT platform determines, according to a service plan and a service requirement of the target type device, that the IoT edge computing platform needs to be created in an edge area data center to process service data of the target type device. The edge area data center is a server cluster described herein, which includes, but is not limited to, one or more servers.
Step S105, the IoT platform sends a first creation message to the server cluster, wherein the first creation message carries a target image and is used for indicating that the IoT edge computing platform is created in the server cluster based on the target image. Accordingly, the server cluster receives the first create message. For the target image and the IoT edge computing platform, reference may be made to the descriptions in the foregoing embodiments and the details are not repeated here.
Step S106, after receiving the first creation message, the server cluster creates the IoT edge computing platform according to the target image.
Specifically, the server cluster creates N containers according to the target image, the N containers constituting the IoT edge computing platform. Wherein N is a positive integer, and the size of N depends on the traffic demand of the target type device. If the service requirement of the target type equipment is large, namely the amount of service data to be processed is large, the value of N can be large; conversely, the value of N can be designed to be smaller. Optionally, the size of N is also limited by the hardware resources of the server cluster that deploys the container, which is not detailed here.
Optionally, as the service data of the target type device increases, the IoT platform may further add a creation container to the IoT edge computing platform according to the service requirement of the target type device. Specifically, a second create message may be sent to the server cluster to indicate that a container is newly created in the IoT edge computing platform, which will be described in detail below and will not be described in detail here.
In an alternative embodiment, the method may further include the following implementation steps after step S106:
step S107, the server cluster sends a first registration message to the IoT platform through a main container. Accordingly, the IoT platform receives and records the first registration message. Wherein the first registration message carries at least an identifier of the primary container. Optionally, the identifier of the server cluster and the identifier of the IoT edge computing platform may also be carried. The main container is any one of N containers in the IoT edge computing platform, or a user-side or system-side customized container, and the like, which is not limited in the present application. In particular, the first registration message may be a registration message to register the server cluster, an IoT edge computing platform in the server cluster, and a container included in the IoT edge computing platform with the IoT platform.
In an alternative embodiment, the IoT edge computing platform includes N containers created based on the same target image, and after step S202, the method may further include implementing the steps of:
step S203, the server cluster selects a target container from the N containers according to a load balancing policy, so as to process the service data of the IoT device in the target container.
In particular, since multiple IoT edge computing platforms may be deployed on the server cluster to process traffic data for different types of devices. The plurality of IoT edge computing platforms are specifically identifiable to differentiate. After the server cluster receives the second message, the server cluster may parse the second message to learn an identity of an IoT edge computing platform for processing the traffic data of the IoT device. Accordingly, in step S203, the server cluster may first find out, according to the identity of the IoT edge computing platform, an IoT edge computing platform corresponding to the identity, for example, an edge computing platform for processing internet of vehicles services. Then, a container with the least load amount is selected from the N containers included in the IoT edge computing platform as the target container. And processing the service data of the IoT equipment by utilizing the target container when the IoT equipment reports the service data to the IoT edge computing platform. For the IoT edge computing platform, reference may be made to the relevant description in the foregoing embodiments, which are not repeated herein.
Step S204, the server cluster sends a second registration message to the IoT platform through the target container, so as to record the second registration message in the IoT platform. The second registration message is used to indicate that the service data of the IoT device is processed in a target container under the IoT edge computing platform in the server cluster, and the second registration message carries at least an identifier of the target container. Optionally, the second registration message may further carry information such as an identifier of the IoT device, an identifier of the IoT edge computing platform, and an identifier of the server cluster, which is not limited in this application.
In an alternative embodiment, the method as shown in fig. 2D may further include the following implementation steps:
step S205, the server cluster sends a load notification message to the IoT platform, where the load notification message carries a total load amount of the IoT edge computing platform. Accordingly, the IoT platform receives the load notification message.
The total load of the IoT edge computing platform refers to a total amount of the N containers in the IoT edge computing platform that are responsible for processing the service data, or a total amount of the devices corresponding to the service data.
Step S206, the IoT platform determines a backup cluster for the server cluster according to the total load of the IoT edge computing platform in the server cluster, so as to process the traffic data of the IoT device by using the IoT edge computing platform in the backup cluster when the traffic of the server cluster is overloaded.
In particular, the IoT edge computing platform may be deployed in M service clusters that are partitioned according to different regional locations. I.e. the M service clusters are located in M different regional locations. Wherein the M service clusters at least comprise the backup cluster and the server cluster. The M service clusters may each communicate with the IoT platform, sending the total amount of load of the IoT edge computing platform in each service cluster to the IoT platform. Optionally, the location of the area where the respective service cluster is located may also be sent.
Accordingly, the IoT platform may select an appropriate backup cluster (also a backup server cluster) based on the total amount of load of the respective edge computing platforms in the M service clusters and their location of the region. Preferably, the distance between the respective area locations of the backup cluster and the server cluster is closest, and is located within a preset range. I.e. the backup cluster is the other server cluster close/proximal to the server cluster.
The server cluster traffic overload means that a total load amount of the IoT edge computing platform in the server cluster is greater than or equal to a first load threshold, or means that a load amount of a target container in the server cluster is greater than or equal to a second load threshold, that is, all target containers with the least load are overloaded, then the IoT edge computing platform in the server cluster is also overloaded.
Step S207, the IoT platform sends a backup notification message to the server cluster, where the backup notification message carries an identifier of the backup cluster.
In specific step S207, the server cluster may send a load notification message to the IoT platform through the primary container. Accordingly, in step S208, the IoT platform may specifically notify the primary container in the IoT edge computing platform of the backup notification message to store the identification of the backup cluster in the primary container, which will be described in detail below.
In an alternative embodiment, the method may further comprise the following implementation steps:
step S208, the server cluster determines the backup cluster under the condition that the load amount of the target container is greater than or equal to a first threshold value; wherein the server cluster stores the identifier of the backup cluster.
Step S209, the server cluster sends a third message to the backup cluster, where the third message carries the identity of the IoT device and the identity of the IoT edge computing platform, so as to indicate that the IoT edge computing platform is utilized to process the service data of the IoT device in the backup cluster.
In an optional embodiment, after the backup cluster receives the third message, a corresponding registration message may be sent to the IoT platform, where the registration message carries an identifier of the backup cluster. Optionally, information such as an identification of an IoT device and an identification of the IoT edge computing platform may also be carried.
By implementing the embodiment of the invention, the IoT edge computing platform can be designed according to the service type, and different IoT edge computing platforms are used for processing service data of different types of equipment. In addition, the IoT edge computing platform is deployed in a container mode, so that the problems of plug-in incompatibility, low safety, performance conflict and the like in the prior art are solved, and therefore when IoT equipment is accessed, the IoT equipment is distributed to the corresponding IoT edge computing platform to process the service data of the IoT equipment, and the safety and the reliability of service processing are improved.
Next, a network framework diagram applicable to the present application is introduced. A network framework diagram of an IoT platform and a server cluster deployed with an IoT edge computing platform to which the present application relates is described in detail below.
Fig. 3A is a schematic diagram of a network architecture of an IoT platform according to an embodiment of the present invention. As shown in fig. 3A, the IoT platform includes a plug-in repository 102, a mirror repository 104, and a connection management unit 106. Optionally, a cluster management unit 108 may be further included. Wherein:
the plug-in repository 102 is configured to store at least one plug-in, which may specifically be an application packaged in an image in a plug-in manner.
The mirror repository 104 is configured to store at least one mirror, where one mirror corresponds to one IoT edge computing platform and different mirrors correspond to different IoT edge computing platforms, and are configured to process traffic data of different types of devices. In particular, one mirror is used to build a class of containers, namely one IoT edge computing platform. Specific details regarding the mirror image, the container, and the IoT edge computing platform may be found in the foregoing embodiments and will not be described herein.
The connection management unit 106 is configured to store an association relationship between the device description information and the image (specifically, an identifier of the image). The device description information may refer to device description information of a certain or certain type of IoT device, which specifically includes but is not limited to a device type, a device model, a communication protocol used by the device (e.g., zigbee, etc.), a service attribute of the device (e.g., which service is supported and an application of the device, etc.), and other information.
Optionally, the cluster management unit 108 is configured to be responsible for performing management operations, such as creating, configuring and other operation processes, on each component in the server cluster, which will be described in detail below.
Fig. 3B is a schematic diagram of a network framework of a server cluster according to an embodiment of the present invention. In practical applications, the server cluster may refer to a cluster composed of one or more physical servers. In an embodiment of the present application, the server cluster may include a scheduler 202, at least one IoT edge computing platform 204, and an access service instance 206 as described in fig. 3B. Optionally, a Domain Name System (DNS) server 208 may also be included. Wherein:
the scheduler 202 is responsible for scheduling resources, such as server hardware, allocation of memory resources, etc., to assist in completing the construction of the container or IoT edge computing platform, as described in detail below.
The IoT edge computing platform 204, which includes N containers, is responsible for processing traffic data of a certain type of device (i.e., a target type of device), for example, for processing traffic data in a car networking. Wherein, one IoT edge computing platform is responsible for processing the service data of one type of equipment, and different IoT edge computing platforms are responsible for processing different types of service data.
The access service (LB) instance 206 is responsible for an IoT device to access the server cluster according to a current location of the area, so as to process the service data of the IoT device by using a corresponding IoT edge computing platform. Optionally, the access service has functions of packet routing and traffic balancing load, which are specifically described in detail below.
The DNS server 208 is configured to record and provide a domain name address, so that the IoT device logs in/accesses the IoT edge computing platform of the server cluster according to the domain name address, and further processes the service data of the IoT device by using the IoT edge computing platform, which is not described in detail herein.
The details of the various components or functional units related to the server cluster described in this application will be set forth in detail below, and will not be described in any greater extent here.
Based on the network framework diagrams shown in fig. 3A and fig. 3B, the collaboration relationship between each component in the IoT platform 100 and each component in the server cluster 200 in the foregoing embodiments shown in fig. 2A to fig. 2D is explained in detail below.
First, based on the network framework diagrams shown in fig. 3A and fig. 3B, taking the embodiment of fig. 2C as an example, the following describes the cooperative relationship between the IoT platform and each component in the server cluster in the embodiment of creating the IoT edge computing platform, please refer to fig. 4.
1-3, the cluster management unit 108 sends a service creation request to the server cluster to indicate creation of an access service instance 206 in the server cluster. Accordingly, the service cluster receives the service creation request and creates the access service instance 206 through the scheduler 202. After the access service instance 206 is created, the corresponding domain name address is sent to the local DNS server 208 and registered in the DNS server.
Specifically, the cluster management unit 108 may determine, according to the service plan or the service requirement of the target type device, a server cluster that needs to create the IoT edge computing platform. Before creating the IoT edge computing platform, the corresponding access service instance 206 is created through the scheduler 202, so that the IoT device can access to the server cluster through the access service instance and then to the IoT edge computing platform in the cluster. After the access service instance 206 is created, the local DNS server may be refreshed with domain name addresses that support online access for the target type device. The target type device refers to a device of the same type as the IoT device.
4-5, the IoT platform needs to obtain the basic components used for processing the service data of the target type device and other functional components from the plug-in repository 102, package the basic components and other functional components into corresponding target images based on a system framework (such as OSGI), and store the target images into the image repository 104.
6-7, the cluster management unit 108 sends a first creation message to the scheduler 202, where the first creation message carries the target image and is used to instruct to create the IoT edge computing platform based on the target image. Accordingly, the dispatcher 202 receives the first create message and creates the IoT edge computing platform (specifically N containers) in the server cluster based on the target image.
It should be appreciated that the above 4-7 are primarily used to create the IoT edge computing platform 204 in the server cluster for processing traffic data of the target type device. Specifically, the cluster management unit needs to acquire the target image from the image repository 104 first, and then generates a first creation message. The first create message is then sent to the dispatcher 202 of the server cluster and instructs the dispatcher 202 to create N containers. Accordingly, the dispatcher receives the first creation message, and completes creation and deployment of the N containers, i.e., the IoT edge computing platform, in the server cluster.
The first creation message carries the target image (i.e., an image file), and the target image is used to construct the N containers.
Optionally, based on the container management unit in the target image, after the N containers are created, the N containers may automatically discover a group of constituent containers, that is, the IoT edge computing platform. For the IoT edge computing platform and the container management unit, reference may be made to the related explanations in the foregoing embodiments, and details are not repeated here.
8. The IoT edge computing platform 204 may elect a master container from the N containers. Specifically, the main container may be any one of the N containers, or may be a user-defined container or a system-defined container. For example, container 1 is selected as the main container in the illustration.
9-10, optionally, the master container sends a first registration message (which may be specifically a registration message) to the cluster management unit 108 of the IoT platform to register the server cluster into the IoT platform. Accordingly, the cluster management unit 108 may return a first response message, where the first response message carries the address of the access service instance, so that the IoT device accesses the access service instance corresponding to the address.
Wherein the first registration message may carry any one or a combination of more than one of: an identification of the primary container, an identification of the IoT edge computing platform, and an identification of the server cluster. The first response message is used for indicating that the IoT platform successfully registers the server cluster, and the first registration message is recorded in the IoT platform. The cluster management unit 108 may specifically return the first response message to the primary container, and then notify the address of the access service instance 206 through the primary container. The address of the access service instance refers to a virtual address, which may be an Internet Protocol (IP) address, and the like, and is not described in detail in this application.
11. The master container sends the relevant information of the IoT edge computing platform 204 to the access service instance 206 to update the corresponding routing information in the access service instance.
Wherein the relevant information may include, but is not limited to, an identity of the IoT edge computing platform, addresses (specifically, virtual addresses such as IP) of N containers in the IoT edge computing platform, an address of the access service instance, and the like. The routing information is associated with the relevant information, and is used for the access service instance to access the corresponding IoT device to the server cluster according to the routing information, or is used for routing the service data reported by the IoT device to a relevant container in the IoT edge computing platform for processing.
12. Optionally, the cluster management unit 208 may also perform configuration and management operations on the IoT edge computing platform through the primary container. For example, each container in the IoT edge computing platform is configured with parameters through the master container, and related containers in the IoT edge computing platform may also be managed with plug-ins through the master container, such as deletion, version update, and the like, which is not described in detail herein.
Next, based on the framework diagram of the IoT platform shown in fig. 3A, taking the embodiment of fig. 2B as an example, the following details the collaboration relationship between the components in the IoT platform in the embodiment of registering IoT devices in the IoT platform, please refer to fig. 5.
S11, the first device sends the device description information (specifically, a profile file) of the first device to the connection management unit 106 of the IoT platform. Accordingly, the connection management platform 106 receives device description information for the first device.
Specifically, when a manufacturer device newly issues an IoT device, it needs to upload device description information of the device to a connection management unit of an IoT platform. That is, the first device may be an IoT device that belongs to a certain target type.
It should be understood that one device correspondence has one device description information and different kinds of device correspondences may have different device description information, for example, all hua-yan 7 handsets have one device description information. For the device description information, reference may be made to the foregoing embodiments, which are not described herein again.
S12, the connection management unit 106 may notify the mirror repository 104 after receiving the device description information of the first device. Accordingly, the mirror repository 104 may determine, according to the device description information of the first device, an identity of an IoT edge computing platform corresponding to the device description information, and send an association relationship between the device description information and the identity of the IoT edge computing platform to the connection management platform.
Specifically, the connection management unit 106 may notify the mirror repository of new device description information when it is received. Accordingly, the mirror repository classifies the device description information into the corresponding IoT edge computing platform, that is, into the mirror (or template) corresponding to the IoT edge computing platform to be created. Further, the association/mapping relationship between the device description information and the identity of the IoT edge computing platform is notified into the connection management unit 106.
S13, the second device sends a binding message (specifically, a registration message) to the connection management unit 106, where the binding message carries the identity of the IoT device, and is used to request to bind or register the IoT device to the IoT platform. Accordingly, the connection management unit 106 receives the binding message. For the identity, reference may be made to the related explanations in the foregoing embodiments, and details are not described here.
In this application, the second device may be an IoT device, or may also refer to a device, such as a mobile phone or the like, which has a specific application APP, so as to register the IoT device on the IoT platform through the application. Here, the IoT device to be registered is of the same type as the first device. Optionally, the first device and the second device may be the same device or different devices, and the present application is not limited thereto.
S14, the connection management unit 106 returns a response message to the second device, where the response message carries the identity of the IoT device. Accordingly, the second device receives the response message and obtains an identification of the IoT device.
Specifically, after receiving the binding message, the connection management unit may determine the device description information of the IoT device according to the identity of the IoT device, allocate the identity of the IoT device to the IoT device, and then send the identity information of the IoT device to the second device through a response message. Optionally, the response message may further include other information, for example, a security key negotiated between the IoT device and the IoT platform, and the details are not described in this application.
S15, optionally, the second device may send a notification message to the connection management unit 106, the notification message being used to notify of successful receipt of the identity of the IoT device. Accordingly, the connection management unit receives the notification message.
Optionally, the notification message further carries setting information about the IoT device, for example, description information, device attributes, and other information about the IoT device set by an application, which is not described in detail herein.
S16, after the connection management unit 106 receives the notification message, the device description information, the identity of the IoT device, and the identity of the IoT edge computing platform may be bound and associated. Further, the association relationship between them is saved.
Next, based on the foregoing embodiments, as shown in the network framework schematic diagrams shown in fig. 3A and fig. 3B, the following describes in detail the collaboration relationship between each component in the IoT platform 100 and each component in the server cluster 200 in the embodiment of the present application by taking the embodiment of fig. 2A as an example, please refer to fig. 6.
S21, the IoT device accesses the access service instance 208 of the server cluster through the pre-planned DNS in the near vicinity. Specifically, the IoT device accesses the access service instance of the server cluster according to the domain name address and the current location.
S22, the access service instance 208 sends a first message to the connection management unit 106 of the IoT platform, where the first message carries the identity of the IoT device. Accordingly, the connection management unit 106 receives the first message.
Specifically, the first message may be an online message of an IoT device. The IoT device accesses the access service instance 208 based on the current location of the area. The first message is then forwarded to the connection management unit via the access service instance to authenticate the identity of the IoT device in the IoT platform.
S23, the connection management unit 106 returns a second message to the access service instance 208, where the second message is used to indicate that the IoT device authentication succeeds or fails.
When the second message is used for indicating that the IoT device fails to authenticate, the second message may be forwarded to the IoT device to notify the IoT device that the IoT device fails to authenticate, and the procedure is ended. When the second message is used for indicating that the IoT device authentication is successful, the second message carries the identity of the IoT edge computing platform associated with the identity of the IoT device. Optionally, the second message may also carry other information, such as a certificate that is successfully authenticated, and the like, which is not limited and described in detail in this application. Optionally, the access service instance 208 may record the second message.
S24-S25, further, the access service instance 208 may return an authentication result to the IoT device, e.g., forward the second message to the IoT device. Meanwhile, the access service instance may find the IoT edge computing platform from the server cluster according to the identity of the IoT edge computing platform. Further, the access service instance 208 may also send a device access message to the IoT edge computing platform 204 to notify the IoT device of access to the IoT edge computing platform. Accordingly, the IoT edge computing platform receives the device access message and selects a target container from the N containers in the IoT edge computing platform to process the service data of the IoT device using the target container.
Specifically, the IoT edge computing platform may select a container with the smallest load from the N containers according to a load balancing policy, and use the selected container as the target container to process the service data reported by the IoT device by using the target container subsequently. For example, container 2 in the illustration is selected as the target container. Optionally, device information of the IoT device may also be recorded in the target container. The device information includes, but is not limited to, an identifier of the IoT device, a device type, a device model, and the like, and is not described in detail herein.
S26, optionally, the IoT edge computing platform 204 sends a second registration message to the connection management unit 106 through a target container to record the second registration message in the connection management unit 106. Wherein the second registration message carries any one or a combination of more of the following information: an identity of the IoT device, an identity of the target container, an identity of the IoT edge computing platform, and an identity of the server cluster.
Optionally, when the second registration message carries the identity of the IoT device, the identity of the target container, the identity of the IoT edge computing platform, and the identity of the server cluster, the second registration message may be used to indicate a communication link between the IoT device and the IoT platform.
S27, optionally, the IoT device may report data, such as service data of the IoT device, according to the communication link. Correspondingly, when the target container receives the service data of the IoT device, the service data is further processed.
Next, based on the foregoing embodiments, as shown in the network framework schematic diagrams shown in fig. 3A and fig. 3B, the following describes in detail the cooperation relationship between each component in the IoT platform 100 and each component in the server cluster 200 in this embodiment by taking the embodiment of fig. 2D as an example, please refer to fig. 7.
S31-S32, the IoT edge computing platform 204 in the server cluster may count the total amount of load of the IoT edge computing platform. Further, the IoT edge computing platform may send a load notification message to the cluster management unit 108, where the load notification message carries a total amount of load of the IoT edge computing platform for determining the backup cluster for the server cluster. Accordingly, the cluster management unit 108 receives the load notification message.
Specifically, the IoT edge computing platform 204 may periodically or in real time count the total load of the IoT edge computing platform. The total load amount here may be a total amount of traffic data carried by each of the N containers in the IoT edge computing platform, or a total amount of IoT devices that each carry traffic data required to be processed. For example, each container inside the IoT edge computing platform may send respective load amounts to the primary container at regular time, and the total load amount of the IoT edge computing platform is summarized and counted by the primary container. Then, a load notification message is sent to a cluster management module of the IoT platform through the main container to notify the total load amount of the IoT edge computing platform in the service cluster.
Optionally, other server clusters may also report the total load of the IoT edge computing platform in each cluster to the cluster management module in a timed or real-time manner.
S33-S34, the cluster management unit 108 determines a backup cluster 300 for the server cluster based on the total amount of load. Further, a backup notification message is sent to the IoT edge computing platform 204, where the backup notification message carries the identifier of the backup cluster.
Specifically, the cluster management unit 108 may select a backup cluster according to the location of the area where the server cluster is located and the received total load amount of the IoT edge computing platform, so that when the load of the IoT edge computing platform under the server cluster is overloaded, the IoT edge computing platform deployed in the backup cluster is used to process the traffic data of the IoT device. Preferably, a position interval between the respective area positions of the backup cluster and the server cluster is within a preset range, or a distance interval is smaller than a preset distance threshold, and the like, which is not limited in the present application. Optionally, the cluster management unit may further update a pre-stored backup cluster. Reference may be made in detail to the related explanations of the foregoing embodiments, which are not described in detail herein.
Accordingly, after determining the backup cluster, a backup notification message may be sent to a primary container to record the backup cluster in the primary container.
S35-37, optionally, after the IoT device is successfully authenticated, the IoT device may record the device information of the IoT device in the target container of the IoT edge computing platform 204, so as to process the service data of the IoT device in the target container. If it is determined that the load amount of the target container is greater than or equal to the first threshold, a backup cluster may be obtained from the main container to process the service data of the IoT device in the backup cluster.
Specifically, referring to the foregoing fig. 2A or fig. 6 embodiment, after the IoT platform successfully authenticates the IoT device, a container with the minimum load may be selected from the IoT edge computing platform in the server cluster as a target container to process the service data of the IoT device. If the load amount of the target container is greater than or equal to a first threshold, it indicates that the traffic load amount in the server cluster is large, and no resource is currently used for processing the traffic data of the IoT device. Accordingly, the IoT edge computing platform may obtain the identification of the previously recorded backup cluster from the primary container. Wherein the IoT edge computing platform is deployed in both the server cluster and the backup cluster to process traffic data of devices belonging to the same type as the IoT device. It should be understood that the backup cluster and the server cluster have the same network framework, which is described in detail with reference to the foregoing implementation and will not be described in detail here.
38. Optionally, in a case that the IoT edge computing platform 204 determines that the load amount of the target container is greater than or equal to the first threshold, an overload notification message may be sent to the cluster management unit 108 through the main container. Wherein the overload notification message is used to notify the IoT edge computing platform 204 that traffic is overloaded, and optionally may also prompt whether a container needs to be newly created in the IoT edge computing platform 204 for processing the IoT device's traffic data.
Accordingly, the cluster management unit 108, upon receiving the overload notification message, may prompt an administrator if a new container needs to be created in the IoT edge computing platform 204. If a user's container creation confirmation instruction is received, a second creation message is sent to the IoT edge computing platform 204 through the master container to indicate that a container is newly created in the IoT edge computing platform 204. Optionally, the second creation message may carry information such as the number of new containers, an identifier of the IoT edge computing platform, and the like. Further, the IoT edge computing platform 204 receives the second create message and adds a container for subsequent processing of traffic data that belongs to the same type of device as the IoT device.
S39, the primary container in the IoT edge computing platform 204 sends a third message to the access service instance 306 in the backup cluster 300 through the access server instance 206, the third message notifying that the IoT edge computing platform is utilized to process the IoT device' S traffic data in the backup cluster. Accordingly, the access service instance 306 receives the third message.
Wherein the third message may carry an identification of the IoT edge computing platform and an identification of the IoT device. Optionally, the third message may also carry other information, such as a certificate of successful authentication of the IoT device, and the like.
S40, optionally, the access service instance 306 may send device access information to the IoT edge computing platform 304 in the backup cluster 300 to inform the IoT devices to access the IoT edge computing platform 304. Accordingly, the IoT edge computing platform receives the device access message and selects a target container from the N containers in the IoT edge computing platform to process the service data of the IoT device using the target container.
Specifically, after receiving the third message, the access service instance 306 learns the identity of the IoT edge computing platform through parsing. Then, the identity is used to find out the IoT edge computing platform corresponding to the identity from the backup cluster. Further, a device access message is sent to the IoT edge computing platform. For the description of the device access message and the target container, reference may be made to the foregoing embodiment in fig. 6, which is not described herein again.
S41, optionally, the target container of the IoT edge computing platform 304 sends a corresponding registration message, such as third registration information, to the connection management unit 106 to record the third registration message in the connection management unit 106. The third registration message carries information such as the identity of the IoT device, the identity of the target container, the identity of the IoT edge computing platform, and the identity of the backup cluster, so as to indicate a communication link between the IoT device and the IoT platform, and the subsequent IoT device may report service data to the target container in the IoT edge computing platform 304 according to the communication link for processing.
For the steps S30-S41 in the present application, reference may be made to the related descriptions in the steps S24-27 in the embodiment of fig. 6, which are not described herein again.
By implementing the embodiment of the invention, different IoT edge computing platforms can be provided for processing the service data of different types of equipment, and the IoT edge computing platforms are deployed in a container mode, so that the problems of plug-in incompatibility, low safety performance, performance conflict and the like in the prior art are solved, and the safety and the reliability of service processing are improved.
The above description mainly introduces the solution provided by the embodiments of the present invention from the mutual perspective of the IoT platform and the server cluster (or IoT edge computing platform). In practical applications, the IoT platform and the IoT edge computing platform may be deployed in a network device (e.g., a server), and the server cluster may specifically include one or more servers (i.e., a server cluster). It is understood that the network device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above functions. The elements and algorithm steps of each example described in connection with the embodiments disclosed herein may be embodied as hardware or in a combination of hardware and computer software. Whether a function is performed in hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present teachings.
The embodiment of the present invention may perform functional unit division on the network device according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In the case of an integrated unit, fig. 8A shows a schematic diagram of a possible structure of the network device involved in the above-described embodiment. The network device 700 includes: a processing unit 702 and a communication unit 703. The processing unit 702 is configured to control and manage actions of the network device 700.
In one possible embodiment, processing unit 702 is used to support network device 700 in performing steps S203 and S208 in fig. 2A, step S106 in fig. 2C, and/or in performing other steps of the techniques described herein. The communication unit 703 is used to support communication between the network device 700 and other devices, e.g., the communication unit 703 is used to support the network device 700 to perform steps S201, S204, S205, and S209 in fig. 2A, step S107 in fig. 2C, and/or to perform other steps of the techniques described herein.
In yet another possible embodiment, processing unit 702 is configured to support network device 700 to perform step S206 in fig. 2A, steps S102 and S103 in fig. 2B, step S104 in fig. 2C, and/or to perform other steps of the techniques described herein. The communication unit 703 is used to support communication between the network device 700 and other devices, e.g., the communication unit 703 is used to support the network device 700 to perform steps S202, S207, and S209 in fig. 2A, step S101 in fig. 2B, steps S105 and S108 in fig. 2C, and/or to perform other steps of the techniques described herein.
The network device 700 may also include a storage unit 701 for storing program codes and data of the network device 700.
The Processing Unit 702 may be a Processor or a controller, such as a Central Processing Unit (CPU), a general-purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or other Programmable logic devices, transistor logic devices, hardware components, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others. The communication unit 703 may be a communication interface, a transceiver circuit, etc., wherein the communication interface is a generic term and may include one or more interfaces, such as an interface between a network device and other devices. The memory unit 701 may be a memory.
When the processing unit 702 is a processor, the communication unit 703 is a communication interface, and the storage unit 701 is a memory, the network device according to the embodiment of the present invention may be the network device shown in fig. 8B.
Referring to fig. 8B, the network device 710 includes: a processor 712, a communication interface 713, and a memory 77. Optionally, network device 710 may also include a bus 714. Wherein the communication interface 713, the processor 712 and the memory 77 may be connected to each other by a bus 714; the bus 714 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus 714 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 8B, but this is not intended to represent only one bus or type of bus.
The specific implementation of the network device shown in fig. 8A or fig. 8B may also refer to the corresponding description of the foregoing method embodiment, and details are not repeated here.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware or in software executed by a processor. The software instructions may be comprised of corresponding software modules that may be stored in a Random Access Memory (RAM), a flash Memory, a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a register, a hard disk, a removable hard disk, a compact disc Read Only Memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC. Additionally, the ASIC may reside in a network device. Of course, the processor and the storage medium may reside as discrete components in a network device.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. And the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.

Claims (27)

1. A device access method, the method comprising:
the IoT platform acquires the identification of the IoT equipment;
the IoT platform determining a target IoT edge computing platform from the identity of the IoT device;
the IoT platform sends a first message to a server cluster, wherein the first message carries the identification of the target IoT edge computing platform; wherein,
a plurality of IoT edge computing platforms are deployed on the server cluster, and each of the IoT edge computing platforms is used for processing service data of a type of IoT equipment;
the target IoT edge computing platform is one of the plurality of IoT edge computing platforms for processing traffic data for devices of the same type as the IoT device.
2. The method of claim 1, wherein the IoT platform obtains an identity of an IoT device, comprising:
the IoT platform receives a second message sent by the server cluster, wherein the second message carries the identification of the IoT equipment.
3. The method of claim 2, wherein the second message is used to request the IoT platform to authenticate the IoT device; the first message is used for indicating that the IoT platform successfully authenticates the IoT equipment.
4. The method of claim 2 or 3, wherein prior to the IoT platform receiving the second message sent by the server cluster, the method further comprises:
the IoT platform receives a binding message sent by the IoT equipment, wherein the binding message carries the identity of the IoT equipment;
the IoT platform determines the device description information of the IoT device according to the identity and allocates the identity of the IoT device to the IoT device;
the IoT platform creates and maintains an association between the identity of the IoT device and the identity of the IoT edge computing platform.
5. The method of claim 4,
the IoT platform determining a target IoT edge computing platform from the identity of the IoT device, comprising:
the IoT platform determines the target IoT edge computing platform from the identity of the IoT device and the association.
6. The method of any of claims 1-5, wherein the target IoT edge computing platform comprises N containers, wherein the N containers are created based on a same target image, wherein the target image comprises at least one plug-in supporting hot-load deployment to process traffic data of devices of a same type as the IoT device, and wherein N is a positive integer.
7. The method of claim 6, further comprising:
the IoT platform sends a creation message to the server cluster, wherein the creation message is used for indicating that the target IoT edge computing platform is created in the server cluster, and the creation message carries the target image.
8. The method according to any one of claims 1-7, further comprising:
the IoT platform receives a load notification message sent by the server cluster, wherein the load notification message carries the total load of the target IoT edge computing platform;
the IoT platform determines a backup cluster of the server cluster according to the total load of the target IoT edge computing platform, wherein the backup cluster is deployed with the target IoT edge computing platform so as to process the service data of the IoT device by using the target IoT edge computing platform in the backup cluster under the condition that the service of the server cluster is overloaded.
9. The method of claim 8, further comprising:
and the IoT platform sends a backup notification message to the server cluster, wherein the backup notification message carries the identifier of the backup cluster.
10. A device access method, the method comprising:
the server cluster receives a first message sent by an IoT platform, wherein the first message carries an identifier of a target IoT edge computing platform associated with an identifier of an IoT device; wherein,
a plurality of IoT edge computing platforms are deployed on the server cluster, and each of the IoT edge computing platforms is used for processing service data of a type of IoT equipment; the target IoT edge computing platform is one of the plurality of IoT edge computing platforms for processing traffic data for devices of the same type as the IoT device.
11. The method of claim 10, wherein the plurality of IoT edge computing platforms are created according to business impact factors, wherein different IoT edge computing platforms correspondingly process business data of different types of devices, and wherein the business impact factors comprise at least one of: the type of service, the industry the service is in, and the domain the service is in.
12. The method of claim 10 or 11, wherein before the server cluster receives the first message sent by the IoT platform, the method further comprises:
the server cluster sends a second message to the IoT platform, wherein the second message carries the identification of the IoT equipment.
13. The method of any of claims 10-12, wherein the second message is used to request the IoT platform to authenticate the IoT device; the first message is used for indicating that the IoT platform successfully authenticates the IoT equipment.
14. The method of any of claims 10-13, wherein the target IoT edge computing platform comprises N containers, wherein the N containers are created based on a same target image, wherein the target image comprises at least one plug-in supporting hot-load deployment for processing traffic data of devices of a same type as the IoT device, and wherein N is a positive integer.
15. The method of any of claims 10-14, wherein the target IoT edge computing platform includes a distinct component deployed in a plug-in manner and the target IoT edge computing platform shares the same underlying component; wherein the distinguishing component is an application program which is different from the base component and processes device traffic data belonging to the same type as the IoT device.
16. The method of claim 14, wherein any two containers in the target IoT edge computing platform support data sharing and data backup.
17. The method of claim 14, further comprising:
the server cluster selects a target container from the N containers by utilizing a balanced load strategy, and the target container is used for processing the service data of the IoT equipment in the target container.
18. The method of claim 17, further comprising:
the server cluster determines a backup service cluster under the condition that the load capacity of the target container is greater than or equal to a first threshold value; wherein the server cluster stores an identifier of the backup cluster, and the target IoT edge computing platform is deployed in the backup cluster;
the server cluster sends a third message to the backup cluster, where the third message carries the identity of the target IoT edge computing platform and the identity of the IoT device to indicate that the IoT device traffic data is processed with the target IoT edge computing platform in the backup cluster.
19. A device access system comprising a cluster of servers and an IoT platform,
the server cluster is used for receiving a first message sent by the IoT platform, wherein the first message carries an identifier of a target IoT edge computing platform associated with an identifier of an IoT device; a plurality of IoT edge computing platforms are deployed on the server cluster, and each of the IoT edge computing platforms is used for processing service data of a type of IoT equipment; the target IoT edge computing platform is one of the plurality of IoT edge computing platforms for processing traffic data for devices of the same type as the IoT device.
The IoT platform is used for acquiring the identification of the IoT equipment, determining the target IoT edge computing platform according to the identification of the IoT equipment, and sending the first message to the server cluster.
20. The system of claim 19,
the server cluster is further used for sending a second message to the IoT platform, wherein the second message carries an identification of an IoT device;
the IoT platform is further used for receiving the second message and acquiring the identity of the IoT equipment according to the second message.
21. System according to claim 19 or 20, characterized in that
The IoT platform is further configured to receive a binding message sent by the IoT device, where the binding message carries an identity of the IoT device, determine device description information of the IoT device according to the identity, allocate the identity of the IoT device to the IoT device, and create and store an association relationship between the identity of the IoT device and the identity of the IoT edge computing platform.
22. The system as in any of claims 19-21, wherein the target IoT edge computing platform comprises N containers, wherein the N containers are created based on a same target image, wherein the target image comprises at least one plug-in supporting hot-load deployment to process traffic data of devices of a same type as the IoT device, wherein N is a positive integer.
23. The system according to any one of claims 19-22,
the IoT platform is further configured to send a create message to the server cluster, the create message being used to instruct to create the target IoT edge computing platform in the server cluster, the create message carrying the target image;
the server cluster is further to create the target IoT edge computing platform from the target image.
24. An IoT platform, wherein the IoT platform comprises a plurality of functional modules that interact to implement the method recited in any of claims 1-9.
25. A server cluster, characterized in that the server cluster comprises a plurality of functional modules that interact to implement the method of any of claims 10-18.
26. A network device comprising a memory, a communication interface, and a processor coupled to the memory and the communication interface; the memory is configured to store instructions, the processor is configured to execute the instructions, and the communication interface is configured to communicate with other network devices under control of the processor; wherein the processor, when executing the instructions, performs the method of any of claims 1-18 above.
27. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 18.
CN202111614751.9A 2018-02-13 2018-02-13 Device access method, related platform and computer storage medium Pending CN114448673A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111614751.9A CN114448673A (en) 2018-02-13 2018-02-13 Device access method, related platform and computer storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111614751.9A CN114448673A (en) 2018-02-13 2018-02-13 Device access method, related platform and computer storage medium
CN201810149315.0A CN110166409B (en) 2018-02-13 2018-02-13 Device access method, related platform and computer storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201810149315.0A Division CN110166409B (en) 2018-02-13 2018-02-13 Device access method, related platform and computer storage medium

Publications (1)

Publication Number Publication Date
CN114448673A true CN114448673A (en) 2022-05-06

Family

ID=67618954

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810149315.0A Active CN110166409B (en) 2018-02-13 2018-02-13 Device access method, related platform and computer storage medium
CN202111614751.9A Pending CN114448673A (en) 2018-02-13 2018-02-13 Device access method, related platform and computer storage medium

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201810149315.0A Active CN110166409B (en) 2018-02-13 2018-02-13 Device access method, related platform and computer storage medium

Country Status (2)

Country Link
CN (2) CN110166409B (en)
WO (1) WO2019157955A1 (en)

Families Citing this family (45)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9225638B2 (en) 2013-05-09 2015-12-29 Vmware, Inc. Method and system for service switching using service tags
US11296930B2 (en) 2014-09-30 2022-04-05 Nicira, Inc. Tunnel-enabled elastic service model
US9935827B2 (en) 2014-09-30 2018-04-03 Nicira, Inc. Method and apparatus for distributing load among a plurality of service nodes
US10135737B2 (en) 2014-09-30 2018-11-20 Nicira, Inc. Distributed load balancing systems
US10609091B2 (en) 2015-04-03 2020-03-31 Nicira, Inc. Method, apparatus, and system for implementing a content switch
US10805181B2 (en) 2017-10-29 2020-10-13 Nicira, Inc. Service operation chaining
US10805192B2 (en) 2018-03-27 2020-10-13 Nicira, Inc. Detecting failure of layer 2 service using broadcast messages
US11595250B2 (en) 2018-09-02 2023-02-28 Vmware, Inc. Service insertion at logical network gateway
US11042397B2 (en) 2019-02-22 2021-06-22 Vmware, Inc. Providing services with guest VM mobility
CN110650132A (en) * 2019-09-18 2020-01-03 南方电网数字电网研究院有限公司 Access method and device of edge computing node, computer equipment and storage medium
CN112532758B (en) 2019-09-19 2023-04-18 贵州白山云科技股份有限公司 Method, device and medium for establishing network edge computing system
CN110958299A (en) * 2019-10-30 2020-04-03 浙江省北大信息技术高等研究院 Edge computing processing platform integrating multi-group network protocol multi-edge computing framework
US11140218B2 (en) 2019-10-30 2021-10-05 Vmware, Inc. Distributed service chain across multiple clouds
CN112953986B (en) * 2019-12-10 2024-03-12 华为云计算技术有限公司 Edge application management method and device
CN112950447B (en) * 2019-12-10 2023-04-28 浙江宇视科技有限公司 Resource scheduling method, device, server and storage medium
CN112988321B (en) * 2019-12-13 2024-08-02 北京金山云网络技术有限公司 Container mirror image data management method and device, electronic equipment and storage medium
CN111182074B (en) * 2019-12-31 2023-02-21 南京创维信息技术研究院有限公司 Intelligent equipment terminal with edge computing capability and computer readable storage medium
US11659061B2 (en) 2020-01-20 2023-05-23 Vmware, Inc. Method of adjusting service function chains to improve network performance
CN113391872A (en) * 2020-03-11 2021-09-14 北京金山云网络技术有限公司 Task processing method and device, electronic equipment and storage medium
CN111464607B (en) * 2020-03-27 2023-04-07 中移雄安信息通信科技有限公司 Data backup method, device, equipment and medium
US11212356B2 (en) 2020-04-06 2021-12-28 Vmware, Inc. Providing services at the edge of a network using selected virtual tunnel interfaces
US11652891B2 (en) 2020-04-22 2023-05-16 At&T Mobility Ii Llc Dynamic and optimal selection of Internet of things (IoT) hubs in cellular networks
CN111600749B (en) * 2020-04-29 2023-01-24 厦门市美亚柏科信息股份有限公司 Method and system for managing multiple servers and computer storage medium
CN111625354B (en) * 2020-05-19 2023-09-19 南京乐贤智能科技有限公司 Edge computing equipment calculation force arranging method and related equipment thereof
CN111866098B (en) * 2020-07-03 2024-04-26 北京小米松果电子有限公司 Log processing method, device and storage medium
CN111885122B (en) * 2020-07-03 2022-11-29 中移(杭州)信息技术有限公司 Remote pushing method, system, server and computer readable storage medium
CN111835773B (en) * 2020-07-15 2022-04-08 中国电子技术标准化研究院 User identity authentication system based on edge calculation
CN114117394A (en) * 2020-08-27 2022-03-01 中移物联网有限公司 Configuration method, cloud platform and target device
CN112583910B (en) * 2020-12-07 2022-11-22 深圳市信锐网科技术有限公司 Equipment access method and device of Internet of things platform, electronic equipment and storage medium
US11734043B2 (en) 2020-12-15 2023-08-22 Vmware, Inc. Providing stateful services in a scalable manner for machines executing on host computers
US11611625B2 (en) * 2020-12-15 2023-03-21 Vmware, Inc. Providing stateful services in a scalable manner for machines executing on host computers
CN112596914B (en) * 2020-12-29 2024-03-15 贵州大学 IoT-oriented edge node system architecture, working method thereof and computing migration method
CN112732440A (en) * 2021-01-07 2021-04-30 中国铁塔股份有限公司 Resource allocation method and device, cloud platform server and edge node equipment
CN113472845B (en) * 2021-05-27 2023-05-09 四川大学华西医院 Medical internet of things intelligent system based on container technology
WO2022271399A1 (en) * 2021-06-25 2022-12-29 Microsoft Technology Licensing, Llc Industry edge services
US11683367B2 (en) 2021-06-25 2023-06-20 Microsoft Technology Licensing, Llc Industry edge services
CN113504956B (en) * 2021-07-19 2023-08-11 苏州浪潮智能科技有限公司 Method, device, equipment and medium for calling public function under micro service platform
CN113703784A (en) * 2021-08-25 2021-11-26 上海哔哩哔哩科技有限公司 Data processing method and device based on container arrangement
CN113687947A (en) * 2021-08-25 2021-11-23 京东方科技集团股份有限公司 Edge box optimization method and device, storage medium and electronic equipment
CN113726579A (en) * 2021-09-02 2021-11-30 国网信息通信产业集团有限公司 Method and device for realizing power Internet of things communication protocol plug-in
CN113918232B (en) * 2021-09-07 2024-05-03 深圳云天励飞技术股份有限公司 Algorithm service calling method, device, server and storage medium
CN114285666B (en) * 2021-12-30 2024-07-16 天翼物联科技有限公司 Three-side collaboration method and system for Internet of things multimedia application
CN114827276B (en) * 2022-04-22 2023-10-24 网宿科技股份有限公司 Data processing method and device based on edge calculation and readable storage medium
CN116389233B (en) * 2023-02-28 2024-05-28 港珠澳大桥管理局 Container cloud management platform active-standby switching system, method and device and computer equipment
CN118018549B (en) * 2024-02-06 2024-10-18 中科云谷科技有限公司 Method, processor, device and system for constructing cross-regional service system

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179027B (en) * 2011-12-22 2016-09-28 中兴通讯股份有限公司 A kind of realize the compatible method and system of electric equipment, Universal peripheral accesses gateway
EP3025524A2 (en) * 2013-07-25 2016-06-01 Convida Wireless, LLC Service layer southbound interface and quality of service
CN103617084B (en) * 2013-11-13 2017-04-26 国家电网公司 Emergency command cloud service implementation method and system based on microkernel cluster
CN105530293B (en) * 2015-12-02 2019-07-02 深信服科技股份有限公司 Using dissemination method and device
WO2017100640A1 (en) * 2015-12-11 2017-06-15 Interdigital Patent Holdings, Inc. Method and apparatus for enabling third party edge clouds at the mobile edge
US9992187B2 (en) * 2015-12-21 2018-06-05 Cisco Technology, Inc. Single sign-on authentication via browser for client application
CN106998345A (en) * 2016-01-26 2017-08-01 中兴通讯股份有限公司 The processing method of business network, apparatus and system
CN105763602B (en) * 2016-01-29 2017-12-01 腾讯科技(深圳)有限公司 A kind of method of data request processing, server and system
CN105955771A (en) * 2016-04-27 2016-09-21 浪潮集团有限公司 Method, device and system for realizing operating system
CN105975330B (en) * 2016-06-27 2019-06-18 华为技术有限公司 A kind of virtual network function dispositions method that network edge calculates, device and system
CN107135093B (en) * 2017-03-17 2020-05-05 西安电子科技大学 Internet of things intrusion detection method and detection system based on finite automaton
CN107493334B (en) * 2017-08-18 2020-09-15 西安电子科技大学 Method for enhancing reliability of cloud computing network architecture system

Also Published As

Publication number Publication date
CN110166409A (en) 2019-08-23
WO2019157955A1 (en) 2019-08-22
CN110166409B (en) 2021-12-28

Similar Documents

Publication Publication Date Title
CN110166409B (en) Device access method, related platform and computer storage medium
CN108024270B (en) Information sending method, unit and system
US12022381B2 (en) Method and device for managing identifier of UE in edge computing service
CN109560948B (en) Network slice deployment method and related equipment
CN115442423A (en) Method for discovering services provided by a network repository function
US11989543B2 (en) Method for interoperating between bundle download process and eSIM profile download process by SSP terminal
CN109688186B (en) Data interaction method, device, equipment and readable storage medium
CN110383896A (en) Method for network access, terminal, access net and core net
CN107404512B (en) Resource subscription method, resource subscription device and resource subscription system
CN109842895B (en) Network reliability configuration method, information transmission method, device and system
CN110476444B (en) Network entity and method for identifier allocation and/or identifier mapping for network services
EP3206422A1 (en) Method and device for creating subscription resource
CN111935757A (en) Communication method and device
CN109729122B (en) Method and device for determining Ethernet MAC address
US9374710B2 (en) Mediation server, control method therefor, communication device, control method therefor, communication system, and computer program
CN113141260B (en) Secure access method, system and equipment based on software-defined wide area network (SD-WAN)
CN111147468A (en) User access method, device, electronic equipment and storage medium
CN114221959A (en) Service sharing method, device and system
CN113810899A (en) eSIM device configuration system, method, apparatus and storage medium
CN116916297A (en) Data packet processing method and related product
CN108780391A (en) The method, apparatus and system of web services component access context data
CN113784419B (en) Information sending method, unit and system
US20140357264A1 (en) Method and Arrangement For Connectivity in a Communication Network
CN115396127A (en) Communication method, gateway device and communication system
CN115396895A (en) Service authorization method and device

Legal Events

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