CN109034759B - Data transfer method and related equipment - Google Patents

Data transfer method and related equipment Download PDF

Info

Publication number
CN109034759B
CN109034759B CN201810644018.3A CN201810644018A CN109034759B CN 109034759 B CN109034759 B CN 109034759B CN 201810644018 A CN201810644018 A CN 201810644018A CN 109034759 B CN109034759 B CN 109034759B
Authority
CN
China
Prior art keywords
instant messaging
user
messaging tool
payment server
mobile terminal
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.)
Active
Application number
CN201810644018.3A
Other languages
Chinese (zh)
Other versions
CN109034759A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810644018.3A priority Critical patent/CN109034759B/en
Publication of CN109034759A publication Critical patent/CN109034759A/en
Application granted granted Critical
Publication of CN109034759B publication Critical patent/CN109034759B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/386Payment protocols; Details thereof using messaging services or messaging apps
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/085Payment architectures involving remote charge determination or related payment systems
    • G06Q20/0855Payment architectures involving remote charge determination or related payment systems involving a third party
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/12Payment architectures specially adapted for electronic shopping systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/20Point-of-sale [POS] network systems
    • G06Q20/204Point-of-sale [POS] network systems comprising interface for record bearing medium or carrier for electronic funds transfer or payment credit
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/322Aspects of commerce using mobile devices [M-devices]
    • G06Q20/3223Realising banking transactions through M-devices

Abstract

The embodiment of the application discloses a data transfer method and related equipment, which comprise the following steps: the payment server receives a login certificate sent by a mobile terminal, wherein the login certificate is obtained by the mobile terminal entering a purchase order application program; the payment server calls a first background server of the first instant messaging tool according to the login credentials to acquire the identity information of the user in the first instant messaging tool; the payment server calls a second background server of a second instant messaging tool according to the identity information to acquire a user uniform identifier of the user in the second instant messaging tool; and the payment server transfers data according to the user unified identification. By adopting the embodiment of the application, the convenience of data transfer is improved.

Description

