CN106790607B - Method and device for sending offline message - Google Patents

Method and device for sending offline message Download PDF

Info

Publication number
CN106790607B
CN106790607B CN201611249217.1A CN201611249217A CN106790607B CN 106790607 B CN106790607 B CN 106790607B CN 201611249217 A CN201611249217 A CN 201611249217A CN 106790607 B CN106790607 B CN 106790607B
Authority
CN
China
Prior art keywords
data
offline
offline data
requester
signature
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
CN201611249217.1A
Other languages
Chinese (zh)
Other versions
CN106790607A (en
Inventor
郭军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201611249217.1A priority Critical patent/CN106790607B/en
Publication of CN106790607A publication Critical patent/CN106790607A/en
Application granted granted Critical
Publication of CN106790607B publication Critical patent/CN106790607B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

The invention provides a method and a device for sending an offline message, wherein the method comprises the following steps: determining a plurality of corresponding offline data according to the received data acquisition request; at least two pieces of offline data are sent to at least two corresponding requesters in parallel; receiving feedback information which is returned by a requester and aims at any offline data; judging whether the requester has correctly received any offline data or not according to the feedback information; and executing corresponding processing operation aiming at any off-line data according to the judgment result. The method and the device realize the simultaneous and timely sending of the offline data to each requester, avoid the situation that at least one requester delays receiving of the offline data, which may be generated when each requester simultaneously requests to obtain the offline data, and avoid the situation that the offline data is lost due to the fact that the requester deletes the offline data under the situation that the correct offline data is not received, and further ensure that the requester can receive the correct offline data.

Description

Method and device for sending offline message
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for sending an offline message.
Background
With the development of computer technology, various terminal devices have become essential tools in people's lives, and various powerful terminal operating systems and terminal application programs are emerging continuously, so that more convenient experience is brought to users. The current information interaction frequency is increasing, and the interaction data information between the terminal application program and the server or other terminals is also increasing.
Under the existing information transmission architecture, when a user is in an online state in a terminal application program, data information sent to the user by a server or other terminals can be received in real time, when the user is in an offline state in the terminal application program, that is, the terminal application program is not started to run, the data information sent to the user by the server or other terminals cannot be received in real time, and then after the user starts to enter the terminal application program, all offline data received by the application program during an offline period can be acquired. In the prior art, generally, a server side deletes offline data after sending the offline data to a terminal, but under the condition of a large amount of offline data, on one hand, link interruption often occurs in the process of sending the offline data to the terminal, so that the condition of deleting offline data which is not received by the terminal is easily caused, and the offline data is lost; on the other hand, after the offline data acquisition request is received, if a certain corresponding offline data cannot be found, the remaining offline data corresponding to the received offline data acquisition request is in a queuing state, and the remaining offline data cannot be sent to the terminal application program in time.
Therefore, a scheme for sending offline data is needed to solve the problem in the prior art that offline data is lost in the data sending process and the problem that congestion is easily generated in the offline data sending process.
Disclosure of Invention
In order to overcome the above technical problems or at least partially solve the above technical problems, the following technical solutions are proposed:
the embodiment of the invention provides a method for sending an offline message, which comprises the following steps:
determining a plurality of corresponding offline data according to the received data acquisition request;
at least two pieces of offline data are sent to at least two corresponding requesters in parallel;
receiving feedback information which is returned by a requester and aims at any offline data;
judging whether the requester has correctly received any offline data or not according to the feedback information;
and executing corresponding processing operation aiming at any off-line data according to the judgment result.
Preferably, the sending at least two of the plurality of offline data to the corresponding at least two requesters in parallel includes:
and sending the at least two offline data to the corresponding at least two requesters in parallel through the same long connection.
Preferably, the corresponding processing operation is executed for any offline data according to the judgment result, and the processing operation includes any one of the following:
if the judgment result is that any offline data is correctly received, deleting any offline data;
and if the judgment result is that any offline data is not correctly received, any offline data is sent to the requester again.
Optionally, the method further comprises:
signing a plurality of off-line data according to a preset data signature generation mode;
wherein, send at least two in a plurality of off-line data to the requestor in parallel, include:
at least two of the plurality of offline data and the corresponding data signatures thereof are sent to a requester in parallel;
the feedback information returned by the requester comprises a to-be-verified data signature generated by the receiver according to any received offline data;
wherein, judging whether the requester has correctly received any offline data according to the feedback information includes:
and comparing whether the data signature to be verified in the feedback information is consistent with the data signature corresponding to any offline data or not to judge whether the requester has correctly received any offline data or not.
Optionally, the method further comprises:
storing a plurality of offline data into a preset cache region, and storing the plurality of offline data into a pre-established database;
after the step of signing the plurality of offline data, the method further comprises:
storing data signatures corresponding to a plurality of offline data into a predetermined cache region;
before the step of determining whether the requester has received any correct offline data according to the feedback information, the method includes:
and extracting the data signature of the offline data corresponding to the feedback information from the buffer area.
Preferably, if the determination result indicates that any offline data is correctly received, deleting any offline data includes:
and if the judgment result is that any offline data is correctly received, deleting any offline data in the preset cache region and the data information of the corresponding data signature, and deleting the data record of any offline data in the pre-established database.
Preferably, if the determination result indicates that any offline data is not correctly received, resending any offline data to the requester includes:
if the judgment result is that any offline data is not correctly received, deleting any offline data in a preset cache region and data information of a corresponding data signature;
re-acquiring a data record of any offline data from a pre-established database, and storing the data record to a preset cache region;
and sending any newly acquired offline data to the requester.
Optionally, the method further comprises:
signing any retransmitted offline data according to a preset data signature generation mode;
and storing the data signature corresponding to any offline data into a preset cache region.
Another embodiment of the present invention provides an apparatus for sending an offline message, including:
the determining module is used for determining a plurality of corresponding offline data according to the received data acquisition request;
the sending module is used for sending at least two of the plurality of offline data to at least two corresponding requesters in parallel;
the receiving module is used for receiving feedback information which is returned by a requester and aims at any offline data;
the judging module is used for judging whether the requester correctly receives any offline data according to the feedback information;
and the execution module is used for executing corresponding processing operation aiming at any off-line data according to the judgment result.
Preferably, the sending module includes:
and the first sending unit is used for sending the at least two offline data to the corresponding at least two requesters in parallel through the same long connection.
Preferably, the execution module comprises any one of:
if the judgment result is that any offline data is correctly received, deleting any offline data;
and if the judgment result is that any offline data is not correctly received, any offline data is sent to the requester again.
Optionally, the method further comprises:
the first signature module is used for signing a plurality of off-line data according to a preset data signature generation mode;
the sending module is used for sending at least two of the plurality of offline data and the corresponding data signatures to the requester in parallel;
the feedback information returned by the requester comprises a to-be-verified data signature generated by the receiver according to any received offline data;
the judging module is used for comparing whether the data signature to be verified in the feedback information is consistent with the data signature corresponding to any offline data or not to judge whether the requester has correctly received any offline data or not.
Optionally, the method further comprises:
the first storage module is used for storing a plurality of offline data into a preset cache region and storing the plurality of offline data into a pre-established database;
after signing the plurality of offline data, the method further comprises the following steps:
the second storage module is used for storing the data signatures corresponding to the plurality of offline data into a preset cache region;
before judging whether the requester receives any correct offline data according to the feedback information, the method comprises the following steps:
and the extraction module is used for extracting the data signature of the offline data corresponding to the feedback information from the buffer area.
Preferably, if the determination result is that any offline data is correctly received, the execution module deletes any offline data, and the execution module includes:
and the first deleting unit is used for deleting any offline data in a preset cache region and data information of a corresponding data signature and deleting a data record of any offline data in a pre-established database if the judgment result shows that any offline data is correctly received.
Preferably, if the determination result indicates that any of the offline data is not correctly received, the execution module resends any of the offline data to the requester, and the execution module includes:
the second deleting unit is used for deleting any offline data and data information of a corresponding data signature in a preset cache region if the judgment result shows that any offline data is not received correctly;
the acquisition unit is used for re-acquiring the data record of any offline data in a pre-established database and storing the data record into a preset cache region;
and the second sending unit is used for sending any newly acquired offline data to the requester.
Optionally, the method further comprises:
the second signature module is used for signing any retransmitted offline data according to a preset data signature generation mode;
and the third storage module is used for storing the data signature corresponding to any off-line data into a preset cache region.
In the embodiment of the invention, a scheme for sending the offline message is provided, and a plurality of corresponding offline data are determined according to the received data acquisition request; at least two of the plurality of offline data are sent to the corresponding at least two requesters in parallel, so that the offline data are sent to the requesters in time at the same time, and the condition that the offline data are delayed to be received by at least one of the requesters possibly generated when the requesters simultaneously request to obtain the offline data is avoided; feedback information aiming at any offline data returned by the requester is received, whether the requester correctly receives any offline data is judged according to the feedback information, whether the requester correctly receives any offline data is accurately judged, and necessary precondition guarantee is provided for executing corresponding processing operation aiming at any offline data subsequently; according to the judgment result, corresponding processing operation is executed for any offline data, different processing operations are executed for any offline data according to different judgment results, the situation that the offline data is lost due to the fact that the requesting party deletes the offline data under the condition that the requesting party does not receive correct offline data is avoided, and further the fact that the requesting party can receive correct offline data is guaranteed.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart illustrating a method for sending an offline message according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an apparatus for sending an offline message according to another embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Fig. 1 is a flowchart illustrating a method for sending an offline message according to an embodiment of the present invention.
In the embodiment of the present invention, the content executed by each step is summarized as follows: step S110: determining a plurality of corresponding offline data according to the received data acquisition request; step S120: at least two pieces of offline data are sent to at least two corresponding requesters in parallel; step S130: receiving feedback information which is returned by a requester and aims at any offline data; step S140: judging whether the requester has correctly received any offline data or not according to the feedback information; step S150: and executing corresponding processing operation aiming at any off-line data according to the judgment result.
In the embodiment of the invention, a method for sending an offline message is provided, wherein a plurality of corresponding offline data are determined according to a received data acquisition request; at least two of the plurality of offline data are sent to the corresponding at least two requesters in parallel, so that the offline data are sent to the requesters in time at the same time, and the condition that the offline data are delayed to be received by at least one of the requesters possibly generated when the requesters simultaneously request to obtain the offline data is avoided; feedback information aiming at any offline data returned by the requester is received, whether the requester correctly receives any offline data is judged according to the feedback information, whether the requester correctly receives any offline data is accurately judged, and necessary precondition guarantee is provided for executing corresponding processing operation aiming at any offline data subsequently; according to the judgment result, corresponding processing operation is executed for any offline data, different processing operations are executed for any offline data according to different judgment results, the situation that the offline data is lost due to the fact that the requesting party deletes the offline data under the condition that the requesting party does not receive correct offline data is avoided, and further the fact that the requesting party can receive correct offline data is guaranteed. The following further explains the specific implementation of each step:
step S110: and determining a plurality of corresponding offline data according to the received data acquisition request.
Specifically, according to received data acquisition requests for offline data sent by at least two requesters, a plurality of corresponding offline data are determined.
For example, in the Data transmission process between the terminal device a and the terminal device B, and between the terminal device a and the terminal device C, after the terminal device B and the terminal device C change from the offline state to the online state, the terminal device B and the terminal device C send a Data acquisition request of offline Data to the terminal device a, and the terminal device a determines that the offline Data corresponding to the terminal device B during the offline period is Data1 and determines that the offline Data corresponding to the terminal device C during the offline period is Data2 according to the received Data acquisition request.
Step S120: and at least two of the plurality of offline data are sent to the corresponding at least two requesters in parallel.
For example, as described above, terminal a transmits offline Data1 and Data2 to terminal B and terminal C, respectively, in parallel.
Step S130: and receiving feedback information which is returned by the requester and aims at any offline data.
For example, the terminal device a receives the feedback information for the offline Data1 returned by the terminal device B and the feedback information for the offline Data2 returned by the terminal device C.
Step S140: and judging whether the requester has correctly received any offline data or not according to the feedback information.
For example, according to feedback information for the offline Data1 returned by the terminal device B, such as "offline Data 1" has been received, the terminal device a can determine that the terminal device B has correctly received the offline Data 1; according to the feedback information for the offline Data2 returned by the terminal device C, such as "received offline Data 2", the terminal device a can determine that the terminal device C has correctly received the offline Data 2.
It should be noted that, as can be understood by those skilled in the art, the manner of sending the feedback message may also be implemented by sending an ACK (Acknowledgement) packet to perform message feedback, and in the embodiment of the present invention, a feedback message in a specific form is taken as an example, but is not limited thereto.
Step S150: and executing corresponding processing operation aiming at any off-line data according to the judgment result.
For example, according to the judgment result that the terminal apparatus B has correctly received the offline Data1, the terminal apparatus a performs a deletion operation on the stored offline Data 1; according to the judgment result that the terminal device C has correctly received the offline Data2, the terminal device a performs the deletion operation on the stored offline Data 2.
Preferably, the step of sending at least two of the plurality of offline data to the corresponding at least two requesters in parallel in step S120 further includes step S121; step S121: and sending the at least two offline data to the corresponding at least two requesters in parallel through the same long connection.
For example, when terminal a performs Data transmission with terminal B and terminal C through the same long connection, and when terminal a determines that offline Data corresponding to terminal B during offline is Data1 and determines that offline Data corresponding to terminal C during offline is Data2, terminal a then transmits offline Data1 and Data2 in parallel to terminal B and terminal C, respectively, through the same long connection.
It should be noted that, as will be understood by those skilled in the art, a long connection means that multiple data packets can be continuously transmitted over one connection, and during the connection hold period, if no data packet is transmitted, a link check packet needs to be sent in both directions. Long connections allow multiple HTTP requests to be sent and multiple HTTP responses to be received on a TCP connection basis, thereby avoiding the need to open a new connection for each request. By using a long connection, it is possible to reduce the use of a Central Processing Unit (CPU) and a memory, reduce congestion of a network, reduce response time of a request, and perform a prompt without closing a connection when an error occurs, and the like. Therefore, long connections are widely used to push various services and messages to terminal devices.
Preferably, step S150 performs a corresponding processing operation on any offline data according to the determination result, including any of the following situations:
1) and if the judgment result is that any offline data is correctly received, deleting any offline data. For example, according to the judgment result that the offline Data1 has been correctly received by the terminal device B, the terminal device a performs a deletion operation on the stored offline Data 1.
2) And if the judgment result is that any offline data is not correctly received, any offline data is sent to the requester again. For example, according to the judgment result that the offline Data1 is not correctly received by the terminal apparatus B, the terminal apparatus a retransmits the stored offline Data1 to the terminal apparatus B.
By the embodiment, useless offline data can be accurately deleted, the storage space of the offline data storage area is increased, the data storage efficiency of the offline data storage area is improved, the situation that offline data are lost due to the fact that a requester deletes the offline data under the condition that correct offline data are not received is avoided, and further the situation that the offline data storage area is collapsed due to a large amount of redundant offline data can be avoided.
Preferably, the method further comprises step S160; step S160: and signing the plurality of offline data according to a predetermined data signature generation mode.
For example, when the terminal device a determines that the offline Data corresponding to the terminal device B during offline is Data1 and the offline Data corresponding to the terminal device C during offline is Data2, the terminal device a performs MD5 calculation on the offline Data of Data1 and Data2 according to a predetermined Data signature generation manner, such as a Data signature manner of calculating a value of MD5(Message Digest Algorithm MD5, fifth version of Message Digest Algorithm), performs MD5 signed calculation on the offline Data of Data1 and Data2, and performs MD5 signed calculation on the offline Data of MD5 of Data 0760186574B0282 a76B9719d91 if the Data content of the offline Data1 is "hello", and performs MD5 signed calculation on the offline Data of Data2 of "world", and performs MD5 signed calculation on the Data of "a 0760186574B 0282".
It should be noted that, as can be understood by those skilled in the art, there are various data signing manners, and in the embodiment of the present invention, a specific data signing manner is taken as an example for offline data, but the present invention is not limited thereto; the storage mode of the sending data list may be a data table mode or a linked list mode, and a specific mode of sending the data list is taken as an example in the embodiment of the present invention, but the present invention is not limited to this.
Wherein the step S120 of sending at least two of the plurality of offline data to the requester in parallel further comprises a step S121; step S121: and at least two of the plurality of offline data and the respective corresponding data signatures are sent to the requester in parallel.
For example, in the above example, terminal a sends the Data content "hello" of offline Data1 and MD5 Data signature "bc 4B2a76B9719d 91" of Data1 to terminal B, and simultaneously sends the Data content "world" of offline Data2 and MD5 Data signature "a 0760186574B 0282" of Data2 to terminal C in parallel.
The feedback information returned by the requester comprises a to-be-verified data signature generated by the receiver according to any received offline data. For example, the feedback information returned to terminal device a by terminal device B includes a to-be-verified Data signature "bc 4B2a76B9719d 91" generated by terminal device B according to received offline Data 1; the feedback information returned by the terminal device C to the terminal device a includes the Data signature to be verified "a 0760186574b 0282" generated by the terminal device C according to the received offline Data 2.
Wherein, the step S140 of determining whether the requester has correctly received any offline data according to the feedback information further includes a step S141; step S141: and comparing whether the data signature to be verified in the feedback information is consistent with the data signature corresponding to any offline data or not to judge whether the requester has correctly received any offline data or not.
For example, the Data signature "bc 4B2a76B9719d 91" to be verified in the feedback information of the terminal device B is obtained by comparison and is consistent with the MD5 Data signature "bc 4B2a76B9719d 91" corresponding to the offline Data1, and it is determined that the terminal device B has correctly received the offline Data 1; and comparing the Data signature "a 0760186574b 0282" to be verified in the feedback information of the terminal equipment C with the MD5 Data signature "a 0760186574b 0282" corresponding to the offline Data2 to obtain consistency, and judging that the terminal equipment C has correctly received the offline Data 2.
Through the embodiment, whether the requester correctly receives any offline data can be quickly judged, so that the offline data can be timely and accurately sent to the requester.
Preferably, the method further comprises step S170; step S170: storing the plurality of offline data into a preset cache region, and storing the plurality of offline data into a pre-established database.
For example, the terminal device a stores the offline Data1 and Data2 into a predetermined buffer area, such as a cache database CacheDB, and stores the offline Data1 and Data2 into a pre-established database, such as a disk database DB.
Step S180 is further included after the step of signing the plurality of offline data in step S160; step S180: and storing the data signatures corresponding to the plurality of offline data into a predetermined cache region.
For example, terminal apparatus a stores the Data content "hello" of offline Data1 and MD5 Data signature "bc 4b2a76b9719d 91" of Data1 to the cache database CacheDB, and stores the Data content "world" of offline Data2 and MD5 Data signature "a 0760186574b 0282" of Data2 to the cache database CacheDB.
Step S190 is included before the step S140 determines whether the requester has received any correct offline data according to the feedback information; step S190: and extracting the data signature of the offline data corresponding to the feedback information from the buffer area.
For example, if the feedback information returned to the terminal device a by the terminal device B includes the to-be-verified Data signature "bc 4B2a76B9719d 91" generated by the terminal device B according to the received offline Data1, the Data signature of the offline Data1 corresponding to the feedback information is extracted from the cache database CacheDB and is "bc 4B2a76B9719d 91".
Preferably, if the determination result in step S150 is that any offline data is correctly received, any offline data is deleted, further comprising step S151; step S151: and if the judgment result is that any offline data is correctly received, deleting any offline data in the preset cache region and the data information of the corresponding data signature, and deleting the data record of any offline data in the pre-established database.
For example, the Data signature "bc 4B2a76B9719d 91" to be verified in the feedback information of the terminal device B obtained by comparison is consistent with the Data signature "bc 4B2a76B9719d 91" corresponding to the offline Data1 extracted from the cache database CacheDB, it is determined that the terminal device B has correctly received the offline Data1, according to the determination result, the offline Data1 is correctly received, the offline Data1 stored in the cache database CacheDB and the corresponding Data signature "bc 4B2a76B9719d 91" are deleted, and the Data record of the offline Data1 in the disk database DB is deleted.
Preferably, if the determination result in step S150 is that any offline data is not correctly received, any offline data is sent to the requester again, further comprising step S152, step S153, and step S154; step S152: if the judgment result is that any offline data is not correctly received, deleting any offline data in a preset cache region and data information of a corresponding data signature; step S153: re-acquiring a data record of any offline data from a pre-established database, and storing the data record to a preset cache region; step S154: and sending any newly acquired offline data to the requester.
For example, if the feedback information returned to the terminal device a by the terminal device C includes a signature "a 0760186574b 0283" of the to-be-verified Data generated by the terminal device C according to the received off-line Data2, the Data signature of the off-line Data2 corresponding to the feedback information is extracted from the cache database CacheDB and is "a 0760186574b 0282", the to-be-verified Data signature "a 0760186574b 0283" in the feedback information of the terminal device C obtained by comparison is inconsistent with the Data signature "a 0760186574b 0282" corresponding to the off-line Data2 extracted from the cache database CacheDB, it is determined that the terminal device C has not correctly received the off-line Data2, and according to the determination result, the off-line Data2 and the corresponding Data signature "a 0760186574b 0282" in the cache database CacheDB are deleted; and then, Data records of the offline Data2 are retrieved from the disk database DB and stored in the cache database CacheDB, and the retrieved offline Data2 is sent to the terminal device C.
Preferably, step S154 further includes step S1541 and step S1542; step S1541: signing any retransmitted offline data according to a preset data signature generation mode; step S1542: and storing the data signature corresponding to any offline data into a preset cache region.
For example, in the above example, the newly acquired offline Data2 is signed according to a Data signature method for calculating the MD5 value, the Data signature obtained when the Data content of the offline Data2 is "world" is "a 0760186574b 0282", and then the Data signature "a 0760186574b 0282" corresponding to the offline Data2 is stored in the storage location corresponding to the offline Data2 in the cache database CacheDB.
Through the embodiment, when a plurality of links write the same long connection at the same time, the integrity of the data can be ensured, so that the requester cannot acquire incomplete data, and the requester is ensured to acquire accurate offline data.
Fig. 2 is a schematic structural diagram of an apparatus for sending an offline message according to another embodiment of the present invention.
In the embodiment of the present invention, the content executed by each module is summarized as follows: the determining module 210 determines a plurality of corresponding offline data according to the received data obtaining request; the sending module 220 sends at least two of the plurality of offline data to the corresponding at least two requesters in parallel; the receiving module 230 receives feedback information for any offline data returned by the requester; the determining module 240 determines whether the requester has correctly received any offline data according to the feedback information; the executing module 250 executes a corresponding processing operation for any offline data according to the determination result.
In the embodiment of the invention, a device for sending offline messages is provided, and a plurality of corresponding offline data are determined according to a received data acquisition request; at least two of the plurality of offline data are sent to the corresponding at least two requesters in parallel, so that the offline data are sent to the requesters in time at the same time, and the condition that the offline data are delayed to be received by at least one of the requesters possibly generated when the requesters simultaneously request to obtain the offline data is avoided; feedback information aiming at any offline data returned by the requester is received, whether the requester correctly receives any offline data is judged according to the feedback information, whether the requester correctly receives any offline data is accurately judged, and necessary precondition guarantee is provided for executing corresponding processing operation aiming at any offline data subsequently; according to the judgment result, corresponding processing operation is executed for any offline data, different processing operations are executed for any offline data according to different judgment results, the situation that the offline data is lost due to the fact that the requesting party deletes the offline data under the condition that the requesting party does not receive correct offline data is avoided, and further the fact that the requesting party can receive correct offline data is guaranteed. The following further explains the specific implementation of each module:
the determining module 210 is configured to determine a plurality of corresponding offline data according to the received data obtaining request.
Specifically, according to received data acquisition requests for offline data sent by at least two requesters, a plurality of corresponding offline data are determined.
For example, in the Data transmission process between the terminal device a and the terminal device B, and between the terminal device a and the terminal device C, after the terminal device B and the terminal device C change from the offline state to the online state, the terminal device B and the terminal device C send a Data acquisition request of offline Data to the terminal device a, and the terminal device a determines that the offline Data corresponding to the terminal device B during the offline period is Data1 and determines that the offline Data corresponding to the terminal device C during the offline period is Data2 according to the received Data acquisition request.
The sending module 220 is configured to send at least two of the plurality of offline data to corresponding at least two requesters in parallel.
For example, as described above, terminal a transmits offline Data1 and Data2 to terminal B and terminal C, respectively, in parallel.
The receiving module 230 is configured to receive feedback information for any offline data returned by the requester.
For example, the terminal device a receives the feedback information for the offline Data1 returned by the terminal device B and the feedback information for the offline Data2 returned by the terminal device C.
The determining module 240 is configured to determine whether the requester has correctly received any offline data according to the feedback information.
For example, according to feedback information for the offline Data1 returned by the terminal device B, such as "offline Data 1" has been received, the terminal device a can determine that the terminal device B has correctly received the offline Data 1; according to the feedback information for the offline Data2 returned by the terminal device C, such as "received offline Data 2", the terminal device a can determine that the terminal device C has correctly received the offline Data 2.
It should be noted that, as can be understood by those skilled in the art, the manner of sending the feedback message may also be implemented by sending an ACK (Acknowledgement) packet to perform message feedback, and in the embodiment of the present invention, a feedback message in a specific form is taken as an example, but is not limited thereto.
The executing module 250 is configured to execute a corresponding processing operation for any offline data according to the determination result.
For example, according to the judgment result that the terminal apparatus B has correctly received the offline Data1, the terminal apparatus a performs a deletion operation on the stored offline Data 1; according to the judgment result that the terminal device C has correctly received the offline Data2, the terminal device a performs the deletion operation on the stored offline Data 2.
Preferably, the sending module 220 further comprises a first sending unit; the first sending unit is used for sending the at least two offline data to the corresponding at least two requesters in parallel through the same long connection.
For example, when terminal a performs Data transmission with terminal B and terminal C through the same long connection, and when terminal a determines that offline Data corresponding to terminal B during offline is Data1 and determines that offline Data corresponding to terminal C during offline is Data2, terminal a then transmits offline Data1 and Data2 in parallel to terminal B and terminal C, respectively, through the same long connection.
It should be noted that, as will be understood by those skilled in the art, a long connection means that multiple data packets can be continuously transmitted over one connection, and during the connection hold period, if no data packet is transmitted, a link check packet needs to be sent in both directions. Long connections allow multiple HTTP requests to be sent and multiple HTTP responses to be received on a TCP connection basis, thereby avoiding the need to open a new connection for each request. By using a long connection, it is possible to reduce the use of a Central Processing Unit (CPU) and a memory, reduce congestion of a network, reduce response time of a request, and perform a prompt without closing a connection when an error occurs, and the like. Therefore, long connections are widely used to push various services and messages to terminal devices.
Preferably, the executing module 250 executes a corresponding processing operation for any offline data according to the determination result, including any of the following situations:
1) and if the judgment result is that any offline data is correctly received, deleting any offline data. For example, according to the judgment result that the offline Data1 has been correctly received by the terminal device B, the terminal device a performs a deletion operation on the stored offline Data 1.
2) And if the judgment result is that any offline data is not correctly received, any offline data is sent to the requester again. For example, according to the judgment result that the offline Data1 is not correctly received by the terminal apparatus B, the terminal apparatus a retransmits the stored offline Data1 to the terminal apparatus B.
By the embodiment, useless offline data can be accurately deleted, the storage space of the offline data storage area is increased, the data storage efficiency of the offline data storage area is improved, the situation that offline data are lost due to the fact that a requester deletes the offline data under the condition that correct offline data are not received is avoided, and further the situation that the offline data storage area is collapsed due to a large amount of redundant offline data can be avoided.
Preferably, the apparatus further comprises a first signature module; the first signature module is used for signing a plurality of off-line data according to a preset data signature generation mode.
For example, when the terminal device a determines that the offline Data corresponding to the terminal device B during offline is Data1 and the offline Data corresponding to the terminal device C during offline is Data2, the terminal device a performs MD5 calculation on the offline Data of Data1 and Data2 according to a predetermined Data signature generation manner, such as a Data signature manner of calculating a value of MD5(Message Digest Algorithm MD5, fifth version of Message Digest Algorithm), performs MD5 signed calculation on the offline Data of Data1 and Data2, and performs MD5 signed calculation on the offline Data of MD5 of Data 0760186574B0282 a76B9719d91 if the Data content of the offline Data1 is "hello", and performs MD5 signed calculation on the offline Data of Data2 of "world", and performs MD5 signed calculation on the Data of "a 0760186574B 0282".
It should be noted that, as can be understood by those skilled in the art, there are various data signing manners, and in the embodiment of the present invention, a specific data signing manner is taken as an example for offline data, but the present invention is not limited thereto; the storage mode of the sending data list may be a data table mode or a linked list mode, and a specific mode of sending the data list is taken as an example in the embodiment of the present invention, but the present invention is not limited to this.
The sending module 220 is configured to send at least two of the plurality of offline data and the corresponding data signatures thereof to the requester in parallel.
For example, in the above example, terminal a sends the Data content "hello" of offline Data1 and MD5 Data signature "bc 4B2a76B9719d 91" of Data1 to terminal B, and simultaneously sends the Data content "world" of offline Data2 and MD5 Data signature "a 0760186574B 0282" of Data2 to terminal C in parallel.
The feedback information returned by the requester comprises a to-be-verified data signature generated by the receiver according to any received offline data. For example, the feedback information returned to terminal device a by terminal device B includes a to-be-verified Data signature "bc 4B2a76B9719d 91" generated by terminal device B according to received offline Data 1; the feedback information returned by the terminal device C to the terminal device a includes the Data signature to be verified "a 0760186574b 0282" generated by the terminal device C according to the received offline Data 2.
The determining module 240 is configured to compare whether a to-be-verified data signature in the feedback information is consistent with a data signature corresponding to any offline data, so as to determine whether the requester has correctly received any offline data.
For example, the Data signature "bc 4B2a76B9719d 91" to be verified in the feedback information of the terminal device B is obtained by comparison and is consistent with the MD5 Data signature "bc 4B2a76B9719d 91" corresponding to the offline Data1, and it is determined that the terminal device B has correctly received the offline Data 1; and comparing the Data signature "a 0760186574b 0282" to be verified in the feedback information of the terminal equipment C with the MD5 Data signature "a 0760186574b 0282" corresponding to the offline Data2 to obtain consistency, and judging that the terminal equipment C has correctly received the offline Data 2.
Through the embodiment, whether the requester correctly receives any offline data can be quickly judged, so that the offline data can be timely and accurately sent to the requester.
Preferably, the apparatus further comprises a first storage module; the first storage module is used for storing a plurality of offline data into a preset cache region and storing the plurality of offline data into a pre-established database.
For example, the terminal device a stores the offline Data1 and Data2 into a predetermined buffer area, such as a cache database CacheDB, and stores the offline Data1 and Data2 into a pre-established database, such as a disk database DB.
The system comprises a plurality of pieces of off-line data, a first storage module and a second storage module, wherein the second storage module is further included after the plurality of pieces of off-line data are signed; the second storage module is used for storing the data signatures corresponding to the plurality of offline data into a predetermined cache region.
For example, terminal apparatus a stores the Data content "hello" of offline Data1 and MD5 Data signature "bc 4b2a76b9719d 91" of Data1 to the cache database CacheDB, and stores the Data content "world" of offline Data2 and MD5 Data signature "a 0760186574b 0282" of Data2 to the cache database CacheDB.
The system comprises a feedback module, an extraction module and a processing module, wherein the feedback module is used for judging whether the requester receives any correct offline data or not according to the feedback information; the extraction module is used for extracting the data signature of the offline data corresponding to the feedback information from the buffer area.
For example, if the feedback information returned to the terminal device a by the terminal device B includes the to-be-verified Data signature "bc 4B2a76B9719d 91" generated by the terminal device B according to the received offline Data1, the Data signature of the offline Data1 corresponding to the feedback information is extracted from the cache database CacheDB and is "bc 4B2a76B9719d 91".
Preferably, if the determination result is that any offline data is correctly received, the execution module 250 further includes a first deleting unit to delete any offline data; the first deleting unit is used for deleting any offline data in a preset cache region and data information of a corresponding data signature and deleting a data record of any offline data in a pre-established database if any offline data is correctly received according to a judgment result.
For example, the Data signature "bc 4B2a76B9719d 91" to be verified in the feedback information of the terminal device B obtained by comparison is consistent with the Data signature "bc 4B2a76B9719d 91" corresponding to the offline Data1 extracted from the cache database CacheDB, it is determined that the terminal device B has correctly received the offline Data1, according to the determination result, the offline Data1 is correctly received, the offline Data1 stored in the cache database CacheDB and the corresponding Data signature "bc 4B2a76B9719d 91" are deleted, and the Data record of the offline Data1 in the disk database DB is deleted.
Preferably, if the determination result is that any offline data is not correctly received, any offline data is sent to the requester again, and the execution module 250 further includes a second deleting unit, an obtaining unit, and a second sending unit; the second deleting unit is used for deleting any offline data and data information of a corresponding data signature in a preset cache region if the judgment result shows that any offline data is not received correctly; the acquisition unit is used for re-acquiring the data record of any off-line data in a pre-established database and storing the data record into a preset cache region; the second sending unit is used for sending any offline data obtained again to the requester.
For example, if the feedback information returned to the terminal device a by the terminal device C includes a signature "a 0760186574b 0283" of the to-be-verified Data generated by the terminal device C according to the received off-line Data2, the Data signature of the off-line Data2 corresponding to the feedback information is extracted from the cache database CacheDB and is "a 0760186574b 0282", the to-be-verified Data signature "a 0760186574b 0283" in the feedback information of the terminal device C obtained by comparison is inconsistent with the Data signature "a 0760186574b 0282" corresponding to the off-line Data2 extracted from the cache database CacheDB, it is determined that the terminal device C has not correctly received the off-line Data2, and according to the determination result, the off-line Data2 and the corresponding Data signature "a 0760186574b 0282" in the cache database CacheDB are deleted; and then, Data records of the offline Data2 are retrieved from the disk database DB and stored in the cache database CacheDB, and the retrieved offline Data2 is sent to the terminal device C.
Preferably, the apparatus further comprises a second signature module and a third storage module; the second signature module is used for signing any retransmitted offline data according to a preset data signature generation mode; the third storage module is used for storing the data signature corresponding to any off-line data into a preset cache region.
For example, in the above example, the newly acquired offline Data2 is signed according to a Data signature method for calculating the MD5 value, the Data signature obtained when the Data content of the offline Data2 is "world" is "a 0760186574b 0282", and then the Data signature "a 0760186574b 0282" corresponding to the offline Data2 is stored in the storage location corresponding to the offline Data2 in the cache database CacheDB.
Through the embodiment, when a plurality of links write the same long connection at the same time, the integrity of the data can be ensured, so that the requester cannot acquire incomplete data, and the requester is ensured to acquire accurate offline data.
Those skilled in the art will appreciate that the present invention includes apparatus directed to performing one or more of the operations described in the present application. These devices may be specially designed and manufactured for the required purposes, or they may comprise known devices in general-purpose computers. These devices have stored therein computer programs that are selectively activated or reconfigured. Such a computer program may be stored in a device (e.g., computer) readable medium, including, but not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magnetic-optical disks, ROMs (Read-Only memories), RAMs (Random Access memories), EPROMs (Erasable programmable Read-Only memories), EEPROMs (Electrically Erasable programmable Read-Only memories), flash memories, magnetic cards, or optical cards, or any type of media suitable for storing electronic instructions, and each coupled to a bus. That is, a readable medium includes any medium that stores or transmits information in a form readable by a device (e.g., a computer).
It will be understood by those within the art that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. Those skilled in the art will appreciate that the computer program instructions may be implemented by a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, implement the features specified in the block or blocks of the block diagrams and/or flowchart illustrations of the present disclosure.
Those of skill in the art will appreciate that various operations, methods, steps in the processes, acts, or solutions discussed in the present application may be alternated, modified, combined, or deleted. Further, various operations, methods, steps in the flows, which have been discussed in the present application, may be interchanged, modified, rearranged, decomposed, combined, or eliminated. Further, steps, measures, schemes in the various operations, methods, procedures disclosed in the prior art and the present invention can also be alternated, changed, rearranged, decomposed, combined, or deleted.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (14)

