A traffic control system and equipment configuration method
By introducing multicast search and batch activation mechanisms into personnel channel equipment, automatic activation of equipment is achieved, which solves the problem of low equipment installation efficiency in the existing technology and improves installation efficiency and automation.
Patent Information
- Application Number
- CN202410981719.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-19
AI Technical Summary
When installing personnel access equipment, the existing technology is inefficient and requires manual activation and configuration one by one. Each additional device increases the operational complexity and time-consuming, especially when the number of devices is large, resulting in low installation efficiency.
Design an access control system in which at least two personnel channel devices are in the same local area network. The first personnel channel device obtains the activation password and network configuration parameters, completes its own activation and configuration, and sends multicast search messages to obtain other devices. information, generate a device list, and the upper platform generates batch activation messages. The first device address and activation password are used to activate other devices to achieve automatic device activation.
It reduces manual workload, improves device activation and installation efficiency, and simplifies the multi-device installation process by automating the activation of other devices.
Smart Images

Figure CN118524121B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information technology, and in particular to a traffic control system and a device configuration method. Background Art
[0002] Personnel access equipment is a device used for access management of places, usually including a series of sensors, controllers, access control equipment and management software, etc., and is widely used in enterprises, schools, communities and other places.
[0003] When installing personnel channel equipment, technical personnel are required to manually activate and configure the personnel channel equipment on site. Specifically, after completing the assembly and installation of the personnel channel equipment, technical personnel need to manually activate, configure and perform other installation operations on each personnel channel equipment one by one, so as to realize the installation of each personnel channel equipment. In this case, when the number of personnel channel equipment is large, the installation efficiency of the personnel channel equipment is low. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a traffic control system and a device configuration method to improve the efficiency of device installation. The specific technical solution is as follows:
[0005] In a first aspect of an embodiment of the present application, a traffic control system is provided, the traffic control system comprising: at least two personnel channel devices, wherein each of the personnel channel devices is in the same local area network; a first personnel channel device, used to obtain an activation password input by a user, and activate its own device according to the activation password; obtain a first network configuration parameter input by a user, and perform network configuration on its own device according to the first network configuration parameter, wherein the first personnel channel device is any one of the personnel channel devices; the first personnel channel device is also used to send a multicast search message in the local area network; other personnel channel devices except the first personnel channel device are used to parse the received message, and when determining that the received message is the multicast search message, send their own device information to the first personnel channel device, wherein the device information includes a device identifier and a device address; the first personnel channel device The channel device is also used to generate a first list including the device identification of each of the other personnel channel devices, and send the first list to the upper platform; obtain a batch activation message sent by the upper platform, wherein the batch activation message is generated by the upper platform according to the device identification of each device in the first list, and the batch activation message includes the device identification of each personnel channel device that needs to be activated; according to the device identification in the batch activation message, find the first device address of the personnel channel device that needs to be activated; generate an activation message including the first device address and the activation password, and send the activation message in the local area network; the other personnel channel device is also used to parse the activation message after receiving the activation message to obtain the first device address and the activation password; when the first device address is the address of its own device, use the activation password to activate its own device.
[0006] In a possible implementation, each of the personnel channel devices is also used to join the same multicast group according to a preset service discovery protocol; the first personnel channel device is specifically used to generate a multicast search message including a channel device extension field, wherein the channel device extension field includes the device identification of the first personnel channel device; and multicast the multicast search message in the multicast group; the other personnel channel devices are specifically used to parse the received message, and when the channel device extension field is parsed, determine that the received message is the multicast search message; the first personnel channel device is also used to discard the received message if the channel device extension field of the received message is the device identification of the first personnel channel device.
[0007] In a possible implementation manner, the first personnel channel device is specifically used to parse the batch activation message to obtain the device identification of each second personnel channel device that needs to be activated; select the second personnel channel device to be activated currently from each of the second personnel channel devices; query and obtain the first device address of the second personnel channel device currently selected according to the device identification of the currently selected second personnel channel device; generate an activation message including the first device address and the activation password; and multicast the activation message in the local area network; the other personnel channel devices are also used to generate an activation response message including the activation result of their own device and the first device identification of their own device after activating their own device using the activation password, and send the activation response message to the first personnel channel device; the first personnel channel device is also used to receive the activation response message; parse the activation response message to obtain the first device identification and activation result, and record the activation result of the personnel channel device represented by the first device identification; select the next second personnel channel device to be activated from each of the second personnel channel devices to continue to perform the activation operation until all the second personnel channel devices are traversed, and the activation results of each second personnel channel device are sent to the upper platform.
[0008] In a possible implementation manner, the first personnel channel device is further used to obtain the channel parameters and credential identification parameters sent by the upper platform after the network configuration is completed, and configure the access function of its own device according to the channel parameters and credential identification parameters; the first personnel channel device is also used to obtain the configuration message sent by the upper platform, parse the configuration message to obtain the device identification of each third personnel channel device that needs configuration parameters, and the configuration parameters of each third personnel channel device; select the third personnel channel device to be configured currently from each third personnel channel device; query and obtain the second device address of the currently selected third personnel channel device according to the device identification of the currently selected third personnel channel device; generate a configuration parameter message including the second device address and the first configuration parameter, wherein the first configuration parameter is the configuration parameter of the currently selected third personnel channel device; multicast the configuration parameter in the local area network message; the other personnel channel devices are also used to parse the configuration parameter message to obtain the second device address and the first configuration parameter after receiving the configuration parameter message; when the second device address is the device address of its own device, use the first configuration parameter to configure its own device; generate a configuration response message including the configuration result of its own device and the second device identifier of its own device, and send the configuration response message to the first personnel channel device; the first personnel channel device is also used to receive the configuration response message; parse the configuration response message to obtain the second device identifier and the configuration result; record the configuration result of the personnel channel device represented by the second device identifier; select the next third personnel channel device to be configured from each of the third personnel channel devices to continue to perform the configuration operation until all the third personnel channel devices are traversed, and send the configuration result of each of the third personnel channel devices to the upper platform.
[0009] In a possible implementation, the configuration message is a network configuration message, and the first configuration parameter includes an IP address and a gateway; the other personnel channel device is specifically used to configure the IP address and gateway of its own device using the IP address and gateway in the first configuration parameter when the second device address is the device address of its own device; or, the configuration message is a channel configuration message, and the first configuration parameter includes channel parameters and credential identification parameters; the other personnel channel device is specifically used to configure the access function of its own device using the channel parameters and credential identification parameters in the first configuration parameter when the second device address is the device address of its own device.
[0010] In a possible implementation manner, the first personnel channel device is further used to obtain the positioning message sent by the upper platform, parse the positioning message to obtain the device identification of each fourth personnel channel device to be located; select the fourth personnel channel device to be located from each of the fourth personnel channel devices; query and obtain the third device address of the fourth personnel channel device currently selected according to the device identification of the currently selected fourth personnel channel device; generate a positioning message including the third device address and a positioning mark; the other personnel channel devices are further used to parse the received message, and when the positioning mark in the message is parsed, determine the received message for the positioning message; when the third device address in the positioning message is the device address of its own device, control its own device to perform a positioning action; generate a positioning response message including the third device identifier of its own device, and send the positioning response message to the first personnel channel device; the first personnel channel device is also used to receive the positioning response message; parse the positioning response message to obtain the third device identifier; record the personnel channel device represented by the third device identifier to complete the positioning; select the next fourth personnel channel device to be located from each of the fourth personnel channel devices to continue the positioning operation until all the fourth personnel channel devices are traversed.
[0011] According to a second aspect of an embodiment of the present application, a device configuration method is provided, which is applied to a first personnel channel device, wherein the first personnel channel device is any personnel channel device in a traffic control system, and the method comprises: obtaining an activation password input by a user, and activating the own device according to the activation password; obtaining a first network configuration parameter input by a user, and performing network configuration on the own device according to the first network configuration parameter; sending a multicast search message in a local area network, so that other personnel channel devices in the local area network send their own device information to the first personnel channel device after receiving the multicast search message, wherein the device information includes a device identifier and a device address; generating a multicast search message including each of the other personnel channel devices; A first list of device identifiers of personnel channel devices is generated, and the first list is sent to an upper-level platform; a batch activation message is obtained from the upper-level platform, wherein the batch activation message is generated by the upper-level platform according to the device identifier of each device in the first list, and the batch activation message includes the device identifier of each personnel channel device that needs to be activated; according to the device identifier in the batch activation message, a first device address of the personnel channel device that needs to be activated is found; an activation message including the first device address and the activation password is generated, and the activation message is sent in the local area network, so that the other personnel channel devices can be activated using the activation password in the activation message after receiving the activation message.
[0012] In a possible implementation, before obtaining the activation password input by the user and activating the own device according to the activation password, the method also includes: after accessing the local area network, joining the multicast group according to a preset service discovery protocol; sending a multicast search message in the local area network, including: generating a multicast search message including a channel device extension field, wherein the channel device extension field includes the identification of the first personnel channel device itself; multicasting the multicast search message in the multicast group; the method also includes: if the channel device extension field of the received message is the identification of the first personnel channel device itself, discarding the received message.
[0013] In a possible implementation manner, the method of searching for the first device address of the personnel channel device to be activated according to the device identifier in the batch activation message; generating an activation message including the first device address and the activation password, and sending the activation message in the local area network includes: parsing the batch activation message to obtain the device identifier of each second personnel channel device to be activated; selecting the second personnel channel device to be activated currently from each second personnel channel device; querying and obtaining the first device address of the second personnel channel device currently selected according to the device identifier of the second personnel channel device currently selected; generating an activation message including the first device address and the activation password; multicasting the activation message in the local area network so that After the other personnel channel device is activated using the activation password, it generates an activation response message including the activation result of the other personnel channel device and the first device identifier of the other personnel channel device, and sends the activation response message to the first personnel channel device; receives the activation response message sent by the other personnel channel device; parses the activation response message to obtain the first device identifier and the activation result, and records the activation result of the personnel channel device represented by the first device identifier; selects the next second personnel channel device to be activated from each of the second personnel channel devices to continue the activation operation until all the second personnel channel devices are traversed, and sends the activation result of each second personnel channel device to the upper platform.
[0014] In a possible implementation, the method further includes: after the network configuration is completed, obtaining the channel parameters and credential identification parameters sent by the upper platform, and configuring the access function of the own device according to the channel parameters and credential identification parameters; obtaining the configuration message sent by the upper platform, parsing the configuration message to obtain the device identification of each third personnel channel device that needs to be configured, and the configuration parameters of each third personnel channel device; selecting the third personnel channel device to be configured currently from each third personnel channel device; according to the device identification of the currently selected third personnel channel device, querying to obtain the second device address of the currently selected third personnel channel device; generating a configuration parameter message including the second device address and the first configuration parameter, wherein the first configuration parameter is the currently selected configuration parameters of the third personnel channel device; multicast the configuration parameter message in the local area network so that the other personnel channel devices configure their own devices using the first configuration parameters, generate a configuration response message including the configuration results of the other personnel channel devices and the second device identifier, and send the configuration response message to the first personnel channel device; receive the configuration response message; parse the configuration response message to obtain the second device identifier and the configuration result; record the configuration result of the personnel channel device represented by the second device identifier; select the next third personnel channel device to be configured from each of the third personnel channel devices to continue to perform the configuration operation until all the third personnel channel devices are traversed, and send the configuration result of each of the third personnel channel devices to the upper platform.
[0015] In a possible implementation, the method further includes: obtaining a positioning message sent by the upper platform, parsing the positioning message to obtain the device identification of each fourth personnel channel device to be located; selecting the fourth personnel channel device to be located from each of the fourth personnel channel devices; using the device identification of the currently selected fourth personnel channel device as a keyword, querying to obtain the third device address of the currently selected fourth personnel channel device; generating a positioning message including the third device address and a positioning mark; so that the other personnel channel devices control their own devices to perform positioning actions, generating a positioning response message including the third device identification of the other personnel channels, and sending the positioning response message to the first personnel channel device; receiving the positioning response message; parsing the positioning response message to obtain the third device identification; recording the personnel channel device represented by the third device identification to complete positioning; selecting the next fourth personnel channel device to be located from each of the fourth personnel channel devices to continue to perform the positioning operation until all the fourth personnel channel devices are traversed.
[0016] According to a third aspect of an embodiment of the present application, a device configuration method is provided, which is applied to other personnel channel devices, wherein the other personnel channel devices are personnel channel devices other than the first personnel channel device in the access control system, and the first personnel channel device is any one of the personnel channel devices in the access control system, and the method comprises: parsing a received message, and when it is determined that the received message is a multicast search message, sending its own device information to the first personnel channel device, so that the first personnel channel device generates a first list including device identification, and sends the first list to an upper-level platform; wherein the device information comprises the device identification and the device address, and the multicast search message is a multicast search message sent in a local area network after the manual configuration of the first personnel channel device is completed; after receiving an activation message, parsing the activation message to obtain a first device address and an activation password; wherein the activation message is generated by the first personnel channel device according to a batch activation message sent by the upper-level platform; when the first device address is the address of its own device, using the activation password to activate its own device.
[0017] In a possible implementation manner, parsing the received message includes: parsing the received message, and when a channel device extension field is parsed out, determining that the received message is the multicast search message.
[0018] In a possible implementation, the method further includes: after activating the own device using the activation password, generating an activation response message including the activation result of the own device and the first device identifier of the own device, and sending the activation response message to the first personnel channel device; so that the first personnel channel device records the activation result of the personnel channel device represented by the first device identifier, and sends the activation result to the upper platform.
[0019] In a possible implementation, the method further includes: after receiving a configuration parameter message, parsing the configuration parameter message to obtain a second device address and a first configuration parameter; wherein the configuration parameter message is generated by the first personnel channel device according to the configuration message sent by the upper platform; when the second device address is the device address of its own device, configuring its own device using the first configuration parameter; generating a configuration response message including the configuration result of its own device and the second device identifier of its own device, and sending the configuration response message to the first personnel channel device; so that the first personnel channel device records the configuration result of the personnel channel device represented by the second device identifier, and sends each of the configuration results to the upper platform.
[0020] In a possible implementation, the method further includes: parsing the received message, and when a positioning mark is parsed in the message, determining that the received message is a positioning message; wherein the positioning message is generated by the first personnel channel device according to the positioning message of the upper platform; when the third device address in the positioning message is the device address of its own device, controlling its own device to perform a positioning action; generating a positioning response message including a third device identifier of its own device, and sending the positioning response message to the first personnel channel device; so that the first personnel channel device records the personnel channel device represented by the third device identifier to complete the positioning.
[0021] In another aspect of the embodiments of the present application, there is also provided an electronic device, comprising: a memory for storing a computer program; and a processor for implementing any device configuration method described in the embodiments of the present application when executing the program stored in the memory.
[0022] On the other hand, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the device configuration method described in any one of the embodiments of the present application is implemented.
[0023] The embodiments of the present application also provide a computer program product including instructions, which, when executed on a computer, enables the computer to execute any device configuration method described in the embodiments of the present application.
[0024] Beneficial effects of the embodiments of the present application:
[0025] The embodiments of the present application provide a traffic control system, a device configuration method, an electronic device and a storage medium. The first personnel channel device can first complete its own activation and configuration according to the activation password and the first network configuration parameters input by the user; then send a multicast search message to obtain the device information of other personnel channel devices, and generate a first list and send it to the upper platform; thereby enabling the upper platform to send a batch activation message according to the device information of the personnel channel devices that need to be activated in the first list, and the first personnel channel device obtains the first device address and the activation password of the personnel channel devices that need to be activated according to the batch activation message, generates an activation message for the personnel channel devices that need to be activated and sends it in the local area network; thereby enabling other personnel channel devices to complete their own activation after determining that the first device address in the activation message is their own device address.
[0026] Therefore, it is only necessary to manually activate one personnel channel device, and then the activation of other personnel channel devices can be automatically achieved through the personnel channel device, without the need to manually activate each personnel channel device one by one, thereby reducing manual workload, improving equipment activation efficiency, and further improving the installation efficiency of personnel channel equipment.
[0027] Of course, implementing any product or method of the present application does not necessarily require achieving all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other embodiments can also be obtained based on these drawings.
[0029] Figure 1 A schematic diagram of a structure of a traffic control system provided in an embodiment of the present application;
[0030] Figure 2 A schematic diagram of a first personnel channel device communicating with other personnel channel devices provided in an embodiment of the present application;
[0031] Figure 3 A schematic diagram of an upper platform sending an activation request provided in an embodiment of the present application;
[0032] Figure 4 This is a schematic diagram of the operation of the traffic control system provided in the embodiment of the present application when activating the device;
[0033] Figure 5 A schematic diagram of an upper platform sending a network parameter configuration request provided in an embodiment of the present application;
[0034] Figure 6 A schematic diagram of an upper platform sending a device parameter configuration request provided in an embodiment of the present application;
[0035] Figure 7 This is a schematic diagram of the operation of the traffic control system provided in the embodiment of the present application when configuring equipment parameters;
[0036] Figure 8 A schematic diagram of the operation of the traffic control system provided in the embodiment of the present application when performing device positioning;
[0037] Fig. 9 A flow chart of a device configuration method provided in an embodiment of the present application;
[0038] Fig.10 Another flow chart of the device configuration method provided in the embodiment of the present application;
[0039] Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field based on the present application belong to the scope of protection of the present application.
[0041] When the personnel channel equipment is installed on-site, due to the complexity of the operation, each device needs to be activated, configured with network parameters and channel parameters, and positioned. When there are multiple sets of personnel channels that need to be installed, the relevant operators need to repeatedly configure in order for each personnel channel device to achieve the installation purpose, which makes the installation efficiency of the personnel channel equipment low, and the subsequent parameter synchronization operation will also be more complicated.
[0042] In one example, when multiple personnel channel devices need to be activated and configured to complete the installation, for example, there are 5 personnel channel devices that need to be installed, then in the prior art, the relevant operators need to manually activate and configure each personnel channel device one by one. However, in actual applications, a public place such as a station, community, etc. requires a large number of personnel channel devices. If they still rely on manual activation or configuration one by one, it will be time-consuming and labor-intensive, resulting in low activation and configuration efficiency of the personnel channel devices, thereby causing low installation efficiency of the personnel channel devices.
[0043] To solve at least one of the above problems, in the system of the embodiment of the present application, the relevant operator can manually activate and configure only one of the devices, namely the first personnel channel device. After the first personnel channel device is activated and configured to complete the installation, the upper platform can access the first personnel channel device, thereby completing the relevant activation or configuration operations of other personnel channel devices by accessing the first personnel channel device, thereby realizing the installation of each personnel channel device. In this process, the relevant operator only needs to manually activate one personnel channel device, and access the first personnel channel device through the upper platform to complete the activation of other personnel channel devices in the system, which can reduce the workload of technical personnel in manually activating personnel channel devices and improve equipment installation efficiency. The following embodiments are used to specifically illustrate the technical solution of the present application:
[0044] In a first aspect, an embodiment of the present application provides a traffic control system, such as Figure 1 As shown, the system includes at least two personnel channel devices 101, wherein each personnel channel device 101 is in the same local area network;
[0045] The first personnel channel device is used to obtain the activation password input by the user and activate its own device according to the activation password; obtain the first network configuration parameters input by the user and perform network configuration on its own device according to the first network configuration parameters, wherein the first personnel channel device is any personnel channel device.
[0046] The first personnel channel device is any personnel channel device, and the technician manually activates the first personnel channel device, for example, inputs the activation password to the first personnel channel device, so that the first personnel channel device completes its own activation. The activation password is the key set when the device is shipped, and the first personnel channel device can be accessed by the upper platform only after completing its own activation using the activation password. The first network configuration parameter is used to determine the communication mode and range of the personnel channel device, and may include configuration of the IP (Internet Protocol) address, subnet mask, gateway, server, network interface and other information of the personnel channel device.
[0047] In actual applications, the personnel channel device is in an inactivated state when it leaves the factory. In the inactivated state, the operating parameters of the personnel channel device are at the factory default values, the upper platform cannot access the personnel channel device through the network, and the parameters of the personnel channel device cannot be configured. After the personnel channel device is activated, it is in the activated state. In the activated state, the network parameters and other channel parameters of the personnel channel device can be configured. After configuring the appropriate network parameters, the upper platform can access the personnel channel device through the network and configure the relevant parameters of the personnel channel device.
[0048] The first personnel channel device is also used to send multicast search messages in the local area network.
[0049] Among them, each personnel channel device can be added to the same multicast group, and the multicast search message can be sent in the local area network through the router. In an example, the router needs to support multicast routing protocols, such as PIM (Protocol Independent Multicast), DVMPR (Distance Vector Multicast Routing Protocol) and other protocols to realize the transmission of multicast data, and it is also necessary to configure multicast routing in the network to indicate the transmission path of multicast data. In actual applications, the first personnel channel device has been manually configured in advance, and the configuration includes operations such as activation, network configuration, and access function configuration.
[0050] The other personnel channel devices except the first personnel channel device are used to parse the received message, and when it is determined that the received message is a multicast search message, send their own device information to the first personnel channel device, wherein the device information includes a device identifier and a device address.
[0051] Among them, the device information is the key information that can locate the personnel channel device itself, including the device identification and the device address. For example, the device identification information can be the device serial number, device model, device name and other information. The device address information can be IP address information or physical address information, wherein the physical address information refers to the MAC address (Media Access Control Address) of the personnel channel device, and the personnel channel device in the local area network can be identified based on the MAC address. In actual applications, the first personnel channel device is used to communicate with the upper platform, and other personnel channel devices in the personnel channel device communicate with the first personnel channel device. In the multicast group composed of each personnel channel device, a multicast address can be selected to identify the destination address of the multicast data, which is used to identify the personnel channel device of the specific multicast group.
[0052] In one example, the communication between other personnel channel devices and the first personnel channel device is realized through the SADP (Search Active Device Protocol) protocol, wherein the protocol predefines the multicast message protocol format assembled by the personnel channel devices, and each device can support the operation of the SADP service. Each other personnel channel device starts the SADP service to listen to the multicast message. The operator triggers the device search on the web interface of the first personnel channel device, so that the first personnel channel device sends a specific multicast search message to the local area network. After receiving the SADP multicast search request carrying the multicast search message, the other personnel channel devices will parse it to determine whether it is a specific multicast search message. If so, they will send their own device information to the first personnel channel device. Other non-personnel channel devices will not reply after receiving the specific multicast search message even if they join the multicast group.
[0053] like Figure 2 As shown, each personnel channel device joins the same multicast group. The first personnel channel device is the currently operating personnel channel device. A specific multicast search message is sent through a router. After receiving the message, other personnel channel devices parse it to determine whether the message is a specific multicast message. If so, they respond and reply the device information to the router, that is, the device information of other personnel channel devices is sent to the first personnel channel device through the router, and other devices not in the multicast group do not respond to the specific multicast message.
[0054] The first personnel channel device is also used to generate a first list including the device identification of each other personnel channel device, and send the first list to the upper platform; obtain a batch activation message sent by the upper platform, wherein the batch activation message is generated by the upper platform according to the device identification of each device in the first list, and the batch activation message includes the device identification of each personnel channel device that needs to be activated; according to the device identification in the batch activation message, find the first device address of the personnel channel device that needs to be activated; generate an activation message including the first device address and the activation password, and send the activation message in the local area network.
[0055] Among them, the upper platform can be a platform, system or server that comes with the access control system, or it can be a third-party platform, and its main function is to centrally manage and control each personnel channel device. For example, the upper platform can initiate an activation request, a network configuration request, a parameter configuration request, a positioning request, etc. to the personnel channel device. In one example, the device management interface of the upper platform can include a management interface of an unactivated personnel channel device and a management interface of an activated personnel channel device, and each management interface can include information such as the model, serial number, IP address, and activation status of the personnel channel device. In addition, in one example, configuration buttons (or configuration controls) for these activated personnel channel devices can be set below the management interface of the activated personnel channel device. These configuration buttons can include network configuration buttons, and / or parameter configuration buttons, etc., or these configuration buttons can include batch network configuration buttons, and / or batch parameter configuration buttons, etc. In another example, configuration buttons (or configuration controls) for these unactivated personnel channel devices can be set below the management interface of the unactivated personnel channel device. The configuration button can include an activation button, etc.; or the configuration button can include a batch activation button, etc. And, in another example, the device management interface may include a selection control for a user to select a single device and / or select devices in batches. After the first personnel channel device completes activation and network configuration, the upper platform can access the first personnel channel device through the web (network) and receive device information of other personnel channel devices sent by the first personnel channel device.
[0056] In one example, after receiving the first list, the upper-level platform can obtain the device identification information of each other personnel channel device, such as the device serial number, determine each personnel channel device that needs to be activated based on the device identification of each other personnel channel device, and send a batch activation message to the first personnel channel device based on the device information of the other personnel channel devices to be activated.
[0057] The upper platform selects other personnel channel devices to be activated from the other personnel channel device information sent by the first personnel channel device, and enters by triggering the "activate" command Figure 3The activation interface shown is used to perform batch activation operations and send batch activation messages to the first personnel channel device.
[0058] After acquiring the device information of each personnel channel device, the first personnel channel device may also generate a second list and save the second list locally, wherein the second list at least includes the device identification and device address of each personnel channel device.
[0059] After receiving the batch activation message, the first personnel channel device parses it, obtains the device identification of each personnel channel device that needs to be activated in the batch activation message, and finds the first device address of the personnel channel device that needs to be activated according to the device identification in the batch activation message; generates an activation message including the first device address and the activation password, and sends the activation message in the local area network.
[0060] In one example, after receiving the batch activation message, the first personnel channel device parses the batch activation message, obtains the device identification of the personnel channel device to be activated in the batch activation message, queries the second list according to the device identification of the personnel channel device to be activated, obtains the device address of the personnel channel device to be activated, that is, the first device address, assembles the first device address and the activation password into an activation message, and sends the activation message in the local area network. In actual applications, the activation passwords of various personnel channel devices remain consistent, that is, the activation passwords of other personnel channel devices are the same as the activation password of the first personnel channel device.
[0061] Other personnel channel devices are also used to parse the activation message to obtain the first device address and the activation password after receiving the activation message; when the first device address is the address of the own device, use the activation password to activate the own device.
[0062] By applying the system of the embodiment of the present application, the first personnel channel device can first complete its own activation and configuration according to the activation password and the first network configuration parameters input by the user; then send a multicast search message to obtain the device information of other personnel channel devices, and generate a first list and send it to the upper platform; thereby enabling the upper platform to send a batch activation message according to the device information of the personnel channel devices that need to be activated in the first list, and the first personnel channel device obtains the first device address and activation password of the personnel channel devices that need to be activated according to the batch activation message, generates an activation message for the personnel channel device that needs to be activated and sends it in the local area network; thereby enabling other personnel channel devices to complete their own activation after determining that the first device address in the activation message is their own device address.
[0063] Therefore, it is only necessary to manually activate one personnel channel device, and then the activation of other personnel channel devices can be automatically achieved through the personnel channel device, without the need to manually activate each personnel channel device one by one, thereby reducing manual workload, improving equipment activation efficiency, and further improving the installation efficiency of personnel channel equipment.
[0064] In a possible implementation manner, each personnel channel device is further used to join the same multicast group according to a preset service discovery protocol;
[0065] The first personnel channel device is specifically used to generate a multicast search message including a channel device extension field, wherein the channel device extension field includes a device identifier of the first personnel channel device; and multicast the multicast search message in the multicast group;
[0066] Other personnel channel devices are specifically used to parse the received message, and when the channel device extension field is parsed, determine that the received message is a multicast search message;
[0067] The first personnel channel device is further configured to discard the received message if the channel device extension field of the received message is the device identification of the first personnel channel device.
[0068] Normally, the manufacturers of the personnel channel devices are the same and they can communicate through the same network protocol, namely the preset service discovery protocol, which specifies the message format sent by each personnel channel device when communicating. In the same multicast group, the personnel channel device determines whether to respond to the message by identifying whether the received message is in the format specified by the preset service discovery protocol.
[0069] In order to ensure that each personnel channel device accurately responds to the message of the first personnel channel device, the multicast search message sent by the first personnel channel device includes a channel device extension field, and the channel device extension field is the device identifier of the first personnel channel. In an example, if the original message is 30 characters, the multicast search message is based on the specified format, and 5 characters are added after the original message to indicate the device identifier of the first personnel channel device, such as adding the device serial number of the first personnel channel device.
[0070] Since each personnel channel device is generally manufactured by the same manufacturer, their device serial numbers have certain similarities. Therefore, after receiving the multicast search message and parsing it, other personnel channel devices can determine that the device serial number in the multicast search message is the device serial number of the first personnel channel device, and then respond to the multicast search message and send their own device information to the first personnel channel device. In actual applications, the first personnel channel device does not need to collect its own device information. Therefore, after receiving the multicast search message sent by itself, that is, after identifying that the channel device extension field of the received message is its own device identifier, the first personnel channel device discards the message.
[0071] By applying the system of the embodiment of the present application, other personnel channel devices can determine that the received message is a message of the first personnel channel device by identifying whether the channel device extension field in the multicast search message is the device identifier of the first personnel channel device, thereby avoiding sending device information to other devices and improving the accuracy of communication between personnel channel devices.
[0072] In one possible implementation,
[0073] The first personnel channel device is specifically used to parse the batch activation message to obtain the device identification of each second personnel channel device that needs to be activated; select the second personnel channel device to be activated currently from each second personnel channel device; query and obtain the first device address of the currently selected second personnel channel device based on the device identification of the currently selected second personnel channel device; generate an activation message including the first device address and the activation password; and multicast the activation message in the local area network.
[0074] After the first personnel channel device obtains each second personnel channel device that needs to be activated, it needs to generate an activation message corresponding to each second personnel channel device. For example, the first personnel channel device first selects a second personnel channel device, queries the second list according to the device identifier of the second personnel channel device, obtains the first device address of the second personnel channel device, assembles the first device address of the second personnel channel device and the activation password into an activation message, and multicasts it in the local area network.
[0075] Other personnel channel devices are also used to generate an activation response message including the activation result of their own device and the first device identification of their own device after activating their own device using the activation password, and send the activation response message to the first personnel channel device.
[0076] The first personnel channel device is also used to receive an activation response message; parse the activation response message to obtain the first device identifier and the activation result, and record the activation result of the personnel channel device represented by the first device identifier; select the next second personnel channel device to be activated from each second personnel channel device to continue the activation operation until all second personnel channel devices are traversed, and send the activation result of each second personnel channel device to the upper platform.
[0077] After receiving the activation message, other personnel channel devices parse it to obtain the first device address in the activation message, and determine whether the first device address is their own device address. If so, they consider the activation message to be the activation message corresponding to themselves, and respond to the activation message, activate themselves according to the activation password in the activation message, and return the activation result and their own first device identification as an activation response message to the first personnel channel device. After receiving the activation response message, the first personnel channel device parses it to obtain the first device identification and activation result, and records them, and then selects the next unactivated second personnel channel device until the activation response messages of all second personnel channel devices are received.
[0078] In an example, the access control system includes personnel channel devices A, B and C, wherein personnel channel device A is the first personnel channel device, personnel channel devices B and C are other personnel channel devices, and the batch activation message includes the device identifiers of other personnel channel devices B and C, then personnel channel devices B and C are second personnel channel devices.
[0079] The first personnel channel device A obtains the device identifications of personnel channel devices B and C by parsing the batch activation message, and queries the second list to obtain the device addresses of personnel channel devices B and C. Then, the personnel channel device A can first select the device address of personnel channel device B, generate activation message b of personnel channel device B in combination with the activation password, and multicast the activation message in the local area network. After receiving the activation message b, the personnel channel device B parses it and determines that the first device address in the activation message b is its own device address, and then determines that the message is the activation message corresponding to itself, and then obtains the activation password in the activation message b, activates itself, and assembles the activation result and its own first device identification into an activation response message 1 and sends it to the personnel channel device A. After receiving the activation message b, the personnel channel device C determines that it is not the activation message corresponding to itself, and then ignores the activation message.
[0080] After receiving the activation response message 1, the first personnel channel device A records the activation result of the personnel channel device b, and then generates an activation message c for the personnel channel device C according to the device address of the personnel channel device C, and multicasts the activation message c in the local area network. After receiving the activation message c, the personnel channel device C determines that the message is the activation message corresponding to itself, and then responds to the activation message c to activate itself, and also generates an activation response message 2 and sends it to the first personnel channel device A.
[0081] In another example, the activation process of each personnel channel device in the embodiment of the present application is described. Figure 4 As shown, the first personnel channel device is the currently operated personnel channel device, wherein the first personnel channel device is a pre-manually configured personnel channel device, that is, an activated personnel channel device. The first personnel channel device first performs a device search, sends a multicast search message to other personnel channel devices (such as personnel channel device 1, personnel channel device 2, ... personnel channel device N), and performs search multicast. After receiving the multicast search message, each other personnel channel device returns information, wherein the returned information is its own device information. After receiving the batch activation request from the upper platform, the currently operated personnel channel device searches its own device search list, that is, the second list, and obtains the MAC address information of each second personnel channel device according to the device identification (device serial number) of each second personnel channel that needs to be activated in the batch request, and then assembles the activation message according to the device serial number and MAC address information of each second personnel channel device.
[0082] In an example, if the first personnel channel device currently in operation needs to activate personnel channel devices 1 and 2 in batches, an activation message for personnel channel device 1 can be generated and multicasted to activate personnel channel device 1, and then an activation message for personnel channel device 2 can be generated and multicasted to activate personnel channel device 2. For example, the currently operating personnel channel device assembles an activation message for personnel channel device 1 based on the information (serial number / MAC address, etc.) of personnel channel device 1 obtained through search, and multicasts the activation message. Each personnel channel device is listening to the multicast request, and after receiving the activation message, it compares the MAC address information in the message to see if it is the local MAC address. If so, it responds to the activation and returns the activation result. If not, it ignores the activation message.
[0083] After the activation process of the previous device is completed, the currently operated personnel channel device records the activation result, continues to activate personnel channel device 2 in the same way, generates an activation message for personnel channel device 2, and after receiving the activation message, personnel channel device 2 responds to the activation message to activate itself and returns the activation result. Similarly, when personnel channel devices 1 to N are all activated, the currently operated personnel channel device assembles the activation result list message after the activation process of all devices is completed and returns it to the upper platform.
[0084] By using the system of the embodiment of the present application, the first personnel channel device can receive and record the activation results of other personnel channel devices, so as to determine the unactivated second personnel channel device, and then select and send the activation message. And the activation results of each other personnel channel device are sent to the upper platform, so that the upper platform can manage the activation status of each other personnel channel device to ensure that each personnel channel device is activated.
[0085] In a possible implementation, the first personnel channel device is further used to obtain channel parameters and credential identification parameters sent by the upper platform after the network configuration is completed, and configure the access function of its own device according to the channel parameters and credential identification parameters.
[0086] The first personnel channel device is also used to obtain the configuration message sent by the upper platform, parse the configuration message to obtain the device identification of each third personnel channel device that needs configuration parameters, and the configuration parameters of each third personnel channel device; select the third personnel channel device to be configured from each third personnel channel device; query and obtain the second device address of the currently selected third personnel channel device according to the device identification of the currently selected third personnel channel device; generate a configuration parameter message including the second device address and the first configuration parameter, wherein the first configuration parameter is the configuration parameter of the currently selected third personnel channel device; and multicast the configuration parameter message in the local area network.
[0087] Other personnel channel devices are also used to parse the configuration parameter message to obtain the second device address and the first configuration parameter after receiving the configuration parameter message; when the second device address is the device address of its own device, use the first configuration parameter to configure its own device; generate a configuration response message including the configuration result of its own device and the second device identifier of its own device, and send the configuration response message to the first personnel channel device.
[0088] The first personnel channel device is also used to receive a configuration response message; parse the configuration response message to obtain a second device identifier and a configuration result; record the configuration result of the personnel channel device represented by the second device identifier; select the next third personnel channel device to be configured from each third personnel channel device to continue to perform the configuration operation until all third personnel channel devices are traversed, and send the configuration result of each third personnel channel device to the upper platform.
[0089] Among them, the passage function configuration refers to the relevant arrangements for opening the passage function of the personnel channel equipment, and the channel parameters refer to the relevant parameters of the personnel channel equipment when performing operations such as opening the channel equipment. For example, it can include the open channel mode parameters of the personnel channel equipment, such as rotating the blocking rod to allow authenticated personnel to pass through the personnel channel equipment, or translating the blocking plate to allow authenticated personnel to pass through the personnel channel equipment; it can also include the opening time parameters of the personnel channel, for example, setting 3s, 5s, 8s, etc. to specify the opening time of the personnel channel.
[0090] Credential identification parameters refer to relevant parameters for verification when a person passes through a personnel channel device, for example, may include verification methods such as facial recognition, QR code verification, processor unit verification, etc. that can be verified by the personnel channel device.
[0091] Similar to the batch activation operation, the configuration message sent by the upper platform to the first personnel channel device can also be a batch configuration message. In a possible implementation, the configuration message can be divided into a network configuration message or a channel configuration message. The network configuration is mainly used to realize the network connection of the personnel channel device to ensure that the personnel channel device can communicate normally; the channel configuration is mainly used to configure the access function of the personnel channel device to ensure that the personnel channel device can realize the access function as required.
[0092] Then in a possible implementation, when the configuration message is a network configuration message, the first configuration parameter includes an IP address and a gateway; other personnel channel devices are specifically used to configure the IP address and gateway of their own devices using the IP address and gateway in the first configuration parameter when the second device address is the device address of their own devices;
[0093] When the configuration message is a channel configuration message, the first configuration parameter includes channel parameters and credential identification parameters; other personnel channel devices are specifically used to configure the access function of their own devices using the channel parameters and credential identification parameters in the first configuration parameter when the second device address is the device address of their own devices.
[0094] The upper platform selects the activated other personnel channel devices to be configured in the first list of other personnel channel device information sent by the first personnel channel device. The display interface may include the number, model, serial number, IP address and activation status of other personnel channel devices. The network configuration interface can be entered through the "batch network configuration" operation to determine the network parameter configuration operation, for example Figure 5 As shown. Send a network configuration message to the first personnel channel device for network configuration. In another example, the upper platform selects other personnel channel devices to be configured from the other personnel channel device information sent by the first personnel channel device. The display interface may include information such as the model, serial number, IP address, and activation status of other personnel channel devices; the "batch parameter configuration" operation can be used to enter Figure 6 The interface is used to determine the channel parameter configuration operation, and a channel configuration message for performing channel configuration is sent to the first personnel channel device.
[0095] The system using the embodiments of the present application can enable the personnel channel device to complete different configuration operations, such as network parameter configuration or channel parameter configuration operations, by sending different types of configuration messages to the personnel channel device, thereby avoiding manual configuration operations on each personnel channel device one by one, improving the parameter configuration efficiency of the personnel channel device, and further improving the installation efficiency of the personnel channel device.
[0096] In an embodiment of the present application, the configuration parameter message may also carry a password for device verification to further determine whether it is a third-party personnel channel device that requires configuration parameters.
[0097] Similarly, when other personnel channel devices receive the configuration parameter message, they need to parse and determine whether the second device address therein is their own device address. If so, they respond and complete the configuration parameter operation, generate a configuration response message and return it to the first personnel channel device. If not, they ignore the configuration parameter message.
[0098] In addition, other personnel channel devices can also determine whether the type of the configuration parameter message is a network configuration message or a channel parameter configuration message after parsing the configuration parameter message. If the configuration parameter message is a network configuration message, the other personnel channel devices can obtain the network parameters (such as IP address, gateway, etc.) that need to be configured in the configuration parameter message, update the network parameters to their own devices, and generate configuration results. If the configuration parameter message is a channel parameter configuration message, the other personnel channel devices can obtain the parameter information values (such as credential identification parameters, channel parameters, etc.) that need to be synchronized in the channel parameter configuration message, update the parameter information values to their own devices, and generate configuration results.
[0099] Similarly, the first personnel channel device may record the configuration responses received from the other personnel channel devices, and send the configuration results of the other personnel channel devices to the upper platform.
[0100] The following example is used to specifically illustrate the configuration parameter operation in the embodiment of the present application. Figure 7 As shown, the first personnel channel device is the currently operated personnel channel device. It first performs a device search and sends a multicast search message to other personnel channel devices (such as personnel channel device 1, personnel channel device 2, ... personnel channel device N) to perform a search multicast. After receiving the multicast search message, each personnel channel device returns information, wherein the returned information is its own device information. After receiving the configuration message from the upper platform, the currently operated personnel channel device searches its own device search list, i.e., the second list, and obtains the MAC address information of each personnel channel device according to the device serial number of each other personnel channel device that needs to be configured with parameters in the configuration message, and then generates a configuration parameter message according to the serial number and MAC address information of each personnel channel device and the configuration parameters.
[0101] In an example, the currently operated personnel channel device needs to configure personnel channel devices 1 and 2 in batches. Then, a configuration parameter message for personnel channel device 1 can be generated and multicasted to configure the parameters of personnel channel device 1, and then a configuration parameter message for personnel channel device 2 can be generated and multicasted to configure the parameters of personnel channel device 2. Then, the currently operated personnel channel device assembles the configuration parameter message according to the information (serial number / MAC address, etc.) of personnel channel device 1 obtained through search, and multicasts the configuration parameter message. In actual applications, each personnel channel device listens to the multicast request. After receiving the configuration parameter message, it compares the MAC address information in the message to see if it is the local MAC address. If so, it responds to the configuration and returns the configuration result. If not, it ignores the configuration parameter message.
[0102] After the last device configuration process is completed, the currently operated personnel channel device records the configuration result, continues to configure personnel channel device 2 in the same way, generates a configuration parameter message for personnel channel device 2, and after receiving the configuration parameter message, personnel channel device 2 responds to the configuration and returns the configuration result. Similarly, when personnel channel devices 1 to N are all configured, the currently operated personnel channel device assembles a configuration result list message after all device configuration processes are completed and returns it to the upper platform.
[0103] Using the system of the embodiment of the present application, the first personnel channel device can generate corresponding configuration parameter messages according to the physical addresses and configuration parameters corresponding to the other personnel channel devices, and multicast the configuration parameter messages in the local area network, so that the other personnel channel devices respond to the parameter configuration according to their corresponding configuration parameter messages, so that the technicians can complete the configuration of the other personnel channel devices in the system by configuring the parameters of only one personnel channel device, which can reduce the workload of the technicians in manually configuring the personnel channel devices, improve the efficiency of configuring the parameters of the personnel channel devices, and thus improve the installation efficiency of the personnel channel devices. And directly performing configuration parameter operations on the other personnel channel devices through the first personnel channel device can synchronize the parameters of the other personnel channel devices, thereby reducing the difficulty of the personnel channel device parameter synchronization operation.
[0104] In a possible implementation, the first personnel channel device is also used to obtain a positioning message sent by an upper platform, parse the positioning message to obtain a device identifier of each fourth personnel channel device to be located; select a fourth personnel channel device to be located from among the fourth personnel channel devices; query and obtain a third device address of the currently selected fourth personnel channel device based on the device identifier of the currently selected fourth personnel channel device; and generate a positioning message including a third device address and a positioning mark.
[0105] Other personnel channel devices are also used to parse the received message, and when the positioning mark in the message is parsed, it is determined that the received message is a positioning message; when the third device address in the positioning message is the device address of its own device, it controls its own device to perform a positioning action; generates a positioning response message including the third device identifier of its own device, and sends the positioning response message to the first personnel channel device.
[0106] The first personnel channel device is also used to receive a positioning response message; parse the positioning response message to obtain a third device identifier; record the personnel channel device represented by the third device identifier to complete the positioning; select the next fourth personnel channel device to be located from each fourth personnel channel device to continue the positioning operation until all fourth personnel channel devices have been traversed.
[0107] In actual applications, the upper-level platform can select the fourth personnel channel device that needs to be located according to actual needs, and generate a positioning message according to the device identifier of the selected fourth personnel channel device, for example, select one or two other personnel channel devices for positioning. The first personnel channel device can obtain the device address of the fourth personnel channel device by the same method as the above embodiment, and generate a positioning message according to the device address and the positioning mark. The device management interface of the upper-level platform can display the status information of each device, wherein the positioning operation can be determined by the device positioning icon, and a positioning message is sent to the first personnel channel device.
[0108] Among them, the positioning action performed by other personnel channel equipment is an action that can be easily observed by the operator. The positioning action can be determined by the positioning mark. For example, the operator can clearly know the device being positioned by controlling the door opening and light prompt. In order to make the positioning clearer, the light prompt can be a constant light or a flashing light. The following example is used to specifically illustrate the positioning operation of the embodiment of the present application. Figure 8 As shown, the first personnel channel device is the currently operated personnel channel device. It first performs device search and sends multicast search messages to other personnel channel devices (such as personnel channel device 1, personnel channel device 2, ... personnel channel device N) to perform search multicast. After receiving the multicast search message, each personnel channel device returns information, where the returned information is its own device information. After receiving the positioning message from the upper platform, the currently operated personnel channel device searches its own device search list to obtain the MAC address information of each fourth personnel channel device, and then assembles the positioning message according to the serial number, MAC address information, and positioning mark of each personnel channel device.
[0109] Generally, in order to more clearly identify the personnel channel device, the operator will only select one personnel channel device for positioning. In one example, the currently operated personnel channel device needs to locate personnel channel device 2, and a positioning message for personnel channel device 2 can be generated for multicasting so that personnel channel device 2 responds to the positioning message. Then the currently operated personnel channel device assembles the positioning message according to the information of personnel channel device 2 (serial number / MAC address, etc.) obtained through search, generates a positioning message for personnel channel device 2, and multicasts the positioning message.
[0110] In actual applications, each personnel channel device listens to multicast requests. After receiving the positioning message, it compares the MAC address information in the message to see if it is the local MAC address. If so, it responds to the positioning message. When responding to the positioning message, it can control its own device to perform the positioning action and return the positioning response message. If not, it ignores the positioning message. When personnel channel device 2 determines that the MAC address in the positioning message is its own MAC address, it performs light prompts and door opening actions, and generates a positioning response message and returns it to the currently operating personnel channel device. After the process is completed, the currently operating personnel channel device assembles the positioning result message and returns it to the upper platform.
[0111] By applying the system of the embodiment of the present application, the first personnel channel device can generate corresponding positioning messages according to the physical addresses and positioning marks corresponding to other personnel channel devices, and multicast the positioning messages in the local area network, so that other personnel channel devices respond to the positioning request according to their corresponding positioning messages, thereby facilitating relevant operating personnel to identify the personnel channel devices.
[0112] A second aspect of the embodiments of the present application provides a device configuration method, which is applied to a first personnel channel device, wherein the first personnel channel device is any personnel channel device in a traffic control system, and the method includes: Fig. 9 Steps shown:
[0113] Step S901: obtaining an activation password input by a user, and activating the own device according to the activation password; obtaining a first network configuration parameter input by a user, and performing network configuration on the own device according to the first network configuration parameter.
[0114] Step S902: Send a multicast search message in the local area network, so that other personnel channel devices in the local area network send their own device information to the first personnel channel device after receiving the multicast search message, wherein the device information includes a device identifier and a device address.
[0115] Step S903: Generate a first list including device identifiers of other personnel channel devices, and send the first list to the upper platform.
[0116] Step S904: Obtain a batch activation message sent by the upper platform, wherein the batch activation message is generated by the upper platform according to the device identification of each device in the first list, and the batch activation message includes the device identification of each personnel channel device that needs to be activated.
[0117] Step S905: According to the device identifier in the batch activation message, find the first device address of the personnel channel device that needs to be activated; generate an activation message including the first device address and the activation password, and send the activation message in the local area network, so that other personnel channel devices can activate using the activation password in the activation message after receiving the activation message.
[0118] By applying the method of the embodiment of the present application, the first personnel channel device can first complete its own activation and configuration according to the activation password and the first network configuration parameters input by the user; then send a multicast search message to obtain the device information of other personnel channel devices, and generate a first list and send it to the upper platform; thereby enabling the upper platform to send a batch activation message according to the device information of the personnel channel devices that need to be activated in the first list, and the first personnel channel device obtains the first device address and activation password of the personnel channel devices that need to be activated according to the batch activation message, generates an activation message for the personnel channel device that needs to be activated and sends it in the local area network; thereby enabling other personnel channel devices to complete their own activation after determining that the first device address in the activation message is their own device address.
[0119] Therefore, it is only necessary to manually activate one personnel channel device, and then the activation of other personnel channel devices can be automatically achieved through the personnel channel device, without the need to manually activate each personnel channel device one by one, thereby reducing manual workload, improving equipment activation efficiency, and further improving the installation efficiency of personnel channel equipment.
[0120] In a possible implementation, before obtaining the activation password input by the user and activating the device according to the activation password, the method of the embodiment of the present application further includes: after accessing the local area network, joining the multicast group according to a preset service discovery protocol;
[0121] Sending a multicast search message in a local area network includes: generating a multicast search message including a channel device extension field, wherein the channel device extension field includes an identifier of the first personnel channel device itself; multicasting the multicast search message in a multicast group;
[0122] The method of the embodiment of the present application also includes: if the channel device extension field of the received message is the identifier of the first personnel channel device itself, discarding the received message.
[0123] By applying the method of the embodiment of the present application, other personnel channel devices can determine that the received message is a message of the first personnel channel device by identifying whether the channel device extension field in the multicast search message is the device identifier of the first personnel channel device, thereby avoiding sending device information to other devices and improving the accuracy of communication between personnel channel devices.
[0124] In a possible implementation, according to the device identifier in the batch activation message, the first device address of the personnel channel device to be activated is found; an activation message including the first device address and the activation password is generated, and the activation message is sent in the local area network, including:
[0125] Parse the batch activation message to obtain the device identification of each second personnel channel device that needs to be activated; select the second personnel channel device to be activated from each second personnel channel device; query and obtain the first device address of the second personnel channel device currently selected according to the device identification of the second personnel channel device currently selected; generate an activation message including the first device address and the activation password; multicast the activation message in the local area network, so that other personnel channel devices, after being activated using the activation password, generate an activation response message including the activation results of other personnel channel devices and the first device identification of other personnel channel devices, and send the activation response message to the first personnel channel device;
[0126] Receive an activation response message sent by other personnel channel devices; parse the activation response message to obtain a first device identifier and an activation result, and record the activation result of the personnel channel device represented by the first device identifier;
[0127] The next second personnel channel device to be activated is selected from each second personnel channel device to continue the activation operation until all second personnel channel devices are traversed, and the activation result of each second personnel channel device is sent to the upper platform.
[0128] By using the method of the embodiment of the present application, the first personnel channel device can receive and record the activation results of other personnel channel devices, so as to determine the unactivated second personnel channel device, and then select and send the activation message. And the activation results of each other personnel channel device are sent to the upper platform, so that the upper platform can manage the activation status of each other personnel channel device to ensure that each personnel channel device is activated.
[0129] In a possible implementation, the method of the embodiment of the present application further includes:
[0130] After the network configuration is completed, obtain the channel parameters and credential identification parameters sent by the upper platform, and configure the access function of its own device according to the channel parameters and credential identification parameters;
[0131] Obtain the configuration message sent by the upper platform, parse the configuration message to obtain the device identifier of each third personnel channel device that needs configuration parameters, and the configuration parameters of each third personnel channel device;
[0132] A third personnel channel device to be configured is selected from each third personnel channel device; according to the device identifier of the third personnel channel device currently selected, a second device address of the third personnel channel device currently selected is queried; a configuration parameter message including the second device address and the first configuration parameter is generated, wherein the first configuration parameter is the configuration parameter of the third personnel channel device currently selected; the configuration parameter message is multicast in the local area network so that other personnel channel devices configure their own devices using the first configuration parameter, a configuration response message including the configuration results of other personnel channel devices and the second device identifier is generated, and the configuration response message is sent to the first personnel channel device;
[0133] Receiving a configuration response message; parsing the configuration response message to obtain a second device identifier and a configuration result; and recording the configuration result of the personnel channel device represented by the second device identifier;
[0134] The next third personnel channel device to be configured is selected from each third personnel channel device to continue the configuration operation until all third personnel channel devices are traversed, and the configuration results of each third personnel channel device are sent to the upper platform.
[0135] By applying the method of the embodiment of the present application, the first personnel channel device can generate corresponding configuration parameter messages according to the physical addresses and configuration parameters corresponding to the other personnel channel devices, and multicast the configuration parameter messages in the local area network, so that the other personnel channel devices respond to the parameter configuration according to their corresponding configuration parameter messages, so that the technicians can complete the configuration of the other personnel channel devices in the system by configuring the parameters of only one personnel channel device, which can reduce the workload of the technicians in manually configuring the personnel channel devices, improve the efficiency of configuring the parameters of the personnel channel devices, and thus improve the installation efficiency of the personnel channel devices. And by directly configuring the parameters of the other personnel channel devices through the first personnel channel device, the parameters of the other personnel channel devices can be synchronized, thereby reducing the difficulty of the personnel channel device parameter synchronization operation.
[0136] In a possible implementation, the method of the present application further includes:
[0137] Obtain the positioning message sent by the upper platform, parse the positioning message to obtain the device identification of each fourth personnel channel device that needs to be located;
[0138] A fourth personnel channel device to be located is selected from each fourth personnel channel device; a third device address of the fourth personnel channel device selected is queried based on the device identifier of the fourth personnel channel device selected as a keyword; a positioning message including the third device address and a positioning mark is generated; so that other personnel channel devices control their own devices to perform positioning actions, a positioning response message including the third device identifiers of other personnel channels is generated, and a positioning response message is sent to the first personnel channel device;
[0139] Receiving a positioning response message; parsing the positioning response message to obtain a third device identifier; recording the personnel channel device represented by the third device identifier to complete the positioning;
[0140] A next fourth personnel channel device to be located is selected from each fourth personnel channel device to continue the positioning operation until all fourth personnel channel devices are traversed.
[0141] By applying the method of the embodiment of the present application, the first personnel channel device can generate corresponding positioning messages according to the physical addresses and positioning marks corresponding to other personnel channel devices, and multicast the positioning messages in the local area network, so that other personnel channel devices respond to the positioning request according to their corresponding positioning messages, thereby facilitating relevant operating personnel to identify the personnel channel devices.
[0142] In a third aspect of the embodiments of the present application, a device configuration method is provided, which is applied to other personnel channel devices, wherein the other personnel channel devices are personnel channel devices other than the first personnel channel device in the access control system, and the first personnel channel device is any personnel channel device in the access control system. The method of the embodiment of the present application includes the following steps: Fig.10 Steps shown:
[0143] Step S1001: parse the received message, and when it is determined that the received message is a multicast search message, send its own device information to the first personnel channel device, so that the first personnel channel device generates a first list including device identifiers, and sends the first list to the upper platform.
[0144] The device information includes the device identification and the device address, and the multicast search message is a multicast search message sent in the local area network after the manual configuration of the first personnel channel device is completed.
[0145] Step S1002: After receiving the activation message, the activation message is parsed to obtain the first device address and the activation password.
[0146] Among them, the activation message is generated by the first personnel channel device according to the batch activation message sent by the upper platform.
[0147] Step S1003: When the first device address is the address of the own device, activate the own device using the activation password.
[0148] By applying the method of the embodiment of the present application, the personnel channel device can directly receive the activation message of the first personnel channel device, and complete its own activation according to the received activation message, thereby eliminating the need to manually activate each personnel channel device one by one, thereby reducing manual workload, improving equipment activation efficiency, and further improving the installation efficiency of the personnel channel device.
[0149] In a possible implementation, parsing the received message includes: parsing the received message, and when a channel device extension field is parsed out, determining that the received message is a multicast search message.
[0150] In a possible implementation, the method of the embodiment of the present application further includes:
[0151] After activating the device itself using the activation password, an activation response message including the activation result of the device itself and the first device identifier of the device itself is generated, and an activation response message is sent to the first personnel channel device; so that the first personnel channel device records the activation result of the personnel channel device represented by the first device identifier, and sends the activation result to the upper platform.
[0152] In a possible implementation, the method of the embodiment of the present application further includes:
[0153] After receiving the configuration parameter message, the configuration parameter message is parsed to obtain the second device address and the first configuration parameter; wherein the configuration parameter message is generated by the first personnel channel device according to the configuration message sent by the upper platform;
[0154] When the second device address is the device address of the own device, configuring the own device using the first configuration parameter;
[0155] Generate a configuration response message including the configuration result of its own device and the second device identifier of its own device, and send the configuration response message to the first personnel channel device; so that the first personnel channel device records the configuration result of the personnel channel device represented by the second device identifier, and sends each configuration result to the upper platform.
[0156] In a possible implementation, the method of the embodiment of the present application further includes:
[0157] Parse the received message, and when a positioning mark in the message is found, determine that the received message is a positioning message; wherein the positioning message is generated by the first personnel channel device according to the positioning message of the upper platform;
[0158] When the third device address in the positioning message is the device address of its own device, control its own device to perform a positioning action; generate a positioning response message including the third device identifier of its own device, and send a positioning response message to the first personnel channel device; so that the first personnel channel device records the personnel channel device represented by the third device identifier to complete the positioning.
[0159] In the technical solution of the present application, the operations of acquiring, storing, using, processing, transmitting, providing and disclosing the device information involved are all performed with the user's authorization.
[0160] The present application also provides an electronic device, such as Fig.11 As shown, including:
[0161] Memory 1101, used for storing computer programs;
[0162] The processor 1102 is used to implement the following steps when executing the program stored in the memory 1101:
[0163] Obtaining an activation password input by a user, and activating the device according to the activation password; obtaining a first network configuration parameter input by a user, and performing network configuration on the device according to the first network configuration parameter;
[0164] Sending a multicast search message in the local area network so that other personnel channel devices in the local area network send their own device information to the personnel channel device after receiving the multicast search message, wherein the device information includes a device identifier and a device address;
[0165] Generate a first list including device identifiers of other personnel channel devices, and send the first list to the upper platform;
[0166] Obtaining a batch activation message sent by the upper-layer platform, wherein the batch activation message is generated by the upper-layer platform according to the device identifier of each device in the first list, and the batch activation message includes the device identifier of each personnel channel device that needs to be activated;
[0167] According to the device identifier in the batch activation message, the first device address of the personnel channel device that needs to be activated is found; an activation message including the first device address and the activation password is generated, and the activation message is sent in the local area network, so that other personnel channel devices can activate using the activation password in the activation message after receiving the activation message.
[0168] Alternatively, the processor 1102, when used to execute the program stored in the memory 1101, implements the following steps:
[0169] Parse the received message, and when it is determined that the received message is a multicast search message, send its own device information to the first personnel channel device, so that the first personnel channel device generates a first list including device identifiers, and sends the first list to the upper platform; wherein the device information includes the device identifier and the device address, and the multicast search message is a multicast search message sent in the local area network after the first personnel channel device is manually configured;
[0170] After receiving the activation message, the activation message is parsed to obtain the first device address and activation password; wherein the activation message is generated by the first personnel channel device according to the batch activation message sent by the upper platform;
[0171] When the first device address is the address of the own device, the own device is activated using the activation password.
[0172] In addition, the electronic device may further include a communication bus and / or a communication interface, and the processor 1102, the communication interface, and the memory 1101 communicate with each other via the communication bus.
[0173] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0174] The communication interface is used for communication between the above electronic device and other devices.
[0175] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0176] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0177] In another embodiment provided in the present application, a computer-readable storage medium is provided, which stores a computer program therein, and when the computer program is executed by a processor, any of the above-mentioned device configuration methods is implemented.
[0178] In another embodiment provided by the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute any device configuration method in the above embodiments.
[0179] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a solid-state hard disk (SSD), etc.
[0180] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0181] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the method, electronic device, and storage medium embodiments, since they are basically similar to the system embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0182] The above are only preferred embodiments of the present application and are not intended to limit the protection scope of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application are included in the protection scope of the present application.
Claims
1. A traffic control system, It is characterized in that The access control system comprises: at least two personnel channel devices, wherein each of the personnel channel devices is in the same local area network; A first personnel channel device is used to obtain an activation password input by a user and activate its own device according to the activation password; obtain a first network configuration parameter input by a user and perform network configuration on its own device according to the first network configuration parameter, wherein the first personnel channel device is any personnel channel device; The first personnel channel device is further used to send a multicast search message in the local area network; Other personnel channel devices except the first personnel channel device are used to parse the received message, and when determining that the received message is the multicast search message, send their own device information to the first personnel channel device, wherein the device information includes a device identifier and a device address; The first personnel channel device is further used to generate a first list including device identifications of each of the other personnel channel devices, and send the first list to an upper-level platform; obtain a batch activation message sent by the upper-level platform, wherein the batch activation message is generated by the upper-level platform according to the device identifications of each device in the first list, and the batch activation message includes the device identifications of each personnel channel device that needs to be activated; find the first device address of the personnel channel device that needs to be activated according to the device identification in the batch activation message; generate an activation message including the first device address and the activation password, and send the activation message in the local area network; The other personnel channel device is also used to parse the activation message to obtain the first device address and the activation password after receiving the activation message; when the first device address is the address of its own device, use the activation password to activate its own device.
2. The system according to claim 1, It is characterized in that Each of the personnel channel devices is also used to join the same multicast group according to a preset service discovery protocol; The first personnel channel device is specifically used to generate a multicast search message including a channel device extension field, wherein the channel device extension field includes a device identifier of the first personnel channel device; and multicast the multicast search message in the multicast group; The other personnel channel device is specifically used to parse the received message, and when the channel device extension field is parsed, determine that the received message is the multicast search message; The first personnel channel device is further configured to discard the received message if the channel device extension field of the received message is the device identification of the first personnel channel device.
3. The system according to claim 1, It is characterized in that The first personnel channel device is specifically used to parse the batch activation message to obtain the device identification of each second personnel channel device that needs to be activated; select the second personnel channel device to be activated currently from each second personnel channel device; query and obtain the first device address of the currently selected second personnel channel device according to the device identification of the currently selected second personnel channel device; generate an activation message including the first device address and the activation password; and multicast the activation message in the local area network; The other personnel channel device is further used to generate an activation response message including an activation result of its own device and a first device identifier of its own device after activating its own device using the activation password, and send the activation response message to the first personnel channel device; The first personnel channel device is also used to receive the activation response message; parse the activation response message to obtain the first device identifier and the activation result, and record the activation result of the personnel channel device represented by the first device identifier; select the next second personnel channel device to be activated from each of the second personnel channel devices to continue the activation operation until all the second personnel channel devices are traversed, and send the activation result of each second personnel channel device to the upper platform.
4. The system according to claim 1, It is characterized in that The first personnel channel device is further used to obtain channel parameters and credential identification parameters sent by the upper platform after the network configuration is completed, and configure the access function of its own device according to the channel parameters and credential identification parameters; The first personnel channel device is further used to obtain the configuration message sent by the upper platform, parse the configuration message to obtain the device identification of each third personnel channel device that needs configuration parameters, and the configuration parameters of each third personnel channel device; select the third personnel channel device to be configured from each third personnel channel device; query and obtain the second device address of the third personnel channel device currently selected according to the device identification of the third personnel channel device currently selected; generate a configuration parameter message including the second device address and the first configuration parameter, wherein the first configuration parameter is the configuration parameter of the third personnel channel device currently selected; and multicast the configuration parameter message in the local area network; The other personnel channel device is further configured to, after receiving the configuration parameter message, parse the configuration parameter message to obtain the second device address and the first configuration parameter; when the second device address is the device address of its own device, configure its own device using the first configuration parameter; generate a configuration response message including the configuration result of its own device and the second device identifier of its own device, and send the configuration response message to the first personnel channel device; The first personnel channel device is also used to receive the configuration response message; parse the configuration response message to obtain the second device identifier and the configuration result; record the configuration result of the personnel channel device represented by the second device identifier; select the next third personnel channel device to be configured from each of the third personnel channel devices to continue to perform the configuration operation until all the third personnel channel devices are traversed, and send the configuration result of each of the third personnel channel devices to the upper platform.
5. The system according to claim 4, It is characterized in that The configuration message is a network configuration message, and the first configuration parameter includes an IP address and a gateway; the other personnel channel device is specifically used to configure the IP address and gateway of its own device using the IP address and gateway in the first configuration parameter when the second device address is the device address of its own device; or, The configuration message is a channel configuration message, and the first configuration parameters include channel parameters and credential identification parameters; the other personnel channel device is specifically used to configure the access function of its own device using the channel parameters and credential identification parameters in the first configuration parameters when the second device address is the device address of its own device.
6. The system according to claim 1, It is characterized in that The first personnel channel device is further used to obtain the positioning message sent by the upper platform, parse the positioning message to obtain the device identification of each fourth personnel channel device to be located; select the fourth personnel channel device to be located from each of the fourth personnel channel devices; query and obtain the third device address of the fourth personnel channel device currently selected according to the device identification of the currently selected fourth personnel channel device; generate a positioning message including the third device address and the positioning mark; The other personnel channel device is further used to parse the received message, and when the positioning mark in the message is parsed, determine that the received message is the positioning message; when the third device address in the positioning message is the device address of its own device, control its own device to perform a positioning action; generate a positioning response message including the third device identifier of its own device, and send the positioning response message to the first personnel channel device; The first personnel channel device is also used to receive the positioning response message; parse the positioning response message to obtain the third device identifier; record the personnel channel device represented by the third device identifier to complete the positioning; select the next fourth personnel channel device to be located from each of the fourth personnel channel devices to continue the positioning operation until all the fourth personnel channel devices are traversed.
7. A device configuration method, It is characterized in that Applied to a first personnel channel device, wherein the first personnel channel device is any personnel channel device in a traffic control system, the method comprises: Obtaining an activation password input by a user, and activating its own device according to the activation password; obtaining a first network configuration parameter input by a user, and performing network configuration on its own device according to the first network configuration parameter; Sending a multicast search message in a local area network, so that other personnel channel devices in the local area network send their own device information to the first personnel channel device after receiving the multicast search message, wherein the device information includes a device identifier and a device address; Generate a first list including device identifiers of each of the other personnel channel devices, and send the first list to the upper platform; Obtaining a batch activation message sent by the upper platform, wherein the batch activation message is generated by the upper platform according to the device identification of each device in the first list, and the batch activation message includes the device identification of each personnel channel device that needs to be activated; According to the device identifier in the batch activation message, the first device address of the personnel channel device that needs to be activated is found; an activation message including the first device address and the activation password is generated, and the activation message is sent in the local area network, so that the other personnel channel devices can be activated using the activation password in the activation message after receiving the activation message.
8. The method according to claim 7, It is characterized in that Before obtaining the activation password input by the user and activating the own device according to the activation password, the method further includes: after accessing the local area network, joining the multicast group according to a preset service discovery protocol; The sending of the multicast search message in the local area network includes: generating a multicast search message including a channel device extension field, wherein the channel device extension field includes an identifier of the first personnel channel device itself; and multicasting the multicast search message in the multicast group; The method further includes: if the channel device extension field of the received message is the identifier of the first personnel channel device itself, discarding the received message.
9. The method according to claim 7, It is characterized in that The step of finding the first device address of the personnel channel device to be activated according to the device identifier in the batch activation message; generating an activation message including the first device address and the activation password, and sending the activation message in the local area network includes: Parse the batch activation message to obtain the device identification of each second personnel channel device that needs to be activated; select the second personnel channel device to be activated currently from each of the second personnel channel devices; query and obtain the first device address of the currently selected second personnel channel device according to the device identification of the currently selected second personnel channel device; generate an activation message including the first device address and the activation password; multicast the activation message in the local area network, so that the other personnel channel devices generate an activation response message including the activation result of the other personnel channel devices and the first device identification of the other personnel channel devices after being activated using the activation password, and send the activation response message to the first personnel channel device; Receiving an activation response message sent by the other personnel channel device; parsing the activation response message to obtain the first device identifier and the activation result, and recording the activation result of the personnel channel device represented by the first device identifier; A next second personnel channel device to be activated is selected from each of the second personnel channel devices to continue the activation operation until all of the second personnel channel devices are traversed, and the activation result of each of the second personnel channel devices is sent to the upper platform.
10. The method according to claim 7, It is characterized in that The method further comprises: After the network configuration is completed, the channel parameters and credential identification parameters sent by the upper platform are obtained, and the access function of the own device is configured according to the channel parameters and credential identification parameters; Acquire the configuration message sent by the upper platform, parse the configuration message to obtain the device identifier of each third personnel channel device that needs configuration parameters, and the configuration parameters of each third personnel channel device; Selecting a third personnel channel device to be configured from each of the third personnel channel devices; querying and obtaining a second device address of the third personnel channel device selected currently according to the device identifier of the third personnel channel device selected currently; generating a configuration parameter message including the second device address and a first configuration parameter, wherein the first configuration parameter is a configuration parameter of the third personnel channel device selected currently; multicasting the configuration parameter message in the local area network so that the other personnel channel devices configure their own devices using the first configuration parameter, generating a configuration response message including the configuration result of the other personnel channel devices and the second device identifier, and sending the configuration response message to the first personnel channel device; Receiving the configuration response message; parsing the configuration response message to obtain the second device identifier and the configuration result; recording the configuration result of the personnel channel device represented by the second device identifier; A next third personnel channel device to be configured is selected from each of the third personnel channel devices to continue the configuration operation until all of the third personnel channel devices are traversed, and the configuration results of each of the third personnel channel devices are sent to the upper platform.
11. The method according to claim 7, It is characterized in that The method further comprises: Obtaining the positioning message sent by the upper platform, parsing the positioning message to obtain the device identification of each fourth personnel channel device that needs to be located; The fourth personnel channel device to be located is selected from each of the fourth personnel channel devices; the third device address of the fourth personnel channel device selected is queried according to the device identifier of the fourth personnel channel device selected as a keyword; a positioning message including the third device address and a positioning mark is generated; so that the other personnel channel devices control their own devices to perform positioning actions, a positioning response message including the third device identifier of the other personnel channels is generated, and the positioning response message is sent to the first personnel channel device; Receiving the positioning response message; parsing the positioning response message to obtain the third device identifier; recording the personnel channel device represented by the third device identifier to complete the positioning; A next fourth personnel channel device to be located is selected from each of the fourth personnel channel devices to continue the positioning operation until all of the fourth personnel channel devices are traversed.
12. A device configuration method, It is characterized in that Applied to other personnel passage devices, wherein the other personnel passage devices are personnel passage devices other than the first personnel passage device in the access control system, and the first personnel passage device is any one of the personnel passage devices in the access control system, and the method includes: Parse the received message, and when it is determined that the received message is a multicast search message, send its own device information to the first personnel channel device, so that the first personnel channel device generates a first list including device identifiers, and sends the first list to the upper platform; wherein the device information includes the device identifier and the device address, and the multicast search message is a multicast search message sent in the local area network after the first personnel channel device is manually configured; After receiving the activation message, the activation message is parsed to obtain the first device address and the activation password; wherein the activation message is generated by the first personnel channel device according to the batch activation message sent by the upper platform; When the first device address is the address of the own device, the own device is activated using the activation password.
13. The method according to claim 12, It is characterized in that The parsing of the received message includes: parsing the received message, and when a channel device extension field is parsed out, determining that the received message is the multicast search message.
14. The method according to claim 12, It is characterized in that The method further comprises: After activating the own device using the activation password, an activation response message including the activation result of the own device and the first device identifier of the own device is generated, and the activation response message is sent to the first personnel channel device; so that the first personnel channel device records the activation result of the personnel channel device represented by the first device identifier, and sends the activation result to the upper platform.
15. The method according to claim 12, It is characterized in that The method further comprises: After receiving the configuration parameter message, the configuration parameter message is parsed to obtain the second device address and the first configuration parameter; wherein the configuration parameter message is generated by the first personnel channel device according to the configuration message sent by the upper platform; When the second device address is the device address of the own device, configuring the own device using the first configuration parameters; Generate a configuration response message including the configuration result of its own device and the second device identifier of its own device, and send the configuration response message to the first personnel channel device; so that the first personnel channel device records the configuration result of the personnel channel device represented by the second device identifier, and sends each configuration result to the upper platform.
16. The method according to claim 12, It is characterized in that The method further comprises: Parsing the received message, and when a positioning mark in the message is parsed, determining that the received message is a positioning message; wherein the positioning message is generated by the first personnel channel device according to the positioning message of the upper platform; When the third device address in the positioning message is the device address of its own device, control its own device to perform a positioning action; generate a positioning response message including the third device identifier of its own device, and send the positioning response message to the first personnel channel device; so that the first personnel channel device records the personnel channel device represented by the third device identifier to complete the positioning.
Citation Information
Patent Citations
Activation method and device, control device, network equipment and optical network system
CN112188324A
Batch discovery of devices behind network address translation devices
CN112751701A
Network configuration system, network configuration method, electronic equipment and routing equipment
CN113438102A
UWB distance measurement method, device, equipment, medium and system for gate entry and exit
CN116311566A
Equipment control method, control equipment and storage medium
CN116400966A
