CN117667883A - Data transfer method, device, computer equipment and storage medium - Google Patents

Data transfer method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN117667883A
CN117667883A CN202311376481.1A CN202311376481A CN117667883A CN 117667883 A CN117667883 A CN 117667883A CN 202311376481 A CN202311376481 A CN 202311376481A CN 117667883 A CN117667883 A CN 117667883A
Authority
CN
China
Prior art keywords
page
information
code
resource interaction
login
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311376481.1A
Other languages
Chinese (zh)
Inventor
程浩
谢偲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202311376481.1A priority Critical patent/CN117667883A/en
Publication of CN117667883A publication Critical patent/CN117667883A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The application belongs to the technical field of data processing, and relates to a data transfer method, a data transfer device, computer equipment and a storage medium. After receiving an operation instruction of a first end, the method acquires page information of a first page operated currently, generates a two-dimensional code to be displayed on the second end for scanning after receiving a login instruction allowing login of a second end, then displays a second page corresponding to the first page on the second end according to code scanning information for user operation, and completes data transfer. According to the method and the device, the first end can quickly jump to the second end, so that the jump and data synchronization between two associated pages are realized, a user is helped to quickly and safely open the functional page, the operation time of the user is shortened, and the data transfer efficiency is improved.

Description

Data transfer method, device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a data transfer method, apparatus, computer device, and storage medium.
Background
With the rapid development of communication and electronic technologies, electronic devices such as computers and intelligent terminals are widely used, and many application programs develop different versions on a mobile phone end and a computer end, so that when a user needs to transfer data in a certain application program, a webpage version or a mobile phone version can be used for operation.
Generally, the web page version is protected by strict network security technology, so that malicious damage and fraud can be effectively prevented, the functions are more abundant, but certificates and U shields are required to be installed for use, and users can find the required functions in huge and complicated page functions due to more functions and more time. The mobile phone version is more convenient and can be used through simple identity authentication, but the security of the mobile phone version can only depend on the security technology of mobile phone equipment, so that certain security exists, and the mobile phone version generally only provides basic page functions and cannot meet complex business requirements.
Therefore, how to provide a user with a function required in opening an application program quickly and safely becomes an urgent problem to be solved.
Disclosure of Invention
Based on this, it is necessary to provide a data transfer method, apparatus, computer device and storage medium for solving the above-mentioned problems in the conventional art, in view of the above-mentioned technical problems.
In a first aspect, the present application provides a data transfer method. The method comprises the following steps:
responding to an operation instruction of a first end, and acquiring page information of a first page operated currently, wherein the page information comprises a first resource interaction code and resource interaction information;
receiving a login instruction for allowing a second end to log in, acquiring account information and the page information, generating a two-dimensional code according to the account information and the page information, and displaying the two-dimensional code on the second end; the login instruction allowing to login the second end is generated based on an operation instruction of a page tag, and the page tag is arranged on the first page;
receiving code scanning information of the two-dimensional code, analyzing the code scanning information, acquiring a first resource interaction code in the code scanning information, and inquiring to acquire a second resource interaction code corresponding to the first resource interaction code according to the first resource interaction code;
displaying a second page corresponding to the first page at the second end according to the second resource interaction code, and simultaneously calling resource interaction information and filling the resource interaction information into the second page;
and finishing data transfer according to the operation instruction of the second page.
In one embodiment, the method further comprises:
responding to a first login request of the first end, and verifying account information corresponding to the first login request, wherein the account information comprises a first equipment address and verification information;
and matching the account information with the pre-stored verification information, and displaying an operation page at the first end if the matching is successful.
In one embodiment, the receiving a login instruction for allowing to login to the second end, generating a two-dimensional code according to the page information, and displaying the two-dimensional code on the second end includes:
receiving a login instruction for allowing a second end to login, and inquiring a second login request positioned at the second end according to the login instruction;
when a second login request is received, a second equipment address corresponding to the second login request is obtained;
and displaying the two-dimensional code at the second end according to the second equipment address.
In one embodiment, the querying, according to the first resource interaction code, obtains a corresponding second resource interaction code, including:
inquiring a pre-stored code list according to the first resource interaction code to obtain a second resource interaction code corresponding to the first resource interaction code;
and the code list characterizes the resource interaction code corresponding relation of the first end and the second end associated page.
In one embodiment, before the analyzing the code scanning information and obtaining the first resource interaction code in the code scanning information, the method further includes:
analyzing the code scanning information to obtain account information in the code scanning information;
and matching the account information with the pre-stored verification information, and acquiring the first resource interaction code if the matching is successful.
In one embodiment, the method further comprises:
acquiring resource interaction information of the second end according to the operation instruction of the second page;
and updating the page information of the first end according to the resource interaction information of the second end.
In a second aspect, the present application also provides a data transfer device. The device comprises:
the information acquisition module is used for responding to the operation instruction of the first end to acquire page information of a current operation page, wherein the page information comprises a first resource interaction code and resource interaction information;
the two-dimension code generation module is used for receiving a login instruction allowing to login to the second end, acquiring account information and the page information, generating a two-dimension code according to the account information and the page information, and displaying the two-dimension code on the second end; the login instruction allowing to login the second end is generated based on an operation instruction of a page tag, and the page tag is arranged on the first page;
the page jump module is used for receiving the code scanning information of the two-dimensional code, analyzing the code scanning information, acquiring a first resource interaction code in the code scanning information, and inquiring to acquire a second resource interaction code corresponding to the first resource interaction code according to the first resource interaction code; displaying a second page corresponding to the first page at the second end according to the second resource interaction code, and simultaneously calling resource interaction information and filling the resource interaction information into the second page;
and the data processing module is used for completing data transfer according to the operation instruction of the second page.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the method steps of any of the first aspects when the processor executes the computer program.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method steps of any of the first aspects.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprising a computer program which, when executed by a processor, implements the method steps of any of the first aspects.
The data transfer method, the data transfer device, the computer equipment and the storage medium have at least the following advantages:
after receiving an operation instruction of a first end, the method acquires page information of a first page operated currently, generates a two-dimensional code to be displayed on the second end for scanning after receiving a login instruction allowing login of a second end, then displays a second page corresponding to the first page on the second end according to code scanning information for user operation, and completes data transfer. According to the method and the device, the first end can quickly jump to the second end, so that the jump and data synchronization between two associated pages are realized, a user is helped to quickly and safely open the functional page, the operation time of the user is shortened, and the data transfer efficiency is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention.
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a diagram of an application environment for a data transfer method in one embodiment;
FIG. 2 is a flow chart of a data transfer method in one embodiment;
FIG. 3 is a flow chart of a data transfer method according to another embodiment;
FIG. 4 is a schematic flow chart of a second end step for generating a two-dimensional code according to one embodiment;
FIG. 5 is a flowchart illustrating a step of verifying account information before jumping to a second page according to one embodiment;
FIG. 6 is a flow chart of a data transfer method according to another embodiment;
FIG. 7 is a block diagram of the structure of a data transfer device in one embodiment;
fig. 8 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
Other advantages and effects of the present invention will become apparent to those skilled in the art from the following disclosure, which describes the embodiments of the present invention with reference to specific examples. The invention may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present invention. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict.
Some exemplary embodiments of the invention have been described for illustrative purposes, it being understood that the invention may be practiced otherwise than as specifically shown in the accompanying drawings.
The data transfer method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104 or may be located on a cloud or other network server. Specifically, in this embodiment, the terminal 102 may include a first terminal and a second terminal.
The first terminal may send an operation instruction of the first end to the server 104, so that the server 104 responds to the operation instruction to obtain page information of a first page currently operated, where the page information includes a first resource interaction code and resource interaction information. The first terminal may also send a login instruction for allowing to login to the second terminal to the server 104, so that the server 104 obtains account information and the page information in response to the login instruction, generates a two-dimensional code according to the page information, and displays the two-dimensional code on the second terminal. The login instruction for allowing the second end to log in is generated based on the operation instruction of the page tag, and the page tag is arranged on the first page. Further, after receiving the code scanning information of the two-dimensional code, the server 104 analyzes the code scanning information to obtain a first resource interaction code in the code scanning information, and queries to obtain a second resource interaction code corresponding to the first resource interaction code according to the first resource interaction code; and displaying a second page corresponding to the first page at the second end according to the second resource interaction code, and simultaneously calling resource interaction information and filling the resource interaction information into the second page. The second terminal may send the operation instruction of the second page to the server 104, so that the server 104 completes data transfer according to the operation instruction of the second page. The server 104 thus feeds back the data transfer result to the terminal 102.
According to the data transfer method, after the operation instruction of the first end is received, page information of a first page which is operated currently is obtained, after the login instruction which allows logging in the second end is received, a two-dimensional code is generated and displayed on the second end for scanning, then a second page corresponding to the first page is displayed on the second end according to the code scanning information for operation of a user, and data transfer is completed. According to the method and the device, the first end can quickly jump to the second end, so that the jump and data synchronization between two associated pages are realized, a user is helped to quickly and safely open the functional page, the operation time of the user is shortened, and the data transfer efficiency is improved.
The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices, where the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices, and the like. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. The server 104 may be implemented as a stand-alone server or as a server cluster of multiple servers.
In an exemplary embodiment, a data transfer method is provided in the embodiment of the present application, and the method is described below by taking the application of the method to the server 104 in fig. 1 as an example.
Referring to fig. 2, fig. 2 is a flow chart of a data transfer method according to the present embodiment, which specifically includes the following steps:
step S202, responding to an operation instruction of a first end, and acquiring page information of a first page operated currently, wherein the page information comprises a first resource interaction code and resource interaction information.
Step S204, receiving a login instruction for allowing to login to the second end, acquiring account information and page information, generating a two-dimensional code according to the account information and the page information, and displaying the two-dimensional code on the second end.
Step S206, the code scanning information of the two-dimensional code is received, the code scanning information is analyzed, a first resource interaction code in the code scanning information is obtained, and a second resource interaction code corresponding to the first resource interaction code is inquired and obtained according to the first resource interaction code.
Step S208, according to the second resource interaction code, a second page corresponding to the first page is displayed at the second end, and meanwhile, resource interaction information is called and filled into the second page.
Step S210, according to the operation instruction of the second page, completing data transfer.
Specifically, in this embodiment, the first end is a mobile phone end, and the operation instruction of the first end may be generated based on clicking a page option after the user logs in the application program through the mobile phone end. It should be understood that the mobile phone version installation package of the application program includes a driver, and when the user installs the application program at the mobile phone end, the driver is also installed together, and the driver is used for acquiring page information when the user operates at the first end in real time and transmitting the page information to the server end for storage.
The second end in this embodiment is a computer end, and it should be understood that the computer end herein may be any one of a personal computer, a notebook computer, or a tablet computer. Further, the webpage version installation package of the application program also comprises a driver, and when the application program is installed on the computer side, the driver is also installed together, and the driver is also used for acquiring the webpage information of the user when the second side operates in real time and transmitting the webpage information to the server side for storage. Furthermore, the driver is also preset with a mapping relation between the mobile phone version and the webpage version associated page, and based on the mapping relation, the switching between a certain function page of the mobile phone end and a corresponding function page of the computer end can be realized, so that the user can conveniently use the mobile phone. The related pages refer to pages with the same or similar functions, and in this way, a user can easily find required function options at a first end of the page, which is simpler, and jump to a second end for operation, so that a great amount of time is saved. Furthermore, the driver also has a security verification function, and is used for verifying the identity information of the user when the user logs in the first end and the second end, and the user can log in the application program after the verification is successful. By adopting the scheme, the user can quickly log in without installing a U shield and a security certificate.
The page information is information generated when the user operates at the first end or the second end, and is stored in the server in real time. After a user logs in the first end, data transfer is selected from a function menu of the first page, and the operation interface jumps to the first page for user operation, and it is to be noted that in this embodiment, each page of the first end has a unique first resource interaction code, and correspondingly, each page of the second end also has a unique second resource interaction code. The resource interaction information mainly comprises information such as the type, the quantity, the transfer date, the target account and the like of data to be transferred. After receiving a login instruction for allowing a second end to log in, the application program automatically acquires page information of the first end from the server, and generates a two-dimensional code according to the page information for scanning by a user.
The login instruction is generated based on a user selecting a page tag on the page. In order to realize the switching of the associated pages between the first end and the second end, in this embodiment, each page of the first end and the second end is preset with a page tag, and a user can generate an operation instruction by selecting a page tag on a certain page of the first end, and then switch to the associated page of the second end based on the operation instruction of the page tag; the operation instruction can also be generated by selecting the page tag on a certain page of the second end, and then the operation instruction based on the page tag is switched to the associated page of the first end.
After receiving a login instruction for allowing a second end to log in, acquiring account information and page information from a server end, generating a two-dimensional code according to the account information and the page information, and displaying the two-dimensional code on the second end for scanning by a user. It should be understood that the second end has established a connection relationship with the first end according to the account information provided by the user before displaying the two-dimensional code. The account information comprises information such as a user name, a login account number, a mobile phone number, an identity card number and the like.
The code scanning information is generated based on the fact that the user scans the two-dimensional code displayed on the second end. In this embodiment, the scan code information is used to describe page information generated when the user operates at the first end, and account information of the user. Based on the scanning information, the user identity can be verified, and the information intercommunication between the first end and the second end can be realized.
In order to facilitate user operation, in this embodiment, when the user jumps from the first page to the second page, the driver program further automatically obtains the resource interaction information corresponding to the code scanning information from the server, and fills the obtained resource interaction information to the corresponding position of the second page, so that after the user jumps to the second page, the user does not need to refill related data, and the data transfer process is completed quickly.
According to the data transfer method, after the operation instruction of the first end is received, page information of a first page which is operated currently is obtained, after the login instruction which allows logging in the second end is received, a two-dimensional code is generated and displayed on the second end for scanning, then a second page corresponding to the first page is displayed on the second end according to the code scanning information for operation of a user, and data transfer is completed. According to the method and the device, the first end can quickly jump to the second end, so that the jump and data synchronization between two associated pages are realized, a user is helped to quickly and safely open the functional page, the operation time of the user is shortened, and the data transfer efficiency is improved.
Referring to fig. 3, in an exemplary embodiment, the data transfer method of the embodiment of the present application further includes:
in step S302, in response to the first login request of the first end, account information corresponding to the first login request is verified. Wherein the account information includes a first device address and authentication information.
Step S304, matching the account information with the pre-stored verification information, and displaying an operation page at a first end if the matching is successful.
Specifically, the authentication information is data provided by the user when logging in the account of the application program, and may include: any one of information such as a user name, a login account, a mobile phone number, an identity card number, biological characteristics and the like.
The first device address may include an IP address for determining the physical location in addition to an identifier for identifying the mobile device used. By means of the first device address, the login location of the user device and the tracking application can be identified.
After receiving a first login request of a user at a first end, inquiring verification information of the user according to account information provided by the user, if any one of the account information is matched with the verification information, the matching is considered successful, a login account and login equipment are bound, a token (token) is returned to the first end, the user is allowed to access an application program, and an operation page is displayed for the user at the first end.
In the above embodiment, the user can be helped to quickly log in the application program by verifying the account information when logging in the first end.
Referring to fig. 4, optionally, receiving a login instruction for allowing to login to the second end, generating a two-dimensional code according to the page information, and displaying the two-dimensional code on the second end includes:
step S402, a login instruction for allowing to login to the second end is received, and a second login request at the second end is queried according to the login instruction.
Step S404, when receiving the second login request, obtaining a second device address corresponding to the second login request.
Step S406, according to the second device address, the two-dimensional code is displayed at the second end.
Specifically, the second login request is generated based on a login action of the user at the second end. The second login request in this embodiment may be generated after a login instruction for allowing to login to the second end, that is, after the user clicks the page tag on the current operation page of the first end, to login to the application program at the second end. At this time, the second device address may be obtained according to account information in the login instruction for allowing the second end to login. In addition, the second end may be logged in before the first end is logged in, and at this time, the server may obtain the second device address according to account information uploaded by the user when logging in the second end.
Further, the application will typically create a unique identifier for each login session, which is associated with the user's account. The server tracks these identifiers to identify the user's login actions at the different ends. Specifically, in this embodiment, after receiving a login instruction for allowing a second end to log in, the server obtains account information according to the login instruction, searches an identifier corresponding to the login instruction according to the account information, and if the identifier is successfully identified, obtains a second device address of the second end. It will be appreciated that the second device address is similar to the first device address and also includes an identifier for identifying the mobile device in use, and an IP address for determining the physical location.
In the above embodiment, according to the login instruction generated at the first end, the login action of the second end is queried, so as to obtain the second device address of the second end, and according to the second device address, the two-dimensional code is displayed at the second end for the user to scan, so as to assist the user to rapidly complete the switching between the first end and the second end.
Optionally, according to the first resource interaction code, querying to obtain a corresponding second resource interaction code includes:
and inquiring a pre-stored code list according to the first resource interaction code to obtain a second resource interaction code corresponding to the first resource interaction code. The code list characterizes the corresponding relation of the resource interaction codes of the first end and the second end associated pages.
Specifically, the two-dimensional code displayed at the second end is generated according to the page information, the server receives the code scanning information generated after the user scans the two-dimensional code, and the page information in the code scanning information can be analyzed based on the code scanning information. It should be understood that the mapping relationship between the association pages of the first end and the second end is pre-stored in the server in a list manner in this embodiment. After the two-dimensional code is analyzed to obtain the first resource interaction code, the second resource interaction code corresponding to the first resource interaction code can be obtained, so that the user can jump from the first page of the first end to the second page of the second end, and the user can easily complete the previous data transfer operation.
In the above embodiment, according to the page information corresponding to the two-dimensional code, the user can query and jump to the second page corresponding to the first page at the first end, so that the user can easily find the required function option at the first end with simpler page, and then jump to the second end to operate, thereby saving a great amount of time.
Referring to fig. 5, optionally, before resolving the code scanning information and obtaining the first resource interaction code in the code scanning information, the method further includes:
step S502, analyzing the code scanning information and obtaining account information in the code scanning information.
Step S504, matching the account information with the pre-stored verification information, and acquiring a first resource interaction code if the matching is successful.
Specifically, in order to facilitate user operation, the embodiment further obtains and verifies account information corresponding to the first page according to code scanning information before skipping from the first page to the second page, if verification is successful, a first resource interaction code is obtained, and then the user skips a complicated login link to directly skip to a required functional page according to the first resource interaction code, so that the data transfer process is rapidly completed.
Referring to fig. 6, in an exemplary embodiment, the data transfer method of the embodiment of the present application further includes:
step S602, obtaining resource interaction information of the second end according to the operation instruction of the second page.
Step S604, updating the page information of the first end according to the resource interaction information of the second end.
Specifically, in this embodiment, the first terminal may be switched to the second terminal, and the second terminal may be switched to the first terminal. Specifically, after the user completes the data transfer operation, if other operations need to be performed at the first end, selecting the page tag at the third page at the second end, generating the two-dimensional code according to the page information of the third page based on the same principle, and displaying the two-dimensional code at the first end. After receiving the code scanning information of the two-dimensional code, analyzing the code scanning information to obtain a third resource interaction code of a third page, obtaining a fourth resource interaction code corresponding to the third resource interaction code after inquiring a code list, and finally displaying a fourth page corresponding to the third page at the first end according to the fourth resource interaction code.
And when the fourth page is displayed, the driver program also automatically acquires resource interaction information of the user at the second end from the server, fills the resource interaction information into the fourth page and completes updating of the page information at the first end. Therefore, the user can freely switch between the first end and the second end conveniently, the operation time is greatly shortened, and the working efficiency is improved.
In order to enable those skilled in the art to fully understand the present application, the following describes the steps of the data transfer method of the present application in detail:
the application responds to a first login request of a first end, and verifies account information corresponding to the first login request. Wherein the account information includes a first device address and authentication information. And matching the account information with the pre-stored verification information, and displaying an operation page at the first end if the matching is successful.
Further, after the login is successful, the application also responds to the operation instruction of the first end, acquires the page information of the first page operated currently, and stores the page information to the server. The page information comprises a first resource interaction code and resource interaction information. And receiving a login instruction for allowing the second end to be logged in, and inquiring a second login request positioned at the second end according to the login instruction. And when the second login request is received, acquiring a second equipment address corresponding to the second login request. And displaying the two-dimensional code at the second end according to the second equipment address.
Further, the code scanning information of the two-dimensional code is received, the code scanning information is analyzed, account information in the code scanning information is obtained and verified, if verification is successful, a first resource interaction code in the code scanning information is further obtained, a pre-stored code list is inquired according to the first resource interaction code, and a second resource interaction code corresponding to the first resource interaction code is obtained. The code list characterizes the corresponding relation of the resource interaction codes of the first end and the second end associated pages. And opening a second page corresponding to the first page at the second end according to the second resource interaction code.
Further, according to the second resource interaction code, after the second end opens the second page corresponding to the first page, the method further includes: analyzing the code scanning information to obtain resource interaction information in the code scanning information; and filling the resource interaction information into a second page and displaying the second page.
Further, according to the operation instruction of the second page, data transfer is completed.
Further, according to the operation instruction of the second page, resource interaction information of the second end is obtained. And updating the page information of the first end according to the resource interaction information of the second end.
According to the data transfer method, after the operation instruction of the first end is received, page information of a first page which is operated currently is obtained, after the login instruction which allows logging in the second end is received, a two-dimensional code is generated and displayed on the second end for scanning, then a second page corresponding to the first page is displayed on the second end according to the code scanning information for operation of a user, and data transfer is completed. According to the method and the device, the first end can quickly jump to the second end, so that the jump and data synchronization between two associated pages are realized, a user is helped to quickly and safely open the functional page, the operation time of the user is shortened, and the data transfer efficiency is improved.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a data transfer device for realizing the above related data transfer method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation of one or more embodiments of the data transfer device provided below may be referred to the limitation of the data transfer method hereinabove, and will not be repeated here.
Referring to fig. 7, in an exemplary embodiment, a data transfer apparatus is provided according to an embodiment of the present application, including: the system comprises an information acquisition module, a two-dimension code generation module, a page skip module and a data processing module, wherein:
the information acquisition module is used for responding to the operation instruction of the first end to acquire page information of a current operation page, wherein the page information comprises a first resource interaction code and resource interaction information;
the two-dimension code generation module is used for receiving a login instruction allowing to login to the second end, acquiring account information and the page information, generating a two-dimension code according to the account information and the page information, and displaying the two-dimension code on the second end; the login instruction allowing to login the second end is generated based on an operation instruction of a page tag, and the page tag is arranged on the first page;
the page jump module is used for receiving the code scanning information of the two-dimensional code, analyzing the code scanning information, acquiring a first resource interaction code in the code scanning information, and inquiring to acquire a second resource interaction code corresponding to the first resource interaction code according to the first resource interaction code; displaying a second page corresponding to the first page at the second end according to the second resource interaction code, and simultaneously calling resource interaction information and filling the resource interaction information into the second page;
and the data processing module is used for completing data transfer according to the operation instruction of the second page.
In an exemplary embodiment, the data transfer device of the embodiment of the present application further includes: and a verification module.
And the verification module is used for responding to the first login request of the first end and verifying the account information corresponding to the first login request. Wherein the account information includes a first device address and authentication information. And matching the account information with the pre-stored verification information, and displaying an operation page at the first end if the matching is successful.
Optionally, the two-dimensional code generating module receives a login instruction for allowing to login to the second end, generates a two-dimensional code according to the page information, and displays the two-dimensional code on the second end, and includes: and receiving a login instruction for allowing the second end to be logged in, and inquiring a second login request positioned at the second end according to the login instruction. And when the second login request is received, acquiring a second equipment address corresponding to the second login request. And displaying the two-dimensional code at the second end according to the second equipment address.
Optionally, the page skip module queries to obtain a corresponding second resource interaction code according to the first resource interaction code, including: and inquiring a pre-stored code list according to the first resource interaction code to obtain a second resource interaction code corresponding to the first resource interaction code. The code list characterizes the corresponding relation of the resource interaction codes of the first end and the second end associated pages.
Optionally, before analyzing the code scanning information and acquiring the first resource interaction code in the code scanning information, the page jump module is further used for analyzing the code scanning information and acquiring account information in the code scanning information; and matching the account information with the pre-stored verification information, and acquiring a first resource interaction code if the matching is successful.
In an exemplary embodiment, the data transfer device of the embodiment of the present application further includes: and a data updating module.
And the data updating module is used for acquiring the resource interaction information of the second end according to the operation instruction of the second page. And updating the page information of the first end according to the resource interaction information of the second end.
According to the data transfer device, after the operation instruction of the first end is received, page information of a first page which is operated currently is obtained, after the login instruction which allows logging in the second end is received, a two-dimensional code is generated and displayed on the second end for scanning, then a second page corresponding to the first page is displayed on the second end according to the code scanning information for operation of a user, and data transfer is completed. According to the method and the device, the first end can quickly jump to the second end, so that the jump and data synchronization between two associated pages are realized, a user is helped to quickly and safely open the functional page, the operation time of the user is shortened, and the data transfer efficiency is improved.
The various modules in the data transfer device described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In an exemplary embodiment, a computer device, which may be a terminal, is provided, and an internal structure thereof may be as shown in fig. 8. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a data transfer method. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 8 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In an exemplary embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein a computer program, which when executed by the processor implements the method steps of the data transfer method provided in the above embodiments.
In an exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, implements the method steps of the data transfer method provided in the above-described embodiment.
In an exemplary embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the method steps of the data transfer method provided in the above-described embodiment.
It should be noted that, the user information (including, but not limited to, user equipment information, user personal information, etc.) and the data (including, but not limited to, data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use, and processing of the related data are required to meet the related regulations.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (10)

1. A method of data transfer, the method comprising:
responding to an operation instruction of a first end, and acquiring page information of a first page operated currently, wherein the page information comprises a first resource interaction code and resource interaction information;
receiving a login instruction for allowing a second end to log in, acquiring account information and page information, generating a two-dimensional code according to the account information and the page information, and displaying the two-dimensional code on the second end; the login instruction allowing to login the second end is generated based on an operation instruction of a page tag, and the page tag is arranged on the first page;
receiving code scanning information of the two-dimensional code, analyzing the code scanning information, acquiring a first resource interaction code in the code scanning information, and inquiring to acquire a second resource interaction code corresponding to the first resource interaction code according to the first resource interaction code;
displaying a second page corresponding to the first page at the second end according to the second resource interaction code, and simultaneously calling resource interaction information and filling the resource interaction information into the second page;
and finishing data transfer according to the operation instruction of the second page.
2. The method according to claim 1, wherein the method further comprises:
responding to a first login request of the first end, and verifying account information corresponding to the first login request, wherein the account information comprises a first equipment address and verification information;
and matching the account information with the pre-stored verification information, and displaying an operation page at the first equipment address if the matching is successful.
3. The method according to claim 1, wherein the receiving a login instruction for allowing to login to the second terminal, generating a two-dimensional code according to the page information, and displaying the two-dimensional code on the second terminal, includes:
receiving a login instruction for allowing a second end to login, and inquiring a second login request positioned at the second end according to the login instruction;
when a second login request is received, a second equipment address corresponding to the second login request is obtained;
and displaying the two-dimensional code at the second end according to the second equipment address.
4. The method of claim 1, wherein the querying the corresponding second resource interaction code according to the first resource interaction code comprises:
inquiring a pre-stored code list according to the first resource interaction code to obtain a second resource interaction code corresponding to the first resource interaction code;
and the code list characterizes the resource interaction code corresponding relation of the first end and the second end associated page.
5. The method of claim 1, wherein before the parsing the scan code information to obtain the first resource interaction code in the scan code information, further comprises:
analyzing the code scanning information to obtain account information in the code scanning information;
and matching the account information with the pre-stored verification information, and acquiring the first resource interaction code if the matching is successful.
6. The method according to any one of claims 1 to 5, further comprising:
acquiring resource interaction information of the second end according to the operation instruction of the second page;
and updating the page information of the first end according to the resource interaction information of the second end.
7. A data transfer device, the device comprising:
the information acquisition module is used for responding to the operation instruction of the first end to acquire page information of a current operation page, wherein the page information comprises a first resource interaction code and resource interaction information;
the two-dimension code generation module is used for receiving a login instruction allowing to login to the second end, acquiring account information and the page information, generating a two-dimension code according to the account information and the page information, and displaying the two-dimension code on the second end; the login instruction allowing to login the second end is generated based on an operation instruction of a page tag, and the page tag is arranged on the first page;
the page jump module is used for receiving the code scanning information of the two-dimensional code, analyzing the code scanning information, acquiring a first resource interaction code in the code scanning information, and inquiring to acquire a second resource interaction code corresponding to the first resource interaction code according to the first resource interaction code; displaying a second page corresponding to the first page at the second end according to the second resource interaction code, and simultaneously calling resource interaction information and filling the resource interaction information into the second page;
and the data processing module is used for completing data transfer according to the operation instruction of the second page.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
CN202311376481.1A 2023-10-23 2023-10-23 Data transfer method, device, computer equipment and storage medium Pending CN117667883A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311376481.1A CN117667883A (en) 2023-10-23 2023-10-23 Data transfer method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311376481.1A CN117667883A (en) 2023-10-23 2023-10-23 Data transfer method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117667883A true CN117667883A (en) 2024-03-08

Family

ID=90074150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311376481.1A Pending CN117667883A (en) 2023-10-23 2023-10-23 Data transfer method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117667883A (en)

Similar Documents

Publication Publication Date Title
US11175796B2 (en) Menu management method, server, and system
CN110688598A (en) Service parameter acquisition method and device, computer equipment and storage medium
US10606477B1 (en) Intelligent keyboard
CN114115844A (en) Page generation method and device, computer equipment and storage medium
CN108418797B (en) Webpage access method and device, computer equipment and storage medium
CN112052374B (en) A page display method a device(s) computer device and storage medium
US11882154B2 (en) Template representation of security resources
CN113190322A (en) Page acquisition method, related equipment and medium
CN112818270A (en) Data cross-domain transfer method and device and computer equipment
CN111131415A (en) Information pushing method and device, computer equipment and storage medium
CN116127219A (en) Method and device for displaying pages in applet and computer equipment
CN117667883A (en) Data transfer method, device, computer equipment and storage medium
US20180088930A1 (en) Updating code within an application
CN109634500B (en) User data filling method and device, terminal equipment and storage medium
CN117421717B (en) Account authorization method, account authorization device, computer equipment and storage medium
CN117151717A (en) Device password modification method, device, computer device and storage medium
CN117436854A (en) Signing method, signing system, signing device, signing computer equipment and storage medium
CN115113945A (en) Page loading method and device, computer equipment and storage medium
CN117193924A (en) Page display method and device and computer equipment
CN116150188A (en) Information query method, device, computer equipment and storage medium
CN116846974A (en) Service request processing method, device, computer equipment and storage medium
CN116861396A (en) Login method, device, apparatus, storage medium and program product
CN117495519A (en) Financial document processing method, apparatus, computer device and storage medium
CN116757176A (en) Different version business bill comparison method and related products
CN117112089A (en) Payment service processing method, device, equipment, storage medium and product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination