Interactive processing method and device for door lock
The user terminal interacts with the near-field communication components to acquire lock service information, determine the authorized space unit and connect the door lock, solving the problems of low efficiency and insufficient security of smart door lock control, and achieving efficient and secure multi-site space unit management.
Patent Information
- Application Number
- CN202510715221.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-28
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2045-05-28
AI Technical Summary
The existing smart door lock control methods have problems of low efficiency and insufficient security when unlocking and locking remotely, especially lack of effective technical means in the management and permission verification of multiple space units in the space.
Through the user terminal interacting with the near-field communication component, lock service information is acquired, service programs are started and unlocking parameters are passed, the user's authorized space unit in the service place is determined, and the wireless connection address and unlocking key of the door lock are obtained from the server, so as to realize the wireless connection and unlocking processing between the user terminal and the door lock.
It improves the efficiency and security of unlocking processing, reduces response time, and ensures accurate permission management and lock-opening success rate of multi-site space units.
Smart Images

Figure CN120236346A_ABST
Abstract
Description
Technical Field
[0001] This document relates to the technical field of data processing, and particularly to an interaction processing method and device for a door lock. Background Art
[0002] With the continuous development and popularization of the Internet and intelligent hardware, the application scope of various online services provided based on the Internet is also becoming wider and wider. In this case, there has emerged an implementation method for controlling and managing intelligent hardware through online means. For example, remotely controlling an intelligent door lock to unlock and lock through an application program, or unlocking at close range by cooperating a mobile phone with an intelligent door lock. Moreover, with the popularization of smart phones and the application of intelligent door locks, the number of users using these unlocking methods and service providers offering these unlocking methods is increasing. Summary of the Invention
[0003] One or more embodiments of this specification provide an interaction processing method for a door lock, which is applied to a service program. The method includes: obtaining unlocking parameters for an unlocking application in a service venue transmitted by a user terminal. The user terminal starts the service program and transmits parameters based on lock service information obtained from a near-field communication component. Determining a venue space unit authorized for the user in the service venue based on the unlocking parameters. Obtaining the wireless connection address and unlocking key of the door lock deployed in the venue space unit from a server. Establishing a wireless connection between the user terminal and the door lock based on the wireless connection address, and sending the unlocking key to the door lock for unlocking processing.
[0004] One or more embodiments of this specification provide another interaction processing method for a door lock, which is applied to a server. The method includes: obtaining a venue identifier carried by unlocking parameters for an unlocking application submitted by a service program. The unlocking parameters are obtained by the user terminal from a near-field communication component and transmitted to the service program. Querying the venue space unit authorized for the user in the service venue corresponding to the venue identifier and sending it to the service program. Obtaining the wireless connection address and unlocking key of the door lock deployed in the venue space unit and returning them to the service program to establish a wireless connection between the user terminal and the door lock and perform unlocking processing.
[0005] One or more embodiments of this specification provide an interactive processing device for a door lock, which runs in a service program. The device includes: a parameter acquisition module configured to acquire unlocking parameters for an unlocking application in a service venue transmitted by a user terminal. The user terminal starts the service program and transmits the parameters based on lock service information obtained from a near-field communication component. A venue space determination module configured to determine a venue space unit authorized for the user in the service venue based on the unlocking parameters. A key acquisition module configured to acquire the wireless connection address and unlocking key of the door lock deployed in the venue space unit from a server. An unlocking module configured to establish a wireless connection between the user terminal and the door lock based on the wireless connection address, and send the unlocking key to the door lock for unlocking processing.
[0006] One or more embodiments of this specification provide another interactive processing device for a door lock, which runs in a server. The device includes: a venue identifier acquisition module configured to acquire a venue identifier carried in unlocking parameters for an unlocking application submitted by a service program. The unlocking parameters are obtained by the user terminal from a near-field communication component and transmitted to the service program. A venue space query module configured to query a venue space unit authorized for the user in the service venue corresponding to the venue identifier and send it to the service program. A key sending module configured to acquire the wireless connection address and unlocking key of the door lock deployed in the venue space unit and return them to the service program, so as to establish a wireless connection between the user terminal and the door lock and perform unlocking processing.
[0007] One or more embodiments of this specification provide an interactive processing device for a door lock, including: a processor; and a memory configured to store computer-executable instructions, where the computer-executable instructions, when executed, cause the processor to: acquire unlocking parameters for an unlocking application in a service venue transmitted by a user terminal. The user terminal starts the service program and transmits the parameters based on lock service information obtained from a near-field communication component. Determine a venue space unit authorized for the user in the service venue based on the unlocking parameters. Acquire the wireless connection address and unlocking key of the door lock deployed in the venue space unit from a server. Establish a wireless connection between the user terminal and the door lock based on the wireless connection address, and send the unlocking key to the door lock for unlocking processing.
[0008] One or more embodiments of the present specification provide another interactive processing device for a door lock, including: a processor; and a memory configured to store computer-executable instructions, the computer-executable instructions, when executed, cause the processor to: obtain a venue identifier carried in unlocking parameters for an unlocking application submitted by a service program. The unlocking parameters are obtained from a near-field communication component by a user terminal and passed into the service program. Query the venue space units authorized for the user in the service venue corresponding to the venue identifier and send them to the service program. Obtain the wireless connection address and unlocking key of the door lock deployed in the venue space unit and return them to the service program to establish a wireless connection between the user terminal and the door lock and perform an unlocking process.
[0009] One or more embodiments of the present specification provide a computer-readable storage medium for storing computer-executable instructions, and the computer-executable instructions, when executed, implement the following process: obtain unlocking parameters for an unlocking application in a service venue passed in by a user terminal. The user terminal starts a service program based on lock service information obtained from a near-field communication component and passes in parameters. Determine the venue space units authorized for the user in the service venue based on the unlocking parameters. Obtain the wireless connection address and unlocking key of the door lock deployed in the venue space unit from a server. Establish a wireless connection between the user terminal and the door lock based on the wireless connection address, and send the unlocking key to the door lock to perform an unlocking process.
[0010] One or more embodiments of the present specification provide another computer-readable storage medium for storing computer-executable instructions, and the computer-executable instructions, when executed, implement the following process: obtain a venue identifier carried in unlocking parameters for an unlocking application submitted by a service program. The unlocking parameters are obtained from a near-field communication component by a user terminal and passed into the service program. Query the venue space units authorized for the user in the service venue corresponding to the venue identifier and send them to the service program. Obtain the wireless connection address and unlocking key of the door lock deployed in the venue space unit and return them to the service program to establish a wireless connection between the user terminal and the door lock and perform an unlocking process. Description of the Drawings
[0011] In order to more clearly illustrate the technical solutions in one or more embodiments of the present specification or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments recorded in the present specification. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts. To more clearly illustrate the technical solutions in one or more embodiments of this specification or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments recorded in this specification. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings; Figure 1 Schematic diagram of the implementation environment of an interactive processing method for a door lock provided in one or more embodiments of this specification; Figure 2 Processing flow chart of an interactive processing method for a door lock provided in one or more embodiments of this specification; Figure 3 Timing diagram of the processing of an interactive processing method for a door lock applied to the hotel unlocking scenario provided in one or more embodiments of this specification; Figure 4 Timing diagram of the processing of an interactive processing method for a door lock applied to the unlocking scenario of a service place provided in one or more embodiments of this specification; Figure 5 Another processing flow chart of an interactive processing method for a door lock provided in one or more embodiments of this specification; Figure 6 Schematic diagram of an embodiment of an interactive processing device for a door lock provided in one or more embodiments of this specification; Figure 7 Schematic diagram of another embodiment of an interactive processing device for a door lock provided in one or more embodiments of this specification; Figure 8 Schematic diagram of the structure of an interactive processing device for a door lock provided in one or more embodiments of this specification; Figure 9 Schematic diagram of the structure of another interactive processing device for a door lock provided in one or more embodiments of this specification. Detailed implementation manners
[0012] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the following will clearly and completely describe the technical solutions in one or more embodiments of this specification in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only some embodiments of this specification, rather than all embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of this document.
[0013] The interactive processing method of the door lock provided by one or more embodiments of this specification is applicable to the implementation environment of unlocking in service places. Refer to Figure 1 , this implementation environment at least includes: A user terminal 101, a door lock 102, a near-field communication component 103, a service program 104 running on the user terminal 101, and a server 105 that cooperates with the service program 104 to perform unlocking processing; Among them, an application program runs on the user terminal 101, and the service program 104 can run within the application program; the door lock 102 can be an intelligent door lock deployed in the service place, and the near-field communication component 103 is also deployed in the service place. By cooperating with the user terminal 101, it enters the service program 104 and initiates an unlocking application for the door lock 102.
[0014] In this implementation environment, during the unlocking process of the door lock 102 deployed in the service place, first, near-field communication is performed between the user terminal 101 and the near-field communication component 103 deployed in the service place. On this basis, lock service information is obtained from the near-field communication component 103, the service program 104 is started based on the lock service information and parameters are passed to the service program 104. The service program 104 determines the place space unit authorized for the user in the service place according to the unlocking parameters for making an unlocking application, and obtains the wireless connection address and unlocking key of the door lock 102 from the server 105. Further, a wireless connection is established between the user terminal 101 and the door lock 102 based on the wireless connection address, and the unlocking key is sent to the door lock 102 through the wireless connection to perform the unlocking process. In this way, the unlocking process of the door lock 102 deployed in the service place is realized through the cooperation between the user terminal 101 and the near-field communication component 103.
[0015] It should be noted that considering that relevant data such as user identification, logged-in user identification, and user communication identification involved in this specification may, to a certain extent, belong to the user's privacy. Therefore, if you want to collect relevant data such as user identification, logged-in user identification, and user communication identification of the user, you can obtain the user's authorization before collecting the data to make the operation of collecting data comply with relevant data management regulations. For example, user data authorization can be performed during the process of the service program obtaining the user communication identification, or data authorization can also be performed during the process of the user's first access to the service program; the specific method of data authorization can be to send an authorization reminder to the user, and the user can obtain data collection authorization after confirming the reminder through an instruction. Or, the method of data authorization can also be to obtain data collection authorization by signing a data authorization agreement.
[0016] One or more embodiments of an interactive processing method of a door lock provided by this specification are as follows: Refer to Figure 2, the interactive processing method of the door lock provided in this embodiment can be applied to a service program, and the method specifically includes steps S202 to S208.
[0017] Step S202, obtain the unlocking parameters for the unlocking application in the service place transmitted by the user terminal.
[0018] The service place in this embodiment refers to the physical space, facilities or places for providing services to users. The function of such places is to provide corresponding services to users; the service place includes one or more constituent units, and each constituent unit is called a place space unit (place space) or place area unit (place area) of the service place. The place space unit refers to the constituent unit of the service place that provides services to users. In this case, the constituent unit of the service place can also be called a place service unit.
[0019] For example, the service place can be institutional places such as hotels, schools, office places, warehouses, lockers, study rooms or entertainment places, etc. Correspondingly, the rooms in a hotel are place service units for providing accommodation services to users, the classrooms or dormitories in a school are place service units for providing accommodation services to users, the offices or meeting rooms in an office place are place service units for providing office services to users, each storage room in a warehouse is a place service unit for providing storage services to users, and each storage room in a locker is a place service unit for providing storage services to users.
[0020] Door locks are deployed in the place service units of the service place. The door locks here can be smart door locks, or door locks configured with wireless components and capable of unlocking control through the wireless components; when the user uses the service through the place service units provided by the service place, it is necessary to unlock the door locks deployed in the place service units before using the service. Specifically, the near-field communication component corresponds to the place space unit, and the corresponding relationship between the near-field communication component and the place space unit can be a one-to-one relationship or a many-to-one relationship, that is: the number of door locks deployed in each place service unit can be one or multiple. For example, multiple access doors can be set in the classrooms of the school as a service place, and one door lock is deployed for each access door; another example is that multiple access doors can also be set in the offices or meeting rooms of the office place as a service place, and one door lock is deployed for each access door.
[0021] During specific implementation, during the process of unlocking the door lock deployed in the venue space unit of the service venue, the user terminal obtains the lock service information from the near-field communication component. The lock service information is stored in the near-field communication component. Optionally, the user terminal starts the service program and passes parameters based on the lock service information obtained from the near-field communication component. The lock service information includes unlocking parameters and program addresses. During the specific execution process, the service program is started based on the program address included in the lock service information, and parameters are passed to the service program, specifically, the unlocking parameters included in the lock service information are passed to the service program to make an unlocking application.
[0022] The near-field communication component is used to perform near-field communication with the user terminal to cooperate in unlocking the door lock deployed in the venue space unit; in a specific implementation scenario, the near-field communication component can be the near-field communication component configured for the door lock, such as the near-field communication component built into the door lock; in addition, the near-field communication component can also be the near-field communication tag or near-field communication device deployed in the venue space unit. Specifically, the near-field communication component can be deployed at the entrance of the venue space unit or at the door lock of the venue space unit.
[0023] Among them, the program address is used to start the service program or the application program that runs the service program. The service program refers to the program that provides the unlocking service or the door lock-related service of the service venue. Specifically, the service program can be a subroutine running in the application program, or an application program, or a program function module or program component carried by the application program. The service program can be provided by the provider of the application program; specifically, the service program can be the lock service program or door lock service program for docking the door lock deployed in the service venue, or the lock service program or door lock service program for docking different service venues and / or different door locks deployed in different service venues, or the lock service program or door lock service program for docking the third-party door lock deployed in the service venue.
[0024] Specifically, the unlocking parameters include the venue information of the service venue (such as venue identification), the venue system information of the venue management system of the service venue, and / or the lock system information of the lock service system of the door lock; among them, the venue information is used to determine the service venue where the unlocking process is currently carried out, and the venue system information is used to determine the venue management system of the service venue where the unlocking process is currently carried out. The unlocking process can be carried out by cooperating with the service venue or performing data communication, such as querying the venue space unit reserved by the user in the service venue from the venue management system; the lock system information is used to determine the lock service system where the unlocking process is currently carried out. The unlocking process can be carried out by cooperating with the lock service system or performing data communication, such as obtaining the unlocking key from the lock service system to unlock the door lock.
[0025] In addition, the unlocking parameter may further include the spatial unit identifier of the venue space unit, that is: the unlocking parameter carries the spatial unit identifier. In this case, the venue space unit for the current unlocking process can be determined through the spatial unit identifier included in the unlocking parameter.
[0026] During the specific execution process, when the user terminal obtains the lock service information from the near-field communication component, it first establishes a near-field communication connection between the user terminal and the near-field communication component. Based on the established near-field communication connection, the user terminal reads the lock service information stored in the near-field communication component from the near-field communication component, or the user terminal receives the lock service information sent by the near-field communication component; thereafter, after the user terminal obtains the lock service information from the near-field communication component, it starts the service program based on the program address included in the lock service information and passes the unlocking parameter included in the lock service information to the service program. Alternatively, when the service program runs in the application installed on the user terminal, the application is started based on the program address and the unlocking parameter is passed to the application, and the application starts the service program and passes the unlocking parameter to the service program; in this case, obtaining the unlocking parameter for the unlocking application in the service venue passed by the user terminal can be replaced by obtaining the unlocking parameter for the unlocking application in the service venue passed by the application. Correspondingly, the user terminal starts the service program based on the lock service information obtained from the near-field communication component and passes the parameter can be replaced by: the application is started based on the lock service information obtained by the user terminal from the near-field communication component, or the user terminal starts the application based on the lock service information obtained from the near-field communication component and passes the parameter.
[0027] In practical applications, during the unlocking process of the door lock deployed in the venue space unit, pre-unlocking processing or pre-opening processing can be performed before obtaining the unlocking parameter for the unlocking application in the service venue passed by the user terminal. The pre-unlocking processing or pre-opening processing refers to pre-executing some interaction processes of the unlocking process before the user terminal, the near-field communication component, and the door lock cooperate to perform the unlocking process, so as to simplify the subsequent process of the user terminal, the near-field communication component, and the door lock cooperating to perform the unlocking process, thereby improving the processing efficiency of the unlocking process and reducing the response time of the unlocking process.
[0028] Specifically, in an optional implementation manner provided in this embodiment, before obtaining the unlocking parameter for the unlocking application in the service venue passed by the user terminal, the lock application parameter obtained by the user terminal from the near-field communication tag or near-field communication device deployed in the service venue and passed in is obtained, and a lock application request including the lock application parameter is submitted to the server for lock application processing. In another alternative implementation provided in this embodiment, before obtaining the unlocking parameters for an unlocking application in a service venue transmitted by the user terminal, before obtaining the unlocking parameters for an unlocking application in a service venue transmitted by the user terminal, obtain the lock application parameters obtained by the user terminal through scanning the service identifier of the service venue and transmitted, and submit a lock application request containing the lock application parameters to the server for lock application processing.
[0029] Correspondingly, after submitting a lock application request containing the lock application parameters to the server, the server receives the lock application request submitted by the service program and performs lock application processing according to the lock application parameters carried in the lock application request. Lock application processing refers to applying for the permission to unlock the venue space unit. Specifically, in an alternative implementation provided in this embodiment, the lock application processing includes: Query the venue space unit associated with the user in the service venue based on the user identifier and the lock application parameters, and grant permission to the venue space unit associated with the user to obtain the venue space unit. The venue space unit obtained here is the venue space unit authorized for the user in the service venue; Or, Query the venue space unit associated with the user in the service venue based on the user identifier and the lock application parameters, and grant permission to the door lock deployed in the venue space unit associated with the user to obtain the venue space unit. The venue space unit obtained here is the venue space unit authorized for the user in the service venue.
[0030] In the specific execution process, during the process of performing lock application processing according to the lock application parameters obtained from the near-field communication tag or near-field communication device, based on establishing a near-field communication connection between the user terminal and the near-field communication component, the user terminal can read the program address and lock application parameters stored in the near-field communication component from the near-field communication component, or receive the program address and lock application parameters sent by the near-field communication component from the near-field communication component. Start the service program based on the program address and pass the lock application parameters to the service program, or start the application program based on the program address and pass the lock application parameters to the application program, and the application program starts the service program and passes the lock application parameters to the service program; among them, the lock application parameters include: the venue information of the service venue, the venue system information of the venue management system of the service venue, and / or the lock system information of the lock service system of the door lock; In addition, during the process of processing the lock application according to the lock application parameters obtained by scanning the service identifier of the service venue, the user terminal scans the service identifier of the service venue, and parses the scanned service identifier to obtain the program address and the lock application parameters. Further, based on the program address, the service program is started, and the lock application parameters included in the lock service information are passed to the service program. Alternatively, based on the program address, the application program is started and the lock application parameters are passed to the application program, and the application program starts the service program and passes the lock application parameters to the service program. In addition, the service identifier can also be scanned by the application program running on the user terminal, the scanned service identifier is parsed to obtain the lock application parameters, and the lock application parameters are passed to the service program running in the application program. The service identifier refers to an identifier used for service access or service triggering, and the specific form of the service identifier can be an identification code, such as a two-dimensional code, a bar code, a color code, or a three-dimensional code, etc.
[0031] It should be noted that before obtaining the unlocking parameters for the unlocking application in the service venue passed by the user terminal, on the basis of using any one of the two optional implementation methods provided above for lock application processing, during the process of performing steps S202 to S208 for unlocking processing, since the venue space unit authorized by the user in the service venue has been queried and obtained during the lock application processing, therefore, during the process of performing steps S202 to S208 for unlocking processing on the basis of the lock application processing, the process of step S204 to determine the venue space unit authorized by the user in the service venue may not be executed. That is, after performing any one of the two optional implementation methods provided above for lock application processing, steps S202, step S206, and step S208 are sequentially executed for unlocking processing. Alternatively, the sequentially executed steps S202, step S206, and step S208 can also be adaptively modified to implement unlocking processing. For example, the process of obtaining the wireless connection address and the unlocking key of the door lock deployed in the venue space unit from the server provided in step S206 is replaced by obtaining the wireless connection address and the unlocking key of the door lock deployed in the venue space unit from the server based on the unlocking parameters.
[0032] Step S204, determining the venue space unit authorized by the user in the service venue based on the unlocking parameters.
[0033] During specific implementation, after the service program obtains the unlocking parameters for the incoming unlocking application, it determines the authorized place space unit of the user in the service place based on the unlocking parameters. Specifically, in the process of determining the authorized place space unit of the user in the service place, on the one hand, the authorized place space unit of the user in the service place can be determined based on the unlocking parameters. On the other hand, the authorized place space unit of the user in the service place can also be determined by cooperating with the server. Specifically, in the process of cooperating with the server to determine the authorized place space unit of the user in the service place, the unlocking parameters can be submitted to the server, and the server can query the authorized place space unit of the user in the service place corresponding to the place identifier carried by the unlocking parameters submitted by the service program and return it to the service program.
[0034] As described above, on the basis that the unlocking parameters carry the space unit identifier, in the process of determining the authorized place space unit of the user in the service place, the authorized place space unit of the user in the service place can be determined based on the space unit identifier carried by the unlocking parameters. Specifically, the place space unit to which the space unit identifier carried by the unlocking parameters belongs is used as the authorized place space unit of the user in the service place.
[0035] To improve the security of unlocking processing in the service place and ensure the effectiveness of unlocking processing, and reduce the occurrence probability of unlocking failure or misunlocking, unlocking permission verification can also be performed. Specifically, the unlocking permission verification is performed on the space unit identifier carried by the unlocking parameters. If the unlocking permission verification passes, the place space unit is determined based on the space unit identifier carried by the unlocking parameters. Specifically, the place space unit to which the space unit identifier belongs can be used as the authorized place space unit of the user in the service place.
[0036] Specifically, in an optional implementation manner provided in this embodiment, the unlocking permission verification includes: verifying whether the user has obtained the unlocking permission for the place space unit. If so, it is determined that the unlocking permission verification passes; if not, it is determined that the unlocking permission verification fails, and the unlocking permission for the place space unit is opened in cooperation with the server; wherein, the unlocking permission is generated after the user obtains the passing permission for the place space unit and is cancelled after the passing permission is lifted. In the actual scenario, the passing permission can be obtained after the user makes a place reservation, appointment or application in the place management system of the service place. For example, the user obtains the passing permission for the reserved hotel room after making a hotel reservation in the hotel management system, or the user obtains the passing permission for the dormitory after entering information in the school administrative management system.
[0037] In this embodiment, during the process of determining the authorized place space unit of the user in the service place based on the unlocking parameter, the authorized place space unit of the user in the service place can also be determined in cooperation with the server. Specifically, in an optional implementation manner provided in this embodiment, determining the authorized place space unit of the user in the service place based on the unlocking parameter includes: submitting a query request including the place identifier carried in the unlocking parameter to the server, and receiving the place space unit queried and returned by the server.
[0038] In addition, considering that in the actual scenario, there may be a situation where a user has the unlocking permission for multiple place space units in the same service place. For example, in a hotel service place, a user has reserved multiple hotel rooms at the same time, or in service places such as hotels and office places, maintenance personnel have the unlocking permission for multiple rooms. In view of this, in order to prevent the user's user terminal from interacting with the door lock of one place space unit and the door locks of other place space units from being opened, after submitting a query request to the server, the target place space unit selected by the user from the multiple candidate place space units returned by the server is used as the place space unit.
[0039] Optionally, the server queries in the place space reservation records synchronized by the place management system of the service place according to the user identifier and the place identifier; specifically, the server queries in the place space reservation records synchronized by the place management system according to the user identifier and the place identifier, obtains the place space unit or multiple candidate place space units, and returns the queried place space unit or multiple candidate place space units to the service program; Alternatively, the server performs a place space query on the place management system according to the user identifier and the place identifier. Specifically, the server can perform a place space query on the place management system by calling the query interface of the place management system, obtain the place space unit or multiple candidate place space units returned by the interface call, and return them to the service program; Among them, the user identifier can be submitted by the service program to the server, or can also be obtained by the server. Specifically, the user identifier includes: the login user identifier of the application program running the service program, the login user identifier of the service program, and / or the user communication identifier obtained by the service program.
[0040] During the specific execution process, after submitting a query request to the server that includes the venue identifier carried in the unlocking parameters, the server can query the venue space reservation records synchronized in the venue management system of the service venue based on the user identifier and the venue identifier to obtain the venue space unit. For example, in a hotel, which is a service venue, after submitting a query request to the server that includes the venue identifier carried in the unlocking parameters, the server queries the hotel reservation records synchronized in the hotel management system based on the logged-in user identifier and the venue identifier, and the reserved hotel room obtained through the query is the hotel room authorized for the user in the hotel.
[0041] Alternatively, after submitting a query request to the server that includes the venue identifier carried in the unlocking parameters, the server performs a venue space query on the venue management system based on the user identifier and the venue identifier to obtain the venue space unit. For example, in a school, which is a service venue, after submitting a query request to the server that includes the venue identifier carried in the unlocking parameters, the server queries the registered dormitories in the school's administrative management system, and the registered dormitories obtained through the query are the dormitories authorized for the user in the school.
[0042] In practical applications, service personnel such as cleaning staff and maintenance staff in service venues such as hotels and office premises can also perform unlocking operations through the interaction between the user terminal, the near-field communication component, and the door lock. Moreover, the unlocking permissions of different service personnel may vary. In view of this, in an optional implementation manner provided in this embodiment, determining the venue space unit authorized for the user in the service venue based on the unlocking parameters includes: Obtaining the unlocking permission configuration of the service venue according to the venue identifier carried in the unlocking parameters, and determining the identity type of the user in the service venue; Querying the user permissions in the unlocking permission configuration based on the identity type to obtain the venue space unit.
[0043] During the specific execution process, it is also possible to submit a query request including the venue identifier to the server. After receiving the query request, the server obtains the unlocking permission configuration of the service venue according to the venue identifier included in the query request, and determines the identity type of the user in the service venue. Then, it queries the user permissions in the unlocking permission configuration based on the identity type to obtain the venue space unit and returns it to the service program. Correspondingly, the service program receives the venue space unit returned by the server.
[0044] In addition, in practical applications, there may be situations where access is temporarily applied for or authorized in service venues. For example, in service venues such as office buildings and schools, external personnel or visitors can obtain corresponding unlocking permissions after applying and being authorized. Specifically, in an optional implementation provided in this embodiment, after determining the authorized venue space unit of the user in the service venue based on the unlocking parameters, the following operations are performed: verify whether the user has obtained the authorized unlocking permission for the venue space unit. If so, determine that the verification is passed and perform the following step S206, obtaining the wireless connection address and unlocking key of the door lock deployed in the venue space unit from the server; if not, determine that the verification fails and no further processing is required, or generate a reminder of unlocking failure. Optionally, the authorized unlocking permission includes: the visitor permission obtained after applying for permission in the service venue, or the temporary permission obtained after applying for permission from the management party of the venue space unit.
[0045] It should be noted that in the process of verifying whether the user has obtained the authorized unlocking permission for the venue space unit after determining the authorized venue space unit of the user in the service venue based on the unlocking parameters, the above process of determining the authorized venue space unit of the user in the service venue based on the unlocking parameters can be replaced with: verifying whether the user has obtained the authorized unlocking permission for any venue space unit in the service venue. If so, use any venue space unit as the authorized venue space unit of the user in the service venue. That is, the process of verifying whether the user has obtained the authorized unlocking permission for the venue space unit through step S202 and the subsequent steps S206 and S208 form a new implementation method. In addition, the implementation process of this implementation method can also be improved for implementation to obtain a new implementation method, which is not limited in this embodiment.
[0046] Step S206: Obtain the wireless connection address and unlocking key of the door lock deployed in the venue space unit from the server.
[0047] In specific implementation, in the process of obtaining the wireless connection address and unlocking key of the door lock deployed in the venue space unit from the server, the wireless connection address and unlocking key of the door lock deployed in the venue space unit returned by the server can be received. In this case, the server obtains the wireless connection address and unlocking key of the door lock deployed in the venue space unit and returns them to the service program; or, an unlocking request can also be submitted to the server. After receiving the unlocking request, the server obtains the wireless connection address and unlocking key of the door lock deployed in the venue space unit and returns the wireless connection address and unlocking key as the response to the unlocking request to the service program.
[0048] The door lock here refers to the door lock deployed in the authorized place space unit, or the door lock deployed in the place space unit with the authorized unlocking permission; the wireless connection address of the door lock refers to the wireless connection address of the wireless component (wireless communication component) configured for the door lock, that is, the connection address used to establish a wireless connection with the wireless component configured for the door lock. The user terminal can establish a wireless connection with the door lock (wireless component) according to this wireless connection address, and can also send the unlocking key to the door lock through the wireless connection for unlocking processing. The unlocking key refers to the instruction key used to control the door lock to unlock. After receiving this unlocking key, the door lock can unlock.
[0049] Optionally, the unlocking key is obtained by the server from the lock service system of the door lock; among them, the unlocking key can be generated based on the user identification carried in the lock processing request sent by the server to the lock service system. For example, the unlocking key can be generated based on the user communication identification carried in the lock processing request sent by the server to the lock service system. In addition, the unlocking key can also be generated based on the unlocking permission of the place space unit, or the unlocking key can also be generated based on the authorized unlocking permission of the place space unit obtained by the user.
[0050] In the specific execution process, after the service program obtains the wireless connection address and the unlocking key of the door lock, it can establish a wireless connection between the user terminal and the door lock according to this wireless connection address, and can also send the unlocking key to the door lock through the wireless connection for unlocking processing. In order to ensure that the door lock can successfully complete the unlocking and avoid unlocking failure caused by the user terminal being unable to establish a wireless connection with the door lock or the wireless connection failing, the digital key of the door lock can be obtained from the server for unlocking.
[0051] Specifically, in an optional implementation manner provided in this embodiment, after obtaining the wireless connection address and the unlocking key of the door lock deployed in the place space unit from the server, it is detected whether the wireless component of the user terminal is in an open state; if so, the following step S208 is executed, and a wireless connection between the user terminal and the door lock is established based on the wireless connection address and the unlocking key is sent to the door lock for unlocking processing; If not, the digital key of the door lock is obtained from the server to unlock by inputting the digital key into the door lock; in addition, in the case where the wireless component of the user terminal is not in an open state, wireless communication reminder can also be performed, and after obtaining the reminder confirmation instruction of the user, the following step S208 is executed, and a wireless connection between the user terminal and the door lock is established based on the wireless connection address and the unlocking key is sent to the door lock for unlocking processing.
[0052] It should be noted that the following step S208 can be replaced by: detecting whether the wireless component of the user terminal is in an on state. If not, obtain the digital key of the door lock from the server to unlock the door by entering the digital key on the door lock; or, the following step S208 can also be replaced by: obtaining the digital key of the door lock from the server to unlock the door by entering the digital key on the door lock.
[0053] In practical applications, there may be a situation where multiple door locks are deployed in a venue space unit. During the process of unlocking by using the interactive method of wireless connection between the user terminal and the door lock, due to the limited range of wireless connection, in order to improve the unlocking success rate and also to avoid all the multiple door locks deployed in the venue space unit being opened simultaneously during the unlocking process, in an optional implementation provided in this embodiment, obtaining the wireless connection address and the unlocking key of the door locks deployed in the venue space unit from the server includes: querying from the server to obtain the list of door locks deployed in the authorized venue space unit, or querying from the server to obtain the list of door locks deployed in the venue space unit with unlocking permission or authorized unlocking permission; according to the target door lock selected by the user from the door lock list, obtaining the wireless connection address and the unlocking key of the target door lock from the server.
[0054] Step S208: Establish a wireless connection between the user terminal and the door lock based on the wireless connection address, and send the unlocking key to the door lock for unlocking processing.
[0055] Based on the above-obtained wireless connection address and unlocking key of the door lock, establish a wireless connection between the user terminal and the door lock based on the wireless connection address, and send the unlocking key to the door lock for unlocking processing. Specifically, during the process of establishing a wireless connection between the user terminal and the door lock, specifically, establish a wireless connection between the user terminal and the wireless component configured by the door lock, and send the unlocking key to the door lock through the established wireless connection, so that the door lock performs unlocking processing according to the sent unlocking key.
[0056] During the specific execution process, during the process of establishing a wireless connection between the user terminal and the door lock based on the wireless connection address, the wireless connection address detected by the wireless component configured by the user terminal can be obtained, and a wireless connection between the wireless component configured by the user terminal and the wireless component configured by the door lock can be established based on the wireless connection address; or, multiple candidate wireless connection addresses detected by the wireless component configured by the user terminal can be obtained, select the wireless connection address from the multiple candidate wireless connection addresses, and establish a wireless connection between the wireless component configured by the user terminal and the wireless component configured by the door lock based on the wireless connection address.
[0057] In addition, to enhance the security of the door lock, the wireless connection address of the wireless component configured for the door lock can be encrypted. After the wireless component configured for the user terminal detects the encrypted wireless address of the wireless component configured for the door lock, it decrypts the encrypted wireless address and establishes a wireless connection based on the decryption. Specifically, in an optional implementation provided in this embodiment, establishing a wireless connection between the user terminal and the door lock based on the wireless connection address includes: Obtain the encrypted wireless address detected by the wireless component configured for the user terminal, and decrypt the encrypted wireless address to obtain a candidate wireless connection address; Select a wireless connection address from the candidate wireless connection addresses, and establish a wireless connection between the wireless component configured for the user terminal and the wireless component configured for the door lock based on the wireless connection address.
[0058] Among them, the encrypted wireless address can be obtained by the door lock dynamically encrypting the wireless connection address using a pre-deployed dynamic encryption algorithm. Correspondingly, after obtaining the encrypted wireless address detected by the wireless component configured for the user terminal, the service program can use a dynamic decryption algorithm (a decryption algorithm corresponding to the dynamic encryption algorithm) to decrypt the encrypted wireless address to obtain the corresponding candidate wireless connection address.
[0059] In summary, in the process of unlocking the door lock deployed in the venue space unit of the service venue, the interactive processing method of the door lock provided in this embodiment obtains the lock service information from the near-field communication component through the user terminal, starts the service program based on the lock service information and passes the unlocking parameters for the unlocking application to the service program. The service program obtains the passed unlocking parameters for the unlocking application, and determines the venue space unit authorized for the user in the service venue based on the unlocking parameters. Further, it obtains the wireless connection address and the unlocking key of the door lock deployed in the venue space unit from the server, establishes a wireless connection between the user terminal and the door lock based on the wireless connection address, and sends the unlocking key to the door lock through the established wireless connection to perform the unlocking process. Thus, the unlocking process is realized by the interaction between the user terminal, the near-field communication component and the door lock, which not only improves the processing efficiency of the unlocking process and reduces the response time of the unlocking process, but also improves the convenience of unlocking in the service venue; In addition, the digital key of the door lock can also be obtained from the server to unlock the door by inputting the digital key into the door lock, so as to avoid unlocking failure caused by the user terminal being unable to establish a wireless connection with the door lock or the failure of establishing a wireless connection, ensure that the door lock can successfully complete the unlocking, and thus improve the unlocking success rate.
[0060] The above steps S202 to S208 provided in this embodiment can be executed by a service program. It should be noted that the above steps S202 to S208 executed by the service program and the steps S502 to S506 executed by the server in the following embodiment can cooperate with each other during the execution process. Therefore, when reading this embodiment, please refer to the corresponding content of steps S502 to S506 provided in the following method embodiment, and when reading the following method embodiment, please refer to the corresponding content of steps S202 to S208 provided in this embodiment.
[0061] The following takes the application of the interactive processing method of a door lock provided in this embodiment in a hotel unlocking scenario as an example, and in combination with Figure 3 , the interactive processing method of the door lock provided in this embodiment will be further described. Refer to Figure 3 , the interactive processing method of the door lock applied to the hotel unlocking scenario specifically includes the following steps.
[0062] Step S302, obtain the unlocking parameters for the unlocking application in the hotel transmitted by the user terminal.
[0063] Optionally, the user terminal starts the application program based on the program address included in the lock service information obtained from the near-field communication component, and transmits the unlocking parameters included in the lock service information to the application program. The application program starts the service subroutine and transmits the unlocking parameters.
[0064] Step S304, submit a query request including the hotel identifier carried by the unlocking parameters to the server.
[0065] Step S312, use the hotel room reserved by the user returned by the server as the authorized hotel room.
[0066] In addition, if there are multiple hotel rooms returned by the server, use the target hotel room selected by the user from the multiple hotel rooms as the authorized hotel room.
[0067] Step S314, verify whether the user has the unlocking permission for the hotel room; If so, execute steps S316 and S322; If not, cooperate with the server to open the unlocking permission for the hotel room.
[0068] Step S316, submit an unlocking request for the intelligent door lock deployed in the hotel room to the server.
[0069] Step S322, detect whether the wireless communication component of the user terminal is in an open state; If so, execute steps S324 to S326; If not, obtain the digital key of the intelligent door lock from the server to unlock the door by inputting the digital key on the intelligent door lock.
[0070] Step S324: Establish a wireless connection between the user terminal and the smart door lock based on the wireless connection address returned by the server.
[0071] Step S326: Send the unlocking key returned by the server to the smart door lock for unlocking processing.
[0072] It should be noted that any one step or any combination of steps among steps S302 to S304, steps S312 to S316, and steps S322 to S326 can be combined with any one step or any combination of steps among the above steps S202 to S208 according to the needs of implementation and deployment to form a new implementation manner; in addition, according to the actual deployment needs, any one or any combination of technical features among steps S302 to S304, steps S312 to S316, and steps S322 to S326 can be selected and combined with any one or more technical features provided by the above steps S202 to S208 to form a new implementation manner; or, any one or any combination of technical features among steps S302 to S304, steps S312 to S316, and steps S322 to S326 can also be replaced by any one or more technical feature combinations provided by the above steps S202 to S208 according to the actual deployment needs to form a new implementation manner, which will not be elaborated here one by one.
[0073] In addition, it should also be noted that the above steps S302 to S304, steps S312 to S316, and steps S322 to S326 provided in this embodiment can be executed by the service subroutine. It should be noted that the above steps S302 to S304, steps S312 to S316, and steps S322 to S326 executed by the service subroutine can cooperate with the steps S306 to S310 and steps S318 to S320 executed by the server in the following embodiments during the execution process. Therefore, when reading this embodiment, please refer to the corresponding content of steps S306 to S310 and steps S318 to S320 provided in the following method embodiment, and when reading the following method embodiment, please refer to the corresponding content of steps S302 to S304, steps S312 to S316, and steps S322 to S326 provided in this embodiment.
[0074] The following takes the application of an interactive processing method for a door lock provided in this embodiment in the unlocking scenario of a service place as an example, combined with Figure 4 , to further illustrate the interactive processing method for the door lock provided in this embodiment. Refer to Figure 4 The interactive processing method for the door lock applied to the unlocking scenario of a service place specifically includes the following steps.
[0075] Step S402: Obtain the lock application parameters acquired by the user terminal from the near-field communication device deployed at the service venue and passed in.
[0076] Optionally, the user terminal starts a service program and passes parameters based on the lock service information obtained from the near-field communication device.
[0077] Step S404: Submit a lock application request containing the lock application parameters to the server for lock application processing.
[0078] Step S412: Obtain the unlocking parameters for the unlocking application at the service venue passed in by the user terminal.
[0079] Optionally, the user terminal starts a service program and passes parameters based on the lock service information obtained from the near-field communication component deployed in the venue space unit.
[0080] Step S414: Submit a query request containing the venue identifier carried in the unlocking parameters to the server.
[0081] Step S422: Receive the wireless connection address and unlocking key of the door lock deployed in the venue space unit returned by the server.
[0082] Step S424: Establish a wireless connection between the user terminal and the door lock based on the wireless connection address, and send the unlocking key to the door lock for unlocking processing.
[0083] It should be noted that any one step or any combination of steps among steps S402 to S404, steps S412 to S414, and steps S422 to S424 can be combined with any one step or any combination of steps S202 to S208 according to the needs of implementation and deployment to form a new implementation method; in addition, according to the actual deployment needs, any one or any combination of technical features in steps S402 to S404, steps S412 to S414, and steps S422 to S424 can be selected and combined with any one or more technical features provided in steps S202 to S208 to form a new implementation method; or, any one or any combination of technical features in steps S402 to S404, steps S412 to S414, and steps S422 to S424 can also be replaced with any one or more combinations of technical features provided in steps S202 to S208 according to the actual deployment needs to form a new implementation method, which will not be elaborated here one by one.
[0084] In addition, it should be noted that the above steps S402 to S404, steps S412 to S414, and steps S422 to S424 provided in this embodiment can be executed by a service program. It should be noted that the above steps S402 to S404, steps S412 to S414, and steps S422 to S424 executed by the service program can cooperate with the steps S406 to S410 and steps S416 to S420 executed by the server in the following embodiment during the execution process. Therefore, when reading this embodiment, please refer to the corresponding content of steps S406 to S410 and steps S416 to S420 provided in the following method embodiment. When reading the following method embodiment, please refer to the corresponding content of steps S402 to S404, steps S412 to S414, and steps S422 to S424 provided in this embodiment.
[0085] One or more embodiments of another door lock interaction processing method provided in this specification are as follows: Referring to Figure 5 , the door lock interaction processing method provided in this embodiment can be applied to a server, and the method specifically includes steps S502 to S506.
[0086] Step S502: Obtain the venue identifier carried in the unlocking parameter for the unlocking application submitted by the service program.
[0087] In this embodiment, it refers to a physical space, facility, or venue for providing services to users. The role of such a venue is to provide corresponding services to users; a service venue includes one or more constituent units, and each constituent unit is called a venue space unit (venue space) or venue area unit (venue area) of the service venue. A venue space unit refers to a constituent unit of the service venue that provides services to users. In this case, the constituent units of the service venue can also be called venue service units.
[0088] For example, the service venue can be an institutional venue such as a hotel, school, office, warehouse, locker, study room, or entertainment venue. Correspondingly, the rooms in a hotel are venue service units for providing accommodation services to users, the classrooms or dormitories in a school are venue service units for providing accommodation services to users, the offices or meeting rooms in an office are venue service units for providing office services to users, each storage room in a warehouse is a venue service unit for providing warehousing services to users, and each storage room in a locker is a venue service unit for providing storage services to users.
[0089] The place service unit of the service venue is deployed with a door lock. The door lock here can be an intelligent door lock, or a door lock configured with a wireless component and capable of unlocking control through the wireless component. During the process of using the service through the place service unit provided by the service venue, it is necessary to unlock the door lock deployed on the place service unit before using the service. Specifically, the near-field communication component corresponds to the place space unit. The corresponding relationship between the near-field communication component and the place space unit can be a one-to-one correspondence or a many-to-one relationship, that is, the number of door locks deployed on each place service unit can be one or multiple. For example, multiple access doors can be set in the classrooms of the school service venue, and one door lock is deployed on each access door; for another example, multiple access doors can also be set in the offices or meeting rooms of the office service venue, and one door lock is deployed on each access door.
[0090] During specific implementation, during the process of unlocking the door lock deployed on the place space unit of the service venue, the user terminal obtains the lock service information from the near-field communication component. The lock service information is stored in the near-field communication component. Optionally, the user terminal starts the service program and passes parameters based on the lock service information obtained from the near-field communication component. The lock service information includes unlocking parameters and program addresses. During the specific execution process, the service program is started based on the program address included in the lock service information, and parameters are passed to the service program. Specifically, the unlocking parameters included in the lock service information are passed to the service program to make an unlocking application.
[0091] The near-field communication component is used to perform near-field communication with the user terminal to cooperate in unlocking the door lock deployed on the place space unit. In the specific implementation scenario, the near-field communication component can be the near-field communication component configured on the door lock, such as the near-field communication component built into the door lock. In addition, the near-field communication component can also be the near-field communication tag or near-field communication device deployed on the place space unit. Specifically, the near-field communication component can be deployed at the entrance of the place space unit or at the door lock of the place space unit.
[0092] Among them, the program address is used to start the service program or the application program that runs the service program. The service program refers to the program that provides the unlocking service or door lock-related services of the service venue. The service program can specifically be a subroutine running in the application program, or an application program, or a program function module or program component carried by the application program. The service program can be provided by the provider of the application program. The service program can specifically be the lock service program or door lock service program for docking the door lock deployed on the service venue, or the lock service program or door lock service program for docking different service venues and / or different door locks deployed in different service venues, or the lock service program or door lock service program for docking the third-party door lock deployed on the service venue.
[0093] Specifically, the unlocking parameters include the venue information of the service venue (such as venue identification), the venue system information of the venue management system of the service venue, and / or the lock system information of the lock service system of the door lock. Among them, the venue information is used to determine the service venue where the current unlocking process is carried out. The venue system information is used to determine the venue management system of the service venue where the current unlocking process is carried out, and the unlocking process can be carried out by cooperating with the service venue or through data communication. For example, query the venue space unit reserved by the user in the service venue from the venue management system. The lock system information is used to determine the lock service system where the current unlocking process is carried out, and the unlocking process can be carried out by cooperating with the lock service system or through data communication. For example, obtain the unlocking key from the lock service system to unlock the door lock.
[0094] In addition, the unlocking parameters may further include the space unit identification of the venue space unit, that is, the unlocking parameters carry the space unit identification. In this case, the venue space unit where the current unlocking process is carried out can be determined through the space unit identification included in the unlocking parameters.
[0095] During the specific execution process, when the user terminal obtains the lock service information from the near-field communication component, first, a near-field communication connection between the user terminal and the near-field communication component is established. Based on the established near-field communication connection, the user terminal reads the lock service information stored in the near-field communication component from the near-field communication component, or the user terminal receives the lock service information sent by the near-field communication component. After that, after the user terminal obtains the lock service information from the near-field communication component, it starts the service program based on the program address included in the lock service information and passes the unlocking parameters included in the lock service information to the service program. Or, when the service program runs in the application installed on the user terminal, the application is started based on the program address and the unlocking parameters are passed to the application, and the application starts the service program and passes the unlocking parameters to the service program. In this case, obtaining the unlocking parameters for the unlocking application in the service venue passed by the user terminal can be replaced by obtaining the unlocking parameters for the unlocking application in the service venue passed by the application. Correspondingly, the user terminal starts the service program based on the lock service information obtained from the near-field communication component and passes the parameters can be replaced by: the application is started based on the lock service information obtained by the user terminal from the near-field communication component, or the user terminal starts the application based on the lock service information obtained from the near-field communication component and passes the parameters.
[0096] In practical applications, during the unlocking process of the door lock deployed in the venue space unit, before obtaining the unlocking parameters for the unlocking application in the service venue transmitted by the user terminal, pre-unlocking processing or pre-front unlocking processing can be performed. Pre-unlocking processing or pre-front unlocking processing refers to the partial interaction process of pre-executing the unlocking processing before the user terminal, the near-field communication component, and the door lock cooperate to perform the unlocking processing, so as to simplify the subsequent process of the user terminal, the near-field communication component, and the door lock cooperating to perform the unlocking processing, thereby improving the processing efficiency of the unlocking processing and reducing the response time of the unlocking processing.
[0097] Specifically, in an alternative implementation manner provided in this embodiment, before obtaining the venue identifier carried in the unlocking parameters for the unlocking application submitted by the service program, receive the lock application request submitted by the service program, and perform lock application processing according to the lock application parameters carried in the lock application request; Optionally, the lock application request is submitted after the user terminal obtains the lock application parameters from the near-field communication tag or near-field communication device deployed in the service venue and transmits them to the service program, or after the user terminal obtains the lock application parameters by scanning the service identifier of the service venue and transmits them to the service program.
[0098] During the specific execution process, the lock application processing refers to applying for the unlocking permission of the venue space unit. Specifically, in an alternative implementation manner provided in this embodiment, the lock application processing includes: Query the venue space unit associated with the user in the service venue based on the user identifier and the lock application parameters, and obtain the venue space unit by authorizing the user for the associated venue space unit. The venue space unit obtained here is the venue space unit authorized by the user in the service venue; Or, Query the venue space unit associated with the user in the service venue based on the user identifier and the lock application parameters, and obtain the venue space unit by authorizing the user for the door lock deployed in the associated venue space unit. The venue space unit obtained here is the venue space unit authorized by the user in the service venue.
[0099] During the specific execution process, in the process of processing the lock application according to the lock application parameters obtained from the near-field communication tag or the near-field communication device, based on the establishment of the near-field communication connection between the user terminal and the near-field communication component, the user terminal can read the program address and the lock application parameters stored in the near-field communication component from the near-field communication component, or the user terminal can receive the program address and the lock application parameters sent by the near-field communication component, start the service program based on the program address and pass the lock application parameters to the service program, or start the application program based on the program address and pass the lock application parameters to the application program, and the application program starts the service program and passes the lock application parameters to the service program; wherein, the lock application parameters include: the venue information of the service venue, the venue system information of the venue management system of the service venue, and / or the lock system information of the lock service system of the door lock. In addition, during the process of processing the lock application according to the lock application parameters obtained by scanning the service identifier of the service venue, the user terminal scans the service identifier of the service venue, and parses the scanned service identifier to obtain the program address and the lock application parameters. Further, based on the program address, the service program is started, and the lock application parameters included in the lock service information are passed to the service program, or the application program is started based on the program address and the lock application parameters are passed to the application program, and the application program starts the service program and passes the lock application parameters to the service program; in addition, the service identifier of the service venue can also be scanned by the application program running on the user terminal, and the scanned service identifier is parsed to obtain the lock application parameters, and the lock application parameters are passed to the service program running in the application program; wherein, the service identifier refers to an identifier used for service access or service triggering, and the specific form of the service identifier can be an identification code, such as a two-dimensional code, a bar code, a color code, or a three-dimensional code, etc.
[0100] It should be noted that obtaining the venue identifier carried by the unlocking parameter for submitting an unlocking application by the service program can be replaced by obtaining the unlocking parameter for submitting an unlocking application by the service program. Correspondingly, subsequently querying the venue space unit authorized by the user in the service venue corresponding to the venue identifier and returning it to the service program can be replaced by querying the venue space unit authorized by the user in the service venue corresponding to the venue identifier carried by the unlocking parameter and returning it to the service program; or, obtaining the venue identifier carried by the unlocking parameter for submitting an unlocking application by the service program can be replaced by obtaining the venue identifier for submitting an unlocking application by the service program; the venue identifier is obtained by the user terminal from the near-field communication component and passed to the service program.
[0101] Step S504, query the venue space unit authorized by the user in the service venue corresponding to the venue identifier and return it to the service program.
[0102] During specific implementation, after the service program obtains the unlocking parameters for the unlocking application, it can cooperate with the server to determine the authorized place space unit of the user in the service place. Specifically, during the process of cooperating with the server to determine the authorized place space unit of the user in the service place, the unlocking parameters or the place identifier can be submitted to the server. The server can query the authorized place space unit of the user in the service place corresponding to the place identifier according to the unlocking parameters carried in the unlocking parameters submitted by the service program and return it to the service program; or the server can query the authorized place space unit of the user in the service place corresponding to the place identifier according to the place identifier submitted by the service program and return it to the service program.
[0103] In an optional implementation manner provided in this embodiment, querying the authorized place space unit of the user in the service place corresponding to the place identifier includes: Querying in the place space reservation records synchronized by the place management system of the service place according to the user identifier and the place identifier to obtain the authorized place space unit; Or, Performing a place space query on the place management system according to the user identifier and the place identifier to obtain the authorized place space unit.
[0104] Among them, the user identifier can be submitted by the service program to the server, or can also be obtained by the server. Specifically, the user identifier includes: the login user identifier of the application program running the service program, the login user identifier of the service program, and / or the user communication identifier obtained by the service program.
[0105] During the specific execution process, after the server obtains the place identifier, it can query in the place space reservation records synchronized by the place management system of the service place according to the user identifier and the place identifier. The queried place space unit is the authorized place space unit. For example, in a hotel service place, after submitting a query request containing the place identifier carried in the unlocking parameters to the server, the server queries in the hotel reservation records synchronized by the hotel management system according to the login user identifier and the place identifier. The reserved hotel room obtained by the query is the authorized hotel room of the user in the hotel; Or, after the server receives the unlocking parameters submitted by the service program, it can perform a place space query on the place management system according to the user identifier and the place identifier carried in the lock parameters. The queried place space unit is the authorized place space unit. For example, in a school service place, after submitting a query request containing the place identifier carried in the unlocking parameters to the server, the server queries the registered dormitories in the school's school affairs management system. The registered dormitories obtained by the query are the authorized dormitories of the user in the school.
[0106] Step S506: Obtain the wireless connection address and unlocking key of the door lock deployed in the venue space unit and return them to the service program, so as to establish a wireless connection between the user terminal and the door lock and perform the unlocking process.
[0107] During specific implementation, during the unlocking process of the service venue, after returning the venue space unit authorized by the user in the service venue corresponding to the venue identifier to the service program, the wireless connection address and unlocking key of the door lock deployed in the venue space unit can be obtained, and the wireless connection address and unlocking key are returned to the service program to establish a wireless connection between the user terminal and the door lock and perform the unlocking process.
[0108] The door lock here refers to the door lock deployed in the authorized venue space unit, or the door lock deployed in the venue space unit with authorized unlocking permission; the wireless connection address of the door lock refers to the wireless connection address of the wireless component (wireless communication component) configured for the door lock, that is, the connection address used to establish a wireless connection with the wireless component configured for the door lock. The user terminal can establish a wireless connection with the door lock (wireless component) according to this wireless connection address, and can also send the unlocking key to the door lock through the wireless connection for the unlocking process. The unlocking key refers to the instruction key used to control the door lock to unlock. After receiving this unlocking key, the door lock can unlock.
[0109] Optionally, the unlocking key is obtained by the server from the lock service system of the door lock; among them, the unlocking key can be generated based on the user identifier carried in the lock processing request sent by the server to the lock service system. For example, the unlocking key can be generated based on the user communication identifier carried in the lock processing request sent by the server to the lock service system. In addition, the unlocking key can also be generated based on the unlocking permission of the venue space unit, or the unlocking key can also be generated based on the authorized unlocking permission of the venue space unit obtained by the user.
[0110] During the specific execution process, after returning the wireless connection address and unlocking key of the door lock to the service program, after the service program obtains the wireless connection address and unlocking key of the door lock, it can establish a wireless connection between the user terminal and the door lock according to this wireless connection address, and can also send the unlocking key to the door lock through the wireless connection for the unlocking process. In order to ensure that the door lock can successfully complete the unlocking and avoid unlocking failure caused by the user terminal being unable to establish a wireless connection with the door lock or the wireless connection failing, the digital key of the door lock can be obtained from the server for unlocking.
[0111] Specifically, in an alternative implementation provided in this embodiment, after obtaining the wireless connection address and unlocking key of the door lock deployed in the venue space unit and returning them to the service program, the digital key of the door lock can be obtained according to the request submitted by the service program and returned to the service program, so as to unlock the door by inputting the digital key into the door lock. Alternatively, the process of obtaining the wireless connection address and unlocking key of the door lock deployed in the venue space unit and returning them to the service program to establish a wireless connection between the user terminal and the door lock and perform unlocking processing can be replaced by obtaining the digital key of the door lock and returning it to the service program.
[0112] In practical applications, there may be a situation where multiple door locks are deployed in a venue space unit. During the process of unlocking using the interactive method of wireless connection between the user terminal and the door lock, due to the limited range of the wireless connection, in order to improve the unlocking success rate and also to prevent all the multiple door locks deployed in the venue space unit from being opened simultaneously during unlocking processing, in an alternative implementation provided in this embodiment, obtaining the wireless connection address and unlocking key of the door lock deployed in the venue space unit and returning them to the service program includes: Querying and obtaining the list of door locks deployed in the authorized venue space unit and returning it to the service program, or querying and obtaining the list of door locks deployed in the venue space unit with unlocking permission or authorized unlocking permission and returning it to the service program; According to the target door lock selected from the door lock list submitted by the service program, obtaining the wireless connection address and unlocking key of the target door lock and returning them to the service program.
[0113] During the specific execution process, after returning the wireless connection address and unlocking key of the door lock to the service program, the service program establishes a wireless connection between the user terminal and the door lock based on the wireless connection address, and sends the unlocking key to the door lock for unlocking processing. Specifically, during the process of establishing a wireless connection between the user terminal and the door lock, it is specifically to establish a wireless connection between the user terminal and the wireless component configured in the door lock, and send the unlocking key to the door lock through the established wireless connection, so that the door lock performs unlocking processing according to the sent unlocking key.
[0114] During the specific execution process, during the process of establishing a wireless connection between the user terminal and the door lock based on the wireless connection address, the wireless connection address detected by the wireless component configured in the user terminal can be obtained, and a wireless connection between the wireless component configured in the user terminal and the wireless component configured in the door lock can be established based on the wireless connection address; or, multiple candidate wireless connection addresses detected by the wireless component configured in the user terminal can be obtained, the wireless connection address can be selected from the multiple candidate wireless connection addresses, and a wireless connection between the wireless component configured in the user terminal and the wireless component configured in the door lock can be established based on the wireless connection address.
[0115] In addition, to enhance the security of the door lock, the wireless connection address of the wireless component configured in the door lock can be encrypted. After the wireless component configured in the user terminal detects the encrypted wireless address of the wireless component configured in the door lock, it decrypts the encrypted wireless address and establishes a wireless connection based on the decryption. Specifically, in an optional implementation provided in this embodiment, establishing a wireless connection between the user terminal and the door lock based on the wireless connection address includes: Obtain the encrypted wireless address detected by the wireless component configured in the user terminal, and decrypt the encrypted wireless address to obtain a candidate wireless connection address; Select a wireless connection address from the candidate wireless connection addresses, and establish a wireless connection between the wireless component configured in the user terminal and the wireless component configured in the door lock based on the wireless connection address.
[0116] Among them, the encrypted wireless address can be obtained by the door lock encrypting the wireless connection address using a pre-deployed dynamic encryption algorithm. Correspondingly, after obtaining the encrypted wireless address detected by the wireless component configured in the user terminal, the service program can use a dynamic decryption algorithm (the decryption algorithm corresponding to the dynamic encryption algorithm) to decrypt the encrypted wireless address to obtain the corresponding candidate wireless connection address.
[0117] The above steps S502 to S506 provided in this embodiment can be executed by the server. It should be noted that the above steps S502 to S506 executed by the server and the steps S202 to S208 executed by the service program in the above embodiment can cooperate with each other during the execution process. Therefore, when reading this embodiment, please refer to the corresponding content of steps S202 to S208 provided in the above method embodiment, and when reading the above method embodiment, please refer to the corresponding content of steps S502 to S506 provided in this embodiment.
[0118] The following takes the application of the interactive processing method of a door lock provided in this embodiment in a hotel unlocking scenario as an example, and combines Figure 3 to further illustrate the interactive processing method of the door lock provided in this embodiment. See Figure 3 The interactive processing method of the door lock applied to the hotel unlocking scenario specifically includes the following steps.
[0119] Step S306, obtain the hotel identifier included in the query request submitted by the service subroutine.
[0120] Optionally, the hotel identifier is obtained by the user terminal from the near-field communication component deployed in the hotel room and passed into the service subroutine through the application program.
[0121] Step S308, query the hotel room reserved by the user in the hotel reservation records synchronized by the hotel management system according to the user identifier and the hotel identifier.
[0122] Step S310: Return the queried hotel room reserved by the user to the service subroutine.
[0123] Step S318: According to the unlocking request submitted by the service subroutine, obtain the wireless connection address and unlocking key of the intelligent door lock deployed in the hotel room from the door lock service system.
[0124] Step S320: Return the wireless connection address and unlocking key of the intelligent door lock to the service subroutine to establish a wireless connection between the user terminal and the intelligent door lock and perform unlocking processing.
[0125] It should be noted that any one step or any combination of steps from step S306 to step S310 and from step S318 to step S320 can be combined with any one step or any combination of the above steps S502 to S506 according to the needs of implementation and deployment to form a new implementation method; in addition, according to the actual deployment needs, any one or any combination of technical features from step S306 to step S310 and from step S318 to step S320 can be selected and combined with any one or more technical features provided by the above steps S502 to S506 to form a new implementation method; or, any one or any combination of technical features from step S306 to step S310 and from step S318 to step S320 can also be replaced by any one or more technical feature combinations provided by the above steps S502 to S506 according to the actual deployment needs to form a new implementation method, which will not be elaborated here one by one.
[0126] The following takes the application of an interactive processing method for a door lock provided in this embodiment in the unlocking scenario of a service venue as an example, combined with Figure 4 , to further illustrate the interactive processing method for the door lock provided in this embodiment. See Figure 4 , the interactive processing method for the door lock applied to the unlocking scenario of a service venue specifically includes the following steps.
[0127] Step S406: Receive the lock application request submitted by the service program.
[0128] Optionally, the lock application request is submitted after the user terminal obtains and passes in the lock application parameters from the near-field communication device deployed in the service venue.
[0129] Step S408: Query the venue space unit associated with the user in the service venue according to the user identification and the lock application parameters carried in the lock application request.
[0130] Step S410: Authorize the user for the associated venue space unit to obtain the authorized venue space unit.
[0131] Step S416: Obtain the venue identifier carried in the unlocking parameters of the unlocking application submitted by the service program.
[0132] Step S418: Verify whether the user has the unlocking permission for the venue space unit; If so, execute Step S420; If not, grant the user the unlocking permission for the venue space unit.
[0133] Step S420: Obtain the wireless connection address and unlocking key of the door lock deployed in the venue space unit and return them to the service program to establish a wireless connection between the user terminal and the door lock and perform unlocking processing.
[0134] It should be noted that any one step or any combination of steps from Step S406 to Step S410 and from Step S416 to Step S420 can be combined with any one step or any combination of steps from the above Step S502 to Step S506 according to the needs of implementation and deployment to form a new implementation method; in addition, according to the actual deployment needs, any one or any combination of technical features from Step S406 to Step S410 and from Step S416 to Step S420 can be selected and combined with any one or more technical features provided by the above Step S502 to Step S506 to form a new implementation method; or, any one or any combination of technical features from Step S406 to Step S410 and from Step S416 to Step S420 can also be replaced by any one or more technical features provided by the above Step S502 to Step S506 according to the actual deployment needs to form a new implementation method, which will not be elaborated here one by one.
[0135] An embodiment of an interaction processing device for a door lock provided in this specification is as follows: In the above embodiment, an interaction processing method for a door lock is provided. Correspondingly, an interaction processing device for a door lock is also provided, which will be described below with reference to the drawings.
[0136] Refer to Figure 6 , which shows a schematic diagram of an embodiment of an interaction processing device for a door lock provided in this embodiment.
[0137] Since the device embodiment corresponds to the method embodiment, the description is relatively simple. For the relevant parts, please refer to the corresponding description of the method embodiment provided above. The device embodiments described below are only illustrative.
[0138] This embodiment provides an interaction processing device for a door lock, which can run on a service program. The device includes: A parameter acquisition module 602, configured to acquire unlocking parameters for an unlocking application in a service venue transmitted by a user terminal; the user terminal starts the service program and transmits parameters based on lock service information obtained from a near-field communication component; A venue space determination module 604, configured to determine a venue space unit authorized for the user in the service venue based on the unlocking parameters; A key acquisition module 606, configured to acquire a wireless connection address and an unlocking key of a door lock deployed in the venue space unit from a server; An unlocking module 608, configured to establish a wireless connection between the user terminal and the door lock based on the wireless connection address, and send the unlocking key to the door lock for unlocking processing.
[0139] Another embodiment of an interactive processing device for a door lock provided in this specification is as follows: In the above embodiment, another method for interactive processing of a door lock is provided. Correspondingly, another interactive processing device for a door lock is also provided, which will be described below with reference to the accompanying drawings.
[0140] Refer to Figure 7 , which shows a schematic diagram of another embodiment of an interactive processing device for a door lock provided in this embodiment.
[0141] Since the device embodiment corresponds to the method embodiment, the description is relatively simple. For related parts, please refer to the corresponding description of the method embodiment provided above. The device embodiments described below are only illustrative.
[0142] This embodiment provides an interactive processing device for a door lock, which can run on a server. The device includes: A venue identifier acquisition module 702, configured to acquire a venue identifier carried in unlocking parameters for an unlocking application submitted by a service program; the unlocking parameters are obtained by the user terminal from a near-field communication component and transmitted to the service program; A venue space query module 704, configured to query a venue space unit authorized for the user in the service venue corresponding to the venue identifier and send it to the service program; A key sending module 706, configured to acquire a wireless connection address and an unlocking key of a door lock deployed in the venue space unit and return them to the service program, so as to establish a wireless connection between the user terminal and the door lock and perform unlocking processing.
[0143] An embodiment of an interactive processing device for a door lock provided in this specification is as follows: A method for interactive processing of a door lock corresponding to the above description. Based on the same technical concept, one or more embodiments of this specification also provide an interactive processing device for a door lock, which is used to execute the method for interactive processing of a door lock provided above. Figure 8 It is a schematic structural diagram of an interactive processing of a door lock provided by one or more embodiments of this specification.
[0144] An interactive processing of a door lock provided in this embodiment includes: As Figure 8 shown, the interactive processing of the door lock can vary greatly due to configuration or performance differences, and may include one or more processors 801 and a memory 802. One or more application programs or data may be stored in the memory 802. Among them, the memory 802 can be short-term storage or persistent storage. The application programs stored in the memory 802 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions in the interactive processing of the door lock. Further, the processor 801 can be set to communicate with the memory 802 and execute a series of computer-executable instructions in the memory 802 on the interactive processing of the door lock. The interactive processing of the door lock may also include one or more power supplies 803, one or more wired or wireless network interfaces 804, one or more input / output interfaces 805, one or more keyboards 806, etc.
[0145] In a specific embodiment, the interactive processing of the door lock includes a memory and one or more programs. One or more of the programs are stored in the memory, and one or more of the programs may include one or more modules, and each module may include a series of computer-executable instructions in the interactive processing of the door lock, and is configured to be executed by one or more processors. The one or more programs include computer-executable instructions for performing the following: Obtain the unlocking parameters for the unlocking application in the service place transmitted by the user terminal; the user terminal starts the service program and transmits parameters based on the lock service information obtained from the near-field communication component; Determine the place space unit authorized by the user in the service place based on the unlocking parameters; Obtain the wireless connection address and unlocking key of the door lock deployed in the place space unit from the server; Establish a wireless connection between the user terminal and the door lock based on the wireless connection address, and send the unlocking key to the door lock for unlocking processing.
[0146] Another embodiment of the interactive processing device for a door lock provided by this specification is as follows: Another interactive processing method for a door lock, based on the same technical concept, one or more embodiments of this specification also provide another interactive processing device for a door lock. This interactive processing device for a door lock is used to execute the above-provided another interactive processing method for a door lock. Figure 9 It is a schematic structural diagram of another interactive processing device for a door lock provided by one or more embodiments of this specification.
[0147] An interactive processing device for a door lock provided in this embodiment includes: As Figure 9 shown, the interactive processing device for a door lock may vary greatly due to configuration or performance, and may include one or more processors 901 and a memory 902. One or more application programs or data may be stored in the memory 902. Among them, the memory 902 may be transient storage or persistent storage. The application programs stored in the memory 902 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions in the interactive processing device for a door lock. Further, the processor 901 may be set to communicate with the memory 902 and execute a series of computer-executable instructions in the memory 902 on the interactive processing device for a door lock. The interactive processing device for a door lock may also include one or more power supplies 903, one or more wired or wireless network interfaces 904, one or more input / output interfaces 905, one or more keyboards 906, etc.
[0148] In a specific embodiment, the interactive processing device for a door lock includes a memory and one or more programs. One or more of the programs are stored in the memory, and one or more of the programs may include one or more modules. Each module may include a series of computer-executable instructions in the interactive processing device for a door lock and is configured to be executed by one or more processors. The one or more programs include the following computer-executable instructions: Obtain the venue identifier carried in the unlocking parameter for the unlocking application submitted by the service program; the unlocking parameter is obtained from the near-field communication component by the user terminal and passed into the service program; Query the venue space units authorized by the user in the service venue corresponding to the venue identifier and send them to the service program; Obtain the wireless connection address and unlocking key of the door lock deployed in the venue space unit and return them to the service program to establish a wireless connection between the user terminal and the door lock and perform unlocking processing.
[0149] An embodiment of a computer-readable storage medium provided by this specification is as follows: A method for interactive processing of a door lock corresponding to the above description. Based on the same technical concept, one or more embodiments of this specification also provide a computer-readable storage medium.
[0150] The computer-readable storage medium provided in this embodiment is used to store computer-executable instructions, and when the computer-executable instructions are executed, the following process is implemented: Obtain the unlocking parameters for unlocking application in the service place transmitted by the user terminal; the user terminal starts a service program and transmits parameters based on the lock service information obtained from the near-field communication component; Determine the place space unit authorized for the user in the service place based on the unlocking parameters; Obtain the wireless connection address and unlocking key of the door lock deployed in the place space unit from the server; Establish a wireless connection between the user terminal and the door lock based on the wireless connection address, and send the unlocking key to the door lock for unlocking processing.
[0151] It should be noted that the embodiment of a computer-readable storage medium in this specification and the embodiment of a method for interactive processing of a door lock in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the corresponding method described above, and the repeated parts will not be elaborated.
[0152] Another embodiment of the computer-readable storage medium provided in this specification is as follows: Corresponding to another method for interactive processing of a door lock described above. Based on the same technical concept, one or more embodiments of this specification also provide another computer-readable storage medium.
[0153] The computer-readable storage medium provided in this embodiment is used to store computer-executable instructions, and when the computer-executable instructions are executed, the following process is implemented: Obtain the place identifier carried by the unlocking parameters for unlocking application submitted by the service program; the unlocking parameters are obtained by the user terminal from the near-field communication component and transmitted to the service program; Query the place space unit authorized for the user in the service place corresponding to the place identifier and send it to the service program; Obtain the wireless connection address and unlocking key of the door lock deployed in the place space unit and return them to the service program to establish a wireless connection between the user terminal and the door lock and perform unlocking processing.
[0154] It should be noted that the embodiments of another computer-readable storage medium in this specification and the embodiments of the interaction processing method of another door lock in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the corresponding method described above, and the repeated parts will not be elaborated.
[0155] An embodiment of a computer program product provided in this specification is as follows: Corresponding to the interaction processing method of a door lock described above, based on the same technical concept, one or more embodiments of this specification also provide a computer program product.
[0156] A computer program product includes a computer program / instructions, and when the computer program / instructions are executed by a processor, the following steps are implemented: Obtain the unlocking parameters for the unlocking application in the service venue transmitted by the user terminal; the user terminal starts the service program based on the lock service information obtained from the near-field communication component and transmits the parameters. Determine the venue space unit authorized for the user in the service venue based on the unlocking parameters. Obtain the wireless connection address and unlocking key of the door lock deployed in the venue space unit from the server. Establish a wireless connection between the user terminal and the door lock based on the wireless connection address, and send the unlocking key to the door lock for unlocking processing.
[0157] It should be noted that the embodiments of a computer program product in this specification and the embodiments of the interaction processing method of a door lock in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the corresponding method described above, and the repeated parts will not be elaborated.
[0158] Another embodiment of a computer program product provided in this specification is as follows: Corresponding to the interaction processing method of another door lock described above, based on the same technical concept, one or more embodiments of this specification also provide another computer program product.
[0159] A computer program product includes a computer program / instructions, and when the computer program / instructions are executed by a processor, the following steps are implemented: Obtain the venue identifier carried by the unlocking parameters for the unlocking application submitted by the service program; the unlocking parameters are obtained by the user terminal from the near-field communication component and transmitted to the service program. Query the venue space unit authorized for the user in the service venue corresponding to the venue identifier and send it to the service program. Obtain the wireless connection address and unlocking key of the door lock deployed in the venue space unit and return them to the service program, so as to establish a wireless connection between the user terminal and the door lock and perform unlocking processing.
[0160] It should be noted that the embodiments of another computer program product in this specification and the embodiments of the interaction processing method of another door lock in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the corresponding method described above, and the repeated parts will not be elaborated.
[0161] Each embodiment in this specification is described in a progressive manner. The same or similar parts between each embodiment can be referred to each other. The key point of each embodiment is to illustrate the differences from other embodiments. For example, the device embodiment, the equipment embodiment, the computer-readable storage medium embodiment, and the computer program product embodiment are all similar to the method embodiment, so the description is relatively simple. Please refer to the corresponding part of the method embodiment for the relevant content in the device embodiment, the equipment embodiment, the computer-readable storage medium embodiment, and the computer program product embodiment.
[0162] The specific embodiments of this specification are described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve the desired result. Additionally, the processes depicted in the figures do not necessarily require the particular order or sequential order shown to achieve the desired result. In certain implementations, multitasking and parallel processing are also possible or may be advantageous.
[0163] In the 1930s, it was obvious to distinguish whether an improvement to a technology was a hardware improvement (e.g., improvements to circuit structures such as diodes, transistors, switches, etc.) or a software improvement (improvements to method flows). However, with the development of technology, many improvements to method flows today can be regarded as direct improvements to hardware circuit structures. Almost all designers obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement to a method flow cannot be implemented with a hardware entity module. For example, a Programmable Logic Device (PLD) (e.g., a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logical function is determined by the user programming the device. The designer can program by himself / herself to "integrate" a digital system on a piece of PLD without having to ask a chip manufacturer to design and fabricate a dedicated integrated circuit chip. Moreover, nowadays, instead of manually fabricating integrated circuit chips, this programming is mostly implemented using "logic compiler" software, which is similar to the software compiler used in program development and writing. The original code before compilation also has to be written in a specific programming language, which is called a Hardware Description Language (HDL). There is not only one kind of HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones currently are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also be aware that by simply performing a little logical programming on the method flow with the above-mentioned several hardware description languages and programming it into the integrated circuit, it is easy to obtain the hardware circuit that implements the logical method flow.
[0164] The controller can be implemented in any suitable manner. For example, the controller can take the form of, for example, a microprocessor or a processor and a computer-readable medium storing computer-readable program code (such as software or firmware) executable by the (micro)processor, logic gates, switches, an application specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of the controller include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in the form of pure computer-readable program code, it is entirely possible to logically program the method steps to enable the controller to be implemented in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. to achieve the same functions. Therefore, such a controller can be considered a hardware component, and the devices included therein for implementing various functions can also be regarded as the structures within the hardware component. Or even, the devices for implementing various functions can be regarded as either software modules for implementing the method or structures within the hardware component.
[0165] The systems, devices, modules, or units illustrated in the above embodiments can be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or any combination of these devices.
[0166] For the convenience of description, when describing the above devices, they are described separately as various units according to their functions. Of course, when implementing the embodiments of this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0167] Those skilled in the art should understand that one or more embodiments of this specification can be provided as a method, a system, or a computer program product. Therefore, one or more embodiments of this specification can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, this specification can take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program code.
[0168] This specification is described with reference to the flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the specification. It should be understood that each flow and / or block in the flowchart and / or block diagram, and combinations of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, special-purpose computers, embedded processors, or other programmable data processing devices to produce a machine, such that the instructions executed by the processors of the computer or other programmable data processing devices produce means for implementing the functions specified in one or more of the flows Figure 1 one or more of the flows and / or blocks Figure 1 or means for implementing the functions specified in one or more of the blocks.
[0169] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer-readable memory produce a manufacture including instruction means that implement the functions specified in one or more of the flows Figure 1 one or more of the flows and / or blocks Figure 1 or means for implementing the functions specified in one or more of the blocks.
[0170] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operational steps are performed on the computer or other programmable device to produce a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more of the flows Figure 1 one or more of the flows and / or blocks Figure 1 or means for implementing the functions specified in one or more of the blocks.
[0171] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and memory.
[0172] The memory may include non-permanent memory in the form of computer-readable media, random access memory (RAM), and / or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
[0173] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer-readable storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory media such as modulated data signals and carrier waves.
[0174] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity 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, commodity or device. In the absence of further restrictions, the elements defined by the sentence "includes at least one ..." do not exclude the presence of other identical elements in the process, method, commodity or device including the elements.
[0175] One or more embodiments of the present specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of the present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0176] The above description is only an embodiment of this document and is not intended to limit this document. For those skilled in the art, this document may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this document should be included in the scope of the claims of this document.
Claims
1. An interactive processing method for a door lock, which is applied to a service program. The method includes: Obtaining unlocking parameters for an unlocking application in a service venue transmitted by a user terminal; The user terminal starts the service program and transmits parameters based on the lock service information obtained from the near-field communication component; Determining a venue space unit authorized for the user in the service venue based on the unlocking parameters; Obtaining the wireless connection address and unlocking key of the door lock deployed in the venue space unit from the server; Establishing a wireless connection between the user terminal and the door lock based on the wireless connection address, and sending the unlocking key to the door lock for unlocking processing.
2. The interactive processing method for a door lock according to claim 1, wherein the unlocking parameters carry a space unit identifier, and the near-field communication component corresponds to the venue space unit; If the unlocking permission verification for the space unit identifier passes, determining the venue space unit based on the space unit identifier.
3. The interactive processing method for a door lock according to claim 2, wherein the unlocking permission verification includes: Verifying whether the user has obtained the unlocking permission for the venue space unit. If so, determining that the unlocking permission verification passes; Wherein, the unlocking permission is generated after the user obtains the passage permission for the venue space unit, and the unlocking permission is cancelled after the passage permission is lifted.
4. The interactive processing method for a door lock according to claim 1, wherein the determining the venue space unit authorized for the user in the service venue based on the unlocking parameters includes: Submitting a query request including the venue identifier carried in the unlocking parameters to the server; Receiving the venue space unit queried and returned by the server, or using the target venue space unit selected by the user from multiple candidate venue space units returned by the server as the venue space unit.
5. The interactive processing method for a door lock according to claim 4, wherein the server queries in the venue space reservation record synchronized by the venue management system of the service venue according to the user identifier and the venue identifier; Alternatively, the server queries the venue space from the venue management system according to the user identifier and the venue identifier; Among them, The user identifier includes: the login user identifier of the application running the service program, the login user identifier of the service program, or the user communication identifier obtained by the service program.
6. The interactive processing method for a door lock according to claim 1, wherein the determining the venue space unit authorized for the user in the service venue based on the unlocking parameters includes: Obtaining the unlocking permission configuration of the service venue according to the venue identifier carried in the unlocking parameters, and determining the identity type of the user in the service venue; Querying the user permissions in the unlocking permission configuration based on the identity type to obtain the venue space unit.
7. The interactive processing method of the door lock according to claim 1, after the step of determining the place space unit where the user is authorized in the service place based on the unlocking parameter is executed, and before the step of obtaining the wireless connection address and unlocking key of the door lock deployed in the place space unit from the server, further includes: Verify whether the user has the authorized unlocking permission for the place space unit. If so, determine that the verification is passed, and execute the step of obtaining the wireless connection address and unlocking key of the door lock deployed in the place space unit from the server; Wherein, the authorized unlocking permission includes: the visitor permission obtained after applying for permission in the service place, or the temporary permission obtained after applying for permission to the management party of the place space unit.
8. The interactive processing method of the door lock according to claim 1, before the step of obtaining the unlocking parameter for unlocking application in the service place transmitted by the user terminal, further includes: Obtain the lock application parameter obtained by the user terminal from the near-field communication tag or near-field communication device deployed in the service place and transmitted, or obtain the lock application parameter obtained by the user terminal by scanning the service identifier in the service place and transmitted; Submit a lock application request including the lock application parameter to the server for lock application processing.
9. The interactive processing method of the door lock according to claim 8, the lock application processing includes: Query the place space unit associated with the user in the service place based on the user identifier and the lock application parameter; Authorize the user for the associated place space unit to obtain the place space unit.
10. The interactive processing method of the door lock according to claim 1, after the step of obtaining the wireless connection address and unlocking key of the door lock deployed in the place space unit from the server is executed, and before the step of establishing a wireless connection between the user terminal and the door lock based on the wireless connection address and sending the unlocking key to the door lock for unlocking processing, further includes: Detect whether the wireless component of the user terminal is in an on state; If so, execute the step of establishing a wireless connection between the user terminal and the door lock based on the wireless connection address and sending the unlocking key to the door lock for unlocking processing; If not, obtain the digital key of the door lock from the server to unlock by inputting the digital key into the door lock.
11. The interactive processing method of the door lock according to claim 1, the obtaining the wireless connection address and unlocking key of the door lock deployed in the place space unit from the server includes: Query the door lock list deployed in the place space unit from the server; According to the target door lock selected by the user from the door lock list, obtain the wireless connection address and unlocking key of the target door lock from the server.
12. The interactive processing method of the door lock according to claim 1, the establishing the wireless connection between the user terminal and the door lock based on the wireless connection address includes: Obtain the encrypted wireless address detected by the wireless component configured by the user terminal, and decrypt the encrypted wireless address to obtain a candidate wireless connection address; Select the wireless connection address from the candidate wireless connection addresses, and establish a wireless connection between the wireless component and the wireless component configured by the door lock based on the wireless connection address.
13. The interaction processing method of the door lock according to claim 1, wherein the unlocking key is obtained by the server from the lock service system of the door lock; The unlocking key is generated based on the user identifier carried in the lock processing request sent by the server to the lock service system and / or the unlocking permission of the venue space unit.
14. The interactive processing method of the door lock according to claim 1, wherein the near-field communication component comprises: The near-field communication component configured by the door lock, or the near-field communication tag or near-field communication device deployed by the venue space unit.
15. An interaction processing method of a door lock, which is applied to a server, and the method includes: Obtain the venue identifier carried in the unlocking parameter for submitting an unlocking application submitted by the service program; The unlocking parameter is obtained by the user terminal from the near-field communication component and passed into the service program; Query the venue space unit authorized by the user in the service venue corresponding to the venue identifier and return it to the service program; Obtain the wireless connection address and the unlocking key of the door lock deployed by the venue space unit and return them to the service program to establish a wireless connection between the user terminal and the door lock and perform unlocking processing.
16. The interaction processing method of the door lock according to claim 15, wherein the querying the venue space unit authorized by the user in the service venue corresponding to the venue identifier includes: Query in the venue space reservation record synchronized by the venue management system of the service venue according to the user identifier and the venue identifier to obtain the venue space unit; Or, Perform a venue space query on the venue management system according to the user identifier and the venue identifier to obtain the venue space unit; Wherein, the user identifier includes: the login user identifier of the application program running the service program, the login user identifier of the service program, or the user communication identifier obtained by the service program.
17. The interaction processing method of the door lock according to claim 15, before the step of obtaining the venue identifier carried in the unlocking parameter for submitting an unlocking application submitted by the service program, further includes: Receive a lock application request submitted by the service program; Perform lock application processing according to the lock application parameters carried in the lock application request; Wherein, the lock application request is submitted after the user terminal obtains the lock application parameters from the near-field communication tag or near-field communication device deployed by the service venue and passes them into the service program, or after the user terminal obtains the lock application parameters by scanning the service identifier of the service venue and passes them into the service program.
18. The interaction processing method of the door lock according to claim 17, wherein the lock application processing includes: Query the venue space unit associated with the user in the service venue based on the user identifier and the lock application parameters; Authorize the user for the permission of the associated venue space unit to obtain the venue space unit.
19. The interactive processing method of the door lock according to claim 15, wherein the unlocking key is obtained from the lock service system of the door lock; The unlocking key is generated based on the user identification carried in the lock processing request sent to the lock service system and / or the unlocking permission of the venue space unit.
20. The interactive processing method of the door lock according to claim 15, wherein the near-field communication component comprises: The near-field communication component configured in the door lock, or the near-field communication tag or near-field communication device deployed in the venue space unit.
21. An interactive processing device of a door lock, running on a service program, the device includes: A parameter acquisition module, configured to acquire the unlocking parameters for an unlocking application in a service venue transmitted by a user terminal; The user terminal starts the service program and transmits parameters based on the lock service information obtained from the near-field communication component; A venue space determination module, configured to determine the venue space unit authorized for the user in the service venue based on the unlocking parameters; A key acquisition module, configured to acquire the wireless connection address and the unlocking key of the door lock deployed in the venue space unit from a server; An unlocking module, configured to establish a wireless connection between the user terminal and the door lock based on the wireless connection address, and send the unlocking key to the door lock for unlocking processing.
22. An interactive processing device of a door lock, running on a server, the device includes: A venue identification acquisition module, configured to acquire the venue identification carried in the unlocking parameters for an unlocking application submitted by a service program; The unlocking parameters are acquired by the user terminal from the near-field communication component and transmitted to the service program; A venue space query module, configured to query the venue space unit authorized for the user in the service venue corresponding to the venue identification and send it to the service program; A key sending module, configured to acquire the wireless connection address and the unlocking key of the door lock deployed in the venue space unit and return them to the service program, so as to establish a wireless connection between the user terminal and the door lock and perform unlocking processing.
23. An interactive processing device of a door lock, including: A processor; And a memory configured to store computer-executable instructions, which when executed cause the processor to: Acquire the unlocking parameters for an unlocking application in a service venue transmitted by a user terminal; the user terminal starts the service program and transmits parameters based on the lock service information obtained from the near-field communication component; Determine the venue space unit authorized for the user in the service venue based on the unlocking parameters; Acquire the wireless connection address and the unlocking key of the door lock deployed in the venue space unit from a server; Establish a wireless connection between the user terminal and the door lock based on the wireless connection address, and send the unlocking key to the door lock for unlocking processing.
24. An interactive processing device of a door lock, including: A processor; And a memory configured to store computer-executable instructions, which when executed cause the processor to: Obtain the venue identifier carried in the unlocking parameters for the unlocking application submitted by the service program; the unlocking parameters are obtained by the user terminal from the near-field communication component and passed into the service program; Query the venue space unit authorized by the user in the service venue corresponding to the venue identifier and send it to the service program; Obtain the wireless connection address and unlocking key of the door lock deployed in the venue space unit and return them to the service program to establish a wireless connection between the user terminal and the door lock and perform unlocking processing.
25. A computer-readable storage medium for storing computer-executable instructions, which when executed implement the steps of the method according to claim 1 or 15.
Citation Information
Patent Citations
NFC based safe intelligent hotel access control system and method
CN109493493A
Method and device for realizing unlocking by scanning QR code through WeChat, and storage medium
CN109636984A
Wireless unlocking method of intelligent door lock
CN109993868A
Identity verification method and device, electronic equipment and computer readable storage medium
CN111489464A
Self-service warehouse management system and method based on intelligent lock
CN113744464A