A method and device for displaying the same screen of a mobile terminal and an automatic teller machine
Through the same screen method between mobile terminals and ATMs, the QR code identification and verification code are used to authenticate, and the terminal token is generated to realize the same screen operation between mobile terminals and ATMs, which solves the problem of difficulty in ATM operations and improves convenience and security.
Patent Information
- Application Number
- CN202110937751.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-16
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2041-08-16
AI Technical Summary
The existing wall-through ATM screen design is not suitable for people with less than average height or need to ride in a wheelchair, resulting in difficulty in operation.
Through the same screen method between the mobile terminal and the automatic teller machine, the QR code identification and verification code are used to authenticate, and the terminal token is generated to realize the same screen operation between the mobile terminal and the ATM, which is convenient for users to control the ATM through the mobile terminal.
It solves the difficulties of height or wheelchair users in operating ATMs, improves the convenience of using ATMs, and avoids the spread of infectious diseases through contactless operation, and improves the safety of use.
Smart Images

Figure CN113625984B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method and device for displaying the same screen of a mobile terminal and an automatic teller machine. Background Art
[0002] Automated Teller Machine (ATM) can facilitate customers to withdraw cash, check deposit balances, transfer funds and other services, providing customers with convenient and fast financial services.
[0003] At present, the screens of through-the-wall ATMs are all recessed, and the height is designed based on the average height. For some people who are shorter than the average height or need to use a wheelchair, it is very inconvenient to operate the buttons on the ATM screen. Therefore, how to enable the above-mentioned customers who have difficulty in operating existing ATMs to use ATMs conveniently has become an important issue that needs to be solved in this field. Summary of the invention
[0004] In view of the problems in the prior art, an embodiment of the present invention provides a method for displaying the same screen of a mobile terminal and an ATM, which can at least partially solve the problems in the prior art.
[0005] On the one hand, the present invention provides a method for displaying the same screen of a mobile terminal and an automatic teller machine, comprising:
[0006] Receive a same-screen request sent by an automated teller machine, the same-screen request including an identification mark and a verification code; wherein the same-screen request is sent by the automated teller machine after receiving a QR code, and the identification mark and verification code included in the same-screen request are obtained by the automated teller machine parsing the QR code;
[0007] If it is determined that the verification code included in the same-screen request is the same as the verification code corresponding to the ATM, query the corresponding user identifier from the database according to the identification identifier included in the same-screen request; wherein the identification identifier and the corresponding user identifier are pre-stored in the database; and the verification code corresponding to the ATM is pre-generated;
[0008] If the corresponding user information is obtained by querying the user identifier corresponding to the identification identifier included in the same-screen request, a terminal token of the automatic teller machine is generated; wherein the user identifier and the corresponding user information are obtained in advance;
[0009] Sending a same-screen information acquisition request to the automatic teller machine, wherein the same-screen information acquisition request includes the terminal token and the user information;
[0010] Receive the same-screen information sent by the automatic teller machine, and send the same-screen information to the mobile terminal for display; wherein, the same-screen information is sent by the automatic teller machine after the terminal token verification is passed and after it is known that the user information has passed the verification.
[0011] On the other hand, the present invention provides a mobile terminal and an automatic teller machine on the same screen device, comprising:
[0012] A first receiving module is used to receive a same-screen request sent by an automatic teller machine, wherein the same-screen request includes an identification mark and a verification code; wherein the same-screen request is sent by the automatic teller machine after receiving the two-dimensional code, and the identification mark and verification code included in the same-screen request are obtained by the automatic teller machine parsing the two-dimensional code;
[0013] A first query module is used to query the corresponding user identifier from a database according to the identification identifier included in the same-screen request after determining that the verification code included in the same-screen request is the same as the verification code corresponding to the automatic teller machine; wherein the identification identifier and the corresponding user identifier are pre-stored in the database; and the verification code corresponding to the automatic teller machine is pre-generated;
[0014] A first generating module, configured to generate a terminal token of the ATM after obtaining corresponding user information according to a user identifier corresponding to the identification identifier included in the same-screen request; wherein the user identifier and the corresponding user information are obtained in advance;
[0015] A first sending module, configured to send a same-screen information acquisition request to the ATM, wherein the same-screen information acquisition request includes the terminal token and the user information;
[0016] A forwarding module is used to receive the same-screen information sent by the automatic teller machine and send the same-screen information to the mobile terminal for display; wherein, the same-screen information is sent by the automatic teller machine after the terminal token verification is passed and after it is known that the user information has passed the verification.
[0017] On the other hand, the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the method for displaying the same screen of a mobile terminal and an ATM described in any of the above embodiments are implemented.
[0018] On the other hand, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for displaying the same screen of a mobile terminal and an ATM as described in any of the above embodiments.
[0019] The method and device for displaying the same screen between a mobile terminal and an ATM provided in an embodiment of the present invention can receive a request for displaying the same screen sent by an ATM, and after determining that the verification code included in the request for displaying the same screen is the same as the verification code corresponding to the ATM, query the corresponding user identifier from the database according to the identification identifier included in the request for displaying the same screen. If the corresponding user information is obtained by querying the user identifier corresponding to the identification identifier included in the request for displaying the same screen, a terminal token of the ATM is generated, a request for obtaining the same screen information is sent to the ATM, the same screen information sent by the ATM is received, and the same screen information is sent to the mobile terminal for display, thereby realizing the same screen between the mobile terminal and the ATM, and facilitating the user to operate the ATM through the mobile terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0021] Figure 1 It is a structural diagram of a same-screen system of a mobile terminal and an ATM provided in the first embodiment of the present invention.
[0022] Figure 2 It is a flowchart of a method for displaying the same screen of a mobile terminal and an ATM provided by the second embodiment of the present invention.
[0023] Figure 3 It is a flowchart of a method for displaying the same screen of a mobile terminal and an ATM provided in the third embodiment of the present invention.
[0024] Figure 4 It is a flowchart of a method for displaying the same screen of a mobile terminal and an ATM provided in the fourth embodiment of the present invention.
[0025] Figure 5 It is a flowchart of a method for displaying the same screen of a mobile terminal and an ATM provided in the fifth embodiment of the present invention.
[0026] Figure 6 It is a flowchart of a method for displaying the same screen of a mobile terminal and an ATM provided by a sixth embodiment of the present invention.
[0027] Figure 7 It is a signaling interaction diagram of the same-screen method between a mobile terminal and an ATM provided by the seventh embodiment of the present invention.
[0028] Figure 8 It is a schematic diagram of the structure of a mobile terminal and an ATM same-screen device provided in the eighth embodiment of the present invention.
[0029] Fig. 9 It is a schematic diagram of the structure of a mobile terminal and an ATM same-screen device provided by the ninth embodiment of the present invention.
[0030] Fig.10 It is a structural diagram of a mobile terminal and an ATM same-screen device provided in the tenth embodiment of the present invention.
[0031] Fig.11 It is a structural diagram of a mobile terminal and an ATM same-screen device provided in the eleventh embodiment of the present invention.
[0032] Fig.12 It is a schematic diagram of the structure of a mobile terminal and an ATM same-screen device provided in the twelfth embodiment of the present invention.
[0033] Fig.13 It is a schematic diagram of the structure of a mobile terminal and an ATM same-screen device provided in the thirteenth embodiment of the present invention.
[0034] Fig.14 It is a schematic diagram of the physical structure of an electronic device provided in the fourteenth embodiment of the present invention. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention. It should be noted that, in the absence of conflict, the embodiments in this application and the features in the embodiments can be combined with each other arbitrarily.
[0036] Figure 1 FIG. 1 is a schematic diagram of a mobile terminal and an ATM system on the same screen provided by a first embodiment of the present invention. Figure 1 As shown, the same-screen system of a mobile terminal and an ATM provided by an embodiment of the present invention includes a server 1, at least one ATM 2 and at least one mobile terminal 3, wherein:
[0037] The server 1 is connected to each ATM 2 in communication, and the server 1 is connected to each mobile terminal 3 in communication. The ATM 2 includes but is not limited to ATMs, bank self-service terminals, deposit and withdrawal machines, etc. The mobile terminals 3 include but are not limited to smart phones, tablet computers, etc.
[0038] The server 1, as the execution subject, executes the method for displaying the same screen of the mobile terminal and the ATM provided in the embodiment of the present invention, which can realize the display of the same screen of the ATM 2 and the mobile terminal 3, so that the user can operate the ATM 2 on the mobile terminal 3, which brings convenience to the user in using the ATM 2, especially for users who are short in height or have difficulty in directly operating the ATM 2 due to being in a wheelchair.
[0039] Figure 2 2 is a schematic diagram of a flow chart of a mobile terminal and an ATM on the same screen provided by a second embodiment of the present invention. Figure 2 As shown, the method for displaying the same screen of a mobile terminal and an ATM provided by an embodiment of the present invention includes:
[0040] S201, receiving a same-screen request sent by an automatic teller machine, the same-screen request including an identification mark and a verification code; wherein the same-screen request is sent by the automatic teller machine after receiving a QR code, and the identification mark and verification code included in the same-screen request are obtained by the automatic teller machine parsing the QR code;
[0041] Specifically, the ATM may send a same-screen request to the server, and the server will receive the same-screen request, and the same-screen request includes an identification mark and a verification code. The identification mark and verification code included in the same-screen request are obtained by the ATM parsing a two-dimensional code, and the two-dimensional code is received by the ATM from the server before sending the same-screen request. The server will generate an identification mark and verification code corresponding to the ATM, and then generate the two-dimensional code according to the identification mark and verification code corresponding to the ATM.
[0042] S202: if it is determined that the verification code included in the same-screen request is the same as the verification code corresponding to the ATM, query the corresponding user identifier from the database according to the identification identifier included in the same-screen request; wherein the identification identifier and the corresponding user identifier are pre-stored in the database; and the verification code corresponding to the ATM is pre-generated;
[0043] Specifically, after receiving the same-screen request, the server will locally obtain the verification code corresponding to the ATM, and then compare the verification code corresponding to the ATM with the verification code included in the same-screen request. If the verification code included in the same-screen request is the same as the verification code corresponding to the ATM, the server will query the user ID corresponding to the above identification ID from the database according to the identification ID included in the same-screen request. The user ID corresponding to the identification is pre-stored in the database, and the verification code corresponding to the ATM is pre-generated.
[0044] S203, if the corresponding user information is obtained by querying the user identifier corresponding to the identification identifier included in the same-screen request, then generating a terminal token of the automatic teller machine; wherein the user identifier and the corresponding user information are obtained in advance;
[0045] Specifically, after obtaining the user identifier corresponding to the identification identifier included in the same-screen request, the server will query the user information corresponding to the above user identifier according to the user identifier corresponding to the identification identifier included in the same-screen request. If the user information corresponding to the above user identifier is queried, the server will generate a terminal token of the ATM, and the terminal identifier of the ATM can be obtained by parsing the terminal token of the ATM. The user identifier and the corresponding user information are obtained in advance; the ATM corresponds to the terminal identifier of the ATM one-to-one. The user information may include the user's bank card number and bank card password.
[0046] S204, sending a same-screen information acquisition request to the automatic teller machine, wherein the same-screen information acquisition request includes the terminal token and the user information;
[0047] Specifically, after querying and obtaining the user information corresponding to the user identifier, the server will send a same-screen information acquisition request to the ATM, the same-screen information acquisition request including the terminal token and the user information. The ATM will receive the same-screen information acquisition request.
[0048] S205, receiving the same-screen information sent by the ATM, and sending the same-screen information to the mobile terminal for display; wherein the same-screen information is sent by the ATM after the terminal token verification is passed and after learning that the user information has passed the verification.
[0049] Specifically, after receiving the same-screen information acquisition request, the ATM can parse the terminal token to obtain the terminal identifier. If the terminal identifier obtained by parsing is the same as the terminal identifier of the ATM, the ATM will send a login request to the background server of the ATM, and the login request includes user information. The background server of the ATM will verify the legitimacy of the user according to the user information, and return the verification pass information to the ATM after the user information passes the verification. After receiving the verification pass information, the ATM will know that the user information passes the verification, and then send the same-screen information to the server. After receiving the same-screen information, the server will send the same-screen information to the mobile terminal, so that the mobile terminal and the ATM can be displayed on the same screen. The mobile terminal will display the same-screen information, and the same-screen information includes the operation interface information of the ATM. The user operates on the mobile terminal, and the mobile terminal will send the user's operation to the ATM through the server, so that the user can operate the ATM on the mobile phone.
[0050] For example, the user information includes a bank card number and a bank card password. The background server of the ATM will verify whether the bank card number and the bank card password match. If the bank card number and the bank card password match, the user passes the legitimacy verification; if the bank card number and the bank card password do not match, the user fails the legitimacy verification.
[0051] The method for displaying the same screen between a mobile terminal and an ATM provided by an embodiment of the present invention can receive a request for displaying the same screen sent by an ATM, and after determining that the verification code included in the request for displaying the same screen is the same as the verification code corresponding to the ATM, query the corresponding user identifier from the database according to the identification identifier included in the request for displaying the same screen. If the corresponding user information is obtained by querying the user identifier corresponding to the identification identifier included in the request for displaying the same screen, a terminal token of the ATM is generated, a request for obtaining the same screen information is sent to the ATM, the same screen information sent by the ATM is received, and the same screen information is sent to the mobile terminal for display, thereby realizing the same screen between the mobile terminal and the ATM, and facilitating the user to operate the ATM through the mobile terminal. In addition, since there is no need to directly operate the ATM, indirect contact between people is avoided, the spread of infectious diseases transmitted through contact can be avoided, and the safety of using the ATM is improved.
[0052] Figure 3 is a schematic diagram of a flow chart of a mobile terminal and an ATM on the same screen provided by a third embodiment of the present invention, such as Figure 3 As shown, based on the above embodiments, further, before receiving the same-screen request sent by the automatic teller machine, it also includes:
[0053] S301, receiving a QR code acquisition request sent by the ATM;
[0054] Specifically, the automatic teller machine may send a QR code acquisition request to the server, and the server may receive the QR code acquisition request.
[0055] S302, generating an identification mark and a verification code corresponding to the automatic teller machine, and generating a QR code according to the identification mark and the verification code corresponding to the automatic teller machine;
[0056] Specifically, after receiving the QR code acquisition request, the server can generate an identification mark and a verification code for the ATM, store them locally as the identification mark and verification code corresponding to the ATM, and then generate a QR code based on the identification mark and verification code corresponding to the ATM. The identification mark can be a universally unique identifier (UUID). The verification code is used for security verification and can be a string.
[0057] S303: Return the two-dimensional code to the automatic teller machine, so that the automatic teller machine displays the two-dimensional code.
[0058] Specifically, the server returns the two-dimensional code to the automatic teller machine, and after receiving the two-dimensional code, the automatic teller machine displays the two-dimensional code on the screen for the user to scan. The automatic teller machine can parse the two-dimensional code to obtain the identification mark and the verification code.
[0059] On the basis of the above embodiments, further, the receiving the QR code acquisition request sent by the ATM includes:
[0060] Receive a QR code acquisition request periodically sent by the automatic teller machine.
[0061] Specifically, the ATM may periodically send the QR code acquisition request, and the periodicity is set according to actual needs, which is not limited in the embodiment of the present invention. It is understandable that the newly obtained QR code will replace the previously obtained QR code.
[0062] Figure 4 4 is a flowchart of a method for displaying a mobile terminal and an ATM on the same screen provided by a fourth embodiment of the present invention. Figure 4 As shown, based on the above embodiments, further, the method for displaying the same screen of a mobile terminal and an ATM provided by an embodiment of the present invention also includes:
[0063] S401, setting the validity period of the verification code corresponding to the ATM;
[0064] Specifically, after the server generates the verification code corresponding to the ATM, it sets the validity period of the verification code corresponding to the ATM, wherein the validity period is set according to actual needs and is not limited in the embodiment of the present invention.
[0065] For example, the validity period of the verification code corresponding to the ATM is 1 minute, indicating that the verification code is valid within 1 minute.
[0066] S402: If it is determined based on the validity time that the verification code corresponding to the automatic teller machine has expired, the verification code corresponding to the automatic teller machine is used as an invalid verification code.
[0067] Specifically, when the server uses the verification code corresponding to the ATM, it can first determine whether the verification code corresponding to the ATM has expired based on the validity time. If it has not expired, the verification code can be used normally. If the verification code has expired, the verification code will no longer be used and the verification code corresponding to the ATM will be used as an invalid verification code.
[0068] For example, the verification code is used for security verification. Before using the verification code for security verification, it is first determined whether the verification code has expired. If it has not expired, the verification code can be used for security verification. If the verification code expires, the verification code will not be used for security verification and the verification code will become invalid.
[0069] Figure 5 FIG. 5 is a flowchart of a method for displaying a mobile terminal and an ATM on the same screen according to a fifth embodiment of the present invention. Figure 5 As shown, based on the above embodiments, further, the step of pre-storing the identification mark and the corresponding user mark in the database includes:
[0070] S501. Receive a login verification request sent by a mobile terminal, wherein the login verification request includes an identification mark, a verification code, and a user token; wherein the identification mark and the verification code included in the login verification request are obtained by the mobile terminal scanning a QR code displayed by the ATM;
[0071] Specifically, the user can use the mobile terminal to scan the QR code displayed on the ATM, and the mobile terminal parses the QR code to obtain an identification mark and a verification code, and then carries the parsed identification mark and verification code, as well as the user token, in a login verification request and sends it to the server. The server will receive the login verification request, which includes the identification mark, the verification code, and the user token. The user token can be parsed to obtain a user ID, and the user ID corresponds to the user one-to-one.
[0072] For example, the user logs in to mobile banking on the mobile terminal and scans the QR code displayed on the ATM through the scan function provided by the mobile banking.
[0073] S502: if it is determined that the verification code included in the login verification request is the same as the verification code corresponding to the ATM, obtain a user identifier according to the user token;
[0074] Specifically, the server compares the verification code included in the login verification request with the verification code corresponding to the ATM. If the verification code included in the login verification request is the same as the verification code corresponding to the ATM, it means that the mobile terminal that sent the login verification request scanned the QR code displayed on the ATM, and the server will obtain the user ID according to the user token resolution. If the verification code included in the login verification request is different from the verification code corresponding to the ATM, the server can return a verification failure prompt message to the mobile terminal. The user can choose to rescan the QR code or change the ATM.
[0075] S503: If the identification identifier corresponding to the ATM that is the same as the identification identifier included in the login verification request is obtained through query, the identification identifier and the user identifier are stored in a database in correspondence with each other.
[0076] Specifically, the server can search for the same identification identifier among the identification identifiers corresponding to each ATM based on the identification identifier included in the login verification request. If an identification identifier corresponding to the ATM that is the same as the identification identifier included in the login verification request is found, the identification identifier corresponding to the ATM is stored in the database in correspondence with the user identifier.
[0077] Figure 6 6 is a flowchart of a method for displaying the same screen of a mobile terminal and an ATM provided by a sixth embodiment of the present invention. Figure 6 As shown, the step of obtaining the user identifier and the corresponding user information in advance includes:
[0078] S601, receiving an initial on-screen request sent by the automatic teller machine, wherein the initial on-screen request includes an identification mark and a verification code; wherein the initial on-screen request is sent by the automatic teller machine after receiving the QR code;
[0079] Specifically, after receiving the QR code sent by the server, the ATM will send an initial screen-same request to the server, and the initial screen-same request includes an identification code and a verification code. The identification code and verification code included in the initial screen-same request are obtained by the ATM parsing the QR code.
[0080] S602: If it is determined that the verification code included in the initial on-screen request is the same as the verification code corresponding to the ATM, query the database for a corresponding user identifier according to the identification identifier included in the initial on-screen request;
[0081] Specifically, after receiving the initial same-screen request, the server will compare the verification code included in the initial same-screen request with the verification code corresponding to the ATM. If the verification code included in the initial same-screen request is the same as the verification code corresponding to the ATM, it means that the ATM that sent the initial same-screen request has passed the verification. The server will query the corresponding user identifier from the database based on the identification identifier included in the initial same-screen request.
[0082] S603: If the corresponding user identifier is found, a same-screen confirmation request is sent to the mobile terminal, so that the mobile terminal obtains user information;
[0083] Specifically, if the server obtains the user identifier corresponding to the identification identifier included in the initial same-screen request by querying from the database according to the identification identifier included in the initial same-screen request, the server will send a same-screen confirmation request to the mobile terminal. After the mobile terminal receives the same-screen confirmation request, it will display a confirmation box to prompt the user to provide user information, and then obtain the user information provided by the user. Among them, the user information may include information such as a bank card number and a bank card password, which is set according to actual needs and is not limited in the embodiment of the present invention.
[0084] For example, after receiving the same-screen confirmation request, the mobile terminal prompts the user to select a bank card and enter a bank card password. The user selects a bank card on the mobile terminal and enters the bank card password on the interface provided by the mobile terminal, and confirms. The mobile terminal obtains the bank card number selected by the user and the bank card password entered as user information.
[0085] S604: Receive a same-screen verification request sent by the mobile terminal, where the same-screen verification request includes a verification code, a user token, and the user information;
[0086] Specifically, after obtaining the user information, the mobile terminal will send a same-screen verification request to the server, and the server will receive the same-screen verification request. The same-screen verification request includes a verification code, a user token, and the user information. The verification code included in the same-screen verification request is obtained by the mobile terminal scanning the QR code displayed on the ATM and then parsing the QR code. After the user logs in to the mobile banking on the mobile terminal, the user can obtain the user token.
[0087] S605: If it is determined that the verification code included in the same-screen verification request is the same as the verification code corresponding to the ATM, obtain a user identifier according to the user token;
[0088] Specifically, after receiving the same-screen verification request, the server will compare the verification code included in the same-screen verification request with the verification code corresponding to the ATM. If the verification code included in the same-screen verification request is the same as the verification code corresponding to the ATM, the server will parse the user token to obtain the user ID.
[0089] S606: Store the user identification and the user information in correspondence with each other.
[0090] Specifically, after parsing and obtaining the user identifier, the server matches the user identifier with the user information and stores the information for subsequent query.
[0091] On the basis of the above embodiments, further, the method for displaying the same screen of a mobile terminal and an ATM provided by an embodiment of the present invention further includes:
[0092] If the corresponding user information is not found according to the user identifier corresponding to the identification identifier included in the same-screen request, a query failure message is returned to the automatic teller machine.
[0093] Specifically, the server queries the user information corresponding to the user identifier according to the user identifier corresponding to the identification identifier included in the same-screen request. If the user information corresponding to the above-mentioned user identifier is not found, the automatic teller machine returns a query failure message. After receiving the query failure message, the automatic teller machine will resend the same-screen request to the server at a preset time interval. The preset time is set according to actual experience, for example, it is set to 5 seconds, and the embodiment of the present invention does not limit it.
[0094] Figure 7 is a signaling interaction diagram of a method for displaying the same screen between a mobile terminal and an ATM provided by a seventh embodiment of the present invention, such as Figure 7 As shown, the signaling interaction process of the same-screen method between the mobile terminal and the ATM provided by the embodiment of the present invention is as follows:
[0095] The first step is to send a QR code acquisition request. The ATM sends a QR code acquisition request to the server to obtain the QR code.
[0096] Step 2: Generate a QR code. After receiving the QR code acquisition request, the server generates an identification mark and a verification code for the ATM, and generates a QR code based on the identification mark and the verification code.
[0097] Step 3: Return the QR code. The server sends the QR code to the ATM, and after receiving the QR code, the ATM displays the QR code on the screen for the user to scan.
[0098] Step 4: Scan the QR code. The user scans the QR code displayed on the ATM through a mobile terminal, and the mobile terminal parses the QR code to obtain the identification mark and verification code.
[0099] Step 5: Send a login verification request. The mobile terminal sends the obtained identification mark and verification code, as well as the user token, to the server in the login verification request.
[0100] Step 6: Obtain user identification. The server compares the verification code included in the login verification request with the verification code corresponding to the ATM. If the verification code included in the login verification request is the same as the verification code corresponding to the ATM, the server will obtain the user identification based on the user token resolution.
[0101] Step 7: Store the user ID. The server stores the identification ID corresponding to the ATM and the user ID in a database.
[0102] Step 8: Send an initial on-screen request. After receiving the QR code, the ATM can send an initial on-screen request to the server at a set time interval. The initial on-screen request includes an identification mark and a verification code. The identification mark and verification code included in the initial on-screen request are obtained by the ATM parsing the QR code. The set time is set according to actual needs and is not limited in the embodiment of the present invention.
[0103] Step 9: Query the user ID. After receiving the initial same-screen request, the server will compare the verification code included in the initial same-screen request with the verification code corresponding to the ATM. If the verification code included in the initial same-screen request is the same as the verification code corresponding to the ATM, the server will query the corresponding user ID from the database based on the identification included in the initial same-screen request. The server can also return a query prompt message to the ATM to inform the ATM that the corresponding user ID has been queried.
[0104] Step 10: Send a same-screen confirmation request. If the server obtains the user ID corresponding to the identification ID included in the initial same-screen request from the database according to the identification ID included in the initial same-screen request, the server will send a same-screen confirmation request to the mobile terminal. If the server does not query the corresponding user ID, it can return a query failure message to the ATM. After receiving the query failure message, the ATM will resend the initial same-screen request to the server at a set interval.
[0105] Step 11: Obtain user information. After receiving the same-screen confirmation request, the mobile terminal will display a confirmation box to prompt the user to provide user information, and then obtain the user information provided by the user.
[0106] Step 12: Send a same-screen verification request. After obtaining the user information, the mobile terminal will send a same-screen verification request to the server. The same-screen verification request includes a verification code, user token, and user information.
[0107] Step 13: Parse and obtain the user ID. After receiving the same-screen verification request, the server will compare the verification code included in the same-screen verification request with the verification code corresponding to the ATM. If the verification code included in the same-screen verification request is the same as the verification code corresponding to the ATM, the server will parse the user token to obtain the user ID.
[0108] Step 14: Store user information. After parsing and obtaining the user ID, the server matches the user ID with the user information and stores them.
[0109] Step 15: Send a same-screen request. The ATM may send a same-screen request to the server after the first preset time of sending the initial same-screen request or after the second preset time of receiving the query prompt information. The same-screen request includes an identification mark and a verification code, which are obtained by the ATM parsing the QR code. The first preset time and the second preset time are set according to actual needs, and are not limited in the embodiment of the present invention.
[0110] Step 16, query the user ID. The server obtains the verification code corresponding to the ATM locally, and then compares the verification code corresponding to the ATM with the verification code included in the same-screen request. If the verification code included in the same-screen request is the same as the verification code corresponding to the ATM, then the server will query the user ID corresponding to the above identification ID from the database based on the identification ID included in the same-screen request. If the corresponding user ID is queried, proceed to step 17. If the corresponding user ID is not queried, a query failure message can be returned to the ATM. After receiving the query failure message, the ATM can resend the same-screen request to the server at a preset interval.
[0111] Step 17: Generate a terminal token. The server will query the user information corresponding to the above user identifier according to the user identifier corresponding to the identification identifier included in the same-screen request. If the user information corresponding to the above user identifier is queried, the server will generate a terminal token for the ATM and then proceed to step 18. If the user information corresponding to the above user identifier is not queried, the server can return a query failure message to the ATM. After receiving the query failure message, the ATM can resend the same-screen request to the server at a preset interval.
[0112] Step 18: Send a request for obtaining the same-screen information. The server sends a request for obtaining the same-screen information to the ATM, and the request for obtaining the same-screen information includes the terminal token and user information.
[0113] Step 19: Verify the information. After receiving the same-screen information acquisition request, the ATM can parse the terminal token to obtain the terminal identifier. If the terminal identifier obtained by parsing is the same as the terminal identifier of the ATM, the ATM will send a login request to the ATM's backend server, and the login request includes user information. The ATM's backend server will verify the legitimacy of the user based on the user information, and return the verification pass information to the ATM after the user information passes the verification.
[0114] Step 20: Send the same-screen information. After receiving the verification information, the ATM learns that the user information has passed the verification, and then sends the same-screen information to the server.
[0115] Step 21: forwarding the same-screen information. After receiving the same-screen information, the server will send the same-screen information to the mobile terminal, so that the mobile terminal and the ATM can display the same screen.
[0116] Figure 8 FIG. 8 is a schematic diagram of a mobile terminal and an ATM co-screen device according to an eighth embodiment of the present invention. Figure 8 As shown, the same-screen device for a mobile terminal and an ATM provided in an embodiment of the present invention includes a first receiving module 801, a first query module 802, a first generating module 803, a first sending module 804 and a forwarding module 805, wherein:
[0117] The first receiving module 801 is used to receive a same-screen request sent by an ATM, and the same-screen request includes an identification mark and a verification code; wherein the same-screen request is sent by the ATM after receiving a QR code, and the identification mark and verification code included in the same-screen request are obtained by the ATM parsing the QR code; the first query module 802 is used to query the corresponding user identifier from the database according to the identification mark included in the same-screen request after determining that the verification code included in the same-screen request is the same as the verification code corresponding to the ATM; wherein the identification mark and the corresponding user identifier are pre-stored in the database; the verification code corresponding to the ATM is pre-generated; the first A generating module 803 is used to generate a terminal token of the ATM after obtaining the corresponding user information according to the user identifier corresponding to the identification identifier included in the same-screen request; wherein the user identifier and the corresponding user information are obtained in advance; a first sending module 804 is used to send a same-screen information acquisition request to the ATM, and the same-screen information acquisition request includes the terminal token and the user information; a forwarding module 805 is used to receive the same-screen information sent by the ATM, and send the same-screen information to the mobile terminal for display; wherein the same-screen information is sent by the ATM after the terminal token verification is passed and after it is learned that the user information has passed the verification.
[0118] Specifically, the ATM may send a same-screen request to the first receiving module 801, and the first receiving module 801 will receive the same-screen request, wherein the same-screen request includes an identification mark and a verification code. The identification mark and verification code included in the same-screen request are obtained by the ATM parsing a QR code, and the QR code is received by the ATM from the server before sending the same-screen request.
[0119] After receiving the same-screen request, the first query module 802 will locally obtain the verification code corresponding to the ATM, and then compare the verification code corresponding to the ATM with the verification code included in the same-screen request. If the verification code included in the same-screen request is the same as the verification code corresponding to the ATM, the first query module 802 will query the user identifier corresponding to the above identification identifier from the database according to the identification identifier included in the same-screen request. The user identifier corresponding to the identification is pre-stored in the database, and the verification code corresponding to the ATM is pre-generated.
[0120] After obtaining the user identifier corresponding to the identification identifier included in the same-screen request, the first generation module 803 will query the user information corresponding to the above user identifier according to the user identifier corresponding to the identification identifier included in the same-screen request. If the user information corresponding to the above user identifier is queried, the first generation module 803 will generate the terminal token of the ATM, and the terminal identifier of the ATM can be obtained by parsing the terminal token of the ATM. Among them, the user identifier and the corresponding user information are obtained in advance; the ATM corresponds to the terminal identifier of the ATM one by one. The user information may include the user's bank card number and bank card password.
[0121] After querying and obtaining the user information corresponding to the user identifier, the first sending module 804 sends a same-screen information acquisition request to the ATM, the same-screen information acquisition request including the terminal token and the user information. The ATM receives the same-screen information acquisition request.
[0122] After receiving the same-screen information acquisition request, the forwarding module 805 of the ATM can parse the terminal token to obtain the terminal identifier. If the terminal identifier obtained by parsing is the same as the terminal identifier of the ATM, the ATM will send a login request to the background server of the ATM, and the login request includes user information. The background server of the ATM will verify the legitimacy of the user according to the user information, and return the verification pass information to the ATM after the user information passes the verification. After receiving the verification pass information, the ATM will know that the user information passes the verification, and then send the same-screen information to the forwarding module 805. After receiving the same-screen information, the forwarding module 805 will send the same-screen information to the mobile terminal, so that the mobile terminal and the ATM can be displayed on the same screen. The mobile terminal will display the same-screen information, which includes the operation interface information of the ATM. The user operates on the mobile terminal, and the mobile terminal will send the user's operation to the ATM through the forwarding module 805, so that the user can operate the ATM on the mobile phone.
[0123] The same-screen device for a mobile terminal and an ATM provided by an embodiment of the present invention can receive a same-screen request sent by an ATM, and after determining that the verification code included in the same-screen request is the same as the verification code corresponding to the ATM, query the corresponding user identifier from the database according to the identification identifier included in the same-screen request, and if the corresponding user information is obtained by querying the user identifier corresponding to the identification identifier included in the same-screen request, then generate a terminal token of the ATM, send a same-screen information acquisition request to the ATM, receive the same-screen information sent by the ATM, and send the same-screen information to the mobile terminal for display, thereby realizing the same-screen of the mobile terminal and the ATM, and facilitating the user to operate the ATM through the mobile terminal. In addition, since there is no need to directly operate the ATM, indirect contact between people is avoided, the spread of infectious diseases transmitted by contact can be avoided, and the safety of using the ATM is improved.
[0124] Fig. 9 is a schematic diagram of a structure of a mobile terminal and an ATM on-screen device provided by a ninth embodiment of the present invention. Fig. 9 As shown, on the basis of the above embodiments, further, the same-screen device for a mobile terminal and an ATM provided by an embodiment of the present invention further includes a second receiving module 806, a second generating module 807 and a first returning module 808, wherein:
[0125] The second receiving module 806 is used to receive the QR code acquisition request sent by the automatic teller machine; the second generating module 807 is used to generate the identification mark and verification code corresponding to the automatic teller machine, and generate the QR code according to the identification mark and verification code corresponding to the automatic teller machine; the first returning module 808 is used to return the QR code to the automatic teller machine so that the automatic teller machine displays the QR code.
[0126] On the basis of the above embodiments, further, the second receiving module 807 is specifically used for:
[0127] Receive a QR code acquisition request periodically sent by the automatic teller machine.
[0128] Fig.10 1 is a schematic diagram of a structure of a mobile terminal and an ATM on-screen device provided by a tenth embodiment of the present invention. Fig.10 As shown, based on the above embodiments, further, the same-screen device for a mobile terminal and an ATM provided by an embodiment of the present invention further includes a setting module 809 and a judgment module 810, wherein:
[0129] The setting module 809 is used to set the validity period of the verification code corresponding to the ATM; the judgment module 810 is used to use the verification code corresponding to the ATM as an invalid verification code after determining that the verification code corresponding to the ATM has expired based on the validity period.
[0130] Fig.11 1 is a schematic diagram of a structure of a mobile terminal and an ATM on-screen device according to an eleventh embodiment of the present invention. Fig.11 As shown, on the basis of the above embodiments, further, the same-screen device for a mobile terminal and an ATM provided in an embodiment of the present invention further includes a third receiving module 811, a first parsing module 812 and a first storage module 813, wherein:
[0131] The third receiving module 811 is used to receive a login verification request sent by a mobile terminal, wherein the login verification request includes an identification identifier, a verification code and a user token; wherein the identification identifier and the verification code included in the login verification request are obtained by the mobile terminal scanning the QR code displayed by the ATM; the first parsing module 812 is used to obtain the user identifier according to the user token after determining that the verification code included in the login verification request is the same as the verification code corresponding to the ATM; the first storage module 813 is used to store the identification identifier and the user identifier in a database in correspondence with each other after determining that the identification identifier included in the login verification request is the same as the identification identifier corresponding to the ATM.
[0132] Fig.12 1 is a schematic diagram of a structure of a mobile terminal and an ATM on-screen device provided in a twelfth embodiment of the present invention. Fig.12 As shown, on the basis of the above embodiments, further, the same-screen device for a mobile terminal and an ATM provided in an embodiment of the present invention further includes a fourth receiving module 814, a second query module 815, a second sending module 816, a fifth receiving module 817, a second parsing module 818 and a second storage module 819, wherein:
[0133] The fourth receiving module 814 is used to receive the initial same-screen request sent by the automatic teller machine, and the initial same-screen request includes an identification code and a verification code; wherein the initial same-screen request is sent by the automatic teller machine after receiving the QR code; the second query module 815 is used to query the corresponding user identifier from the database according to the identification code included in the initial same-screen request after judging that the verification code included in the initial same-screen request is the same as the verification code corresponding to the automatic teller machine; the second sending module 816 is used to send a same-screen confirmation request to the mobile terminal after querying the corresponding user identifier, so that the mobile terminal obtains user information; the fifth receiving module 817 is used to receive the same-screen verification request sent by the mobile terminal, and the same-screen verification request includes a verification code, a user token and the user information; the second parsing module 818 is used to obtain the user identifier according to the user token after judging that the verification code included in the same-screen verification request is the same as the verification code corresponding to the automatic teller machine; the second storage module 819 is used to store the user identifier and the user information in correspondence.
[0134] Fig.13 is a schematic diagram of the structure of a mobile terminal and an ATM on-screen device provided by the thirteenth embodiment of the present invention, such as Fig.13 As shown, based on the above embodiments, further, the same-screen device for a mobile terminal and an ATM provided by an embodiment of the present invention further includes a second returning module 820, wherein:
[0135] The second returning module 820 is used to return query failure information to the automatic teller machine after the corresponding user information is not found according to the user identifier corresponding to the identification identifier included in the same-screen request.
[0136] The embodiments of the apparatus provided in the embodiments of the present invention can be specifically used to execute the processing flow of the above-mentioned method embodiments, and its functions are not described in detail here, and reference can be made to the detailed description of the above-mentioned method embodiments.
[0137] It should be noted that the method and device for displaying the same screen between a mobile terminal and an ATM provided in the embodiments of the present invention can be used in the financial field, and can also be used in any technical field other than the financial field. The embodiments of the present invention do not limit the application field of the method and device for displaying the same screen between a mobile terminal and an ATM.
[0138] Fig.14 is a schematic diagram of the physical structure of an electronic device provided by a fourteenth embodiment of the present invention, such as Fig.14As shown, the electronic device may include: a processor 1401, a communication interface 1402, a memory 1403 and a communication bus 1404, wherein the processor 1401, the communication interface 1402 and the memory 1403 communicate with each other through the communication bus 1404. The processor 1401 may call the logic instructions in the memory 1403 to execute the following method: receiving a same-screen request sent by an automatic teller machine, wherein the same-screen request includes an identification mark and a verification code; wherein the same-screen request is sent by the automatic teller machine after receiving a two-dimensional code, and the identification mark and verification code included in the same-screen request are obtained by the automatic teller machine parsing the two-dimensional code; if it is determined that the verification code included in the same-screen request is the same as the verification code corresponding to the automatic teller machine, then querying the corresponding user identifier from the database according to the identification mark included in the same-screen request; wherein the identification mark and the corresponding user identifier are pre-stored in the database; The verification code corresponding to the ATM is pre-generated; if the corresponding user information is obtained by querying the user identifier corresponding to the identification identifier included in the same-screen request, the terminal token of the ATM is generated; wherein the user identifier and the corresponding user information are pre-obtained; a same-screen information acquisition request is sent to the ATM, and the same-screen information acquisition request includes the terminal token and the user information; the same-screen information sent by the ATM is received, and the same-screen information is sent to the mobile terminal for display; wherein the same-screen information is sent by the ATM after the terminal token verification is passed and after it is learned that the user information has passed the verification.
[0139] In addition, the logic instructions in the above-mentioned memory 1403 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0140] The present embodiment discloses a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the methods provided by the above-mentioned method embodiments, for example, including: receiving a same-screen request sent by an automatic teller machine, and the same-screen request includes an identification mark and a verification code; wherein the same-screen request is sent by the automatic teller machine after receiving a QR code, and the identification mark and verification code included in the same-screen request are obtained by the automatic teller machine parsing the QR code; if it is determined that the verification code included in the same-screen request is the same as the verification code corresponding to the automatic teller machine, then querying the corresponding user from the database according to the identification mark included in the same-screen request user identification; wherein the identification identification and the corresponding user identification are pre-stored in the database; the verification code corresponding to the ATM is pre-generated; if the corresponding user information is obtained by querying the user identification corresponding to the identification identification included in the same-screen request, a terminal token of the ATM is generated; wherein the user identification and the corresponding user information are pre-obtained; a same-screen information acquisition request is sent to the ATM, and the same-screen information acquisition request includes the terminal token and the user information; the same-screen information sent by the ATM is received, and the same-screen information is sent to the mobile terminal for display; wherein the same-screen information is sent by the ATM after the terminal token verification is passed and after it is learned that the user information has passed the verification.
[0141] The present embodiment provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program enables the computer to execute the methods provided by the above-mentioned method embodiments, for example, including: receiving a same-screen request sent by an automatic teller machine, wherein the same-screen request includes an identification mark and a verification code; wherein the same-screen request is sent by the automatic teller machine after receiving a two-dimensional code, and the identification mark and verification code included in the same-screen request are obtained by the automatic teller machine parsing the two-dimensional code; if it is determined that the verification code included in the same-screen request is the same as the verification code corresponding to the automatic teller machine, then querying the corresponding user identifier from the database according to the identification mark included in the same-screen request; wherein the identification mark and the corresponding The user identification is pre-stored in the database; the verification code corresponding to the ATM is pre-generated; if the corresponding user information is obtained by querying the user identification corresponding to the identification identification included in the same-screen request, the terminal token of the ATM is generated; wherein the user identification and the corresponding user information are pre-obtained; a same-screen information acquisition request is sent to the ATM, and the same-screen information acquisition request includes the terminal token and the user information; the same-screen information sent by the ATM is received, and the same-screen information is sent to the mobile terminal for display; wherein the same-screen information is sent by the ATM after the terminal token verification is passed and after it is learned that the user information has passed the verification.
[0142] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0143] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce 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 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0144] 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.
[0145] 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.
[0146] In the description of this specification, the description with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0147] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for displaying the same screen of a mobile terminal and an automatic teller machine, applied to a server, It is characterized in that include: Receive a same-screen request sent by an automated teller machine, the same-screen request including an identification mark and a verification code; wherein the same-screen request is sent by the automated teller machine after receiving a QR code, and the identification mark and verification code included in the same-screen request are obtained by the automated teller machine parsing the QR code; If it is determined that the verification code included in the same-screen request is the same as the verification code corresponding to the ATM, query the corresponding user identifier from the database according to the identification identifier included in the same-screen request; wherein the identification identifier and the corresponding user identifier are pre-stored in the database; and the verification code corresponding to the ATM is pre-generated; If the corresponding user information is obtained by querying the user identifier corresponding to the identification identifier included in the same-screen request, a terminal token of the automatic teller machine is generated; wherein the user identifier and the corresponding user information are obtained in advance; Sending a same-screen information acquisition request to the automatic teller machine, wherein the same-screen information acquisition request includes the terminal token and the user information; Receive the same-screen information sent by the automatic teller machine, and send the same-screen information to the mobile terminal for display; wherein, the same-screen information is sent by the automatic teller machine after the terminal token verification is passed and after it is known that the user information has passed the verification.
2. The method according to claim 1, It is characterized in that Before receiving the same-screen request sent by the ATM, it also includes: Receiving a QR code acquisition request sent by the ATM; Generate an identification mark and a verification code corresponding to the automatic teller machine, and generate a QR code according to the identification mark and the verification code corresponding to the automatic teller machine; The two-dimensional code is returned to the automatic teller machine so that the automatic teller machine displays the two-dimensional code.
3. The method according to claim 2, It is characterized in that The receiving the QR code acquisition request sent by the automatic teller machine includes: Receive a QR code acquisition request periodically sent by the automatic teller machine.
4. The method according to claim 2, It is characterized in that Also includes: Setting the validity period of the verification code corresponding to the ATM; If it is determined based on the validity time that the verification code corresponding to the automatic teller machine has expired, the verification code corresponding to the automatic teller machine is used as an invalid verification code.
5. The method according to claim 1, It is characterized in that The step of pre-storing the identification mark and the corresponding user mark in the database comprises: Receiving a login verification request sent by a mobile terminal, the login verification request including an identification mark, a verification code and a user token; wherein the identification mark and the verification code included in the login verification request are obtained by the mobile terminal scanning a QR code displayed by the ATM; If it is determined that the verification code included in the login verification request is the same as the verification code corresponding to the ATM, obtaining the user identification according to the user token analysis; If it is determined that the identification identifier included in the login verification request is the same as the identification identifier corresponding to the automatic teller machine, the identification identifier and the user identifier are stored in a database in correspondence.
6. The method according to claim 1, It is characterized in that The step of obtaining the user identification and corresponding user information in advance includes: Receiving an initial same-screen request sent by the automatic teller machine, wherein the initial same-screen request includes an identification mark and a verification code; wherein the initial same-screen request is sent by the automatic teller machine after receiving the QR code; If it is determined that the verification code included in the initial on-screen request is the same as the verification code corresponding to the ATM, querying the corresponding user identifier from the database according to the identification identifier included in the initial on-screen request; If the corresponding user identification is found, a same-screen confirmation request is sent to the mobile terminal so that the mobile terminal obtains the user information; Receiving a same-screen verification request sent by the mobile terminal, the same-screen verification request including a verification code, a user token and the user information; If it is determined that the verification code included in the same-screen verification request is the same as the verification code corresponding to the ATM, obtaining the user identification according to the user token analysis; The user identification and the user information are stored correspondingly.
7. The method according to any one of claims 1 to 6, It is characterized in that Also includes: If the corresponding user information is not found according to the user identifier corresponding to the identification identifier included in the same-screen request, a query failure message is returned to the automatic teller machine.
8. A device for connecting a mobile terminal and an ATM to the same screen. It is characterized in that include: A first receiving module is used to receive a same-screen request sent by an automatic teller machine, wherein the same-screen request includes an identification mark and a verification code; wherein the same-screen request is sent by the automatic teller machine after receiving the two-dimensional code, and the identification mark and verification code included in the same-screen request are obtained by the automatic teller machine parsing the two-dimensional code; A first query module is used to query the corresponding user identifier from a database according to the identification identifier included in the same-screen request after determining that the verification code included in the same-screen request is the same as the verification code corresponding to the automatic teller machine; wherein the identification identifier and the corresponding user identifier are pre-stored in the database; and the verification code corresponding to the automatic teller machine is pre-generated; A first generating module, configured to generate a terminal token of the ATM after obtaining corresponding user information according to a user identifier corresponding to the identification identifier included in the same-screen request; wherein the user identifier and the corresponding user information are obtained in advance; A first sending module, configured to send a same-screen information acquisition request to the ATM, wherein the same-screen information acquisition request includes the terminal token and the user information; A forwarding module is used to receive the same-screen information sent by the automatic teller machine and send the same-screen information to the mobile terminal for display; wherein, the same-screen information is sent by the automatic teller machine after the terminal token verification is passed and after it is known that the user information has passed the verification.
9. The device according to claim 8, It is characterized in that Also includes: A second receiving module, used for receiving a QR code acquisition request sent by the ATM; A second generating module is used to generate an identification mark and a verification code corresponding to the automatic teller machine, and generate a QR code according to the identification mark and the verification code corresponding to the automatic teller machine; The first returning module is used to return the two-dimensional code to the automatic teller machine, so that the automatic teller machine displays the two-dimensional code.
10. The device according to claim 9, It is characterized in that The second receiving module is specifically used for: Receive a QR code acquisition request periodically sent by the automatic teller machine.
11. The device according to claim 9, It is characterized in that Also includes: A setting module, used to set the validity period of the verification code corresponding to the automatic teller machine; The judgment module is used for, after determining based on the validity time that the verification code corresponding to the automatic teller machine has expired, using the verification code corresponding to the automatic teller machine as an invalid verification code.
12. The device according to claim 8, It is characterized in that Also includes: A third receiving module is used to receive a login verification request sent by a mobile terminal, wherein the login verification request includes an identification mark, a verification code and a user token; wherein the identification mark and the verification code included in the login verification request are obtained by the mobile terminal scanning a QR code displayed by the ATM; A first parsing module, configured to obtain a user identifier according to the user token after determining that the verification code included in the login verification request is the same as the verification code corresponding to the automatic teller machine; The first storage module is used to store the identification identifier and the user identifier in a database in correspondence with each other after determining that the identification identifier included in the login verification request is the same as the identification identifier corresponding to the automatic teller machine.
13. The device according to claim 8, It is characterized in that Also includes: A fourth receiving module is used to receive an initial same-screen request sent by the automatic teller machine, wherein the initial same-screen request includes an identification mark and a verification code; wherein the initial same-screen request is sent by the automatic teller machine after receiving the QR code; A second query module is used to query the corresponding user identifier from the database according to the identification identifier included in the initial same-screen request after determining that the verification code included in the initial same-screen request is the same as the verification code corresponding to the automatic teller machine; A second sending module is used to send a same-screen confirmation request to the mobile terminal after the corresponding user identification is queried, so that the mobile terminal obtains user information; a fifth receiving module, configured to receive a same-screen verification request sent by the mobile terminal, wherein the same-screen verification request includes a verification code, a user token, and the user information; A second parsing module is used to parse the user token to obtain a user identifier after determining that the verification code included in the same-screen verification request is the same as the verification code corresponding to the automatic teller machine; The second storage module is used to store the user identification and the user information in correspondence.
14. The device according to any one of claims 8 to 13, It is characterized in that Also includes: The second returning module is used to return query failure information to the automatic teller machine after the corresponding user information is not queried according to the user identifier corresponding to the identification identifier included in the same-screen request.
15. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
16. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
