Information verification method, device, robot and storage medium

By sending the target verification algorithm and verification information to the second terminal for verification during the information verification process, the problem of user privacy data leakage during information verification in the prior art is solved, and higher information verification security is achieved.

CN113886848BActive Publication Date: 2025-04-11YOUDI ROBOT (WUXI) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111112747.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-23
Publication Date
2025-04-11
Estimated Expiration
2041-09-23

AI Technical Summary

Technical Problem

The existing robot information is easily leaked when verified, and there are security risks.

Method used

When receiving the verification request for information verification of the second terminal request, the target verification algorithm and verification information are sent to the second terminal to perform information verification, ensuring that the user's privacy data is always in the second terminal, thereby protecting the user's privacy security.

Benefits of technology

It effectively solves the problem of user privacy data leakage during information verification, improves the security of information verification, and ensures that user privacy is protected during the verification process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113886848B_ABST
    Figure CN113886848B_ABST
Patent Text Reader

Abstract

The present application discloses an information verification method, device, robot and storage medium, wherein the information verification method comprises: upon receiving a verification request from a second terminal requesting information verification, sending a target verification algorithm and verification information corresponding to the verification request to the second terminal; receiving a target verification result obtained by the second terminal through the target verification algorithm and the verification information; and performing information verification according to the target verification result. The present application sends a target verification algorithm and verification information corresponding to the verification request to the second terminal through a first terminal, and the information verification process is performed on the second terminal. The first terminal performs information verification according to the target verification result obtained by the second terminal, ensuring that during the verification process, the privacy data of the second terminal is always in the second terminal, thereby protecting the privacy and security of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information technology, and in particular to an information verification method, device, robot and storage medium. Background Art

[0002] With the continuous development of technologies such as computer communications, more and more related technologies are being applied in the robotics industry, but the robotics industry also has higher requirements for technology. For example, the robotics industry also has higher requirements for terminal information verification methods.

[0003] Currently, when a robot performs identity authentication, it obtains the user's biometric information or other verification information and compares it with the information stored on the robot side to verify whether the user is a legitimate user and whether he has the authority to use the robot. However, since the premise of information comparison is that the user's target comparison information is pre-stored on the robot side, it is easy to cause the user's privacy data to be leaked, causing security risks.

[0004] In other words, when existing robots verify information, it is easy to leak user privacy data, which poses certain security risks. Summary of the invention

[0005] The main purpose of this application is to provide an information verification method, device, robot and storage medium, aiming to solve the problem of security risks in terminal information verification in the prior art.

[0006] To achieve the above object, the present application provides an information verification method, which is applied to a first terminal and includes:

[0007] Upon receiving a verification request from a second terminal requesting information verification, sending a target verification algorithm and verification information corresponding to the verification request to the second terminal;

[0008] Receiving a target verification result obtained by the second terminal through the target verification algorithm and the verification information;

[0009] Information verification is performed according to the target verification result.

[0010] Optionally, the verification request carries a target information address;

[0011] The step of, upon receiving a verification request from a second terminal requesting information verification, sending a target verification algorithm and verification information corresponding to the verification request to the second terminal includes:

[0012] Upon receiving a verification request from the second terminal requesting information verification, obtaining verification information input by the user;

[0013] Placing the target information address at a reserved position in the verification algorithm, updating the verification algorithm, and obtaining the target verification algorithm;

[0014] The target verification algorithm and the verification information are sent to the second terminal so that the second terminal can perform information verification.

[0015] Optionally, the target verification algorithm includes a verification algorithm, a comparison algorithm and a feedback algorithm;

[0016] The receiving a target verification result obtained by the second terminal through the target verification algorithm and the verification information includes:

[0017] When the second terminal receives the target verification algorithm, it triggers execution of the target verification algorithm at the second terminal; wherein, when executing the verification algorithm, a first verification number is obtained; when executing the comparison algorithm, the target comparison information corresponding to the target information address is obtained, and the comparison and verification are performed with the verification information to obtain a comparison result; when executing the feedback algorithm, the first verification number and the comparison result are combined to form the target verification result, and the target verification result is sent to the first terminal;

[0018] The target verification result obtained by the second terminal through executing the target verification algorithm is received.

[0019] Optionally, performing information verification according to the target verification result includes:

[0020] Parsing the target verification result to obtain a first checksum and a comparison result;

[0021] The verification algorithm is executed to obtain a second verification number, and based on the first verification number and the second verification number, it is determined whether to use the comparison result for verification.

[0022] Optionally, the verification algorithm is a function with time as an input value, used to obtain the system time when the verification algorithm is executed, and calculate the system time to obtain the verification number;

[0023] Executing the verification algorithm to obtain a second verification number, and determining whether to use the comparison result for verification according to the first verification number and the second verification number, comprising:

[0024] Acquire a first system time when a target verification algorithm and the verification information are sent to the second terminal;

