CN114629917A - Data processing method and device for cross-system communication and electronic equipment - Google Patents

Data processing method and device for cross-system communication and electronic equipment Download PDF

Info

Publication number
CN114629917A
CN114629917A CN202210281205.6A CN202210281205A CN114629917A CN 114629917 A CN114629917 A CN 114629917A CN 202210281205 A CN202210281205 A CN 202210281205A CN 114629917 A CN114629917 A CN 114629917A
Authority
CN
China
Prior art keywords
information
communication
file
data
cross
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
CN202210281205.6A
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.)
Shenzhen Lvlian Technology Co Ltd
Original Assignee
Shenzhen Lvlian Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Lvlian Technology Co Ltd filed Critical Shenzhen Lvlian Technology Co Ltd
Priority to CN202210281205.6A priority Critical patent/CN114629917A/en
Publication of CN114629917A publication Critical patent/CN114629917A/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/104Peer-to-peer [P2P] networks
    • 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/104Peer-to-peer [P2P] networks
    • H04L67/1042Peer-to-peer [P2P] networks using topology management mechanisms
    • 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)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a data processing method, a device and electronic equipment for cross-system communication, wherein the method is applied to a first system and a second system, the first system and the second system establish communication connection through a public network server, and the method comprises the following steps: acquiring communication system information; the communication system information comprises first communication file information in a first system; establishing a first communication channel between a first system and a second system according to the communication system information and a public network server; executing a set backup monitoring strategy, and carrying out comparative analysis on the first communication file information to obtain corresponding comparative analysis result information; and performing cross-system communication between the first system and the second system by using a first communication channel according to the comparative analysis result information. Therefore, the invention can realize the communication of the data of different devices or systems in the non-local area network, thereby improving the cross-system transmission efficiency and the synchronous backup efficiency of the data.

Description

