CN112583770B - Data transmission method, device, storage medium and equipment - Google Patents

Data transmission method, device, storage medium and equipment Download PDF

Info

Publication number
CN112583770B
CN112583770B CN201910939554.0A CN201910939554A CN112583770B CN 112583770 B CN112583770 B CN 112583770B CN 201910939554 A CN201910939554 A CN 201910939554A CN 112583770 B CN112583770 B CN 112583770B
Authority
CN
China
Prior art keywords
login information
data
user
calling
message
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
CN201910939554.0A
Other languages
Chinese (zh)
Other versions
CN112583770A (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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology 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 Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201910939554.0A priority Critical patent/CN112583770B/en
Publication of CN112583770A publication Critical patent/CN112583770A/en
Application granted granted Critical
Publication of CN112583770B publication Critical patent/CN112583770B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/133Protocols for remote procedure calls [RPC]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a method, a device, a storage medium and equipment for data transmission, which relate to the technical field of computers, wherein the data transmission comprises the step of transmitting client data which are stored in an external data system and correspond to a user logging in a data calling system to the data calling system by using a relational storage system, and the method comprises the following steps: calling a user updating Application Program Interface (API) instruction by using the relational storage system to trigger a message issuing system corresponding to the external data system; the data calling system monitors the updating event message issued by the updating event message of the user issued by the message issuing system in real time so as to update the client material of the corresponding user. By the technical scheme, the problem that the data calling system cannot acquire data from the external data system due to the fact that the external data system cannot open the data interface is effectively solved, and the data calling system can normally acquire the required data on the basis of ensuring the data security of the external data system.

Description

Data transmission method, device, storage medium and equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a storage medium, and a device for data transmission.
Background
Interfacing with external data systems is a common work content in data processing projects to facilitate the transfer and storage of data. Interfacing with external data systems is typically done in the following manner: 1. an interface is opened between the systems, and the data is directly subjected to interface transmission; 2. data is imported/exported by using file import/export.
However, some external data systems are not opened to the outside, or for some reason, cannot provide a data interface or a file import form, so that data transmission is often difficult to transmit in a direct manner. For example: 1. when the external data system directly performs SSO (single sign on), through token (token in computer identity authentication) of the external data system, user information needs to be acquired through calling API (Application Programming Interface), so as to perform user matching, and once the external data system cannot perform SSO authorization, the API for acquiring user information cannot be provided, data transmission cannot be performed normally; 2. data transmission is performed with a relation storage system, a corresponding relation between a user openid (decentralized online identity authentication system) and a user id (an identity card identification number or an account number) of an external data system needs to be acquired, then user data is acquired through a user interface of the external data system, and once the external data system cannot provide a user API, data transmission cannot be performed normally.
The inventor of the present application finds, in the process of implementing the present invention, that the above-mentioned solution in the prior art has a defect that data transmission cannot be normally performed under the condition that SSO cannot be performed with an external data system and/or the external system cannot provide a query user API.
Disclosure of Invention
It is an object of embodiments of the present invention to provide a method, an apparatus, a storage medium, and a device for data transmission, which are used to solve or at least partially solve the above technical problems.
In order to achieve the above object, an embodiment of the present invention provides a data transmission method, where the data transmission method includes: acquiring first login information of a user logging in the data calling system at a data calling system end, and transmitting the first login information to a relation storage system; determining second login information of the user for logging in an external data system at the relation storage system end according to the first login information and the corresponding relation between the first login information and the second login information, and sending an instruction for calling the user of the user to update an Application Program Interface (API) according to the second login information so as to trigger a message issuing system corresponding to the external data system; at the message publishing system end, publishing the user update event message which is stored in the external data system and corresponds to the second login information; and monitoring the update event message in real time at the data call system end, calling the corresponding relation of the first login information and the second login information, and updating the client data of the user corresponding to the first login information in the data call system according to the update event message of the user corresponding to the second login information and the corresponding relation of the first login information and the second login information, wherein the relation storage system stores the corresponding relation of the first login information and the second login information of the user for logging in an external data system.
Optionally, the data transmission method further includes: and displaying the updated client data of the user corresponding to the first login information to the user at a data calling system end.
Optionally, the storing, by the relationship storage system, a corresponding relationship between the first login information and second login information of the user logging in the external data system includes: at a relation storage system end, judging whether the user is bound with the external data system or not according to the first login information; when the user is confirmed to be bound with the data call system, acquiring the corresponding relation between the first login information and the second login information stored in the relation storage system; otherwise, calling a login interface of the external data system to acquire the second login information, determining the relationship between the first login information and the second login information, and storing the determined relationship to the relationship storage system.
Optionally, the message publishing system is a distributed message system kafka.
According to a second aspect of the embodiments of the present invention, there is provided a data transmission apparatus, including: the acquisition module is used for acquiring first login information of a user logging in the data calling system at the data calling system end and transmitting the first login information to the relationship storage system; the relationship confirmation module is used for determining second login information of the user for logging in the external data system at the relationship storage system end according to the first login information and the corresponding relationship between the first login information and the second login information; the triggering module is used for sending an instruction for calling a user update Application Program Interface (API) of the user according to the second login information so as to trigger a message issuing system corresponding to an external data system; the message publishing module is used for publishing the client data updating event message of the user, which is stored in the external data system and corresponds to the second login information, at the message publishing system end; and the data updating module is used for monitoring the client data updating event message in real time at the data calling system end, calling the corresponding relation of the first login information and the second login information, and updating the client data of the user corresponding to the first login information in the data calling system according to the monitored updating event message and the corresponding relation of the first login information and the second login information.
Optionally, the data transmission apparatus further includes: and the data display module is used for displaying the updated client data of the user corresponding to the first login information to the user at a data calling system end.
Optionally, the data transmission apparatus further includes: a binding confirmation submodule, configured to, before determining second login information of the user logging in the external data system, determine, at the relationship storage system, whether the user is bound to the external data system according to the first login information; when the user is determined to be bound with the data call system, acquiring the corresponding relation between the first login information and the second login information stored in the relation storage system; otherwise, calling a login interface of the external data system to acquire the second login information, determining the relationship between the first login information and the second login information, and storing the determined relationship to the relationship storage system.
Optionally, the message publishing system is a distributed message system kafka.
Accordingly, an embodiment of the present invention provides a machine-readable storage medium, which stores instructions for causing a machine to execute the method for data transmission described above.
Correspondingly, the embodiment of the invention also provides equipment, which comprises at least one processor, at least one memory and a bus, wherein the memory and the bus are connected with the processor; the processor and the memory complete mutual communication through a bus; the processor is used for calling the program instructions in the memory so as to execute the data transmission method.
Through the technical scheme, the external data system can select a trusted system as the relation storage system to perform data transmission with the data calling system, so that the problem that the data calling system cannot acquire data from the external data system due to the fact that the external data system cannot open a data interface is effectively solved, and the data calling system can normally acquire the required data on the basis of ensuring the safety of the data stored in the external data system.
Additional features and advantages of embodiments of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments 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 embodiments of the invention and not to limit the embodiments of the invention. In the drawings:
fig. 1 is a flow chart of a method of data transmission provided by an embodiment of the present invention;
FIG. 2 is a flow chart of an example of a particular application provided by an embodiment of the present invention;
FIG. 3 is a block diagram of an apparatus for data transmission provided by an embodiment of the present invention;
FIG. 4 is a block diagram of an apparatus for data transmission provided by yet another embodiment of the present invention;
FIG. 5 is a block diagram of a data presentation module of an apparatus for data transmission provided by an embodiment of the present invention;
FIG. 6 is a block diagram of a data presentation module of a device for data transmission provided by yet another embodiment of the present invention; and
fig. 7 is a schematic structural diagram of an apparatus provided in an embodiment of the present invention.
Description of the reference numerals
1. Acquisition module 2 and relation confirmation module
3. Trigger module 4 and message publishing module
5. Data updating module 6 and data display module
61. Acquisition submodule 62 and data callback submodule
63. Display submodule 64 and data waiting module
70. Device 701 and processor
702. Memory 703, bus
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating embodiments of the invention, are given by way of illustration and explanation only, not limitation.
In the embodiment of the present invention, the data transmission refers to data transmission between the external data system and the data call system, and includes transmitting, by using the relationship storage system, the client data stored in the external data system and corresponding to the user logging in the data call system to the data call system.
In the embodiment of the invention, the message publishing system is a distributed message system kafka, which is a high-throughput distributed publish-subscribe message system, and can process all action flow data of a consumer in a website.
Fig. 1 is a flowchart of a method for data transmission according to an embodiment of the present invention, where the method for data transmission shown in fig. 1 may include the following steps:
s100, acquiring first login information of a user logging in the data calling system at a data calling system end, and transmitting the first login information to a relationship storage system;
specifically, the user information stored by the data calling system, the relationship storage system and the external data system is as follows: the data calling system stores first login information of a user (for example, if the data calling system is a WeChat public signal service system, the data calling system stores openid of the WeChat user), the external data system stores second login information (for example, userid) of the required user and client data; and the relation storage system stores the corresponding relation between the userid and the openid. The message publishing system and the external data system belong to the same system, the data stored in the message publishing system and the external data system are synchronous, and the message publishing system is used for receiving the subscription and publishing the data of the external data system according to the subscription, and is equivalent to a tool system for data transmission.
For example, the data call system is a wechat public number operating system, and the obtaining of the first login information of the user logging in the data call system refers to obtaining a wechat account of the user logging in the wechat public number, for example: and acquiring openid (decentralized online identity authentication system) of the user login WeChat.
S200, determining second login information of the user for logging in the external data system at the relation storage system end according to the first login information and the corresponding relation between the first login information and the second login information.
In a preferred embodiment of the present invention, the step S200 may specifically include: at the relation storage system end, judging whether the user is bound with an external data system or not according to the first login information; when the user is determined to be bound with the data calling system, acquiring the corresponding relation between the first login information and the second login information stored in the relation storage system; otherwise, calling a login interface of the external data system, acquiring second login information to determine the relationship between the first login information and the second login information, and storing the determined relationship in the relationship storage system.
Specifically, if the user who logs in the data call system in step S100 has already logged in the external data system through the data call system, the relationship storage system stores the second login information of the user logging in the external data system, and stores the correspondence relationship between the first login information and the second login information. If the user does not log in the external data system through the data calling system, the relationship storage system calls a login page of the external data system from the external data system, and the user inputs second login information for logging in the external data system.
For example, a wechat public number needs to transmit data to and from an external data system. In step S100, the user logs in the WeChat and clicks a personal center of a public number through the WeChat. In step S200, the personal center first jumps to a relationship storage system, and the relationship storage system determines whether the wechat user has bound the public number, and if so, it indicates that the user has input second login information (for example, a user name userid may be included) for logging in an external data system before. In this case, the second login information of the user to log in the external data system may be determined directly at the relationship storage system side according to the first login information and the corresponding relationship between the first login information and the second login information.
If the relation storage system end determines that the user is not bound, after clicking a binding button in a binding page of the public number, the user jumps to a login page PCCLOGIN provided by an external data system, and inputs second login information (for example, the second login information may include a user name userid).
And S300, sending an instruction for calling the user of the user to update the application program interface API according to the second login information so as to trigger the message issuing system corresponding to the external data system.
For example, based on the example in step S200, after the user inputs the second login information, the external data system verifies the second login information, and after the verification is successful, the relationship storage system sends an instruction to invoke an Application Programming Interface (API) from the external storage system, and at this time, the message issuing system corresponding to the external data system is triggered by the user update instruction.
S400, at the message publishing system end, publishing the user update event message corresponding to the second login information stored in the external data system.
Specifically, the message distribution system is a system corresponding to an external data system, and has a function of storing data of the external data system by classification and distributing messages stored therein in a message queue.
In the embodiment of the invention, the message publishing system is a distributed subscription-type message system supporting partitions, reading and writing of messages are supported, and the external data system writes the user update event message into the message publishing system by using the stored data, so that other systems (such as a data calling system) can subscribe (for example, subscribe in a monitoring mode) the message of the message publishing system.
For example, taking kafka as a message publishing system as an example, the external data system records various activities of the web user or app user (e.g., activities of browsing web pages, searching, clicking, etc.), and forms a user update event message, and the activity information is published to topics of kafka (it may be understood that kafka includes multiple types of messages, each topic is a type of message, and a subscriber consumer of kafka may subscribe to one or more topics), and then a subscriber (e.g., a data invoking system) performs operations such as real-time monitoring analysis by subscribing to the topics.
For example: and after the kafka is triggered by the API (application program interface) command of the user update of the user called by the relational storage system according to the second login information, finding the update event message of the user corresponding to the second login information and issuing the update event message. The public number realizes the updating of corresponding client materials by monitoring user updating event messages issued by kafka.
S500, monitoring the update event message in real time at the data call system end, calling the corresponding relation between the second login information and the first login information, and updating the client data of the user corresponding to the first login information in the data call system according to the update event message of the user corresponding to the second login information and the corresponding relation between the second login information and the first login information.
Specifically, kafka is an open message queue that, when triggered, issues a user update event message corresponding to the trigger instruction. For example: the user has purchased a watch of a certain brand of model a, the user has purchased a bag of a certain color of a certain model, the user has applied for after-sales information of a car of a certain color of a certain model, and the like.
In an embodiment of the present invention, the method for data transmission further includes displaying, at the data call system side, the updated customer data of the user corresponding to the first login information to the user.
For example, when the data transmission method of the embodiment of the present invention is applied to an automated marketing process, and a user inputs second login information, the user can obtain client data of the user stored in an external data system, for example: the user has a model of a car of a certain color, etc.
Further, when the updated client information of the user corresponding to the first login information is displayed to the user, the display page address of the data calling system is acquired as a callback address through the relational storage system end, and after the user updates the API trigger message issuing system, the user jumps to the display page of the data calling system through the callback address; and at the data calling system end, displaying the updated customer data of the user corresponding to the first login information to the user on a display page.
More preferably, the displaying the updated customer profile of the user corresponding to the first login information to the user further comprises: and setting a waiting page at the front end of the display page.
Specifically, since kafka is a non-real-time message queue, the data call system cannot predict the receipt of push messages by listening to kafka. The user logs in and views the page is an operation with high time requirement, so that a waiting page is added to the front page of the user viewing page in the data call system, for example: a small game interface is arranged on the waiting page, or a picture or a short video with higher appreciation is arranged, or a warm reminding page is arranged to show information such as 'please wait while acquiring data', so that the user can spend relatively natural waiting time.
For example, a download page loading may be added to the callback page of the data call system, and every 2 seconds, whether the customer data of the user corresponding to the first login information in the data call system is updated is checked, and if the customer data is updated, the user jumps to the user detail page immediately, so that the updated customer data of the user corresponding to the first login information is displayed to the user on the display page of the data call system.
Through the technical scheme, the relation storage system is used for calling the user update Application Program Interface (API) instruction of the user according to the second login information of the user, namely, the message publishing system corresponding to the external data system can be triggered, the message publishing system publishes the user update event message of the user, and the data calling system can monitor the corresponding user update event message in real time and further complete the client data update of the corresponding user according to the user update event message. In the process, the relation storage system is a medium function and is mainly used for storing the relation between the first login information and the second login information and triggering the message issuing system corresponding to the external data system, and the data calling system has no special requirement on the relation storage system, so that the external data system can select a trusted system as the relation storage system to perform data transmission with the data calling system, the problem that the data calling system cannot acquire data from the external data system due to the fact that the external data system cannot open a data interface is effectively solved, and the data calling system can normally acquire the required data on the basis of ensuring the safety of the data stored in the external data system.
Fig. 2 is a flowchart of a specific application example provided in an embodiment of the present invention, and as shown in fig. 2, the application example may sequentially include the following steps:
s1001, first login information of a user logging in the data call system is obtained and transmitted to the relation storage system.
S2001, determining whether the user is bound to the external data system according to the first login information, if yes, performing step S2002, and if no, performing step S3001.
S3001, jumping to an external data system end login page, acquiring second login information of the user, and transmitting the second login information to the relationship storage system.
And S2002, determining second login information of the user for logging in the external data system according to the first login information and the corresponding relation between the first login information and the second login information.
And S2003, sending an instruction for calling the user update Application Program Interface (API) of the user.
And S3002, the message issuing system is triggered by the user updating API.
S3003, the message issuing system issues the user update event message corresponding to the second login information.
S1002, monitoring the update event message corresponding to the second login information in real time.
S1003, updating the client data of the user corresponding to the first login information in the data calling system according to the updating event message of the user corresponding to the second login information and the corresponding relation between the first login information and the second login information.
Fig. 3 is a block diagram of an apparatus for data transmission according to an embodiment of the present invention, and as shown in fig. 3, the apparatus for data transmission includes: the system comprises an acquisition module 1, a relationship storage system and a data transfer module, wherein the acquisition module is used for acquiring first login information of a user logging in the data transfer system at a data transfer system end and transmitting the first login information to the relationship storage system; the relation confirming module 2 is used for confirming second login information of the user for logging in the external data system and the corresponding relation between the first login information and the second login information at the relation storage system end according to the first login information; the triggering module 3 is used for calling a user updating Application Program Interface (API) instruction of the user according to the second login information so as to trigger a message issuing system corresponding to the external data system; the message publishing module 4 is used for publishing a client data updating event message of the user, which is stored in an external data system and corresponds to the second login information, at a message publishing system end; and the data updating module 5 is used for monitoring the client data updating event message in real time at the data calling system end, calling the corresponding relation between the second login information and the first login information, and updating the client data of the user corresponding to the first login information in the data calling system according to the monitored updating event message, the corresponding relation between the second login information and the first login information.
Preferably, in the embodiment of the present invention, the message publishing system is a distributed message system kafka.
Fig. 4 is a block diagram of a data transmission apparatus according to another embodiment of the present invention, and as shown in fig. 4, the data transmission apparatus further includes: and the data display module 6 is used for displaying the updated client data of the user corresponding to the first login information to the user at the data calling system end.
Fig. 5 is a block diagram of a data presentation module of an apparatus for data transmission according to an embodiment of the present invention, and as shown in fig. 5, the data presentation module 6 includes: the obtaining submodule 61 is configured to obtain, at the relational storage system side, a display page address of the data call system as a callback address; the data callback submodule 62 is used for skipping to a display page of the data calling system through a callback address after the user updates the API trigger message issuing system; and a display submodule 63, configured to display, at the data call system end, the updated customer data of the user corresponding to the first login information to the user on a display page.
Fig. 6 is a block diagram of a data presentation module of an apparatus for data transmission according to another embodiment of the present invention, and as shown in fig. 6, the data presentation module 6 further includes: and the data waiting submodule 64 is used for setting a waiting page at the front end of the display page.
In this embodiment of the present invention, the apparatus for data transmission further includes: a binding confirmation module (not shown in the figure) for judging whether the user binds the data calling system or not at the relation storage system end according to the first login information before the second login information of the user for logging in the external data system is determined; when the user is determined to be bound with the data calling system, acquiring the corresponding relation between the first login information and the second login information stored in the relation storage system; otherwise, calling a login interface of the external data system to acquire second login information, determining the relationship between the first login information and the second login information, and storing the determined relationship to the relationship storage system.
For details and advantages of the data transmission apparatus, reference is made to the above data transmission method, and details are not repeated here.
In the embodiment provided by the present invention, the data transmission device includes a processor and a memory, the obtaining module 1, the relationship confirming module 2, the triggering module 3, the message issuing module 4, the data updating module 5, the data displaying module 6, and the like are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more, and the data transmission between the external data system and the data calling system is realized by adjusting the kernel parameters.
An embodiment of the present invention provides a storage medium having a program stored thereon, the program implementing a method of data transmission when executed by a processor.
Fig. 7 is a schematic structural diagram of an apparatus according to an embodiment of the present invention, and as shown in fig. 7, an apparatus 70 according to an embodiment of the present invention includes at least one processor 701, and at least one memory 702 and a bus 703, which are connected to the processor 701; the processor 701 and the memory 702 complete mutual communication through a bus 703; the processor 701 is configured to call the program instructions in the memory 702 to execute the above-mentioned data transmission method. The device 70 herein may be a server, a PC, a PAD, a cell phone, etc.
The present application also provides a computer program product adapted to perform a program of initializing the steps of the method of data transmission described above when executed on a data processing device.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, the device 70 includes one or more processors (CPUs), a memory 702, and a bus 703. The device 70 may also include input/output interfaces, network interfaces, and the like.
The memory 702 may include volatile memory in a computer readable medium, random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory 702 includes at least one memory chip. The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method of data transmission, the method comprising:
acquiring first login information of a user logging in the data calling system at a data calling system end, and transmitting the first login information to a relationship storage system;
determining second login information of the user for logging in an external data system at the relation storage system end according to the first login information and the corresponding relation between the first login information and the second login information, and sending an instruction for calling the user of the user to update an Application Program Interface (API) according to the second login information so as to trigger a message issuing system corresponding to the external data system;
at the message publishing system end, publishing the user update event message which is stored by the external data system and corresponds to the second login information; and
monitoring the update event message in real time at the data call system end, calling the corresponding relation of the first login information and the second login information, so as to update the client data of the user corresponding to the first login information in the data call system according to the update event message of the user corresponding to the second login information and the corresponding relation of the first login information and the second login information,
and the relation storage system stores the corresponding relation between the first login information and second login information of the user for logging in the external data system.
2. The method of data transmission according to claim 1, further comprising: and displaying the updated client data of the user corresponding to the first login information to the user at a data calling system end.
3. The method of claim 1, wherein prior to determining the second login information for the user to log in to the external data system, the method further comprises:
at the relation storage system end, judging whether the user is bound with the external data system or not according to the first login information; and
when the user is confirmed to be bound with the data call system, acquiring the corresponding relation between the first login information and the second login information stored in the relation storage system; otherwise, calling a login interface of the external data system to acquire the second login information, determining the relationship between the first login information and the second login information, and storing the determined relationship to the relationship storage system.
4. The method for data transmission according to claim 1, wherein the message distribution system is a distributed message system kafka.
5. An apparatus for data transmission, the apparatus comprising:
the acquisition module is used for acquiring first login information of a user logging in the data calling system at a data calling system end and transmitting the first login information to the relationship storage system;
the relationship confirmation module is used for determining second login information of the user for logging in the external data system at the relationship storage system end according to the first login information and the corresponding relationship between the first login information and the second login information;
the triggering module is used for sending an instruction for calling a user update Application Program Interface (API) of the user according to the second login information so as to trigger a message issuing system corresponding to an external data system;
the message publishing module is used for publishing the client data updating event message of the user, which is stored in the external data system and corresponds to the second login information, at the message publishing system end; and
a data updating module, configured to monitor the client data updating event message in real time at the data call system, and call the corresponding relationship between the first login information and the second login information, so as to update the client data of the user corresponding to the first login information in the data call system according to the monitored updating event message and the corresponding relationship between the first login information and the second login information,
and the relationship storage system stores the corresponding relationship between the first login information and the second login information of the user for logging in the external data system.
6. The apparatus for data transmission according to claim 5, wherein the apparatus for data transmission further comprises: and the data display module is used for displaying the updated client data of the user corresponding to the first login information to the user at a data calling system end.
7. The apparatus for data transmission according to claim 5, wherein the apparatus for data transmission further comprises:
a binding confirmation module, configured to, before determining second login information of the user logging in the external data system, determine, at the relationship storage system side, whether the user is bound to the external data system according to the first login information; and
when the user is determined to be bound with the data call system, acquiring the corresponding relation between the first login information and the second login information stored in the relation storage system; otherwise, calling a login interface of the external data system to acquire the second login information, determining the relationship between the first login information and the second login information, and storing the determined relationship to the relationship storage system.
8. The apparatus for data transmission according to claim 5, wherein the message distribution system is a distributed message system kafka.
9. A machine-readable storage medium having stored thereon instructions for causing a machine to perform the method of data transmission of any of claims 1-4.
10. An apparatus comprising at least one processor, and at least one memory, bus connected to the processor; the processor and the memory are communicated with each other through a bus; the processor is configured to invoke program instructions in the memory to perform the method of data transfer of any of claims 1-4.
CN201910939554.0A 2019-09-30 2019-09-30 Data transmission method, device, storage medium and equipment Active CN112583770B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910939554.0A CN112583770B (en) 2019-09-30 2019-09-30 Data transmission method, device, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910939554.0A CN112583770B (en) 2019-09-30 2019-09-30 Data transmission method, device, storage medium and equipment

Publications (2)

Publication Number Publication Date
CN112583770A CN112583770A (en) 2021-03-30
CN112583770B true CN112583770B (en) 2022-11-25

Family

ID=75116393

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910939554.0A Active CN112583770B (en) 2019-09-30 2019-09-30 Data transmission method, device, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN112583770B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106991575A (en) * 2017-04-11 2017-07-28 广州油菜花信息科技有限公司 Member management web applications and its application method based on wechat and Alipay platform

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821085B (en) * 2011-11-23 2015-12-02 腾讯科技(深圳)有限公司 Third party authorizes login method, open platform and system
US10628278B2 (en) * 2017-01-26 2020-04-21 International Business Machines Corporation Generation of end-user sessions from end-user events identified from computer system logs
CN107729356A (en) * 2017-08-31 2018-02-23 深圳市丰巢科技有限公司 It is managed collectively method, storage medium and the electronic equipment of wechat public number user
CN108777656A (en) * 2018-05-30 2018-11-09 湖南鑫蜀山网络科技有限公司 A kind of electronic equipment being managed collectively wechat public platform user
CN108924132A (en) * 2018-06-29 2018-11-30 深圳市元征科技股份有限公司 A kind of public platform login method, system, equipment and computer readable storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106991575A (en) * 2017-04-11 2017-07-28 广州油菜花信息科技有限公司 Member management web applications and its application method based on wechat and Alipay platform

Also Published As

Publication number Publication date
CN112583770A (en) 2021-03-30

Similar Documents

Publication Publication Date Title
US11216563B1 (en) Security assessment of virtual computing environment using logical volume image
CN108334436B (en) Application software optimization method, device, equipment and computer readable storage medium
CN107979632B (en) Processing method, device and system for push information
US20150310209A1 (en) Executing third-party application
CA2656539A1 (en) Method and apparatus for monitoring and synchronizing user interface events with network data
EP2771801A1 (en) Application store interface for remote management of client devices
CN113079164B (en) Remote control method and device for bastion machine resources, storage medium and terminal equipment
US20090013085A1 (en) Interaction-management methods and platform for client-agent interaction-related environments
CN109345392B (en) Method and system for issuing programming question, issuing solution code and checking solution code
US20080313090A1 (en) Interaction-management methods and platform for client-agent interaction-related environments
US20200099771A1 (en) Branched nodes in a workflow
CN111539775A (en) Application program management method and device
CN113765942A (en) Cloud computing power distribution method, user terminal, cloud computing power platform and system
CN107517188A (en) A kind of data processing method and device based on Android system
CN106384255B (en) Method and device for creating information code popularization information
US7376594B2 (en) Method for distributing images via a network
CN113656307A (en) System capacity evaluation method, device, equipment and medium
CN112583770B (en) Data transmission method, device, storage medium and equipment
CN111832862B (en) Flow management method and system based on block chain
CN116842298A (en) Data read-write management method and device, storage medium and electronic equipment
CN116166514A (en) Multi-channel data linkage processing method, device, computer equipment and storage medium
CN113032647B (en) Data analysis system
CN114742547A (en) Internet online collection control method, device, medium and electronic equipment
CN114722782A (en) Data application method and device, electronic equipment and storage medium
CN114428723A (en) Test system, system test method, related device 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