[0025] Calculate the first system time based on the verification algorithm to obtain the second verification number;

[0026] If the difference between the first check number and the second check number is within a preset difference range, determining to use the comparison result for verification, wherein when the second terminal executes the verification algorithm, a second system time for executing the verification algorithm is obtained, and the second system time is calculated based on the verification algorithm to obtain the first check number, and the comparison result includes verification passed and verification failed;

[0027] Otherwise, the comparison result is not used for verification, and the verification result is failure.

[0028] Optionally, the determining to verify using the comparison result comprises:

[0029] Determine a verification result according to the comparison result;

[0030] If the comparison result is verification passed, the verification result is passed;

[0031] If the comparison result is that the verification fails, the verification result is failed.

[0032] Optionally, the first terminal is a mobile service robot, and the second terminal is a handheld terminal of a user.

[0033] To achieve the above object, the present application also provides an information verification device, which is deployed in a first terminal, and the information verification device includes:

[0034] A sending module, when receiving a verification request from a second terminal requesting information verification, sending a target verification algorithm and verification information corresponding to the verification request to the second terminal;

[0035] A receiving module, receiving a target verification result obtained by the second terminal through the target verification algorithm and the verification information;

[0036] A verification module performs information verification according to the target verification result.

[0037] Each functional module of an information verification device provided in the present application implements the steps of the above-mentioned information verification method when executed.

[0038] To achieve the above objectives, the present application also provides a robot, which includes: a memory, a processor, and an information verification program stored in the memory and executable on the processor, wherein the information verification program implements the steps of the information verification method described above when executed by the processor.

[0039] In addition, to achieve the above-mentioned purpose, the present application also proposes a computer storage medium, on which an information verification program is stored, and when the information verification program is executed by a processor, the steps of the information verification method described above are implemented.

[0040] In this application, when receiving a verification request for information verification from a second terminal, the target verification algorithm and verification information corresponding to the verification request are sent to the second terminal; the target verification result obtained by the second terminal through the target verification algorithm and the verification information is received; and information verification is performed according to the target verification result. Compared with the existing premise of information comparison that the user's target comparison information is pre-stored in the first terminal, this application sends the target verification algorithm and verification information corresponding to the verification request to the second terminal when receiving a verification request for information verification from the second terminal; the target verification result obtained by the second terminal through the target verification algorithm and the verification information is received, and the first terminal performs information verification according to the target verification result obtained by the second terminal. In this application, the first terminal sends the target verification algorithm and verification information corresponding to the verification request to the second terminal, and the information verification process is performed on the second terminal. Information verification is performed according to the target verification result obtained by the second terminal, ensuring that during the verification process, the privacy data of the second terminal is always in the second terminal, thereby protecting user privacy security. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 This is a flow chart of an embodiment of the information verification method of this application;

[0042] Figure 2 This is a schematic diagram of the hardware structure of the first terminal and the second terminal of this application;

[0043] Figure 3 This is a functional module diagram of a preferred embodiment of the information verification device of this application;

[0044] Figure 4 This is a schematic diagram of the hardware architecture involved in the embodiment of the present application.

[0045] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0046] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0047] The embodiment of the present application proposes an information verification method: upon receiving a verification request from a second terminal requesting information verification, sending a target verification algorithm and verification information corresponding to the verification request to the second terminal; receiving a target verification result obtained by the second terminal through the target verification algorithm and the verification information; and performing information verification according to the target verification result. The present invention aims to: a first terminal sends a target verification algorithm and verification information corresponding to a verification request to a second terminal, the information verification process is performed at the second terminal, and information verification is performed according to the target verification result obtained by the second terminal, ensuring that during the verification process, the privacy data of the second terminal is always at the second terminal, thereby protecting user privacy security.

[0048] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0049] Reference Figure 1 , Figure 1 This is a flow chart of the first embodiment of the information verification method of this application.

[0050] The embodiments of the present application provide embodiments of the information verification method. It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that here. The execution subject of each embodiment of the information verification method of the present application may be a first terminal, and the first terminal may be a conventional robot that can be controlled by an automatic control program, a mobile service robot, or a terminal that can be used for information verification, etc. The types and styles of the first terminal and the specific implementation details are not limited in each embodiment.

[0051] In this embodiment, the information verification method includes the following steps S10-S30:

[0052] Step S10, upon receiving a verification request for information verification from a second terminal, sending a target verification algorithm and verification information corresponding to the verification request to the second terminal;

[0053] Step S20, receiving a target verification result obtained by the second terminal through the target verification algorithm and the verification information;

[0054] Step S30: performing information verification according to the target verification result.

[0055] The specific steps are as follows:

[0056] Step S10, upon receiving a verification request for information verification from a second terminal, sending a target verification algorithm and verification information corresponding to the verification request to the second terminal;