Data processing method and device for cross-system communication and electronic equipment
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data processing method and apparatus for cross-system communication, and an electronic device.
Background
The mainstream file backup mode in the current market is the file backup of the same device, namely, the file of the first folder is synchronously backed up to the file of the second folder in real time, or the file of the current device is backed up to a public cloud server and the file is synchronously backed up between the system devices in the local area network. The above-mentioned file backup method usually needs to transmit data via a local area network, but it is difficult to implement real-time data synchronization of different devices or systems in a non-local area network.
Disclosure of Invention
The invention provides a data processing method and device for cross-system communication and electronic equipment, which can realize the communication of data of different equipment or systems in a non-local area network, thereby improving the cross-system transmission efficiency and synchronous backup efficiency of the data.
In order to solve the technical problem in the background art, a first aspect of an embodiment of the present invention discloses a data processing method for cross-system communication, which is applied to a first system and a second system, and the first system and the second system establish a communication connection through a public network server, where the method includes:
acquiring communication system information; the communication system information comprises first communication file information in a first system;
establishing a first communication channel between the first system and a second system according to the communication system information and a public network server; the first communication channel is used for point-to-point data communication, so that the first system and the second system only use the first communication channel for data communication and do not rely on the public network server for data communication;
executing a set backup monitoring strategy, and carrying out comparative analysis on the first communication file information to obtain corresponding comparative analysis result information;
and performing cross-system communication between the first system and the second system by using the first communication channel according to the comparative analysis result information.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the communication system information further includes second device information of the second system;
the establishing a first communication channel between a first system and a second system according to the communication system information and the public network server comprises:
sending the second equipment information of the second system to a public network server;
matching second equipment information of the second system to establish a second communication channel between the public network server and the second system;
establishing a first communication channel between the first system and the second system by using the second communication channel; the first communication channel and the second communication channel are independent of each other.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the executing a set backup monitoring policy, and performing comparative analysis on the first communication file information to obtain a corresponding comparative analysis result includes:
judging whether the data communication signal is detected or not to obtain a detection judgment result;
when the detection judgment result is yes, acquiring historical communication file information in a database;
and carrying out data comparison analysis on the historical communication file information and the first communication file information in the first system to obtain comparison analysis result information.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the comparative analysis result information includes synchronous data information, and/or monitoring data information;
the performing cross-system communication between the first system and the second system by using the first communication channel according to the information of the comparative analysis result includes:
when the comparison analysis result information is the synchronous data information, triggering and executing the cross-system communication between the first system and the second system by using the first communication channel;
when the comparative analysis result information is the monitoring data information, triggering and executing the backup monitoring strategy set by the execution, and carrying out comparative analysis on the first communication file information to obtain corresponding comparative analysis result information
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the performing data comparison analysis on the first communication file information in the first system to obtain comparison analysis result information includes:
determining file change information according to the historical communication file information and the first communication file information; the file change information comprises file time information, and/or file size information, and/or check value information;
judging whether the file time information meets a modification time condition or not to obtain a first comparison judgment result;
when the first comparison judgment result is yes, determining comparison analysis result information as the synchronous data information;
when the first comparison judgment result is negative, judging whether the file size information meets a file size change condition or not to obtain a second comparison judgment result;
when the second comparison judgment result is yes, determining that the comparison analysis result information is the synchronous data information;
when the second comparison judgment result is negative, judging whether the check value information meets the check value change condition or not to obtain a third comparison judgment result;
when the third comparison judgment result is negative, determining that the comparison analysis result information is the monitoring data information;
and when the third comparison judgment result is yes, determining that the comparison analysis result information is the synchronous data information.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the first communication file information further includes file backup path information of the second system;
the performing cross-system communication between the first system and the second system by using the first communication channel includes:
determining first backup update file information according to the first communication file information;
transmitting the first backup update file information from the first system to the second system by using the first communication channel to obtain second backup update file information;
and performing backup updating processing on the second backup updating file information according to the file backup path information.
As an optional implementation manner, in a first aspect of the embodiment of the present invention, the acquiring communication system information includes:
acquiring file path information of the first system;
and according to a preset file blocking rule, carrying out blocking processing on file data information corresponding to the file path information to obtain communication system information.
The second aspect of the embodiments of the present invention discloses a data processing apparatus for cross-system communication, which is applied to a first system and a second system, and the first system and the second system establish communication connection through a public network server, the apparatus comprising:
the acquisition module is used for acquiring communication system information; the communication system information comprises first communication file information in a first system;
the establishing module is used for establishing a first communication channel between the first system and the second system according to the communication system information and the public network server; the first communication channel is used for point-to-point data communication, so that the first system and the second system only use the first communication channel for data communication and do not rely on the public network server for data communication;
the comparison analysis module is used for executing a set backup monitoring strategy, and performing comparison analysis on the first communication file information to obtain corresponding comparison analysis result information;
and the communication module is used for performing cross-system communication between the first system and the second system by using the first communication channel according to the comparative analysis result information.
As one optional implementation manner, in the second aspect of the embodiment of the present invention, the communication system information further includes second device information of the second system;
the specific mode of establishing the first communication channel between the first system and the second system by the establishing module according to the communication system information and the public network server is as follows:
sending the second equipment information of the second system to a public network server;
matching second equipment information of the second system to establish a second communication channel between the public network server and the second system;
establishing a first communication channel between the first system and the second system by using the second communication channel; the first communication channel and the second communication channel are independent of each other.
As a possible implementation manner, in the second aspect of the embodiment of the present invention, the comparison analysis module includes a pair detection sub-module, an acquisition sub-module, and a comparison sub-module, where:
the detection submodule is used for judging whether a data communication signal is detected or not to obtain a detection judgment result;
the acquisition submodule is used for acquiring historical communication file information in a database when the detection judgment result is yes;
and the comparison submodule is used for carrying out data comparison analysis on the historical communication file information and the first communication file information in the first system to obtain comparison analysis result information.
As a possible implementation manner, in the second aspect of the embodiment of the present invention, the comparative analysis result information includes synchronous data information, and/or monitoring data information;
the communication module performs cross-system communication between the first system and the second system by using the first communication channel according to the comparative analysis result information in a specific mode that:
when the comparison analysis result information is the synchronous data information, triggering and executing the cross-system communication between the first system and the second system by using the first communication channel;
and when the comparative analysis result information is the monitoring data information, triggering and executing the backup monitoring strategy set by the execution, and carrying out comparative analysis on the first communication file information to obtain corresponding comparative analysis result information.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the specific manner of performing data comparison analysis on the historical communication file information and the first communication file information in the first system by the comparison sub-module to obtain comparison analysis result information is as follows:
determining file change information according to the historical communication file information and the first communication file information; the file change information comprises file time information, and/or file size information, and/or check value information;
judging whether the file time information meets a modification time condition or not to obtain a first comparison judgment result;
when the first comparison judgment result is yes, determining comparison analysis result information as the synchronous data information;
when the first comparison judgment result is negative, judging whether the file size information meets a file size change condition or not to obtain a second comparison judgment result;
when the second comparison judgment result is yes, determining that the comparison analysis result information is the synchronous data information;
when the second comparison judgment result is negative, judging whether the check value information meets the check value change condition to obtain a third comparison judgment result;
when the third comparison judgment result is negative, determining that the comparison analysis result information is the monitoring data information;
and when the third comparison judgment result is yes, determining that the comparison analysis result information is the synchronous data information.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the first communication file information further includes file backup path information of the second system;
the specific way of the communication module performing cross-system communication between the first system and the second system by using the first communication channel is as follows:
determining first backup update file information according to the first communication file information;
transmitting the first backup update file information from the first system to the second system by using the first communication channel to obtain second backup update file information;
and performing backup updating processing on the second backup updating file information according to the file backup path information.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, a specific manner of acquiring the communication system information by the acquisition module is as follows:
acquiring file path information of the first system;
and according to a preset file blocking rule, carrying out blocking processing on file data information corresponding to the file path information to obtain communication system information.
In a third aspect, the present invention discloses another data processing apparatus for cross-system communication, the apparatus comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute part or all of the steps of the data processing method for cross-system communication disclosed in the first aspect of the embodiment of the present invention.
A fourth aspect of the present invention discloses a computer storage medium, where the computer storage medium stores computer instructions, and the computer instructions, when called, are used to perform some or all of the steps in the data processing method for cross-system communication disclosed in the first aspect of the embodiments of the present invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
the invention can be applied to a first system and a second system, and the first system and the second system establish communication connection through a public network server, and the method comprises the following steps: acquiring communication system information; the communication system information comprises first communication file information in a first system; establishing a first communication channel between a first system and a second system according to the communication system information and a public network server; executing a set backup monitoring strategy, and carrying out comparative analysis on the first communication file information to obtain corresponding comparative analysis result information; and performing cross-system communication between the first system and the second system by using a first communication channel according to the comparative analysis result information. Therefore, the invention can realize the communication of the data of different devices or systems in the non-local area network, thereby improving the cross-system transmission efficiency and the synchronous backup efficiency of the data.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart of a data processing method for cross-system communication according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating another data processing method for cross-system communication according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a data processing apparatus for cross-system communication according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another embodiment of a data processing apparatus for cross-system communication;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, product, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements recited, but may alternatively include other steps or elements not expressly listed or inherent to such process, method, product, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The invention discloses a data processing method, a data processing device and electronic equipment for cross-system communication, which can establish a first communication channel of a first system and a second system by using a common server, and then carry out cross-system communication on communication system information by using the first communication channel, are favorable for realizing the communication of data of different equipment or systems in a non-local area network, and further improve the cross-system transmission efficiency and the synchronous backup efficiency of the data. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a data processing method for cross-system communication according to an embodiment of the present invention. The data processing method for cross-system communication described in fig. 1 is applied to a data processing system, such as a local server or a cloud server for data processing management of cross-system communication, and the embodiment of the present invention is not limited thereto. As shown in fig. 1, the data processing method for cross-system communication is applied to a first system and a second system, and the first system and the second system establish a communication connection through a public network server, and may include the following operations:
101. and acquiring the communication system information.
In an embodiment of the present invention, the communication system information includes first communication file information in a first system.
102. And establishing a first communication channel between the first system and the second system according to the communication system information and the public network server.
In the embodiment of the invention, the first communication channel is used for point-to-point data communication, so that the first system and the second system only use the first communication channel for data communication and do not rely on a public network server for data communication.
103. And executing the set backup monitoring strategy, and performing comparative analysis on the first communication file information to obtain corresponding comparative analysis result information.
104. And performing cross-system communication between the first system and the second system by using the first communication channel according to the comparative analysis result information.
Optionally, the first system and the second system may be the same operating system or different operating systems, and the embodiment of the present invention is not limited thereto.
Optionally, the operating system includes an android system, and/or a microsoft system, and/or a samsung system, and/or an apple system, and/or a linux system, which is not limited in the embodiment of the present invention.
Optionally, the data processing method for cross-system communication may implement cross-network and cross-platform data transmission, which is not limited to network limitation, so that data synchronization and backup are more convenient, and data synchronization capability and efficiency between various intelligent devices are improved.
Optionally, the data information transmitted when the first communication channel is used for performing the cross-system communication between the first system and the second system may be point-to-point data communication between the first system and the second system without passing through a public network server.
Therefore, the data processing method for cross-system communication described in the embodiment of the present invention can establish the first communication channel between the first system and the second system by using the common server, perform comparative analysis on the first communication file information, and perform cross-system communication on the communication system information by using the first communication channel, which is beneficial to implementing communication on data of different devices or systems in the non-local area network, thereby improving the cross-system transmission efficiency and the synchronous backup efficiency of the data.
In an optional embodiment, the communication system information further includes second device information of a second system;
in the step 102, establishing a first communication channel between the first system and the second system according to the communication system information and the public network server includes:
sending second equipment information of a second system to a public network server;
matching second equipment information of a second system to establish a second communication channel between the public network server and the second system;
establishing a first communication channel between the first system and the second system by utilizing the second communication channel; the first communication channel and the second communication channel are independent.
Optionally, before the first system communicates with the second system, a first communication channel independent of the public network server needs to be established between the first system and the second system by using the public network server, so as to form a dedicated data communication channel between the first system and the second system, thereby improving the data communication security and the data synchronization efficiency of the first system and the second system.
Therefore, the data processing method for cross-system communication described in the embodiment of the present invention can establish a first communication channel capable of performing peer-to-peer data communication between the first system and the second system by using the public network server, which is beneficial to implementing data communication of different devices or systems in a non-local area network, and further improves cross-system transmission efficiency and synchronous backup efficiency of data.
In another optional embodiment, the executing the set backup monitoring policy to perform comparative analysis on the first communication file information to obtain a corresponding comparative analysis result includes:
judging whether the data communication signal is detected or not to obtain a detection judgment result;
when the detection judgment result is yes, acquiring historical communication file information in a database;
and carrying out data comparison analysis on the historical communication file information and the first communication file information in the first system to obtain comparison analysis result information.
Optionally, the comparative analysis result information includes comparative analysis result information including synchronous data information and/or monitoring data information, which is not limited in the embodiment of the present invention.
Optionally, the synchronous data information is used to instruct to synchronously transmit the first communication file information in the first system to the second system.
Optionally, the monitoring data information is used to instruct to perform a timed backup on the first communication file information in the first system or perform data update monitoring.
Therefore, the data processing method for cross-system communication described in the embodiment of the present invention can obtain the comparative analysis result information for instructing to execute the file synchronization backup policy by performing the data comparative analysis on the first communication file information, which is beneficial to implementing the communication of data of different devices or systems in a non-local area network, and further improves the cross-system transmission efficiency and the synchronization backup efficiency of the data.
In yet another optional embodiment, the performing, according to the information of the comparative analysis result, cross-system communication between the first system and the second system by using the first communication channel includes:
when the comparison analysis result information is synchronous data information, triggering and executing cross-system communication between the first system and the second system by using a first communication channel;
and when the comparative analysis result information is the monitoring data information, triggering and executing the set backup monitoring strategy, and carrying out comparative analysis on the first communication file information to obtain corresponding comparative analysis result information.
Optionally, the backup monitoring policy includes performing data update monitoring on the first communication file information in the first system, and when the first communication file information is updated, triggering and executing data comparison analysis on the first communication file information in the first system to obtain comparison analysis result information, and/or ending the process when receiving a command to cancel the backup task, and/or generating a data comparison command according to a timing backup rule, which is not limited in the embodiment of the present invention.
Optionally, the data comparison instruction is used for performing data comparison analysis on the first communication file information in the first system to obtain comparison analysis result information.
Therefore, the data processing method for cross-system communication described in the embodiment of the invention can execute the file synchronization backup strategy according to the analysis result information, is more favorable for realizing the communication of data of different devices or systems in a non-local area network, and further improves the cross-system transmission efficiency and the synchronization backup efficiency of the data.
In another optional embodiment, the comparing and analyzing the data between the historical communication file information and the first communication file information in the first system to obtain the comparison and analysis result information includes:
determining file change information according to the historical communication file information and the first communication file information; the file change information comprises file time information, and/or file size information, and/or check value information;
judging whether the file time information meets a modification time condition or not to obtain a first comparison judgment result;
when the first comparison judgment result is yes, determining that the comparison analysis result information is synchronous data information;
when the first comparison judgment result is negative, judging whether the file size information meets the file size change condition or not to obtain a second comparison judgment result;
when the second comparison judgment result is yes, determining that the comparison analysis result information is synchronous data information;
when the second comparison judgment result is negative, judging whether the check value information meets the check value change condition or not to obtain a third comparison judgment result;
when the third comparison judgment result is negative, determining that the comparison analysis result information is monitoring data information;
and when the third comparison judgment result is yes, determining that the comparison analysis result information is synchronous data information.
Optionally, the modification time condition is that the file modification time corresponding to the file time information is greater than the first backup time.
Optionally, the file size change condition is that a file size corresponding to the file size information changes with respect to a size of the first backup file.
Optionally, the check value change condition includes that the MD5 value of the entire file corresponding to the first communication file information changes with respect to the first backup MD5 value of the entire file corresponding to the first communication file information, and/or the MD5 value of the chunk file changes with respect to the second backup MD5 value corresponding to the chunk file, and/or the hash value of the chunk file changes with respect to the first backup hash value corresponding to the chunk file, which is not limited in the embodiment of the present invention.
Optionally, the data comparison analysis is performed on the first communication file information in the first system, and the obtained comparison analysis result information is judged by file blocking verification analysis, so that the comparison efficiency of the file data information can be improved.
In this optional embodiment, as an optional implementation manner, when the comparative analysis result information is synchronous data information, the method further includes:
determining database updating information according to the first communication file information;
and updating the backup database information by using the database updating information.
Optionally, the backup database information includes size information of the first backup file, and/or first backup time information, and/or first backup MD5 value information, and/or first backup hash value information, and/or second backup MD5 value information, which is not limited in the embodiment of the present invention.
Optionally, the first backup file size information includes a plurality of first backup file sizes.
Optionally, the first backup time information includes a plurality of first backup times.
Optionally, the first backup MD5 value information includes a plurality of first backup MD5 values.
Optionally, the second backup MD5 value information includes a plurality of second backup MD5 values.
Optionally, the first backup hash value information includes a plurality of first backup hash values.
Optionally, the database update information includes path information corresponding to backup database information and/or change file information, which is not limited in the embodiment of the present invention.
Optionally, the changed file information includes a file size corresponding to the changed file, and/or a file block size corresponding to the changed file, and/or a file backup time corresponding to the changed file, and/or a file block MD5 value corresponding to the changed file, and/or an overall file MD5 value corresponding to the changed file, which is not limited in the embodiment of the present invention.
Optionally, when it is determined whether the check value information satisfies the check value change condition, analyzing to obtain that any check value in the check value information changes, that is, determining that the third comparison determination result is yes, so as to improve data comparison and analysis efficiency and save system resources.
Therefore, the data processing method for cross-system communication described in the embodiment of the present invention can obtain the comparative analysis result information by performing comprehensive comparative analysis processing on the file time information, the file size information, and the check value information, and is more favorable for implementing communication of data of different devices or systems in a non-local area network, thereby improving the cross-system transmission efficiency and the synchronous backup efficiency of the data.
In an optional embodiment, the first communication file information further includes file backup path information of the second system;
the method for performing cross-system communication between a first system and a second system by using a first communication channel comprises the following steps:
determining first backup update file information according to the first communication file information;
transmitting the first backup update file information from the first system to the second system by using the first communication channel to obtain second backup update file information;
and performing backup updating processing on the second backup updating file information according to the file backup path information.
In this optional embodiment, as an optional implementation manner, the specific manner of determining the first backup update file information according to the first communication file information is as follows:
judging whether the first communication file information executes the operation of backing up to a second system for the first time or not to obtain a first operation judgment result;
when the first operation judgment result is yes, determining that the first communication file information is first backup update file information;
and when the first operation judgment result is negative, determining that the updated data information in the first communication file information is first backup update file information.
In this optional embodiment, as another optional implementation manner, a specific manner of determining that the updated data information in the first communication file information is the first backup updated file information is as follows:
updating and screening all data information in the first communication file information to obtain updated block file information; the updated block file information comprises a plurality of updated block files;
and marking the information of the updated block file with marking information at the head position of the transmission block of the updated block file to obtain the information of the first backup updated file.
Optionally, the tagging information includes updating a file path corresponding to the block file, and/or updating a file block size corresponding to the block file, and/or updating an MD5 value corresponding to the block file, and/or updating an end position corresponding to the block file, which is not limited in the embodiment of the present invention.
Optionally, the end position corresponding to the updated block file is position information for transmitting the updated block file to the second system.
In this optional embodiment, as another optional implementation manner, the above-mentioned transmitting the first backup update file information from the first system to the second system by using the first communication channel, and the specific manner of obtaining the second backup update file information is as follows:
compressing and encrypting the first backup update file information in the first system;
and transmitting the compressed and encrypted first backup update file information to a second system through a first communication channel, and decompressing to obtain second backup update file information.
In this optional embodiment, as another optional implementation manner, the above-mentioned transmitting the first backup update file information from the first system to the second system by using the first communication channel to obtain the second backup update file information specifically includes:
and transmitting the first backup update file information from the first system to the second system through the first communication channel by using the socket long link to obtain second backup update file information.
Therefore, the data processing method for cross-system communication described in the embodiment of the present invention can transmit and backup and update the data information by comprehensively processing the first communication file information, which is more beneficial to implement data communication of different devices or systems in a non-local area network, and further improve the cross-system transmission efficiency and the synchronous backup efficiency of the data.
Example two
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating another data processing method for cross-system communication according to an embodiment of the present invention. The data processing method for cross-system communication described in fig. 2 is applied to a data processing system, such as a local server or a cloud server for data processing management of cross-system communication, and the embodiment of the present invention is not limited thereto. As shown in fig. 2, the data processing method for cross-system communication is applied to a first system and a second system, and the first system and the second system establish a communication connection through a public network server, and may include the following operations:
201. file path information of a first system is acquired.
202. And according to a preset file blocking rule, carrying out blocking processing on file data information corresponding to the file path information to obtain communication system information.
203. And establishing a first communication channel between the first system and the second system according to the communication system information and the public network server.
204. Executing the set backup monitoring strategy, and performing comparative analysis on the first communication file information to obtain corresponding comparative analysis result information.
205. And performing cross-system communication between the first system and the second system by using the first communication channel according to the comparative analysis result information.
In the embodiment of the present invention, for specific technical details and technical noun explanations of step 203 to step 205, reference may be made to the detailed description of step 102 to step 104 in the first embodiment, and details are not repeated in the embodiment of the present invention.
Optionally, the communication system information includes first communication file information.
Optionally, the first communication file information includes M blocks of communication file information.
Optionally, M is a positive integer not greater than 10, so as to reasonably standardize file blocking processing times and file data information transmission times, and ensure file blocking processing efficiency and network transmission efficiency
In this optional embodiment, as an optional implementation manner, the above-mentioned performing block processing on the file data information corresponding to the file path information according to a preset file block rule to obtain the communication system information specifically includes:
determining file data information according to the file path information of the first system;
determining the size information of the basic blocks of the file according to the IO performance of the first system and the network transmission rate of the first communication channel;
and carrying out block segmentation on the file data information by using the file basic block size information to obtain M blocks of communication file information.
Therefore, the data processing method for cross-system communication described in the embodiment of the present invention can perform block processing on the file path information by using the file blocking rule to obtain the communication system information, then establish the first communication channel between the first system and the second system by using the common server, and perform cross-system communication on the communication system information by using the first communication channel, which is beneficial to implement data communication on different devices or systems in the non-local area network, thereby improving the cross-system transmission efficiency and the synchronous backup efficiency of data.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic structural diagram of a data processing apparatus for cross-system communication according to an embodiment of the present invention. The apparatus described in fig. 3 can be applied to a data processing system, such as a local server or a cloud server for data processing management of cross-system communication, and the embodiment of the present invention is not limited thereto. As shown in fig. 3, the apparatus is applied to a first system and a second system, and the first system and the second system establish a communication connection through a public network server, which may include:
an obtaining module 301, configured to obtain communication system information; the communication system information comprises first communication file information in a first system;
an establishing module 302, configured to establish a first communication channel between a first system and a second system according to communication system information and a public network server; the first communication channel is used for point-to-point data communication, so that the first system and the second system only use the first communication channel for data communication and do not rely on a public network server for data communication;
the comparison and analysis module 303 is configured to execute the set backup monitoring policy, and perform comparison and analysis on the first communication file information to obtain corresponding comparison and analysis result information;
the communication module 304 is configured to perform cross-system communication between the first system and the second system by using a first communication channel according to the comparison and analysis result information.
It can be seen that, with the data processing apparatus for cross-system communication described in fig. 3, a first communication channel between a first system and a second system can be established by using a common server, then the first communication file information is compared and analyzed, and the cross-system communication is performed on the communication system information by using the first communication channel, which is beneficial to implementing the communication on data of different devices or systems in a non-local area network, thereby improving the cross-system transmission efficiency and the synchronous backup efficiency of the data.
In another alternative embodiment, as shown in fig. 4, the communication system information further includes second device information of the second system;
the specific way for the establishing module 302 to establish the first communication channel between the first system and the second system according to the communication system information and the public network server is as follows:
sending second equipment information of a second system to a public network server;
matching second equipment information of a second system to establish a second communication channel between the public network server and the second system;
establishing a first communication channel between the first system and the second system by utilizing the second communication channel; the first communication channel and the second communication channel are independent.
It can be seen that, by implementing the data processing apparatus for cross-system communication described in fig. 4, a first communication channel capable of performing point-to-point data communication can be established between a first system and a second system by using a public network server, which is beneficial to implementing data communication for different devices or systems in a non-local area network, and further improves cross-system transmission efficiency and synchronous backup efficiency of data.
In yet another alternative embodiment, as shown in figure 4,
the comparison analysis module 303 includes a detection submodule 3031, an acquisition submodule 3032 and a comparison submodule 3033, wherein
The detection submodule 3031 is used for judging whether to detect the data communication signal or not to obtain a detection judgment result;
the obtaining submodule 3032 is configured to obtain, when the detection judgment result is yes, historical communication file information in the database;
the comparison submodule 3033 is configured to perform data comparison analysis on the historical communication file information and the first communication file information in the first system to obtain comparison analysis result information.
It can be seen that, with the data processing apparatus for cross-system communication described in fig. 4, the comparative analysis result information for instructing to execute the file synchronization backup policy can be obtained through the data comparative analysis of the first communication file information, which is beneficial to implementing communication of data of different devices or systems in a non-local area network, and further improves the cross-system transmission efficiency and the synchronization backup efficiency of the data.
In yet another alternative embodiment, as shown in fig. 4, the comparative analysis result information includes synchronous data information, and/or monitoring data information;
the specific way of performing the cross-system communication between the first system and the second system by using the first communication channel according to the comparative analysis result information by the communication module 304 is as follows:
when the comparison analysis result information is synchronous data information, triggering and executing cross-system communication between the first system and the second system by using a first communication channel;
and when the comparative analysis result information is the monitoring data information, triggering and executing a set backup monitoring strategy, and carrying out comparative analysis on the first communication file information to obtain corresponding comparative analysis result information.
Therefore, the data processing apparatus for cross-system communication described in fig. 4 can execute the file synchronization backup strategy according to the analysis result information, which is more beneficial to implementing data communication of different devices or systems in the non-local area network, and further improves the cross-system transmission efficiency and the synchronization backup efficiency of data.
In yet another alternative embodiment, as shown in fig. 4, the comparing sub-module 3033 performs data comparison analysis on the historical communication file information and the first communication file information in the first system, and the specific manner of obtaining the comparison analysis result information is as follows:
determining file change information according to the historical communication file information and the first communication file information; the file change information comprises file time information, and/or file size information, and/or check value information;
judging whether the file time information meets a modification time condition or not to obtain a first comparison judgment result;
when the first comparison judgment result is yes, determining that the comparison analysis result information is synchronous data information;
when the first comparison judgment result is negative, judging whether the file size information meets the file size change condition or not to obtain a second comparison judgment result;
when the second comparison judgment result is yes, determining that the comparison analysis result information is synchronous data information;
when the second comparison judgment result is negative, judging whether the check value information meets the check value change condition or not to obtain a third comparison judgment result;
when the third comparison judgment result is negative, determining that the comparison analysis result information is monitoring data information;
and when the third comparison judgment result is yes, determining that the comparison analysis result information is synchronous data information.
It can be seen that, by implementing the data processing apparatus for cross-system communication described in fig. 4, the comparative analysis result information can be obtained by performing comprehensive comparative analysis processing on the file time information, the file size information, and the check value information, which is more beneficial to implementing communication on data of different devices or systems in a non-local area network, and further improves the cross-system transmission efficiency and the synchronous backup efficiency of the data.
In yet another alternative embodiment, as shown in fig. 4, the first communication file information further includes file backup path information of the second system;
the specific way of the communication module 304 performing cross-system communication between the first system and the second system by using the first communication channel is as follows:
determining first backup update file information according to the first communication file information;
transmitting the first backup update file information from the first system to the second system by using the first communication channel to obtain second backup update file information;
and performing backup updating processing on the second backup updating file information according to the file backup path information.
It can be seen that, by implementing the data processing apparatus for cross-system communication described in fig. 4, the data information can be transmitted and backed up and updated through the comprehensive processing of the first communication file information, which is more beneficial to implementing the communication of data of different devices or systems in a non-local area network, and further improves the cross-system transmission efficiency and the synchronous backup efficiency of the data.
In yet another alternative embodiment, as shown in fig. 4, the specific manner for the obtaining module 301 to obtain the communication system information is as follows:
acquiring file path information of a first system;
and according to a preset file blocking rule, carrying out blocking processing on file data information corresponding to the file path information to obtain communication system information.
It can be seen that, with the data processing apparatus for cross-system communication described in fig. 4, file path information can be blocked by using a file blocking rule to obtain communication system information, a first communication channel between a first system and a second system is established by using a common server, and cross-system communication is performed on the communication system information by using the first communication channel, which is beneficial to implementing communication of data of different devices or systems in a non-local area network, thereby improving cross-system transmission efficiency and synchronous backup efficiency of data.
Example four
Referring to fig. 5, fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the disclosure. The electronic device described in fig. 5 can be applied to a data processing system, such as a local server or a cloud server for data processing management of cross-system communication, and the embodiment of the present invention is not limited thereto. As shown in fig. 5, the apparatus may include:
a memory 401 storing executable program code;
a processor 402 coupled with the memory 401;
the processor 402 calls the executable program code stored in the memory 401 for executing the steps of the data processing method for cross-system communication described in the first embodiment or the second embodiment.
EXAMPLE five
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps in the data processing method for cross-system communication described in the first embodiment or the second embodiment.
EXAMPLE six
An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute the steps in the data processing method for cross-system communication described in the first or second embodiment.
The above-described embodiments of the apparatus are merely illustrative, and the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above detailed description of the embodiments, those skilled in the art will clearly understand that the embodiments may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. Based on such understanding, the above technical solutions may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, where the storage medium includes a Read-Only Memory (ROM), a Random Access Memory (RAM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), a One-time Programmable Read-Only Memory (OTPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc-Read-Only Memory (CD-ROM), or other disk memories, CD-ROMs, or other magnetic disks, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
Finally, it should be noted that: the data processing method and apparatus for cross-system communication disclosed in the embodiments of the present invention are only the preferred embodiments of the present invention, which are only used for illustrating the technical solutions of the present invention, and are not limited thereto; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A data processing method for cross-system communication is applied to a first system and a second system, and the first system and the second system establish communication connection through a public network server, and is characterized by comprising the following steps:
acquiring communication system information; the communication system information comprises first communication file information in a first system;
establishing a first communication channel between the first system and a second system according to the communication system information and a public network server; the first communication channel is used for point-to-point data communication, so that the first system and the second system only use the first communication channel for data communication and do not rely on the public network server for data communication any longer;
executing a set backup monitoring strategy, and carrying out comparative analysis on the first communication file information to obtain corresponding comparative analysis result information;
and performing cross-system communication between the first system and the second system by using the first communication channel according to the comparative analysis result information.
2. The data processing method for cross-system communication according to claim 1, wherein the communication system information further includes second device information of the second system;
the establishing a first communication channel between a first system and a second system according to the communication system information and the public network server comprises:
sending the second equipment information of the second system to a public network server;
matching second equipment information of the second system to establish a second communication channel between the public network server and the second system;
establishing a first communication channel between the first system and the second system by using the second communication channel; the first communication channel and the second communication channel are independent of each other.
3. The data processing method for cross-system communication according to claim 1, wherein the executing the set backup monitoring policy performs a comparative analysis on the first communication file information to obtain a corresponding comparative analysis result, and the method comprises:
judging whether the data communication signal is detected or not to obtain a detection judgment result;
when the detection judgment result is yes, acquiring historical communication file information in a database;
and carrying out data comparison analysis on the historical communication file information and the first communication file information in the first system to obtain comparison analysis result information.
4. The data processing method for cross-system communication according to claim 1, wherein the comparative analysis result information includes synchronous data information, and/or monitoring data information;
the performing cross-system communication between the first system and the second system by using the first communication channel according to the information of the comparative analysis result includes:
when the comparison analysis result information is the synchronous data information, triggering and executing the cross-system communication between the first system and the second system by using the first communication channel;
and when the comparative analysis result information is the monitoring data information, triggering and executing the backup monitoring strategy set by the execution, and carrying out comparative analysis on the first communication file information to obtain corresponding comparative analysis result information.
5. The data processing method for cross-system communication according to claim 3, wherein the performing data comparison analysis on the first communication file information in the first system to obtain comparison analysis result information includes:
determining file change information according to the historical communication file information and the first communication file information; the file change information comprises file time information, and/or file size information, and/or check value information;
judging whether the file time information meets a modification time condition or not to obtain a first comparison judgment result;
when the first comparison judgment result is yes, determining comparison analysis result information as the synchronous data information;
when the first comparison judgment result is negative, judging whether the file size information meets a file size change condition or not to obtain a second comparison judgment result;
when the second comparison judgment result is yes, determining that the comparison analysis result information is the synchronous data information;
when the second comparison judgment result is negative, judging whether the check value information meets the check value change condition to obtain a third comparison judgment result;
when the third comparison judgment result is negative, determining that the comparison analysis result information is the monitoring data information;
and when the third comparison judgment result is yes, determining that the comparison analysis result information is the synchronous data information.
6. The data processing method for cross-system communication according to claim 4, wherein the first communication file information further includes file backup path information of the second system;
the performing cross-system communication between the first system and the second system by using the first communication channel includes:
determining first backup update file information according to the first communication file information;
transmitting the first backup update file information from the first system to the second system by using the first communication channel to obtain second backup update file information;
and performing backup updating processing on the second backup updating file information according to the file backup path information.
7. The data processing method for cross-system communication according to claim 1, wherein the acquiring communication system information comprises:
acquiring file path information of the first system;
and according to a preset file blocking rule, carrying out blocking processing on file data information corresponding to the file path information to obtain communication system information.
8. A data processing apparatus for cross-system communication, applied to a first system and a second system, wherein the first system and the second system establish a communication connection through a public network server, the apparatus comprising:
the acquisition module is used for acquiring communication system information; the communication system information comprises first communication file information in a first system;
the establishing module is used for establishing a first communication channel between the first system and the second system according to the communication system information and the public network server; the first communication channel is used for point-to-point data communication, so that the first system and the second system only use the first communication channel for data communication and do not rely on the public network server for data communication;
the comparison analysis module is used for executing a set backup monitoring strategy, and performing comparison analysis on the first communication file information to obtain corresponding comparison analysis result information;
and the communication module is used for performing cross-system communication between the first system and the second system by using the first communication channel according to the comparative analysis result information.
9. An electronic device, wherein the apparatus comprises:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the data processing method for cross-system communication according to any one of claims 1 to 7.
10. A computer storage medium storing computer instructions for performing, when invoked, a data processing method for cross system communication according to any one of claims 1 to 7.
CN202210281205.6A 2022-03-22 2022-03-22 Data processing method and device for cross-system communication and electronic equipment Pending CN114629917A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210281205.6A CN114629917A (en) 2022-03-22 2022-03-22 Data processing method and device for cross-system communication and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210281205.6A CN114629917A (en) 2022-03-22 2022-03-22 Data processing method and device for cross-system communication and electronic equipment

Publications (1)

Publication Number Publication Date
CN114629917A true CN114629917A (en) 2022-06-14

Family

ID=81904369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210281205.6A Pending CN114629917A (en) 2022-03-22 2022-03-22 Data processing method and device for cross-system communication and electronic equipment

Country Status (1)

Country Link
CN (1) CN114629917A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115801809A (en) * 2022-11-03 2023-03-14 广州辰创科技发展有限公司 Cross-network data synchronization control system, method and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7529785B1 (en) * 2006-02-28 2009-05-05 Symantec Corporation Efficient backups using dynamically shared storage pools in peer-to-peer networks
CN105049504A (en) * 2015-07-09 2015-11-11 国云科技股份有限公司 Big data transit transmission synchronization and storage method
WO2015192682A1 (en) * 2014-06-16 2015-12-23 华为技术有限公司 Communication method and terminal
CN107205026A (en) * 2017-05-22 2017-09-26 厦门市美亚柏科信息股份有限公司 A kind of Point-to-Point Data Transmission method and system
CN108390937A (en) * 2018-03-01 2018-08-10 深圳市腾讯计算机系统有限公司 Long-distance monitoring method, device and storage medium
CN108415911A (en) * 2017-02-09 2018-08-17 上海宝信软件股份有限公司 The on-demand synchronous method of data file based on enterprise's cloud disk
US20190340040A1 (en) * 2018-05-02 2019-11-07 Vmware, Inc. Peer-to-Peer Data Communication Between Different Applications
CN112035422A (en) * 2020-08-20 2020-12-04 郑州信大捷安信息技术股份有限公司 Distributed real-time data synchronization method, node equipment and system based on IPFS
CN112328560A (en) * 2020-11-25 2021-02-05 北京无线电测量研究所 File scheduling method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7529785B1 (en) * 2006-02-28 2009-05-05 Symantec Corporation Efficient backups using dynamically shared storage pools in peer-to-peer networks
WO2015192682A1 (en) * 2014-06-16 2015-12-23 华为技术有限公司 Communication method and terminal
CN105049504A (en) * 2015-07-09 2015-11-11 国云科技股份有限公司 Big data transit transmission synchronization and storage method
CN108415911A (en) * 2017-02-09 2018-08-17 上海宝信软件股份有限公司 The on-demand synchronous method of data file based on enterprise's cloud disk
CN107205026A (en) * 2017-05-22 2017-09-26 厦门市美亚柏科信息股份有限公司 A kind of Point-to-Point Data Transmission method and system
CN108390937A (en) * 2018-03-01 2018-08-10 深圳市腾讯计算机系统有限公司 Long-distance monitoring method, device and storage medium
US20190340040A1 (en) * 2018-05-02 2019-11-07 Vmware, Inc. Peer-to-Peer Data Communication Between Different Applications
CN112035422A (en) * 2020-08-20 2020-12-04 郑州信大捷安信息技术股份有限公司 Distributed real-time data synchronization method, node equipment and system based on IPFS
CN112328560A (en) * 2020-11-25 2021-02-05 北京无线电测量研究所 File scheduling method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115801809A (en) * 2022-11-03 2023-03-14 广州辰创科技发展有限公司 Cross-network data synchronization control system, method and medium
CN115801809B (en) * 2022-11-03 2023-11-03 广州辰创科技发展有限公司 Cross-network data synchronous control system, method and medium

Similar Documents

Publication Publication Date Title
CN111414334B (en) File fragment uploading method, device, equipment and storage medium based on cloud technology
CN109788032B (en) Method and device for acquiring mirror image file, computer equipment and storage medium
CN110196836B (en) Data storage method and device
CN110932918B (en) Log data acquisition method and device and storage medium
US20230418943A1 (en) Method and device for image-based malware detection, and artificial intelligence-based endpoint detection and response system using same
CN114629917A (en) Data processing method and device for cross-system communication and electronic equipment
CN113630418A (en) Network service identification method, device, equipment and medium
CN113704569A (en) Information processing method and device and electronic equipment
CN110351274B (en) Network attack surface tracking method, server and system
CN112202896A (en) Edge calculation method, frame, terminal and storage medium
CN112580016A (en) Login authority configuration method and device for industrial control firewall
CN112636465A (en) Intelligent processing method, system, terminal and storage medium for transmission line fault
CN111193631B (en) Information processing method, system, and computer-readable storage medium
CN112181594A (en) Virtual machine live migration method, device, equipment and storage medium
CN115714805A (en) Cross-platform communication connection method and system and electronic equipment
CN112559546B (en) Database synchronization method, database synchronization device, computer equipment and readable storage medium
CN114266659A (en) Account checking file full-flow processing method, device, equipment and medium
CN114567678A (en) Resource calling method and device of cloud security service and electronic equipment
CN111107143A (en) Network file transmission detection method, device and system
US20230289449A1 (en) Apparatus and methods for leveraging machine learning to programmatically identify and detect obfuscation
CN114237988B (en) Memory snapshot processing method and device, storage medium and electronic device
CN113032089B (en) Distributed simulation service construction method based on API gateway
CN112769599B (en) Automatic resource access method, system and readable storage medium
CN110365675B (en) Method, device and system for network tracking long chain attack
CN110569646B (en) File recognition method and medium

Legal Events

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