CN111314105B - Method, device and system for matching connection of equipment - Google Patents

Method, device and system for matching connection of equipment Download PDF

Info

Publication number
CN111314105B
CN111314105B CN201911157246.9A CN201911157246A CN111314105B CN 111314105 B CN111314105 B CN 111314105B CN 201911157246 A CN201911157246 A CN 201911157246A CN 111314105 B CN111314105 B CN 111314105B
Authority
CN
China
Prior art keywords
managed
target
management
equipment
managed device
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.)
Active
Application number
CN201911157246.9A
Other languages
Chinese (zh)
Other versions
CN111314105A (en
Inventor
黄森宇
严国贤
孟洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Sundray Technologies Co ltd
Original Assignee
Shenzhen Sundray 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 Shenzhen Sundray Technologies Co ltd filed Critical Shenzhen Sundray Technologies Co ltd
Priority to CN201911157246.9A priority Critical patent/CN111314105B/en
Publication of CN111314105A publication Critical patent/CN111314105A/en
Application granted granted Critical
Publication of CN111314105B publication Critical patent/CN111314105B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/28Restricting access to network management systems or functions, e.g. using authorisation function to access network configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention discloses a method, a device and a system for matching and connecting equipment. The server acquires the characteristic data carried in the request according to the address, and can inquire the address information of the target management equipment matched with the characteristic data from the database; and the address information is issued to the target managed equipment, so that the target managed equipment establishes connection with the target management equipment according to the address information. The management equipment uploads the list information of the managed equipment to the server, the server records the binding relationship between the managed equipment and the management equipment, and the managed equipment can automatically acquire the address information of the management equipment from the server after accessing the Internet, so that the managed equipment can be accessed to the management equipment.

Description

Method, device and system for matching connection of equipment
Technical Field
The present invention relates to the field of network management technologies, and in particular, to a method, an apparatus, and a system for matching and connecting devices.
Background
In an application scenario where a large number of managed devices need to be deployed to provide a network access service, in order to configure and maintain the large number of managed devices, a network centralized control type structure becomes the most common solution. For example, an Access Point (AP) device in a wireless network and a network switch in a wired network are managed in a unified management device.
The configuration of the managed device is issued by the management device, so when the managed device is started, the managed device must first discover the management device, i.e. establish a connection with the management device. The traditional way of discovering the management device by the managed device needs to be set by a special technician, so that the difficulty of connecting the managed device to the management device is high.
Therefore, how to reduce the difficulty of establishing the connection between the managed device and the management device is a problem to be solved by those skilled in the art.
Disclosure of Invention
The embodiment of the invention aims to provide a method, a device and a system for matching and connecting equipment.
In order to solve the above technical problem, an embodiment of the present invention provides a method for matching and connecting devices, where the method includes:
receiving managed equipment list information uploaded by management equipment; the managed device list information records the binding relationship between the managed device and the management device;
storing information meeting the binding requirement in the managed equipment list information into a database;
receiving an address acquisition request sent by target managed equipment;
according to the characteristic data carried in the address acquisition request, inquiring address information of the target management equipment matched with the characteristic data from the database;
and issuing the address information to the target managed equipment so that the target managed equipment establishes connection with the target management equipment according to the address information.
Optionally, the storing information that satisfies the binding requirement in the managed device list information into a database includes:
detecting whether each managed device contained in the managed device list information has a binding relationship in a database;
for a first managed device with a binding relationship in the database, issuing a prompt message of binding failure to the management device;
and for a second managed device which does not have the binding relationship in the database, storing the list information corresponding to the second managed device in the database.
Optionally, the managed device list information includes a management identifier of the management device, a managed identifier of the managed device, and a verification key.
Optionally, the querying, according to the feature data carried in the address acquisition request, address information of the target management device matched with the feature data from the database includes:
when the characteristic data comprises a target managed identifier of the target managed device and a target verification key, judging whether the target verification key is consistent with the verification key recorded in the database;
and if so, inquiring the address information of the target management equipment matched with the target managed identification from the database.
Optionally, the method further comprises:
when a unbinding request sent by management equipment is received, judging whether data information carried in the unbinding request is consistent with pre-recorded unbinding data or not;
and if so, releasing the binding relationship of the third managed equipment pointed by the unbinding request, and storing the binding relationship between the third managed equipment and the management equipment into the database.
The embodiment of the invention also provides a device for matching and connecting the equipment, which comprises a receiving unit, a storage unit, an inquiry unit and a sending unit;
the receiving unit is used for receiving the managed equipment list information uploaded by the management equipment; the managed device list information records the binding relationship between the managed device and the management device;
the storage unit is used for storing the information meeting the binding requirement in the managed equipment list information into a database;
the receiving unit is also used for receiving an address acquisition request sent by the target managed equipment;
the query unit is used for querying the address information of the target management equipment matched with the characteristic data from the database according to the characteristic data carried in the address acquisition request;
the issuing unit is configured to issue the address information to the target managed device, so that the target managed device establishes a connection with the target management device according to the address information.
Optionally, the storage unit includes a judgment subunit, a first processing subunit, and a second processing subunit;
the judging subunit is configured to detect whether each managed device included in the managed device list information already has a binding relationship in a database;
the first processing subunit is configured to, for a first managed device having a binding relationship in the database, issue a prompt message indicating that binding fails to the managed device;
the second processing subunit is configured to, for a second managed device that does not have a binding relationship in the database, store list information corresponding to the second managed device in the database.
Optionally, the managed device list information includes a management identifier of the management device, a managed identifier of the managed device, and a verification key.
Optionally, the querying unit is specifically configured to, when the feature data includes a target managed identifier of a target managed device and a target verification key, determine whether the target verification key is consistent with a verification key recorded in the database; and if so, inquiring the address information of the target management equipment matched with the target managed identification from the database.
Optionally, the system further comprises a judging unit, a releasing unit and a binding unit;
the judgment unit is used for judging whether the data information carried in the unbinding request is consistent with the pre-recorded unbound data or not when the unbound data unbound by the management equipment is received; if yes, triggering the releasing unit;
the unbinding unit is configured to unbind the binding relationship of the third managed device to which the unbinding request is directed;
the binding unit is configured to store the binding relationship between the third managed device and the management device in the database.
The embodiment of the invention also provides a method for matching and connecting the equipment, which comprises the following steps:
establishing a connection with a server;
uploading managed equipment list information to the server; wherein, the binding relationship between the managed device and the management device is recorded in the managed device list information;
when a connection request sent by a managed device is received, judging whether the managed device is recorded in a local storage;
and if so, connecting the managed equipment to the management equipment.
Optionally, before uploading the managed device list information to the server, the method further includes:
when configuration information of newly added managed equipment is received, generating a verification key of the managed equipment according to self information and the configuration information;
when the managed device is connected to the management device, the verification key is issued to the managed device;
correspondingly, the uploading the managed device list information to the server comprises:
and uploading the management identifier of the management device, the managed identifier of the managed device and the verification key to the server as managed device list information.
The embodiment of the invention also provides a device for matching and connecting the equipment, which comprises an establishing unit, an uploading unit, a judging unit and a connecting unit;
the establishing unit is used for establishing connection with the server;
the uploading unit is used for uploading the managed equipment list information to the server; wherein, the binding relationship between the managed device and the management device is recorded in the managed device list information;
the judging unit is used for judging whether the managed equipment is recorded in a local storage when receiving a connection request sent by the managed equipment; if yes, triggering the connection unit;
the connection unit is used for connecting the managed device to the management device.
Optionally, the system further comprises a generating unit and a sending unit;
the generating unit is used for generating a verification key of the managed device according to self information and the configuration information when the configuration information of the newly added managed device is received;
the issuing unit is configured to issue the verification key to the managed device when the managed device is connected to the management device;
correspondingly, the uploading unit is specifically configured to upload the management identifier of the management device, the managed identifier of the managed device, and the verification key as managed device list information to the server.
The embodiment of the invention also provides a system for matching and connecting the equipment, which comprises the managed equipment, the management equipment and the server;
the managed device is used for broadcasting a connection request outwards; when the response information fed back by the management equipment is not received within the preset time, sending an address acquisition request to the server; establishing connection with the target management equipment according to the address information of the target management equipment issued by the server;
the management equipment is used for establishing connection with the server; uploading managed device list information to the server; when a connection request sent by a managed device is received, judging whether the managed device is recorded in a local storage; if yes, connecting the managed device to the management device; the managed device list information records the binding relationship between the managed device and the management device;
the server is used for receiving the managed equipment list information uploaded by the management equipment; storing information meeting binding requirements in the managed equipment list information into a database; receiving an address acquisition request sent by target managed equipment; according to the characteristic data carried in the address acquisition request, inquiring address information of the target management equipment matched with the characteristic data from the database; and issuing the address information to the target managed equipment so that the target managed equipment establishes connection with the target management equipment according to the address information.
According to the technical scheme, the server receives the managed equipment list information uploaded by the management equipment; in order to avoid that a plurality of management devices simultaneously bind the same managed device, the server only stores the information meeting the binding requirement in the managed device list information into the database. Since the binding relationship between the managed device and the management device is recorded on the server, when the managed device cannot find the corresponding management device, the address acquisition request can be sent to the server. When the server receives an address acquisition request sent by target managed equipment, according to the characteristic data carried in the address acquisition request, the server can inquire the address information of the target managed equipment matched with the characteristic data from the database; and the address information is issued to the target managed equipment, so that the target managed equipment establishes connection with the target management equipment according to the address information. According to the technical scheme, the management equipment uploads the list information of the managed equipment to the server, the server records the binding relationship between the managed equipment and the management equipment, and the managed equipment can automatically acquire the address information of the management equipment from the server after accessing the Internet, so that the managed equipment can be accessed to the management equipment. Compared with the prior art, the method and the device rely on special technicians to set the managed device so as to realize the connection between the managed device and the management device. According to the technical scheme, the managed device can directly access the server according to the address information of the server, so that the address information of the managed device is obtained, the connection with the managed device is realized, the managed device does not need to be additionally configured, and the difficulty of establishing the connection between the managed device and the managed device is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention, the drawings required for the embodiments will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained by those skilled in the art without inventive effort.
Fig. 1 is a schematic view of a scene of device matching connection according to an embodiment of the present invention;
fig. 2 is a signaling diagram of a method for matching connection of devices according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for storing managed device list information according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for verifying an identity of a target managed device according to an embodiment of the present invention;
fig. 5 is a flowchart of a method for unbinding a binding relationship according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of an apparatus for matching and connecting devices according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another apparatus for managing device matching connections of devices according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a system for matching and connecting devices according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without any creative work belong to the protection scope of the present invention.
In order that those skilled in the art will better understand the disclosure, reference will now be made in detail to the embodiments of the disclosure as illustrated in the accompanying drawings.
In an application scenario where a large number of managed devices are deployed to provide a network access service, the managed devices are often configured and managed by the management device in a unified manner. For example, all Wireless Access Points (APs) in a Wireless network are managed by a Wireless Access Point Controller (WAPC). The configuration of the managed device is issued through the management device, so when the managed device is started, the managed device must first discover the management device, i.e., establish a connection with the management device.
One possible way to discover the management device in the embodiment of the present invention is as follows: 1) In the network of the same two layers with the managed device, finding the managed device through a discovery protocol, and using a configuration tool to assign the IP of the management device to the managed device; 2) And setting an option43 field of a DHCP server in the two-layer network as the IP of the management equipment, and acquiring the IP of the management equipment when the managed equipment acquires the IP address through the DHCP.
In practical applications, for example, network managers such as chain stores and hotels may deploy some managed devices in various branches via the internet, and deploy some managed devices in an intranet. The managed equipment is often deployed in a plurality of branches across the Internet, and a traditional two-layer discovery mode is complex in use, so that general workers in stores cannot configure the managed equipment, and special technicians need to configure the managed equipment in each store, so that the difficulty of connecting the managed equipment to the management equipment is high.
Therefore, according to the device matching connection method, device and system provided by the embodiments of the present invention, the management device uploads the managed device list information to the server, and the server records the binding relationship between the managed device and the management device. When the managed device cannot find the corresponding management device, the address acquisition request can be sent to the server, so that the address information of the management device can be acquired.
Fig. 1 is a schematic view of a device matching connection scenario applicable to the embodiment of the present invention, which includes a managed device 1, a management device 2, and a server 3, where the management device 2 may register on the server 3, so as to upload managed device list information to the server 3. When the managed apparatus 1 cannot acquire the address information of the management apparatus 2, the managed apparatus 1 may transmit an address acquisition request to the server 3 according to the address of the server 3. The managed device list information stored on the server 3 records the binding relationship between the managed device and the management device, and therefore, the server 3 can feed back the address information of the management device 2 having the binding relationship with the managed device 1 to the managed device 1 so as to facilitate the managed device 1 to establish a connection with the management device 2.
Next, a method for matching and connecting devices according to an embodiment of the present invention is described in detail. Fig. 2 is a signaling diagram of a method for matching connection of devices according to an embodiment of the present invention, where the method includes:
s201: the management device establishes a connection with the server.
There may be a plurality of management devices, each of which processes in a similar manner, and in the embodiment of the present invention, a description is given by taking one management device as an example.
In practical application, the management device can be connected with the server in a cloud account establishment mode.
S202: and the management device uploads the managed device list information to the server.
The management personnel can add the managed device on the management device, the configuration information on the management device changes at the moment, and when the management device detects that the configuration information changes, the binding relationship between the managed device and the management device can be recorded in the form of a managed device list.
In a specific implementation, the number of managed devices and the number of management devices are often multiple, and in order to distinguish different managed devices, a corresponding managed identifier is set for each managed device; similarly, in order to distinguish different management devices, a corresponding management identifier is set for each management device.
The managed mark and the management mark can be represented by numbers, letters or a combination thereof, and in the embodiment of the present invention, specific forms of the managed mark and the management mark are not limited.
In the embodiment of the present invention, the management identifier and the managed identifier may be recorded in the managed device list information. One management device may be used to manage multiple managed devices simultaneously, that is, one management device may have a binding relationship with multiple managed devices, and thus, one management identifier may correspond to multiple managed identifiers in the managed device list information.
In practical application, the management device can upload the list information of the managed devices to the server according to the set cycle time; or when detecting that the configuration information changes, uploading the managed device list information to the server.
The management device may upload the incremental information in the managed device list information to the server. Taking periodic time uploading as an example, the management device may upload the list information of the managed devices newly added in the time interval between the current time and the last uploading time to the server.
The management device may also upload all the information in the managed device list information to the server.
S203: and the server receives the managed device list information uploaded by the management device.
S204: and the server stores the information meeting the binding requirement in the managed equipment list information into a database.
Each management device does not know the managed devices bound to other management devices, and therefore, in actual application, the same managed device may be bound to different management devices. In order to ensure the uniqueness of the binding relationship between the managed device and the management device, the server may verify the binding relationship of each managed device included in the managed device list information.
The information satisfying the binding requirement means that the binding relationship between the managed device and the management device has uniqueness, that is, one managed device has a binding relationship with only one management device.
S205: the server receives an address acquisition request sent by a target managed device.
The target managed device may be any one of all managed devices.
For convenience of description, in the embodiment of the present invention, a management device having a binding relationship with a target managed device may be referred to as a target management device.
When the target managed device needs to be connected to the target management device, the connection request is broadcasted outwards, and when the target management device and the target managed device are in the same local area network, the target management device can acquire the connection request, so that connection with the target managed device is achieved.
When the target management device and the target managed device are not in the same local area network or are affected by factors such as a network and the like, the target management device cannot acquire the connection request, so that the target managed device cannot find the target management device through the local network.
S206: and the server queries the address information of the target management equipment matched with the characteristic data from the database according to the characteristic data carried in the address acquisition request.
In combination with the above-described manner of recording the managed identifier and the management identifier in the managed device list information, the binding relationship between the managed device and the management device is characterized. Therefore, the characteristic data may include a managed identifier for characterizing the identity of the target managed device.
For convenience of description, the managed identity of the target managed device may be referred to as a target managed identity, and the management identity of the target management device may be referred to as a target management identity.
When the target managed identification is stored in the database, the target management identification corresponding to the target managed identification can be determined according to the binding relationship.
The server stores the address information of each management device, and can inquire the address information of the target management device according to the target management identification.
The address information may be any one or any combination of an IP address, a domain name, or a webagent. Among them, webagent is a deeply trusted VPN-based dynamic addressing.
S207: the server sends the address information to the target managed device, so that the target managed device establishes connection with the target management device according to the address information.
The target managed device can send a connection request to the target management device to which the target managed device belongs according to the address information.
S208: when the management device receives a connection request sent by the managed device, whether the managed device is recorded in the local storage is judged.
When a manager adds a managed device to a management device, the management device records, in a local storage, information related to the managed device, for example, a managed identifier of the managed device.
The management device may determine whether the target managed device is recorded in the local storage when receiving the connection request transmitted by the target managed device, and perform S209 when the target managed device is recorded in the local storage.
S209: when the managed device is recorded in the local storage, the management device connects the managed device to the management device.
When the management device finds that the local storage records the target managed device, the target managed device is allowed to be automatically on line, and at the moment, the target managed device establishes connection with the management device.
According to the technical scheme, the server receives the managed equipment list information uploaded by the management equipment; in order to avoid that a plurality of management devices simultaneously bind the same managed device, the server only stores the information meeting the binding requirement in the managed device list information into the database. Since the binding relationship between the managed device and the management device is recorded on the server, when the managed device cannot find the corresponding management device, the address acquisition request can be sent to the server. When the server receives an address acquisition request sent by target managed equipment, according to the characteristic data carried in the address acquisition request, the server can inquire the address information of the target managed equipment matched with the characteristic data from the database; and sending the address information to the target managed equipment so that the target managed equipment can establish connection with the target management equipment according to the address information. According to the technical scheme, the management device uploads the list information of the managed device to the server, the server records the binding relationship between the managed device and the management device, the managed device can automatically acquire the address information of the management device from the server after being connected to the Internet, and then the managed device is connected to the management device. According to the technical scheme, the managed device can directly access the server according to the address information of the server, so that the address information of the managed device is obtained, the connection with the managed device is realized, the managed device does not need to be additionally configured, and the difficulty of establishing the connection between the managed device and the managed device is reduced.
Fig. 3 is a flowchart of a method for storing managed device list information according to an embodiment of the present invention, where the method includes:
s301: it is detected whether each managed device included in the managed device list information already has a binding relationship in the database.
The database of the server records the existing binding relationship. The managed device list uploaded by the management device often includes multiple managed devices, and the server needs to detect the binding relationship of each managed device in the managed device list.
S302: and for the first managed equipment with the binding relation in the database, issuing prompt information of binding failure to the management equipment.
For the first managed device having a binding relationship in the database, it indicates that the binding relationship between the first managed device and the other management devices has been recorded in the database, and at this time, the binding relationship between the first managed device and the current management device does not hold, so the server may issue a prompt message of a binding failure to the current management device.
S303: and for the second managed equipment which does not have the binding relationship in the database, storing the list information corresponding to the second managed equipment into the database.
For a second managed device that does not have a binding relationship in the database, it indicates that there is no record about the second managed device in the database, and at this time, the list information corresponding to the second managed device may be stored in the database.
By detecting the managed device list information uploaded by the management device, the management device and the managed device stored in the server database can be effectively ensured to have one-to-one corresponding binding relationship, and the situation that the same managed device is bound by a plurality of management devices at the same time is avoided.
The number of managed devices may be multiple, the identity verification process of each managed device is similar, and in the embodiment of the present invention, an example of any one managed device, that is, a target managed device, in all the managed devices is described. Fig. 4 is a flowchart of a method for verifying an identity of a target managed device according to an embodiment of the present invention, where the method includes:
s401: and receiving the managed equipment information which is uploaded by the management equipment and carries the verification key.
In the embodiment of the present invention, after the managed device is disconnected from the management device, the managed device needs to acquire the address information of the management device again. In order to facilitate the verification of the identity of the managed device, the management device may set a verification key to the newly added managed device when detecting that the configuration information changes. Accordingly, the management device may carry the verification key in the list information when uploading the managed device information to the server.
S402: and storing the information meeting the binding requirement in the managed equipment list information into a database.
For the implementation process of S402, reference may be made to the description of S204, which is not described herein again.
S403: and receiving an address acquisition request sent by the target managed device.
When the target managed device sends the address obtaining request to the cloud platform again, the feature data further comprises a target verification key besides the target managed identifier.
S404: and when the characteristic data comprises the target managed identification of the target managed equipment and the target verification key, judging whether the target verification key is consistent with the verification key recorded in the database.
Taking the managed identifier and the binding relationship between the management device and the management device characterized by the management identifier as an example, the managed device list information may include the management identifier of the management device, the managed identifier of the managed device, and the verification key. Correspondingly, the uploading of the managed device list information to the server by the management device includes: and uploading the management identification of the management device, the managed identification of the managed device and the verification key to a server as managed device list information.
After the management device distributes the verification key to the managed device, the verification key is sent to the server for storage, and at this time, the verification key corresponding to the managed device is recorded in the database of the server.
In practical application, the management device may generate the verification key of the managed device according to the self information and the configuration information.
The information of the management device may be cloud account information of the management device. The configuration information may be a managed identification of the managed device.
When the target managed device is connected to the management device for the first time, the management device may issue a target verification key to the target managed device. Correspondingly, the target managed device can carry the target verification key when sending the address acquisition request to the server subsequently.
Taking the target managed device as an example, the check key recorded in the database refers to a check key corresponding to the target managed device.
If the target verification key is consistent with the verification key recorded in the database, it indicates that the target managed device is still managed by the target management device, that is, the binding relationship between the target managed device and the target management device is not changed, and at this time, S405 may be executed.
S405: and inquiring the address information of the target management equipment matched with the target managed identification from the database.
The server may query address information of the target management device matching the target managed identity from the database and feed the address information back to the target managed device, so that the target managed device reestablishes a connection with the target management device.
S406: and issuing the address information to the target managed equipment.
By setting the verification key, the identity of the managed equipment can be verified, and the managed equipment is ensured to be connected with the same management equipment all the time. When the managed device is illegally bound by other management devices, the check key fed back to the managed device by other management devices is inconsistent with the check key recorded in the database, and the server does not feed back address information to the managed device, so that the condition that the managed device is subsequently illegally bound by other management devices is effectively reduced.
In practical applications, with the change of service requirements, the binding relationship between the managed device and the management device may need to be adjusted. Since the binding relationship between the managed device and the management device stored in the server is unique, when the binding relationship needs to be adjusted, the original binding relationship is first released.
Fig. 5 is a flowchart of a method for unbinding a binding relationship according to an embodiment of the present invention, where the method includes:
s501: and receiving the managed device information uploaded by the management device.
For the implementation process of S501, reference may be made to the description of S203, which is not described herein again.
S502: and storing the information meeting the binding requirement in the managed equipment list information into a database.
For the implementation process of S502, reference may be made to the description of S204, which is not described herein again.
S503: and when a unbinding request sent by the management equipment is received, judging whether the data information carried in the unbinding request is consistent with the pre-recorded unbinding data or not.
In the embodiment of the present invention, unbinding data may be set to represent an unbinding relationship. In particular implementations, the unbinding data can be pre-stored on the server. When the binding relationship between the managed device and the management device needs to be released and the managed device needs to be bound to a new management device again, the user can input the unbinding data on the new management device, and at this time, the new management device can send a unbinding request carrying the unbinding data to the server. In the embodiment of the present invention, the specific form of the unbinding data is not limited.
When the data information carried in the unbinding request is consistent with the pre-recorded unbinding data, S504 is performed.
S504: and releasing the binding relationship of the third managed device pointed by the binding request, and storing the binding relationship between the third managed device and the management device in the database.
In the embodiment of the present invention, in order to facilitate distinguishing managed devices in different operation flows, qualifiers such as the first, second, and third are used for distinguishing, and the first, second, and third have no other specific meanings.
By setting a mechanism for unbinding, dynamic adjustment of binding relationship can be realized, so that management between managed devices is more in line with actual requirements.
Fig. 6 is a schematic structural diagram of an apparatus for matching and connecting devices according to an embodiment of the present invention, where the apparatus includes a receiving unit 61, a storage unit 62, an inquiring unit 63, and a sending unit 64;
a receiving unit 61 configured to receive managed apparatus list information uploaded by the management apparatus; the binding relation between the managed device and the management device is recorded in the managed device list information
A storage unit 62, configured to store information that meets the binding requirement in the managed device list information into a database;
the receiving unit 61 is further configured to receive an address acquisition request sent by the target managed device;
the query unit 63 is configured to query, according to the feature data carried in the address acquisition request, address information of the target management device matched with the feature data from the database;
the issuing unit 64 is configured to issue the address information to the target managed device, so that the target managed device establishes a connection with the target management device according to the address information.
Optionally, the storage unit includes a judgment subunit, a first processing subunit and a second processing subunit;
a judging subunit, configured to detect whether each managed device included in the managed device list information already has a binding relationship in the database;
the first processing subunit is used for issuing a prompt message of binding failure to the management equipment for the first managed equipment with the binding relationship in the database;
and the second processing subunit is used for storing the list information corresponding to the second managed device which does not have the binding relationship in the database.
Optionally, the managed device list information includes a management identifier of the management device, a managed identifier of the managed device, and a verification key.
Optionally, the querying unit is specifically configured to, when the feature data includes a target managed identifier of the target managed device and a target verification key, determine whether the target verification key is consistent with a verification key recorded in the database; if yes, address information of the target management equipment matched with the target managed identification is inquired from the database.
Optionally, the system further comprises a judging unit, a releasing unit and a binding unit;
the device comprises a judging unit and a processing unit, wherein the judging unit is used for judging whether data information carried in a unbinding request is consistent with pre-recorded unbinding data or not when the unbinding request sent by the management equipment is received; if yes, triggering a releasing unit;
a releasing unit configured to release the binding relationship of the third managed device to which the binding request is directed;
and the binding unit is used for storing the binding relationship between the third managed equipment and the management equipment into the database.
Optionally, the address information is any one or any combination of an IP address, a domain name, or a webagent.
For the description of the features in the embodiment corresponding to fig. 6, reference may be made to the related description of the embodiments corresponding to fig. 1 to fig. 5, which is not repeated here.
According to the technical scheme, the server receives the managed equipment list information uploaded by the management equipment; in order to avoid that a plurality of management devices simultaneously bind the same managed device, the server only stores the information meeting the binding requirement in the managed device list information into the database. Since the binding relationship between the managed device and the management device is recorded on the server, when the managed device cannot find the corresponding management device, the address acquisition request can be sent to the server. When the server receives an address acquisition request sent by target managed equipment, according to the characteristic data carried in the address acquisition request, the server can inquire the address information of the target managed equipment matched with the characteristic data from the database; and the address information is issued to the target managed equipment, so that the target managed equipment establishes connection with the target management equipment according to the address information. In the technical scheme, the management device uploads the list information of the managed device to the server, the server records the binding relationship between the managed device and the management device, and the managed device can automatically acquire the address information of the management device from the server after accessing the internet, so that the managed device can be accessed to the management device. According to the technical scheme, the managed device can directly access the server according to the address information of the server, so that the address information of the managed device is obtained, the connection with the managed device is realized, the managed device does not need to be additionally configured, and the difficulty of establishing the connection between the managed device and the managed device is reduced.
Fig. 7 is a schematic structural diagram of another apparatus for matching and connecting devices according to an embodiment of the present invention, where the apparatus includes an establishing unit 71, an uploading unit 72, a determining unit 73, and a connecting unit 74;
an establishing unit 71 for establishing a connection with a server;
an upload unit 72 configured to upload managed apparatus list information to a server; the binding relationship between the managed device and the management device is recorded in the managed device list information
A judging unit 73 configured to judge whether the managed apparatus is recorded in the local storage when receiving the connection request sent by the managed apparatus; if yes, triggering a connection unit;
a connection unit 74 for connecting the managed device to the management device.
Optionally, the system further comprises a generating unit and a sending unit;
the generating unit is used for generating a verification key of the managed device according to the self information and the configuration information when the configuration information of the newly added managed device is received;
the issuing unit is used for issuing the check key to the managed equipment when the managed equipment is connected to the management equipment;
correspondingly, the uploading unit is specifically configured to upload the management identifier of the management device, the managed identifier of the managed device, and the verification key as managed device list information to the server.
For the description of the features in the embodiment corresponding to fig. 7, reference may be made to the related description of the embodiments corresponding to fig. 1 to fig. 5, which is not repeated here.
According to the technical scheme, the establishing unit of the management equipment can establish connection with the server; the uploading unit is used for uploading the managed equipment list information to the server, the binding relationship between the managed equipment and the management equipment is recorded in the managed equipment list information, and in order to avoid the situation that a plurality of management equipment simultaneously bind the same managed equipment, the server only stores information meeting the binding requirement in the managed equipment list information into the database. When the managed device cannot find the corresponding management device, an address acquisition request can be sent to the server. The server can inquire the address information of the matched target management equipment from the database and issue the address information to the target managed equipment. The judging unit is used for judging whether the managed equipment is recorded in the local storage when receiving the connection request sent by the managed equipment; if yes, the connection unit is triggered to connect the managed device to the management device. In the technical scheme, the management device uploads the list information of the managed device to the server, the server records the binding relationship between the managed device and the management device, and the managed device can automatically acquire the address information of the management device from the server after accessing the internet, so that the managed device can be accessed to the management device. According to the technical scheme, the managed device can directly access the server according to the address information of the server, so that the address information of the managed device is obtained, the connection with the managed device is realized, the managed device does not need to be additionally configured, and the difficulty in establishing the connection between the managed device and the managed device is reduced.
Fig. 8 is a schematic structural diagram of a system 80 for matching and connecting devices according to an embodiment of the present invention, including a managed device 81, a management device 82, and a server 83;
a managed device 81 for broadcasting a connection request to the outside; when the response information fed back by the management device 82 is not received within the preset time, sending an address acquisition request to the server 83; establishing connection with the target management device 82 according to the address information of the target management device 82 sent by the server 83;
a management device 82 for establishing a connection with the server 83; uploading the managed device list information to the server 83; when receiving a connection request sent by the managed apparatus 81, determining whether the managed apparatus 81 is recorded in the local storage; if yes, connecting the managed device 81 to the management device 82; the managed device list information records the binding relationship between the managed device 81 and the management device 82;
a server 83 for receiving the managed device list information uploaded by the management device 82; storing information meeting the binding requirement in the managed equipment list information into a database; receiving an address acquisition request sent by the target managed apparatus 81; according to the characteristic data carried in the address acquisition request, inquiring address information of the target management equipment 82 matched with the characteristic data from a database; the address information is issued to the target managed apparatus 81 so that the target managed apparatus 81 establishes a connection with the target managing apparatus 82 based on the address information.
The method, the device and the system for matching and connecting the equipment provided by the embodiment of the invention are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. 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 invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

Claims (7)

1. A method of device matching connections, the method comprising:
receiving managed equipment list information uploaded by a management device; wherein, the binding relationship between the managed device and the management device is recorded in the managed device list information;
storing information meeting the binding requirement in the managed equipment list information into a database;
receiving an address acquisition request sent by target managed equipment;
according to the characteristic data carried in the address acquisition request, inquiring address information of the target management equipment matched with the characteristic data from the database;
issuing the address information to the target managed equipment so that the target managed equipment establishes connection with the target management equipment according to the address information;
the managed device list information includes a management identifier of the management device, a managed identifier of the managed device, and a verification key;
the querying, according to the feature data carried in the address acquisition request, address information of the target management device matched with the feature data from the database includes:
when the characteristic data comprises a target managed identifier of the target managed device and a target verification key, judging whether the target verification key is consistent with the verification key recorded in the database;
and if so, inquiring the address information of the target management equipment matched with the target managed identification from the database.
2. The method of claim 1, wherein storing information in the managed device list information that meets the binding requirement in a database comprises:
detecting whether each managed device contained in the managed device list information has a binding relationship in a database;
for a first managed device with a binding relationship in the database, issuing a prompt message of binding failure to the management device;
and for a second managed device which does not have the binding relationship in the database, storing the list information corresponding to the second managed device into the database.
3. The method of any one of claims 1-2, further comprising:
when a unbinding request sent by management equipment is received, judging whether data information carried in the unbinding request is consistent with pre-recorded unbinding data or not;
and if so, releasing the binding relationship of the third managed equipment pointed by the unbinding request, and storing the binding relationship between the third managed equipment and the management equipment into the database.
4. The device for matching and connecting the equipment is characterized by comprising a receiving unit, a storage unit, an inquiry unit and a sending unit;
the receiving unit is used for receiving the managed equipment list information uploaded by the management equipment; wherein, the binding relationship between the managed device and the management device is recorded in the managed device list information;
the storage unit is used for storing the information meeting the binding requirement in the managed equipment list information into a database;
the receiving unit is also used for receiving an address acquisition request sent by the target managed device;
the query unit is used for querying the address information of the target management equipment matched with the characteristic data from the database according to the characteristic data carried in the address acquisition request;
the issuing unit is configured to issue the address information to the target managed device, so that the target managed device establishes a connection with the target management device according to the address information;
the managed device list information includes a management identifier of the management device, a managed identifier of the managed device, and a verification key;
the query unit is specifically configured to determine whether the target verification key is consistent with the verification key recorded in the database when the feature data includes a target managed identifier of the target managed device and a target verification key; and if so, inquiring the address information of the target management equipment matched with the target managed identification from the database.
5. A method of device matching connections, the method comprising:
establishing a connection with a server;
uploading managed equipment list information to the server; wherein, the binding relationship between the managed device and the management device is recorded in the managed device list information;
when a connection request sent by a managed device is received, judging whether the managed device is recorded in a local storage;
if yes, connecting the managed device to the management device;
before uploading the managed device list information to the server, the method further comprises:
when configuration information of newly added managed equipment is received, generating a verification key of the managed equipment according to self information and the configuration information;
when the managed device is connected to the management device, the verification key is issued to the managed device;
correspondingly, the uploading the managed device list information to the server includes:
and uploading the management identifier of the management device, the managed identifier of the managed device and the verification key to the server as managed device list information.
6. The device for matching and connecting the equipment is characterized by comprising an establishing unit, an uploading unit, a judging unit and a connecting unit;
the establishing unit is used for establishing connection with the server;
the uploading unit is used for uploading the managed equipment list information to the server; wherein, the binding relationship between the managed device and the management device is recorded in the managed device list information;
the judging unit is used for judging whether the managed equipment is recorded in a local storage when receiving a connection request sent by the managed equipment; if yes, triggering the connection unit;
the connecting unit is used for connecting the managed device to the management device;
the system also comprises a generating unit and a sending unit;
the generating unit is used for generating a verification key of the managed device according to self information and the configuration information when the configuration information of the newly added managed device is received;
the issuing unit is configured to issue the verification key to the managed device when the managed device is connected to the management device;
correspondingly, the uploading unit is specifically configured to upload the management identifier of the management device, the managed identifier of the managed device, and the verification key to the server as managed device list information.
7. The system for matching and connecting the devices is characterized by comprising a managed device, a management device and a server;
the managed device is used for broadcasting a connection request outwards; when the response information fed back by the management equipment is not received within the preset time, sending an address acquisition request to the server; establishing connection with the target management equipment according to the address information of the target management equipment issued by the server; wherein, the binding relationship between the managed device and the management device is recorded in the managed device list information;
the management equipment is used for establishing connection with the server; uploading managed device list information to the server; when a connection request sent by a managed device is received, judging whether the managed device is recorded in a local storage; if yes, connecting the managed device to the management device;
the server is used for receiving the managed equipment list information uploaded by the management equipment; storing information meeting the binding requirement in the managed equipment list information into a database; receiving an address acquisition request sent by target managed equipment; according to the characteristic data carried in the address acquisition request, inquiring address information of the target management equipment matched with the characteristic data from the database; issuing the address information to the target managed device so that the target managed device establishes connection with the target management device according to the address information; the managed device list information includes a management identifier of the management device, a managed identifier of the managed device, and a verification key; the querying, according to the feature data carried in the address acquisition request, address information of the target management device matched with the feature data from the database includes: when the characteristic data comprises a target managed identifier of the target managed device and a target verification key, judging whether the target verification key is consistent with the verification key recorded in the database; and if so, inquiring the address information of the target management equipment matched with the target managed identification from the database.
CN201911157246.9A 2019-11-22 2019-11-22 Method, device and system for matching connection of equipment Active CN111314105B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911157246.9A CN111314105B (en) 2019-11-22 2019-11-22 Method, device and system for matching connection of equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911157246.9A CN111314105B (en) 2019-11-22 2019-11-22 Method, device and system for matching connection of equipment