Data transfer method and related equipment
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a data transfer method and related devices.
Background
The purchase order application program in the WeChat is not only a low-threshold and high-efficiency money collection tool, but also provides the functions of voice broadcasting, report analysis and the like so as to help the merchants know the own operation conditions and improve the own operation efficiency. The enterprise WeChat serves as a Service platform of enterprise-level one-stop Software As A Service (SAAS), main Service objects are enterprises and various merchants, the enterprise WeChat can provide enterprise collection capacity of the enterprises for consumers (Business to Customer, B2C), but the enterprise WeChat can only collect money from the enterprises to employees, cannot collect the money from the enterprises to the outside, and is not high in convenience.
Disclosure of Invention
The embodiment of the application provides a data transfer method and related equipment. The convenience of data transfer can be improved.
In one aspect, an embodiment of the present application provides a data transfer method, including:
the payment server receives a login certificate sent by a mobile terminal, wherein the login certificate is obtained by the mobile terminal entering a purchase order application program;
the payment server calls a first background server of the first instant messaging tool according to the login credentials to acquire the identity information of the user in the first instant messaging tool;
the payment server calls a second background server of a second instant messaging tool according to the identity information to acquire a user uniform identifier of the user in the second instant messaging tool;
and the payment server transfers data according to the user unified identification.
After the payment server receives the login credentials sent by the mobile terminal, the method further comprises the following steps:
the payment server receives the operation environment field sent by the mobile terminal;
the payment server determines the current operating environment of the mobile terminal according to the operating environment field;
and when the payment server determines to enter the purchase order application program from the first instant messaging tool, the payment server executes an operation step of calling a first background server of the first instant messaging tool to acquire the identity information of the user in the first instant messaging tool according to the login certificate.
The data transfer of the payment server according to the user unified identifier comprises the following steps:
the payment server determines whether the user has the access right or not according to the user unified identification;
and when the user has the access right, the payment server performs data transfer.
Wherein the method further comprises:
the payment server acquires a payment merchant number from a payment merchant platform according to the user unified identification;
and the payment server transfers data according to the payment merchant number.
After the payment server performs data transfer according to the user uniform identifier, the method further includes:
and the payment server sends a notification message to the mobile terminal, wherein the notification message is used for prompting the transaction information of the user.
On the other hand, an embodiment of the present application provides a data transfer apparatus, including:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a login certificate sent by a mobile terminal, and the login certificate is obtained by the mobile terminal entering a purchase order application program;
the acquisition module is used for calling a first background server of the first instant messaging tool according to the login credentials and acquiring the identity information of the user in the first instant messaging tool;
the obtaining module is further configured to call a second background server of a second instant messaging tool according to the identity information, and obtain a user uniform identifier of the user in the second instant messaging tool;
and the processing module is used for carrying out data transfer according to the user unified identification.
The receiving module is further configured to receive an operating environment field sent by the mobile terminal;
the processing module is further configured to determine a current operating environment of the mobile terminal according to the operating environment field; and when the user confirms to enter the purchase order application program from the first instant messaging tool, executing an operation step of calling a first background server of the first instant messaging tool to acquire the identity information of the user in the first instant messaging tool according to the login certificate.
The processing module is further configured to determine whether the user has an access right according to the user unified identifier; and when the user has the access right, performing data transfer.
The processing module is further configured to obtain a payment merchant number from a payment merchant platform according to the user unified identifier; and carrying out data transfer according to the payment merchant number.
Wherein the apparatus further comprises:
and the sending module is used for sending a notification message to the mobile terminal, wherein the notification message is used for prompting the transaction information of the user.
In yet another aspect, the present application provides a data transfer apparatus, including: the data transfer method comprises a processor, a memory and a communication bus, wherein the communication bus is used for realizing connection communication between the processor and the memory, and the processor executes a program stored in the memory for realizing the steps in the data transfer method provided by the first aspect.
In one possible design, the data transfer device provided by the present application may include a module for performing the corresponding method. The modules may be software and/or hardware.
Yet another aspect of the embodiments of the present application provides a computer-readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor and to perform the method of the above-mentioned aspects.
Yet another aspect of the embodiments of the present application provides a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of the above-described aspects.
Implementing the embodiment of the application, the payment server firstly receives a login certificate sent by the mobile terminal, and the login certificate is obtained by the mobile terminal entering a purchase order application program; then, according to the login credentials, calling a first background server of the first instant messaging tool to acquire the identity information of the user in the first instant messaging tool; secondly, calling a second background server of a second instant messaging tool according to the identity information to acquire a user uniform identifier of the user in the second instant messaging tool; and finally, data transfer is carried out according to the user unified identification. The order purchasing application program is embedded into the first instant messaging tool to run, the same function as the order purchasing application program in the second instant messaging tool is achieved, and convenience of data transfer is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic architecture diagram of a data transfer system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a data transfer method provided in an embodiment of the present application;
FIG. 3(A) is a schematic diagram of a display of an application provided in an embodiment of the present application;
FIG. 3(B) is a schematic diagram of another application program provided in the embodiments of the present application;
fig. 4 is a schematic flowchart of a data transfer method according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of a data transfer device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a data transfer device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an architecture of a data transfer system according to an embodiment of the present disclosure. As shown in the figure, the data transfer system in the embodiment of the present application includes a mobile terminal 101, a payment server 102, a first backend server 103, a second backend server 104, a payment merchant platform 105, and the like. The mobile device 101 may refer to, among other things, a device that provides voice and/or data connectivity to a user, may also be connected to a computing device such as a laptop or desktop computer, or it may be a standalone device such as a Personal Digital Assistant (PDA). Mobile device 101 may also be a Station (STA), system, subscriber unit, subscriber Station, mobile Station, remote Station, access point, remote terminal, access terminal, user agent, or user device; the payment server 102 is a background server for personal WeChat payment, and can be used for authentication and completing a mobile payment function; the first background server 103 may be a background server of the first communication instant tool, for example, a background server of an enterprise WeChat; the second background server may be a background server of a second communication instant tool, for example, a background server of personal WeChat; the payment merchant platform 105 is used to provide merchant information and the like.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a data transfer method according to an embodiment of the present disclosure. As shown in the figures, the steps in the embodiment of the present application include:
s201, the payment server receives a login certificate sent by the mobile terminal, and the login certificate is obtained by the mobile terminal entering a purchase order application program.
In a specific implementation, the mobile terminal may first install the purchase order application program in the first instant messaging tool, and embed the purchase order application program running in the second instant messaging tool into the first instant messaging tool. The first instant messaging tool can be enterprise WeChat, the second instant messaging tool can be personal WeChat, the purchase order application program is a purchase order applet running in the personal WeChat, and the user can be an administrator or a shop assistant using the purchase order application program. The payment merchant platform can manage the administrator and the clerk using the purchase order application, and only the administrator and the clerk of the purchase order application have the authority to view the portal of the purchase order application in the workstation of the enterprise WeChat. The identity information of the user is stored in the payment server, the first background server of the first instant messaging tool dynamically queries the payment server to determine whether the access of the purchase order application program needs to be displayed on the workbench of the first instant messaging tool, and if so, the access of the purchase order application program is displayed on the workbench of the first instant messaging tool. The user may first open the workbench of the first instant messaging tool, find the portal of the order application at the workbench of the first instant messaging tool, and click the portal of the order application to enter the order application. At the moment, the mobile terminal calls a wx.logic function of the purchase order application program, and the login credentials are obtained from the first background server of the first instant messaging tool through the jsapi interface. In addition, if the user enters the buy order application program mobile terminal at the workbench of the second instant communication tool to call the wx. That is, the purchase order application program is entered from a different instant messaging tool, and the login credentials are returned by the corresponding backend server.
As shown in fig. 3(a), after the user installs the purchase order applet in the enterprise WeChat, the user can open the enterprise WeChat, the "collect money to the outside" option is displayed on the workbench of the enterprise WeChat, the user clicks "collect money to the outside" to enter the purchase order application, at this time, the identity certificate is obtained through the wx.
Optionally, the second instant messaging tool extends an existing jsapi interface of wx. Therefore, after entering the purchase order application program from the first instant messaging tool or the second instant messaging tool, the mobile terminal can acquire the operation environment field and send the operation environment field to the payment server, and the payment server receives the operation environment field sent by the mobile terminal; then determining the current operation environment of the mobile terminal according to the operation environment field; when it is determined that the purchase order application is entered from the first instant messenger, S202 is performed.
In addition, when the fact that the user enters the purchase order application program from the second instant messaging tool is determined, the payment server calls a second background server of the second instant messaging tool to obtain the user unified identification (such as uin information) of the user in the second instant messaging tool, and then payment operation is completed according to the user unified identification. The optional implementation manner is a scheme of the prior art, and the step is not described again.
S202, the payment server calls a first background server of the first instant messaging tool according to the login credentials to acquire the identity information of the user in the first instant messaging tool.
In a specific implementation, the mobile terminal enters the purchase order application program from the first instant messaging tool, and the login credential is sent to the mobile terminal by the first background server of the first instant messaging tool. Therefore, after the payment server receives the login credentials, only the first background server of the first instant messaging tool can be called, and the identity information of the user in the first instant messaging tool is obtained from the first background server. The identity information may be an identity, a contact address, and the like of the user.
S203, the payment server calls a second background server of a second instant messaging tool according to the identity information to acquire a user uniform identifier of the user in the second instant messaging tool.
In a specific implementation, because the first instant messaging tool and the second instant messaging tool are two independent account systems, the identity credentials obtained by entering the order application program from the first instant messaging tool or entering the order application program from the second instant messaging tool are different. Therefore, in order to realize that the purchase order application program is embedded into the first instant messaging tool or the second instant messaging tool and can run and complete data transfer through the payment server, the identity certificates of the first instant messaging tool and the second instant messaging tool need to be converted into the same user uniform identification, and therefore, no matter the user enters the purchase order application program from the first instant messaging tool or enters the purchase order application program from the second instant messaging tool, the payment server recognizes the same user uniform identification.
In the implementation of the application, since the first instant messaging tool is logged in by the mobile terminal by using the authorization information of the second instant messaging tool, the identity information of the user in the first instant messaging tool is related to the second instant messaging tool. And the second background server of the second instant messaging tool can perform conversion processing according to the identity information to obtain the user uniform identifier.
And S204, the payment server transfers data according to the user unified identification.
In a specific implementation, the payment server may first determine whether the user has an access right according to the user unified identifier; and performing data transfer when the user has the access right. Then, acquiring a payment merchant number from a payment merchant platform according to the user unified identification; and carrying out data transfer according to the payment merchant number. The method comprises the following steps: after the mobile terminal obtains the number of the payment merchant, the mobile terminal can initiate payment ordering operation, receive data of other users and transfer the data to an enterprise account, thereby realizing the business of external payment collection.
Optionally, since the first instant messaging tool does not integrate the shipping address selection component of the second instant messaging tool, the set of address selection logic can be re-implemented within the first instant messaging tool using the order application.
Optionally, in the second instant messaging tool, the user may be added in a code scanning manner to complete data transfer, while in the first instant messaging tool, the user may be added in a manner of displaying an organizational structure and selecting a member of an enterprise from the organizational structure to complete data transfer.
In the embodiment of the application, a payment server firstly receives a login certificate sent by a mobile terminal, wherein the login certificate is obtained by the mobile terminal entering a purchase order application program; then, according to the login credentials, calling a first background server of the first instant messaging tool to acquire the identity information of the user in the first instant messaging tool; secondly, calling a second background server of a second instant messaging tool according to the identity information to acquire a user uniform identifier of the user in the second instant messaging tool; and finally, data transfer is carried out according to the user unified identification. The order purchasing application program is embedded into the first instant messaging tool to run, the same function as the order purchasing application program in the second instant messaging tool is achieved, and convenience of data transfer is improved.
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating a data transfer method according to another embodiment of the present application. As shown in the figures, the steps in the embodiment of the present application include:
s401, when entering the purchase order application program, obtaining the login credentials entering the purchase order application program.
In a specific implementation, the mobile terminal may first install the purchase order application program in the first instant messaging tool, and embed the purchase order application program running in the second instant messaging tool into the first instant messaging tool. The first instant messaging tool can be enterprise WeChat, the second instant messaging tool can be personal WeChat, the purchase order application program is a purchase order applet running in the personal WeChat, and the user can be an administrator or a shop assistant using the purchase order application program. The payment merchant platform can manage the administrator and the clerk using the purchase order application, and only the administrator and the clerk of the purchase order application have the authority to view the portal of the purchase order application in the workstation of the enterprise WeChat. The identity information of the user is stored in the payment server, the first background server of the first instant messaging tool dynamically queries the payment server to determine whether the access of the purchase order application program needs to be displayed on the workbench of the first instant messaging tool, and if so, the access of the purchase order application program is displayed on the workbench of the first instant messaging tool. The user may first open the workbench of the first instant messaging tool, find the portal of the order application at the workbench of the first instant messaging tool, and click the portal of the order application to enter the order application. At the moment, the mobile terminal calls a wx.logic function of the purchase order application program, and the login credentials are obtained from the first background server of the first instant messaging tool through the jsapi interface. In addition, if the user enters the buy order application program mobile terminal at the workbench of the second instant communication tool to call the wx. That is, the purchase order application program is entered from a different instant messaging tool, and the login credentials are returned by the corresponding backend server.
S402, the mobile terminal sends a login certificate to the payment server.
S403, the payment server sends a login certificate to a first background server of the first instant messaging tool.
Optionally, the second instant messaging tool extends an existing jsapi interface of wx. Therefore, after entering the purchase order application program from the first instant messaging tool or the second instant messaging tool, the mobile terminal can acquire the operation environment field and send the operation environment field to the payment server, and the payment server receives the operation environment field sent by the mobile terminal; then determining the current operation environment of the mobile terminal according to the operation environment field; when it is determined that the purchase order application is entered from the first instant messenger, S403 is performed.
S404, the first background server returns identity information to the payment server.
S405, the payment server sends the identity information to a second background server of the second instant messaging tool.
S406, the second background server returns the user uniform identification to the payment server.
In a specific implementation, because the first instant messaging tool and the second instant messaging tool are two independent account systems, the identity credentials obtained by entering the order application program from the first instant messaging tool or entering the order application program from the second instant messaging tool are different. Therefore, in order to realize that the purchase order application program is embedded into the first instant messaging tool or the second instant messaging tool and can run and complete data transfer through the payment server, the identity certificates of the first instant messaging tool and the second instant messaging tool need to be converted into the same user uniform identification, and therefore, no matter the user enters the purchase order application program from the first instant messaging tool or enters the purchase order application program from the second instant messaging tool, the payment server recognizes the same user uniform identification.
In the implementation of the application, since the first instant messaging tool is logged in by the mobile terminal by using the authorization information of the second instant messaging tool, the identity information of the user in the first instant messaging tool is related to the second instant messaging tool. And the second background server of the second instant messaging tool can perform conversion processing according to the identity information to obtain the user uniform identifier.
S407, the payment server determines whether the user has the access right according to the user unified identification. If yes, go to step S408. If not, an error is returned.
S408, the payment server sends the user uniform identification to the payment merchant platform.
And S409, the payment merchant platform returns the payment merchant number to the payment server.
And S410, the payment server transfers data according to the payment merchant number.
In specific implementation, after the mobile terminal obtains the number of the payment merchant, the mobile terminal can initiate payment ordering operation, receive data of other users, and transfer the data to an enterprise account, thereby realizing the external payment service.
Optionally, the payment server may send a notification message to the mobile terminal, where the notification message is used to prompt the transaction information of the user. The transaction information may include, among other things, the transaction amount, the transaction time, and the transaction item. In addition, the payment server may transmit a notification message to the mobile terminal at a preset time interval.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a data transfer device according to an embodiment of the present disclosure. As shown in the figures, the apparatus in the embodiment of the present application includes:
a receiving module 501, configured to receive a login credential sent by a mobile terminal, where the login credential is obtained by the mobile terminal entering a purchase order application program.
In a specific implementation, the mobile terminal may first install the purchase order application program in the first instant messaging tool, and embed the purchase order application program running in the second instant messaging tool into the first instant messaging tool. The first instant messaging tool can be enterprise WeChat, the second instant messaging tool can be personal WeChat, the purchase order application program is a purchase order applet running in the personal WeChat, and the user can be an administrator or a shop assistant using the purchase order application program. The payment merchant platform can manage the administrator and the clerk using the purchase order application, and only the administrator and the clerk of the purchase order application have the authority to view the portal of the purchase order application in the workstation of the enterprise WeChat. The identity information of the user is stored in the payment server, the first background server of the first instant messaging tool dynamically queries the payment server to determine whether the access of the purchase order application program needs to be displayed on the workbench of the first instant messaging tool, and if so, the access of the purchase order application program is displayed on the workbench of the first instant messaging tool. The user may first open the workbench of the first instant messaging tool, find the portal of the order application at the workbench of the first instant messaging tool, and click the portal of the order application to enter the order application. At the moment, the mobile terminal calls a wx.logic function of the purchase order application program, and the login credentials are obtained from the first background server of the first instant messaging tool through the jsapi interface. In addition, if the user enters the buy order application program mobile terminal at the workbench of the second instant communication tool to call the wx. That is, the purchase order application program is entered from a different instant messaging tool, and the login credentials are returned by the corresponding backend server.
As shown in fig. 3(a), after the user installs the purchase order applet in the enterprise WeChat, the user can open the enterprise WeChat, the "collect money to the outside" option is displayed on the workbench of the enterprise WeChat, the user clicks "collect money to the outside" to enter the purchase order application, at this time, the identity certificate is obtained through the wx.
Optionally, the second instant messaging tool extends an existing jsapi interface of wx. Therefore, after entering the purchase order application program from the first instant messaging tool or the second instant messaging tool, the mobile terminal can acquire the operation environment field and send the operation environment field to the payment server, and the payment server receives the operation environment field sent by the mobile terminal; then determining the current operation environment of the mobile terminal according to the operation environment field; when it is determined that the purchase order application is entered from the first instant messenger, S202 is performed.
In addition, when the fact that the user enters the purchase order application program from the second instant messaging tool is determined, the payment server calls a second background server of the second instant messaging tool to obtain the user unified identification (such as uin information) of the user in the second instant messaging tool, and then payment operation is completed according to the user unified identification. The optional implementation manner is a scheme of the prior art, and the step is not described again.
An obtaining module 502, configured to invoke a first background server of the first instant messaging tool according to the login credential, and obtain identity information of the user in the first instant messaging tool.
In a specific implementation, the mobile terminal enters the purchase order application program from the first instant messaging tool, and the login credential is sent to the mobile terminal by the first background server of the first instant messaging tool. Therefore, after the payment server receives the login credentials, only the first background server of the first instant messaging tool can be called, and the identity information of the user in the first instant messaging tool is obtained from the first background server. The identity information may be an identity, a contact address, and the like of the user.
The obtaining module 502 is further configured to invoke a second background server of a second instant messaging tool according to the identity information, and obtain a user uniform identifier of the user in the second instant messaging tool.
In a specific implementation, because the first instant messaging tool and the second instant messaging tool are two independent account systems, the identity credentials obtained by entering the order application program from the first instant messaging tool or entering the order application program from the second instant messaging tool are different. Therefore, in order to realize that the purchase order application program is embedded into the first instant messaging tool or the second instant messaging tool and can run and complete data transfer through the payment server, the identity certificates of the first instant messaging tool and the second instant messaging tool need to be converted into the same user uniform identification, and therefore, no matter the user enters the purchase order application program from the first instant messaging tool or enters the purchase order application program from the second instant messaging tool, the payment server recognizes the same user uniform identification.
In the implementation of the application, since the first instant messaging tool is logged in by the mobile terminal by using the authorization information of the second instant messaging tool, the identity information of the user in the first instant messaging tool is related to the second instant messaging tool. And the second background server of the second instant messaging tool can perform conversion processing according to the identity information to obtain the user uniform identifier.
And the processing module 503 is configured to perform data transfer according to the user unified identifier.
In a specific implementation, the payment server may first determine whether the user has an access right according to the user unified identifier; and performing data transfer when the user has the access right. Then, acquiring a payment merchant number from a payment merchant platform according to the user unified identification; and carrying out data transfer according to the payment merchant number. The method comprises the following steps: after the mobile terminal obtains the number of the payment merchant, the mobile terminal can initiate payment ordering operation, receive data of other users and transfer the data to an enterprise account, thereby realizing the business of external payment collection.
Optionally, since the first instant messaging tool does not integrate the shipping address selection component of the second instant messaging tool, the set of address selection logic can be re-implemented within the first instant messaging tool using the order application.
Optionally, in the second instant messaging tool, the user may be added in a code scanning manner to complete data transfer, while in the first instant messaging tool, the user may be added in a manner of displaying an organizational structure and selecting a member of an enterprise from the organizational structure to complete data transfer.
Optionally, the data transfer device further includes:
a sending module 504, configured to send a notification message to the mobile terminal, where the notification message is used to prompt the transaction information of the user.
In the embodiment of the application, a payment server firstly receives a login certificate sent by a mobile terminal, wherein the login certificate is obtained by the mobile terminal entering a purchase order application program; then, according to the login credentials, calling a first background server of the first instant messaging tool to acquire the identity information of the user in the first instant messaging tool; secondly, calling a second background server of a second instant messaging tool according to the identity information to acquire a user uniform identifier of the user in the second instant messaging tool; and finally, data transfer is carried out according to the user unified identification. The order purchasing application program is embedded into the first instant messaging tool to run, the same function as the order purchasing application program in the second instant messaging tool is achieved, and convenience of data transfer is improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a data transfer device according to an embodiment of the present disclosure. As shown, the data transfer apparatus may include: at least one processor 601, at least one communication interface 602, at least one memory 604, and at least one communication bus 604.
The processor 601 may be, among other things, a central processing unit, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a digital signal processor and a microprocessor, or the like. The communication bus 604 may be a peripheral component interconnect standard PCI bus or an extended industry standard architecture EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus. A communication bus 604 is used to enable connective communication between these components. The communication interface 602 of the flow control device in this embodiment is used for performing signaling or data communication with other node devices. The Memory 604 may include a volatile Memory, such as a Nonvolatile dynamic Random Access Memory (NVRAM), a Phase Change Random Access Memory (PRAM), a Magnetoresistive Random Access Memory (MRAM), and the like, and may further include a Nonvolatile Memory, such as at least one magnetic Disk Memory device, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a flash Memory device, such as a NOR flash Memory (NOR flash Memory) or a NAND flash Memory (EEPROM), a semiconductor device, such as a Solid State Disk (SSD), and the like. The memory 604 may optionally be at least one storage device located remotely from the processor 601. A set of program codes is stored in the memory 604 and executed by the processor 601 in the memory 604.
Receiving a login certificate sent by a mobile terminal, wherein the login certificate is obtained by the mobile terminal entering a purchase order application program;
calling a first background server of the first instant messaging tool according to the login credentials to acquire the identity information of the user in the first instant messaging tool;
calling a second background server of a second instant messaging tool according to the identity information to acquire a user uniform identifier of the user in the second instant messaging tool;
and carrying out data transfer according to the user unified identification.
Optionally, the processor 601 is further configured to perform the following operation steps:
receiving a running environment field sent by the mobile terminal;
determining the current operating environment of the mobile terminal according to the operating environment field;
and when the user confirms to enter the purchase order application program from the first instant messaging tool, executing an operation step of calling a first background server of the first instant messaging tool to acquire the identity information of the user in the first instant messaging tool according to the login certificate.
Optionally, the processor 601 is further configured to perform the following operation steps:
determining whether the user has access authority or not according to the user unified identification;
and when the user has the access right, performing data transfer.
Optionally, the processor 601 is further configured to perform the following operation steps:
the payment server acquires a payment merchant number from a payment merchant platform according to the user unified identification;
and the payment server transfers data according to the payment merchant number.
Optionally, the processor 601 is further configured to perform the following operation steps:
and the payment server sends a notification message to the mobile terminal, wherein the notification message is used for prompting the transaction information of the user.
And the first instant messaging tool is logged in by the mobile terminal by using the authorization information of the second instant messaging tool.
Further, the processor may cooperate with the memory and the communication interface to perform the operations of the data transfer device in the embodiments of the above application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above-mentioned embodiments further explain the objects, technical solutions and advantages of the present application in detail. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (14)

