CN116248692A - Data transmission method, device, computer equipment and computer readable storage medium - Google Patents

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

Info

Publication number
CN116248692A
CN116248692A CN202211553662.2A CN202211553662A CN116248692A CN 116248692 A CN116248692 A CN 116248692A CN 202211553662 A CN202211553662 A CN 202211553662A CN 116248692 A CN116248692 A CN 116248692A
Authority
CN
China
Prior art keywords
data
source system
cloud platform
target system
synchronization instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211553662.2A
Other languages
Chinese (zh)
Inventor
袁媛
杨胜旺
李彬
甘晓文
刘若云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China 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 Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN202211553662.2A priority Critical patent/CN116248692A/en
Publication of CN116248692A publication Critical patent/CN116248692A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application relates to a data transmission method, a data transmission device, a computer device and a computer readable storage medium. The method is applied to a source system, and comprises the following steps: acquiring a data synchronization instruction sent by the cloud platform; analyzing the data synchronization instruction to determine first data and a target system; the first data are data which are determined by the cloud platform from the data which can be synchronized by the source system and need to be synchronized to the target system; generating a first data packet comprising the first data; and sending the first data packet to the target system. By adopting the technical scheme, the cloud platform manages the data synchronization and determines the synchronous data and a target system for receiving the synchronous data; the synchronous data is sent to the target system by the source system, and the data transmission scheme is safe and efficient in transmission.

Description

Data transmission method, device, computer equipment and computer readable storage medium
Technical Field
The present invention relates to the field of data transmission technologies, and in particular, to a data transmission method, apparatus, computer device, and computer readable storage medium.
Background
When data transmission is carried out, the target system can directly access the source system to acquire the data shared by the source system, and the source system can also transmit the shared data to the target system through the cloud platform.
In the former data transmission mode, the database of the target system directly connected with the source system acquires shared data, so that the potential safety hazard exists, and the efficiency of directly operating the database is lower. In the latter data transmission mode, the shared data is forwarded to the target system through the cloud platform, and potential safety hazards of data leakage exist.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a data transmission method, apparatus, computer device, and computer-readable storage medium capable of performing data transmission safely and efficiently.
In a first aspect, the present application provides a data transmission method, applied to a source system, where the method includes:
acquiring a data synchronization instruction sent by a cloud platform;
analyzing the data synchronization instruction to determine the first data and the target system; the first data are data which are determined by the cloud platform from the data which can be synchronized by the source system and need to be synchronized to the target system;
generating a first data packet comprising the first data;
and sending the first data packet to the target system.
In one embodiment, a first message sent by the target system is acquired, where the first message includes execution status information of the target system for performing data synchronization after acquiring the first data packet.
In one embodiment, the method further comprises:
and sending a second message to the cloud platform, wherein the second message comprises the execution state information of the source system and the target system after the source system acquires the data synchronization instruction.
In one embodiment, before the sending the second message to the cloud platform, the method further includes:
and acquiring third information sent by the cloud platform, wherein the third information is used for triggering the source system to send the second information to the cloud platform.
In a second aspect, the present application further provides a data transmission method, applied to a cloud platform, where the method includes:
generating a data synchronization instruction, the data synchronization instruction instructing the source system to synchronize the first data to the target system; the first data is data which is determined from data which can be synchronized by the source system and needs to be synchronized to the target system;
and sending the data synchronization instruction to the source system.
In one embodiment, a second message sent by the source system is acquired, where the second message includes execution state information of the source system and the target system after the source system acquires the data synchronization instruction.
In one embodiment, before the acquiring the second message sent by the source system, the method further includes:
and the third message is used for triggering the source system to send the second message to the cloud platform.
In a third aspect, the present application further provides a data transmission apparatus, applied to a source system, the apparatus comprising: the device comprises an acquisition module, an analysis module, a processing module and a sending module, wherein,
the acquisition module is used for acquiring a data synchronization instruction sent by the cloud platform; the analysis module is used for analyzing the data synchronization instruction to determine the first data and the target system; the first data are data which are determined by the cloud platform from the data which can be synchronized by the source system and need to be synchronized to the target system;
the processing module is used for generating a first data packet comprising the first data;
and the sending module is used for sending the first data packet to the target system.
In one embodiment, the acquiring module is further configured to acquire a first message sent by the target system, where the first message includes execution status information of the target system for performing data synchronization after acquiring the first data packet.
In one embodiment, the sending module is further configured to send a second message to the cloud platform, where the second message includes execution state information of the source system and the target system after the source system acquires the data synchronization instruction.
In one embodiment, the obtaining module is further configured to obtain, before the sending module sends the second message to the cloud platform, a third message sent by the cloud platform, where the third message is used to trigger the source system to send the second message to the cloud platform.
In a fourth aspect, the present application further provides a data transmission device, applied to a cloud platform, where the device includes: a processing module and a transmitting module, wherein,
the processing module is used for generating a data synchronization instruction, wherein the data synchronization instruction instructs a source system to synchronize first data to a target system; the first data is data which is determined from data which can be synchronized by the source system and needs to be synchronized to the target system;
and the sending module is used for sending the data synchronization instruction to the source system.
In one embodiment, the method further comprises: the acquisition module is used for acquiring a second message sent by the source system, wherein the second message comprises execution state information of the source system and the target system after the source system acquires the data synchronization instruction.
In one embodiment, the sending module is further configured to, before the obtaining module obtains the second message sent by the source system, send a third message to the source system, where the third message is used to trigger the source system to send the second message to the cloud platform.
In a fifth aspect, the present application further provides a computer device as a source system, comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring a data synchronization instruction sent by a cloud platform; analyzing the data synchronization instruction to determine the first data and the target system; the first data are data which are determined by the cloud platform from the data which can be synchronized by the source system and need to be synchronized to the target system;
generating a first data packet comprising the first data;
and sending the first data packet to the target system.
In a sixth aspect, the present application further provides a computer device, as a cloud platform, including a memory and a processor, where the memory stores a computer program, and the processor implements the following steps when executing the computer program:
generating a data synchronization instruction, the data synchronization instruction instructing the source system to synchronize the first data to the target system; the first data is data which is determined from data which can be synchronized by the source system and needs to be synchronized to the target system;
and sending the data synchronization instruction to the source system.
In a seventh aspect, the present application further provides a computer readable storage medium for use in a source system, the computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
acquiring a data synchronization instruction sent by a cloud platform; analyzing the data synchronization instruction to determine the first data and the target system; the first data are data which are determined by the cloud platform from the data which can be synchronized by the source system and need to be synchronized to the target system;
generating a first data packet comprising the first data;
and sending the first data packet to the target system.
In an eighth aspect, the present application further provides a computer readable storage medium, applied to a cloud platform, having stored thereon a computer program, which when executed by a processor, implements the steps of:
generating a data synchronization instruction, the data synchronization instruction instructing the source system to synchronize the first data to the target system; the first data is data which is determined from data which can be synchronized by the source system and needs to be synchronized to the target system;
and sending the data synchronization instruction to the source system.
In a ninth aspect, the present application also provides a computer program product for use with a source system. The computer program product comprises a computer program which, when executed by a processor, implements the steps of:
acquiring a data synchronization instruction sent by a cloud platform; analyzing the data synchronization instruction to determine the first data and the target system; the first data are data which are determined by the cloud platform from the data which can be synchronized by the source system and need to be synchronized to the target system;
generating a first data packet comprising the first data;
and sending the first data packet to the target system.
In a tenth aspect, the present application further provides a computer program product, applied to a cloud platform. The computer program product comprises a computer program which, when executed by a processor, implements the steps of:
generating a data synchronization instruction, the data synchronization instruction instructing the source system to synchronize the first data to the target system; the first data is data which is determined from data which can be synchronized by the source system and needs to be synchronized to the target system;
and sending the data synchronization instruction to the source system.
The data transmission method, the data transmission device, the computer equipment and the computer readable storage medium are characterized in that when data transmission is carried out, the cloud platform determines synchronous data from data which can be synchronized by a source system, and the cloud platform also determines a target system for receiving the synchronous data; the source system analyzes the data synchronization instruction to determine first data and the target system, generates a first data packet comprising the first data, and sends the first data packet to the target system. According to the technical scheme, the cloud platform manages data synchronization and determines synchronous data and a target system for receiving the synchronous data; the synchronous data is sent to the target system by the source system, and the data transmission mode is safe and efficient in transmission.
Drawings
FIG. 1 is a diagram of an application environment for a data transmission method in one embodiment;
FIG. 2A is a flow chart of a data transmission method in one embodiment;
FIG. 2B is a flow chart of a data transmission method according to another embodiment;
FIG. 2C is a flow chart of a data transmission method according to another embodiment;
FIG. 3 is a flow chart of a data transmission method according to another embodiment;
FIG. 4A is a flow chart of a data transmission method in one embodiment;
FIG. 4B is a flow chart of a data transmission method according to another embodiment;
FIG. 5 is a flow chart of a data transmission method according to another embodiment;
FIG. 6 is a schematic diagram of an interactive flow of a data transmission method in one embodiment;
FIG. 7 is a schematic diagram of a data transmission device according to an embodiment;
FIG. 8A is a schematic diagram of a data transmission device according to an embodiment;
FIG. 8B is a schematic diagram of a data transmission device according to another embodiment;
fig. 9 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The data transmission method provided by the embodiment of the application can be applied to an application environment shown in fig. 1, and includes: a source system 101, a cloud platform 102, and a target system 103. The source system 101 communicates with the cloud platform 102 and the target system 103 via a network. When data transmission is performed, the source system 101 acquires a data synchronization instruction sent by the cloud platform 102; the data synchronization instruction is for instructing the source system 101 to synchronize the first data to the target system; the first data is data which is determined by the cloud platform 102 from data which can be synchronized by the source system and needs to be synchronized to the target system 103; the source system 101 parses the data synchronization instruction to determine the first data and the target system 103; the source system 101 generates a first data packet including first data; the source system 101 sends a first data packet to the target system. The source system 101, the cloud platform 102, and the target system 103 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices, and the like. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. For example, the source system 101 corresponds to a test environment, the target system 103 corresponds to a production environment, and when the application system is developed, some functions or data need to be tested in the test environment first, and after the test is passed, the related data are synchronized to the production environment. The cloud platform 102 may manage data synchronization, determine a data synchronization policy, and generate a data synchronization instruction, specifically, a data type that may be synchronized by the source system 101 may be displayed in the cloud platform 102, and the data type that may be synchronized may include, for example: the cloud platform 102 determines the data type to be synchronized from the data types that the source system 101 can synchronize, the cloud platform 102 also determines the source system 101 that sends the synchronized data and determines the target system 103 that receives the synchronized data, then generates a data synchronization instruction, the data synchronization instruction may include address information of the target system 103, the cloud platform 102 sends the data synchronization instruction to the source system 101, the source system 101 analyzes the data synchronization instruction after receiving the data synchronization instruction, and packages the data of the synchronized data type determined by the cloud platform 102, for security, the data may be packaged after encryption or encrypted when packaged. And then the source system 101 sends the packed synchronous data to the target system 103 according to the address information of the target system 103 carried in the data synchronous instruction, and the target system 103 analyzes the received synchronous data and obtains the synchronous data after importing the analysis. The target system 103 may further feed back the execution state of the data synchronization to the source system 101, and the source system 101 may further feed back the execution state of the data synchronization by the source system 101 and the target system 103 to the cloud platform. It should be noted that the synchronization data may be determined not only by a data type, but also by a time interval, and may be determined by other possible manners, which are not limited herein. The source system 101 may also provide an execution state reading interface, and when the cloud platform 102 invokes the execution state reading interface, the cloud platform 102 obtains the execution state of the source system 101 and the execution state of the target system 103 obtained by the source system 101. Cloud platform 102 may then display the acquired execution state. It should be noted that, as the cloud platform, the cloud platform 102 may set and manage synchronization data from a plurality of groups of source terminals to target terminals, and in this embodiment of the present application, the source system 101 is a source terminal, and the target system 103 is a target terminal. It should be noted that one original terminal may correspond to one or more target terminals, and for simplicity, the embodiments of the present application are described with one source terminal and one target terminal. The number and data of source and target terminals are not limited in this application, and it is understood that in some embodiments, source system 101 is a source terminal and target system 103 is a target terminal. In other possible embodiments, the source system 101 may be a target terminal and the target system 103 may be a source terminal. The present application is not limited in this regard.
In one embodiment, as shown in fig. 2A, a data transmission method is provided, which is illustrated by taking the source system 101 in fig. 1 as an example, and includes the following steps: steps 201 to 204. Wherein, the liquid crystal display device comprises a liquid crystal display device,
201. acquiring a data synchronization instruction sent by a cloud platform
202 parse the data synchronization instruction to determine the first data and the target system. The first data is data which is determined by the cloud platform from data which can be synchronized by the source system and needs to be synchronized to the target system.
For example, the first data may be a list of users entered by the source system to the target system. The user list input by the source system is synchronized to the target system to reduce input operations of the target system. The cloud platform can specify a source terminal and a target terminal for data synchronization, wherein a source system can be the source terminal, a target system can be the target terminal, and address information of the target system can be included in the data synchronization instruction.
203. Generating a first data packet including first data;
for example, the user list may be packaged into a first data packet, it is understood that, for improving security, decryption may be performed and encryption may be performed during packaging, which is not limited herein.
204. And sending the first data packet to the target system.
And sending the first data packet to the target system according to the address information of the target system carried in the data synchronization instruction.
By adopting the embodiment, when data transmission is carried out, the cloud platform determines synchronous data from data which can be synchronized by the source system, and the cloud platform also determines a target system for receiving the synchronous data; the source system analyzes the data synchronization instruction to determine first data and the target system, generates a first data packet comprising the first data, and sends the first data packet to the target system. According to the technical scheme, the cloud platform manages data synchronization and determines synchronous data and a target system for receiving the synchronous data; the synchronous data is sent to the target system by the source system, and the data transmission mode is safe and efficient in transmission.
Referring to fig. 2B, fig. 2B is a flow chart of a data transmission method according to another embodiment of the present application, including: steps 201 to 205. Steps 201 to 204 are the same as steps 201 to 204 in the corresponding embodiment of fig. 2A, and for simplicity, the description is omitted here, and specific reference is made to the foregoing description. Step 205, obtain a first message sent by the target system, where the first message includes execution status information of the target system for performing data synchronization after obtaining the first data packet.
With this embodiment, the source system can acquire the execution state after the target system acquires the synchronization data.
Further, the source system may feed back the execution state of the data synchronization to the cloud platform, please refer to fig. 2C, fig. 2C is a flow chart of a data transmission method according to another embodiment of the present application, which includes: steps 201 to 206. Steps 201 to 205 are the same as steps 201 to 205 in the corresponding embodiment of fig. 2B, and for simplicity, the description is omitted here, and specific reference is made to the foregoing description. Step 206, sending a second message to the cloud platform, wherein the second message comprises the execution state information of the source system and the target system after the source system acquires the data synchronization instruction.
In one embodiment, as shown in fig. 3, a data transmission method is provided, which is illustrated by taking the source system 101 in fig. 1 as an example, and includes the following steps: steps 301 to 307. Wherein, the liquid crystal display device comprises a liquid crystal display device,
301. acquiring a data synchronization instruction sent by a cloud platform; the data synchronization instruction is used for instructing the source system to synchronize the first data to the target system; the first data is data which is determined by the cloud platform from data which can be synchronized by the source system and needs to be synchronized to the target system.
For example, the first data may be a list of users entered by the source system to the target system. The user list input by the source system is synchronized to the target system to reduce input operations of the target system. The cloud platform can specify a source terminal and a target terminal for data synchronization, wherein a source system can be the source terminal, a target system can be the target terminal, and address information of the target system can be included in the data synchronization instruction.
302 parse the data synchronization instruction to determine the first data and the target system.
303. Generating a first data packet including first data;
for example, the user list may be packaged into a first data packet, it is understood that, for improving security, decryption may be performed and encryption may be performed during packaging, which is not limited herein.
304. And sending the first data packet to the target system.
And sending the first data packet to the target system according to the address information of the target system carried in the data synchronization instruction.
305. And acquiring a first message sent by the target system, wherein the first message comprises execution state information of data synchronization after the target system acquires the first data packet.
306. And acquiring a third message sent by the cloud platform, wherein the third message is used for triggering the source system to send a second message to the cloud platform, and the second message comprises the execution state information of the source system and the target system after the source system acquires the data synchronization instruction.
307. And sending a second message to the cloud platform.
By adopting the embodiment, when data transmission is carried out, the cloud platform determines synchronous data from data which can be synchronized by the source system, and the cloud platform also determines a target system for receiving the synchronous data; the source system analyzes the data synchronization instruction to determine first data and a target system, generates a first data packet comprising the first data, sends the first data packet to the target system, and the cloud platform triggers the source system to send the execution state information of the source system and the cloud platform to the cloud platform by sending a third message to the source system. The data transmission mode is safe and efficient in transmission, and the progress of data synchronization can be known in time.
In one embodiment, as shown in fig. 4A, a data transmission method is provided, and the method is applied to the cloud platform 102 in fig. 1 for illustration, and includes the following steps: steps 401 to 402. Wherein, the liquid crystal display device comprises a liquid crystal display device,
401. generating a data synchronization instruction, wherein the data synchronization instruction instructs the source system to synchronize the first data to the target system; the first data is data determined from data synchronizable by the source system to be synchronized to the target system.
402. And sending a data synchronization instruction to the source system.
In this embodiment, the cloud platform may manage data synchronization, determine a data synchronization policy, and generate a data synchronization instruction, and specifically, a data type that may be synchronized by the source system may be displayed in the cloud platform, and the data type that may be synchronized may include, for example: the method comprises the steps of determining a data type to be synchronized from data types which can be synchronized by a source system by a cloud platform, determining the source system for transmitting the synchronized data and a target system for receiving the synchronized data, generating a data synchronization instruction, wherein the data synchronization instruction can comprise address information of the target system, and transmitting the data synchronization instruction to the source system by the cloud platform so that the source system can transmit the synchronized data to the target system.
Referring to fig. 4B, fig. 4B is a flowchart of a data transmission method according to another embodiment of the present application, including: steps 401 to 403. Steps 401 to 402 are the same as steps 401 to 402 in the corresponding embodiment of fig. 4A, and for simplicity, the description is omitted here, and specific reference is made to the foregoing description. Step 403, obtaining a second message sent by the source system, where the second message includes execution state information of the source system and the target system after the source system obtains the data synchronization instruction.
By adopting the embodiment, the cloud platform can acquire the execution state of the source system and the target system when data synchronization is performed.
In one embodiment, as shown in fig. 5, a data transmission method is provided, and the method is applied to the cloud platform 102 in fig. 1 for illustration, and includes the following steps: steps 401 to 402. Wherein, the liquid crystal display device comprises a liquid crystal display device,
501. generating a data synchronization instruction, wherein the data synchronization instruction instructs the source system to synchronize the first data to the target system; the first data is data determined from data synchronizable by the source system to be synchronized to the target system.
502. And sending a data synchronization instruction to the source system.
503. And the third message is sent to the source system and is used for triggering the source system to send a second message to the cloud platform, and the second message comprises the execution state information of the source system and the target system after the source system acquires the data synchronization instruction.
504. And acquiring a second message sent by the source system.
In the embodiment, the cloud platform sends a third message to the source system, and the source system is triggered to send the execution state information of the source system and the target system to the cloud platform.
In one embodiment, as shown in fig. 6, an interactive flow diagram of a data transmission method is provided, and the data transmission method includes the following steps: steps 601 to 610. Wherein, the liquid crystal display device comprises a liquid crystal display device,
601. the cloud platform generates a data synchronization instruction, and the data synchronization instruction instructs the source system to synchronize the first data to the target system; the first data is data determined from data synchronizable by the source system to be synchronized to the target system.
602. And the cloud platform sends a data synchronization instruction to the source system.
603. And the source system acquires a data synchronization instruction sent by the cloud platform.
604. The source system parses the data synchronization instruction to determine the first data and the target system.
605. The source system generates a first data packet including first data.
606. The source system sends a first data packet to the target system.
6061. The target system analyzes the first data packet and imports the synchronous data.
607. And the cloud platform sends a third message to the source system, wherein the third message is used for triggering the source system to send a second message to the cloud platform, and the second message comprises the execution state information of the source system and the target system after the source system acquires the data synchronization instruction.
608. And the target system acquires the execution state information after the first data packet.
609. The source system sends a second message to the cloud platform, wherein the second message comprises a data synchronization instruction acquired by the source system. Executing state information of the back source system and the target system.
610. The cloud platform displays the execution state information of the source system and the target system.
By adopting the embodiment, when data transmission is carried out, the cloud platform determines synchronous data from data which can be synchronized by the source system, and the cloud platform also determines a target system for receiving the synchronous data; the source system analyzes the data synchronization instruction to determine first data and the target system, generates a first data packet comprising the first data, and sends the first data packet to the target system. According to the technical scheme, the cloud platform manages data synchronization and determines synchronous data and a target system for receiving the synchronous data; the synchronous data is sent to the target system by the source system, and the data transmission mode is safe and efficient in transmission.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a data transmission device for realizing the above related data transmission method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in one or more embodiments of the data transmission device provided below may refer to the limitation of the data transmission method hereinabove, and will not be repeated herein.
In one embodiment, as shown in fig. 7, there is provided a data transmission apparatus 700, applied to a source system, the data transmission apparatus 700 including: an acquisition module 701, a parsing module 702, a processing module 703 and a sending module 704, wherein,
the acquiring module 701 is configured to acquire a data synchronization instruction sent by the cloud platform.
The parsing module 702 is configured to parse the data synchronization instruction to determine the first data and the target system. The first data is data which is determined by the cloud platform from data which can be synchronized by the source system and needs to be synchronized to the target system.
A processing module 703, configured to generate a first data packet including first data;
a sending module 704, configured to send the first data packet to the target system.
In one embodiment, the obtaining module is further configured to obtain a first message sent by the target system, where the first message includes execution status information of the target system for performing data synchronization after obtaining the first data packet.
In one embodiment, the sending module is further configured to send a second message to the cloud platform, where the second message includes the execution state information of the source system and the slave target system after the source system obtains the data synchronization instruction.
In one embodiment, the obtaining module is further configured to obtain, before the sending module sends the second message to the cloud platform, a third message sent by the cloud platform, where the third message is used to trigger the source system to send the second message to the cloud platform.
In one embodiment, as shown in fig. 8, there is provided a data transmission apparatus 800, which is characterized in that it is applied to a cloud platform, and the apparatus includes: a processing module 801, and a transmitting module 802, wherein,
a processing module 801, configured to generate a data synchronization instruction, where the data synchronization instruction instructs the source system to synchronize the first data to the target system; the first data is data which is determined from data which can be synchronized by the source system and needs to be synchronized to the target system;
a sending module 802, configured to send a data synchronization instruction to a source system.
As shown in fig. 8B, in one embodiment, the data transmission apparatus 800 further includes: and the obtaining module 803 is configured to obtain a second message sent by the source system, where the second message includes execution state information of the source system and the target system after the source system obtains the data synchronization instruction.
In one embodiment, the sending module is further configured to, before the obtaining module obtains the second message sent by the source system, send a third message to the source system, where the third message is used to trigger the source system to send the second message to the cloud platform.
In one embodiment, a data transmission device is provided, and the device is applied to a cloud platform, and comprises: the system comprises a processing module and a sending module, wherein the processing module is used for generating a data synchronization instruction, and the data synchronization instruction instructs a source system to synchronize first data to a target system; the first data is data determined from data synchronizable by the source system and needed to be synchronized to the target system; and the sending module is used for sending a data synchronization instruction to the source system.
In one embodiment, further comprising: the acquisition module is used for acquiring a second message sent by the source system, wherein the second message comprises the execution state information of the source system and the target system after the source system acquires the data synchronization instruction.
In one embodiment, the sending module is further configured to, before the obtaining module obtains the second message sent by the source system, send a third message to the source system, where the third message is used to trigger the source system to send the second message to the cloud platform.
The respective modules in the above-described data transmission apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure thereof may be as shown in fig. 9. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a data transmission method. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 9 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the computer device to which the present application applies, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided, including a memory and a processor, where the memory stores a computer program, and the processor executes the computer program to implement the data transmission method according to any one of the foregoing method embodiments, and details of the steps are not described herein.
In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, which when executed by a processor, implements the steps of the data transmission method according to any of the preceding method embodiments, and the detailed steps are not described here again.
In an embodiment, a computer program product is provided, which comprises a computer program, and the computer program when executed by a processor implements the steps in the data transmission method described in any of the foregoing method embodiments, and the detailed steps are not repeated here, and refer to the foregoing description.
It should be noted that, the user information (including, but not limited to, user equipment information, user personal information, etc.) and the data (including, but not limited to, data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data are required to comply with the related laws and regulations and standards of the related countries and regions.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (11)

1. A data transmission method, applied to a source system, the method comprising:
acquiring a data synchronization instruction sent by a cloud platform;
analyzing the data synchronization instruction to determine first data and a target system; the first data are data which are determined by the cloud platform from the data which can be synchronized by the source system and need to be synchronized to the target system;
generating a first data packet comprising the first data;
and sending the first data packet to the target system.
2. The method according to claim 1, wherein the method further comprises:
and acquiring a first message sent by the target system, wherein the first message comprises execution state information of data synchronization after the target system acquires the first data packet.
3. The method according to claim 2, wherein the method further comprises:
and sending a second message to the cloud platform, wherein the second message comprises the execution state information of the source system and the target system after the source system acquires the data synchronization instruction.
4. A method according to claim 3, wherein prior to said sending said second message to said cloud platform, said method further comprises:
and acquiring third information sent by the cloud platform, wherein the third information is used for triggering the source system to send the second information to the cloud platform.
5. A data transmission method, characterized in that it is applied to a cloud platform, the method comprising:
generating a data synchronization instruction, the data synchronization instruction instructing the source system to synchronize the first data to the target system; the first data is data which is determined from data which can be synchronized by the source system and needs to be synchronized to the target system;
and sending the data synchronization instruction to the source system.
6. The method according to claim 4, wherein the method further comprises:
and acquiring a second message sent by the source system, wherein the second message comprises execution state information of the source system and the target system after the source system acquires the data synchronization instruction.
7. The method of claim 6, wherein prior to the obtaining the second message sent by the source system, the method further comprises:
and the third message is used for triggering the source system to send the second message to the cloud platform.
8. A data transmission apparatus for use with a source system, the apparatus comprising: the device comprises an acquisition module, an analysis module, a processing module and a sending module, wherein,
the acquisition module is used for acquiring a data synchronization instruction sent by the cloud platform;
the analysis module is used for analyzing the data synchronization instruction to determine the first data and the target system; the first data are data which are determined by the cloud platform from the data which can be synchronized by the source system and need to be synchronized to the target system;
the processing module is used for generating a first data packet comprising the first data;
and the sending module is used for sending the first data packet to the target system.
9. A data transmission device, characterized in that it is applied to a cloud platform, the device comprising: a processing module and a transmitting module, wherein,
the processing module is used for generating a data synchronization instruction, wherein the data synchronization instruction instructs a source system to synchronize first data to a target system; the first data is data which is determined from data which can be synchronized by the source system and needs to be synchronized to the target system;
and the sending module is used for sending the data synchronization instruction to the source system.
10. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
11. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202211553662.2A 2022-12-06 2022-12-06 Data transmission method, device, computer equipment and computer readable storage medium Pending CN116248692A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211553662.2A CN116248692A (en) 2022-12-06 2022-12-06 Data transmission method, device, computer equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211553662.2A CN116248692A (en) 2022-12-06 2022-12-06 Data transmission method, device, computer equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN116248692A true CN116248692A (en) 2023-06-09

Family

ID=86628436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211553662.2A Pending CN116248692A (en) 2022-12-06 2022-12-06 Data transmission method, device, computer equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN116248692A (en)

Similar Documents

Publication Publication Date Title
CN105991682B (en) Data sharing method and device
WO2018082465A1 (en) Notification bar message displaying method and apparatus, mobile terminal, and server
CN104199728B (en) Picture transmits information displaying method and device
CN106250770B (en) Electronic device and method for encrypting content
US20200372416A1 (en) Method, apparatus and system for performing machine learning by using data to be exchanged
WO2017186177A1 (en) Resource numerical value transfer request generating method, device and system, and storage medium
CN112416303B (en) Software development kit hot repair method and device and electronic equipment
CN110297945B (en) Data information processing method and system based on XBRL
CN108985109B (en) Data storage method and device
CN116248692A (en) Data transmission method, device, computer equipment and computer readable storage medium
CN114553556B (en) Data encryption method, device, computer equipment and storage medium
CN110505253A (en) A kind of method, apparatus and storage medium of requested webpage information
CN115130002A (en) Recommendation request processing method and device, computer equipment and storage medium
CN114070892A (en) Data transmission method and device
CN117131519B (en) Information protection method and equipment
WO2024140503A1 (en) Information display method and apparatus, device, and medium
CN112468470B (en) Data transmission method and device and electronic equipment
CN116915763A (en) Information interaction method, device, server, terminal and storage medium
CN107665300A (en) Output intent, server and outlet terminal
CN117032779A (en) Application version switching method, device, computer equipment and storage medium
CN117151717A (en) Device password modification method, device, computer device and storage medium
CN117459251A (en) Message decryption method and device
CN117494164A (en) Encryption and decryption module verification method and device, computer equipment and storage medium
CN117978446A (en) Chip communication transmission encryption method, device, computer equipment and storage medium
CN117667739A (en) Application program debugging information processing method and device and application program debugging system

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