[0057] In this embodiment, it should be noted that the information verification method is applied to a first terminal, the first terminal belongs to a first terminal information verification system, the first terminal information verification system belongs to a first terminal information verification device, the first terminal information verification system includes a second terminal, the second terminal can be a mobile second terminal connected to the first terminal, wherein the second terminal pre-stores relevant information required for information verification, and the relevant information is stored in a storage location in the second terminal, for example, personal information in the second terminal is stored in a first storage location, picture information is stored in a second storage location, and communication information is stored in a third storage location, etc. It should be noted that in this embodiment, it is applied to (at present, when the first terminal performs identity authentication, the first terminal obtains the user's biometric information or other verification information, and compares it with the information stored in the first terminal to verify whether the user is a legitimate user and whether he has the right to use the first terminal. Among them, the information verification can be to verify whether the user has the right to enter a specific area, such as a warehouse, an office building / residential building, etc. In addition, the information verification can also be to verify whether the user has the right to use a specific item, such as a safe, a storage box, etc.) corresponding to the scene. It can be seen from this that the premise of the comparison is that the user's target comparison information is pre-stored in the first terminal, which may easily lead to the leakage of user privacy data and cause security risks.

[0058] In this embodiment, the first terminal and the second terminal can be communicatively connected, and the communication relationship between the first terminal and the second terminal can include two types. The first type: the second terminal is connected to the first terminal through short-distance communication technologies such as Bluetooth, WIFI, and near-field communication; the second type: the second terminal is a device in two different application scenarios with the first terminal. At this time, the second terminal and the first terminal can be connected through long-distance communication technologies such as mobile communication.

[0059] When receiving a verification request for information verification from a second terminal, sending a target verification algorithm and verification information corresponding to the verification request to the second terminal. Specifically, when receiving a verification request for information verification from a second terminal, sending the target verification algorithm and verification information corresponding to the verification request to the second terminal includes:

[0060] Method 1: upon receiving a verification request from a second terminal requesting information verification based on a long-distance communication technology, sending a target verification algorithm and verification information corresponding to the verification request to the second terminal;

[0061] Method 2: upon receiving a verification request from a second terminal requesting information verification based on a short-distance communication technology, sending a target verification algorithm and verification information corresponding to the verification request to the second terminal;

[0062] It should be noted that the first terminal can be a mobile service robot, and the second terminal can be a user's handheld terminal, such as a user's mobile phone. In some usage scenarios, if a user wants to use a mobile service robot, the mobile service robot needs to authenticate the user. If the verification is successful, it means that the user has the authority to use the mobile service robot. If the verification fails, it means that the user does not have the authority to use the mobile service robot. Among them, during the information verification process of the first terminal, the first terminal receives the verification request and sends the target verification algorithm and verification information corresponding to the verification request to the second terminal. The second terminal executes the target verification algorithm to perform the information verification process. The second terminal sends the result after executing the target verification algorithm to the first terminal to give the result of whether the verification is successful. That is, whether the verification is successful refers to whether the second terminal has the authority to use the first terminal. The overall verification process is in the second terminal, which ensures the privacy and security of users during the verification process.

[0063] Specifically, when receiving / obtaining a verification request from the second terminal requesting information verification, the first terminal responds to the verification request and obtains verification information input by the user. The verification information refers to information input by the user for verifying identity or usage authority. The verification information may be facial features, fingerprints, voiceprints, or other text, picture passwords, etc. The first terminal obtains the target verification algorithm corresponding to the verification request, and sends the target verification algorithm and verification information to the second terminal for verifying whether the obtained verification information matches the target verification information stored in the second terminal.

[0064] refer to Figure 2 , the first terminal has a first communication module, a first processor, a first memory, etc., the first processor is connected to the first communication module and the first memory respectively, the first memory stores a verification algorithm, the first communication module is used to establish a communication connection with the second terminal, and is used to send the verification algorithm to the second terminal during information verification, so that the second terminal can verify the information through the verification algorithm. The second terminal connected to the first terminal for communication has a second communication module, a second processor, a second memory, etc., the second memory stores target comparison information, the second processor executes the verification algorithm sent by the first terminal, verifies the verification information and the target comparison information, and obtains the target verification result, the second communication module is used to establish a communication connection with the first terminal, and sends the target verification result obtained after the verification algorithm is executed to the first terminal, so that the first terminal can verify the information according to the verification result.

[0065] When receiving a verification request from a second terminal requesting information verification, sending a target verification algorithm and verification information corresponding to the verification request to the second terminal includes the following steps S11-S13:

[0066] Step S11, upon receiving a verification request from the second terminal requesting information verification, obtaining the verification information input by the user;

[0067] In this embodiment, upon receiving the verification request from the second terminal requesting information verification, the verification information input by the user is obtained, and the verification information may be facial features, fingerprints, voiceprints, or other text, picture passwords, etc. The first terminal only obtains the verification information input by the user, and does not save or verify the verification information, thereby improving the protection of user information privacy.

[0068] Step S12, placing the target information address at a reserved position in the verification algorithm, updating the verification algorithm, and obtaining the target verification algorithm;

[0069] In this embodiment, the verification request carries a target information address, which refers to the storage address corresponding to the information storage location in the second terminal. The information storage location refers to the location where information used to verify identity or usage authority is stored. During the information verification process at the second terminal, the target verification algorithm can only obtain information about the information storage location based on the target information address, and this information is used as the target comparison information to be compared and verified with the verification information. The target verification algorithm refers to the verification algorithm obtained according to the verification request input by the second terminal. This verification algorithm can only verify the information corresponding to the target information address. Therefore, the target verification algorithm obtained according to the target information address has a mapping relationship with the target information address. Specifically, the first terminal has a memory, and the memory includes a verification algorithm for information verification. The verification algorithm is composed of an algorithm template and a reserved address location. The target information address is embedded in the reserved address location to obtain the target verification algorithm. The target verification algorithm can perform information verification in the second terminal by itself.

[0070] It should be noted that, in addition to the target information address, the request information corresponding to the verification request may also include a second terminal MAC address (Media Access Control Address) of the second terminal.

[0071] Before obtaining the verification information input by the user, the following steps S111-S112 are included:

[0072] Step S111, obtaining a registration instruction for each second terminal to register the use authority of the first terminal, and in response to the registration instruction, forming an authorized MAC address list with the second terminal MAC addresses of each second terminal having the use authority;

[0073] Step S112, obtaining the second terminal MAC address in the verification request, and determining whether the second terminal corresponding to the second terminal MAC address has the use authority according to the authorized MAC address list.

[0074] The first terminal obtains the mac address of the second terminal after the second terminal is registered to obtain the use permission. The second terminal mac list of each second terminal with the use permission constitutes the permission mac address list. When the first terminal obtains / receives the verification request input by the user, the second terminal mac address in the verification request is matched with the information in the permission mac address list. If the match is successful, the second terminal has the permission to use the first terminal, and a communication connection is established between the first terminal and the second terminal for information verification. It can be seen that the second terminal has not registered the use permission for the first terminal. When matching the second terminal mac address in the verification request with the information in the permission mac address list, the match is unsuccessful, which means that the second terminal does not have the permission to use the first terminal.

[0075] In some other embodiments, before obtaining the verification information input by the user, the process includes:

[0076] Obtaining a registration instruction for each second terminal to register the use authority of the first terminal, the registration instruction carrying a target information address, and responding to the registration instruction by forming a permission list with the target information addresses of each second terminal having the use authority;

[0077] The target information address in the verification request is obtained, and whether the second terminal corresponding to the target information address has the use authority is determined according to the authority list.

[0078] The first terminal obtains the target information address registered by the second terminal to obtain the use permission. The target information addresses of the second terminals with the use permission constitute the permission list. When the first terminal obtains / receives the verification request input by the user, the target information address in the verification request is matched with the information in the permission list. If the match is successful, the second terminal has the permission to use the first terminal, and a communication connection for information verification is established between the first terminal and the second terminal. It can be seen that the second terminal has not registered the use permission for the first terminal. When matching the target information address in the verification request with the information in the permission list, the match is unsuccessful, which means that the second terminal does not have the permission to use the first terminal.

[0079] Step S13, sending the target verification algorithm and the verification information to the second terminal, so that the second terminal can perform information verification;

[0080] In this embodiment, the first terminal sends the target verification algorithm and verification information to the second terminal. The target verification algorithm and verification information can be integrated into a verification data packet, which is sent to the second terminal in the form of a verification data packet, so that the target comparison information corresponding to the target information address can be compared and verified with the verification information in the second terminal by executing the target verification algorithm to obtain the target verification result.

[0081] Step S20, receiving a target verification result obtained by the second terminal through the target verification algorithm and the verification information;

[0082] In this embodiment, the first terminal sends a target verification algorithm and verification information to the second terminal, so that the second terminal can compare and verify the target comparison information and verification information corresponding to the target information position in the second terminal by executing the target verification algorithm to obtain a target verification result.

[0083] The target verification algorithm includes a verification algorithm, a comparison algorithm and a feedback algorithm; the receiving the target verification result obtained by the second terminal through the target verification algorithm and the verification information includes the following steps S21-S22:

[0084] Step S21, when the second terminal receives the target verification algorithm, it triggers the execution of the target verification algorithm at the second terminal; wherein, when executing the verification algorithm, a first verification number is obtained; when executing the comparison algorithm, the target comparison information corresponding to the target information address is obtained, and the comparison and verification are performed with the verification information to obtain a comparison result; when executing the feedback algorithm, the first verification number and the comparison result are combined to form the target verification result, and the target verification result is sent to the first terminal;

[0085] In this embodiment, the target verification algorithm includes a verification algorithm, a comparison algorithm and a feedback algorithm, and the comparison algorithm is used to compare and verify the verification information with the target comparison information, wherein the target comparison information refers to the information corresponding to the target information address in the second terminal, thereby, when the comparison algorithm is executed on the second terminal, the target comparison information corresponding to the target information address is obtained, and compared and verified with the verification information to obtain a comparison result; wherein, during the comparison and verification process, there may be errors when extracting features from the information, thereby, the comparison result can be obtained by determining the similarity of the comparison information, wherein a relationship table between the information similarity and the comparison result is obtained, and the verification information and the target comparison information are compared and calculated to obtain the information similarity, and based on the relationship table, the comparison result corresponding to the information similarity is determined.

[0086] The verification algorithm is used by the first terminal to determine whether the comparison result is the result obtained when the comparison algorithm is executed by the second terminal. Only when the comparison result is obtained when the comparison algorithm is executed by the second terminal can it be used by the first terminal. The verification algorithm will obtain a verification number during operation. The verification number obtained when the verification algorithm is executed by the second terminal is the first verification number, and the verification number obtained when the verification algorithm is executed by the first terminal is the second verification number. Through the data processing between the first verification number and the second verification number, it can be determined whether the comparison result is the result obtained when the target verification algorithm is executed by the second terminal; the feedback algorithm is used to send the target verification result to the first terminal, wherein the target verification result is composed of the first verification number and the comparison result. Therefore, after the first terminal sends the target verification algorithm to the second terminal, the second terminal triggers the second terminal to start executing the target verification algorithm when receiving the target verification algorithm.

[0087] Step S22: receiving a target verification result obtained by the second terminal by executing the target verification algorithm.

[0088] In this embodiment, the first terminal receives a target verification result obtained by executing a target verification algorithm by the second terminal, and performs information verification on the authority between the first terminal and the second terminal based on the target verification result.

[0089] Step S30: performing information verification according to the target verification result.

[0090] In this embodiment, the target verification result includes a first check digit and a comparison result. It is necessary to determine whether the comparison result is obtained when the comparison algorithm is executed by the second terminal, and to judge it. The result after the judgment is further selected and output to obtain the information verification result between the first terminal and the second terminal.

[0091] The information verification according to the target verification result includes the following steps S31-S32:

[0092] Step S31, parsing the target verification result to obtain a first checksum and a comparison result;

[0093] Step S32, executing the verification algorithm to obtain a second verification number, and determining whether to use the comparison result for verification based on the first verification number and the second verification number.

[0094] In this embodiment, the target verification result is parsed to obtain the first check digit and the comparison result in the target verification result. The first terminal executes the verification algorithm to obtain the second check digit, and by processing the first check digit and the second check digit, it is determined whether the comparison result is obtained when the comparison algorithm sent by the first terminal to the second terminal is executed on the second terminal.

[0095] The step of executing the verification algorithm to obtain a second verification number and determining whether to use the comparison result for verification according to the first verification number and the second verification number comprises the following steps S321-S324:

[0096] Step S321, obtaining a first system time when sending a target verification algorithm and the verification information to the second terminal;

[0097] Step S322, calculating the first system time based on the verification algorithm to obtain the second verification number;

[0098] Step S323: if the difference between the first check digit and the second check digit is within a preset difference range, determining to use the comparison result for verification, wherein when the second terminal executes the verification algorithm, a second system time for executing the verification algorithm is obtained, and the second system time is calculated based on the verification algorithm to obtain the first check digit, and the comparison result includes verification passed and verification failed;

[0099] Step S324: otherwise, the comparison result is not used for verification, and the verification result is failure.

[0100] In this embodiment, since the comparison algorithm sent by the first terminal is not limited by time when the second terminal is used for comparison and verification, the comparison result received / obtained by the first terminal may be the comparison result obtained by the comparison algorithm before the current system time (that is, it may be the comparison algorithm sent by the first terminal to the second terminal when the second terminal sent a verification request to the first terminal last time), rather than the comparison result obtained by executing the comparison algorithm in the target verification algorithm sent by the first terminal to the second terminal at the second terminal. In order to improve the accuracy of the comparison result, it is necessary to execute the verification algorithm at the second terminal to obtain the first verification number and execute the verification algorithm at the first terminal to obtain the second verification number, and determine whether the comparison result is the result obtained when the comparison algorithm sent by the first terminal is executed at the second terminal by the first verification number and the second verification number.

[0101] Wherein, the verification algorithm is a function with time as an input value, which is used to obtain the system time when executing the verification algorithm, and calculate the system time to obtain the verification number. For example, when the verification algorithm is executed on the first terminal, the first system time of the first terminal is obtained, and the first system time is extracted to obtain the second verification number for difference calculation. Similarly, when the verification algorithm is executed on the second terminal, the second system time of the second terminal is obtained, and the second system time is extracted to obtain the first verification number for difference calculation. When the first terminal obtains the target verification result, the first verification number and the second verification number are calculated for difference. If the difference between the first verification number and the second verification number is less than the preset difference, it means that the verification between the first terminal and the second terminal is completed within the limited verification time, and the first terminal determines to use the comparison result in the target verification result to verify the information of the second terminal, wherein, if the comparison result is verification passed, the verification result is passed, and if the comparison result is verification failed, the verification result is failed. On the contrary, if the difference between the first check number and the second check number is greater than or equal to the preset difference, it means that the verification between the first terminal and the second terminal is not completed within the limited verification time, and the second terminal needs to resend the verification request for a new round of verification, or the first terminal outputs a verification failure.

[0102] In some embodiments, the verification algorithm is a monotonically increasing function or a monotonically decreasing function, so that the system time is used as an input value to obtain a monotonically increasing or monotonically decreasing function value (check number). When the verification algorithm is a monotonically increasing function, since the time difference between the first system time and the second system time is small, the difference between the first check number and the second check number is small, and the difference is related to the verification algorithm. The first system time when the target verification algorithm and the verification information are sent to the second terminal is obtained, and the first system time is used as an input value. The first system time is calculated by the verification algorithm to obtain the second check number.

[0103] When the verification algorithm is executed at the second terminal, the second system time at the time of execution is obtained, the second system time is used as the input value, and the second system time is calculated by the verification algorithm to obtain the first verification number. Due to the influence of the communication transmission speed between the first terminal and the second terminal, there is a situation where the first system time and the second system time are different. Therefore, the obtained first verification number and the second verification number are different. In order to facilitate the analysis of the target verification result, a preset difference range between the first verification number and the second verification number is set. The preset difference range refers to the allowable difference range. If the difference between the first verification number and the second verification number is within this difference range, the verification is deemed to be successful, which means that the target verification algorithm sent by the first terminal to the second terminal has been executed in the second terminal and the target verification result has been returned. The comparison result is obtained by executing the comparison algorithm at the second terminal, wherein the preset difference range can be set according to the information delay related data between the first terminal and the second terminal.

[0104] Thus, the difference between the first check number and the second check number is calculated to obtain the check difference, and it is determined whether the check difference is within the preset difference range. If so, the comparison result is used to verify the information; otherwise, the comparison result is not used to verify the information, and the verification result displayed by the first terminal is failure.

[0105] Wherein, the determining to verify with the comparison result comprises the following steps A1-A3:

[0106] Step A1, determining a verification result according to the comparison result;

[0107] Step A2: If the comparison result is verified, the verification result is passed;

[0108] Step A3: If the comparison result is verification failure, the verification result is failure.

[0109] In this embodiment, the comparison result includes verification passed and verification failed. When it is determined to use the comparison result to verify the information, the comparison result is output as the verification result. If the comparison result is verification passed, the verification result is passed, that is, the first terminal authorizes the second terminal to use the authority; if the comparison result is verification failed, the verification result is failed, that is, the first terminal cannot authorize the second terminal to use the authority.

[0110] The present application provides an information verification method, device, robot and storage medium. Compared with the prior art, when receiving a verification request from a second terminal requesting information verification, the present application sends the target verification algorithm and verification information corresponding to the verification request to the second terminal; receives the target verification result obtained by the second terminal through the target verification algorithm and the verification information; and performs information verification according to the target verification result. In the present application, the first terminal sends the target verification algorithm and verification information corresponding to the verification request to the second terminal, the information verification process is performed on the second terminal, and the information verification is performed according to the target verification result obtained by the second terminal, ensuring that during the verification process, the privacy data of the second terminal is always in the second terminal, thereby protecting the privacy security of the user.

[0111] A usage scenario is as follows:

[0112] The first terminal is a mobile service robot, and the second terminal is a user's mobile phone terminal. The mobile service robot is registered and authenticated by a limited number of users' mobile phone terminals, and the information verification is used to verify whether the user has the authority to use the mobile service robot. Obtain the registration instructions for the use rights of the mobile phone terminals of a limited number of users to register the mobile service robot, respond to the registration instructions, and form a permission list with the basic information of the mobile phone terminals with the right to use (such as the mac address of the mobile phone terminal, the serial number of the mobile phone, the basic information of the user, etc.). When the user needs to use the mobile service robot, a verification request is sent to the mobile service robot through the successfully registered mobile phone terminal, and the verification request carries basic information. When the user wants to use the mobile service robot, it is necessary to obtain the verification of the mobile robot. The user needs to use the successfully registered mobile phone terminal to perform the first handshake communication with the mobile service robot. The first handshake communication is used to send a verification request to the mobile service robot. For example, the user scans the QR code information set on the mobile service robot through the mobile phone terminal to perform the first handshake communication with the mobile service robot. The mobile service robot obtains the basic information of the mobile terminal, matches the basic information with the information in the permission list, and if the match is successful, the mobile terminal has the permission to use the mobile service robot, and establishes a communication connection between the mobile service robot and the mobile terminal for information verification. The mobile service robot obtains the verification information input by the user, places the target information address of the mobile terminal in the reserved position in the verification algorithm, updates the verification algorithm, obtains the target verification algorithm, sends the target verification algorithm and the verification information to the mobile terminal for the mobile terminal to verify the information and return the target verification result to the mobile service robot. The mobile service robot determines whether the current user has the permission to use the mobile service robot based on the target verification result, wherein if the comparison result in the target verification result is verification passed, the current user has the permission to use the mobile robot, and if the comparison result in the target verification result is verification failed, the current user does not have the permission to use the mobile robot.

[0113] It can be seen that the mobile phone terminal does not have the permission to register the mobile service robot. When matching the basic information in the verification request with the information in the permission list, the match fails, which means that the mobile phone terminal does not have the permission to use the mobile service robot.

[0114] In addition, the embodiment of the present application also proposes an information verification device, which is deployed in the first terminal, please refer to Figure 3 , the application information verification device includes:

[0115] The sending module 10, when receiving a verification request from a second terminal requesting information verification, sends a target verification algorithm and verification information corresponding to the verification request to the second terminal;

[0116] A receiving module 20 receives a target verification result obtained by the second terminal through the target verification algorithm and the verification information;

[0117] The verification module 30 performs information verification according to the target verification result.

[0118] Furthermore, the sending module 10 of the present application includes:

[0119] The first receiving submodule, upon receiving a verification request from the second terminal requesting information verification, obtains the verification information input by the user;

[0120] An updating submodule is provided to place the target information address at a reserved position in the verification algorithm, update the verification algorithm, and obtain the target verification algorithm;

[0121] The sending submodule sends the target verification algorithm and the verification information to the second terminal so that the second terminal can perform information verification.

[0122] Furthermore, the receiving module 20 of the present application includes:

[0123] The algorithm submodule triggers the execution of the target verification algorithm at the second terminal when the second terminal receives the target verification algorithm; wherein, when executing the verification algorithm, a first verification number is obtained; when executing the comparison algorithm, the target comparison information corresponding to the target information address is obtained, and the comparison and verification are performed with the verification information to obtain a comparison result; when executing the feedback algorithm, the first verification number and the comparison result are combined to form the target verification result, and the target verification result is sent to the first terminal;

[0124] The second receiving submodule receives a target verification result obtained by the second terminal by executing the target verification algorithm.

[0125] Furthermore, the verification module 30 of the present application further includes:

[0126] A parsing submodule, parsing the target verification result to obtain a first checksum and a comparison result;

[0127] A submodule is determined to execute the verification algorithm to obtain a second verification number, and to determine whether to use the comparison result for verification based on the first verification number and the second verification number.

[0128] Furthermore, the present application defines submodules, including:

[0129] A first acquisition subunit acquires a first system time when a target verification algorithm and the verification information are sent to the second terminal;

[0130] A second acquisition subunit calculates the first system time based on the verification algorithm to obtain the second verification number;

[0131] a verification subunit, if the difference between the first check number and the second check number is within a preset difference range, determining to use the comparison result for verification, wherein when the second terminal executes the verification algorithm, a second system time for executing the verification algorithm is obtained, and the second system time is calculated based on the verification algorithm to obtain the first check number, and the comparison result includes verification passed and verification failed;

[0132] The subunit is outputted, otherwise, the comparison result is not used for verification, and the verification result is failure.

[0133] Furthermore, the verification subunit of the present application includes:

[0134] Determine the sub-sub-unit, and determine the verification result according to the comparison result;

[0135] The first verification sub-sub-unit, if the comparison result is verification passed, the verification result is passed;

[0136] The second verification sub-sub-unit, if the comparison result is that the verification fails, then the verification result is failed.

[0137] Furthermore, the information verification device of the present application also includes:

[0138] The setting module, the first terminal is a mobile service robot, and the second terminal is a user's handheld terminal.

[0139] In addition, an embodiment of the present application further proposes a computer storage medium, on which an information verification program is stored. When the information verification program is executed by a processor, the steps of the information verification method described in the above embodiments are implemented.

[0140] The various embodiments of the robot and computer storage medium of the present application can refer to the various embodiments of the information verification method of the present application, and will not be repeated here.

[0141] The present application also proposes a robot, comprising a memory, a processor, and an information verification method program stored in the memory and executable on the processor, wherein the processor implements the steps of the information verification method proposed in the above embodiment when executing the information verification method program.

[0142] See also Figure 4 , the present application proposes a robot, the robot includes a processor 1001, a communication bus 1002 and a memory 1003. The processor 1001 can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 1001 or the instruction in the form of software. The above-mentioned processor 1001 can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 1003, and the processor 1001 reads the information in the memory 1003 through the communication bus 1002, and completes the steps of the above method in combination with its hardware.

[0143] It can be understood that the memory 1003 in the embodiment of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct RAM bus random access memory (DRRAM). The memory 1003 of the system and method described in the embodiments of the present application is intended to include but is not limited to these and any other suitable types of memory.

[0144] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0145] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0146] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0147] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0148] It should be noted that in the claims, any reference signs placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The present application may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order.