1. A method of sending an offline message, comprising:
determining a plurality of corresponding offline data according to the received data acquisition request;
at least two of the plurality of offline data are sent to at least two corresponding requesters in parallel;
receiving feedback information which is returned by the requester and aims at any offline data;
judging whether the requester has correctly received any off-line data or not according to the feedback information;
executing corresponding processing operation aiming at any off-line data according to the judgment result;
wherein, still include:
signing the plurality of offline data according to a predetermined data signature generation mode;
wherein the sending at least two of the plurality of offline data to the requestor in parallel comprises:
sending at least two of the plurality of offline data and respective corresponding data signatures to the requestor in parallel;
the feedback information returned by the requester comprises a to-be-verified data signature generated by the receiver according to any received offline data;
wherein the determining whether the requester has correctly received any of the offline data according to the feedback information includes:
and comparing whether the data signature to be verified in the feedback information is consistent with the data signature corresponding to any offline data to judge whether the requester correctly receives any offline data.
2. The method of claim 1, wherein sending at least two of the plurality of offline data to at least two corresponding requesters in parallel comprises:
and sending the at least two offline data to the corresponding at least two requesters in parallel through the same long connection.
3. The method according to claim 1, wherein the performing the corresponding processing operation on the any offline data according to the determination result includes any one of:
if the judgment result is that any offline data is correctly received, deleting any offline data;
and if the judgment result is that any offline data is not correctly received, re-sending any offline data to the requester.
4. The method of claim 1, further comprising:
storing the plurality of offline data into a preset cache region, and storing the plurality of offline data into a pre-established database;
wherein, after the step of signing the plurality of offline data, the method further comprises:
storing data signatures corresponding to the plurality of offline data into a predetermined cache region;
before the step of determining whether the requester has received the correct offline data according to the feedback information, the method includes:
and extracting the data signature of the offline data corresponding to the feedback information from the cache region.
5. The method of claim 3, wherein deleting any of the offline data if the determination result indicates that any of the offline data is correctly received comprises:
and if the judgment result is that any offline data is correctly received, deleting the data information of any offline data and the corresponding data signature in a preset cache region, and deleting the data record of any offline data in a pre-established database.
6. The method of claim 3, wherein if the determination result indicates that the any offline data is not correctly received, resending the any offline data to the requestor comprises:
if the judgment result is that any offline data is not correctly received, deleting the data information of any offline data and the corresponding data signature in a preset cache region;
re-acquiring the data record of any offline data from a pre-established database, and storing the data record to a preset cache region;
and sending any newly acquired offline data to the requester.
7. The method of claim 6, further comprising:
signing any one of the retransmitted offline data according to a predetermined data signature generation mode;
and storing the data signature corresponding to any offline data into a preset cache region.
8. An apparatus for sending an offline message, comprising:
the determining module is used for determining a plurality of corresponding offline data according to the received data acquisition request;
the sending module is used for sending at least two of the plurality of offline data to at least two corresponding requesters in parallel;
the receiving module is used for receiving feedback information which is returned by the requester and aims at any offline data;
the judging module is used for judging whether the requester correctly receives any off-line data according to the feedback information;
the execution module is used for executing corresponding processing operation aiming at any off-line data according to the judgment result;
wherein, still include:
the first signature module is used for signing the plurality of offline data according to a preset data signature generation mode;
the sending module is used for sending at least two of the plurality of offline data and the corresponding data signatures to the requester in parallel;
the feedback information returned by the requester comprises a to-be-verified data signature generated by the receiver according to any received offline data;
the judging module is used for comparing whether the signature of the data to be verified in the feedback information is consistent with the data signature corresponding to any offline data to judge whether the requester has correctly received any offline data.
9. The apparatus of claim 8, wherein the sending module comprises:
and the first sending unit is used for sending the at least two offline data to the corresponding at least two requesters in parallel through the same long connection.
10. The apparatus of claim 8, wherein the execution module comprises any one of:
if the judgment result is that any offline data is correctly received, deleting any offline data;
and if the judgment result is that any offline data is not correctly received, re-sending any offline data to the requester.
11. The apparatus of claim 8, further comprising:
the first storage module is used for storing the plurality of offline data into a preset cache region and storing the plurality of offline data into a pre-established database;
wherein, after the signing the plurality of offline data, the method further comprises:
the second storage module is used for storing the data signatures corresponding to the plurality of offline data into a preset cache region;
before determining whether the requester has received the correct offline data according to the feedback information, the method includes:
and the extraction module is used for extracting the data signature of the offline data corresponding to the feedback information from the cache region.
12. The apparatus of claim 10, wherein if the determination result indicates that the offline data is correctly received, the executing module deletes the offline data, and wherein the determining module comprises:
and the first deleting unit is used for deleting any offline data and the data information of the corresponding data signature in a preset cache region and deleting the data record of any offline data in a pre-established database if the judgment result shows that any offline data is correctly received.
13. The apparatus of claim 10, wherein if the determination result indicates that the offline data is not correctly received, the execution module resends the offline data to the requestor, and the execution module comprises:
a second deleting unit, configured to delete any offline data and data information of a corresponding data signature in a predetermined cache area if the determination result indicates that any offline data is not correctly received;
the acquisition unit is used for re-acquiring the data record of any offline data in a pre-established database and storing the data record into a preset cache region;
and the second sending unit is used for sending any newly acquired offline data to the requester.
14. The apparatus of claim 13, further comprising:
the second signature module is used for signing any one of the retransmitted offline data according to a preset data signature generation mode;
and the third storage module is used for storing the data signature corresponding to any off-line data into a preset cache region.
CN201611249217.1A 2016-12-29 2016-12-29 Method and device for sending offline message Active CN106790607B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611249217.1A CN106790607B (en) 2016-12-29 2016-12-29 Method and device for sending offline message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611249217.1A CN106790607B (en) 2016-12-29 2016-12-29 Method and device for sending offline message

