CN113676495A - Device registration method, server, and storage medium - Google Patents
Device registration method, server, and storage medium Download PDFInfo
- Publication number
- CN113676495A CN113676495A CN202111223987.XA CN202111223987A CN113676495A CN 113676495 A CN113676495 A CN 113676495A CN 202111223987 A CN202111223987 A CN 202111223987A CN 113676495 A CN113676495 A CN 113676495A
- Authority
- CN
- China
- Prior art keywords
- registered
- authentication data
- message
- server
- equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a device registration method, a server and a storage medium, wherein the method comprises the following steps: receiving a multicast message sent by equipment to be registered; determining basic authentication data of the equipment to be registered according to the multicast message; and transmitting the basic authentication data to a virtual container in a transparent manner so that the equipment management application in the virtual container registers the equipment to be registered through the basic authentication data, thereby solving the problem of low registration efficiency caused by manually registering the equipment to be registered in the equipment management application in the virtual container and improving the registration efficiency of the equipment to be registered.
Description
Technical Field
The present invention relates to the field of device management technologies, and in particular, to a device registration method, a server, and a storage medium.
Background
With the increase of the devices to be registered, device management application is developed to carry out unified management on the devices, and when the devices to be registered need to be managed under the Linux/x86_64 Docker application environment, workers can manually register the devices to be registered in the device management application so as to realize the connection and use of the devices to be registered; however, the manual registration operation process of the staff is too cumbersome, which results in a reduction in the registration efficiency of the device to be registered.
Disclosure of Invention
The embodiment of the application aims to improve the registration efficiency of the equipment to be registered by providing an equipment registration method, a server and a storage medium.
The embodiment of the application provides a device registration method applied to a server, and the device registration method comprises the following steps:
receiving a multicast message sent by equipment to be registered;
determining basic authentication data of the equipment to be registered according to the multicast message;
and transmitting the basic authentication data to the virtual container so that the device management application in the virtual container can register the device to be registered through the basic authentication data.
In an embodiment, the step of receiving the multicast packet sent by the device to be registered includes:
carrying out information verification on the multicast message;
and when the verification is successful, executing the step of determining the basic authentication data of the equipment to be registered according to the multicast message.
In an embodiment, the step of checking the information of the multicast packet includes:
analyzing the multicast message to obtain protocol header data of the multicast message;
determining a message authentication code, manufacturer information and a check bit corresponding to the multicast message according to the protocol header data;
when the message authentication code, the manufacturer information and the check bit are respectively matched with preset message information, the check is successful;
and when any one of the message authentication code, the manufacturer information and the check bit is not matched with the preset message information, the check fails.
In an embodiment, the step of determining the basic authentication data of the device to be registered according to the multicast packet includes:
analyzing the multicast message, and determining the basic authentication data of the equipment to be registered according to an analysis result;
after the step of determining the basic authentication data of the device to be registered according to the multicast packet, the method further includes:
determining an ending character of the equipment to be registered according to the analysis result;
and when the ending symbol is matched with a preset ending symbol, the step of transmitting the basic authentication data to the virtual container is executed.
In an embodiment, the step of receiving the multicast packet of the device to be registered includes:
establishing a mapping relation between a port of the virtual container and a port of a server;
the step of transparently transferring the base authentication data to the virtual container comprises:
and acquiring the mapping relation, and transmitting the basic authentication data of the equipment to be registered to the virtual container according to the mapping relation.
The embodiment of the application provides a device registration method applied to a router, and the device registration method comprises the following steps:
receiving a registration request of a device to be registered, wherein the registration request of the device to be registered comprises a multicast message and a destination port number of the device to be registered;
determining a server with the same destination port number as the device to be registered;
and sending the multicast message of the equipment to be registered to the server.
In addition, to achieve the above object, the present invention also provides a server, including: a memory, a processor and a device registration program stored on the memory and executable on the processor, the device registration program when executed by the processor implementing the steps of the device registration method described above.
Further, to achieve the above object, the present invention also provides a storage medium having stored thereon a device registration program which, when executed by a processor, implements the steps of the above-described device registration method.
According to the technical scheme of the equipment registration method, the server and the storage medium, the server automatically acquires the multicast message sent by the equipment to be registered, analyzes the multicast message to obtain the basic authentication data, and sends the basic authentication data to the virtual container, so that the technical scheme of automatically registering the equipment to be registered is realized, the problem that the registration efficiency is reduced due to the fact that the basic authentication data of the equipment to be registered need to be manually acquired and then manually sent to the equipment management application in the virtual container for registration is solved, and the registration efficiency of the equipment to be registered is improved.
Drawings
FIG. 1 is a schematic diagram of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a first embodiment of a device registration method according to the present invention;
fig. 3 is a flowchart illustrating a third embodiment of a device registration method according to the present invention;
fig. 4 is a flowchart illustrating a fourth embodiment of a device registration method according to the present invention;
fig. 5 is a flowchart illustrating a sixth embodiment of a device registration method according to the present invention;
FIG. 6 is a block diagram illustrating a device registration method according to the present invention;
the objects, features, and advantages of the present invention will be further explained with reference to the accompanying drawings, which are an illustration of one embodiment, and not an entirety of the invention.
Detailed Description
For a better understanding of the above technical solutions, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a hardware operating environment according to an embodiment of the present invention.
It should be noted that fig. 1 is a schematic structural diagram of a hardware operating environment of the server.
As shown in fig. 1, the server may include: a processor 1001, such as a CPU, a memory 1005, a user interface 1003, a network interface 1004, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the server architecture shown in FIG. 1 is not meant to be limiting, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a device registration program. Among them, the operating system is a program that manages and controls server hardware and software resources, a device registration program, and the execution of other software or programs.
In the server shown in fig. 1, the user interface 1003 is mainly used for connecting a terminal and performing data communication with the terminal; the network interface 1004 is mainly used for the background server and performs data communication with the background server; the processor 1001 may be used to invoke a device registration procedure stored in the memory 1005.
In this embodiment, the server includes: a memory 1005, a processor 1001, and a device registration program stored on the memory and executable on the processor, wherein:
when the processor 1001 calls the device registration program stored in the memory 1005, the following operations are performed:
receiving a multicast message sent by equipment to be registered;
determining basic authentication data of the equipment to be registered according to the multicast message;
and transmitting the basic authentication data to the virtual container so that the device management application in the virtual container can register the device to be registered through the basic authentication data.
When the processor 1001 calls the device registration program stored in the memory 1005, the following operations are also performed:
carrying out information verification on the multicast message;
and when the verification is successful, executing the step of determining the basic authentication data of the equipment to be registered according to the multicast message.
When the processor 1001 calls the device registration program stored in the memory 1005, the following operations are also performed:
analyzing the multicast message to obtain protocol header data of the multicast message;
determining a message authentication code, manufacturer information and a check bit corresponding to the multicast message according to the protocol header data;
when the message authentication code, the manufacturer information and the check bit are respectively matched with preset message information, the check is successful;
and when any one of the message authentication code, the manufacturer information and the check bit is not matched with the preset message information, the check fails.
When the processor 1001 calls the device registration program stored in the memory 1005, the following operations are also performed:
analyzing the multicast message, and determining the basic authentication data of the equipment to be registered according to an analysis result;
after the step of determining the basic authentication data of the device to be registered according to the multicast packet, the method further includes:
determining an ending character of the equipment to be registered according to the analysis result;
and when the ending symbol is matched with a preset ending symbol, the step of transmitting the basic authentication data to the virtual container is executed.
When the processor 1001 calls the device registration program stored in the memory 1005, the following operations are also performed:
establishing a mapping relation between a port of the virtual container and a port of a server;
the step of transparently transferring the base authentication data to the virtual container comprises:
and acquiring the mapping relation, and transmitting the basic authentication data of the equipment to be registered to the virtual container according to the mapping relation.
While a logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in an order different than that shown or described herein.
As shown in fig. 2, in a first embodiment of the present application, a device registration method of the present application includes the following steps:
step S110, receiving a multicast message sent by a device to be registered;
step S120, determining the basic authentication data of the equipment to be registered according to the multicast message;
step S130, the basic authentication data is transmitted to the virtual container, so that the device management application in the virtual container registers the device to be registered through the basic authentication data.
In this embodiment, in order to solve the problem that registration efficiency is reduced due to manual registration of a device to be registered in a device management application in a virtual container, the application designs a device registration method, in which a virtual container is set in a server, a device management application is installed in the virtual container, the device management application supports installation and deployment in a Linux-based virtual container, and the device management application is used for performing unified management on a client; when a new client, namely a device to be registered, needs to be registered in a device management application, a server receives a multicast message sent by the device to be registered, verifies the multicast message sent by the device to be registered, and determines basic authentication data of the device to be registered according to the multicast message when verification is successful; sending the base authentication data to a virtual container; after the virtual container receives the basic authentication data, the device management application in the virtual container can register the device to be registered through the basic authentication data, so that the registration of the device to be registered is realized.
In this embodiment, the device to be registered of the present application may be a client device; the device to be registered can be one or a plurality of devices simultaneously, the server of the application can be one or a plurality of devices simultaneously, each server can be provided with at least one virtual container, and each virtual container can be provided with a device management application; the relationship between the device to be registered and the server may be one-to-one, many-to-one, or one-to-many, for example, one device to be registered may be simultaneously registered in the device management application in the virtual container of different servers.
In this embodiment, the device to be registered of the present application performs multicast packet transmission in the lan based on the UDP protocol, and multicast requires using a specific IP address network segment, for example: 224.0.1.75:5060, the router distributes the multicast message of the IP address network segment to the server in the LAN, if the server can monitor 5060 port, the server can receive the multicast message from the device to be registered; for example, there are servers Host B, server Host D, and server Host E that need to receive messages, and when a multicast mode is adopted, the servers are allowed to join the same multicast group, and the multicast source only needs to send one message to the multicast group, and the router in the network copies and forwards the message according to the distribution of each device to be registered in the multicast group, and finally sends the message to the corresponding server, so that the server receives the multicast message sent by the device to be registered.
In this embodiment, after receiving a multicast packet sent by a device to be registered, a server performs information verification on the multicast packet, where the purpose of the verification is to determine whether the device to be registered is a device that meets installation requirements, for example, whether the device to be registered is a device developed and produced by itself; after the verification is completed, determining basic authentication data of the equipment to be registered according to the multicast message, wherein the basic authentication data comprises network address information of the equipment to be registered, manufacturer information of the equipment to be registered, installation files of the equipment to be registered and other data; and analyzing the multicast message to obtain the basic authentication data of the equipment to be registered.
Specifically, the message format of the multicast message is a standard SIP protocol message, and the SIP message is a customized message; the multicast message comprises a protocol header and a data packet, the data packet comprises basic authentication data of the equipment to be registered, the protocol header comprises a message authentication code, manufacturer information of the equipment to be registered and a check bit, wherein the message authentication code is used for checking whether the content of the multicast message is changed in the message transmission process and can also be used for identity verification of a message source; the manufacturer information comprises at least one of a production place, a production number and a type of the equipment to be registered; the check bit is used for detecting the correctness of the multicast message.
In this embodiment, after obtaining the basic authentication data of the device to be registered, the server sends the basic authentication data to a virtual container; the port of the virtual container and the port of the server have a mapping relation, the virtual container forms the mapping relation between the port inside the virtual container and the port of the server by using a port mapping mode, so that the multicast message received by the port of the server is directly mapped into the virtual container, the basic authentication data of the multicast message is received inside the virtual container, and the device management application in the virtual container registers the device to be registered through the basic authentication data.
According to the technical scheme, the virtual container is arranged in the server, the equipment management application is installed in the virtual container, when the multicast message sent by the equipment to be registered is received, the basic authentication data of the equipment to be registered is determined according to the multicast message, and the basic authentication data is transmitted to the virtual container, so that the problem of low registration efficiency caused by manual registration of the equipment to be registered in the equipment management application in the virtual container is solved, and the registration efficiency of the equipment to be registered is improved.
Based on the first embodiment, in the second embodiment of the present application, after step S110, the device registration method includes the following steps:
step S210, carrying out information verification on the multicast message;
step S220, when the verification is successful, executing the step of determining the basic authentication data of the device to be registered according to the multicast packet.
In this embodiment, after receiving a multicast packet sent by a device to be registered, a server does not directly determine basic authentication data of the device to be registered according to the multicast packet, and transparently transmits the basic authentication data to a virtual container, but performs information verification on the multicast packet, and since the device to be registered is not necessarily a device developed by itself, the multicast packet of the device to be registered needs to be verified; and after the information verification is successful, determining the basic authentication data of the equipment to be registered according to the multicast message.
Specifically, the multicast message is subjected to information verification, and the purpose of the verification is to determine whether the device to be registered is a device meeting installation requirements, for example, whether the device to be registered is a device developed and produced by itself; after the verification is completed, determining basic authentication data of the equipment to be registered according to the multicast message, wherein the basic authentication data comprises network address information of the equipment to be registered, manufacturer information of the equipment to be registered, installation files of the equipment to be registered and other data; and when the verification is finished, determining the basic authentication data of the equipment to be registered according to the multicast message.
According to the technical scheme, the information of the multicast message is verified after the multicast message sent by the device to be registered is received, and when the verification is successful, the technical means of determining the basic authentication data of the device to be registered according to the multicast message is adopted, so that the multicast message of the device to be registered is verified, and the device which does not meet the requirement is prevented from being installed.
As shown in fig. 3, based on step S210 of the second embodiment, in a third embodiment of the present application, the device registration method of the present application includes the following steps:
step S211, analyzing the multicast message to obtain the protocol header data of the multicast message;
step S212, determining a message authentication code, manufacturer information and a check bit corresponding to the multicast message according to the protocol header data;
step S213, when the message authentication code, the manufacturer information and the check bit are respectively matched with preset message information, the check is successful;
step S214, when any one of the message authentication code, the manufacturer information and the check bit is not matched with the preset message information, the check fails.
In this embodiment, after receiving a multicast packet sent by a device to be registered, the multicast packet is checked; specifically, the preset message information includes a preset message authentication code, preset manufacturer information and a preset check bit; analyzing the multicast message to obtain protocol header data of the multicast message, wherein the protocol header message data comprises a message authentication code, manufacturer information and a check bit of the multicast message, namely determining the message authentication code, the manufacturer information and the check bit corresponding to the multicast message according to the protocol header data; respectively comparing the message authentication code with a preset message authentication code, comparing the manufacturer information with preset manufacturer information, and comparing the check bit with a preset check bit; when the message authentication code is successfully matched with a preset message authentication code, the manufacturer information is successfully matched with preset manufacturer information, and the check bit is successfully matched with a preset check bit, the verification is successful; for example, the device to be registered generates a first MAC data tag by running a MAC algorithm; sending the message and the first MAC data label to a server, and generating a second MAC data label by the server using the same key and running the transmitted message part through the same MAC algorithm in sequence; and the server compares a first MAC data label received in transmission with a second MAC data label, and if the first MAC data label is the same as the second MAC data label, the multicast message is not tampered in the transmission process.
In this embodiment, the message authentication code is compared with a preset message authentication code, the manufacturer information is compared with preset manufacturer information, and the check bit is compared with a preset check bit, respectively; when the comparison result of any one of the message authentication code and a preset message authentication code, the manufacturer information and preset manufacturer information, and the check bit and a preset check bit is not matched, indicating that the check is failed; for example, the device to be registered generates a first MAC data tag by running a MAC algorithm; sending the message and the first MAC data label to a server, and generating a second MAC data label by the server using the same key and running the transmitted message part through the same MAC algorithm in sequence; and the server compares a first MAC data label and a second MAC data label received in the transmission process, and if the first MAC data label is different from the second MAC data label, the multicast message is possibly tampered in the transmission process.
According to the technical scheme, the message verification code, the manufacturer information and the check bit of the protocol header of the multicast message are compared with the preset message information respectively, when all contents are matched, the verification is successful, and when any one content is not matched, the verification is failed, so that the multicast message is verified.
As shown in fig. 4, based on the first embodiment step S120, in a fourth embodiment of the present application, the device registration method of the present application includes the following steps:
step S121, analyzing the multicast message, and determining the basic authentication data of the equipment to be registered according to the analysis result;
step S310, determining an ending character of the equipment to be registered according to the analysis result;
step S320, when the end symbol matches a preset end symbol, performing the step of transparently transmitting the basic authentication data to the virtual container.
In the embodiment, after the verification is successful, the data packet of the multicast message is analyzed, and the basic authentication data of the device to be registered is obtained according to the analysis result; after the basic authentication data of the device to be registered is determined according to the multicast message, determining an end symbol of the device to be registered according to the analysis result, wherein the end symbol is used for judging whether the multicast message is received completely so as to determine whether the multicast message is perfect; after the multicast message is confirmed to be perfect, sending the multicast message to a virtual container; specifically, when the ending symbol is received, whether the multicast message is perfect or not can be determined; whether the ending symbol meets the requirement can be further verified, and the analyzed ending symbol can be matched with a preset ending symbol; and when the ending symbol is matched with a preset ending symbol, transmitting the basic authentication data of the equipment to be registered to the virtual container, so that the virtual container accurately receives the basic authentication data of the equipment to be registered.
According to the technical scheme, the basic authentication data and the end symbol of the device to be registered are obtained by analyzing the data packet of the multicast message, the end symbol is matched with the preset end symbol, and when the end symbol is matched with the preset end symbol, the basic authentication data of the device to be registered is transmitted to the virtual container, so that the virtual container accurately receives the basic authentication data of the device to be registered.
Based on the first embodiment, before step S110, in a fifth embodiment of the present application, a device registration method of the present application includes the following steps:
step S410, establishing a mapping relation between the port of the virtual container and the port of the server;
step S131, obtaining the mapping relation, and transmitting the basic authentication data of the device to be registered to the virtual container according to the mapping relation.
In this embodiment, before receiving a multicast packet of a device to be registered, a mapping relationship between a port of a virtual container and a port of a server is established; in the process of transmitting the basic authentication data to the virtual container, acquiring the mapping relation, and transmitting the basic authentication data of the equipment to be registered to the virtual container according to the mapping relation; specifically, a mapping relationship exists between a port of the virtual container and a port of the server, and the virtual container forms a mapping relationship between the port inside the virtual container and the port of the server by using a port mapping manner, so that the multicast message received by the port of the server is directly mapped inside the virtual container, thereby realizing that basic authentication data of the multicast message is received inside the virtual container, and realizing that the device management application in the virtual container registers the device to be registered through the basic authentication data.
According to the technical scheme, the mapping relation between the port of the virtual container and the port of the server is established, so that the effect of transmitting the basic authentication data of the equipment to be registered to the virtual container through the mapping relation is achieved.
As shown in fig. 5, in a sixth embodiment of the present application, a device registration method of the present application includes the following steps:
step S510, receiving a registration request of a device to be registered, wherein the registration request of the device to be registered comprises a multicast message and a destination port number of the device to be registered;
step S520, determining a server with the same destination port number as the device to be registered;
step S530, sending the multicast packet of the device to be registered to the server.
In this embodiment, on a router side, when the router receives a registration request of a device to be registered, the router determines a server having a destination port number corresponding to the device to be registered, and sends a multicast packet of the device to be registered to the server; specifically, the device to be registered of the present application performs multicast packet transmission in the local area network based on the UDP protocol, and multicast requires using a specific IP address network segment, for example: 224.0.1.75:5060, the router distributes the multicast message of the IP address network segment to the server in the LAN, if the server can monitor 5060 port, the server can receive the multicast message from the device to be registered; for example, as shown in fig. 6, the device to be registered may be any one of the clients in fig. 6, a multicast packet is initiated at the device to be registered 192.168.11.2, the set multicast address is 224.0.1.75, and the destination port number is 5060, if both the server 192.168.11.5 and the server 192.168.11.6 in the networking monitor 5060, both the servers can receive the multicast packet from the client 192.168.11.2.
According to the technical scheme, the register request of the equipment to be registered is received, and the register request of the equipment to be registered comprises the multicast message and the destination port number of the equipment to be registered; determining a server with the same destination port number as the device to be registered; and the technical means of sending the multicast message of the equipment to be registered to the server realizes the forwarding of the multicast message of the equipment to be registered to the server.
Based on the same inventive concept, an embodiment of the present application further provides a storage medium, where the storage medium stores a device registration program, and the device registration program, when executed by a processor, implements the steps of the device registration method described above, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here.
Since the storage medium provided in the embodiments of the present application is a storage medium used for implementing the method in the embodiments of the present application, based on the method described in the embodiments of the present application, a person skilled in the art can understand a specific structure and a modification of the storage medium, and thus details are not described here. Any storage medium used in the methods of the embodiments of the present application is intended to be within the scope of the present application.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (8)
1. The device registration method is applied to a server, the server is provided with a virtual container, and a device management application is installed in the virtual container, and the device registration method comprises the following steps:
receiving a multicast message sent by equipment to be registered;
determining basic authentication data of the equipment to be registered according to the multicast message;
and transmitting the basic authentication data to the virtual container so that the device management application in the virtual container can register the device to be registered through the basic authentication data.
2. The method of claim 1, wherein the step of receiving the multicast packet sent by the device to be registered comprises:
carrying out information verification on the multicast message;
and when the verification is successful, executing the step of determining the basic authentication data of the equipment to be registered according to the multicast message.
3. The method of claim 2, wherein the step of checking the multicast packet comprises:
analyzing the multicast message to obtain protocol header data of the multicast message;
determining a message authentication code, manufacturer information and a check bit corresponding to the multicast message according to the protocol header data;
when the message authentication code, the manufacturer information and the check bit are respectively matched with preset message information, the check is successful;
and when any one of the message authentication code, the manufacturer information and the check bit is not matched with the preset message information, the check fails.
4. The method of claim 1, wherein the step of determining the basic authentication data of the device to be registered according to the multicast packet comprises:
analyzing the multicast message, and determining the basic authentication data of the equipment to be registered according to an analysis result;
after the step of determining the basic authentication data of the device to be registered according to the multicast packet, the method further includes:
determining an ending character of the equipment to be registered according to the analysis result;
and when the ending symbol is matched with a preset ending symbol, the step of transmitting the basic authentication data to the virtual container is executed.
5. The method of claim 1, wherein the step of transparently transferring the base authentication data to the virtual container is preceded by:
establishing a mapping relation between a port of the virtual container and a port of a server;
the step of transparently transferring the base authentication data to the virtual container comprises:
and acquiring the mapping relation, and transmitting the basic authentication data of the equipment to be registered to the virtual container according to the mapping relation.
6. A device registration method is applied to a router, and comprises the following steps:
receiving a registration request of a device to be registered, wherein the registration request of the device to be registered comprises a multicast message and a destination port number of the device to be registered;
determining a server with the same destination port number as the device to be registered;
and sending the multicast message of the equipment to be registered to the server.
7. A server, characterized in that the server comprises: memory, a processor and a device registration program stored on the memory and executable on the processor, the device registration program, when executed by the processor, implementing the steps of the device registration method according to any of claims 1-5.
8. A storage medium having stored thereon a device registration program which, when executed by a processor, implements the steps of the device registration method of any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111223987.XA CN113676495B (en) | 2021-10-21 | 2021-10-21 | Device registration method, server, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111223987.XA CN113676495B (en) | 2021-10-21 | 2021-10-21 | Device registration method, server, and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113676495A true CN113676495A (en) | 2021-11-19 |
CN113676495B CN113676495B (en) | 2022-03-11 |
Family
ID=78550704
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111223987.XA Active CN113676495B (en) | 2021-10-21 | 2021-10-21 | Device registration method, server, and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113676495B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114401214A (en) * | 2021-12-28 | 2022-04-26 | 航天科工网络信息发展有限公司 | Network and method for realizing container multicast communication |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101242306A (en) * | 2008-02-28 | 2008-08-13 | 华为技术有限公司 | Method, system, device and server for automatic discovery of network device |
CN101304328A (en) * | 2008-07-09 | 2008-11-12 | 杭州华三通信技术有限公司 | Multicast authentication method, authentication equipment and multicast authentication server |
CN102316124A (en) * | 2011-10-28 | 2012-01-11 | 杭州华三通信技术有限公司 | Registration method and equipment for terminal equipment |
US20170222981A1 (en) * | 2016-01-28 | 2017-08-03 | Cisco Technology, Inc. | Key distribution in a distributed network environment |
CN108243162A (en) * | 2016-12-26 | 2018-07-03 | 大唐移动通信设备有限公司 | A kind of method and device of SIP registration |
KR102044008B1 (en) * | 2019-05-07 | 2019-11-12 | 옥철식 | System for identity authentication and management in the virtual reality world |
CN111193817A (en) * | 2019-12-30 | 2020-05-22 | 深圳市康冠智能科技有限公司 | Method and device for automatically registering equipment serial number, computer equipment and storage medium |
CN112039878A (en) * | 2020-08-28 | 2020-12-04 | 北京飞讯数码科技有限公司 | Equipment registration method and device, computer equipment and storage medium |
-
2021
- 2021-10-21 CN CN202111223987.XA patent/CN113676495B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101242306A (en) * | 2008-02-28 | 2008-08-13 | 华为技术有限公司 | Method, system, device and server for automatic discovery of network device |
CN101304328A (en) * | 2008-07-09 | 2008-11-12 | 杭州华三通信技术有限公司 | Multicast authentication method, authentication equipment and multicast authentication server |
CN102316124A (en) * | 2011-10-28 | 2012-01-11 | 杭州华三通信技术有限公司 | Registration method and equipment for terminal equipment |
US20170222981A1 (en) * | 2016-01-28 | 2017-08-03 | Cisco Technology, Inc. | Key distribution in a distributed network environment |
CN108243162A (en) * | 2016-12-26 | 2018-07-03 | 大唐移动通信设备有限公司 | A kind of method and device of SIP registration |
KR102044008B1 (en) * | 2019-05-07 | 2019-11-12 | 옥철식 | System for identity authentication and management in the virtual reality world |
CN111193817A (en) * | 2019-12-30 | 2020-05-22 | 深圳市康冠智能科技有限公司 | Method and device for automatically registering equipment serial number, computer equipment and storage medium |
CN112039878A (en) * | 2020-08-28 | 2020-12-04 | 北京飞讯数码科技有限公司 | Equipment registration method and device, computer equipment and storage medium |
Non-Patent Citations (2)
Title |
---|
HUAWEI等: "S2-161642 "Solution for supporting registration and authentication in SeDoC"", 《3GPP TSG_SA\WG2_ARCH》 * |
陈志贤等: "SIP协议中认证注册机制的研究", 《南京邮电学院学报》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114401214A (en) * | 2021-12-28 | 2022-04-26 | 航天科工网络信息发展有限公司 | Network and method for realizing container multicast communication |
CN114401214B (en) * | 2021-12-28 | 2024-03-29 | 航天科工网络信息发展有限公司 | Network and method for realizing multicast communication of containers |
Also Published As
Publication number | Publication date |
---|---|
CN113676495B (en) | 2022-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10392823B2 (en) | Synthetic client | |
WO2016155394A1 (en) | Method and device for establishing link between virtual network functions | |
CN108366105B (en) | Cross-block-chain data access method, device, system and computer readable medium | |
CN107204873A (en) | A kind of method and relevant device for switching target domain name resolution server | |
US20190097840A1 (en) | Method, apparatus, and device for pptp vpn based access acceleration | |
CN115951923B (en) | Subscription event management method, display system, device and storage medium | |
CN113676495B (en) | Device registration method, server, and storage medium | |
CN111147285B (en) | Cloud security product unified management method | |
JP5961471B2 (en) | Output comparison method in multiple information systems | |
CN104184729A (en) | Message processing method and device | |
CN109286665B (en) | Real-time mobile game long link processing method and device | |
CN111416851A (en) | Method for session synchronization among multiple load balancers and load balancer | |
CN107370731B (en) | Method and device for realizing communication between different applications based on natural language | |
WO2017000256A1 (en) | Positioning method and corresponding apparatus | |
CN113630466B (en) | Data transmission method, system, electronic equipment and storage medium | |
CN105052207B (en) | Information query method, equipment and system | |
CN112566221A (en) | Information synchronization method, device, equipment and readable storage medium | |
CN107395583B (en) | Method and device for realizing communication between different applications based on natural language | |
WO2020233085A1 (en) | Information processing method and device, and storage medium | |
CN117675633B (en) | Intelligent hardware equipment testing method and system | |
CN110266705A (en) | Control method and system | |
CN115086425B (en) | Message transmission method, device, program product, medium and electronic equipment | |
US20230061186A1 (en) | Base station and terminal apparatus | |
CN112104615B (en) | IPv6 address-based file credibility judgment processing method and device | |
CN113099511B (en) | Network configuration method, device, equipment and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |