CN109788035B - Data transmission method and device based on cloud monitoring and monitoring server - Google Patents

Data transmission method and device based on cloud monitoring and monitoring server Download PDF

Info

Publication number
CN109788035B
CN109788035B CN201811555605.1A CN201811555605A CN109788035B CN 109788035 B CN109788035 B CN 109788035B CN 201811555605 A CN201811555605 A CN 201811555605A CN 109788035 B CN109788035 B CN 109788035B
Authority
CN
China
Prior art keywords
server
target
monitoring
data
data transmission
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
CN201811555605.1A
Other languages
Chinese (zh)
Other versions
CN109788035A (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811555605.1A priority Critical patent/CN109788035B/en
Publication of CN109788035A publication Critical patent/CN109788035A/en
Application granted granted Critical
Publication of CN109788035B publication Critical patent/CN109788035B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the technical field of data transmission, and discloses a data transmission method, a data transmission device and a monitoring server based on cloud monitoring, wherein the method comprises the following steps: the monitoring server receives a data transmission notice that the first server transmits target data to the second server; monitoring a target session with a session ID between a first server and a second server; and if the target session is not monitored in the preset time period and the confirmation message that the target data transmission returned to the first server by the second server is successful is not monitored, confirming that the target data transmission is failed, and informing the first server to retransmit the target data to the second server. According to the method, the monitoring server intelligently monitors the fixed-point exchange data among the servers, if the data transmission fails, retransmission is started, the retransmission does not need to wait for the next fixed-point transmission time, manual retransmission execution is replaced, the intelligent monitoring and identification of the data retransmission are realized, and the data transmission efficiency is improved.

Description

Data transmission method and device based on cloud monitoring and monitoring server
Technical Field
The invention relates to the technical field of data transmission, in particular to a data transmission method and device based on cloud monitoring and a monitoring server.
Background
With the development of the big data age, more and more enterprises need to exchange data with other enterprises due to business requirements, for example, financial data exchange between financial enterprises, and the like.
Since each time data exchange is performed, a request needs to be sent to the other party, and in order not to interfere with normal business of an enterprise, it is a common practice to perform data exchange currently that a fixed time point is set in advance, and when the fixed time point arrives, data exchange is performed automatically. However, in the process of data exchange using this method, if transmission abnormality occurs, which causes data transmission interruption, the operation of data transmission needs to be manually performed again, and the operation can be performed only when the next fixed time point arrives, so that data transmission cannot be completed in time, and the data transmission efficiency is reduced.
Disclosure of Invention
In order to solve the technical problem that data transmission cannot be performed in time when data output is abnormal in the related art, the invention provides a data transmission method and device based on cloud monitoring and a monitoring server.
A data transmission method based on cloud monitoring, the method comprising:
the method comprises the steps that a monitoring server receives a data transmission notification that a first server transmits target data to a second server, wherein the data transmission notification comprises a session Identification (ID) that the first server transmits the target data to the second server;
the monitoring server monitors a target session with the session ID between the first server and the second server;
if the target session is not monitored within a preset time period and a confirmation message that the target data transmission returned to the first server by the second server is successful is not monitored, the monitoring server confirms that the target data transmission is failed;
the monitoring server notifies the first server to retransmit the target data to the second server.
A data transmission apparatus based on cloud monitoring, the apparatus comprising:
a receiving module, configured to receive a data transmission notification that a first server transmits target data to a second server, where the data transmission notification includes a session ID of the first server transmitting the target data to the second server;
a monitoring module, configured to monitor a target session with the session ID between the first server and the second server;
the confirmation module is used for confirming that the target data transmission fails under the condition that the monitoring module does not monitor the target session within a preset time period and does not monitor a confirmation message that the target data transmission returned to the first server by the second server is successful;
a notification module configured to notify the first server to retransmit the target data to the second server.
A monitoring server, comprising a processor, a network interface and a storage device, wherein the processor, the network interface and the storage device are connected to each other, wherein the network interface is controlled by the processor for transceiving data, the storage device is used for storing a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the data transmission method based on cloud monitoring.
A computer storage medium having stored therein program instructions for implementing the cloud monitoring based data transmission method as described above when executed.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects:
the data transmission method based on cloud monitoring comprises the following steps that a monitoring server receives a data transmission notice that a first server transmits target data to a second server, wherein the data transmission notice comprises a session Identification (ID) that the first server transmits the target data to the second server; monitoring a target session with the session ID between the first server and the second server; if the target session is not monitored within a preset time period and a confirmation message that the target data transmission returned to the first server by the second server is successful is not monitored, confirming that the target data transmission is failed, and notifying the first server to retransmit the target data to the second server.
According to the method, the monitoring server intelligently monitors the fixed-point exchange data among the servers, if the data transmission fails, retransmission is started, the retransmission does not need to wait for the next fixed-point transmission time, manual retransmission is replaced, and the data transmission efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a schematic diagram illustrating a monitoring server in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a method of data transmission based on cloud monitoring in accordance with an exemplary embodiment;
FIG. 3 is a flow chart illustrating a method of data transmission based on cloud monitoring in accordance with another exemplary embodiment;
FIG. 4 is a flow chart illustrating a method of data transmission based on cloud monitoring in accordance with yet another exemplary embodiment;
fig. 5 is a block diagram illustrating a data transmission apparatus based on cloud monitoring according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
The implementation environment of the invention can be the exchange of data between servers of enterprises, such as financial enterprises, communication enterprises and the like.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating a monitoring server according to an exemplary embodiment. The monitoring server 100 may be a single server or a server cluster integrated by a plurality of servers. As shown in fig. 1, the monitoring server 100 may include one or more of the following components: a processing component 102, a memory 104, a power component 106, and a communication component 108.
The processing component 102 generally controls overall operations of the monitoring server 100, such as operations associated with data communications, monitoring operations, and logging operations. The processing components 102 may include one or more processors 110 to execute instructions to perform all or a portion of the steps of the methods described below. Further, the processing component 102 can include one or more modules for facilitating interaction between the processing component 102 and other components. For example, the processing component 102 can include a communication module to facilitate interaction between the communication component 108 and the processing component 102.
The memory 104 is configured to store various types of data to support operations at the monitoring server 100. Examples of such data include instructions for any application or method operating on monitoring server 100. The Memory 104 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. Also stored in memory 104 are one or more modules configured to be executed by the one or more processors 110 to perform all or a portion of the steps of the methods described below.
The power component 106 provides power to the various components of the monitoring server 100. The power components 106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the monitoring server 100.
The communication component 108 is configured to facilitate wired or wireless communication between the monitoring server 100 and other devices. The monitoring server 100 may access a Wireless network based on a communication standard, such as WiFi (Wireless-Fidelity). In an exemplary embodiment, the communication component 108 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel.
In an exemplary embodiment, the monitoring server 100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital signal processors, digital signal processing devices, programmable logic devices, field programmable gate arrays, controllers, microcontrollers, microprocessors or other electronic components for performing the methods described below.
Referring to fig. 2, fig. 2 is a flowchart illustrating a data transmission method based on cloud monitoring according to an exemplary embodiment. As shown in fig. 2, the method includes the following steps.
210. The monitoring server receives a data transmission notification that the first server transmits the target data to the second server, wherein the data transmission notification comprises a session ID that the first server transmits the target data to the second server.
The first server is a server of the first enterprise, and may be one server or a server cluster integrated by a plurality of servers. The second server is a server of a second enterprise different from the first enterprise, and may be one server or a server cluster in which a plurality of servers are integrated.
In the embodiment of the invention, when the first server needs to send data to the second server at fixed points every day, the first server sends a data transmission notice to the monitoring server so as to inform the monitoring server that the transmission of the target data is started. The data transmission notification may include, in addition to the session ID of the target session between the first server and the second server, a time when the first server transmits data to the second server, identifiers corresponding to the first server and the second server, respectively, where the identifiers mark names of businesses to which the identifiers belong, and so on.
In this embodiment of the present invention, the target session is used to carry data exchange between the first server and the second server, for example, the first server transmits target data to the second server, and the second server returns a corresponding message or transmits other data to the first server.
220. The monitoring server monitors a target session with the session ID between the first server and the second server.
In the embodiment of the present invention, a plurality of sessions may exist between the first server and the second server at the same time, where a part of the sessions exist for data transmission, and only when the monitoring server receives a data transmission notification of target data sent by the first server, the monitoring server monitors a situation of a target session with the session ID between the first server and the second server, for example, whether the monitoring target session is completed, whether the target session is interrupted, and the like.
230. And if the target session is not monitored in the preset time period and the confirmation message that the target data transmission returned to the first server by the second server is successful is not monitored, the monitoring server confirms that the target data transmission is failed.
In the embodiment of the invention, in the process of transmitting data from the first server to the second server, if the target data transmission is completed, the second server returns a confirmation message of successful target data transmission to the first server. Therefore, before the monitoring server does not monitor that the second server returns the acknowledgement message that the target data transmission is successful to the first server, whether the target session for carrying the target data transmission exists or not is monitored.
In this embodiment of the present invention, the preset time period may be a time period with a starting time of sending the data transmission notification from the first server to the monitoring server, or a time period with a starting time of last monitoring by the monitoring server that the target session exists. The preset time period may be 3 minutes, may also be 5 minutes, and may also be set according to experience, and the embodiment of the present invention is not limited.
It should be noted that, the data transmission failure mentioned below refers to that the monitoring server does not monitor the session with the session ID within a preset time period, and also does not monitor the confirmation message of the data transmission success returned by the receiving server, and will not be described in detail later.
240. The monitoring server notifies the first server to retransmit the target data to the second server.
In the embodiment of the invention, when the monitoring server confirms that the target data transmission fails, the monitoring server informs the first server to start retransmission to the second server.
Further, the first server may resend the target data to the second server when receiving the notification message from the monitoring server, or may obtain a progress of transmission of the target data when transmission of the target data fails, and if transmission is not completed, transmit the remaining data to the second server when retransmission is started.
Optionally, in order to prevent the target data from being attacked during transmission, the target data may be encrypted before the first server transmits the data to the second server. The encryption mode may be a mode agreed between the first server and the second server, and then the second server may decrypt the target data according to the corresponding decryption mode after receiving the transmitted target data.
In the embodiment of the present invention, when receiving a data transmission notification that a first server transmits target data to a second server, a monitoring server monitors a target session with a session ID included in the data transmission notification between the first server and the second server, and if the target session is not monitored within a preset time period and a confirmation message that the target data transmission returned to the first server by the second server is successful is not monitored, it confirms that the target data transmission is failed and notifies the first server to retransmit the target data to the second server. According to the embodiment of the invention, the monitoring server monitors the fixed-point exchange data among the servers, if the data transmission fails, the retransmission is started, the retransmission does not need to wait for the next fixed-point transmission time, and the manual retransmission is replaced, so that the data transmission efficiency is improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a data transmission method based on cloud monitoring according to another exemplary embodiment. As shown in fig. 3, after step 240, the data transmission method based on cloud monitoring in this embodiment may further include the following steps in addition to the steps shown in fig. 2.
310. In the process of retransmitting the target data from the first server to the second server, if the monitoring server monitors that the retransmission of the target data fails, the monitoring server receives the target data.
In the embodiment of the invention, after the monitoring server informs the first server to retransmit the target data to the second server, the first server starts the retransmission of the target data to the second server, in the process, the monitoring server also monitors the process, and if the transmission of the target data fails again, the problem of a data transmission channel between the first server and the second server may exist, so that the monitoring server can start a proxy receiving mechanism to receive the target data which needs to be sent to the second server by the first server.
Specifically, the target data received by the monitoring server may be obtained by the monitoring server from the first server actively, or may be sent by the first server actively when the target data fails to be retransmitted, the monitoring server notifies the first server.
Specifically, in order to ensure the security of the target data transmitted between the first server and the second server, the first server may encrypt the target data using a password agreed with the second server, and the second server decrypts the target data using the password after receiving the target data, thereby preventing the target data from being leaked by the monitoring server.
320. And the monitoring server forwards the target data to the second server according to the first forwarding rule.
In the embodiment of the present invention, the first forwarding rule may be an appointed forwarding time, such as forwarding once every 1 hour, or forwarding once every 2 hours until the second server successfully receives the target data; or, the forwarding mode may be an agreed forwarding mode, for example, the target data is directly sent to the second server, or the second server is notified to obtain the target data from the monitoring server, and the monitoring server sends the target data to the second server after the second server passes the verification.
Further, after the second server successfully receives the forwarded target data, the monitoring server may send a message that the target data transmission is successful to the first server.
By the aid of the method, the problem that data transmission fails due to communication between the first server and the second server can be avoided, target data can be effectively transmitted by setting a mechanism for collecting and forwarding by the monitoring server, and data transmission efficiency is improved.
As a possible implementation manner, in the process of retransmitting the target data from the first server to the second server, if the monitoring server monitors that the retransmission of the target data fails, the monitoring server determines a target receiving proxy from the plurality of receiving proxies and instructs the target receiving proxy to receive the target data, so that the target receiving proxy forwards the target data to the second server according to the second forwarding rule.
Specifically, a data collecting mechanism may be set, the collecting server may be specified by the monitoring server, or may be specified by multiple enterprises participating in data transmission monitoring, or may be a server of an enterprise referring to data transmission monitoring, which is not limited in the embodiment of the present invention. The rule that the monitoring server determines the target receiving server from the plurality of receiving servers may be according to a principle that the communication distance is closest, or may be closest to the server that sends the data, or may be closest to the server that receives the data, and the embodiment of the present invention is not limited; or the principle that the current operation load of the collecting server is minimum; or a combination of the above two ways, and the like, and the embodiments of the present invention are not limited.
Further, after the second server successfully receives the forwarded target data, the second server may send a message that the target data transmission is successful to the first server through the monitoring server, or may send a message that the target data transmission is successful to the first server through the target receiving server.
It should be noted that the second forwarding rule may be the same as or different from the first forwarding rule, and the embodiment of the present invention is not limited.
In the embodiment of the invention, after the monitoring server determines the target collecting server, the monitoring server can inform the target collecting server to acquire the target data from the first server, and can also inform the first server to send the target data to the target collecting server. And after receiving the target data, the target collection server forwards the target data to the second server according to a set second forwarding rule.
Referring to fig. 4, fig. 4 is a flowchart illustrating a data transmission method based on cloud monitoring according to another exemplary embodiment. As shown in fig. 4, after step 230 and before step 240, the data transmission method based on cloud monitoring in this embodiment may further include the following steps in addition to the steps shown in fig. 2.
410. The monitoring server acquires the number of target servers which fail to transmit data to the second server in the current time period.
In the embodiment of the present invention, after determining that the first server fails to transmit the target data to the second server, the monitoring server may acquire all target servers that failed to transmit data to the second server within the current time period, and determine the number of the target servers.
It is understood that the current time period is a time period based on the time node at which the monitoring server determines that the target data transmission fails, and if the time node is 00:10, the current time period may be a time period from 00:05 to 00:10, may also be a time period from 00:05 to 00:10, and may also be a time period from 00:08 to 00:12, which is not limited in the embodiment of the present invention. The target server represents a type of server that fails to transmit data to the second server within the current time period, and thus, the target server should include the first server.
420. And if the number of the target servers exceeds the preset number threshold, the monitoring server informs the target servers to retransmit the data to the second server according to a preset rule.
It can be understood that the preset number threshold may be 3 or 10, and a value thereof should be set according to different service requirements or different server processing requirements, which is not limited in the embodiment of the present invention. In the process that the monitoring server informs the target server to retransmit the data to the second server according to the preset rule, when the first server is informed, the monitoring server informs the first server to retransmit the target data to the second server.
In the embodiment of the present invention, if the monitoring server monitors that all of the plurality of servers have failed to transmit data to the second server in the current time period, it indicates that network congestion may be caused by data transmission to the second server in the same time period by a large number of servers.
Therefore, if the number of target servers which fail to transmit data to the second server within the current time period exceeds the preset number threshold, the monitoring server informs the target servers to retransmit the data to the second server according to the preset rule.
In specific implementation, the step of informing, by the monitoring server, the target server to retransmit the data to the second server according to a preset rule includes:
and the monitoring server sequentially informs each server in the target server of retransmitting data to the second server according to the sequence of the session time, wherein the session time is the session initiation time when the target server fails to transmit data to the second server.
It is understood that, when data transmission is performed between the servers in the session, the session includes the session initiation time, i.e., the session time. If the data transmission failure needs to inform retransmission, the monitoring server informs according to the conversation time, the server with the early conversation time informs preferentially, and the server with the late conversation time informs later.
In a specific implementation, the specific manner in which the monitoring server sequentially notifies each server in the target server of retransmitting data to the second server according to the sequence of the session time may be:
the monitoring server notifies a third server in the target servers to retransmit the data to the second server.
And when the confirmation message that the data transmission returned from the second server to the third server is successful is monitored, the monitoring server informs a fourth server in the target servers to retransmit the data to the second server.
And the first session time between the third server and the second server is adjacent to the second session time between the fourth server and the second server, and is earlier than the second session time.
That is to say, in the process of notifying the target server to retransmit the data to the second server, the notification rule of the monitoring server is that, when the server with the earliest session time in the target server is notified to retransmit the data to the second server, the server retransmits the data that was failed in the last transmission to the second server, the monitoring server still monitors the data, and only when it is monitored that the second server returns a confirmation message of successful data transmission to the server, the monitoring server notifies the next server to retransmit the data to the second server.
In some feasible embodiments, in the process that the monitoring server sequentially notifies each server in the target server to retransmit data to the second server according to the sequence of the session time, if a plurality of servers with the same session time exist in the target server, the monitoring server acquires the priority of each server in the plurality of servers;
and the monitoring server sequentially informs each server in the plurality of servers of retransmitting data to the second server according to the priority.
It is to be understood that the monitoring server may set a priority for the enterprise server that monitors the data exchange, and the enterprise server that receives the data may also set a priority for each server that transmits the data to the enterprise server, which is not limited in the embodiment of the present invention.
Specifically, in the process that the monitoring server sequentially notifies each server in the target server of retransmitting data to the second server according to the sequence of the session time, if two or more servers with the same session time appear, the monitoring server may notify each server according to the priority of the server that is set in advance.
For example, if there are five servers A, B, C, D, E that fail to transmit data to the G server in the current time period, the sequence is C-B- (a/E) -D according to the sequence of the session time, where the session time of the a server is the same as that of the E server, the monitoring server may obtain the priorities of the a server and the E server after monitoring that the G server returns an acknowledgement message that data transmission is successful to the B server, if the priority of the E server is higher than that of the a server, the monitoring server first notifies the E server to retransmit data to the G server, and when the G server returns an acknowledgement message that data transmission is successful to the E server, the monitoring server then notifies the a server to retransmit data.
In some possible embodiments, the notifying, by the monitoring server, the target server to retransmit the data to the second server according to a preset rule includes:
and the monitoring server sequentially informs each server in the target server of retransmitting data to the second server according to the priority sequence.
In the process that the monitoring server sequentially informs each server in the target server of retransmitting data to the second server according to the sequence of the priorities, if a plurality of servers with the same priority exist, the monitoring server acquires the session time of each server in the server and sequentially informs each server in the plurality of servers of retransmitting data to the second server according to the sequence of the session time.
In the embodiment of the invention, when a plurality of servers fail to transmit data to the second server in the same time period, the monitoring server notifies the servers to transmit data again according to the sequence of the session time and/or the priority, so that the situation that the data transmission fails again due to network congestion can be effectively avoided, and the data transmission efficiency is improved.
Referring to fig. 5, fig. 5 is a block diagram illustrating a data transmission apparatus based on cloud monitoring according to an exemplary embodiment. As shown in fig. 5, the apparatus includes:
a receiving module 510, configured to receive a data transmission notification that the first server transmits the target data to the second server, where the data transmission notification includes a session ID of the first server transmitting the target data to the second server.
A monitoring module 520, configured to monitor a target session with the session ID between the first server and the second server.
A confirming module 530, configured to confirm that the target data transmission fails when the monitoring module 510 does not monitor the target session within a preset time period and does not monitor a confirmation message that the target data transmission returned by the second server to the first server is successful.
A notifying module 540, configured to notify the first server to retransmit the target data to the second server.
In some possible embodiments, the receiving module 510 is further configured to receive the target data if the monitoring module 520 monitors that the target data is failed to be retransmitted during the process of retransmitting the target data from the first server to the second server.
The apparatus also includes a sending module.
And the sending module is used for forwarding the target data to the second server according to the first forwarding rule.
In some possible embodiments, the apparatus further comprises a determination module.
A determining module, configured to, in the process of retransmitting the target data from the first server to the second server, if the monitoring module 520 monitors that the retransmission of the target data fails, determine a target receiving server from the plurality of receiving servers, and instruct the target receiving server to receive the target data, so that the target receiving server forwards the target data to the second server according to a second forwarding rule.
In some possible embodiments, the apparatus further comprises an acquisition module.
An obtaining module, configured to obtain, when the determining module 530 determines that the target data transmission fails, the number of target servers that failed to transmit data to the second server in the current time period.
The notifying module 540 is further configured to notify the target server to retransmit the data to the second server according to a preset rule when the number of the target servers exceeds the preset number threshold.
In some possible embodiments, when the number of target servers exceeds the preset number threshold, the notifying module 540 notifies the target server to retransmit the data to the second server according to a preset rule in a specific manner:
and sequentially notifying each server in the target server to retransmit the data to the second server according to the sequence of the session time, wherein the session time is the session initiation time when the target server fails to transmit the data to the second server.
In some possible embodiments, the specific manner for the notification module 540 to sequentially notify the servers in the target server of retransmitting the data to the second server according to the sequence of the session time is:
notifying a third server in the target servers to retransmit the data to the second server.
And when the confirmation message that the data transmission returned by the second server to the third server is successful is monitored, notifying a fourth server in the target server to retransmit the data to the second server.
And the first session time between the third server and the second server is adjacent to the second session time between the fourth server and the second server, and is earlier than the second session time.
In some possible embodiments, in the process that the notifying module 540 sequentially notifies, according to the sequence of the session time, the servers in the target server to retransmit the data to the second server, if there are multiple servers with the same session time in the target server, the obtaining module is further configured to obtain the priority of each server in the multiple servers.
The notifying module 540 is further configured to sequentially notify each server of the plurality of servers of retransmitting the data to the second server according to the priority.
In an exemplary embodiment, the present invention also provides a computer-readable storage medium on which a computer program is stored, which, when executed by a processor, implements the cloud monitoring-based data transmission method as set forth above.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (10)

1. A data transmission method based on cloud monitoring is characterized by comprising the following steps:
the method comprises the steps that a monitoring server receives a data transmission notification that a first server transmits target data to a second server, wherein the data transmission notification comprises a session Identification (ID) that the first server transmits the target data to the second server;
the monitoring server monitors a target session with the session ID between the first server and the second server;
if the target session is not monitored within a preset time period and a confirmation message that the target data transmission returned to the first server by the second server is successful is not monitored, the monitoring server confirms that the target data transmission is failed;
the monitoring server notifies the first server to retransmit the target data to the second server.
2. The method of claim 1, wherein after the monitoring server notifies the first server to retransmit the target data to the second server, the method further comprises:
in the process that the first server retransmits the target data to the second server, if the monitoring server monitors that the target data is failed to be retransmitted, the monitoring server receives the target data;
and the monitoring server forwards the target data to the second server according to a first forwarding rule.
3. The method of claim 1, wherein after the monitoring server notifies the first server to retransmit the target data to the second server, the method further comprises:
in the process that the first server retransmits the target data to the second server, if the monitoring server monitors that the target data is failed to be retransmitted, the monitoring server determines a target collection server from a plurality of collection servers and indicates the target collection server to receive the target data, so that the target collection server forwards the target data to the second server according to a second forwarding rule.
4. The method of any of claims 1-3, wherein after the monitoring server confirms that the target data transfer failed, the method further comprises:
the monitoring server acquires the number of target servers which fail to transmit data to the second server in the current time period;
and if the number of the target servers exceeds a preset number threshold, the monitoring server informs the target servers to retransmit data to the second server according to a preset rule.
5. The method of claim 4, wherein the monitoring server notifying the target server to retransmit data to the second server according to a preset rule comprises:
and the monitoring server sequentially informs each server in the target server of retransmitting data to the second server according to the sequence of session time, wherein the session time is session initiation time when the target server fails to transmit data to the second server.
6. The method of claim 5, wherein the monitoring server sequentially notifies the servers in the target server of retransmission of data to the second server according to the sequence of the session time, including:
the monitoring server informs a third server in the target servers to retransmit data to the second server;
when the confirmation message that the data transmission returned to the third server by the second server is successful is monitored, the monitoring server informs a fourth server in the target servers to retransmit the data to the second server;
wherein a first session time between the third server and the second server is adjacent to a second session time between the fourth server and the second server, and the first session time is earlier than the second session time.
7. The method of claim 5, further comprising:
in the process that the monitoring server sequentially informs each server in the target server of retransmitting data to the second server according to the sequence of the session time, if a plurality of servers with the same session time exist in the target server, the monitoring server acquires the priority of each server in the plurality of servers;
and the monitoring server sequentially informs each server in the plurality of servers of retransmitting data to the second server according to the priority.
8. A data transmission apparatus based on cloud monitoring, the apparatus comprising:
a receiving module, configured to receive a data transmission notification that a first server transmits target data to a second server, where the data transmission notification includes a session ID of the first server transmitting the target data to the second server;
a monitoring module, configured to monitor a target session with the session ID between the first server and the second server;
the confirmation module is used for confirming that the target data transmission fails under the condition that the monitoring module does not monitor the target session within a preset time period and does not monitor a confirmation message that the target data transmission returned to the first server by the second server is successful;
a notification module configured to notify the first server to retransmit the target data to the second server.
9. A monitoring server, comprising a processor, a network interface and a storage device, wherein the processor, the network interface and the storage device are connected with each other, wherein the network interface is controlled by the processor for transceiving data, the storage device is used for storing a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the cloud monitoring-based data transmission method according to any one of claims 1 to 7.
10. A computer storage medium having stored therein program instructions for implementing the cloud monitoring based data transmission method according to any one of claims 1 to 7 when executed.
CN201811555605.1A 2018-12-19 2018-12-19 Data transmission method and device based on cloud monitoring and monitoring server Active CN109788035B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811555605.1A CN109788035B (en) 2018-12-19 2018-12-19 Data transmission method and device based on cloud monitoring and monitoring server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811555605.1A CN109788035B (en) 2018-12-19 2018-12-19 Data transmission method and device based on cloud monitoring and monitoring server

Publications (2)

Publication Number Publication Date
CN109788035A CN109788035A (en) 2019-05-21
CN109788035B true CN109788035B (en) 2022-01-28

Family

ID=66497365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811555605.1A Active CN109788035B (en) 2018-12-19 2018-12-19 Data transmission method and device based on cloud monitoring and monitoring server

Country Status (1)

Country Link
CN (1) CN109788035B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306867A (en) * 2014-06-05 2016-02-03 掌赢信息科技(上海)有限公司 Method, device and system for improving end-to-end video transmission quality
CN105519071A (en) * 2013-05-21 2016-04-20 三星电子株式会社 Electronic device using logical channels for communication
CN106302213A (en) * 2016-08-02 2017-01-04 无锡天脉聚源传媒科技有限公司 A kind of method and device of data transmission
CN108255623A (en) * 2018-01-22 2018-07-06 深圳市卓讯信息技术有限公司 Realize the data exchange monitoring method and device of thread inside and outside dual reconciliation mechanism
CN108683528A (en) * 2018-04-26 2018-10-19 深圳银澎云计算有限公司 A kind of data transmission method, central server, server and data transmission system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8238241B2 (en) * 2003-07-29 2012-08-07 Citrix Systems, Inc. Automatic detection and window virtualization for flow control
DK2083532T3 (en) * 2008-01-23 2014-02-10 Comptel Corp Convergent mediation system with improved data transfer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105519071A (en) * 2013-05-21 2016-04-20 三星电子株式会社 Electronic device using logical channels for communication
CN105306867A (en) * 2014-06-05 2016-02-03 掌赢信息科技(上海)有限公司 Method, device and system for improving end-to-end video transmission quality
CN106302213A (en) * 2016-08-02 2017-01-04 无锡天脉聚源传媒科技有限公司 A kind of method and device of data transmission
CN108255623A (en) * 2018-01-22 2018-07-06 深圳市卓讯信息技术有限公司 Realize the data exchange monitoring method and device of thread inside and outside dual reconciliation mechanism
CN108683528A (en) * 2018-04-26 2018-10-19 深圳银澎云计算有限公司 A kind of data transmission method, central server, server and data transmission system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Command Evaluation in Encrypted Remote Sessions";Robert Koch等;《2010 Fourth International Conference on Network and System Security》;20101115;全文 *
"面向VoIP服务质量的无线网络关键技术的研究及应用";肖俊;《中国优秀博硕士学位论文全文数据库(博士)》;20170615;全文 *

Also Published As

Publication number Publication date
CN109788035A (en) 2019-05-21

Similar Documents

Publication Publication Date Title
JP2023502348A (en) System and method for satellite quantum key distribution
CN111510474B (en) Data transmission method based on message middleware and related equipment
EP3496432B1 (en) Efficient multicast transmission
CN110233851B (en) Data transmission method and device
CN103986764A (en) Equipment and method used for multi-client collaborative file uploading
US10021551B2 (en) Centralized management of distributed systems with off line components
CN102647365A (en) Method and device for processing message and message status and data exchange server
CN112152914A (en) Instant messaging method and system based on Beidou short message
US8166298B2 (en) Downloadable conditional access system and method of session control for secured 2-way communication between authentication server and host device in downloadable conditional access system
US8379514B2 (en) Route reflector for a communication system
JP4767336B2 (en) Mail server system and congestion control method
CN110383940B (en) Method, user equipment and server for releasing mission-critical data communication
CN109788035B (en) Data transmission method and device based on cloud monitoring and monitoring server
JP2023089118A (en) Core network node and communication method for the same
CN115987931A (en) Instant messaging message chaining method and device
WO2022001785A1 (en) User plane state synchronization method and apparatus
CN114222290B (en) Communication method, device, equipment and storage medium
JP2002169738A (en) File distributing method
JP2004157753A (en) Firmware download system
JP6217103B2 (en) Communication system, data distribution method and program
CN118804077A (en) Data management method, device, system, storage medium and computer program product
KR101527196B1 (en) Bi-directional service system for push message and Control method for the system
CN115567557B (en) Multi-target reporting method, device and system for industrial data
US20230179656A1 (en) Method for synchronising data of a database, computer programme, device for processing data, and mobile terminal therefor
EP0996264A1 (en) File transfer method and apparatus

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