CN107645531A - Method of data synchronization and system - Google Patents

Method of data synchronization and system Download PDF

Info

Publication number
CN107645531A
CN107645531A CN201610589142.5A CN201610589142A CN107645531A CN 107645531 A CN107645531 A CN 107645531A CN 201610589142 A CN201610589142 A CN 201610589142A CN 107645531 A CN107645531 A CN 107645531A
Authority
CN
China
Prior art keywords
image files
resend
failure
sent
send
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.)
Granted
Application number
CN201610589142.5A
Other languages
Chinese (zh)
Other versions
CN107645531B (en
Inventor
苏智辉
王政
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201610589142.5A priority Critical patent/CN107645531B/en
Publication of CN107645531A publication Critical patent/CN107645531A/en
Application granted granted Critical
Publication of CN107645531B publication Critical patent/CN107645531B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of method of data synchronization, including:A, service platform system sends the image files for treating that record is single to corresponding record single system;B, after image files are sent to record single system, analysed whether that image files send failure according to default analysis rule;C, if so, then establishing re-transmit queue to send the image files of failure, each image files for sending failure is resend according to re-transmit queue and give record single system, transmission times again is counted, and whether there are the image files resend to send failure;D, if so, and resend number and be less than predetermined threshold value, then step B and C are repeated, until the image files resend send successfully or resend number and reach predetermined threshold value.The invention also discloses a kind of data synchronous system.The present invention can ensure the successful transmission of image files in data synchronization process to greatest extent, and effectively raise the efficiency of data syn-chronization.

Description

Method of data synchronization and system
Technical field
The present invention relates to data synchronization technology field, more particularly to a kind of method of data synchronization and system.
Background technology
When service platform system interacts with external system, it is sometimes desirable to synchronous mass data, in the process of synchrodata In, normal flow may be less problematic, but easily ignored or deal with improperly for abnormal conditions, such as:Existing mass data Synchronization mechanism lacks in loss of data, synchronization failure, the effective processing hand retransmitted when failing again in data syn-chronization Section.Meanwhile for the synchronization of big data, existing mass data synchronization mechanism is using single thread tupe so that same It is low to walk efficiency, the consuming time is longer, ageing too poor.
The content of the invention
It is a primary object of the present invention to provide a kind of method of data synchronization and system, it is intended to be carried out in data syn-chronization effective Failure retransmission process, and improve data synchronization efficiency.
To achieve the above object, a kind of method of data synchronization provided by the invention, the described method comprises the following steps:
A, service platform system is in real time or timing sends the image files for treating that record is single to corresponding record single system;
B, the service platform system to corresponding record single system after the image files are sent, according to default point Whether analysis rule analysis has image files to send failure;
If C, there is image files to send failure, the service platform system is established to send the image files of failure Re-transmit queue, each image files for sending failure are resend to corresponding record monosystem according to re-transmit queue timing System, is counted to resending number corresponding to the image files after resending, and according to default analysis rule point Whether analysis has the image files resend to send failure;
If D, there are the image files that resend to send failure, and corresponding to the image files that resend again Transmission times is less than predetermined threshold value, then repeats above-mentioned steps B and C, until the image files that resend send into Work(resends number and reaches predetermined threshold value.
Preferably, this method also includes:
If there are the image files that resend to send failure, and sent out again corresponding to the image files that resend Number is sent to be not less than predetermined threshold value, then the service platform system sends prompting message to predetermined terminal, is somebody's turn to do to remind The image files resend can not be sent to corresponding record single system.
Preferably, the default analysis rule includes:
After an image files are sent to corresponding record single system, if record is single corresponding to being received in the first preset time The reception failure message that system is sent, it is determined that the image files send failure.
Preferably, the default analysis rule also includes:
After an image files are sent to corresponding record single system, if corresponding record is not received in the second preset time The reception feedback message that single system is sent, it is determined that the image files send failure.
Preferably, this method also includes:
The service platform system is after an image files are sent successfully, if not received in the 3rd preset time correspondingly Record single system return typing information corresponding with the image files, then to predetermined terminal and/or corresponding record Single system, which is sent, records single prompting message, to remind the record single job for completing the image files as early as possible.
In addition, to achieve the above object, the present invention also provides a kind of data synchronous system, the data synchronous system bag Include:
Sending module, for sending the image files for treating that record is single to corresponding record single system in real time or regularly;
Analysis module, for after the image files are sent to corresponding record single system, being advised according to default analysis Then analyse whether that image files send failure;
Failure retransmission module, if for there are image files to send failure, weight is established to send the image files of failure Queue is sent out, resends each image files for sending failure to corresponding record monosystem according to re-transmit queue timing System, is counted to resending number corresponding to the image files after resending, and according to default analysis rule point Whether analysis has the image files resend to send failure;
Calling module is returned, if for there is the image files that resend to send failure, and the image that resends Number is resend corresponding to files and is less than predetermined threshold value, then is returned and is called the analysis module and described unsuccessfully retransmit mould Block, until the image files resend send successfully or resend number and reach predetermined threshold value.
Preferably, the data synchronous system also includes:
First prompting module, if for there is the image files that resend to send failure, and the image that resends Number is resend corresponding to files and is not less than predetermined threshold value, then sends prompting message to predetermined terminal, to remind The image files resend can not be sent to corresponding record single system.
Preferably, the default analysis rule includes:
After an image files are sent to corresponding record single system, if record is single corresponding to being received in the first preset time The reception failure message that system is sent, it is determined that the image files send failure.
Preferably, the default analysis rule also includes:
After an image files are sent to corresponding record single system, if corresponding record is not received in the second preset time The reception feedback message that single system is sent, it is determined that the image files send failure.
Preferably, the data synchronous system also includes:
Second prompting module, for after an image files are sent successfully, if not received in the 3rd preset time pair The typing information corresponding with the image files that the record single system answered returns, then to predetermined terminal and/or corresponding Record single system and send the single prompting message of record, to remind the record single job for completing the image files as early as possible.
A kind of method of data synchronization proposed by the present invention and system, according to default analysis ruleAnalysisBusiness platform system When the image files sent to corresponding record single system of uniting send failure, service platform system is determined according to the re-transmit queue of foundation When each image files for sending failure is resend single system and transmission times again counted to corresponding record, If having, the image files resend send failure and this resends number and is less than predetermined threshold value, are unsuccessfully weighed again Pass.Because when service platform system fails with corresponding record Single System Synchronization image files, service platform system can be to shadow As files carry out unsuccessfully retransmission process, and when the image files number that synchronization failure and failure retransmit again is less than default threshold During value, service platform system can repeat to carry out unsuccessfully retransmission process to image files, so as to ensure that data to greatest extent The successful transmission of image files in synchronizing process.Further, since it is to adopt when carrying out unsuccessfully retransmission process to image files Enter line asynchronous multithreading to multiple image files for sending failure with the mode of re-transmit queue to send, effectively raise data Synchronous efficiency.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of method of data synchronization first embodiment of the present invention;
Fig. 2 is the schematic flow sheet of method of data synchronization second embodiment of the present invention;
Fig. 3 is the schematic flow sheet of method of data synchronization 3rd embodiment of the present invention;
Fig. 4 is the high-level schematic functional block diagram of data synchronous system first embodiment of the present invention;
Fig. 5 is the high-level schematic functional block diagram of data synchronous system second embodiment of the present invention;
Fig. 6 is the high-level schematic functional block diagram of data synchronous system 3rd embodiment of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of method of data synchronization.
Reference picture 1, Fig. 1 are the schematic flow sheet of method of data synchronization first embodiment of the present invention.
In the first embodiment, the method for data synchronization includes:
Step S10, service platform system is in real time or timing sends the image shelves text for treating that record is single to corresponding record single system Part;
In the present embodiment, the service platform system can be vehicle insurance service platform system, bank card business plateform system etc., Certainly, the service platform system is not limited yet carries out data interaction, synchronous system, and this reality as other needs with external system Apply in example only by the service platform system carry out with the record single system of outside image files interaction, it is synchronous exemplified by carry out it is specific Explanation.Service platform system carries out when interacting of image files in the record single system with outside, first real by service platform system When or timing the image files for treating that record is single are sent to corresponding record single system, so that corresponding record single system is being properly received The record single job to the image files is completed after to image files.
Step S20, the service platform system to corresponding record single system after the image files are sent, according to pre- If analysis rule analysed whether image files send failure;
The service platform system, can be according to default point after the image files are sent to corresponding record single system Whether analysis rule analysis has image files to send failure, anti-to the service platform system such as by corresponding record single system The image files of feedback receive success or failure information to judge whether the image files send failure, can also be in the business Plateform system inserts data interaction detection information when sending the image files to corresponding record single system and such as detects instrument, inspection Flag bit etc. is surveyed, to monitor the transmission situation of the image files.
Step S30, if there is image files to send failure, the image shelves text that the service platform system fails for transmission Part establishes re-transmit queue, resends each image files for sending failure to corresponding according to re-transmit queue timing Single system is recorded, is counted to resending number corresponding to the image files after resending, and according to default analysis Whether rule analysis has the image files resend to send failure;
If having image files to send failure according to the analysis of default analysis rule, the service platform system can be to hair The image files of failure are sent to carry out unsuccessfully retransmission process.The service platform system is carrying out failure to multiple image files During retransmission process, multiple image files can unsuccessfully be retransmitted using the data processing method of asynchronous multithreading.Such as exist In a kind of embodiment, the service platform system establishes re-transmit queue to send the image files of failure, according to described heavy Hair queue is in real time or timing resends each image files for sending failure to corresponding record single system, and root successively The image files for analysing whether to resend according to default analysis rule send failure;Meanwhile also resend to each Image files corresponding to the number that resends counted respectively, so that whether further evaluation is also needed to resending Image files carry out failure re-transmission again.
Step S40, if there are the image files resend to send failure, and the image files resend are corresponding The number that resends be less than predetermined threshold value, then above-mentioned steps S20 and S30 are repeated, until the image shelves that resend File sends successfully or resend number and reaches predetermined threshold value.
If still sent according to the image files that the analysis of default analysis rule is resend according to the re-transmit queue Failure, and resend number corresponding to the image files resend counted and be less than predetermined threshold value (for example, 3 times), Then illustrate although the image files resend resend failure, but the number that failure retransmits is few, exists because current The possibility that the emergency cases such as multi-node network environment is bad influence, that is to say, that the image files resend it is possible to Next time sends successfully in unsuccessfully retransmitting.Therefore, return and repeat that the image files that this resends send again, analyze And the processing unsuccessfully retransmitted to it according to the re-transmit queue.Repeating to carry out again the image files that this resends During secondary transmission, in a kind of situation, if the image files resend are sent successfully, weight can be terminated at once Pass, complete the transmission to the image files;In another situation, if being carried out to the image files that this resends multiple Failure retransmits, and it, which resends number and has reached predetermined threshold value, still sends failure, then illustrates that the image files can not be by more It is secondary unsuccessfully to retransmit to complete to send, then terminate to retransmit.
The present embodiment is analyzing service platform system to the shadow of corresponding record single system transmission according to default analysis rule When sending failure as files, service platform system is according to the re-transmit queue of foundation regularly by each image shelves text for sending failure Part resends to corresponding record single system and transmission times again is counted, if there is the image files hair resend Send failure and this resend number and be less than predetermined threshold value, then unsuccessfully retransmitted again.Due to service platform system with it is right During the record Single System Synchronization image files failure answered, service platform system can carry out unsuccessfully retransmission process to image files, And when image files again synchronization failure and failure retransmit number be less than predetermined threshold value when, service platform system can repeatedly pair Image files carry out unsuccessfully retransmission process, so as to ensure that the success of image files in data synchronization process to greatest extent Transmission.Further, since it is to multiple transmissions by the way of re-transmit queue when carrying out unsuccessfully retransmission process to image files The image files of failure enter the transmission of line asynchronous multithreading, effectively raise the efficiency of data syn-chronization.
Further, in other embodiments, the default analysis rule includes:
After an image files are sent to corresponding record single system, if record is single corresponding to being received in the first preset time The reception failure message that system is sent, it is determined that the image files send failure.
In the present embodiment, after the service platform system sends an image files to corresponding record single system, dividing When analysing the image files and whether sending unsuccessfully, if in the first preset time (for example, in 2 seconds) receive corresponding to record single system The reception failure message of transmission, then can Direct Analysis determine the image files send failure.
Further, in other embodiments, the default analysis rule also includes:
After an image files are sent to corresponding record single system, if corresponding record is not received in the second preset time The reception feedback message that single system is sent, it is determined that the image files send failure.
In the present embodiment, after the service platform system sends an image files to corresponding record single system, dividing When analysing the image files and whether sending unsuccessfully, if in the first preset time (for example, in 2 seconds) do not receive corresponding to record monosystem The reception feedback message that system is sent, then illustrate that the image files are likely to occur loss of data, corrupted data in transmission process Situations such as can not using, then it can analyze and determine that the image files send failure.
Further, as shown in Fig. 2 second embodiment of the invention proposes a kind of method of data synchronization, in above-described embodiment On the basis of, the method for data synchronization also includes:
Step S50, if there are the image files resend to send failure, and the image files resend are corresponding The number that resends be not less than predetermined threshold value, then the service platform system to predetermined terminal send prompting message, To remind the image files resend can not send to corresponding record single system.
In the present embodiment, if the image shelves text resend according to the analysis of default analysis rule according to the re-transmit queue Part still sends failure, and number is resend corresponding to the image files resend counted and is more than or equal to default threshold It is worth (for example, 3 times), then illustrates the image files that this resends have been carried out repeatedly unsuccessfully to retransmit finally still to send mistake Lose, it is likely to such as data link be present and disconnect the abnormal conditions that can not recover in short-term.The then service platform system Prompting message is sent to predetermined terminal, predetermined terminal user image shelves text may be notified that by the prompting message Part finally can not be still sent to corresponding record single system through repeatedly unsuccessfully retransmitting, to remind predetermined terminal user right in time Data link etc. between the service platform system and corresponding record single system checked, handling failure.
Further, as shown in figure 3, third embodiment of the invention proposes a kind of method of data synchronization, in above-described embodiment On the basis of, the method for data synchronization also includes:
Step S60, the service platform system is after an image files are sent successfully, if in the 3rd preset time not The typing information corresponding with the image files that record single system corresponding to receiving returns, then to predetermined terminal and/or Corresponding record single system, which is sent, records single prompting message, to remind the record single job for completing the image files as early as possible.
In the present embodiment, the service platform system is after an image files are sent successfully, if the second preset time Interior (for example, in 48 hours) do not receive corresponding to record single system return typing information corresponding with the image files, then to Predetermined terminal and/or corresponding record single system send and record single prompting message, to remind user to complete as early as possible to the image The record single job of files, though avoid because omission causes the image files to send not recording successfully and single record single system corresponding to Situation occur.
The present invention further provides a kind of data synchronous system.
Reference picture 4, Fig. 4 are the high-level schematic functional block diagram of data synchronous system first embodiment of the present invention.
In the first embodiment, the data synchronous system includes:
Sending module 01, for sending the image files for treating that record is single to corresponding record single system in real time or regularly;
In the present embodiment, the data synchronous system is that service platform system can be vehicle insurance service platform system, bank card Service platform system etc., certainly, also do not limit the service platform system needs with external system progress data interaction, together as other The system of step, and in the present embodiment only with record single system progress the interacting of image files of the service platform system and outside, It is specifically described exemplified by synchronization.Service platform system carries out when interacting of image files in the record single system with outside, first The image files for treating that record is single are sent to corresponding record single system from service platform system in real time or regularly, for corresponding record Single system completes the record single job to the image files after image files are successfully received.
Analysis module 02, for after the image files are sent to corresponding record single system, according to default analysis Whether rule analysis has image files to send failure;
The service platform system, can be according to default point after the image files are sent to corresponding record single system Whether analysis rule analysis has image files to send failure, anti-to the service platform system such as by corresponding record single system The image files of feedback receive success or failure information to judge whether the image files send failure, can also be in the business Plateform system inserts data interaction detection information when sending the image files to corresponding record single system and such as detects instrument, inspection Flag bit etc. is surveyed, to monitor the transmission situation of the image files.
Failure retransmission module 03, if for there are image files to send failure, established to send the image files of failure Re-transmit queue, each image files for sending failure are resend to corresponding record monosystem according to re-transmit queue timing System, is counted to resending number corresponding to the image files after resending, and according to default analysis rule point Whether analysis has the image files resend to send failure;
If having image files to send failure according to the analysis of default analysis rule, the service platform system can be to hair The image files of failure are sent to carry out unsuccessfully retransmission process.The service platform system is carrying out failure to multiple image files During retransmission process, multiple image files can unsuccessfully be retransmitted using the data processing method of asynchronous multithreading.Such as exist In a kind of embodiment, the service platform system establishes re-transmit queue to send the image files of failure, according to described heavy Hair queue is in real time or timing resends each image files for sending failure to corresponding record single system, and root successively The image files for analysing whether to resend according to default analysis rule send failure;Meanwhile also resend to each Image files corresponding to the number that resends counted respectively, so that whether further evaluation is also needed to resending Image files carry out failure re-transmission again.
Calling module 04 is returned, if for there is the image files that resend to send failure, and the shadow that resends Number is resend as corresponding to files and is less than predetermined threshold value, then is returned and is called the analysis module and described unsuccessfully retransmit mould Block, until the image files resend send successfully or resend number and reach predetermined threshold value.
If still sent according to the image files that the analysis of default analysis rule is resend according to the re-transmit queue Failure, and resend number corresponding to the image files resend counted and be less than predetermined threshold value (for example, 3 times), Then illustrate although the image files resend resend failure, but the number that failure retransmits is few, exists because current The possibility that the emergency cases such as multi-node network environment is bad influence, that is to say, that the image files resend it is possible to Next time sends successfully in unsuccessfully retransmitting.Therefore, return and repeat that the image files that this resends send again, analyze And the processing unsuccessfully retransmitted to it according to the re-transmit queue.Repeating to carry out again the image files that this resends During secondary transmission, in a kind of situation, if the image files resend are sent successfully, weight can be terminated at once Pass, complete the transmission to the image files;In another situation, if being carried out to the image files that this resends multiple Failure retransmits, and it, which resends number and has reached predetermined threshold value, still sends failure, then illustrates that the image files can not be by more It is secondary unsuccessfully to retransmit to complete to send, then terminate to retransmit.
The present embodiment is analyzing service platform system to the shadow of corresponding record single system transmission according to default analysis rule When sending failure as files, service platform system is according to the re-transmit queue of foundation regularly by each image shelves text for sending failure Part resends to corresponding record single system and transmission times again is counted, if there is the image files hair resend Send failure and this resend number and be less than predetermined threshold value, then unsuccessfully retransmitted again.Due to service platform system with it is right During the record Single System Synchronization image files failure answered, service platform system can carry out unsuccessfully retransmission process to image files, And when image files again synchronization failure and failure retransmit number be less than predetermined threshold value when, service platform system can repeatedly pair Image files carry out unsuccessfully retransmission process, so as to ensure that the success of image files in data synchronization process to greatest extent Transmission.Further, since it is to multiple transmissions by the way of re-transmit queue when carrying out unsuccessfully retransmission process to image files The image files of failure enter the transmission of line asynchronous multithreading, effectively raise the efficiency of data syn-chronization.
Further, in other embodiments, the default analysis rule includes:
After an image files are sent to corresponding record single system, if record is single corresponding to being received in the first preset time The reception failure message that system is sent, it is determined that the image files send failure.
In the present embodiment, after the service platform system sends an image files to corresponding record single system, dividing When analysing the image files and whether sending unsuccessfully, if in the first preset time (for example, in 2 seconds) receive corresponding to record single system The reception failure message of transmission, then can Direct Analysis determine the image files send failure.
Further, in other embodiments, the default analysis rule also includes:
After an image files are sent to corresponding record single system, if corresponding record is not received in the second preset time The reception feedback message that single system is sent, it is determined that the image files send failure.
In the present embodiment, after the service platform system sends an image files to corresponding record single system, dividing When analysing the image files and whether sending unsuccessfully, if in the first preset time (for example, in 2 seconds) do not receive corresponding to record monosystem The reception feedback message that system is sent, then illustrate that the image files are likely to occur loss of data, corrupted data in transmission process Situations such as can not using, then it can analyze and determine that the image files send failure.
Further, as shown in figure 5, second embodiment of the invention proposes a kind of data synchronous system, in above-described embodiment On the basis of, the data synchronous system also includes:
First prompting module 05, if for there is the image files that resend to send failure, and the shadow that resends Number is resend as corresponding to files and is not less than predetermined threshold value, then prompting message is sent to predetermined terminal, to carry The awake image files resend can not be sent to corresponding record single system.
In the present embodiment, if the image shelves text resend according to the analysis of default analysis rule according to the re-transmit queue Part still sends failure, and number is resend corresponding to the image files resend counted and is more than or equal to default threshold It is worth (for example, 3 times), then illustrates the image files that this resends have been carried out repeatedly unsuccessfully to retransmit finally still to send mistake Lose, it is likely to such as data link be present and disconnect the abnormal conditions that can not recover in short-term.The then service platform system Prompting message is sent to predetermined terminal, predetermined terminal user image shelves text may be notified that by the prompting message Part finally can not be still sent to corresponding record single system through repeatedly unsuccessfully retransmitting, to remind predetermined terminal user right in time Data link etc. between the service platform system and corresponding record single system checked, handling failure.
Further, as shown in fig. 6, third embodiment of the invention proposes a kind of data synchronous system, in above-described embodiment On the basis of, the data synchronous system also includes:
Second prompting module 06, for after an image files are sent successfully, if not received in the 3rd preset time The typing information corresponding with the image files that corresponding record single system returns, then to predetermined terminal and/or correspondingly Record single system send and record single prompting message, to remind the record single job for completing the image files as early as possible.
In the present embodiment, the service platform system is after an image files are sent successfully, if the second preset time Interior (for example, in 48 hours) do not receive corresponding to record single system return typing information corresponding with the image files, then to Predetermined terminal and/or corresponding record single system send and record single prompting message, to remind user to complete as early as possible to the image The record single job of files, though avoid because omission causes the image files to send not recording successfully and single record single system corresponding to Situation occur.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.Embodiment party more than The description of formula, it is required general that those skilled in the art can be understood that above-described embodiment method can add by software The mode of hardware platform is realized, naturally it is also possible to which by hardware, but the former is more preferably embodiment in many cases.It is based on Such understanding, the part that technical scheme substantially contributes to prior art in other words can be with software products Form embody, the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, CD), including Some instructions are causing a station terminal equipment (can be mobile phone, computer, server, or network equipment etc.) to perform this hair Method described in bright each embodiment.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of method of data synchronization, it is characterised in that the described method comprises the following steps:
A, service platform system is in real time or timing sends the image files for treating that record is single to corresponding record single system;
B, the service platform system is advised after the image files are sent to corresponding record single system according to default analysis Then analyse whether that image files send failure;
If C, there is image files to send failure, the service platform system is established for the image files of transmission failure and retransmitted Queue, each image files for sending failure are resend to corresponding record single system according to re-transmit queue timing, Counted to resending number corresponding to the image files after resending, and be according to the analysis of default analysis rule It is no to there are the image files resend to send failure;
If D, there are the image files that resend to send failure, and resend corresponding to the image files that resend Number is less than predetermined threshold value, then repeats above-mentioned steps B and C, until the image files resend send successfully or Resend number and reach predetermined threshold value.
2. method of data synchronization as claimed in claim 1, it is characterised in that this method also includes:
If there are the image files that resend to send failure, and resend corresponding to the image files that resend time Number is not less than predetermined threshold value, then the service platform system sends prompting message to predetermined terminal, to remind this again The image files of transmission can not be sent to corresponding record single system.
3. method of data synchronization as claimed in claim 1 or 2, it is characterised in that the default analysis rule includes:
After an image files are sent to corresponding record single system, if record single system corresponding to being received in the first preset time The reception failure message of transmission, it is determined that the image files send failure.
4. method of data synchronization as claimed in claim 1 or 2, it is characterised in that the default analysis rule also includes:
After an image files are sent to corresponding record single system, if record monosystem corresponding to not received in the second preset time The reception feedback message that system is sent, it is determined that the image files send failure.
5. method of data synchronization as claimed in claim 1, it is characterised in that this method also includes:
The service platform system is after an image files are sent successfully, if not receiving corresponding record in the 3rd preset time The typing information corresponding with the image files that single system returns, then to predetermined terminal and/or corresponding record monosystem System, which is sent, records single prompting message, to remind the record single job for completing the image files as early as possible.
6. a kind of data synchronous system, it is characterised in that the data synchronous system includes:
Sending module, for sending the image files for treating that record is single to corresponding record single system in real time or regularly;
Analysis module, for after the image files are sent to corresponding record single system, being divided according to default analysis rule Whether analysis has image files to send failure;
Failure retransmission module, if for there are image files to send failure, established for the image files that transmission fails and retransmit team Row, each image files for sending failure are resend to corresponding record single system according to re-transmit queue timing, it is right Number is resend corresponding to image files after resending to be counted, and is analysed whether according to default analysis rule There are the image files resend to send failure;
Calling module is returned, if for there is the image files resend to send failure, and the image shelves resend are literary Number is resend corresponding to part and is less than predetermined threshold value, then returns and calls the analysis module and the failure retransmission module, directly The image files resend to this send successfully or resend number and reach predetermined threshold value.
7. data synchronous system as claimed in claim 6, it is characterised in that also include:
First prompting module, if for there is the image files resend to send failure, and the image shelves resend are literary Number is resend corresponding to part and is not less than predetermined threshold value, then prompting message is sent to predetermined terminal, to remind this heavy The image files newly sent can not be sent to corresponding record single system.
8. data synchronous system as claimed in claims 6 or 7, it is characterised in that the default analysis rule includes:
After an image files are sent to corresponding record single system, if record single system corresponding to being received in the first preset time The reception failure message of transmission, it is determined that the image files send failure.
9. data synchronous system as claimed in claims 6 or 7, it is characterised in that the default analysis rule also includes:
After an image files are sent to corresponding record single system, if record monosystem corresponding to not received in the second preset time The reception feedback message that system is sent, it is determined that the image files send failure.
10. data synchronous system as claimed in claim 6, it is characterised in that also include:
Second prompting module, for after an image files are sent successfully, if corresponding to not received in the 3rd preset time Record the typing information corresponding with the image files that single system returns, then it is single to predetermined terminal and/or corresponding record System, which is sent, records single prompting message, to remind the record single job for completing the image files as early as possible.
CN201610589142.5A 2016-07-22 2016-07-22 Data synchronization method and system Active CN107645531B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610589142.5A CN107645531B (en) 2016-07-22 2016-07-22 Data synchronization method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610589142.5A CN107645531B (en) 2016-07-22 2016-07-22 Data synchronization method and system

Publications (2)

Publication Number Publication Date
CN107645531A true CN107645531A (en) 2018-01-30
CN107645531B CN107645531B (en) 2021-08-24

Family

ID=61109796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610589142.5A Active CN107645531B (en) 2016-07-22 2016-07-22 Data synchronization method and system

Country Status (1)

Country Link
CN (1) CN107645531B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109391692A (en) * 2018-10-23 2019-02-26 深圳壹账通智能科技有限公司 Batch data centralization processing method and system based on buffer pool strategy
CN109413179A (en) * 2018-10-24 2019-03-01 中国银行股份有限公司 A kind of method and device of the multifile asynchronous retransmission based on HTTP request
CN110287060A (en) * 2019-06-06 2019-09-27 郑州阿帕斯科技有限公司 A kind of processing method of data, device
CN111147917A (en) * 2019-12-24 2020-05-12 上海文化广播影视集团有限公司 Image-text publishing system for public early warning
CN115118710A (en) * 2022-05-25 2022-09-27 中银金融科技有限公司 File transmission method and device
CN115629890A (en) * 2022-10-27 2023-01-20 圣名科技(广州)有限责任公司 Sensor data acquisition method and device and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080155058A1 (en) * 2006-12-22 2008-06-26 Srikiran Prasad Data synchronization by communication of modifications
CN101304430A (en) * 2008-06-30 2008-11-12 中兴通讯股份有限公司 Method and system for forwarding north direction document of telecommunication network management system
US20090303862A1 (en) * 2002-06-05 2009-12-10 Jin Yong Kim Recording medium with a linking area including a synch pattern thereon and apparatus and methods for forming, recording, and reproducing the recording medium
CN101997661A (en) * 2009-08-14 2011-03-30 华为技术有限公司 Data packet sending method, data packet acquiring method and device
CN102316346A (en) * 2010-07-07 2012-01-11 索尼公司 Image data transmitting apparatus and method, receiving equipment and method and system
CN104168093A (en) * 2013-05-20 2014-11-26 腾讯科技(深圳)有限公司 File transmission method and device
CN104184753A (en) * 2013-05-20 2014-12-03 腾讯科技(深圳)有限公司 File transmission method and device thereof
CN105448150A (en) * 2015-11-09 2016-03-30 天脉聚源(北京)教育科技有限公司 Information sending method and device for teaching system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090303862A1 (en) * 2002-06-05 2009-12-10 Jin Yong Kim Recording medium with a linking area including a synch pattern thereon and apparatus and methods for forming, recording, and reproducing the recording medium
US20080155058A1 (en) * 2006-12-22 2008-06-26 Srikiran Prasad Data synchronization by communication of modifications
CN101304430A (en) * 2008-06-30 2008-11-12 中兴通讯股份有限公司 Method and system for forwarding north direction document of telecommunication network management system
CN101997661A (en) * 2009-08-14 2011-03-30 华为技术有限公司 Data packet sending method, data packet acquiring method and device
CN102316346A (en) * 2010-07-07 2012-01-11 索尼公司 Image data transmitting apparatus and method, receiving equipment and method and system
CN104168093A (en) * 2013-05-20 2014-11-26 腾讯科技(深圳)有限公司 File transmission method and device
CN104184753A (en) * 2013-05-20 2014-12-03 腾讯科技(深圳)有限公司 File transmission method and device thereof
CN105448150A (en) * 2015-11-09 2016-03-30 天脉聚源(北京)教育科技有限公司 Information sending method and device for teaching system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109391692A (en) * 2018-10-23 2019-02-26 深圳壹账通智能科技有限公司 Batch data centralization processing method and system based on buffer pool strategy
CN109413179A (en) * 2018-10-24 2019-03-01 中国银行股份有限公司 A kind of method and device of the multifile asynchronous retransmission based on HTTP request
CN110287060A (en) * 2019-06-06 2019-09-27 郑州阿帕斯科技有限公司 A kind of processing method of data, device
CN110287060B (en) * 2019-06-06 2021-06-22 郑州阿帕斯科技有限公司 Data processing method and device
CN111147917A (en) * 2019-12-24 2020-05-12 上海文化广播影视集团有限公司 Image-text publishing system for public early warning
CN115118710A (en) * 2022-05-25 2022-09-27 中银金融科技有限公司 File transmission method and device
CN115118710B (en) * 2022-05-25 2024-04-19 中银金融科技有限公司 File transmission method and device
CN115629890A (en) * 2022-10-27 2023-01-20 圣名科技(广州)有限责任公司 Sensor data acquisition method and device and electronic equipment

Also Published As

Publication number Publication date
CN107645531B (en) 2021-08-24

Similar Documents

Publication Publication Date Title
CN107645531A (en) Method of data synchronization and system
CN103138905B (en) The confirmation method of RLC packet transmission and RLC AM entity sender
CN106453233A (en) Data transmission method and apparatus based on UDP
CN113746900B (en) Intranet data transmission method, electronic device and computer readable storage medium
CN101346925A (en) Apparatus, method and computer program product providing retransmission utilizing multiple ARQ mechanisms
CN108631954A (en) A kind of data transmission method and device
CN101291199B (en) Method and apparatus for detecting correctness of feedback message in hybrid automatic retransmission request
CN105934907A (en) Radio resource scheduling method and apparatus
CN101507318B (en) Radio communication device and method used in mobile communication system
EP3537761A1 (en) Information processing method and device
CN103999394B (en) Data retransmission and feedback methods, and corresponding apparatus
JP4354924B2 (en) Method for split transmission and automatic retransmission of MMS messages
CN107645357A (en) Transmit the incomplete restoration methods of file and device
CN101369879A (en) Method and apparatus for requesting data retransmission
CN102804664B (en) Communication system, communication device, communication method, and program
CN102415133B (en) Reception device, reception method, and program
CN109428684A (en) A kind of data transmission method, RLC entity and PDCP entity
CN109391373A (en) Data repeating method, base station, terminal and system
CN117040692A (en) Method and device for transmitting service data, electronic equipment and storage medium
EP1662704B1 (en) Monitoring system, apparatus to be monitored, monitoring apparatus and monitoring method
CN103975624B (en) Transmit or receive method and user equipment, the base station of up SPS business datums
CN112187408B (en) Data processing method, system, device, storage medium and processor
US20160013892A1 (en) Communication apparatus, reception apparatus, and transmission apparatus
CN107317745A (en) Method for message transmission and device between a kind of consumption terminal and Message Agent
CN101552658A (en) Method and device for transmitting status report

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