A data transmission method, door control device, door lock and management host

By pre-allocating dedicated channels in the security system for communication between the gate control device and the door lock, the problem of channel blockage when multiple gate control devices simultaneously control different door locks is solved, and efficient door opening operation is achieved.

CN119233208BActive Publication Date: 2025-03-04HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411746347.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-03-04
Estimated Expiration
2044-11-29

AI Technical Summary

Technical Problem

When multiple gate control devices simultaneously control different door locks, the prior art is prone to channel blockage, resulting in the management host being unable to process door opening requests in time, affecting door opening efficiency.

Method used

By pre-allocating a dedicated channel (first channel) for communication between the gate control device group and the door lock controlled by it, when the gate control device meets the door opening condition, the gate control device broadcasts the unlocking command carrying the target identification through the first channel, so that the corresponding door lock performs the door opening action.

Benefits of technology

This avoids channel blockage, improves door opening efficiency, and realizes the ability of multiple gate control devices to open doors simultaneously.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119233208B_ABST
    Figure CN119233208B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a data transmission method, a door control device, a door lock and a management host, which relates to the field of security technology; wherein, a data transmission method includes: in response to satisfying the conditions for triggering the door lock to open the door, constructing a target unlocking instruction carrying a target identifier; wherein, the target identifier is the device identifier of the target door control device; broadcasting the target unlocking instruction through a first channel, so that the door lock that is equipped with the first channel responds to receiving the target unlocking instruction, detects whether the target identifier in the target unlocking instruction is the same as the device identifier of the door control device registered by itself, and if they are the same, executes the door opening action. It can be seen that the door opening efficiency can be improved through this solution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of security technology, and in particular to a data transmission method, a door control device, a door lock and a management host. Background Art

[0002] In the existing security field, each door control device can be directly connected to the management host for communication, so as to control the door lock through the management host to open and close the door; wherein, the door control device can be a device located near the door for opening the door, and the management host is used to manage the door control device and the door lock. Usually, a door lock can correspond to a door control device group, which can include an identity credential recognition device (such as a card reader, camera, etc.) and a door opening button, etc.

[0003] However, there may be multiple doors in the same space. In this case, there are multiple door control device groups. When each door control device group communicates with the management host, if they communicate based on the same channel, channel congestion may occur, causing the management host to be unable to process the door opening requests reported by multiple door control devices in a timely manner, thereby affecting the door opening efficiency. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a data transmission method, a door control device, a door lock and a management host to improve the door opening efficiency. The specific technical solution is as follows:

[0005] In a first aspect, an embodiment of the present application provides a data transmission method, which is applied to a target door control device, wherein the target door control device is a door control device in each door control device group that communicates with a target management host, and the door locks controlled by each door control device group are pre-registered in each device in the door control device group; the method includes:

[0006] In response to satisfying the condition for triggering the door lock to open the door, constructing a target unlocking instruction carrying a target identifier; wherein the target identifier is a device identifier of the target door control device;

[0007] Broadcasting the target unlocking instruction through the first channel, so that the door lock equipped with the first channel responds to receiving the target unlocking instruction, detects whether the target identifier in the target unlocking instruction is the same as the device identifier of the door control device registered by itself, and if they are the same, performs the door opening action;

[0008] Among them, the first channel is a pre-allocated channel used for communication between the door control device group to which the target door control device belongs and the controlled target door lock; the first channel is a channel in each first designated channel, each first designated channel is an available channel except the channel that can be used as the second channel, and the second channel is a channel used for communication between each door control device group and the controlled door lock and the target management host respectively.

[0009] In a second aspect, an embodiment of the present application provides a data transmission method, which is applied to a target door lock, wherein the target door lock is a door lock to be controlled by a door control device group to which a target door control device belongs, and the target door control device is a door control device in each door control device group that communicates with a target management host, and the door lock to be controlled by each door control device group is pre-registered in each device in the door control device group; the method comprises:

[0010] Based on the first channel, receiving a target unlocking instruction; wherein the target unlocking instruction is a target unlocking instruction carried with a device identifier of the target door control device, which is constructed by the target door control device in response to satisfying a condition for triggering the door lock to unlock, and then broadcasted through the first channel;

[0011] When it is detected that the device identification in the target unlocking instruction is the same as the device identification of the door control device registered by itself, executing the door opening action;

[0012] Among them, the first channel is a pre-allocated channel used for communication between the door control device group to which the target door control device belongs and the controlled target door lock; the first channel is a channel in each first designated channel, each first designated channel is an available channel except the channel that can be used as the second channel, and the second channel is a channel used for communication between each door control device group and the controlled door lock and the target management host respectively.

[0013] In a third aspect, an embodiment of the present application provides a data transmission method, which is applied to a target management host, wherein the target management host communicates with each door control device group, and the door lock controlled by each door control device group is pre-registered in the door control device group; the method comprises:

[0014] Determine a first channel for communication between a target door control device group and a controlled target door lock; wherein the target door control device group is any one of the door control device groups, the first channel is a channel in each first designated channel, each first designated channel is an available channel other than a channel that can be used as a second channel, and the second channel is a channel for communication between each door control device group and the controlled door lock and the target management host respectively;

[0015] The first channel is sent to the devices in the target door control device group and the target door lock through the second channel, so that the target door control device in the target door control device group assigned with the first channel, in response to satisfying the condition for triggering the door lock to open the door, constructs a target unlocking instruction carrying a target identifier, and broadcasts the target unlocking instruction through the first channel, so that the door lock assigned with the first channel, in response to receiving the target unlocking instruction, detects whether the target identifier in the target unlocking instruction is the same as the device identifier of the door control device registered with itself, and if they are the same, performs the door opening action;

[0016] The target identifier is a device identifier of the target gate control device.

[0017] In a fourth aspect, an embodiment of the present application provides a gating device, which is referred to as a target gating device, and includes: a memory for storing computer programs; and a processor for implementing any of the above-mentioned data transmission methods when executing the programs stored in the memory.

[0018] In a fifth aspect, an embodiment of the present application provides a door lock, which is recorded as a target door lock, including: a memory for storing computer programs; and a processor for implementing any of the above-mentioned data transmission methods when executing the program stored in the memory.

[0019] In a sixth aspect, an embodiment of the present application provides a management host, which is referred to as a target management host and includes: a memory for storing computer programs; and a processor for implementing any of the above-mentioned data transmission methods when executing the programs stored in the memory.

[0020] Beneficial effects of the embodiments of the present application:

[0021] In the data transmission method provided in the embodiment of the present application, the target door control device can broadcast the target unlocking instruction through the first channel, and only the door lock assigned with the first channel can receive the target unlocking instruction and execute the door opening action; compared with the related art, the target door control device in the present application does not need to interact with the target management host in the process of opening the door lock, thereby improving the door opening efficiency; and, the embodiment of the present application pre-allocates the first channel, which is a channel for communication between the door control device group to which the target door control device belongs and the controlled target door lock, so when multiple door control devices want to control different door locks to open at the same time, each door control device can broadcast the target unlocking instruction through its own allocated first channel, without the need for the target management host to send the target unlocking instruction to the door lock based on the same channel, avoiding the channel congestion, thereby realizing concurrent door opening, and each door control device can broadcast the target unlocking instruction, thereby improving the door opening efficiency. It can be seen that through this solution, the purpose of providing door opening efficiency can be achieved.

[0022] 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

[0023] 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.

[0024] Figure 1 It is a schematic diagram of the principle of a data transmission method in the related art;

[0025] Figure 2 A flowchart of a data transmission method provided in an embodiment of the present application;

[0026] Figure 3 A schematic diagram of the principle of a data transmission method provided in an embodiment of the present application;

[0027] Figure 4 A flowchart of a method for registering a target door lock by a target door control device provided in an embodiment of the present application;

[0028] Figure 5 A timing diagram of channel switching provided in an embodiment of the present application;

[0029] Figure 6 A flowchart of another data transmission method provided in an embodiment of the present application;

[0030] Figure 7 A flowchart of another data transmission method provided in an embodiment of the present application;

[0031] Figure 8 A schematic diagram of the structure of a door control device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0032] 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.

[0033] First, in order to better understand the channels in this solution, the following basic concepts related to channels are introduced:

[0034] The frequency band of the wireless communication channel is usually located in the Sub 1G frequency band, that is, the frequency band working in the ISM (Industrial, Scientific, and Medical) frequency band and the frequency is below 1GHz. For example, the total bandwidth of the 433 frequency band is 1.74M, and it can be divided into 17 channels at most based on a bandwidth of 100kHz per channel; the total bandwidth of the 868 frequency band is 3.6M, and it can be divided into 36 channels at most based on a bandwidth of 100kHz per channel. The frequency bands introduced above are all applicable to this application.

[0035] Secondly, in order to better understand this solution, the following introduces the relevant technologies, such as Figure 1 As shown:

[0036] The management host can be connected to the wireless door lock, door opening button, card reader and speaker through channel communication; it should be emphasized that Figure 1 The wireless door lock in this application belongs to one of the door locks in this application, and the door opening button and card reader belong to the door control device in this application; wherein, the wireless door lock can also be connected to the wireless repeater, thereby communicating with the management host through the wireless repeater; and, the management host can communicate with the access control client through WiFi / wired / 4G, etc., and the access control client can be an APP (Application) set in the user device; the management host can also communicate with the mobile phone WEB terminal, and the mobile phone WEB terminal can also be a WEB terminal set in the user device. It can be understood that the function of the management host is to configure and control each door lock and each door control device. In specific applications, the management device can also be called access control equipment, central control equipment, access control server, etc.

[0037] Taking the door opening button as an example, when the door opening button detects that it is pressed, it can be considered that the conditions for triggering the door lock to open the door are met. At this time, in the related technology, the door opening button sends a door opening request to the management host through a channel, and the management host then sends a door opening instruction to the wireless door lock through the same channel to open the door; however, when the door opening button and the card reader send door opening requests to the target management host through the same channel at the same time, channel congestion will occur, and the management host cannot process the door opening requests reported by multiple door control devices in time, thereby affecting the door opening efficiency.

