Bluetooth beacon application method and system based on encrypted time base sequence dynamic password
By adopting a dynamic password generation algorithm and clock module calibration in Bluetooth beacons, periodic updates and fault-tolerant verification of beacon passwords are achieved, solving the problem of easy copying within beacons and improving the security and verification accuracy of Bluetooth beacons.
Patent Information
- Application Number
- CN202510452971.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-11
- Publication Date
- 2025-10-14
- Estimated Expiration
- 2045-04-11
AI Technical Summary
The beacon content of Bluetooth beacons can be easily stolen and copied by bad users, leading to cheating. Existing technologies are difficult to effectively prevent the fixed value of the beacon content from being copied and used.
A method of dynamic password based on encrypted time base sequence is adopted. The beacon password is updated every preset time period through a preset dynamic password generation algorithm. The timeliness of the beacon password is verified by combining real-time calibration of the clock module. The dynamic password generation function is used for fault-tolerant verification to ensure the timeliness and confidentiality of the beacon password.
It improves the application security of Bluetooth beacons, prevents beacon content from being copied and exploited by bad users, enhances the confidentiality of the calculation logic and verification accuracy of beacon passwords, and maintains global time synchronization.
Smart Images

Figure CN120224183B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of Bluetooth beacon applications, and in particular to a Bluetooth beacon application method and system based on an encrypted time-base sequence dynamic password. Background Art
[0002] A Bluetooth beacon is a wireless sensor device based on Bluetooth low energy technology. It periodically broadcasts signals, sending location information to nearby smart devices, enabling indoor positioning. Therefore, Bluetooth beacons are widely used for positioning in various scenarios, such as clocking in and out for attendance.
[0003] For example, in the process of applying Bluetooth beacons to attendance clocking in, the Bluetooth beacon is pre-deployed at a fixed location (such as the office entrance), and the Bluetooth signal is broadcast periodically. At the same time, an attendance APP is installed on the employee's smart terminal. When the aforementioned smart terminal held by the employee enters the beacon coverage range, the beacon signal is scanned through the APP application. After the beacon signal is detected, the location matching is achieved, that is, the corresponding beacon content of the corresponding beacon signal is read (such as the UUID, Major, and Minor parameter values set by the Bluetooth beacon to which the beacon signal belongs). The APP transmits the aforementioned beacon content, clocking in time, etc. to the background server, and the background server determines whether the clocking in time and the clocking in location determined based on the beacon content are both within the allowed range. If so, the APP pushes the result of successful clocking in, otherwise the clocking in fails.
[0004] However, the values of the parameters (UUID, Major, Minor) contained in the Bluetooth beacon are generally fixed values, that is, the beacon content generated by the Bluetooth beacon is generally fixed content, which leads to cheating behaviors such as the beacon content being stolen and copied by bad users, and then the copied beacon content is used to perform related business operations (such as punching in) at any time. Therefore, there is room for improvement. Summary of the Invention
[0005] In order to improve the confidentiality of the beacon content generated by the Bluetooth beacon and reduce the risk of the beacon content being copied and used to perform cheating, the present application provides a Bluetooth beacon application method and system based on an encrypted time-base sequence dynamic password.
[0006] In the first aspect, the present application provides a Bluetooth beacon application method based on an encrypted time-base sequence dynamic password, which adopts the following technical solution:
[0007] Receiving a service instruction triggered by a user, and obtaining, based on the instruction triggering time of the service instruction, a beacon password generated by a preset Bluetooth beacon at the instruction triggering time; wherein the beacon password generated by the Bluetooth beacon is automatically generated by a preset dynamic password generation algorithm at preset update intervals, and the beacon passwords generated corresponding to different update intervals are inconsistent;
[0008] verify the time effectiveness of the beacon password generated by the Bluetooth beacon at the instruction trigger time;
[0009] based on the verification result, feedback the execution result of the service instruction to the user.
[0010] By adopting the above technical solution, the application proposes to generate periodically updated beacon passwords (i.e. new beacon passwords are generated every preset update duration) by using a preset dynamic password generation algorithm, and further proposes to feedback the execution result after verifying the beacon password, so as to limit the time effectiveness of the beacon password by generating dynamic beacon passwords in the time dimension, thereby solving the problem of copying and stealing beacon passwords by bad users at any time to perform corresponding business operations.
[0011] Optionally, the Bluetooth beacon is pre-integrated with a clock module for real-time updating of time, and the dynamic password generation algorithm is used to automatically generate beacon passwords every preset update duration based on the time updated by the clock module in real time;
[0012] The verification of the time effectiveness of the beacon password generated by the Bluetooth beacon at the instruction trigger time, and the feedback of the execution result of the service instruction to the user based on the verification result, include:
[0013] based on a preset fault tolerance time difference, calculate a fault tolerance time period corresponding to the instruction trigger time; wherein the fault tolerance time period refers to a specified time range before and after the instruction trigger time;
[0014] generate a password list according to the update duration and a preset dynamic password generation function; wherein the dynamic password generation function is a function encapsulated by the dynamic password generation algorithm, and the password list contains all beacon passwords automatically generated by the dynamic password generation function every update duration within the fault tolerance time period;
[0015] determine whether the beacon password generated by the Bluetooth beacon at the instruction trigger time exists in the password list, if it exists, feedback the execution result of the service instruction to the user, if it does not exist, feedback the execution result of the instruction execution failure to the user.
[0016] By adopting the above technical solution, the beacon password calculated by the dynamic password generation function is compared with the beacon password generated by the Bluetooth beacon to verify the timeliness of the beacon password generated by the Bluetooth beacon. For this verification process, on the one hand, the dynamic password generation function is a function encapsulated by the dynamic password generation algorithm, thereby improving the confidentiality of the password calculation logic content while ensuring that the password calculation logic is the same; on the other hand, the dynamic password generation function generates all possible beacon passwords that may be generated within the specified time range before and after the instruction trigger time, thereby using fault-tolerant calculation to cover the clock error of the clock module integrated in the Bluetooth beacon, realizing fault-tolerant verification, and improving the verification accuracy of the verification result.
[0017] Optionally, the method further includes:
[0018] Whenever a service instruction is received, a deviation value between the clock time of the clock module corresponding to the Bluetooth beacon and the actual time is calculated, and the clock time of the clock module is corrected using the deviation value;
[0019] The fault-tolerant period is segmented regularly based on the deviation value calculated in the corresponding period, and a comparison priority is defined for each fault-tolerant sub-period after segmentation. The comparison priority refers to the order of comparison with the beacon password generated by the Bluetooth beacon, and the higher the comparison priority, the higher the comparison order.
[0020] By adopting the above technical solution, this application will automatically correct the time deviation of the clock module each time it receives a service instruction, realize error compensation of the module, maintain global time synchronization, and in order to ensure the fault tolerance met by the fault tolerance period, improve the comparison efficiency by setting the comparison priority, and help find the beacon password consistent with the beacon password generated by the Bluetooth beacon in the password list as soon as possible.
[0021] Optionally, the method further includes:
[0022] Based on preset analysis factors, the scene status of the application scenario of the Bluetooth beacon is analyzed in real time, and the update duration is adjusted based on the scene status; wherein, the analysis factors include at least the reception frequency of service instructions and the security level of the physical location of the Bluetooth beacon.
[0023] By adopting the above technical solution and combining it with the above technical solution, it can be seen that the beacon password remains fixed within a single update period. Then, when the update period is long, the user may still copy and use the beacon password multiple times to perform business operations within the update period. In this regard, the present application further proposes to adjust the originally fixed update period to a dynamically variable update period to ensure that the timeliness of the beacon password is not easily predicted by the outside world, and effectively prevent attackers from using fixed periods to replicate the beacon password.
[0024] Optionally, adjusting the update duration based on the scene state includes:
[0025] When the scene state meets the preset real-time transmission condition, the beacon password reading mode is switched to the real-time generation mode; if a service instruction is received, the update duration is adjusted to use the instruction trigger time of the service instruction as the update time, thereby triggering the dynamic password generation algorithm to generate a beacon password at the update time, and using the beacon password generated by the dynamic password generation algorithm as the instruction trigger time and the beacon password generated by the Bluetooth beacon;
[0026] Whenever the dynamic password generation algorithm generates a beacon password, the beacon password is stored as a historical password in a preset reuse queue;
[0027] When the scene status meets the preset multiplexing conditions, the beacon password reading mode is switched to the historical multiplexing mode, and the update duration is adjusted so that the adjusted update duration meets the following conditions: in the historical multiplexing mode, the Bluetooth beacon is paused to generate the beacon password; if a service instruction is received when the beacon password reading mode is the historical multiplexing mode, the historical password in the preset multiplexing queue is called as the instruction trigger time and the beacon password generated by the Bluetooth beacon.
[0028] By adopting the above technical solution, in order to reduce the workload of Bluetooth beacons, this application further designs two different beacon password acquisition methods. One is to generate in real time by the dynamic password generation algorithm built into the Bluetooth beacon, and the other is to reuse the historically stored beacon password (i.e., historical password). By designing the actual sending conditions and reuse conditions, the beacon password reading mode is intelligently switched based on the scene status, so as to achieve the optimal balance between security and energy consumption.
[0029] Optionally, the method further includes:
[0030] Record the number of times each historical password in the preset reuse queue is reused in real time, and remove the historical passwords whose reuse times exceed the preset reuse threshold from the preset reuse queue;
[0031] The period of the historical reuse mode is used as the reuse period, and the period of the real-time generation mode is used as the actual transmission period; the total number of calls of the corresponding historical password in each reuse period is counted; the total number of new beacon passwords generated in each actual transmission period is counted;
[0032] Based on the correspondence between reuse periods and the total number of calls, and the correspondence between actual issuance periods and the total number of new generation, learn and predict reuse periods and actual issuance periods in the future, as well as the total number of calls for each reuse period and the total number of new generation corresponding to the actual issuance period;
[0033] determining a number of compensation beacons in each predicted real-time period in the future time period, and when the current time is in a target real-time period, adjusting the update duration to trigger the dynamic beacon generation algorithm to generate a number of beacon beacons equal to the number of compensation beacons corresponding to the target real-time period as compensation beacons, and when the current time is in the target multiplexing period, adding the compensation beacons to the preset multiplexing queue as historical beacons; wherein the target real-time period refers to any real-time period predicted in the future time period, the target multiplexing period refers to the multiplexing period adjacent to the target real-time period after the target real-time period, and the number of compensation beacons refers to the number of beacons whose total number of calls exceeds the total number of newly generated beacons corresponding to the target real-time period.
[0034] By adopting the above technical solution, in order to ensure that there are sufficient historical beacons to be called in the multiplexing period, the application proposes to analyze the number of times of using beacons in different multiplexing periods and different real-time periods in the historical period, to predict the distribution of multiplexing periods and real-time periods in the future time period, and the number of beacon uses in each multiplexing period and real-time period in the future, and when the total number of passive uses in the multiplexing period is greater than the total number of newly generated beacons in the previous real-time period, compensation is performed, that is, another trigger condition for triggering the dynamic beacon generation algorithm to automatically generate beacon beacons is limited: when the number of compensation beacons is greater than 0, adjust the update duration to trigger the dynamic beacon generation algorithm to generate compensation beacons, which can be considered as beacons generated in advance but not used, and will be stored in the multiplexing queue as historical beacons, so as to be called in the subsequent multiplexing period, ensuring that there are sufficient historical beacons to be called when entering the multiplexing period.
[0035] Optionally, if the beacon beacon reading mode is a historical multiplexing mode, and a service instruction is received, the historical beacons in the preset multiplexing queue are called as the beacon beacons generated by the Bluetooth beacon at the instruction trigger time, including:
[0036] If the beacon beacon reading mode is a historical multiplexing mode, and a service instruction is received, the historical beacons in the preset multiplexing queue are called, and the historical beacons are processed based on the number of times of calling the historical beacons and then used as beacon beacons generated by the Bluetooth beacon at the trigger instruction time.
[0037] By adopting the above technical solution, the historical beacons are further processed based on the number of times of calling and then used as beacon beacons, so as to effectively improve the uniqueness and encryption degree of the historical beacons in the case of using historical beacons to help reduce the work burden of the Bluetooth beacon.
[0038] In a second aspect, the present application provides a Bluetooth beacon application system based on an encrypted time-base sequence dynamic password, comprising: a service interaction module, a Bluetooth beacon module, and a background processing module;
[0039] The service interaction module is used to send a beacon reading signal to the Bluetooth beacon module according to the instruction triggering time of the service instruction when receiving the service instruction triggered by the user;
[0040] The Bluetooth beacon module is configured to, upon receiving the beacon reading signal, send the beacon password generated at the instruction trigger time to the service interaction module; wherein the Bluetooth beacon module is pre-set with a dynamic password generation algorithm, the dynamic password generation algorithm is configured to automatically generate a beacon password at every preset update time, and the beacon passwords generated corresponding to different update time are inconsistent;
[0041] The background processing module is used to obtain and verify the timeliness of the beacon password generated by the Bluetooth beacon at the instruction trigger time from the business interaction module;
[0042] The service interaction module is further configured to feed back the execution result of the service instruction to the user based on the verification result.
[0043] In a third aspect, the present application provides a Bluetooth beacon application device based on an encrypted time-base sequence dynamic password, comprising a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute any method described in the first aspect.
[0044] In a fourth aspect, the present application provides a computer-readable storage medium storing a computer program that can be loaded by a processor and execute any of the methods described in the first aspect.
[0045] In summary, this application includes at least one of the following beneficial technical effects:
[0046] 1. This application generates a periodically updated beacon password based on a preset dynamic password generation algorithm to improve the problem of unauthorized beacon passwords being stolen and copied by bad users due to their fixed nature, thereby improving the application security of Bluetooth beacons.
[0047] 2. Furthermore, the present application uses the beacon password calculated by the dynamic password generation function to verify the timeliness of the beacon password generated by the Bluetooth beacon; and in this verification process, on the one hand, the dynamic password generation function is a function encapsulated by the dynamic password generation algorithm, thereby improving the confidentiality of the password calculation logic content while ensuring that the password calculation logic is the same; on the other hand, the dynamic password generation function generates all possible beacon passwords that may be generated within the specified time range before and after the instruction trigger time, thereby using fault-tolerant calculation to cover the clock error of the clock module integrated in the Bluetooth beacon, realizing fault-tolerant verification, and improving the verification accuracy of the verification result.
[0048] 3. Furthermore, each time a service instruction is received, the application will automatically correct the time deviation of the clock module, realize the error compensation of the module, and maintain global time synchronization. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0050] Fig. 1 This is a flow chart of a Bluetooth beacon application method based on an encrypted time-base sequence dynamic password disclosed in an embodiment of the present application.
[0051] Fig. 2 It is a schematic diagram of the process steps for generating a beacon password through a dynamic password generation algorithm in an embodiment of the present application.
[0052] Fig. 3 This is a structural block diagram of a Bluetooth beacon application based on an encrypted time-base sequence dynamic password disclosed in an embodiment of the present application.
[0053] Description of reference numerals: 201, business interaction module; 202, Bluetooth beacon module; 203, background processing module; 204, configuration platform. DETAILED DESCRIPTION
[0054] The following is combined with Figs. 1-3 This application is described in further detail.
[0055] The embodiment of the present application discloses a Bluetooth beacon application method based on an encrypted time-base sequence dynamic password (hereinafter referred to as the beacon application method), the execution subject of which is a Bluetooth beacon application system based on an encrypted time-base sequence dynamic password (hereinafter referred to as the beacon application system). Figs. 1-3 The specific process steps of the beacon application method are specifically explained.
[0056] S101, receiving a service instruction triggered by a user, and obtaining the beacon password generated by the preset Bluetooth beacon at the instruction trigger time according to the instruction trigger time of the service instruction; wherein, the beacon password generated by the Bluetooth beacon is automatically generated by a preset dynamic password generation algorithm every preset update time, and the beacon passwords generated corresponding to different update time are inconsistent.
[0057] In practice, this application example will use employee attendance clocking in as an application scenario for Bluetooth beacons, and will specifically describe the beacon password generation and application process for Bluetooth beacons in the above scenario. Specifically, Bluetooth beacons (can be several) are pre-placed in employee offices; when clocking in, employees run the attendance app on a smart terminal (such as a mobile phone), which triggers a service instruction on the app.
[0058] Accordingly, combined Fig. 3 The beacon application system includes a business interaction module, a Bluetooth beacon module, and a background processing module. The business interaction module is the APP end, the background processing module is the attendance APP backend server end, and the Bluetooth beacon module is the Bluetooth beacon device. In combination with the above, when the user triggers a service instruction on the APP end, the business interaction module will scan the Bluetooth beacon signal within the specified geographical range of the smart terminal. When the smart terminal is within the beacon signal coverage range of the Bluetooth beacon module, the business interaction module will be able to detect the Bluetooth beacon signal. At this time, the business interaction module will be used to send a beacon reading signal to the Bluetooth beacon module, so that the Bluetooth beacon module can feedback the beacon command to the business interaction module.
[0059] Among them, the Bluetooth beacon module is pre-integrated with a clock module for timing (such as DS1302 chip) and a dynamic password generation algorithm for generating beacon passwords. Fig. 2 The specific process steps of generating a 6-digit beacon password using a dynamic password generation algorithm are described in detail.
[0060] Step 1: Import the pre-configured real key K and the counter value C calculated by the TOTP algorithm. Generate a 20-byte hexadecimal string (hereinafter referred to as HS) based on K and C using the HMAC-SHA-1 algorithm. This is generated using the HMAC Keyed-Hashing for Message Authentication protocol algorithm to generate a sequence. The corresponding algorithm identifier in the protocol is: HS = HMAC-SHA-1(K, C). Since the HMAC-SHA-1 algorithm is already available, it is not described here.
[0061] It is necessary to further explain that K is unique and is generated by a random seed library. In the embodiment of the present application, the UUID in the Bluetooth beacon parameters is used as the specific value of K. C is an 8-byte count value and is calculated by TOTP. The specific calculation formula is C = (T-T0) / X. Where T is the current time value, T0 is 0, and X is the update duration mentioned above (e.g., 30 seconds). For example:
[0062] T0 = 0; X = 30;
[0063] T = 30 ~ 59, C = 1; it means that the C value in the 30 seconds from 30 to 59 is consistent.
[0064] T = 60 to 89, C = 2; This means that the C value is consistent within the 30 seconds from 60 to 89. That is, the C value is consistent at different times within a single update period corresponding to the update duration (for example, T = 30 to 59 or T = 60 to 89).
[0065] Step 2: After calculating HS, select the last byte of the hexadecimal string of HS, take the fourth digit of the byte and convert it to decimal. Fig. 2 The second byte in 5a has a fourth digit of a, which corresponds to 0xa in hexadecimal, and 10 in decimal. We define this number as Offset.
[0066] Step 3: According to the offset, select 4 bytes starting from the 10th (offset) byte in HS as the basic data. Fig. 2 The 50ef7f19 in the hexadecimal representation is 0x50ef7f19, which is called Sbits. The above two steps are called the Dynamic Truncation (DT) algorithm in the protocol.
[0067] Step 4: Convert the hexadecimal string Sbits of the basic data in Step 3 to decimal, and then use the decimal number to perform a modulo operation on the Digit power of 10; finally, a 6-bit beacon password is obtained; wherein, in the embodiment of the present application, the Digit value is 6. According to the property of the modulo operation: the result of a number greater than 10 MOD 10 must be 0 to 9, and the result of MOD 100 must be 0-99. Fig. 2 , 50ef7f19 is converted to decimal as 1357872921, and the corresponding 1357872921MOD 10 6= 872921, 872921 is the final 6-digit beacon password.
[0068] In addition, combined with the above-mentioned beacon password generation process, it can be seen that X is the update duration. The setting of X will cause the value of C to change periodically (i.e., it will change once every update duration), which will in turn cause the value of the final 6-digit beacon password to change periodically. Therefore, the dynamic password generation algorithm will need to regenerate the 6-digit beacon password every update duration. The clock module is used to keep time so that the dynamic password generation algorithm regenerates the beacon password at each update time (i.e., the adjacent time corresponding to adjacent update cycles), thereby achieving dynamic beacon password generation.
[0069] The instruction trigger time is the time when the business interaction module receives the service instruction. The Bluetooth beacon module is used to determine the update cycle of the instruction trigger time, and use the beacon password generated by the corresponding update cycle as the beacon password generated by the Bluetooth beacon at the instruction trigger time, and feed it back to the business interaction module.
[0070] S102, verifying the timeliness of the beacon password generated by the Bluetooth beacon at the instruction triggering time.
[0071] S103: Based on the verification result, the execution result of the service instruction is fed back to the user.
[0072] Wherein S102 and S103 specifically include the following sub-steps:
[0073] Based on the preset fault tolerance time difference, calculate the fault tolerance period corresponding to the instruction trigger time; wherein the fault tolerance period refers to the specified time range before and after the instruction trigger time;
[0074] Generate a password list based on the update duration and a preset dynamic password generation function; wherein the dynamic password generation function is a function encapsulated by the dynamic password generation algorithm, and the password list includes all beacon passwords automatically generated by the dynamic password generation function within the fault tolerance period and at every update duration;
[0075] Determine whether the beacon password generated by the Bluetooth beacon at the instruction trigger time exists in the password list. If so, feedback is given to the user with an execution result of completing the service instruction; if not, feedback is given to the user with an execution result of failing to execute the instruction.
[0076] In implementation, whenever the service interaction module receives the beacon password generated by the Bluetooth beacon at the command trigger time from the Bluetooth beacon module, the service interaction module is used to send the beacon password to the background processing module, and the background processing module is used to verify the beacon password. The specific operation of the verification is as follows:
[0077] The backend processing module pre-stores a dynamic password generation function. This function is a pre-encapsulated version of the dynamic password generation algorithm, and this encapsulation ensures the confidentiality of the specific logic of the dynamic password algorithm. The backend processing module uses the dynamic password generation function to generate a beacon password (hereinafter referred to as the baseline password) for the command trigger time. This function then compares and verifies the baseline password with the beacon password generated by the Bluetooth beacon, generating a verification result with the comparison result. The service interaction module then displays the execution result to the user on the app user interface based on the verification result provided by the Bluetooth beacon module. If the comparison is consistent, the execution result indicating the service command has been completed (e.g., a successful clock-in) is displayed. If the comparison is inconsistent, the execution result indicating the command has failed (e.g., a clock-in failure) is displayed.
[0078] In addition, it should be noted that the background processing module also has a timing module to record and store each update cycle (hereinafter referred to as the timing cycle); however, considering that the time of the real-time update of the clock module pre-integrated in the Bluetooth beacon module is easily deviated from the actual time (i.e., the timing time of the timing module preset by the background processing module), the deviation causes the reference password and the beacon password generated by the Bluetooth beacon to be in different update cycles, which can easily lead to inconsistent comparisons. Therefore, the present application further proposes the concepts of fault-tolerant time difference and fault-tolerant period. Accordingly, the background processing module is communicatively connected to the configuration platform, and the fault-tolerant time difference is pre-stored in the configuration platform. The configuration platform is used to calculate the fault-tolerant period based on the instruction trigger time and the fault-tolerant time difference. For example, if the instruction trigger time is represented as T and the fault-tolerant time difference is t, the corresponding fault-tolerant period can be expressed as [Tt, T+t]. For example, if the instruction trigger time T is 10:08 and the fault-tolerant time difference t is 1 minute, then the fault-tolerant period is [10:07, 10:09].
[0079] The background processing module is used to obtain the fault-tolerant period, and segment the fault-tolerant period according to the timing cycle, calculate the beacon password corresponding to each segment through the dynamic password generation function, and finally generate a password list with the beacon passwords corresponding to all segments, and then use all the beacon passwords in the password list as reference passwords to compare with the beacon password generated by the Bluetooth beacon one by one, until the comparison is consistent. For example, if the update time is 30 seconds, the timing cycle includes [10:06:40, 10:07:10], [10:07:10, 10:07:40], [10:07:40, 10:08:10], [10:08:10, 10:08:40], [10:08:40, 10:09:10]. Correspondingly, based on the aforementioned timing cycle, the fault-tolerant period is segmented to obtain: [10:07:00, 10:07:10], [10:07:10, 10:07:40], [10:07:40, 10:08:10], [10:08:10, 10:08:40], [10:08:40, 10:09:00].
[0080] Optionally, the beacon application method further includes the following steps:
[0081] Whenever a service instruction is received, the deviation between the clock time of the clock module corresponding to the Bluetooth beacon and the actual time is calculated, and the clock time of the clock module is corrected using the deviation;
[0082] The fault-tolerant period is segmented regularly based on the deviation value calculated in the corresponding period, and a comparison priority is defined for each fault-tolerant sub-period after segmentation. The comparison priority refers to the order of comparison with the beacon password generated by the Bluetooth beacon, and the higher the comparison priority, the higher the comparison order.
[0083] During implementation, each time a service instruction is received and the beacon password generated by the Bluetooth beacon at the instruction trigger time is obtained, the business interaction module is used to send a clock calibration signal with the instruction trigger time to the Bluetooth beacon module, and the Bluetooth beacon is used to calculate the deviation value y, which is the deviation value y = instruction trigger time - the time when the Bluetooth beacon module obtains the beacon reading signal sent by the Bluetooth beacon module; then the current time of the clock module is added with the deviation value y to realize the correction of the clock module.
[0084] In addition, this application will segment the fault-tolerant period [Tt, T+t] according to the deviation value, and one of the segments (i.e., the fault-tolerant sub-period) is: [T-|y|, T +|y|], and the priority of this segment is defined as the highest priority. On this basis, the remaining fault-tolerant sub-periods of the fault-tolerant period are obtained, and the priority of the remaining fault-tolerant sub-periods is limited to be lower than the highest priority.
[0085] Further based on the fault-tolerant sub-period, the reference beacon corresponding to each fault-tolerant sub-period is calculated based on the timing period, and finally the password list is obtained.
[0086] Optionally, the beacon application method further comprises the following steps:
[0087] S301, based on the preset analysis factor, the scene state of the application scene of the Bluetooth beacon is analyzed in real time, and the update duration is adjusted based on the scene state; wherein the analysis factor at least includes the receiving frequency of the service instruction, the security level of the physical location where the Bluetooth beacon is located;
[0088] S401, the reuse frequency of each historical password in the preset reuse queue is recorded in real time, and the historical password whose reuse frequency exceeds the preset reuse threshold is removed from the preset reuse queue;
[0089] S402, the period in which the historical reuse mode is located is taken as the reuse period, and the period in which the real-time generation mode is located is taken as the real-time period; the total number of calls corresponding to the historical password in each reuse period is counted; the total number of new generations of beacon passwords in each real-time period is counted;
[0090] S403, based on the corresponding relationship between the reuse period and the total number of calls, and the corresponding relationship between the real-time period and the total number of new generations, the reuse period, the real-time period in the future period are learned and predicted, and the total number of calls in each reuse period, the total number of new generations corresponding to the real-time period are predicted;
[0091] S404, the number of compensation passwords of each real-time period predicted in the future period is determined, and when the current time is in the target real-time period, the update duration is adjusted to trigger the dynamic password generation algorithm to generate the same number of beacon passwords as the number of compensation passwords corresponding to the target real-time period as compensation passwords, and when the current time is in the target reuse period, the compensation password is added to the preset reuse queue as a historical password; wherein the target real-time period refers to any real-time period predicted in the future period, the target reuse period refers to the reuse period adjacent to the target real-time period after the target real-time period, and the number of compensation passwords refers to the number of passwords whose total number of calls corresponding to the target reuse period exceeds the total number of new generations corresponding to the target real-time period.
[0092] The "update duration based on scene state" in the above S301 further comprises the following sub-steps:
[0093] When the scene state meets the preset real-time conditions, the beacon password reading mode is switched to the real-time generation mode; if a service instruction is received, the update duration is adjusted to use the instruction trigger time of the service instruction as the update time, thereby triggering the dynamic password generation algorithm to generate a beacon password at the update time, and the beacon password generated by the dynamic password generation algorithm is used as the instruction trigger time and the beacon password generated by the Bluetooth beacon;
[0094] Whenever the dynamic password generation algorithm generates a beacon password, the beacon password is stored as a historical password in a preset reuse queue;
[0095] When the scene status meets the preset reuse conditions, the beacon password reading mode is switched to the historical reuse mode, and the update duration is adjusted so that the adjusted update duration meets the following requirements: in the historical reuse mode, the Bluetooth beacon is paused from generating the beacon password; if a service instruction is received when the beacon password reading mode is the historical reuse mode, the historical password in the preset reuse queue is called, and the historical password is processed based on the number of times the historical password has been called as the beacon password generated by the Bluetooth beacon at the trigger instruction time.
[0096] In implementation, the present application proposes that whenever the dynamic password generation algorithm generates a beacon password, the beacon password is stored as a historical password in a preset multiplexing queue. In an embodiment of the present application, the preset multiplexing queue realizes the replacement of historical passwords in the queue in a tail-in, head-out manner, and the preset multiplexing queue is specifically a circular queue. Correspondingly, for the beacon password (hereinafter referred to as the dynamic password) generated by the Bluetooth beacon at the instruction trigger time and fed back by the Bluetooth beacon module to the service interaction module, the source of the dynamic password is two, one is generated in real time by the dynamic password generation algorithm, and the other is to call the historical password from the preset multiplexing queue as the dynamic password. The present application correspondingly sets a switching mechanism, and determines the specific source of the dynamic password based on the switching mechanism. The operation of the switching mechanism is as follows:
[0097] The background processing module is used to calculate the scene status score in real time based on preset analysis factors, which serves as a concrete indicator for analyzing the scene status of the scene in which the Bluetooth beacon is located. The preset analysis factors specifically include the battery level of the Bluetooth beacon device, the security level of the physical location of the Bluetooth beacon, the frequency of attacks detected in historical periods, and the frequency of receiving service instructions within a specified period. Each of the aforementioned preset analysis factors is assigned a corresponding weight value in advance, and then the scene status score Score is calculated in real time through weighted summation. The scene status score is then compared with a preset score range to determine whether the scene status meets the preset actual transmission condition or the preset reuse condition. It can be seen that the preset actual transmission condition corresponds to a score range, and the preset reuse condition corresponds to a score range. By default, the calculated scene status score can only fall into either of the two score ranges. It is considered that if it falls within the corresponding score range, the corresponding condition is met.
[0098] When the scene state meets the preset real-time conditions, it enters the real-time generation mode. In this mode, the dynamic password is generated in real time by the dynamic password generation algorithm, and the update duration in real-time generation mode is dynamically adjustable based on the preset event trigger conditions. That is, once the preset event trigger conditions are met, the update duration is adjusted so that the moment when the preset time trigger conditions are met is the update time, triggering the dynamic password generation algorithm to immediately generate a new beacon password as the dynamic password. For example, if the current time is 11:12:00 and the most recent update time before the current time is 11:12:50, then if the current update duration is 30 seconds, the next update time should be 11:13:20. However, if the preset time trigger conditions are met at the current time, the update duration is adjusted to 10 seconds based on the most recent update time (i.e., 11:12:50), so that the current time is the most recent update time, thereby triggering the dynamic password generation algorithm to generate a beacon password at the current time. This allows for dynamic adjustment of update duration.
[0099] Accordingly, the preset event trigger conditions are specifically two: Decision 1: Whenever the business interaction module receives a service instruction. Decision 2: Whenever the number of compensation passwords is not zero and the frequency of receiving service instructions is less than the preset frequency. If any of the above decisions are met, the preset event trigger condition is considered to be met. Regarding judgment content 2, it is necessary to explain that each time the beacon password reading mode (real-time generation mode or historical multiplexing mode) is switched, the present application will record the time period of the beacon password reading mode before the switch, such as the multiplexing time period of the historical multiplexing mode and the actual issuance time period of the real-time generation mode, and count the number of historical passwords called (i.e., the total number of calls) and the number of beacon passwords generated by the dynamic password generation algorithm in each multiplexing time period (i.e., the total number of new generation). The background processing module is used to regularly predict the arrangement of the multiplexing time period and the actual issuance time period in the future period (e.g., within 24 hours) based on the preset prediction algorithm according to the distribution of the multiplexing time period and the actual issuance time period in the historical period; and then learn and predict the total number of calls corresponding to each multiplexing time period and the total number of new generation corresponding to each actual issuance time period in the future period (e.g., within 24 hours) based on the corresponding relationship between each multiplexing time period and the total number of calls, and the corresponding relationship between each actual issuance time period and the total number of new generation recorded in the historical period.
[0100] Based on the above prediction results, the number of compensation passwords for each actual issuance period in the future cycle is calculated. The number of compensation passwords = the total number of calls predicted for the next adjacent reuse period after the actual issuance period - the total number of new generation predicted for the actual issuance period. If the calculated number of compensation passwords is negative, the corresponding number of compensation passwords will be changed to 0.
[0101] Then, according to the real-time updated time of the timing module preset by the background processing module, whenever the corresponding time falls into any actual issuance time period in the future cycle, the number of compensation passwords corresponding to the actual issuance time period is determined. If the number of compensation passwords is not 0, the reception frequency of the service instructions is monitored in real time during the actual issuance time period. When the reception frequency is lower than the preset frequency, it is considered that the above-mentioned judgment content 2 is met.
[0102] When judgment content 2 is met, the above method will be combined, and the time point when judgment content 2 is met will be used as the latest update time t0. According to the number of compensation passwords z, the z-1 time points after t0 will be used as update times in sequence, so as to continuously trigger the dynamic password generation algorithm to generate z different beacon passwords (i.e., compensation passwords). Then, when the current time falls into any reuse period in the future cycle, all compensation passwords generated in the previous adjacent actual transmission period of the reuse period will be added to the preset reuse queue in sequence.
[0103] When entering the historical reuse mode, each time a service instruction is received, the historical password pointed to by the read pointer of the circular queue is processed as a dynamic password. An exemplary processing method is to process (e.g., sum) the number of times the historical password has been called up to the current time (i.e., the number of reuses). It should be noted that the present application proposes to limit the reuse upper limit of historical passwords in the preset reuse queue. When the number of reuses of a historical password exceeds the preset reuse threshold, it is removed from the reuse queue. If adding a historical password (including a compensation password) that needs to be added to the preset reuse queue causes the preset reuse queue to overflow, the excess historical passwords that have not been queued can be stored in the preset preliminary queue for backup while keeping the reuse queue fully loaded at all times.
[0104] The embodiment of the present application discloses a Bluetooth beacon application system based on an encrypted time base sequence dynamic password. Fig. 2 , including: a business interaction module 201, a Bluetooth beacon module 202 and a background processing module 203;
[0105] The service interaction module 201 is used to send a beacon reading signal to the Bluetooth beacon module according to the instruction triggering time of the service instruction when receiving the service instruction triggered by the user;
[0106] The Bluetooth beacon module 202 is configured to send a beacon password generated at the instruction trigger time to the service interaction module upon receiving a beacon reading signal; wherein the Bluetooth beacon module is pre-set with a dynamic password generation algorithm, which is configured to automatically generate a beacon password at a preset update time, and the beacon passwords generated corresponding to different update time periods are different;
[0107] The background processing module 203 is used to obtain and verify the timeliness of the beacon password generated by the Bluetooth beacon at the instruction trigger time from the business interaction module;
[0108] The service interaction module 201 is further configured to feed back the execution result of the service instruction to the user based on the verification result.
[0109] Optionally, a configuration platform 204 is further included for calculating the fault tolerance period corresponding to the instruction trigger time based on a preset fault tolerance time difference; wherein the fault tolerance period refers to a specified time range before and after the instruction trigger time;
[0110] The background processing module 203 is also used to generate a password list based on the update duration and a preset dynamic password generation function; wherein the dynamic password generation function is a function encapsulated by the dynamic password generation algorithm, and the password list includes all beacon passwords automatically generated by the dynamic password generation function within the fault tolerance period and every update duration; it is also used to determine whether the beacon password generated by the Bluetooth beacon at the instruction trigger time exists in the password list. If so, the execution result with the completion of the service instruction is fed back to the user; if not, the execution result with the failure of the instruction execution is fed back to the user.
[0111] Optionally, the service interaction module 201 is further configured to calculate a deviation between the clock time of the clock module corresponding to the Bluetooth beacon and the actual time whenever a service instruction is received, and send a clock calibration instruction to the Bluetooth beacon module so that the Bluetooth beacon module corrects the clock time of the clock module using the deviation value;
[0112] The background processing module 203 is also used to obtain the deviation value, and regularly segment the fault-tolerant period based on the deviation value calculated in the corresponding period, and define a comparison priority for each fault-tolerant sub-period after segmentation. The comparison priority refers to the order of comparison with the beacon password generated by the Bluetooth beacon, and the higher the comparison priority, the higher the comparison order.
[0113] Optionally, the background processing module 203 is further used to analyze the scene status of the application scenario of the Bluetooth beacon in real time based on a preset analysis factor, adjust the update duration based on the scene status, and send the adjusted update duration to the Bluetooth beacon module.
[0114] Optionally, the background processing module 203 is further configured to switch the beacon password reading mode to the real-time generation mode when the scene state satisfies the preset real-time condition; if a service instruction is received, adjust the update duration to use the instruction trigger time of the service instruction as the update time, thereby triggering the dynamic password generation algorithm to generate a beacon password at the update time, and use the beacon password generated by the dynamic password generation algorithm as the instruction trigger time and the beacon password generated by the Bluetooth beacon;
[0115] It is also used to store the beacon password as a historical password in a preset reuse queue whenever the dynamic password generation algorithm generates a beacon password; when the scene status meets the preset reuse conditions, the beacon password reading mode is switched to the historical reuse mode, and the update duration is adjusted so that the adjusted update duration meets the following requirements: pausing the Bluetooth beacon to generate a beacon password in the historical reuse mode; if a service instruction is received when the beacon password reading mode is the historical reuse mode, the historical password in the preset reuse queue is called as the instruction trigger time and the beacon password generated by the Bluetooth beacon.
[0116] Optionally, the background processing module 203 is further configured to record in real time the number of reuses of each historical password in a preset reuse queue, and remove historical passwords whose reuse times exceed a preset reuse threshold from the preset reuse queue;
[0117] It is also used to use the time period of the historical reuse mode as the reuse period and the time period of the real-time generation mode as the actual transmission period; count the total number of calls of the corresponding historical password in each reuse period; count the total number of new beacon passwords generated in each actual transmission period; based on the corresponding relationship between the reuse period and the total number of calls, and the corresponding relationship between the actual transmission period and the total number of new generation, learn and predict the reuse period and actual transmission period in the future period, as well as predict the total number of calls in each reuse period and the total number of new generation corresponding to the actual transmission period;
[0118] It is also used to determine the number of compensation passwords for each actual issuance period predicted in the future period, and when the current time is in the target actual issuance period, adjust the update duration to trigger the dynamic password generation algorithm to generate a number of beacon passwords equal to the number of compensation passwords corresponding to the target actual issuance period as compensation passwords. When the current time is in the target reuse period, the compensation passwords are added to the preset reuse queue as historical passwords; wherein, the target actual issuance period refers to any actual issuance period predicted in the future period, the target reuse period refers to the reuse period after the target actual issuance period and adjacent to the target actual issuance period, and the number of compensation passwords refers to the number of newly generated passwords whose total number of calls predicted corresponding to the target reuse period exceeds the total number predicted corresponding to the target actual issuance period.
[0119] Optionally, the background processing module 203 is also used to call the historical password in the preset multiplexing queue if a service instruction is received when the beacon password reading mode is the historical multiplexing mode, and process the historical password based on the number of times the historical password has been called as the beacon password generated by the Bluetooth beacon when the instruction is triggered.
[0120] An embodiment of the present application also discloses a Bluetooth beacon application device based on an encrypted time-base sequence dynamic password. The Bluetooth beacon application device based on an encrypted time-base sequence dynamic password includes a memory and a processor. The memory stores a computer program that can be loaded by the processor and execute the Bluetooth beacon application method based on the encrypted time-base sequence dynamic password as described above.
[0121] An embodiment of the present application also discloses a computer-readable storage medium, which stores a computer program that can be loaded by a processor and execute the Bluetooth beacon application method based on the encrypted time-base sequence dynamic password as described above. The computer-readable storage medium includes, for example: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0122] It should be noted that, in this document, relational terms such as first and second, etc. are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.
[0123] The above embodiments are intended only to illustrate the technical solutions of this application and are not intended to limit the scope of protection of this application. Obviously, the embodiments described are only some of the embodiments of this application, not all of them. Based on these embodiments, all other embodiments obtained by persons of ordinary skill in the art without inventive effort are also within the scope of protection to be protected by this application.
Claims
1. A Bluetooth beacon application method based on an encrypted time-base sequence dynamic password, characterized in that: include: Receiving a service instruction triggered by a user, and obtaining, based on the instruction triggering time of the service instruction, a beacon password generated by a preset Bluetooth beacon at the instruction triggering time; wherein the beacon password generated by the Bluetooth beacon is automatically generated by a preset dynamic password generation algorithm at preset update intervals, and the beacon passwords generated corresponding to different update intervals are inconsistent; Verifying the timeliness of the beacon password generated by the Bluetooth beacon at the instruction triggering time; Based on the verification result, the execution result of the service instruction is fed back to the user; Based on preset analysis factors, the scene state of the application scene of the Bluetooth beacon is analyzed in real time, and the update duration is adjusted based on the scene state; wherein the analysis factors include at least the reception frequency of service instructions and the security level of the physical location of the Bluetooth beacon; The adjusting the update duration based on the scene state includes: When the scene state meets the preset real-time transmission condition, the beacon password reading mode is switched to the real-time generation mode; if a service instruction is received, the update duration is adjusted to use the instruction trigger time of the service instruction as the update time, thereby triggering the dynamic password generation algorithm to generate a beacon password at the update time, and using the beacon password generated by the dynamic password generation algorithm as the instruction trigger time and the beacon password generated by the Bluetooth beacon; Whenever the dynamic password generation algorithm generates a beacon password, the beacon password is stored as a historical password in a preset reuse queue; When the scene status meets the preset multiplexing conditions, the beacon password reading mode is switched to the historical multiplexing mode, and the update duration is adjusted so that the adjusted update duration meets the following conditions: in the historical multiplexing mode, the Bluetooth beacon is paused to generate the beacon password; if a service instruction is received when the beacon password reading mode is the historical multiplexing mode, the historical password in the preset multiplexing queue is called as the instruction trigger time and the beacon password generated by the Bluetooth beacon.
2. The Bluetooth beacon application method based on the encrypted time base sequence dynamic password according to claim 1, characterized in that: The Bluetooth beacon is pre-integrated with a clock module for real-time time update, and the dynamic password generation algorithm is used to automatically generate a beacon password at a preset update time interval based on the real-time update time of the clock module; The verifying the timeliness of the beacon password generated by the Bluetooth beacon at the time of triggering the instruction, and feeding back the execution result of the service instruction to the user based on the verification result, includes: Based on the preset fault tolerance time difference, calculate the fault tolerance period corresponding to the instruction trigger time; wherein the fault tolerance period refers to a specified time range before and after the instruction trigger time; Generate a password list based on the update duration and a preset dynamic password generation function; wherein the dynamic password generation function is a function encapsulated by the dynamic password generation algorithm, and the password list includes all beacon passwords automatically generated by the dynamic password generation function within the fault tolerance period and at every update duration; Determine whether the beacon password generated by the Bluetooth beacon at the instruction trigger time exists in the password list. If so, feedback is given to the user with an execution result indicating that the service instruction is completed. If not, feedback is given to the user with an execution result indicating that the instruction execution failed.
3. The Bluetooth beacon application method based on the encrypted time base sequence dynamic password according to claim 2, characterized in that: The method further comprises: Whenever a service instruction is received, a deviation value between the clock time of the clock module corresponding to the Bluetooth beacon and the actual time is calculated, and the clock time of the clock module is corrected using the deviation value; The fault-tolerant period is segmented regularly based on the deviation value calculated in the corresponding period, and a comparison priority is defined for each fault-tolerant sub-period after segmentation. The comparison priority refers to the order of comparison with the beacon password generated by the Bluetooth beacon, and the higher the comparison priority, the higher the comparison order.
4. The Bluetooth beacon application method based on the encrypted time base sequence dynamic password according to claim 1, characterized in that: The method further comprises: Record the number of times each historical password in the preset reuse queue is reused in real time, and remove the historical passwords whose reuse times exceed the preset reuse threshold from the preset reuse queue; The period of the historical reuse mode is used as the reuse period, and the period of the real-time generation mode is used as the actual transmission period; the total number of calls of the corresponding historical password in each reuse period is counted; the total number of new beacon passwords generated in each actual transmission period is counted; Based on the correspondence between reuse periods and the total number of calls, and the correspondence between actual issuance periods and the total number of new generation, learn and predict reuse periods and actual issuance periods in the future, as well as the total number of calls for each reuse period and the total number of new generation corresponding to the actual issuance period; Determine the number of compensation passwords for each actual issuance time period predicted in the future period, and when the current time is in the target actual issuance time period, adjust the update duration to trigger the dynamic password generation algorithm to generate a number of beacon passwords equal to the number of compensation passwords corresponding to the target actual issuance time period as compensation passwords; when the current time is in the target reuse time period, add the compensation passwords as historical passwords to the preset reuse queue; wherein, the target actual issuance time period refers to any actual issuance time period predicted in the future period, the target reuse time period refers to the reuse time period after the target actual issuance time period and adjacent to the target actual issuance time period, and the number of compensation passwords refers to the number of newly generated passwords for which the total number of calls predicted corresponding to the target reuse time period exceeds the total number of newly generated passwords predicted corresponding to the target actual issuance time period.
5. The Bluetooth beacon application method based on encrypted time base sequence dynamic password according to claim 1, characterized in that: If a service instruction is received when the beacon password reading mode is the history multiplexing mode, the historical password in the preset multiplexing queue is called as the instruction trigger time and the beacon password generated by the Bluetooth beacon, including: If a service instruction is received when the beacon password reading mode is the historical multiplexing mode, the historical password in the preset multiplexing queue will be called, and the historical password will be processed based on the number of times the historical password has been called as the beacon password generated by the Bluetooth beacon at the trigger instruction time.
6. A Bluetooth beacon application system based on encrypted time-base sequence dynamic password, characterized in that: include: A service interaction module (201), a Bluetooth beacon module (202) and a background processing module (203); The service interaction module (201) is used to send a beacon reading signal to the Bluetooth beacon module according to the instruction triggering time of the service instruction when receiving the service instruction triggered by the user; The Bluetooth beacon module (202) is used to send the beacon password generated at the instruction trigger time to the service interaction module when receiving the beacon reading signal; wherein the Bluetooth beacon module is preset with a dynamic password generation algorithm, the dynamic password generation algorithm is used to automatically generate a beacon password every preset update time, and the beacon passwords generated corresponding to different update time are inconsistent; The background processing module (203) is used to obtain from the service interaction module and verify the timeliness of the beacon password generated by the Bluetooth beacon at the instruction triggering time; The business interaction module (201) is further used to feed back the execution result of the service instruction to the user based on the verification result; The background processing module (203) is further used to analyze the scene state of the application scene of the Bluetooth beacon in real time based on a preset analysis factor, adjust the update duration based on the scene state, and send the adjusted update duration to the Bluetooth beacon module; The background processing module (203) is further configured to switch the beacon password reading mode to the real-time generation mode when the scene state satisfies the preset real-time condition; if a service instruction is received, adjust the update duration so as to use the instruction triggering time of the service instruction as the update time, thereby triggering the dynamic password generation algorithm to generate a beacon password at the update time, and use the beacon password generated by the dynamic password generation algorithm as the instruction triggering time and the beacon password generated by the Bluetooth beacon; The background processing module (203) is also used to store the beacon password as a historical password in a preset reuse queue whenever the dynamic password generation algorithm generates a beacon password; when the scene state meets the preset reuse condition, the beacon password reading mode is switched to the historical reuse mode, and the update duration is adjusted so that the adjusted update duration meets the following conditions: in the historical reuse mode, the Bluetooth beacon is paused from generating the beacon password; if a service instruction is received when the beacon password reading mode is the historical reuse mode, the historical password in the preset reuse queue is called as the instruction trigger time and the beacon password generated by the Bluetooth beacon.
7. A Bluetooth beacon application device based on an encrypted time-base sequence dynamic password, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Bluetooth card punching anti-cheating system and method
CN116884103A
Dynamic password authentication method and device
CN119210865A