[0149] These words can be interpreted as names.

[0150] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0151] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. An information verification method, applied to a first terminal, characterized in that: The information verification method comprises: When receiving a verification request from a second terminal requesting information verification, sending a target verification algorithm and verification information corresponding to the verification request to the second terminal, including: when receiving a verification request from a second terminal requesting information verification, obtaining verification information input by a user; placing a target information address at a reserved position in a verification algorithm, updating the verification algorithm, and obtaining the target verification algorithm; sending the target verification algorithm and the verification information to the second terminal for the second terminal to perform information verification, wherein the verification request carries the target information address; Receiving a target verification result obtained by the second terminal through the target verification algorithm and the verification information, including: when the second terminal receives the target verification algorithm, triggering the execution of the target verification algorithm at the second terminal; wherein the target verification algorithm includes a verification algorithm, a comparison algorithm and a feedback algorithm, and when executing the verification algorithm, a first verification number is obtained; when executing the comparison algorithm, the target comparison information corresponding to the target information address is obtained, and the comparison and verification are performed with the verification information to obtain a comparison result; when executing the feedback algorithm, the first verification number and the comparison result are combined to form the target verification result, and the target verification result is sent to the first terminal; receiving the target verification result obtained by the second terminal by executing the target verification algorithm; Information verification is performed according to the target verification result, including: parsing the target verification result to obtain a first check digit and a comparison result; executing the verification algorithm to obtain a second check digit, and determining whether to use the comparison result for verification based on the first check digit and the second check digit.