Publications (2)

Publication Number Publication Date
CN106790607A CN106790607A (en) 2017-05-31
CN106790607B true CN106790607B (en) 2020-11-03

Family

ID=58929310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611249217.1A Active CN106790607B (en) 2016-12-29 2016-12-29 Method and device for sending offline message

Country Status (1)

Country Link
CN (1) CN106790607B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291342A (en) * 2008-06-18 2008-10-22 中兴通讯股份有限公司 Data synchronizing method and system in distributed system
CN103685570A (en) * 2013-12-27 2014-03-26 兴天通讯技术(天津)有限公司 Server, terminal and message pushing method
CN103902925A (en) * 2012-12-31 2014-07-02 中国银联股份有限公司 Method and equipment for digital document signature
CN104954446A (en) * 2015-05-28 2015-09-30 北京中亦安图科技股份有限公司 Message pushing method and system
CN105447407A (en) * 2015-11-11 2016-03-30 中国建设银行股份有限公司 Off-line data encryption method and decryption method and corresponding apparatus and system
CN105592163A (en) * 2016-01-25 2016-05-18 上海斐讯数据通信技术有限公司 Communication method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291342A (en) * 2008-06-18 2008-10-22 中兴通讯股份有限公司 Data synchronizing method and system in distributed system
CN103902925A (en) * 2012-12-31 2014-07-02 中国银联股份有限公司 Method and equipment for digital document signature
CN103685570A (en) * 2013-12-27 2014-03-26 兴天通讯技术(天津)有限公司 Server, terminal and message pushing method
CN104954446A (en) * 2015-05-28 2015-09-30 北京中亦安图科技股份有限公司 Message pushing method and system
CN105447407A (en) * 2015-11-11 2016-03-30 中国建设银行股份有限公司 Off-line data encryption method and decryption method and corresponding apparatus and system
CN105592163A (en) * 2016-01-25 2016-05-18 上海斐讯数据通信技术有限公司 Communication method and system

Also Published As

Publication number Publication date
CN106790607A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN109831487B (en) Fragmented file verification method and terminal equipment
KR101966626B1 (en) Method and apparatus for updating software of electronic devices in a vehicle
US20160057201A1 (en) File Uploading Method, Client, and Application Server in Cloud Storage, and Cloud Storage System
CN110929880A (en) Method and device for federated learning and computer readable storage medium
WO2020253083A1 (en) Synchronization data verification method for primary and secondary storage volume, device, apparatus, and storage medium
CN108347331A (en) The method and apparatus that T_Box equipment is securely communicated with ECU equipment in car networking system
JP6686033B2 (en) Method and apparatus for pushing messages
CN102137435B (en) Method, device and system for processing data
CA2550614A1 (en) Cluster database with remote data mirroring
CN109586949B (en) Block generation method and computer storage medium
CN107645357B (en) Recovery method and device for incomplete transmitted file
CN109739690B (en) Backup method and related products
US9178860B2 (en) Out-of-path, content-addressed writes with untrusted clients
WO2017148169A1 (en) Method and system for remotely transmitting log using udp
WO2015081693A1 (en) Network sharing user identification method and apparatus
CN104202385A (en) Data backup and updating method of distributed file system
WO2019057023A1 (en) Data recovery method, sending/receiving apparatus, and computer-readable storage medium
CN105743854A (en) Security authentication system and method
CN104348578A (en) Data processing method and device
US9426206B2 (en) FTP data transmission in stack system
CN115001766B (en) Efficient multi-node batch remote proving method
CN109120385B (en) Data transmission method, device and system based on data transmission system
CN106790607B (en) Method and device for sending offline message
WO2017041671A1 (en) Method and apparatus for recovering fault
CN109309729A (en) The method and apparatus of data are transmitted under a kind of big flow faster

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