[0038] Based on the above-mentioned problems in the related technology, an embodiment of the present application provides a data transmission method to improve the door opening efficiency.

[0039] The data transmission method provided in the embodiment of the present application can be applied to a target door control device, which is a door control device in a group of door control devices that communicate with a target management host. The target door control device can be a door opening button or an identity credential recognition device; and the target door control device can be set on a smart door or near a smart door, and the target management host can be set in the cloud or in a non-cloud server or terminal, which is not specifically limited in the embodiment of the present application. In addition, the application scenarios of the embodiment of the present application are introduced below:

[0040] The embodiments of the present application can be applied to various scenarios equipped with multiple smart doors. For example, each office in a small and micro enterprise can be equipped with a smart door, so the data transmission method can be used to improve the opening efficiency of the smart door; each building door in a residential area is a smart door, so the data transmission method can also be used to improve the opening efficiency of the smart door. Of course, the above description of the scenario is only an exemplary introduction, and there is no specific limitation on the embodiments of the present application.

[0041] In addition, the door lock in the present application can be an electric bolt lock, a glass lock, a door frame lock, etc. The present application does not specifically limit the specific form of the door lock, and the door lock can also be considered as a smart door lock.

[0042] Among them, a data transmission method is applied to a target door control device, wherein the target door control device is a door control device in each door control device group that communicates with a target management host, and the door locks controlled by each door control device group are pre-registered in each device in the door control device group; the method comprises:

[0043] In response to satisfying the condition for triggering the door lock to open the door, constructing a target unlocking instruction carrying a target identifier; wherein the target identifier is a device identifier of the target door control device;

[0044] Broadcasting the target unlocking instruction through the first channel, so that the door lock equipped with the first channel responds to receiving the target unlocking instruction, detects whether the target identifier in the target unlocking instruction is the same as the device identifier of the door control device registered by itself, and if they are the same, performs the door opening action;

[0045] Among them, the first channel is a pre-allocated channel used for communication between the door control device group to which the target door control device belongs and the controlled target door lock; the first channel is a channel in each first designated channel, each first designated channel is an available channel except the channel that can be used as the second channel, and the second channel is a channel used for communication between each door control device group and the controlled door lock and the target management host respectively.

[0046] It can be seen that compared with the related art, the target door control device in the present application does not need to interact with the target management host in the process of opening the door lock, thereby improving the door opening efficiency; and, the embodiment of the present application pre-allocates a first channel, which is a channel for communication between the door control device group to which the target door control device belongs and the controlled target door lock. Then, when multiple door control devices want to control the opening of different door locks at the same time, each door control device can broadcast the target unlocking instruction through its own allocated first channel, without the need for the target management host to send the target unlocking instruction to the door lock based on the same channel, thereby avoiding channel congestion, thereby realizing concurrent door opening, and each door control device can broadcast the target unlocking instruction, thereby improving the door opening efficiency. It can be seen that through this solution, the purpose of improving the door opening efficiency can be achieved.

[0047] A data transmission method provided by an embodiment of the present application is described below in conjunction with the accompanying drawings.

[0048] like Figure 2 As shown, a data transmission method provided by an embodiment of the present application is applied to a target gating device, and the method includes:

[0049] S201, in response to satisfying a condition for triggering a door lock to open a door, constructing a target unlocking instruction carrying a target identifier; wherein the target identifier is a device identifier of the target door control device;

[0050] Among them, the door control devices in the door control device group are all door control devices corresponding to the same smart door; for example, the card reader and the door opening button set on the smart door 1 can be considered to belong to the door control devices in the same door control device group. It can be understood that satisfying the conditions for triggering the door lock to open can be considered as satisfying the conditions for the door lock to open. Since there are many device forms of the target door control device, the corresponding conditions for triggering the door lock to open are also different. The device form of the target door control device and the conditions for triggering the door lock to open will be introduced in the subsequent embodiments, and will not be described in detail here.

[0051] Also, when the conditions for triggering the door lock to open the door are met, the target door control device can construct a target unlocking instruction carrying a target identifier. The target identifier is the device identifier of the target door control device. Each door control device has its own device identifier. According to the device identifier, the corresponding door control device can be identified.

[0052] S202, broadcasting a target unlocking instruction through the first channel, so that the door lock that is assigned to the first channel responds to receiving the target unlocking instruction, detects whether the target identifier in the target unlocking instruction is the same as the device identifier of the door control device registered by itself, and if they are the same, performs the door opening action;

[0053] Among them, the first channel is a pre-allocated channel used for communication between the door control device group to which the target door control device belongs and the controlled target door lock; the first channel is a channel in each first designated channel, each first designated channel is an available channel except the channel that can be used as the second channel, and the second channel is a channel used for communication between each door control device group and the controlled door lock and the target management host respectively.

[0054] It can be understood that the target door control device broadcasts the target unlocking instruction through the first channel instead of sending the target unlocking instruction to the controlled target door lock, so the door locks pre-assigned with the first channel can receive the broadcasted target unlocking instruction; and, the target door lock controlled by the target door control device has been pre-registered in the target door control device. During the registration process, the target management host has sent the device identification of the target door control device to the target door lock, that is, the target door lock has saved the target identification; then, after receiving the target unlocking instruction, the door lock pre-assigned with the first channel can detect whether the target identification in the target unlocking instruction is the same as the device identification of the door control device registered by itself, and the door lock pre-registered with the target door control device can detect that the saved device identification is the same as the target identification, and at this time, the door opening action can be executed; while the device identification of the door control device registered by other door locks themselves is different from the target identification, so they do not respond to the target unlocking instruction and cannot execute the door opening action.

[0055] It should be emphasized that the first channel is a channel pre-allocated by the target management host for communication between the door control device group to which the target door control device belongs and the controlled target door lock. Therefore, the channel used by the door control devices belonging to the same door control device group to communicate with the target door lock is also the same. For example, the card reader 1 and the door opening button 1 set on the smart door 1 belong to the door control devices in the same door control device group. Then, the card reader 1 and the door opening button 1 use the same first channel to control the door lock of the smart door 1. In addition, each first designated channel can be an available channel other than the channel that can be used as the second channel, and the first channel can be a channel in each first designated channel. Exemplarily, taking the 433 frequency band as an example, assuming that the 433 frequency band is divided into 17 channels, at this time, the current available channels are 17 channels, then, channels 0-6 can be selected, a total of 7 channels, channels 0-6 are channels that can be used as second channels, and a channel can be selected from channels 0-6 as the second channel, then, available channels other than channels that can be used as second channels can be selected as each designated channel, that is, channels 7-16 are selected as each first designated channel, and a channel can be selected from channels 7-16 as the first channel. Of course, the above is only an exemplary introduction and does not specifically limit the embodiments of the present application.

[0056] In another embodiment, the first channel is specifically a channel allocated to the target subsystem by the target management host after the target subsystem is registered and sent to the target subsystem through the second channel;

[0057] The target subsystem includes the door control device group to which the target door control device belongs and the target door lock.

[0058] It can be understood that the door control device group to which the target door control device belongs and the target door lock can constitute a target subsystem. After the target management host is registered in the target subsystem, it can allocate a channel to the target subsystem through the second channel. The allocated channel is the first channel. Then, the door control device group to which the target door control device belongs and the target door lock can both be allocated to the first channel. Subsequently, the first channel can be used when the target door control device communicates with the target door lock.

[0059] It can be seen that the target management host can allocate the first channel to the door control device group to which the target door control device belongs and the door lock controlled by it, that is, to the target subsystem through the second channel, thereby facilitating communication between the target door control device and the target door lock, facilitating the subsequent timely opening of the smart door, thereby improving the door opening efficiency.

[0060] In order to better understand the principle of the above-mentioned data transmission method, the following is an exemplary introduction with reference to the accompanying drawings. Figure 3 As shown:

[0061] The target management host can be connected to the wireless door lock, the door opening button, and the card reader for communication respectively, and the channel used for the communication connection is the second channel; the wireless door lock is the door lock in this application, and the door opening button and the card reader are the target door control device in this application; wherein, the card reader may contain permission information, and permission authentication may be performed, the card reader and the door opening button may be connected to the wireless door lock for communication, and the channel used for the communication connection is the first channel. In addition, the target management host can communicate with the access control client via WiFi / wired / 4G, etc., and the access control client may be an APP set in the user device; the target management host can also be connected to the mobile phone WEB terminal for communication, and the mobile phone WEB terminal may also be a WEB terminal set in the user device. In addition, a wireless doorbell can be set on the smart door, and the wireless doorbell can be connected to the card reader for communication.

[0062] It can be seen that compared with the related art, the target door control device in the present application does not need to interact with the target management host in the process of opening the door lock, thereby improving the door opening efficiency; and, the embodiment of the present application pre-allocates a first channel, which is a channel for communication between the door control device group to which the target door control device belongs and the controlled target door lock. Then, when multiple door control devices want to control the opening of different door locks at the same time, each door control device can broadcast the target unlocking instruction through its own allocated first channel, without the need for the target management host to send the target unlocking instruction to the door lock based on the same channel, thereby avoiding channel congestion, thereby realizing concurrent door opening, and each door control device can broadcast the target unlocking instruction, thereby improving the door opening efficiency. It can be seen that through this solution, the purpose of improving the door opening efficiency can be achieved.

[0063] Optionally, in another embodiment of the present application, each of the first designated channels is an available channel in the target channel group except a channel that can be used as the second channel; accordingly, the method for determining the target channel group includes:

[0064] Determine the target data type; wherein the target data type is the data type with the largest corresponding data volume among the data types; the data types are the types of data used in the conditions that each door control device needs to meet to trigger the door lock to open the door;