2. The information verification method according to claim 1, characterized in that: The verification algorithm is a function with time as an input value, used to obtain the system time when the verification algorithm is executed, and calculate the system time to obtain the verification number; Executing the verification algorithm to obtain a second verification number, and determining whether to use the comparison result for verification according to the first verification number and the second verification number, comprising: Acquire a first system time when a target verification algorithm and the verification information are sent to the second terminal; Calculate the first system time based on the verification algorithm to obtain the second verification number; If the difference between the first check number and the second check number is within a preset difference range, determining to use the comparison result for verification, wherein when the second terminal executes the verification algorithm, a second system time for executing the verification algorithm is obtained, and the second system time is calculated based on the verification algorithm to obtain the first check number, and the comparison result includes verification passed and verification failed; Otherwise, the comparison result is not used for verification, and the verification result is failure.

3. The information verification method according to claim 2, characterized in that: The determining to verify with the comparison result comprises: Determine a verification result according to the comparison result; If the comparison result is verification passed, the verification result is passed; If the comparison result is that the verification fails, the verification result is failed.

4. The information verification method according to any one of claims 1 to 3, characterized in that: The first terminal is a mobile service robot, and the second terminal is a handheld terminal of a user.

5. A first terminal information verification device, characterized in that: Applied to a first terminal, the first terminal information verification device includes: The sending module, upon receiving a verification request from a second terminal requesting information verification, sends a target verification algorithm and verification information corresponding to the verification request to the second terminal, including: upon receiving a verification request from a second terminal requesting information verification, obtaining verification information input by a user; placing a target information address at a reserved position in a verification algorithm, updating the verification algorithm, and obtaining the target verification algorithm; sending the target verification algorithm and the verification information to the second terminal for the second terminal to perform information verification, wherein the verification request carries the target information address; A receiving module, receiving a target verification result obtained by the second terminal through the target verification algorithm and the verification information, including: when the second terminal receives the target verification algorithm, triggering the execution of the target verification algorithm at the second terminal; wherein the target verification algorithm includes a verification algorithm, a comparison algorithm and a feedback algorithm, and when executing the verification algorithm, a first verification number is obtained; when executing the comparison algorithm, the target comparison information corresponding to the target information address is obtained, and the comparison and verification are performed with the verification information to obtain a comparison result; when executing the feedback algorithm, the first verification number and the comparison result are combined to form the target verification result, and the target verification result is sent to the first terminal; receiving the target verification result obtained by the second terminal by executing the target verification algorithm; The verification module performs information verification according to the target verification result, including: parsing the target verification result to obtain a first check digit and a comparison result; executing the verification algorithm to obtain a second check digit, and determining whether to use the comparison result for verification according to the first check digit and the second check digit.

6. A robot, characterized in that: The robot comprises: a memory, a processor, and an information verification program stored in the memory and executable on the processor, wherein the information verification program implements the steps of the information verification method according to any one of claims 1 to 4 when executed by the processor.

7. A computer storage medium, characterized in that: The computer storage medium stores an information verification program, and when the information verification program is executed by the processor, the steps of the information verification method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Method for verifying idle storage space, storage terminal, verification terminal and system

    CN108647095A

  • Evidence verification method, system and device, equipment and readable storage medium

    CN110490599A