Verification information processing method and device, terminal equipment and storage medium
1. A check information processing method is applied to a first device, and comprises the following steps:
in response to entering a verification scene for executing a predetermined function, sending request information to the second device;
receiving response information returned based on the request information;
writing verification information carried by the response information into an input position of the verification information; and writing verification information of the input position for the first equipment to verify whether the predetermined function is executed or not.
2. The method of claim 1, wherein sending the request message to the second device in response to entering a verification scenario for performing the predetermined function, further comprises:
in response to entering a checking scene for executing a preset function, determining whether the second device is a device which has established a preset association relationship with the first device;
and responding to the second equipment which is the equipment with the association relation established with the first equipment, and sending request information to the second equipment.
3. The method of claim 2, wherein the determining whether the second device is a device with which an association relationship is established with the first device comprises:
determining whether the second device is a device sharing an account with the first device;
alternatively, the first and second electrodes may be,
determining whether the first device has started a check information synchronization function for the second device.
4. The method of claim 3, further comprising:
responding to the fact that the second equipment is not equipment sharing the account with the first equipment and the first equipment does not start a verification information synchronization function aiming at the second equipment, and displaying a starting prompt of the verification information synchronization function;
and detecting an input operation aiming at the starting prompt, and determining whether to start the verification information synchronization function of the first equipment aiming at the second equipment.
5. The method of any of claims 1 to 4, wherein sending a request message to the second device in response to entering a verification scenario for performing the predetermined function comprises:
determining whether the first device and the first device have established a connection before sending a request message to the second device;
sending the request information to the second device through the connection in response to the first device having established a connection with the second device.
6. The method of any of claims 1 to 4, wherein the verification scenario for performing the predetermined function comprises at least one of:
a verification scenario for application installation;
a checking scene of equipment networking;
a verification scenario for payment;
a verification scenario of account information change, wherein the account information change includes: account name change and/or password change;
checking a login scene;
and (4) a verification scene established by the group.
7. The method according to any one of claims 1 to 4, wherein the first device is: a device not having a subscriber identity module installed; the second device is: a device equipped with a subscriber identity module;
the identification information of the subscriber identity module of the second device is: and the identification information is acquired in the checking scene.
8. A check information processing method is applied to a second device, and comprises the following steps:
receiving verification information;
receiving request information sent by first equipment;
and sending response information carrying the verification information to the first equipment based on the request information, wherein the verification information is used by the first equipment for verifying whether the first equipment executes a preset function.
9. The method of claim 8, further comprising:
determining whether the first device is a device which establishes an association relationship with the second device;
the sending, to the first device, response information carrying the verification information based on the request information includes:
and sending the response information carrying the verification information to the first equipment based on the request information in response to the first equipment being the equipment which has established the association relation with the second equipment.
10. The method of claim 9, wherein the determining whether the first device is a device with which an association relationship is established with the second device comprises at least one of:
determining whether the first device is a device sharing an account with the second device;
determining whether the second device has started a check information synchronization function for the first device.
11. The method of claim 10, further comprising:
responding to the fact that the first equipment is not equipment sharing an account with the second equipment and the second equipment does not start the verification information synchronization function aiming at the first equipment, and displaying a starting prompt of the verification information synchronization function;
and detecting an input operation aiming at the starting prompt, and determining whether to start the verification information synchronization function of the second equipment aiming at the first equipment.
12. A verification information processing apparatus, applied to a first device, the apparatus comprising:
the first sending module is used for responding to a checking scene for executing a preset function and sending request information to the second equipment;
the first receiving module is used for receiving response information returned based on the request information;
the writing module is used for writing the verification information carried by the response information into the input position of the verification information; and writing verification information of the input position for the first equipment to verify whether the predetermined function is executed or not.
13. The apparatus of claim 12, wherein the first sending module comprises:
the determining submodule is used for determining whether the second equipment is equipment which establishes a preset association relation with the first equipment or not in response to entering a checking scene for executing a preset function;
and the sending submodule is used for responding to the second equipment which is the equipment with the association relation established with the first equipment and sending request information to the second equipment.
14. The apparatus according to claim 13, wherein the determining sub-module is configured to determine whether the second device is a device sharing an account with the first device; or, determining whether the first device has started a check information synchronization function for the second device.
15. The apparatus of claim 14, further comprising:
the first display module is used for responding to the fact that the second equipment is not equipment sharing the account with the first equipment, and the first equipment does not start a verification information synchronization function aiming at the second equipment, and displaying a start prompt of the verification information synchronization function;
and the first determination module is used for detecting the input operation aiming at the starting prompt and determining whether the verification information synchronization function of the first equipment aiming at the second equipment is started or not.
16. The apparatus according to any one of claims 12 to 15, wherein the first sending module is configured to determine whether the first device and the first device have established a connection before sending the request message to the second device; sending the request information to the second device through the connection in response to the first device having established a connection with the second device.
17. The apparatus of any of claims 12 to 15, wherein the verification scenario for performing the predetermined function comprises at least one of:
a verification scenario for application installation;
a checking scene of equipment networking;
a verification scenario for payment;
a verification scenario of account information change, wherein the account information change includes: account name change and/or password change;
checking a login scene;
and (4) a verification scene established by the group.
18. The apparatus according to any one of claims 12 to 15, wherein the first device is: a device not having a subscriber identity module installed; the second device is: a device equipped with a subscriber identity module;
the identification information of the subscriber identity module of the second device is: and the identification information is acquired in the checking scene.
19. A verification information processing apparatus, applied to a second device, the apparatus comprising:
a second receiving module for receiving the verification information and
receiving request information sent by first equipment;
and a second sending module, configured to send, to the first device, response information carrying the verification information based on the request information, where the verification information is used by the first device to check whether the first device executes a preset function.
20. The apparatus of claim 19, further comprising:
a second determining module, configured to determine whether the first device is a device that has established an association relationship with the second device;
the sending, to the first device, response information carrying the verification information based on the request information includes:
and sending the response information carrying the verification information to the first equipment based on the request information in response to the first equipment being the equipment which has established the association relation with the second equipment.
21. The apparatus of claim 20, wherein the second determining module is specifically configured to perform at least one of:
determining whether the first device is a device sharing an account with the second device;
determining whether the second device has started a check information synchronization function for the first device.
22. The apparatus of claim 21, further comprising:
the second display module is used for responding to the situation that the first equipment is not equipment sharing an account with the second equipment and the second equipment does not start the verification information synchronization function aiming at the first equipment, and displaying a start prompt of the verification information synchronization function;
and the starting module is used for detecting the input operation aiming at the starting prompt and determining whether the verification information synchronization function of the second equipment aiming at the first equipment is started or not.
23. A terminal device, comprising:
a memory for storing processor-executable instructions;
a processor coupled to the memory;
wherein the processor is configured to perform the information processing method as provided in any one of claims 1 to 7 or 8 to 11.
24. A non-transitory computer-readable storage medium in which instructions, when executed by a processor of a computer, enable the computer to perform the information processing method provided in any one of claims 1 to 7 or 8 to 11.
Background
With the development of electronic technology, the functions of terminal devices are becoming more powerful, and terminal devices can perform various functions. However, there are some functions related to information security and property security of users, and it is generally necessary to perform verification or the like in combination with a short message when performing the functions related to information security and/or property security. After the check passes, the relevant operation is executed. However, various problems of inconvenient verification may occur in the using process of the user, and the problems of poor intelligence of the terminal equipment, large verification delay and poor user experience appear.
Disclosure of Invention
The disclosure provides a verification information processing method and device, a terminal device and a storage medium.
A first aspect of the embodiments of the present disclosure provides a verification information processing method, which is applied to a first device, and the method includes:
in response to entering a verification scene for executing a predetermined function, sending request information to the second device;
receiving response information returned based on the request information;
writing verification information carried by the response information into an input position of the verification information; and writing verification information of the input position for the first equipment to verify whether the predetermined function is executed or not.
Based on the above scheme, the sending request information to the second device in response to entering a checking scenario for executing a predetermined function further includes:
in response to entering a checking scene for executing a preset function, determining whether the second device is a device which has established a preset association relationship with the first device;
and responding to the second equipment which is the equipment with the association relation established with the first equipment, and sending request information to the second equipment.
Based on the above scheme, the determining whether the second device is a device having established an association relationship with the first device includes:
determining whether the second device is a device sharing an account with the first device;
alternatively, the first and second electrodes may be,
determining whether the first device has started a check information synchronization function for the second device.
Based on the above scheme, the method further comprises:
responding to the fact that the second equipment is not equipment sharing the account with the first equipment and the first equipment does not start a verification information synchronization function aiming at the second equipment, and displaying a starting prompt of the verification information synchronization function;
and detecting an input operation aiming at the starting prompt, and determining whether to start the verification information synchronization function of the first equipment aiming at the second equipment.
Based on the above scheme, the sending request information to the second device in response to entering a checking scenario for executing a predetermined function includes:
determining whether the first device and the first device have established a connection before sending a request message to the second device;
sending the request information to the second device through the connection in response to the first device having established a connection with the second device.
Based on the above scheme, the checking scenario for executing the predetermined function includes at least one of:
a verification scenario for application installation;
a checking scene of equipment networking;
a verification scenario for payment;
a verification scenario of account information change, wherein the account information change includes: account name change and/or password change;
checking a login scene;
and (4) a verification scene established by the group.
Based on the above scheme, the first device is: a device not having a subscriber identity module installed; the second device is: a device equipped with a subscriber identity module;
the identification information of the subscriber identity module of the second device is: and the identification information is acquired in the checking scene.
A second aspect of the embodiments of the present disclosure provides a verification information processing method, which is applied to a second device, and the method includes:
receiving verification information;
receiving request information sent by first equipment;
and sending response information carrying the verification information to the first equipment based on the request information, wherein the verification information is used by the first equipment for verifying whether the first equipment executes a preset function.
Based on the above scheme, the method further comprises:
determining whether the first device is a device which establishes an association relationship with the second device;
the sending, to the first device, response information carrying the verification information based on the request information includes:
and sending the response information carrying the verification information to the first equipment based on the request information in response to the first equipment being the equipment which has established the association relation with the second equipment.
Based on the above scheme, the determining whether the first device is a device with which an association relationship has been established with the second device includes at least one of:
determining whether the first device is a device sharing an account with the second device;
determining whether the second device has started a check information synchronization function for the first device.
Based on the above scheme, the method further comprises:
responding to the fact that the first equipment is not equipment sharing an account with the second equipment and the second equipment does not start the verification information synchronization function aiming at the first equipment, and displaying a starting prompt of the verification information synchronization function;
and detecting an input operation aiming at the starting prompt, and determining whether to start the verification information synchronization function of the second equipment aiming at the first equipment.
A third aspect of the embodiments of the present disclosure provides a verification information processing apparatus, which is applied to a first device, and includes:
the first sending module is used for responding to a checking scene for executing a preset function and sending request information to the second equipment;
the first receiving module is used for receiving response information returned based on the request information;
the writing module is used for writing the verification information carried by the response information into the input position of the verification information; and writing verification information of the input position for the first equipment to verify whether the predetermined function is executed or not.
Based on the above scheme, the first sending module includes:
the determining submodule is used for determining whether the second equipment is equipment which establishes a preset association relation with the first equipment or not in response to entering a checking scene for executing a preset function;
and the sending submodule is used for responding to the second equipment which is the equipment with the association relation established with the first equipment and sending request information to the second equipment.
Based on the above scheme, the determining whether the second device is a device having established an association relationship with the first device includes:
determining whether the second device is a device sharing an account with the first device;
alternatively, the first and second electrodes may be,
determining whether the first device has started a check information synchronization function for the second device.
Based on the above scheme, the apparatus further comprises:
the first display module is used for responding to the fact that the second equipment is not equipment sharing the account with the first equipment, and the first equipment does not start a verification information synchronization function aiming at the second equipment, and displaying a start prompt of the verification information synchronization function;
and detecting an input operation aiming at the starting prompt, and determining whether to start the verification information synchronization function of the first equipment aiming at the second equipment.
Based on the above scheme, the first sending module is configured to determine whether the first device and the first device have established a connection before sending the request message to the second device; sending the request information to the second device through the connection in response to the first device having established a connection with the second device.
Based on the above scheme, the checking scenario for executing the predetermined function includes at least one of:
a verification scenario for application installation;
a checking scene of equipment networking;
a verification scenario for payment;
a verification scenario of account information change, wherein the account information change includes: account name change and/or password change;
checking a login scene;
and (4) a verification scene established by the group.
Based on the above scheme, the first device is: a device not having a subscriber identity module installed; the second device is: a device equipped with a subscriber identity module;
the identification information of the subscriber identity module of the second device is: and the identification information is acquired in the checking scene.
A fourth aspect of the embodiments of the present disclosure provides a verification information processing apparatus, which is applied to a second device, and includes:
the second receiving module is used for receiving the verification information and receiving the request information sent by the first equipment;
and a second sending module, configured to send, to the first device, response information carrying the verification information based on the request information, where the verification information is used by the first device to check whether the first device executes a preset function.
Based on the above scheme, the apparatus further comprises:
a second determining module, configured to determine whether the first device is a device that has established an association relationship with the second device;
the sending, to the first device, response information carrying the verification information based on the request information includes:
and sending the response information carrying the verification information to the first equipment based on the request information in response to the first equipment being the equipment which has established the association relation with the second equipment.
Based on the foregoing solution, the second determining module is specifically configured to execute at least one of:
determining whether the first device is a device sharing an account with the second device;
determining whether the second device has started a check information synchronization function for the first device.
Based on the above scheme, the apparatus further comprises:
the second display module is used for responding to the situation that the first equipment is not equipment sharing an account with the second equipment and the second equipment does not start the verification information synchronization function aiming at the first equipment, and displaying a start prompt of the verification information synchronization function;
and detecting an input operation aiming at the starting prompt, and determining whether to start the verification information synchronization function of the second equipment aiming at the first equipment.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a terminal device including:
a memory for storing processor-executable instructions;
a processor coupled to the memory;
wherein the processor is configured to perform the verification information processing method as described above.
According to a sixth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of a computer, enable the computer to perform the verification information processing method as described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
after the first device enters a verification scene, if verification information needs to be received by the second device, request information requesting verification information is actively sent to the second device, and therefore the second device can return the verification information received by the second device to the first device based on the request information without finding the second device, the verification information received by the second device is clicked, and the verification information is manually input to an input position of the verification information of the first device; therefore, according to the scheme provided by the embodiment of the disclosure, through high-rate data transmission between the first device and the second device, the check information of the first device is written, the check rate of the first device is improved, and the user operation in the check process of the first device is simplified.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic flow diagram illustrating a verification information processing method according to an exemplary embodiment;
FIG. 2 is a schematic flow diagram illustrating a verification information processing method according to an exemplary embodiment;
FIG. 3A is a flow diagram illustrating a verification information processing method according to an exemplary embodiment;
FIG. 3B is a flow diagram illustrating a verification information processing method according to an exemplary embodiment;
FIG. 4 is a flow diagram illustrating a verification information processing method according to an exemplary embodiment;
fig. 5 is a schematic configuration diagram of a verification information processing apparatus according to an exemplary embodiment;
fig. 6 is a schematic configuration diagram illustrating a verification information processing apparatus according to an exemplary embodiment;
fig. 7 is a schematic structural diagram of a terminal device shown according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of devices consistent with certain aspects of the present disclosure, as detailed in the appended claims.
As shown in fig. 1, an embodiment of the present disclosure provides a verification information processing method, which is applied to a first device, and the method includes:
s110: in response to entering a verification scene for executing a predetermined function, sending request information to the second device;
s120: receiving response information returned based on the request information;
s130: writing verification information carried by the response information into an input position of the verification information; and writing verification information of the input position for the first equipment to verify whether the predetermined function is executed or not.
The first device herein may be various electronic devices, and may illustratively include various smart home devices, wearable devices, tablet computers, or smart office devices.
In one embodiment, the first device may be a device lacking a functional module that directly receives the verification information; and the second device is a device having a functional module for receiving the verification information. Illustratively, the first device may be a Subscriber Identity Module (SIM) lacking device. The subscriber identity module can be a subscriber identity module comprising a physical card, and can also be an electronic eSIM; the SIM may also include a USIM or a miroSIM, etc., depending on the model of the subscriber identity module. In summary, in the disclosed embodiments, the SIM may be a functional module of a device connected to cellular mobile communications. At this time, the check information may be issued in a form of a short message.
Illustratively, the first device is: a device not having a subscriber identity module installed; the second device is: a device equipped with a subscriber identity module; the identification information of the subscriber identity module of the second device is: and the identification information is acquired in the checking scene.
In another embodiment, the first device may also be a functional module capable of receiving the verification information, but determines, according to the input information of the verification interface where the verification scene is located, that the device receiving the verification information is the second device.
The verification information may specifically include at least one of the following:
a check code composed of one or more character strings;
an authorization token;
check links with a check function, etc.
In the embodiment of the present disclosure, the predetermined function may be a function that needs to perform verification. Illustratively, the preset functions include, but are not limited to, the following functions:
installing an application program;
unloading the application program;
a payment function;
logging in a specific application;
a transfer function;
and a loan application function.
In the embodiment of the present disclosure, when a checking scenario for executing a predetermined function is entered, the first device acquires information such as a communication identifier of the second device.
Illustratively, in a checking scene entering the predetermined function, a checking interface is displayed, and a communication identifier of the second device, which is input by a user, is received from the human-computer interaction interface at the checking interface, for example, a mobile phone number of the second device, and the like.
Further illustratively, after entering a verification scene of the predetermined scene, displaying a verification interface; the first equipment displays the alternative communication identifier by using a first display parameter at the input position of the input communication identifier of the verification interface according to historical verification operation, and switches the display parameter of the alternative communication identifier from the first display parameter to a second display parameter after the selection operation is detected, wherein the communication identifier of the second equipment is the communication identifier of the second equipment after the display parameter is switched to the second display parameter. The first display parameter and the second display parameter herein may be: different brightness parameters and different gray values; or different color values.
In some embodiments, the communication identifier may also be a mail address, and is not limited to the communication identifier such as the mobile phone number.
After the first device sends the request message to the second device, response information returned by the second device based on the request message is received.
If the second device successfully receives the verification information, the verification server corresponding to the verification scene sends the verification information to the second device; the second device sends the response information to the first device. In this way, the first device acquires the verification information from the second device. In this way, the first device can automatically write the verification information to the input location of the verification information without the need for manual filling by the user.
Once the verification information is written into the input position, the first device automatically executes triggering operation for starting verification, and starts to execute verification operation of the verification information. Illustratively, the first device performs information interaction on the verification information obtained from the input position with a verification server, and sends the verification information written into the input position to the verification server according to a format given by the verification server for the verification server to perform information verification authentication.
The triggering operation of the verification start here includes: and determining the corresponding operation of the control, starting the control, checking the control or finishing the control and the like of the input position of the checking information. When a user operation acting on these controls is detected, this corresponds to a trigger for starting verification based on the user operation.
In one embodiment, the first device may run a script that simulates user operation; after writing the verification information to the input location, a corresponding script is executed to trigger verification to begin.
In another embodiment, in some verification scenarios, the verification start may be triggered automatically as long as no further input is made within a preset time period after the verification information is written. If in such a checking scene, the first device waits for a preset time period after writing the checking information read from the second device into the input location through the operation of program codes such as scripts, and the like, the first device automatically starts checking.
In summary, in the embodiment of the present disclosure, if the verification information of the first device needs to be received by the second device, the first device automatically requests the second device and synchronizes to the first device, and the verification information is automatically input to the position to be input without being manually filled by the user, so that the user operation is simplified, the problems of verification delay and the like caused by the fact that the user needs to find the second device and manually input the second device due to the fact that the second device is not at the hand of the user are reduced, and the intelligence and the user experience of the device are improved.
In the embodiment of the disclosure, in order to ensure the security of information interaction and reduce leakage of verification information, the information interaction between the first device and the second device is implemented in the form of control signaling. Illustratively, the request information sent by the first device to the second device is sent in the form of a signaling word; and the response information received by the first device from the second device is also sent in the form of a signaling word. Based on the interaction of the signaling words, the first device and the second device are required to acquire the coding and decoding rules of the signaling words in advance, so that under the condition that the coding and decoding rules of the signaling words are not known, other devices monitor the signaling words where the verification information is located, and the verification information cannot be directly acquired, so that the safety of the verification information is improved.
In some embodiments, as shown in fig. 2, the S110 may include:
s111: in response to entering a checking scene for executing a preset function, determining whether the second device is a device which has established a preset association relationship with the first device;
s112: and responding to the second equipment which is the equipment with the association relation established with the first equipment, and sending request information to the second equipment.
In the embodiment of the present disclosure, in order to ensure the security of the check information of the first device and/or facilitate the first device to receive the check information from the second device, it is determined whether the second device is a device that establishes an association with the first device, and if the second device is a device that already establishes an association, the first device may directly send the request information to the second device, otherwise, the request information may not be sent or the request information may be sent temporarily.
There are various ways of establishing the relationship between the second device and said first device, and several alternative embodiments are provided for exemplifying the following:
the optional items are as follows: the second device has stored device information with the first device;
option two: the second equipment and the first equipment are registered at a server and are established with a binding relationship;
optional items three: the first equipment opens a verification information synchronization function to the second equipment, and/or the second equipment opens the verification information synchronization function to the first equipment;
option four: the first device and the second device are devices sharing an account.
If one or more of the above alternatives are satisfied, the second device and the first device may be considered devices having an association relationship with each other.
Of course, the above is only an example of establishing a relationship between the first device and the second device, and the specific implementation time is not limited to any example described above.
The determining whether the second device is a device sharing an account with the first device includes at least one of:
determining whether the second device and the first device are devices sharing a user account;
determining whether the second device and the first device are devices sharing a network account of a private network;
determining whether the second device and the first device are devices sharing a payment account.
For example, when a user account is set, account sharing may be performed to realize unified control or facilitate the user account sharing, so that a device manufacturer can see that the device belongs to one user account.
For example, a mobile phone of millet, a wearable device of millet, a home device of millet, and the same user account of the millet user may be used.
Illustratively, the second device and the first device can both access the network via WiFi, and the private network is a non-public network, and is not a network in which any device can log in without a secret. If two devices are connected to the network through the same private network, the two devices share the network account of the private network, that is, the two devices can trust each other. The security of a private network is higher than that of a public network.
For example, in a home, a mobile phone of a user and smart home equipment use WiFi accounts in the same home, and at this time, the WiFi account is one of accounts shared by the first equipment and the second equipment.
In some embodiments, both the first device and the second device may execute some functions that require payment, and if the first device and the second device are bound with the same payment account, the two devices may also be considered as devices that establish a relationship.
For example, two devices of the same user may be bound to the same bank card number, or payment account number of the internet platform. The internet platform payment account here includes but is not limited to: a payment account number, a Jingdong payment account number and/or a WeChat payment account number, etc.
In a scene of sharing a network account and/or a payment account, even if two devices do not belong to the same user, the two users belonging to a family and/or a lover may automatically determine that the first device and the second device have an association relationship due to the sharing of the network account and/or the payment account; therefore, the application range of the verification information processing method provided by the embodiment of the disclosure is expanded.
Whether a shared account exists between the first device and the second device can be achieved through information interaction. For example, the first device and the second device may interact with at least one account used by at least one party before formally interacting the verification information.
In another embodiment, if two devices sharing the same account number also store device information of the other device in advance, it may be determined whether the current first device and the second device are the two devices sharing the account number according to the device information of the other device. In an exemplary manner, the first and second electrodes are,
in some embodiments, the priority of the determining whether the second device is a device sharing an account with the first device may be higher than the priority of determining whether the first device has started an association between check information synchronization functions for the second device.
The starting of the function of synchronizing the verification information is a supplement for establishing the association between the two devices. For example, when two devices do not have a shared account or are inconvenient to share an account, another device needs to be used for verification, which may be implemented by using a verification information synchronization function, and the second device receives verification information on behalf of the first device and forwards the verification information to the first device.
The method further comprises the following steps:
responding to the fact that the second equipment is not equipment sharing the account with the first equipment and the first equipment does not start a verification information synchronization function aiming at the second equipment, and displaying a starting prompt of the verification information synchronization function;
and detecting an input operation aiming at the starting prompt, and determining whether to start the verification information synchronization function of the first equipment aiming at the second equipment.
If the first device automatically detects that the second device does not share the account with the first device and does not start the verification information synchronization function, a start prompt of the verification information synchronization function is displayed, and if the input operation indicating that the user agrees to start is detected, the first device and the second device automatically start the verification information synchronization function. After the verification information synchronization function is started, an association relationship is established between the first device and the second device.
The turn-on prompt here may be: and prompting to start prompt information of the first equipment aiming at the verification information synchronization function of the second equipment. The opening prompt may be an opening prompt output in a dialog box form, an opening prompt output in a pull-down menu form, or the like. In short, the specific form of the start prompt is various, and is not limited herein.
In some embodiments, the establishment of the association relationship by turning on the verification information synchronization function may be a permanent association relationship, i.e., the association relationship is maintained by default if no detection is detected that indicates that the user explicitly instructs to release the association relationship. Therefore, the two devices do not need to be started again after the verification information synchronization function is started once.
In other embodiments, the establishment of the association relationship by starting the verification information synchronization function may be performed at one time, that is, after the synchronization of the verification information is completed, the start of the verification information synchronization function is automatically disabled, two devices which do not share an account number and the like and establish the association relationship in other manners need to synchronize the verification information again, and the establishment of the association relationship by starting the verification information synchronization function needs to be started again.
In other embodiments, the establishment of the association relationship by starting the verification information synchronization function may be continued for a period of time, during which the association relationship is established between the devices having the verification information synchronization function, and after the period of time, the association relationship between the two devices is ended.
The detecting an input operation for the start prompt and determining whether to start the check information synchronization function of the first device for the second device includes:
in response to the input operation being a first operation indicating that the verification information synchronization function is allowed to be started, starting a verification information synchronization function of the first device for a second device;
and/or the presence of a gas in the gas,
and in response to the input operation being a second operation indicating that the start of the verification information synchronization function is prohibited, not starting the verification information synchronization function of the first device for the second device and stopping the display of the start prompt.
If the verification information synchronization function is forbidden to be started, the user can wait for manually inputting verification information for verification.
In some embodiments, the S110 may include:
determining whether the first device and the first device have established a connection before sending a request message to the second device;
sending the request information to the second device through the connection in response to the first device having established a connection with the second device.
Here, the connection between the first Device and the second Device may be a direct connection, i.e. a connection established over different networks, exemplarily a bluetooth connection between the first Device and the second Device, a WiFi direct connection between the first Device and the second Device, and/or a Device To Device (D2D) connection between the first Device and the second Device. If a connection is established between the first device and the second device, the first device and the second device can exchange information through the connection, so that the first device can successfully acquire the verification information from the second device. By adopting the mode, when the verification information is interacted between the first equipment and the second equipment, the verification information is not transmitted through the network, so that the possibility of leakage is reduced, and the safety of the verification information is improved.
In some embodiments, the connection between the first device and the second device may also be a network connection of a network, and if the connection is made through the network, the first device and the second device may negotiate a key before formally transmitting the verification information, so as to improve a transmission success rate of the verification information.
In other embodiments, the first device and the second device may not establish a connection, and the distance between two devices sharing an account is not too far, or the distance between two devices specifically turning on the check information function is not too far, and the first device and the second device may broadcast the request check information and the broadcast reception check information directly on various broadcast channels of wireless communication, such as a WiFi broadcast channel or a bluetooth broadcast channel. Of course, the information is transmitted and received in a broadcast manner, and in order to ensure the information security, the method may further include: the first equipment can be positioned according to the first equipment, and the verification information is interacted through a broadcasting mode when the first equipment is determined to be in a private space. The private space herein includes, but is not limited to: in a home, office, or private car.
In some embodiments, the verification scenario for performing the predetermined function includes, but is not limited to, at least one of:
a verification scenario for application installation;
a checking scene of equipment networking;
a verification scenario for payment;
a verification scenario of account information change, wherein the account information change includes: account name change and/or password change;
checking a login scene;
and (4) a verification scene established by the group.
Exemplary scenarios for login may include: a bank APP login scene, a social account login scene with a payment function, and the like.
In short, the above is only an example of the verification scenario, and other verification scenarios exist in the specific implementation process, which is not necessarily exemplified here.
As shown in fig. 3A, a verification information processing method according to an embodiment of the present disclosure is applied to a second device, and the method includes:
s210: receiving verification information;
s220: receiving request information sent by first equipment;
s230: and sending response information carrying the verification information to the first equipment based on the request information, wherein the verification information is used by the first equipment for verifying whether the first equipment executes a preset function.
The second device in the embodiment of the present disclosure may be any terminal device capable of receiving the verification information, for example, a mobile phone.
For example, the verification information may be sent by instant messaging software such as short message, mail, or WeChat.
In some embodiments, as shown in fig. 3B, the method further comprises:
s200: determining whether the first device is a device which establishes an association relationship with the second device;
the S230 may include: and sending the response information carrying the verification information to the first equipment based on the request information in response to the first equipment being the equipment which has established the association relation with the second equipment.
In the embodiment of the present disclosure, in order to ensure the security of the check information, before sending the check information to the first device, it is determined whether an association relationship has been established between the first device and the second device, if the association relationship has been established, response information carrying the check information is sent to the first device based on the request information, otherwise, response information not carrying the check information may be sent.
In some embodiments, the S200 may include at least one of:
determining whether the first device is a device sharing an account with the second device;
determining whether the second device has started a check information synchronization function for the first device.
In this embodiment of the present disclosure, whether the first device is a device of which the second device shares an account is determined.
In the embodiment of the present disclosure, it may be determined whether the first device is a device sharing an account with the second device, and the determination may be performed through information interaction and/or predetermined device information sharing the account.
The accounts shared here may include the foregoing: at least one of a user account, a network account, and/or a payment account.
In some embodiments, it is determined that at least one of the first device and the second device has started the check information synchronization function to determine the association relationship established between the first device and the second device, or when both have started the check information synchronization function, it is determined that the association relationship established between the first device and the second device.
In some embodiments, the method further comprises:
responding to the fact that the first equipment is not equipment sharing an account with the second equipment and the second equipment does not start the verification information synchronization function aiming at the first equipment, and displaying a starting prompt of the verification information synchronization function;
and detecting an input operation aiming at the starting prompt, and determining whether to start the verification information synchronization function of the second equipment aiming at the first equipment.
In some embodiments, when the first device is not a device of the second device sharing the account, and the second device does not start the teaching and research information synchronization function with respect to the first device, the second device may display a start prompt of the verification information synchronization function, and if an input operation indicating that the start is approved is detected, the establishment of the association relationship between the first device and the second device is achieved by starting the verification information synchronization function. In some embodiments, after receiving the request information sent by the first device, the second device determines that the first device is not a device sharing an account with the second device and has not started the verification information synchronization function for the first device, and then displays a start prompt of the verification information synchronization function.
Application scenarios: in the large background of the internet, terminal devices are more and more diversified, and more terminal devices are owned by individuals or families, for example: tablet personal computer (PAD), Personal Computer (PC), smart Television (TV), bracelet, watch, etc., most of these devices do not have SIM/USIM carrier, and supported applications are various or partially the same. This can lead to tedious cross-carrier device verification and even waste of time. Examples are: a certain learning application program is installed in a PAD device, when a check code needs to be input, a mobile phone needs to be found, when the check code is issued to the mobile phone by a network, after unlocking and checking, the application on the PAD is manually output, and then the checking process is carried out. A series of processes are very complex and tedious, so the embodiment of the disclosure aims to solve the problem of optimizing a related scenario scheme.
In view of this, an embodiment of the present disclosure provides a method for processing verification information, which includes:
and S410, networking the multiple devices, and entering an application program checking scene. The application verification scenario herein may include at least: a verification scenario for application installation. In other embodiments, the application verification scenario may further include: a verification scenario for application uninstallation and/or a verification scenario for application update.
S420, determining whether the same account number exists between the devices, namely determining whether the multiple devices share the account number; if yes, go to S430; if not, entering S440;
s430: determining whether the device is in a connected state; that is, whether two devices which need to transmit check information mutually establish connection or not; if yes, entering S470; if not, entering S460;
s440: in order to ensure the security of the private data of the user, the popup box prompts the user whether to start a one-key synchronous check function, wherein the one-key synchronous check function is one of the check information synchronization functions. In order to simplify the user operation, in the embodiment of the present disclosure, a user of the "one-touch synchronization check function" may apply a control corresponding to the "one-touch synchronization check function" to any one of two devices that need to perform check information transmission through one operation (e.g., a click operation), and then think that the check information synchronization function is started.
S450: determining whether to synchronize one key; if yes, entering S480;
s460: starting an equipment connection process;
s470: the carrier application program device (corresponding to the first device) and the SIM carrier device (corresponding to the second device) perform signaling word interaction flow processing;
s480: determining whether the device is in a connected state; if yes, entering S490; if not, entering S460;
s490: and starting a trusted interaction flow, and carrying out signaling word interaction flow processing on the carrier application program equipment and the SIM carrier equipment. The signaling word interaction process may be as follows:
the carrier application program equipment initiates a control signaling to obtain a signaling word containing the check information; illustratively, the carrier application device initiates acquiring a signaling word of a latest short message of the SIM carrier device;
the SIM carrier equipment analyzes the received signaling word and acquires content sending Response information (Response, Rsp); analyzing the Rsp by an application program carrier device; and writing the check information decoded from the Rsp into a corresponding position, for example, writing into an application program to complete a subsequent check process.
As shown in fig. 5, an apparatus for processing verification information provided in an embodiment of the present disclosure is applied to a first device, and the apparatus includes:
a first sending module 510, configured to send request information to the second device in response to entering a checking scenario for executing a predetermined function;
a first receiving module 520, configured to receive response information returned based on the request information;
a writing module 530, configured to write the verification information carried by the response information into an input position of the verification information; and writing verification information of the input position for the first equipment to verify whether the predetermined function is executed or not.
In some embodiments, the first sending module 510, the first receiving module 520, and the writing module 530 are all program modules; after being executed by the processor, the program module can be used for the first equipment to acquire the verification information from the second equipment and write the verification information into an input position of the verification information by itself.
In other embodiments, the first sending module 510, the first receiving module 520, and the writing module 530 may be all soft and hard combining modules; the soft and hard combining module can comprise various programmable arrays; the programmable array includes, but is not limited to: complex programmable arrays and/or field programmable arrays.
In still other embodiments, the first sending module 510, the first receiving module 520, and the writing module 530 may be pure hardware modules; the pure hardware modules include, but are not limited to: an application specific integrated circuit.
In some embodiments, the first sending module 510 includes:
the determining submodule is used for determining whether the second equipment is equipment which establishes a preset association relation with the first equipment or not in response to entering a checking scene for executing a preset function;
and the sending submodule is used for responding to the second equipment which is the equipment with the association relation established with the first equipment and sending request information to the second equipment.
In some embodiments, the determining sub-module is configured to determine whether the second device is a device sharing an account with the first device; or, determining whether the first device has started a check information synchronization function for the second device.
In some embodiments, the apparatus further comprises:
the first display module is used for responding to the fact that the second equipment is not equipment sharing the account with the first equipment, and the first equipment does not start a verification information synchronization function aiming at the second equipment, and displaying a start prompt of the verification information synchronization function;
and the first determination module is used for detecting the input operation aiming at the starting prompt and determining whether the verification information synchronization function of the first equipment aiming at the second equipment is started or not.
In some embodiments, the first sending module 510 is configured to determine whether the first device and the first device have established a connection before sending the request message to the second device; sending the request information to the second device through the connection in response to the first device having established a connection with the second device.
In some embodiments, the verification scenario for performing the predetermined function includes, but is not limited to, at least one of:
a verification scenario for application installation;
a checking scene of equipment networking;
a verification scenario for payment;
a verification scenario of account information change, wherein the account information change includes: account name change and/or password change;
checking a login scene;
and (4) a verification scene established by the group.
In some embodiments, the first device is: a device not having a subscriber identity module installed; the second device is: a device equipped with a subscriber identity module;
the identification information of the subscriber identity module of the second device is: and the identification information is acquired in the checking scene.
As shown in fig. 6, an embodiment of the present disclosure provides a verification information processing apparatus, which is applied to a second device, and includes:
a second receiving module 610, configured to receive the verification information and receive request information sent by the first device;
a second sending module 620, configured to send, to the first device, response information carrying the check information based on the request information, where the check information is used by the first device to check whether the first device executes a preset function.
In some embodiments, the second receiving module 610 and the second sending module 620 may be program modules; the program modules may be capable of performing the operations described above when executed by a processor.
In some embodiments, the apparatus further comprises:
a second determining module, configured to determine whether the first device is a device that has established an association relationship with the second device;
the sending, to the first device, response information carrying the verification information based on the request information includes:
and sending the response information carrying the verification information to the first equipment based on the request information in response to the first equipment being the equipment which has established the association relation with the second equipment.
In some embodiments, the second determining module is specifically configured to perform at least one of:
determining whether the first device is a device sharing an account with the second device;
determining whether the second device has started a check information synchronization function for the first device.
In some embodiments, the apparatus further comprises:
the second display module is used for responding to the situation that the first equipment is not equipment sharing an account with the second equipment and the second equipment does not start the verification information synchronization function aiming at the first equipment, and displaying a start prompt of the verification information synchronization function;
and the detection module is used for detecting the input operation aiming at the starting prompt and determining whether the verification information synchronization function of the second equipment aiming at the first equipment is started or not.
An embodiment of the present disclosure provides a terminal device, including:
a memory for storing processor-executable instructions;
a processor connected with the memory;
wherein the processor is configured to execute the verification information processing method provided by any of the foregoing technical solutions.
The processor may include various types of storage media, non-transitory computer storage media, that can continue to remember to store the information thereon after a terminal device has been powered down.
The processor may be connected to the memory via a bus or the like for reading the executable program stored on the memory, e.g. capable of performing at least one of the methods as shown in any of fig. 1, fig. 2, fig. 3A, fig. 3B to fig. 4.
Fig. 7 is a block diagram illustrating a terminal device 800 according to an example embodiment. For example, the terminal device 800 may be included in a terminal device such as a mobile phone or a mobile computer, or a device such as a server, and in short, the data processing terminal device 800 may be included in any terminal device.
Referring to fig. 7, terminal device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the terminal device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on terminal device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of terminal device 800. Power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for terminal device 800.
The multimedia component 808 includes a screen providing an output interface between the terminal device 800 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating state, such as a shooting state or a video state. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive an external audio signal when the terminal apparatus 800 is in an operating state, such as a call state, a recording state, and a voice recognition state. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor component 814 includes one or more sensors for providing various aspects of state assessment for terminal device 800. For example, sensor assembly 814 can detect the open/closed state of device 800, the relative positioning of components, such as a display and keypad of terminal device 800, sensor assembly 814 can also detect a change in the position of terminal device 800 or a component of terminal device 800, the presence or absence of user contact with terminal device 800, orientation or acceleration/deceleration of terminal device 800, and a change in the temperature of terminal device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Communication component 816 is configured to facilitate communications between terminal device 800 and other devices in a wired or wireless manner. The terminal device 800 may access a wireless network based on a communication standard, such as Wi-Fi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, communications component 816 further includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The embodiment of the present disclosure provides a non-transitory computer-readable storage medium, and when instructions in the storage medium are executed by a processor of a UE, the UE or a base station may be enabled to perform the check information processing method provided in any of the foregoing embodiments, and may be enabled to perform at least one of the methods illustrated in any of fig. 1, fig. 2, fig. 3A, fig. 3B, and fig. 4.
The verification information processing method applied to the first device may include: in response to entering a verification scene for executing a predetermined function, sending request information to the second device; receiving response information returned based on the request information; writing verification information carried by the response information into an input position of the verification information; and writing verification information of the input position for the first equipment to verify whether the predetermined function is executed or not.
It is to be understood that, in response to entering a verification scenario for executing a predetermined function, sending request information to the second device further includes:
in response to entering a checking scene for executing a preset function, determining whether the second device is a device which has established a preset association relationship with the first device;
and responding to the second equipment which is the equipment with the association relation established with the first equipment, and sending request information to the second equipment.
It is to be understood that the determining whether the second device is a device that has established an association relationship with the first device includes:
determining whether the second device is a device sharing an account with the first device;
alternatively, the first and second electrodes may be,
determining whether the first device has started a check information synchronization function for the second device.
As can be appreciated, the method further comprises:
responding to the fact that the second equipment is not equipment sharing the account with the first equipment and the first equipment does not start a verification information synchronization function aiming at the second equipment, and displaying a starting prompt of the verification information synchronization function;
and detecting an input operation aiming at the starting prompt, and determining whether to start the verification information synchronization function of the first equipment aiming at the second equipment.
It is to be understood that, in response to entering a verification scenario for performing a predetermined function, sending request information to the second device includes:
determining whether the first device and the first device have established a connection before sending a request message to the second device;
sending the request information to the second device through the connection in response to the first device having established a connection with the second device.
It is to be understood that the checking scenario for performing the predetermined function includes at least one of:
a verification scenario for application installation;
a checking scene of equipment networking;
a verification scenario for payment;
a verification scenario of account information change, wherein the account information change includes: account name change and/or password change;
checking a login scene;
and (4) a verification scene established by the group.
Based on the above scheme, the first device is: a device not having a subscriber identity module installed; the second device is: a device equipped with a subscriber identity module;
the identification information of the subscriber identity module of the second device is: and the identification information is acquired in the checking scene.
The check information processing method applied to the second device comprises the following steps: receiving verification information; receiving request information sent by first equipment; and sending response information carrying the verification information to the first equipment based on the request information, wherein the verification information is used by the first equipment for verifying whether the first equipment executes a preset function.
As can be appreciated, the method further comprises:
determining whether the first device is a device which establishes an association relationship with the second device;
the sending, to the first device, response information carrying the verification information based on the request information includes:
and sending the response information carrying the verification information to the first equipment based on the request information in response to the first equipment being the equipment which has established the association relation with the second equipment.
It is to be understood that the determining whether the first device is a device with which an association relationship has been established with the second device includes at least one of:
determining whether the first device is a device sharing an account with the second device;
determining whether the second device has started a check information synchronization function for the first device.
As can be appreciated, the method further comprises:
responding to the fact that the first equipment is not equipment sharing an account with the second equipment and the second equipment does not start the verification information synchronization function aiming at the first equipment, and displaying a starting prompt of the verification information synchronization function;
and detecting an input operation aiming at the starting prompt, and determining whether to start the verification information synchronization function of the second equipment aiming at the first equipment.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.