[0065] The data bandwidth that can meet the transmission requirements of data of the target data type is used as the channel bandwidth, and the predetermined wireless frequency band is divided into channels to obtain a target channel group.

[0066] It can be understood that, by determining the data type with the largest amount of data among the types of data used in the conditions that each door control device needs to meet to trigger the door lock to open the door, as the target data type, it can be ensured that the communication between the door control device, the door lock and the management host, and the communication between the door control device and the door lock have sufficient bandwidth to ensure fast and stable data transmission. For example: the type of data used in the conditions that the camera needs to meet to trigger the door lock to open the door is the image type, and the type of data used in the conditions that the card reader needs to meet to trigger the door lock to open the door is the text type. The amount of data of the image type is greater than the amount of data of the text type, so the target data type can be determined to be the image type. In other words, the data bandwidth that can meet the transmission requirements of the data of the target data type is used as the channel bandwidth, and the predetermined wireless frequency band is divided into channels. Since the transmission requirements of the data of the target data type can be met, that is, the transmission requirements of the data of the data type with the largest amount of data among the data types can be met, the divided signals can meet the transmission requirements of the data of each data type, so that the target channel group can be obtained; and the target channel group includes multiple first designated channels and second designated channels.

[0067] For example, for image type as the target data type, usually a bandwidth of 100kHz can meet the data transmission of the target data type. Then, for the 433 frequency band, its total bandwidth is 1.74M, calculated based on a bandwidth of 100kHz per channel, it can be divided into a maximum of 17 channels, and the 17 channels are used as the target channel group.

[0068] The above-mentioned method for determining the target channel group is only an example and should not constitute a limitation on the embodiments of the present application. In the case of ensuring fast and stable data transmission, the target channel group can be determined in other ways.

[0069] It can be seen that the embodiment of the present application can determine the target data type, so as to use the data bandwidth that can meet the transmission requirements of the target data type as the channel bandwidth, divide the channels of the predetermined wireless frequency band, and obtain the target channel group. It can ensure that the target channel group can meet the transmission requirements of each data type, provide a basis for realizing concurrent door opening, and thus improve the door opening efficiency.

[0070] Optionally, in another embodiment of the present application, the target management host is any one of a plurality of management hosts in a predetermined area, and each management host corresponds to each gate control device group communicating with it;

[0071] The channel that can be used as the second channel is any channel among a plurality of second designated channels; wherein the number of the plurality of second designated channels satisfies a predetermined condition, and the predetermined condition includes ensuring that any adjacent management hosts do not share the same channel.

[0072] It is understandable that a channel is selected from multiple second designated channels as the second channel. Considering that when adjacent management hosts share the same second channel, channel interference may occur. Therefore, when determining multiple second designated channels, the condition content included in the predetermined condition is to make sure that any adjacent management hosts do not share the same channel. The following example illustrates the situation where adjacent management hosts share the same channel and may cause channel interference: management host 1 and management host 2 are adjacent (adjacent in physical location), and management host 1 and management host 2 share channel 2. Management host 1 can communicate with door lock 1 through channel 2, and management host 2 can also communicate with door lock 2 through channel 2. During the communication process, management host 1 may receive information that door lock 2 should send to management host 2, that is, channel interference occurs.

[0073] It is understandable that if the number of second designated channels is not less than the number of management hosts, a unique second designated channel can be allocated to each management host. At this time, any adjacent management hosts in the predetermined area can not share the same channel. Therefore, in the case where the channels in the target channel group are sufficient or the number of management hosts is small, in an optional implementation, the predetermined condition that the number of the multiple second designated channels needs to meet may include: not less than the number of management hosts in the predetermined area. However, in the case where the channels in the target channel group are insufficient or the number of management hosts is large, the allocation of a unique second designated channel to each management host cannot be met. The number of the multiple second designated channels can be less than the number of management hosts in the predetermined area. However, when the number of second designated channels is less than the number of management hosts, each second designated channel may be reused, and the number of second designated channels must also ensure that any adjacent management hosts do not share the same channel. Exemplarily, there are management host 1, management host 2 and management host 3, among which management host 2 is adjacent to management host 1 and management host 3 respectively, while management host 1 and management host 3 are not adjacent, then the number of second designated channels is at least 2, so that adjacent management hosts do not share the same channel. For example: if the number of second designated channels is two, one second designated channel is allocated to management host 2, and management host 1 and management host 3 can share one second designated channel.

[0074] It can be seen that the embodiment of the present application can determine the number of second designated channels so that any adjacent management hosts do not share the same channel, so that any adjacent management hosts can avoid channel interference, thereby improving the stability of door opening.

[0075] In one implementation, the predetermined condition may also include: satisfying a channel interference prevention condition between the gating device groups within the predetermined area; wherein the gating device groups within the predetermined area are the gating device groups corresponding to the management hosts, and the channel interference prevention condition is: at least enabling adjacent gating device groups within the predetermined area not to share the same channel.

[0076] It can be understood that the predetermined conditions include that any adjacent management hosts do not share the same channel, which can avoid channel interference between management hosts, that is, when each management host communicates with the door control device group and door lock it controls, channel interference can be avoided, and the content included in the predetermined conditions in this implementation method can also avoid channel interference when the door control device group in the predetermined area communicates with the controlled door lock. Then, in this implementation method, since the channels in the target channel group serve as the first designated channel or the second designated channel, the number of second designated channels will also affect the number of first designated channels, that is, the number of channels available to each door control device group. Therefore, when determining the number of the multiple second designated channels, it is considered that any adjacent management hosts do not share the same channel and at least the adjacent door control device groups in the predetermined area do not share the same channel. It can be understood that there are two feasible ways for adjacent gating device groups in a predetermined area not to share the same channel. One is that each gating device group in the predetermined area is allocated a unique channel. The other is that when allocating channels to the gating device groups in the predetermined area, channels are multiplexed, but physically adjacent gating device groups do not share a channel.

[0077] It can be seen that by adding conditional content to the predetermined conditions: any adjacent groups of door control devices do not share the same channel, so as to take into account the channel interference caused by the shared channel between management hosts and any adjacent groups of door control devices in the predetermined area can avoid channel interference, thereby improving the stability of door opening.

[0078] Optionally, in another embodiment of the present application, the method for determining the second channel includes:

[0079] Randomly selecting a second designated channel from a plurality of second designated channels as an initial second channel;

[0080] In response to detecting that the target management host is interfered with by channels of other management hosts, selecting a channel other than the currently used second designated channel from the plurality of second designated channels, switching the current second channel to the selected channel, and obtaining a second channel after the channel switching;

[0081] or,

[0082] The second designated channel indicated by the target configuration information is determined as the second channel; wherein the target configuration information is used to indicate information of the second designated channel allocated to the target management host.

[0083] It can be understood that there are two ways to determine the second channel, wherein the first is to randomly select a second designated channel from a plurality of second designated channels as the initial second channel. There is no manual intervention in the process, and any second designated channel can be used as the initial second channel. Then, in response to detecting that the target management host is interfered with by the channels of other management hosts, a channel other than the currently used second designated channel can be selected from the plurality of second designated channels, and the current second channel can be switched to the selected channel. That is, when channel interference is detected, the current second channel is switched to avoid the situation where channel interference continues to occur. For example, channel 1 is selected from the plurality of second designated channels as the second channel, and the management host 1 and the door control device group 1 can communicate through channel 1. In response to detecting that the management host 1 is interfered with by the channels of the management host 2, channel 1 is switched to channel 2, and channel 2 is used as the second channel after the channel switching. It should be emphasized that this implementation method is to switch automatically, but the currently used second channel is switched only after the channel interference occurs. It can be understood that, exemplarily, in one implementation, channel interference can be identified by receiving information reported by any management host from a group of gate control devices managed by other management hosts, and receiving the information a predetermined number of times; of course, it is not limited to this, and any method that can identify channel interference can be applied to the present application.

[0084] And, in the second mode, the channel represented by the target configuration information is determined as the second channel, the target configuration information is manually configured information, and the target configuration information contains information that can prevent adjacent management hosts from sharing the same channel, that is, the target configuration information indicates the second designated channel configured for each management host, and the target management host and other adjacent management hosts do not share the same second designated channel. It should be emphasized that this implementation method can also be considered as manually configuring the second channel, and since it is manually configured, channel interference will not occur.

[0085] It can be seen that the embodiment of the present application can use two methods to determine the second channel. The first is to randomly determine a second designated channel as the initial second channel, and when channel interference is detected, switch the current second channel to determine the second channel. The second is to determine the second channel based on the target configuration information. The second method is manual configuration, and channel interference will not occur. Therefore, based on the above two methods of determining the second channel, the second channel can be automatically determined to improve efficiency, and it can also be manually configured to completely avoid channel interference.

[0086] Optionally, in another embodiment of the present application, when the device form of the target door control device is a door opening button form, the trigger condition for triggering the door lock to open is met, including condition A1; wherein, condition A1 includes: detecting that the target door control device is triggered to indicate an operation to open the door; or, when the device form of the target door control device is an identity credential recognition device, the trigger condition for triggering the door lock to open is met, including condition B1, and condition B1 includes authentication of the target identity credential of the user collected by the identity credential recognition device.

[0087] It can be understood that when the device form of the target door control device is a door opening button, when it is detected that the door opening button is pressed, it can be considered that the trigger condition for triggering the door lock to open is met; in addition, if the door opening button is not detected to be pressed, it can be considered that the trigger condition for triggering the door lock to open is not met.

[0088] It is understandable that when the target door control device is in the form of an identity credential recognition device, it can correspond to condition B1. At this time, if the target identity credential of the user collected by the identity credential recognition device is authenticated, it can be considered that the trigger condition for triggering the door lock to open is met. It should be emphasized that the target identity credential of the user collected by the identity credential recognition device can be the user's card swipe information or the user's facial information, and the embodiment of the present application does not specifically limit this; in addition, when the identity credential recognition device can only collect the user's card swipe information, the identity credential recognition device can be considered to be a card reader; when the identity credential recognition device can collect the user's facial information, it can be considered that the identity credential recognition device has the function of image acquisition.