Publications (2)

Publication Number Publication Date
CN111314105A CN111314105A (en) 2020-06-19
CN111314105B true CN111314105B (en) 2022-11-22

Family

ID=71159668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911157246.9A Active CN111314105B (en) 2019-11-22 2019-11-22 Method, device and system for matching connection of equipment

Country Status (1)

Country Link
CN (1) CN111314105B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116541832A (en) * 2023-07-07 2023-08-04 深圳市科力锐科技有限公司 Method, system, equipment and storage medium for hosting and processing security event

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905475A (en) * 2005-07-28 2007-01-31 华为技术有限公司 Method and system for initial configuration of managed apparatus
KR20160105274A (en) * 2015-02-27 2016-09-06 삼성전자주식회사 Electronic device and applacation controlling method thereof
CN109474481A (en) * 2018-12-27 2019-03-15 瑞斯康达科技发展股份有限公司 Deployed with devices method and system, NM server, mobile terminal, storage medium
CN110351169A (en) * 2019-09-06 2019-10-18 珠海格力电器股份有限公司 The method and apparatus that a kind of pair of equipment is bound

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1127342A (en) * 1997-06-30 1999-01-29 Nec Corp Method and system for matching network information
US8510812B2 (en) * 2006-03-15 2013-08-13 Fortinet, Inc. Computerized system and method for deployment of management tunnels
CN103685176B (en) * 2012-09-11 2017-03-22 联想(北京)有限公司 Terminal equipment, equipment management server and connection establishment method
CN104717258B (en) * 2013-12-16 2018-09-28 华为技术有限公司 A kind of data transmission method for uplink and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905475A (en) * 2005-07-28 2007-01-31 华为技术有限公司 Method and system for initial configuration of managed apparatus
KR20160105274A (en) * 2015-02-27 2016-09-06 삼성전자주식회사 Electronic device and applacation controlling method thereof
CN109474481A (en) * 2018-12-27 2019-03-15 瑞斯康达科技发展股份有限公司 Deployed with devices method and system, NM server, mobile terminal, storage medium
CN110351169A (en) * 2019-09-06 2019-10-18 珠海格力电器股份有限公司 The method and apparatus that a kind of pair of equipment is bound

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
办公网迈普交换机IP地址绑定体会;刘秋根;《金融科技时代》;20130210(第02期);全文 *

