Request response method, device, equipment and storage medium
By dynamically configuring the activation permissions of the target lock, the problems of improper key management and electronic key network security risks are solved, and the security of the banknote delivery process is improved.
Patent Information
- Application Number
- CN202310002985.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-03
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2043-01-03
AI Technical Summary
In the prior art, improper key management leads to the risk of key theft, and the use of electronic keys poses a risk of network security.
By responding to the lock activation request on the target banknote box, the lock identification information and gateway information are obtained, the lock unlocking authority information is queried, and the lock unlocking authority information is generated based on the identification information, time interval and job personnel information, and the lock activation authority is dynamically configured.
The dynamic configuration of lock activation permission is realized, avoiding the security risks of universal keys or electronic keys, and improving the security of the banknote delivery process.
Smart Images

Figure CN116012985B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the fields of Internet of Things and financial technology, and in particular to a request response method, device, equipment, medium and program product. Background Art
[0002] At present, when allocating funds to outlets, it is common to randomly allocate cash boxes and padlocks, transport the cash boxes and padlocks to the outlets, and have the relevant responsible personnel of the outlets use keys to open the padlocks corresponding to the cash boxes. In the related art, the cash boxes are mainly opened by the relevant responsible personnel using universal keys.
[0003] However, in the process of realizing the disclosed inventive concept, the inventors discovered that in the related art, there is a risk of keys being stolen due to improper key management. Summary of the invention
[0004] In view of the above problems, the present disclosure provides a request response method, apparatus, device, medium and program product.
[0005] According to the first aspect of the present disclosure, a request response method is provided, comprising: in response to a lock activation request from a target lock on a target cash box, obtaining identification information of the target lock and gateway information of a target outlet, wherein the lock activation request is generated when the target cash box is transported to the target outlet; querying and obtaining first target object information of the target outlet based on the gateway information, the first target object information representing position personnel information with unlocking authority in the target outlet; and generating activation authority configuration information of the target lock based on the identification information, the predetermined time interval information and the first target object information; and sending activation request result information to the target outlet.
[0006] According to an embodiment of the present disclosure, the first target object information of the target outlet is queried based on the gateway information, including: obtaining the information of the target outlet by querying the gateway configuration information based on the gateway information; and obtaining the first target object information by querying the job personnel configuration information of the target outlet based on the information of the target outlet.
[0007] According to an embodiment of the present disclosure, the first target object information is obtained by querying the job personnel configuration information of the target outlets based on the information of the target outlets, including: obtaining the information of the target job by querying the job personnel configuration information of the target outlets based on the information of the target outlets; and determining the first target object information by querying the record information of on-the-job personnel within the predetermined time interval based on the information of the target job.
[0008] According to an embodiment of the present disclosure, the above-mentioned first target object includes multiple candidate objects, and the above-mentioned activation authority configuration information of the above-mentioned target lock is generated based on the above-mentioned identification information, the information of the predetermined time interval and the above-mentioned first target object information, including: determining the target candidate object information based on the information of the predetermined time interval and the job personnel configuration information of the above-mentioned target outlet; and generating the activation authority configuration information of the above-mentioned target lock based on the above-mentioned identification information, the information of the predetermined time interval and the above-mentioned target candidate object information.
[0009] According to an embodiment of the present disclosure, the request response method further includes: in response to an unlocking request received for the target lock within the predetermined time interval, obtaining identification information of the target lock and information of the second target object; obtaining permission information of the second target object by querying the activation permission configuration information based on the identification information of the target lock; obtaining on-the-job status information of the second target object by querying the record information of on-the-job personnel based on the information of the predetermined time interval; and generating unlocking control instruction information when the on-the-job status information and the permission information meet preset conditions.
[0010] According to an embodiment of the present disclosure, the request response method further includes: when the second target object has the unlocking authority and the second target object is off-duty within the predetermined time interval, determining the third target object from the on-duty personnel in the target position based on the record information of the on-duty personnel at the target point; and changing the activation authority configuration information of the target lock based on the information of the third target object.
[0011] According to an embodiment of the present disclosure, the request response method further includes: sending the information of the third target object and the unlocking control instruction information to the target outlet; and in response to receiving the unlocking information of the target lock, generating unlocking record information according to the information of the third target object, the identification information of the target lock and the unlocking time information.
[0012] The second aspect of the present disclosure provides a request response device, including: a first acquisition module, used to respond to a lock activation request from a target lock on a target cash box, and obtain the identification information of the target lock and the gateway information of the target outlet, wherein the lock activation request is generated when the target cash box is transported to the target outlet; a first query module, used to query and obtain the first target object information of the target outlet based on the gateway information, and the first target object information represents the position personnel information with unlocking authority in the target outlet; and a first generation module, used to generate the activation authority configuration information of the target lock based on the identification information, the predetermined time interval information and the first target object information; and send the activation request result information to the target outlet.
[0013] A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above method.
[0014] The fourth aspect of the present disclosure also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the above method.
[0015] The fifth aspect of the present disclosure also provides a computer program product, including a computer program, which implements the above method when executed by a processor.
[0016] According to the request response method, device, equipment, medium and program product provided by the present disclosure, by querying the personnel with unlocking authority in the target network point according to the gateway information of the target network point, and then generating the activation authority configuration information of the target lock according to the identification information, personnel information and predetermined time interval information of the target lock, so that the personnel can open the target lock within the predetermined time interval. Since the lock sends an activation request when detecting the corresponding gateway, and then opens the authority of the corresponding personnel according to the activation request, the dynamic configuration of the lock activation authority is realized, thereby avoiding the potential safety hazards of universal physical keys or electronic keys, and improving the safety of the cash box delivery process. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0018] Figure 1 The application scenario diagram of the request response method according to the embodiment of the present disclosure is schematically shown;
[0019] Figure 2A flowchart of a request response method according to an embodiment of the present disclosure is schematically shown;
[0020] Figure 3 A flowchart of a method for generating activation authority configuration information according to an embodiment of the present disclosure is schematically shown;
[0021] Figure 4 A flowchart of a method for generating unlocking control instruction information according to an embodiment of the present disclosure is schematically shown;
[0022] Figure 5 A schematic diagram of a structure of a request response device according to an embodiment of the present disclosure is shown; and
[0023] Figure 6 A block diagram of an electronic device suitable for implementing the request response method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0024] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0025] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0026] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
[0027] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0028] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision, disclosure and application of the data involved (including but not limited to user personal information) comply with the provisions of relevant laws and regulations, take necessary confidentiality measures, and do not violate public order and good morals.
[0029] At present, when allocating cash boxes to outlets, it is difficult to find fixed cash boxes and ordinary padlocks from a large number of cash boxes and ordinary padlocks. Therefore, in the related art, cash boxes and ordinary padlocks are generally randomly allocated, and then a universal key or a key corresponding to the ordinary padlock is used to open the cash box.
[0030] However, in the process of realizing the inventive concept of the present disclosure, the inventors discovered that there are potential security risks in the related art that universal keys may be stolen and reused, while if electronic keys are used, there are risks to network security.
[0031] In view of this, an embodiment of the present disclosure provides a request response method, including:
[0032] In response to a lock activation request from a target lock on a target cash box, obtaining identification information of the target lock and gateway information of a target outlet, wherein the lock activation request is generated when the target cash box is transported to the target outlet;
[0033] According to the gateway information, query and obtain first target object information of the target network point, where the first target object information represents the position personnel information with unlocking authority in the target network point; and
[0034] Generate activation authority configuration information of the target lock according to the identification information, the predetermined time interval information and the first target object information; and send activation request result information to the target network point.
[0035] Figure 1 The application scenario diagram of the request response method according to an embodiment of the present disclosure is schematically shown.
[0036] like Figure 1 As shown, the application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is used to provide a medium for a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0037] The user may use at least one of the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications may be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).
[0038] The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.
[0039] The server 105 may be a server that provides various services, such as a background management server (only as an example) that provides support for websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.
[0040] It should be noted that the request response method provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the request response device provided in the embodiment of the present disclosure can generally be set in the server 105. The request response method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105. Accordingly, the request response device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105.
[0041] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.
[0042] The following will be based on Figure 1 The scene described by Figure 2 to Figure 6 The request response method of the disclosed embodiment is described in detail.
[0043] Figure 2 The flowchart of the request response method according to the embodiment of the present disclosure is schematically shown.
[0044] like Figure 2 As shown, the request response method of this embodiment includes operations S210 to S230.
[0045] In operation S210, in response to a lock activation request from a target lock on a target cash box, identification information of the target lock and gateway information of a target network point are obtained, wherein the lock activation request is generated when the target cash box is transported to the target network point.
[0046] According to an embodiment of the present disclosure, for example, the lock may be an electronic padlock that integrates components such as a communication module, a battery module, and an encryption chip module. The lock activation request may be encrypted by the encryption chip module and sent by the communication module.
[0047] According to an embodiment of the present disclosure, the gateway information may include attribute information of the gateway device, which may be set at the target network point. The attribute information may include identification information of the gateway device and network point information where the gateway device is set. The identification information of the gateway device may include the name and number of the gateway device. The network point information may include the name and number of the network point.
[0048] According to an embodiment of the present disclosure, for example, the lock and the gateway device can be registered in advance to match the information of the lock and the gateway device, so that when the target lock is transported to the target outlet along with the target cash box, it will automatically connect to the corresponding gateway device, generate a lock activation request, and send the lock activation request through the network of the gateway device.
[0049] According to an embodiment of the present disclosure, the lock corresponding to the identification information can be determined as the target lock through identification information. For example, the identification information of the target lock can be the number of the target lock, etc. The numbers of the target locks can be grouped according to the colors of the target locks. For example, the locks can be distinguished by the colors of the locks. The lock activation request sent by the green lock corresponds to the ordinary staff of the branch, and the red lock corresponds to the management staff of the branch. Each cash box can be configured with locks of two colors, so that ordinary staff and management staff can open the locks correspondingly, thereby improving the safety of opening the locks.
[0050] According to an embodiment of the present disclosure, when the target lock arrives at the outlet, the target lock and the gateway number can be matched. When the matching is completed, the gateway can be determined as the target gateway corresponding to the lock, and the outlet where the target gateway is located is the target outlet. The target lock sends a lock activation request through the gateway device of the target outlet. When the lock activation request is received, information related to activating the lock can be generated to activate the lock.
[0051] In operation S220, first target object information of the target network point is queried according to the gateway information, and the first target object information represents the position personnel information having the unlocking authority in the target network point.
[0052] According to an embodiment of the present disclosure, personnel with unlocking authority may include ordinary personnel and management personnel.
[0053] According to an embodiment of the present disclosure, the first target object information of the target outlet is queried based on the gateway information. For example, the identity information of the personnel with unlocking authority at the outlet can be queried from a database storing the personnel configuration information of the outlet based on the outlet information in the gateway information, and then the first target object information is determined based on the queried identity information.
[0054] In operation S230, activation authority configuration information of the target lock is generated according to the identification information, the predetermined time interval information and the first target object information; and activation request result information is sent to the target network point.
[0055] According to an embodiment of the present disclosure, the activation permission configuration information may be information used to configure the activation permission of a target lock, and may include identification information of the target lock, predetermined time interval information, and first target object information. The predetermined time interval information may be the effective time of the activation permission. For example, the activation permission configuration information may be used to activate the first target object to unlock the target lock according to the identification information of the target lock and according to the predetermined time interval.
[0056] According to an embodiment of the present disclosure, the activation request result information may include successful activation of unlocking authority and failed activation of unlocking authority. In the case of unsuccessful activation of unlocking authority, the activation request result information including failed activation of unlocking authority may be sent to the target network point; in the case of successful activation of unlocking authority, the activation request result information including successful activation of unlocking authority may be sent to the target network point.
[0057] According to the embodiment of the present disclosure, by querying the personnel with unlocking authority in the target network point according to the gateway information of the target network point, and then generating the activation authority configuration information of the target lock according to the identification information of the target lock, the personnel information and the predetermined time interval information, so that the personnel can open the target lock within the predetermined time interval. Since the lock sends an activation request when detecting the corresponding gateway, and then opens the authority of the corresponding personnel according to the activation request, the dynamic configuration of the lock activation authority is realized, thereby avoiding the potential safety hazards of universal physical keys or electronic keys, and improving the safety of the cash box delivery process.
[0058] According to an embodiment of the present disclosure, querying and obtaining first target object information of a target network point according to gateway information includes:
[0059] According to the gateway information, the information of the target network point is obtained by querying the gateway configuration information; and
[0060] According to the information of the target outlet, the first target object information is obtained by querying the position personnel configuration information of the target outlet.
[0061] According to an embodiment of the present disclosure, information of the target network point is obtained by querying the gateway configuration information based on the gateway information. For example, based on the number of the gateway in the gateway information, the number of the network point corresponding to the number of the gateway can be queried from the gateway configuration information, and then the network point can be determined to be the target network point corresponding to the gateway information.
[0062] According to an embodiment of the present disclosure, for example, the post personnel configuration information may include identity information, authority information, and attendance information of personnel corresponding to each post, etc. For example, the post personnel configuration information may include identity information, authority information, and attendance information of management post personnel, and identity information, authority information, and attendance information of ordinary post personnel.
[0063] According to an embodiment of the present disclosure, based on the information of the target outlet, the first target object information is obtained by querying the job personnel configuration information of the target outlet. For example, based on the information of the target outlet, the job personnel information corresponding to the target outlet can be queried from a database storing the job personnel configuration information, and the identity information of the job personnel with unlocking authority can be determined from the job personnel information, and then the first target object information can be obtained based on the identity information.
[0064] According to the embodiment of the present disclosure, the information of the target network point is obtained by querying the gateway configuration information corresponding to the gateway information, and then the first target object information is obtained by querying the position personnel configuration information of the target network point according to the information of the target network point. Since the first target object is determined by the gateway information, the position personnel can be dynamically determined from the first target object, which improves the flexibility of configuring activation permissions.
[0065] According to an embodiment of the present disclosure, first target object information is obtained by querying the position personnel configuration information of the target network point according to the information of the target network point, including:
[0066] According to the information of the target outlet, the information of the target position is obtained by querying the position personnel configuration information of the target outlet; and
[0067] According to the information of the target position, the first target object information is determined by querying the record information of the on-the-job personnel within a predetermined time interval.
[0068] According to an embodiment of the present disclosure, the record information of the on-duty personnel may include the attendance information of the on-duty personnel.
[0069] According to an embodiment of the present disclosure, based on the information of the target outlet, the information of the target position is obtained by querying the position personnel configuration information of the target outlet. For example, based on the identification information of the target outlet in the information of the target outlet, the position personnel configuration information corresponding to the identification information of the target outlet can be queried from the database, and the information of the target position that can activate the unlocking authority can be determined based on the position personnel configuration information.
[0070] According to an embodiment of the present disclosure, based on the information of the target position, the first target object information is determined by querying the record information of the on-duty personnel within a predetermined time interval. For example, based on the target position information, the attendance information of the on-duty personnel within the predetermined time interval can be queried, and based on the attendance information, the personnel on duty within the predetermined time interval can be determined, and then the identity information of the on-duty personnel can be determined to determine the first target object information.
[0071] According to the embodiment of the present disclosure, the target position information is obtained by querying the position personnel configuration information of the target network point, and then the first target object information is determined by querying the record information of the on-the-job personnel within a predetermined time interval based on the target position information. Since the first target object is dynamically determined based on the information of the target network point, the flexibility of determining the first target object is improved.
[0072] According to an embodiment of the present disclosure, the first target object includes a plurality of candidate objects, and activation authority configuration information of the target lock is generated according to identification information, information of a predetermined time interval and information of the first target object.
[0073] Figure 3 The flowchart of the method for generating activation authority configuration information according to an embodiment of the present disclosure is schematically shown.
[0074] like Figure 3 As shown, the method for generating activation authority configuration information in this embodiment includes operations S310 to S330.
[0075] In operation S310, target candidate information is determined according to information of a predetermined time interval and position personnel configuration information of a target outlet.
[0076] According to an embodiment of the present disclosure, for example, the predetermined time interval may be from 9 a.m. to 12 a.m., and the position personnel configuration information may include the identity information of multiple personnel corresponding to each position in the target outlet. Based on the time interval from 9 a.m. to 12 a.m., the identity information of the on-duty personnel at each position in the target outlet within the time interval may be determined, and then the target candidate object information may be determined based on the identity information.
[0077] In operation S320, activation authority configuration information of the target lock is generated according to the identification information, the information of the predetermined time interval, and the target candidate object information.
[0078] According to an embodiment of the present disclosure, for example, the target lock to be activated can be determined based on the identification information, and then the target object for activating the unlocking authority can be determined based on the target candidate object information, and activation authority configuration information can be generated according to the information of the predetermined time interval, the determined target lock and the target object, so as to configure the target object to have the unlocking authority to open the target lock within the predetermined time interval according to the configuration information.
[0079] According to an embodiment of the present disclosure, the target candidate object is dynamically determined according to the predetermined time interval information and the job personnel configuration information, and then the activation permission configuration information of the target lock is dynamically generated according to the identification of the target lock, the predetermined time interval and the target candidate object. Since the target candidate object and the activation permission configuration information of the target lock are dynamically determined, information redundancy caused by activation permissions for off-duty employees is avoided, and the flexibility of determining the target candidate object and generating the activation permission configuration is improved, as well as the flexibility of generating the activation permission configuration is improved.
[0080] Figure 4 The flowchart of the method for generating unlocking control instruction information according to an embodiment of the present disclosure is schematically shown.
[0081] like Figure 4 As shown, the method for generating unlocking control instruction information in this embodiment further includes operations S410 to S430.
[0082] In operation S410, in response to a received unlocking request for a target lock within a predetermined time interval, identification information of the target lock and information of a second target object are acquired.
[0083] According to an embodiment of the present disclosure, for example, the second target object may include a person for whom permission is to be activated.
[0084] According to an embodiment of the present disclosure, for example, identification information of the target lock and information of the second target object corresponding to the unlocking request can be obtained from the unlocking request of the target lock, and the permission of the second target object to open the target lock can be activated based on the identification information.
[0085] In operation S420, permission information of the second target object is obtained by querying activation permission configuration information according to the identification information of the target lock.
[0086] According to an embodiment of the present disclosure, for example, the activation permission configuration information may include identification information of the position corresponding to the target lock. Based on the identification information of the target lock, the information of the position corresponding to the target lock in the activation permission configuration information can be queried, and then based on the information of the position, the permission information of the target object corresponding to the position can be obtained.
[0087] In operation S430, on-duty status information of the second target object is obtained by querying record information of on-duty personnel according to information of the predetermined time interval.
[0088] According to an embodiment of the present disclosure, the on-duty status information may include on-duty and off-duty.
[0089] According to an embodiment of the present disclosure, for example, the attendance record of an on-duty person can be queried based on information of a predetermined time interval, and the on-duty status of the person in the position can be determined based on the attendance record. For example, if the attendance record indicates that the on-duty person has asked for leave or is out, the on-duty status corresponding to the on-duty person can be off-duty; if the attendance record indicates that the on-duty person is present, the on-duty status corresponding to the on-duty person can be on-duty.
[0090] In operation S440, when the on-duty status information and the authority information meet preset conditions, unlocking control instruction information is generated.
[0091] According to an embodiment of the present disclosure, the preset condition may be that the personnel at the post have the authority to unlock the door, and the on-the-job status information indicates that the personnel are on the job.
[0092] According to an embodiment of the present disclosure, for example, when it is determined that the personnel in the post have the unlocking authority and the on-the-job status information indicates that they are on the job, unlocking control instruction information is generated so that the personnel in the post who meet the preset conditions can open the target lock through the unlocking control instruction.
[0093] According to an embodiment of the present disclosure, for example, the second target object may include ordinary personnel and management personnel on duty, and unlocking control instruction information may be generated based on the identity information of ordinary personnel and management personnel whose authority information meets the preset conditions, so that the ordinary personnel and management personnel who meet the preset conditions can unlock the lock through the unlocking control instruction information. In the case where two different target locks are configured on the target cash box, ordinary personnel and management personnel can control the opening of the target locks through their respective unlocking control instruction information; in the case where only one lock is configured on the target cash box, unlocking control instruction information of only management personnel or ordinary personnel can be generated, so that the management personnel or ordinary personnel can control the opening of the target lock through the unlocking control instruction information.
[0094] According to the embodiment of the present disclosure, the target object with unlocking authority is dynamically determined by querying the authority information of the second target object from the activation authority configuration information according to the identification information of the target lock in the unlocking request, and then the on-the-job status of the second target object is queried from the record information according to the information of the predetermined time interval, and the on-the-job personnel are dynamically determined as the target object, and then the unlocking instruction control information is dynamically generated according to the on-the-job personnel with unlocking authority, so that the personnel can perform unlocking control. Since the on-the-job personnel with unlocking authority are dynamically determined as the target object, the flexibility of configuring unlocking authority is improved, and since the unlocking instruction control information is dynamically generated, the security of opening the target lock is improved.
[0095] According to an embodiment of the present disclosure, the request response method further includes:
[0096] If the second target object has unlocking authority and is away from work within a predetermined time interval, determine a third target object from the on-duty personnel in the target post according to the record information of the on-duty personnel of the target outlet; and
[0097] According to the information of the third target object, the activation authority configuration information of the target lock is changed.
[0098] According to an embodiment of the present disclosure, for example, the predetermined time interval may be from 9:00 a.m. to 12:00 p.m. When the second target object leaves his post during the event interval, other on-duty personnel with unlocking authority may be re-determined as the third target object from the attendance information of the on-duty personnel at the target outlet.
[0099] According to an embodiment of the present disclosure, for example, when the second target object who leaves his post is a manager, the third target object can be determined from management positions; when the second target object who leaves his post is an ordinary person, the third target object can be determined from ordinary positions.
[0100] According to an embodiment of the present disclosure, for example, when the third target object is determined, the information of the second target object that is off-duty can be changed to the third target object based on the information of the third target object, so as to activate the unlocking permission of the third target object based on the activation permission configuration information containing the information of the third target object.
[0101] According to an embodiment of the present disclosure, when the second target object with unlocking authority leaves his post within a predetermined time interval, a third target object is dynamically re-determined, and activation authority configuration information is dynamically changed based on information of the third target object. Therefore, the flexibility of determining the target object is improved, and the flexibility of activating unlocking authority is improved because the activation authority configuration information is dynamically changed.
[0102] According to an embodiment of the present disclosure, the request response method further includes:
[0103] Sending information of the third target object and unlocking control instruction information to the target network point; and
[0104] In response to receiving the unlocking information of the target lock, unlocking record information is generated according to the information of the third target object, the identification information of the target lock and the unlocking time information.
[0105] According to an embodiment of the present disclosure, for example, the target lock can be unlocked based on the information of the third target object and the unlocking control instruction information. When the target lock is opened, the unlocking information fed back by the target lock is received, and the information of the third target object that opens the target lock, the unlocking time information of the target lock opened by the third target object, and the identification information of the target lock are recorded to generate unlocking record information, and the unlocking record information can be stored in a database for query.
[0106] According to an embodiment of the present disclosure, the third target object for unlocking the target lock may include ordinary personnel and management personnel. When a red lock and a green lock are configured on the target lock of the target cash box, the ordinary personnel and the management personnel can open their corresponding locks. When the ordinary personnel and the management personnel open their corresponding locks, the corresponding identity information of the ordinary personnel and the management personnel, the identification information of the target lock and the unlocking time information can be recorded to generate unlocking record information.
[0107] According to the embodiments of the present disclosure, by sending the information of the third target object and the unlocking control instruction information to the target outlet, and when the unlocking is completed, the unlocking record information is generated according to the information of the third target object, the identification information of the target lock and the unlocking time information, thereby realizing the record of the opened lock, the unlocking object and the unlocking time for query and proofreading, thereby improving the security of unlocking the lock.
[0108] Based on the above request response method, the present disclosure also provides a request response device. Figure 5 The device is described in detail.
[0109] Figure 5 The structural block diagram of the request response device according to an embodiment of the present disclosure is schematically shown.
[0110] like Figure 5 As shown, the request response device 500 of this embodiment includes a first acquisition module 510 , a first query module 520 and a first generation module 530 .
[0111] The first acquisition module 510 is used to obtain the identification information of the target lock and the gateway information of the target outlet in response to the lock activation request from the target lock on the target cash box, wherein the lock activation request is generated when the target cash box is transported to the target outlet. In one embodiment, the first acquisition module 510 can be used to perform the operation S210 described above, which will not be repeated here.
[0112] The first query module 520 is used to query and obtain first target object information of the target network point according to the gateway information, and the first target object information represents the position personnel information with unlocking authority in the target network point. In one embodiment, the first query module 520 can be used to perform the operation S220 described above, which will not be repeated here.
[0113] The first generation module 530 is used to generate activation permission configuration information of the target lock according to the identification information, the predetermined time interval information and the first target object information; and send activation request result information to the target network point. In one embodiment, the first generation module 530 can be used to perform the operation S230 described above, which will not be repeated here.
[0114] According to an embodiment of the present disclosure, the query module includes a first query submodule and a second query submodule. The first query submodule is used to obtain information of a target network point by querying gateway configuration information according to gateway information; the second query submodule is used to obtain information of a first target object by querying position personnel configuration information of the target network point according to the information of the target network point.
[0115] According to an embodiment of the present disclosure, the second query submodule includes a first query unit and a second query unit. The first query unit is used to obtain the target position information by querying the position personnel configuration information of the target network point according to the information of the target network point; the second query unit is used to determine the first target object information by querying the record information of the on-the-job personnel within a predetermined time interval according to the information of the target network point.
[0116] According to an embodiment of the present disclosure, the generation module includes a determination submodule and a generation submodule. The determination submodule is used to determine the target candidate object information according to the information of the predetermined time interval and the position personnel configuration information of the target network point; the generation submodule is used to generate the activation authority configuration information of the target lock according to the identification information, the information of the predetermined time interval and the target candidate object information.
[0117] According to an embodiment of the present disclosure, the request response device further includes a second acquisition module, a second query module, a third query module and a second generation module. The second acquisition module is used to respond to the unlocking request received for the target lock within a predetermined time interval, and obtain the identification information of the target lock and the information of the second target object; the second query module is used to obtain the permission information of the second target object by querying the activation permission configuration information according to the identification information of the target lock; the third query module is used to obtain the on-the-job status information of the second target object by querying the record information of the on-the-job personnel according to the information of the predetermined time interval; the second generation module is used to generate the unlocking control instruction information when the on-the-job status information and the permission information meet the preset conditions.
[0118] According to an embodiment of the present disclosure, the request response device further includes a determination module and a change module. The determination module is used to determine a third target object from the on-duty personnel in the target position according to the record information of the on-duty personnel of the target network point when the second target object has the unlocking authority and the second target object is off-duty within a predetermined time interval; the change module is used to change the activation authority configuration information of the target lock according to the information of the third target object.
[0119] According to an embodiment of the present disclosure, the request response device further includes a sending module and a third generating module. The sending module is used to send information of the third target object and unlocking control instruction information to the target network point; the third generating module is used to generate unlocking record information in response to receiving unlocking information of the target lock according to the information of the third target object, identification information of the target lock and unlocking time information.
[0120] According to an embodiment of the present disclosure, any multiple modules of the first acquisition module 510, the first query module 520 and the first generation module 530 can be combined in one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the first acquisition module 510, the first query module 520 and the first generation module 530 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware and firmware or in any appropriate combination of any of them. Alternatively, at least one of the first acquisition module 510, the first query module 520 and the first generation module 530 can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function can be executed.
[0121] Figure 6 A block diagram of an electronic device suitable for implementing the request response method according to an embodiment of the present disclosure is schematically shown.
[0122] like Figure 6 As shown, the electronic device 600 according to an embodiment of the present disclosure includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. The processor 601 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 601 may also include an onboard memory for caching purposes. The processor 601 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0123] In RAM 603, various programs and data required for the operation of electronic device 600 are stored. Processor 601, ROM 602 and RAM 603 are connected to each other through bus 604. Processor 601 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 602 and / or RAM 603. It should be noted that the program can also be stored in one or more memories other than ROM 602 and RAM 603. Processor 601 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.
[0124] According to an embodiment of the present disclosure, the electronic device 600 may further include an input / output (I / O) interface 605, which is also connected to the bus 604. The electronic device 600 may further include one or more of the following components connected to the I / O interface 605: an input portion 606 including a keyboard, a mouse, etc.; an output portion 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 608 including a hard disk, etc.; and a communication portion 609 including a network interface card such as a LAN card, a modem, etc. The communication portion 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage portion 608 as needed.
[0125] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0126] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 602 and / or RAM 603 described above and / or one or more memories other than ROM 602 and RAM 603.
[0127] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the item recommendation method provided by the embodiment of the present disclosure.
[0128] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 601. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0129] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 609, and / or installed from a removable medium 611. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0130] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the processor 601, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, apparatus, module, unit, etc. described above can be implemented by a computer program module.
[0131] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0132] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0133] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0134] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A request response method, comprising: In response to a lock activation request from a target lock on a target cash box, obtaining identification information of the target lock and gateway information of a target outlet, wherein the lock activation request is generated when the target cash box is transported to the target outlet; According to the gateway information, query and obtain first target object information of the target network point, where the first target object information represents information of personnel with unlocking authority in the target network point; and Generate activation permission configuration information of the target lock according to the identification information, the predetermined time interval information and the first target object information; and send activation request result information to the target network point; The querying and obtaining the first target object information of the target network point according to the gateway information includes: According to the gateway information, the information of the target network point is obtained by querying the gateway configuration information; According to the information of the target outlet, obtaining the information of the target position by querying the position personnel configuration information of the target outlet; and The first target object information is determined by querying the record information of on-the-job personnel within the predetermined time interval according to the information of the target position.
2. The method according to claim 1, wherein: The first target object includes a plurality of candidate objects, and the generating of the activation authority configuration information of the target lock according to the identification information, the information of the predetermined time interval and the first target object information includes: Determining target candidate information based on the information of the predetermined time interval and the position personnel configuration information of the target network point; and The activation authority configuration information of the target lock is generated according to the identification information, the information of the predetermined time interval and the target candidate object information.
3. The method according to claim 1, further comprising: In response to a received unlocking request for the target lock within the predetermined time interval, acquiring identification information of the target lock and information of a second target object; According to the identification information of the target lock, obtaining the permission information of the second target object by querying the activation permission configuration information; According to the information of the predetermined time interval, the on-the-job status information of the second target object is obtained by querying the record information of the on-the-job personnel; as well as When the on-the-job status information and the authority information meet preset conditions, unlocking control instruction information is generated.
4. The method according to claim 3, further comprising: If the second target object has unlocking authority and is away from work during the predetermined time period, determine a third target object from the on-duty personnel in the target post according to the record information of the on-duty personnel of the target outlet; and According to the information of the third target object, the activation authority configuration information of the target lock is changed.
5. The method according to claim 4, further comprising: Sending the information of the third target object and the unlocking control instruction information to the target network point; as well as In response to receiving the unlocking information of the target lock, unlocking record information is generated according to the information of the third target object, the identification information of the target lock and the unlocking time information.
6. A request response device, comprising: A first acquisition module, configured to obtain identification information of a target lock and gateway information of a target outlet in response to a lock activation request from a target lock on a target cash box, wherein the lock activation request is generated when the target cash box is transported to the target outlet; A first query module is used to query and obtain first target object information of the target network point according to the gateway information, wherein the first target object information represents information of personnel with unlocking authority in the target network point; and A first generating module, configured to generate activation authority configuration information of the target lock according to the identification information, the predetermined time interval information and the first target object information; and send activation request result information to the target network point; Wherein, the first query module includes: The first query submodule is used to obtain the information of the target network point by querying the gateway configuration information according to the gateway information; The first query unit is used to obtain information of a target position by querying the position personnel configuration information of the target network point according to the information of the target network point; and The second query unit is used to determine the first target object information by querying the record information of the on-the-job personnel within the predetermined time interval according to the information of the target position.
7. An electronic device comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors execute the method according to any one of claims 1 to 5.
8. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the method according to any one of claims 1 to 5.
9. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Cash box management and control method and equipment based on Internet of Things and edge computing
CN114140913A
Cashbox control method, cashbox and computer readable storage medium
CN115188108A