[0089] For the sake of clarity, the process of authenticating the target identity credentials of the user collected by the identity credential recognition device will be introduced in subsequent embodiments and will not be elaborated on here.

[0090] It can be seen that the embodiments of the present application determine the trigger conditions for triggering the opening of the door lock for different device forms of the target door control device. When it is detected that the target door control device is triggered to indicate the operation of opening the door, it can be considered that the trigger conditions for triggering the opening of the door lock are met; for the target identity credentials of the user collected by the identity credential recognition device, if the authentication is passed, it can be considered that the trigger conditions for triggering the opening of the door lock are met; thereby providing trigger conditions for target door control devices of various device forms, thereby improving the user experience.

[0091] Optionally, in another embodiment of the present application, when the device form of the target door control device is an identity credential recognition device, in response to satisfying the condition for triggering the door lock to open the door, before constructing the target unlocking instruction carrying the target identification, the method further includes: steps C1-C5 or steps D1-D3:

[0092] Step C1, collecting the target identity credentials of the user;

[0093] It is understandable that in step C1, only the target identity credentials of the user may be collected, that is, only a single type of identity credentials of the user may be collected, and only the card swiping information or facial information of the user may be collected, and the embodiment of the present application does not make any specific limitation on this.

[0094] Step C2, based on the identity credentials in the local authority information, identity authentication is performed on the target identity credentials of the collected user; wherein the local authority information includes part of the identity credentials pre-registered in the target management host;

[0095] It is understandable that the identity credential recognition device has a certain storage capacity, so it can store local authority information. The local authority information can include some of the credentials pre-registered in the target management host. Then, the target identity credential collected by the identity credential recognition device can be authenticated with the identity credential in the local authority information. There may be situations where the authentication is passed and situations where the authentication is not passed. Exemplarily, the identity credential recognition device 1 can authenticate card swipe information. Then, the collected card swipe information can be authenticated with some of the card swipe information stored locally by the identity credential recognition device 1.

[0096] Also, if the identity credential recognition device only performs authentication on the card swiping information, then the identity authentication can be considered as detecting whether there is card swiping information in the identity credential in the local authority information that is the same as the card swiping information collected by the identity credential recognition device; if the identity credential recognition device only performs authentication on facial information, then the identity authentication can be considered as detecting whether there is facial information in the identity credential in the local authority information that belongs to the same user as the facial information collected by the identity credential recognition device.

[0097] Step C3: if the authentication is successful, it is determined that the conditions for triggering the door lock to be opened are met;

[0098] It can be understood that if the identity credential recognition device only authenticates the card swiping information, then the identity credential in the local authority information is the locally stored card swiping information. When it is detected that the card swiping information collected by the identity credential recognition device is the same as the locally stored card swiping information, it can be considered that the authentication is successful. At this time, it can be determined that the conditions for triggering the door lock to open are met; if the identity credential recognition device only authenticates the facial information, then the identity credential in the local authority information is the locally stored facial information. When it is detected that the facial information collected by the identity credential recognition device belongs to the same user as any locally stored facial information, it can be considered that the authentication is successful. At this time, it can be determined that the conditions for triggering the door lock to open are met.

[0099] Step C4, otherwise, sending an authentication request carrying at least the target identity credential to the target management host through the second channel, so that the target management host matches and analyzes the target identity credential carried in the authentication request with each identity credential pre-registered in the target management host to obtain an analysis result, and based on the analysis result, determining an authentication result corresponding to the authentication request, and sending the determined authentication result to the target door control device through the second channel;

[0100] It is understandable that due to the limited storage capacity of the identity credential recognition device, the target management host cannot send all the pre-registered identity credentials to the identity credential recognition device. Therefore, there may be a situation where the user's identity credentials are only stored in the target management host but not in the identity credential recognition device, resulting in a matching failure; then, an authentication request carrying at least the target identity credential can be sent to the target management host through the second channel so that the target management host can perform authentication; it should be emphasized that the target management host can register the identity credentials of all users, and the target management host can match and analyze the target identity credential carried in the authentication request with the identity credentials pre-registered in the target management host. The matching and analysis process is similar to the matching and analysis process performed by the identity credential recognition device introduced above. Please refer to the matching analysis process introduced above, so no further details will be given here.

[0101] Furthermore, the target management host can obtain the analysis result after matching analysis, and determine the authentication result corresponding to the authentication request based on the analysis result. The authentication result can indicate whether the authentication is passed or not. The authentication result can be sent to the identity credential recognition device through the second channel.

[0102] Step C5, in response to the received authentication result being authentication passed, it is determined that the condition for triggering the door lock to be unlocked is met.

[0103] It can be understood that, in response to the received authentication result being authentication passed, it indicates that the target identity credentials collected by the target door control device are pre-registered in the target management host, and it can also be considered that the target identity credentials collected by the target door control device have the authority to open the door, and it can be determined that the conditions for triggering the door lock to open are met; similarly, if the received authentication result is authentication failed, it can be determined that the conditions for triggering the door lock to open are not met.

[0104] In another embodiment of the present application, the method further comprises step C6:

[0105] Step C6, receiving the permission update information sent by the target management host through the second channel; updating the local permission information based on the permission update information, and feeding back the update result to the target management host through the second channel;

[0106] Among them, the permission update information includes the first permission update information or the second permission update information; the first permission update information is: when the authentication result is a representation that the authentication is passed, the information fed back contains at least the first identity credential, that is, when the authentication result fed back by the target management host to the target gate control device is a representation that the authentication is passed, the information fed back contains at least the first identity credential; the first identity credential is an identity credential pre-registered in the target management host and matches the collected target identity credential; the second permission update information is: when the target management host detects that the second identity credential has changed, the information fed back to the target gate control device contains at least the second identity credential after the change; the second identity credential is an identity credential belonging to the local permission information of the target gate control device.

[0107] It can be understood that the permission update information can be two types of information, namely, the first permission update information or the second permission update information; wherein, the first permission update information is when the authentication result indicates that the authentication is passed, the identity credentials pre-registered in the target management host and the identity credentials that match the collected target identity credentials can be used. Then, based on the first permission update information, the local permission information of the target gate control device can be updated. Therefore, the local permission information of the target gate control device can include the identity credentials represented by the first permission update information, and the update result can be fed back to the target management host through the second channel.

[0108] And, the second permission update information is the information of the identity credential after the change, which is fed back to the target gate control device when the target management host detects the identity credential of the local permission information of the target gate control device is changed. For example, after the user modifies the permission information of any person through the target management host, the target management host can send the second permission update information to the target gate control device through the second channel, and the permission update information includes the identity credential that needs to be updated to the target gate control device. Exemplarily, the target management host adds the identity credential of user 1. After the target management host completes the addition, it can send the permission update information to the card reader through the second channel, and the permission update information includes the identity credential of user 1.

[0109] It is understandable that the target door control device can update the local permission information in a timely manner based on the permission update information, and after the update, it can send a reply message of completing the update to the target management host through the second channel. Exemplarily, the card reader can update the local permission information based on the permission update information, thereby realizing the addition of the identity credential of user 1.

[0110] It can be seen that the target management host can update the permission information. After the target management host updates its own permission information, it can send the permission update information to the target door control device through the second channel. The target door control device can also update the local permission information based on the permission update information. The real-time update of the local permission information can improve the security of opening the smart door.

[0111] It is understandable that steps D1-D3 are completely different from steps C1-C5 in terms of data collection and identity authentication, which are described below:

[0112] Step D1, collecting each type of target identity credentials of the user according to a predetermined collection order;

[0113] It is understandable that in step D1, each type of target identity credential of the user can be collected, and the collected types of target identity credential can include card swipe information and facial information, etc. Then, each type of target identity credential of the user can be collected in a predetermined collection order, and the card swipe information can be collected first, and then the facial information can be collected, or the facial information can be collected first, and then the card swipe information can be collected. The embodiment of the present application does not specifically limit this. And this collection method can also be considered as a combined collection method.

[0114] Step D2, whenever a type of target identity credential is collected, identity authentication is performed on the type of target identity credential based at least on the local authority information to obtain an authentication result corresponding to the type of target identity credential;

[0115] It can be understood that whenever a type of target identity credential is collected, the type of target identity credential can be authenticated based on the local authority information, that is, the collected target identity credential of the user can be authenticated with the identity credential in the local authority information. This process is similar to the above-mentioned step C2 and will not be elaborated on here. If the authentication fails, an authentication request carrying at least the target identity credential can be sent to the target management host through the second channel, so that the target management host matches and analyzes the target identity credential carried in the authentication request with each identity credential pre-registered in the target management host. This process is similar to the above-mentioned step C4 and will not be elaborated on here. In addition, after the identity authentication, the authentication result corresponding to the type of target identity credential can be obtained, and finally the authentication result corresponding to the card swiping information type target identity credential and the authentication result corresponding to the facial information type target identity credential can be obtained.

[0116] Step D3: If the authentication results corresponding to each type of target identity credentials are all authenticated and the collected target identity credentials belong to the same user, it is determined that the condition for triggering the door lock to be opened is met.

[0117] It is understandable that if the authentication results corresponding to the target identity credentials of the card swipe information type and the authentication results corresponding to the target identity credentials of the facial information type are both authenticated, and the various types of target identity credentials collected belong to the same user, it can be determined that the conditions for triggering the door lock to be opened are met; if the authentication result corresponding to any type of target identity credentials is authentication failure, or the authentication results corresponding to each type of target identity credentials are all authenticated, but the various types of target identity credentials collected do not belong to the same user, it is also impossible to determine that the conditions for triggering the door lock to be opened are met. Exemplarily, if the authentication results corresponding to the card swipe information and facial information of user 1 are both authenticated, and the collected card swipe information and facial information all belong to user 1, then it can be determined that the conditions for triggering the door lock to be opened are met.