Also Published As

Publication number Publication date
CN111314105A (en) 2020-06-19

Similar Documents

Publication Publication Date Title
CN102055816A (en) Communication method, business server, intermediate equipment, terminal and communication system
US7774438B2 (en) Parameter provisioning
CN106657434B (en) method and device for checking IP address
US11201928B2 (en) Method of referencing a connection session with a wireless communication device in a local area, a system for implementing this method, a method of referencing an application user, a machine-readable medium for implementing this method, as well as a method of collecting data on the wireless communication device user, and a machine-readable medium for implementing this method
CN112714027B (en) Method and system for accessing terminal equipment of Internet of things to gateway
US20080177868A1 (en) Address Provisioning
CN103281408A (en) Backward registration network penetration method
CN101179515B (en) Method and device for inhibiting black hole routing
CN105592162A (en) Uploading method and system based on multi-type files
US10091205B2 (en) Zeroconf profile transferring to enable fast roaming
CN111314105B (en) Method, device and system for matching connection of equipment
TWI514822B (en) Wireless access point device, network system and network auto-establishing method of the same
US10601824B2 (en) Provision of access to a network
US20080144631A1 (en) Method and apparatus for discovering component in at least one sub-network
JP2007243825A (en) Controller to which programmable controller is applied
JP4676320B2 (en) Switching hub apparatus and duplicate IP address automatic conversion method
CN111010425A (en) Server connection method, load balancing equipment and electronic equipment
CN109257560B (en) Automatic video recording plan generation method, device and system
CN109451047B (en) Data transmission method, device, equipment and storage medium of monitoring alarm system
US11362880B2 (en) Network-operating method in which a query is broadcast by SNMP protocol
CN111181749A (en) Operation and maintenance method and device for equipment in local area network and electronic equipment
CN113037704B (en) Detection device and detection method
CN105678980A (en) Automatic arming and disarming method and device
TWI273793B (en) Method for retrieving real-time network configuration parameters and lease time definition
CN108901082A (en) A kind of cut-in 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
GR01 Patent grant
GR01 Patent grant