1. A method of data transfer, the method comprising:
the payment server receives a login certificate sent by a mobile terminal, wherein the login certificate is obtained by the mobile terminal entering a purchase order application program from a first instant messaging tool, and the login certificate is a login certificate corresponding to the first instant messaging tool;
the payment server calls a first background server of the first instant messaging tool according to the login credentials to acquire identity information of a user corresponding to the mobile terminal in the first instant messaging tool;
the payment server calls a second background server of a second instant messaging tool according to the identity information to obtain a user unified identifier of the user in the second instant messaging tool, wherein account systems corresponding to the first instant messaging tool and the second instant messaging tool are different, the payment server is a payment server corresponding to the second instant messaging tool, and the user unified identifier is obtained by performing conversion processing according to the identity information;
and the payment server transfers data according to the user unified identification.
2. The method of claim 1, wherein after the payment server receives the login credentials sent by the mobile terminal, further comprising:
the payment server receives the operation environment field sent by the mobile terminal;
the payment server determines the current operating environment of the mobile terminal according to the operating environment field;
and when the payment server determines to enter the purchase order application program from the first instant messaging tool, the payment server executes an operation step of calling a first background server of the first instant messaging tool to acquire the identity information of the user in the first instant messaging tool according to the login certificate.
3. The method of claim 1, wherein the payment server performing data transfer according to the user unified identity comprises:
the payment server determines whether the user has the access right or not according to the user unified identification;
and when the user has the access right, the payment server performs data transfer.
4. The method of claim 3, wherein the payment server performing data transfer according to the user unified identity comprises:
the payment server acquires a payment merchant number from a payment merchant platform according to the user unified identification;
and the payment server transfers data according to the payment merchant number.
5. The method of claim 1, wherein after the data transfer by the payment server according to the user unified identity, further comprising:
and the payment server sends a notification message to the mobile terminal, wherein the notification message is used for prompting the transaction information of the user.
6. The method of any of claims 1-5, wherein the first instant messenger is logged in by the mobile terminal using authorization information of the second instant messenger.
7. A data transfer device, applied to a payment server, the device comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a login certificate sent by a mobile terminal, the login certificate is obtained by the mobile terminal entering a purchase order application program from a first instant messaging tool, and the login certificate is a login certificate corresponding to the first instant messaging tool;
the acquisition module is used for calling a first background server of the first instant messaging tool according to the login credentials and acquiring the identity information of a user corresponding to the mobile terminal in the first instant messaging tool;
the obtaining module is further configured to call a second background server of a second instant messaging tool according to the identity information, and obtain a user uniform identifier of the user in the second instant messaging tool, where account systems corresponding to the first instant messaging tool and the second instant messaging tool are different, the payment server is a payment server corresponding to the second instant messaging tool, and the user uniform identifier is obtained by performing conversion processing according to the identity information;
and the processing module is used for carrying out data transfer according to the user unified identification.
8. The apparatus of claim 7,
the receiving module is further configured to receive the operation environment field sent by the mobile terminal;
the processing module is further configured to determine a current operating environment of the mobile terminal according to the operating environment field; and when the user confirms to enter the purchase order application program from the first instant messaging tool, executing an operation step of calling a first background server of the first instant messaging tool to acquire the identity information of the user in the first instant messaging tool according to the login certificate.
9. The apparatus of claim 7,
the processing module is further used for determining whether the user has the access right according to the user unified identification; and when the user has the access right, performing data transfer.
10. The apparatus of claim 9,
the processing module is also used for acquiring a payment merchant number from a payment merchant platform according to the user unified identification; and carrying out data transfer according to the payment merchant number.
11. The apparatus of claim 7, wherein the apparatus further comprises:
and the sending module is used for sending a notification message to the mobile terminal, wherein the notification message is used for prompting the transaction information of the user.
12. The apparatus of any of claims 7-11, wherein the first instant messenger is logged in by the mobile terminal using authorization information of the second instant messenger.
13. A data transfer apparatus, comprising: a memory for storing program code, a communication bus, and a processor for invoking the program code to perform the method of any one of claims 1-6.
14. A computer-readable storage medium having stored therein instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1-6.
CN201810644018.3A 2018-06-21 2018-06-21 Data transfer method and related equipment Active CN109034759B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810644018.3A CN109034759B (en) 2018-06-21 2018-06-21 Data transfer method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810644018.3A CN109034759B (en) 2018-06-21 2018-06-21 Data transfer method and related equipment

Publications (2)

Publication Number Publication Date
CN109034759A CN109034759A (en) 2018-12-18
CN109034759B true CN109034759B (en) 2022-02-11

Family

ID=64610625

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810644018.3A Active CN109034759B (en) 2018-06-21 2018-06-21 Data transfer method and related equipment

Country Status (1)

Country Link
CN (1) CN109034759B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109688050B (en) * 2018-12-28 2021-09-28 携程旅游网络技术(上海)有限公司 Instant messaging control method and system
CN111523862B (en) * 2020-04-27 2024-02-23 广东电网有限责任公司培训与评价中心 Method and related equipment for acquiring talent data

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106527673A (en) * 2015-09-11 2017-03-22 阿里巴巴集团控股有限公司 Method and apparatus for binding wearable device, and electronic payment method and apparatus

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478410A (en) * 2008-12-30 2009-07-08 腾讯科技(深圳)有限公司 Instant messaging customer terminal and instant messaging method
CN104636924B (en) * 2013-11-15 2023-04-25 腾讯科技(深圳)有限公司 Secure payment method, server and system
CN110009315A (en) * 2014-05-15 2019-07-12 阿里巴巴集团控股有限公司 A kind of method of payment, the methods of exhibiting and device for paying the page
US20150348016A1 (en) * 2014-06-02 2015-12-03 Google Inc. Providing Customer Identification With Payment Information
CN105812341B (en) * 2014-12-31 2019-03-29 阿里巴巴集团控股有限公司 A kind of method and device of identity user identity
CN106254405A (en) * 2015-06-10 2016-12-21 阿里巴巴集团控股有限公司 Data transfering method based on tool of communications and system
KR20170028015A (en) * 2015-09-03 2017-03-13 엔에이치엔엔터테인먼트 주식회사 on-line credit card payment system using mobile terminal and payment method thereof
CN108171504B (en) * 2017-11-16 2021-12-31 深圳市微付充科技有限公司 Aggregated payment method, mobile device and storage device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106527673A (en) * 2015-09-11 2017-03-22 阿里巴巴集团控股有限公司 Method and apparatus for binding wearable device, and electronic payment method and apparatus