[0118] Of course, the card swiping information type target identity credentials and facial information type target identity credentials introduced above are only for exemplary purposes and do not specifically limit the embodiments of the present application.

[0119] It can be seen that for steps D1-D3, collection can be performed based on each type of identity credentials. Only when the authentication results corresponding to each type of target identity credentials are all authenticated and the collected types of target identity credentials belong to the same user, can it be determined that the conditions for triggering the door lock to open are met; compared with other authentication methods, this authentication method can greatly improve the security of smart door opening.

[0120] In another embodiment, the method further comprises step D4:

[0121] Step D4, during the process of collecting credentials according to the predetermined collection order, if the remaining target identity credentials of other types are not collected within a predetermined time after collecting one type of target identity credentials, an authentication timeout information is output.

[0122] It is understandable that, in the process of collecting credentials according to the predetermined collection order, if the target identity credential of the facial information type is not collected within the predetermined time after the target identity credential of the card swipe information type is collected, the authentication timeout information can be output; similarly, if the target identity credential of the card swipe information type is not collected within the predetermined time after the target identity credential of the facial information type is collected, the authentication timeout information can also be output; wherein, the predetermined time can be 1min or 30s, etc., and the embodiments of the present application do not make specific limitations on this. Exemplarily, the identity credential recognition device only recognizes the facial information of person A as the target identity credential, but fails to recognize the card swipe information of person A within the predetermined time. At this time, the authentication timeout information can be output; the subsequent target management host can also record the timeout information.

[0123] It can be seen that during the process of credential collection by the target door control device, if the remaining other types of target identity credentials are not collected within the predetermined time after one type of target identity credentials are collected, the authentication timeout information is output, which improves the security of opening the smart door and avoids the situation of long-term credential collection.

[0124] It can be seen that in the embodiment of the present application, the target identity credentials of the collected user can be authenticated with the identity credentials in the local authority information. If the authentication is successful, it is determined that the conditions for triggering the door lock to open are met. Otherwise, the target identity credentials are sent to the target management host so that the target management host performs a matching analysis and returns the obtained authentication result to the target door control device; then, for the target identity credentials that fail to pass the authentication of the target door control device, the embodiment of the present application can also continue to authenticate with the help of the target management host, thereby improving the accuracy of the authentication result, thereby improving the safety of opening the smart door, and thereby improving the accuracy of the door lock in executing the door opening action.

[0125] Optionally, in another embodiment of the present application, the registration process of the target door control device for the target door lock includes: Figure 4 As shown, it may include:

[0126] S401, receiving a communication handshake request based on a first channel;

[0127] Wherein, the communication handshake request is sent by the target door lock to the target door control device based on the device identifier in the target binding information after receiving the target binding information and being assigned the first channel; wherein the target binding information is the binding information sent by the target management host to the target subsystem, and includes the binding relationship between the device identifiers of the devices in the target subsystem; the target subsystem includes the door control device group to which the target door control device belongs and the target door lock. It can be understood that the target management host can send the target binding information to the target subsystem through the second channel in advance, and allocate the first channel, the target binding information includes the device identifier, and the device identifier is the device identifier for the target door control device; the target door lock can actively send a handshake request to the target door control device through the first channel based on the device identifier in the target binding information, so that the target door control device receives the communication handshake request based on the first channel, and the handshake request can also be considered as a message requesting mutual handshake communication, and this application does not make specific limitations on this.

[0128] S402, performing a communication handshake with the target door lock that issued the communication handshake request based on the first channel;

[0129] It is understandable that after the target door control device receives the communication handshake request sent by the target door lock, it can perform a communication handshake with the target door lock based on the first channel, that is, send handshake information to the target door lock through the first channel, thereby realizing a communication handshake.

[0130] S403, after the handshake is successful, receiving a registration request carrying a device identification of the target door lock sent by the target door lock through the first channel;

[0131] It can be understood that after the handshake is successful, the target door control device can act as a HUB. Then, the target door lock needs to actively register with the target door control device. The target door lock can actively send a registration request carrying the device identification of the target door lock to the target door control device through the first channel, and the target door control device can receive the registration request sent by the target door lock.

[0132] S404, detecting whether the device identifier in the target binding information received by itself contains the device identifier in the registration request;

[0133] It can be understood that the target door control device can detect whether the device identifier in the target binding information sent by the target management host contains the device identifier in the registration request, that is, whether the door lock requested to be registered is the target door lock in the target subsystem that received the target binding information.

[0134] S405: In the case of inclusion, register the target door lock, and return a response result indicating successful registration to the target door lock through the first channel.

[0135] It can be understood that if it is included, it means that the door lock requesting registration is the target door lock in the target subsystem that has received the target binding information. Then, the target door lock can be registered in response to the registration request, and a response result representing a successful registration can be returned to the target door lock through the first channel. A successful registration can also be considered as a successful pairing of the target subsystem. Subsequently, the target door lock can send a response result of a successful registration to the target management host through the second channel so that the target management host can record it.

[0136] It can be seen that the target door lock in the embodiment of the present application can actively send a handshake request to the target door control device. After the handshake is successful, a registration request carrying the device identification of the target door lock can be sent to the target door control device, thereby realizing registration with the target door control device, thereby facilitating subsequent communication between the target door control device and the target door lock, and facilitating subsequent improvement of the door opening efficiency.

[0137] Optionally, in another embodiment of the present application, the method further includes steps E1-E2:

[0138] Step E1, receiving a channel switching message broadcasted by the target management host based on the second channel; wherein the channel switching message is a message for switching the channel used for communication between the door control device and the door lock; wherein the channel switching message is sent to the target subsystem through the second channel after the target management host reallocates the channel for the target subsystem in accordance with a predetermined channel reallocation method when receiving a message reported by the target door lock through the second channel indicating the existence of channel interference; the channel switching message carries the channel identifier of the channel to be switched to and the device identifier of the device in the target subsystem; the target subsystem includes the door control device group to which the target door control device belongs and the target door lock;

[0139] It is understandable that when the target door lock continuously receives multiple target unlocking instructions containing different device identifiers, it can report a message indicating the existence of channel interference to the target management host through the second channel. Then, the target management host can respond to the message indicating the existence of channel interference and, in accordance with a predetermined channel reallocation method, perform channel reallocation for the target subsystem and send a channel switching message to the target subsystem through the second channel. The channel switching message carries the channel identifier of the channel to be switched to. Then, the target door control device in the target subsystem can receive the channel switching message broadcasted by the target management host based on the second channel. Exemplarily, the target management host determines that the channel on which the current door lock 1 communicates with the card reader 1 is channel X in response to the message indicating the existence of channel interference sent by the door lock 1. According to the channel reallocation method, it can determine that channel Y is the channel to be switched to, and can send a channel switching message carrying the channel identifier of channel Y to the door lock 1 and the card reader 1.

[0140] And, the channel reallocation method can be considered as giving priority to selecting the channel with the lowest current usage frequency and allocating it to the target subsystem to ensure that there will be no channel interference with other subsystems. Of course, the channel reallocation method introduced above is only an exemplary introduction and does not specifically limit the embodiments of the present application.

[0141] In addition, when the number of each first designated channel is less than the number of each door control device group, that is, the number of door control device groups of each smart door is greater than the number of each first designated channel, at this time, there will be a situation where multiple door control device groups share one channel, and the first channel is also used for at least one door control device group to communicate with the controlled door lock, which may cause channel interference. Then, the target door lock will receive the target instruction at this time. The target instruction is an unlocking instruction whose device identifier is different from the device identifier of the door control device registered by itself. When the receiving frequency of the target door lock for the target instruction is higher than the predetermined frequency threshold, a message indicating the existence of channel interference can be reported. The predetermined frequency threshold is the frequency threshold of the unlocking instruction that the target door lock can receive when the door is opened and closed normally. For example: There are 32 smart doors with 10 channels allocated, then there may be a situation where up to 4 door control device groups share one channel, which may cause interference.

[0142] Step E2: In response to the presence of its own device identifier in the device identifier in the channel switching message, use the channel represented by the channel identifier in the channel switching message as a new first channel.

[0143] It can be understood that since the target management host also sends the channel switching message by broadcasting, there will be a situation where multiple gate control devices receive the channel switching message, but the channel switching message carries the device identification of the device in the target subsystem, so the gate control device can identify whether the received device identification is consistent with its own device identification. The target gate control device can respond to the presence of its own device identification in the device identification in the channel switching message, and thus use the channel represented by the channel identification in the channel switching message as the new first channel to achieve switching of the first channel. The subsequent communication between the target gate control device and the door lock can be based on the newly switched first channel.

[0144] It should be emphasized that in order to avoid channel interference, users can plan the channels used by door locks and door control devices in advance, and can manually configure the subsystems of two geographically adjacent smart doors to not share the same channel. Different channels can be assigned to the subsystems of two geographically adjacent smart doors to avoid channel interference.

[0145] In order to better understand the content about channel switching, the following uses the card reader as the target door control device and introduces it in conjunction with the accompanying drawings. Figure 5 As shown:

[0146] S501, the target management host can configure the binding relationship of the card reader;

[0147] It is understandable that the target management host can configure the binding relationship between the card reader and the door lock to obtain the binding information, that is, the binding information sent to the subsystem as introduced above.

[0148] S502, card reader heartbeat report (channel 0-6);

[0149] The second channel is a channel selected from channels 0-6; the card reader can report heartbeat information to the target management host based on the second channel.

[0150] S503, the target management host responds (channel 0-6);

[0151] It is understandable that the target management host can respond to the heartbeat information reported by the card reader through the second channel.

[0152] S504, card reader authority authentication (channel 0-6);

[0153] It can be understood that this is a situation where the card reader fails to authenticate the read card swiping information. At this time, the card reader can send an authority authentication request to the target management host through the second channel.

[0154] S505, the target management host responds (channel 0-6);

[0155] It is understandable that the target management host can respond to the authority authentication request reported by the card reader, authenticate the card swiping information, and send the obtained authentication result back to the card reader to achieve a response.

[0156] S506, the card reader sends an unlock broadcast (channel X);

[0157] Among them, channel X is a pre-set channel used only for communication between the card reader and the door lock, that is, the first channel introduced above. It can be understood that the card reader can send an unlocking broadcast through channel X in response to the authentication result being passed.

[0158] S507, door lock response (channel X);

[0159] It can be understood that the door lock can respond to the card reader through channel X, indicating that the unlocking broadcast has been received.

[0160] S508, the door lock reports channel interference (channel 0-6);

[0161] It is understandable that when the door lock receives multiple unlocking broadcasts that are not related to itself, it can report information indicating the existence of channel interference to the target management host based on the second channel.

[0162] S509, the target management host responds (channel 0-6);

[0163] It is understandable that the target management host can respond through the second channel in response to the information reported by the door lock indicating the existence of channel interference.

[0164] S510, the target management host confirms that among channels 7-16, channel Y has no interference and is used least frequently;

[0165] It can be understood that channels 7-16 can be the first designated channels. The target management host can search for the interference-free and least frequently used channels from the first designated channels again to determine channel Y. Channel Y can be used as the new first channel. Channel Y can be subsequently allocated to the door lock and the card reader, so that the door lock and the card reader can communicate through the Y channel.

[0166] S511, the target management host continues broadcasting;

[0167] It can be understood that the target management host can continue to broadcast, and the broadcast can carry information about channel Y.

[0168] S512, door lock responds;

[0169] It can be understood that after the door lock responds to the broadcast, it can determine that the channel used for subsequent communication with the card reader is channel Y.

[0170] S513, card reader heartbeat report (channel 0-6);

[0171] Wherein, the card reader can report heartbeat information to the target management host based on the second channel;

[0172] S514, the target management host responds (channel 0-6);

[0173] It can be understood that the target management host can respond to the heartbeat information reported by the card reader through the second channel, and the response information can carry information about channel Y;

[0174] S515, card reader permission authentication (channel 0-6);

[0175] It can be understood that this is a situation where the card reader fails to authenticate the read card swiping information. At this time, the card reader can send an authorization authentication request to the target management host through the second channel; at this time, the card reader has responded to the information about channel Y.

[0176] S516, the target management host responds (channel 0-6);

[0177] It is understandable that the target management host can respond to the permission authentication request reported by the card reader, authenticate the card swiping information, and send the obtained authentication result back to the card reader, thereby realizing the response;

[0178] S517, the card reader sends an unlock broadcast (channel Y);

[0179] It is understandable that the card reader can continuously send out unlocking broadcast based on channel Y.

[0180] S518, door lock response (channel Y);

[0181] It can be understood that the door lock can receive the unlocking broadcast based on channel Y, perform the unlocking action, and return the response information to the card reader to achieve the response.

[0182] S519, door lock reports lock status (channel 0-6);

[0183] It is understandable that after the door lock normally performs the unlocking action, the lock status can be reported to the target management host, indicating that it has been opened. The lock status can also be considered as the status information of the door lock.

[0184] S520, the target management host responds (channel 0-6);

[0185] It is understandable that after the lock state is recorded, response information can be returned to the door lock through the second channel to achieve a response.

[0186] It can be seen that the embodiment of the present application can receive a channel switching message broadcast by the target management host based on the second channel, and in response to the presence of its own device identifier in the device identifier in the channel switching message, use the channel represented by the channel identifier in the channel switching message as the new first channel; then, this method can improve the utilization rate of the channel, make full use of the channel, and reduce the consumption of channel resources.

[0187] In another embodiment of the present application, the method further includes steps F1-F3:

[0188] Step F1, based on the second channel, periodically sending heartbeat information to the target management host;

[0189] It is understandable that the target gate control device can periodically send a heartbeat message to the target management host based on the second channel, and the target management host can return a heartbeat response message to the target gate control device after receiving the heartbeat message, thereby determining that the target management host is online. The target gate control device continuously sends a heartbeat message to the target management host with a period of 5 minutes. Of course, 5 minutes is only an exemplary introduction, and this application does not make specific limitations on this.

[0190] Step F2, in response to the fact that no heartbeat response message is received for any heartbeat message sent within a predetermined duration or no heartbeat response message is received for any heartbeat message sent N times in succession, deleting the local authority information;

[0191] It is understandable that if the target door control device does not receive a heartbeat response message for the heartbeat message sent within the predetermined duration, it can be considered that the target management host is not online, wherein the predetermined duration can be 20 minutes, or 30 minutes, and the embodiment of the present application does not make specific restrictions on this; and if the target door control device does not receive a heartbeat response message for the heartbeat message sent N times in a row, it can be determined that the target management host is not online, wherein N times can be 5 times, and the embodiment of the present application does not make specific restrictions on this. Then, when it is determined that the target management host is not online, the local permission information can be directly deleted so that the smart door can only be opened by the door opening button and cannot be opened by other means, thereby improving the safety of opening the smart door. In addition, the target management host may be offline due to network problems or due to a malfunction of the device itself, which is not specifically limited in the present application.

[0192] In another embodiment, when it is determined that the target management host is not online, the local authority information may be deleted after a target duration. For example, the target duration may be 24 hours, which is not specifically limited in the embodiment of the present application.

[0193] Step F3, after detecting reconnection with the target management host, sending a target disclaimer to the target management host so that the target management host responds to the target disclaimer; wherein the target disclaimer is a disclaimer for the period during which no heartbeat response message is received.

[0194] It is understandable that after the target management host is back online, it can reconnect with the target gate control device. At this time, the target gate control device can send a target disclaimer to the target management host, which is a disclaimer for the period during which the heartbeat response message is not received; then, after the target management host receives the target disclaimer, it can respond; exemplarily, user 2 is a staff member who has left company a, but because the target management host has been offline, the permission information has not been synchronized to the card reader, and the card reader has not deleted the local permission in time. At this time, the permission information of user 2 is still saved in the card reader, so user 2 can still enter the smart door of company a by swiping the card. Therefore, after the card reader reconnects with the target management host, it must immediately send a target disclaimer, indicating that the target management host is not responsible for the behavior of user 2 entering and leaving company a during the period when the target management host is offline.

[0195] It can be seen that if the target door control device in the embodiment of the present application does not receive a heartbeat response message for the heartbeat messages sent within a predetermined duration, or does not receive a heartbeat response message for the heartbeat messages sent N times in succession, the local authority information can be directly deleted, thereby effectively improving the security of opening the smart door.

[0196] Optionally, in another embodiment, the present application also provides another data transmission method, such as Figure 6 As shown, it is applied to a target door lock, the target door lock is a door lock that needs to be controlled by a door control device group to which a target door control device belongs, the target door control device is a door control device in each door control device group that communicates with a target management host, and the door lock that needs to be controlled by each door control device group is pre-registered in each device in the door control device group; the method includes:

[0197] S601, receiving a target unlocking instruction based on a first channel;

[0198] The target unlocking instruction is a target unlocking instruction carried with the device identification of the target door control device, which is broadcasted through the first channel after the target door control device constructs the target unlocking instruction in response to the condition for triggering the door lock to unlock being met;

[0199] S602, when it is detected that the device identifier in the target unlocking instruction is the same as the device identifier of the door control device registered by itself, executing the door opening action;

[0200] Among them, the first channel is a pre-allocated channel used for communication between the door control device group to which the target door control device belongs and the controlled target door lock; the first channel is a channel in each first designated channel, each first designated channel is an available channel except the channel that can be used as the second channel, and the second channel is a channel used for communication between each door control device group and the controlled door lock and the target management host respectively.

[0201] Optionally, when the number of the first designated channels is less than the number of the door control device groups, the first channel is also used for at least one other door control device group to communicate with the controlled door lock; the method further includes:

[0202] If it is detected that the channel interference condition for the first channel is met, a message indicating the existence of channel interference is reported to the target management host through the second channel, so that when the target management host receives the message indicating the existence of channel interference reported by the target door lock, it reallocates the channel for the target subsystem according to a predetermined channel reallocation method, and after the channel reallocation, sends a channel switching message to the target subsystem through the second channel; wherein the target subsystem includes the door control device group to which the target door control device belongs and the target door lock; the channel switching message carries the channel identifier of the channel to be switched to and the device identifier of the device in the target subsystem;

[0203] In response to the presence of its own device identifier in the device identifier in the channel switching message, the channel represented by the channel identifier in the channel switching message is used as a new first channel; wherein the channel interference condition includes that the receiving frequency of the target instruction is higher than a predetermined frequency threshold; the target instruction is an unlocking instruction that carries a device identifier that is different from the device identifier of the door control device registered by itself.

[0204] It can be understood that the executor of the data transmission method is the target door lock, which corresponds to the data transmission method introduced above. The specific content can be found in the above method embodiment, so no further details will be given here.

[0205] It can be seen that compared with the related art, the target door lock in the present application does not need to interact with the target management host during the process of opening the door lock, thereby improving the door opening efficiency; and, the embodiment of the present application pre-allocates a first channel, which is a channel for communication between the door control device group to which the target door control device belongs and the controlled target door lock. Then, when multiple door control devices want to control the opening of different door locks at the same time, each door control device can broadcast the target unlocking instruction through its own allocated first channel, without the need for the target management host to send the target unlocking instruction to the door lock based on the same channel, thereby avoiding channel congestion, thereby realizing concurrent door opening, and each door control device can broadcast the target unlocking instruction, thereby improving the door opening efficiency. It can be seen that through this solution, the purpose of improving the door opening efficiency can be achieved.

[0206] Optionally, in another embodiment, the present application also provides another data transmission method, such as Figure 7 As shown, it is applied to a target management host, the target management host communicates with each door control device group, and the door lock controlled by each door control device group is pre-registered in the door control device group; the method includes:

[0207] S701, determining a first channel for communication between a target door control device group and a controlled target door lock;

[0208] The target door control device group is any one of the door control device groups, the first channel is a channel in each first designated channel, each first designated channel is an available channel except a channel that can be used as a second channel, and the second channel is a channel used for each door control device group and the controlled door lock to communicate with the target management host respectively;

[0209] S702, sending the first channel to the devices in the target door control device group and the target door lock through the second channel, so that the target door control device in the target door control device group assigned with the first channel, in response to satisfying the condition for triggering the door lock to open the door, constructs a target unlocking instruction carrying a target identifier, and broadcasts the target unlocking instruction through the first channel, so that the door lock assigned with the first channel, in response to receiving the target unlocking instruction, detects whether the target identifier in the target unlocking instruction is the same as the device identifier of the door control device registered with itself, and if they are the same, performs the door opening action;

[0210] The target identifier is a device identifier of the target gate control device.

[0211] Optionally, each of the first designated channels is an available channel in a target channel group except a channel that can be used as a second channel; and a method for determining the target channel group includes:

[0212] Determine the target data type; wherein the target data type is the data type with the largest corresponding data volume among the data types; the data types are the types of data used in the conditions that each door control device needs to meet to trigger the door lock to open the door;

[0213] The data bandwidth that can meet the transmission requirements of data of the target data type is used as the channel bandwidth, and the predetermined wireless frequency band is divided into channels to obtain a target channel group.

[0214] Optionally, the target management host is any one of a plurality of management hosts in a predetermined area, and each management host corresponds to each group of door control devices communicating with each other; the channel that can be used as the second channel is any one of a plurality of second designated channels; wherein the number of the plurality of second designated channels satisfies a predetermined condition, and the predetermined condition includes that any adjacent management hosts do not share the same channel;

[0215] Optionally, the second channel is determined in a manner including: randomly selecting a second designated channel from a plurality of second designated channels as an initial second channel;

[0216] In response to receiving information sent through the initial second channel by each gate control device group corresponding to other management hosts, a channel other than the currently used second designated channel is selected from the multiple second designated channels, and the current second channel is switched to the selected channel to obtain the second channel after the channel switching; or, the second designated channel indicated by the target configuration information is determined as the second channel; wherein the target configuration information is used to indicate information about the second designated channel allocated to the target management host.

[0217] Optionally, the predetermined condition also includes: satisfying the channel interference prevention condition between the gate control device groups within the predetermined area; wherein, the gate control device groups within the predetermined area are the gate control device groups corresponding to each management host, and the channel interference prevention condition is: at least enabling adjacent gate control device groups within the predetermined area to not share the same channel.

[0218] Optionally, the data transmission method applied to the target management host further includes:

[0219] After receiving the message indicating the existence of channel interference reported by the target door lock through the second channel, the channel is reallocated for the target subsystem according to the predetermined channel reallocation method, and a channel switching message is constructed; wherein the channel switching message carries the channel identifier of the channel to be switched to and the device identifier of the device in the target subsystem; the target subsystem includes the target door control device group and the target door lock;

[0220] A channel switching message is sent to the target subsystem through the second channel, so that each door control device in the target subsystem receives the channel switching message, and in response to the presence of its own device identifier in the device identifier in the channel switching message, uses the channel represented by the channel identifier in the channel switching message as a new first channel, and the target door lock in the target subsystem receives the channel switching message, and in response to the presence of its own device identifier in the device identifier in the channel switching message, uses the channel represented by the channel identifier in the channel switching message as a new first channel.

[0221] It can be understood that the execution subject of the data transmission method is the target management host, which corresponds to the data transmission method introduced above. The specific content can be found in the above method embodiment, so no further details will be given here.

[0222] It can be seen that compared with the related art, in the present application, the target door lock does not need to interact with the target management host during the process of opening the door lock, thereby improving the door opening efficiency; and, in the embodiment of the present application, the target management host can allocate a first channel, and the first channel is a channel for communication between the door control device group to which the target door control device belongs and the controlled target door lock. Then, when multiple door control devices want to control the opening of different door locks at the same time, each door control device can broadcast the target unlocking instruction through its own allocated first channel, without the need for the target management host to send the target unlocking instruction to the door lock based on the same channel, thereby avoiding channel congestion, thereby realizing concurrent door opening, and each door control device can broadcast the target unlocking instruction, thereby improving the door opening efficiency. It can be seen that through this solution, the purpose of improving the door opening efficiency can be achieved.

[0223] In the technical solution of this application, the operations involved in obtaining, storing, using, processing, transmitting, providing and disclosing user personal information are all carried out with the user's authorization.

[0224] The present application also provides a gating device, referred to as a target gating device, such as Figure 8 As shown, it includes: a memory 801 for storing computer programs; a processor 802 for implementing any of the above-mentioned data transmission methods provided from the perspective of the target gate control device when executing the program stored in the memory 801. In addition, the above-mentioned gate control device may also include a communication bus and / or a communication interface, and the processor 802, the communication interface, and the memory 801 communicate with each other through the communication bus.

[0225] Furthermore, the embodiment of the present application further provides a door lock, referred to as a target door lock, comprising: a memory for storing a computer program; a processor for implementing any of the data transmission methods provided from the perspective of the target door lock when executing the program stored in the memory. The door lock may also include a communication bus and / or a communication interface, and the processor, the communication interface, and the memory communicate with each other via the communication bus.

[0226] Furthermore, the embodiment of the present application further provides a management host, denoted as the target management host, including: a memory for storing computer programs; a processor for implementing any of the above-mentioned data transmission methods provided from the perspective of the target management host when executing the programs stored in the memory. And the above-mentioned management host may also include a communication bus and / or a communication interface, and the processor, communication interface, and memory communicate with each other via the communication bus. It can be understood that the device structure of the door lock and the management host can refer to the structure of the above-mentioned door control device, that is, it can refer to Figure 8 .

[0227] The communication bus mentioned in the above-mentioned door control device / door lock / management host 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. The communication interface is used for communication between the above-mentioned door control device / door lock / management host and other devices. The memory can include a random access memory (RAM) and can also include a non-volatile memory (NVM), such as at least one disk storage. Optionally, the memory can also be at least one storage device located away from the aforementioned processor. 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.

[0228] In another embodiment provided in the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, any of the above-mentioned data transmission methods is implemented.

[0229] 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 of the data transmission methods in the above embodiments.

[0230] 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 a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may 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 may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may 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.

[0231] It should be noted that, in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is 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 the 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 "including one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements. Each embodiment in this specification is described in a related manner, and the same and 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 system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts refer to the partial description of the method embodiment. The above description is only a preferred embodiment of the present application, and is not intended to limit the scope of protection of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this application are included in the protection scope of this application.

Claims

1. A data transmission method, characterized in that: Applied to a target door control device, the target door control device is a door control device in each door control device group communicating with a target management host, and the door locks controlled by each door control device group are pre-registered in each device in the door control device group; the method comprises: In response to satisfying the condition for triggering the door lock to open the door, constructing a target unlocking instruction carrying a target identifier; wherein the target identifier is a device identifier of the target door control device; Broadcasting the target unlocking instruction through the first channel, so that the door lock equipped with the first channel responds to receiving the target unlocking instruction, detects whether the target identifier in the target unlocking instruction is the same as the device identifier of the door control device registered by itself, and if they are the same, performs the door opening action; Among them, the first channel is a pre-allocated channel used for communication between the door control device group to which the target door control device belongs and the controlled target door lock; the first channel is a channel in each first designated channel, each first designated channel is an available channel except the channel that can be used as the second channel, and the second channel is a channel used for communication between each door control device group and the controlled door lock and the target management host respectively.

2. The method according to claim 1, characterized in that Each of the first designated channels is an available channel in the target channel group except a channel that can be used as a second channel; The method for determining the target channel group includes: Determine the target data type; wherein the target data type is the data type with the largest corresponding data volume among the data types; the data types are the types of data used in the conditions that each door control device needs to meet to trigger the door lock to open the door; The data bandwidth that can meet the transmission requirements of data of the target data type is used as the channel bandwidth, and the predetermined wireless frequency band is divided into channels to obtain a target channel group.

3. The method according to claim 1 or 2, characterized in that: The target management host is any one of a plurality of management hosts in a predetermined area, and each management host corresponds to each door control device group communicating with it; The channel that can be used as the second channel is any channel among a plurality of second designated channels; wherein the number of the plurality of second designated channels satisfies a predetermined condition, and the predetermined condition includes ensuring that any adjacent management hosts do not share the same channel.

4. The method according to claim 3, characterized in that The method for determining the second channel includes: Randomly selecting a second designated channel from a plurality of second designated channels as an initial second channel; In response to detecting that the target management host is interfered with by channels of other management hosts, selecting a channel other than the currently used second designated channel from the plurality of second designated channels, switching the current second channel to the selected channel, and obtaining a second channel after the channel switching; or, The second designated channel indicated by the target configuration information is determined as the second channel; wherein the target configuration information is used to indicate information of the second designated channel allocated to the target management host.

5. The method according to claim 3, characterized in that: The predetermined condition also includes: satisfying the channel interference prevention condition between the gating device groups within the predetermined area; wherein, the gating device groups within the predetermined area are the gating device groups corresponding to the management hosts, and the channel interference prevention condition is: at least enabling adjacent gating device groups within the predetermined area not to share the same channel.

6. The method according to claim 1, characterized in that The method further comprises: Receive a channel switching message broadcasted by the target management host based on the second channel; wherein the channel switching message is a message for switching the channel used for communication between the door control device and the door lock; wherein the channel switching message is sent to the target subsystem through the second channel by the target management host after receiving a message indicating the existence of channel interference reported by the target door lock through the second channel and reallocating the channel for the target subsystem in accordance with a predetermined channel reallocation method; the channel switching message carries a channel identifier of the channel to be switched to and a device identifier of a device in the target subsystem; the target subsystem includes the door control device group to which the target door control device belongs and the target door lock; In response to the presence of its own device identifier in the device identifier in the channel switching message, the channel represented by the channel identifier in the channel switching message is used as a new first channel.

7. The method according to claim 1, characterized in that In the case where the device form of the target door control device is an identity credential recognition device, in response to satisfying the condition for triggering the door lock to open, before constructing the target unlocking instruction carrying the target identification, the method further includes: Collect the target identity credentials of the user; Based on the identity credentials in the local authority information, identity authentication is performed on the collected target identity credentials of the user; wherein the local authority information includes some credentials of each identity credential pre-registered in the target management host; If the authentication is successful, it is determined that the conditions for triggering the door lock to be opened are met; Otherwise, sending an authentication request carrying at least the target identity credential to the target management host through the second channel, so that the target management host matches and analyzes the target identity credential carried in the authentication request with each identity credential pre-registered in the target management host to obtain an analysis result, and based on the analysis result, determining an authentication result corresponding to the authentication request, and sending the determined authentication result to the target door control device through the second channel; In response to the received authentication result being authentication passed, determining that the condition for triggering the door lock to be unlocked is met; or, Collect each type of target identity credentials of the user in a predetermined collection order; Whenever a type of target identity credential is collected, identity authentication is performed on the type of target identity credential based at least on the local authority information to obtain an authentication result corresponding to the type of target identity credential; If the authentication results corresponding to each type of target identity credentials are all authenticated and the collected types of target identity credentials belong to the same user, it is determined that the conditions for triggering the door lock to be opened are met.

8. The method according to claim 7, characterized in that Also includes: Receiving permission update information sent by the target management host through the second channel; Based on the permission update information, the local permission information is updated, and the update result is fed back to the target management host through the second channel; Wherein, the permission update information includes first permission update information or second permission update information; The first permission update information is: when the authentication result indicates that the authentication is passed, the information fed back includes at least the first identity credential; the first identity credential is an identity credential pre-registered in the target management host and matching the collected target identity credential; The second permission update information is: when the target management host detects that the second identity credential has changed, the target management host feeds back to the target gate control device the information at least including the changed second identity credential; the second identity credential is an identity credential belonging to the local permission information of the target gate control device.

9. The method according to claim 1, characterized in that: The registration process of the target door control device for the target door lock includes: Based on the first channel, a communication handshake request is received; wherein the communication handshake request is sent by the target door lock to the target door control device based on the device identifier in the target binding information after the target door lock receives the target binding information and is assigned the first channel; wherein the target binding information is the binding information sent by the target management host to the target subsystem, and includes the binding relationship between the device identifiers of the devices in the target subsystem; the target subsystem includes the door control device group to which the target door control device belongs and the target door lock; Based on the first channel, performing a communication handshake with the target door lock that issues the communication handshake request; After the handshake is successful, receiving a registration request carrying a device identification of the target door lock sent by the target door lock through the first channel; Detecting whether the device identifier in the target binding information received by itself includes the device identifier in the registration request; In the case of inclusion, the target door lock is registered, and a response result indicating successful registration is returned to the target door lock through the first channel.

10. The method according to claim 7, characterized in that Also includes: Based on the second channel, periodically sending heartbeat information to the target management host; In response to no heartbeat reply message being received for any heartbeat message sent within a predetermined duration or no heartbeat reply message being received for any heartbeat message sent N times in succession, deleting the local authority information; After detecting reconnection with the target management host, a target disclaimer is sent to the target management host so that the target management host responds to the target disclaimer; wherein the target disclaimer is a disclaimer for a period of time when no heartbeat response message is received.

11. A data transmission method, characterized in that: Applied to a target door lock, the target door lock is a door lock that needs to be controlled by a door control device group to which a target door control device belongs, the target door control device is a door control device in each door control device group that communicates with a target management host, and the door lock that needs to be controlled by each door control device group is pre-registered in each device in the door control device group; the method includes: Based on the first channel, receiving a target unlocking instruction; wherein the target unlocking instruction is a target unlocking instruction carried with a device identifier of the target door control device, which is constructed by the target door control device in response to satisfying a condition for triggering the door lock to unlock, and then broadcasted through the first channel; When it is detected that the device identification in the target unlocking instruction is the same as the device identification of the door control device registered by itself, executing the door opening action; Among them, the first channel is a pre-allocated channel used for communication between the door control device group to which the target door control device belongs and the controlled target door lock; the first channel is a channel in each first designated channel, each first designated channel is an available channel except the channel that can be used as the second channel, and the second channel is a channel used for communication between each door control device group and the controlled door lock and the target management host respectively.

12. The method according to claim 11, characterized in that When the number of the first designated channels is less than the number of the door control device groups, the first channel is also used for at least one other door control device group to communicate with the controlled door lock; The method further comprises: If it is detected that the channel interference condition for the first channel is met, a message indicating the existence of channel interference is reported to the target management host through the second channel, so that when the target management host receives the message indicating the existence of channel interference reported by the target door lock, it reallocates the channel for the target subsystem according to a predetermined channel reallocation method, and after the channel reallocation, sends a channel switching message to the target subsystem through the second channel; wherein the target subsystem includes the door control device group to which the target door control device belongs and the target door lock; the channel switching message carries the channel identifier of the channel to be switched to and the device identifier of the device in the target subsystem; In response to the presence of its own device identifier in the device identifier in the channel switch message, taking the channel represented by the channel identifier in the channel switch message as a new first channel; The channel interference condition includes that the receiving frequency of the target command is higher than a predetermined frequency threshold; and the target command is an unlocking command whose device identifier is different from the device identifier of the door control device registered with the target command.

13. A data transmission method, characterized in that: Applied to a target management host, the target management host communicates with each door control device group, and the door locks controlled by each door control device group are pre-registered in the door control device group; the method includes: Determine a first channel for communication between a target door control device group and a controlled target door lock; wherein the target door control device group is any one of the door control device groups, the first channel is a channel in each first designated channel, each first designated channel is an available channel other than a channel that can be used as a second channel, and the second channel is a channel for communication between each door control device group and the controlled door lock and the target management host respectively; The first channel is sent to the devices in the target door control device group and the target door lock through the second channel, so that the target door control device in the target door control device group assigned with the first channel, in response to satisfying the condition for triggering the door lock to open the door, constructs a target unlocking instruction carrying a target identifier, and broadcasts the target unlocking instruction through the first channel, so that the door lock assigned with the first channel, in response to receiving the target unlocking instruction, detects whether the target identifier in the target unlocking instruction is the same as the device identifier of the door control device registered with itself, and if they are the same, performs the door opening action; The target identifier is a device identifier of the target gate control device.

14. The method according to claim 13, characterized in that The first designated channels are available channels in the target channel group except for channels that can be used as second channels; the target channel group is determined in the following manner: Determine the target data type; wherein the target data type is the data type with the largest corresponding data volume among the data types; the data types are the types of data used in the conditions that each door control device needs to meet to trigger the door lock to open the door; Using a data bandwidth that can meet the transmission requirements of data of the target data type as the channel bandwidth, dividing the predetermined wireless frequency band into channels to obtain a target channel group; and / or, The target management host is any one of a plurality of management hosts in a predetermined area, and each management host corresponds to each door control device group communicating with it; The channel that can be used as the second channel is any one of a plurality of second designated channels; wherein the number of the plurality of second designated channels satisfies a predetermined condition, and the predetermined condition includes that any adjacent management hosts do not share the same channel; and / or, The method for determining the second channel includes: Randomly selecting a second designated channel from a plurality of second designated channels as an initial second channel; In response to receiving information sent by each door control device group corresponding to other management hosts through the initial second channel, a channel other than the currently used second designated channel is selected from the plurality of second designated channels, and the current second channel is switched to the selected channel to obtain a second channel after the channel switching; or Determine the second designated channel indicated by the target configuration information as the second channel; wherein the target configuration information is used to indicate information of the second designated channel allocated to the target management host; and / or, The predetermined condition also includes: satisfying the channel interference prevention condition between the gating device groups within the predetermined area; wherein, the gating device groups within the predetermined area are the gating device groups corresponding to the management hosts, and the channel interference prevention condition is: at least enabling adjacent gating device groups within the predetermined area not to share the same channel.

15. The method according to claim 13 or 14, characterized in that Also includes: After receiving the message indicating the existence of channel interference reported by the target door lock through the second channel, the channel is reallocated for the target subsystem according to the predetermined channel reallocation method, and a channel switching message is constructed; wherein the channel switching message carries the channel identifier of the channel to be switched to and the device identifier of the device in the target subsystem; the target subsystem includes the target door control device group and the target door lock; A channel switching message is sent to the target subsystem through the second channel, so that each door control device in the target subsystem receives the channel switching message, and in response to the presence of its own device identifier in the device identifier in the channel switching message, uses the channel represented by the channel identifier in the channel switching message as a new first channel, and the target door lock in the target subsystem receives the channel switching message, and in response to the presence of its own device identifier in the device identifier in the channel switching message, uses the channel represented by the channel identifier in the channel switching message as a new first channel.

16. A gate control device, the gate control device being referred to as a target gate control device, characterized in that: include: Memory, used to store computer programs; A processor, for implementing any of the methods described in claims 1-10 when executing a program stored in a memory.

17. A door lock, the door lock being referred to as a target door lock, characterized in that: include: Memory, used to store computer programs; A processor, for implementing the method described in any one of claims 11-12 when executing a program stored in a memory.

18. A management host, the management host being referred to as a target management host, characterized in that: include: Memory, used to store computer programs; A processor, for implementing any of the methods described in claims 13-15 when executing a program stored in a memory.

Citation Information

Patent Citations

  • Many-to-many wireless intelligent door lock system and control method thereof

    CN106408691A

  • Door lock equipment management methods and devices

    CN110648432A