Also Published As

Publication number Publication date
CN109034759A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN111160845B (en) Service processing method and device
CN109801051B (en) Resource transfer method, system, server and computer readable storage medium
CN105530175A (en) Message processing method, device and system
WO2021244474A1 (en) Login data processing method, apparatus, device and system
CN111177112A (en) Database blocking method and device based on operation and maintenance management system and electronic equipment
WO2021253185A1 (en) Aggregate payment method and related products
WO2019199465A1 (en) TRUSTED PLATFORM MODULE-BASED PREPAID ACCESS TOKEN FOR COMMERCIAL IoT ONLINE SERVICES
CN108830562B (en) Attendance card punching method and related equipment
CN109034759B (en) Data transfer method and related equipment
CN114338793A (en) Message pushing method and device, electronic equipment and readable storage medium
CN110704833A (en) Data permission configuration method, device, electronic device and storage medium
US10321276B2 (en) Systems and methods for vehicle telematics registration
US20190197539A1 (en) Method of providing service for setting condition of card use, card company server and user terminal
CN113179282A (en) Method and device for merging account numbers and server
CN107203877B (en) Method and device for realizing service between accounts in close range
CN108446905B (en) Payment method and device and electronic equipment
CN104955005A (en) Method and device for depositing for communication terminal
CN114116036A (en) Calling method, device and medium of application plug-in and electronic equipment
CN110175915B (en) Service execution result obtaining method and system based on block chain
KR101675376B1 (en) System and method for relaying payment between mobile payment means and off-line payment system
CN106101125A (en) Authentication processing method, Apparatus and system
CN111144863A (en) Processing method and device for bank card information change of withholding account and related equipment
WO2020019291A1 (en) Information processing method, electronic device, server, and information processing system
CN111784481B (en) Code scanning ordering method, service code creating method, device and electronic equipment
CN111865726B (en) Service message testing method, device, computer system and storage medium

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
GR01 Patent grant
GR01 Patent grant