CN106411692A - Improved method and system enabling information synchronization between mobile end and server end - Google Patents
Improved method and system enabling information synchronization between mobile end and server end Download PDFInfo
- Publication number
- CN106411692A CN106411692A CN201610491181.1A CN201610491181A CN106411692A CN 106411692 A CN106411692 A CN 106411692A CN 201610491181 A CN201610491181 A CN 201610491181A CN 106411692 A CN106411692 A CN 106411692A
- Authority
- CN
- China
- Prior art keywords
- message
- mobile terminal
- format
- format messages
- corresponding table
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/06—Message adaptation to terminal or network requirements
- H04L51/066—Format adaptation, e.g. format conversion or compression
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/10—Multimedia information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Abstract
Provided is a method enabling information synchronization between a mobile end and a server end. The method comprises the following steps: S1, information needed to be synchronized at the mobile end is obtained; S2, the mobile end classifies packed format information according to a data type, a security level, a service period and data capacity; S3, the mobile end obtains the security level of the format information from an information corresponding table; S4, the mobile end continues determining the service period of the format information and determines the synchronous sending frequency according to the service period, and the next step S5 is executed; S5, the mobile end determines, according to compression information in the information corresponding table, whether the format information needs to be compressed and also determines level information of compression; S6, the mobile end sends, on the basis of the data capacity and the data type, the format information and the information corresponding table to a server at the same time in accordance with the sending frequency in the step S4; and S7, the server determines whether the format information needs to be decrypted, a storage step is carried out according to the information corresponding table if the format information needs to be decrypted, and the storage step is directly carried out if the format information needs not to be decrypted.
Description
Technical field
The present invention relates to wireless communication technology field, carry out particularly to a kind of modified model mobile terminal server end message
Synchronous method and system.
Background technology
With the popularization of network, instant messaging (InstantMessaging, abbreviation IM) instrument has become as people and carries out
A kind of major way of information exchange, and user would generally use IM instrument using multiple terminals, is so accomplished by multiple
The client synchronization message of terminal.
At present, on the implementation of multiterminal synchronization message, all adopt after each end client logs in, logged in current
Time as obtain synchronization message timestamp to server sync certain amt amount (such as 100) up-to-date message
To client, it is achieved in that the synchronization of a part of message in a way.However, this method works as part good friend or group
Message synchronization reach total quantity after, then the message of the session of other good friends or group cannot realize synchronization.So cause IM
With the formal distribution of fragment in different clients, every one end does not all have complete message content to message.
Existing message synchronization method does not have the information such as type distinguishing message so that the peace of message synchronization process simultaneously
Quan Xing, personalization level be not high.
Content of the invention
In view of this, the present invention proposes method that a kind of modified model mobile terminal server end message synchronizes and is
System.
The method that a kind of modified model mobile terminal server end message synchronizes, it comprises the steps:
S1, obtain mobile terminal and need synchronous message, synchronization message is encapsulated as following protocol format messages:
A1 A2 A3 A4 A5 A6 A7 DA LL KK AA NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN
NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN CS;
Wherein A1 A2 A3 A4 A5 A6 A7 is to specify relay route node address, and data is along A1 A2 A3 A4 A5 A6
A7 direction transmission DA data transfer direction and current hop series, DA represents direction, and 0 represents transmission downwards, transmits DA+1 downwards,
1 expression is transmitted upwards, transmits DA-1 upwards;LL is data length;KK is control code, and AA is final receiving data node address;
NNNNNNNN is the data of transmission;CS is check bit;
S2, mobile terminal are by the format messages after encapsulating according to data type, safe class, usage cycles and data capacity size
Classified, and generated the timestamp of the format messages after encapsulation, and message is corresponded to table, the corresponding table of message is described form and disappears
The data ID of breath, data type, safe class, usage cycles, data capacity size and corresponding timestamp;In format messages
During for video format, setting is the need of the class information being compressed and compress, and will compress information write message correspondence
In table;
S3, mobile terminal obtain the safe class of format messages from the corresponding table of message, needed for safe class is higher than encryption etc.
During level, this format messages is encrypted and jumps to step S4, otherwise jumps directly to step S4;
S4, mobile terminal continue to judge the usage cycles of this format messages, and determine the frequency of synchronized transmission according to usage cycles;And
Jump to step S5;
S5, mobile terminal judge the grade the need of compression and compression for the format messages according to the compression information in the corresponding table of message
Information, for video format message and need compression when, according to hierarchy compression information, format messages are compressed, and jump to
Step S6, otherwise jumps directly to step S6;
S6, mobile terminal, according to data capacity and data type, and disappear format messages according to the transmission frequency in step S4
The corresponding table of breath is simultaneously sent to server;
S7, server judge format messages the need of deciphering, are stored according to the corresponding table of message after being decrypted in this way;
Otherwise directly stored according to the corresponding table of message.
In the method that modified model mobile terminal of the present invention server end message synchronizes, described step S6 bag
Include:
Server according to the agreement in step S1, format messages is routed in redundancy backup server.
In the method that modified model mobile terminal of the present invention server end message synchronizes, in described step S5
Format messages and message, according to data capacity and data type, are corresponded to table according to the transmission frequency in step S4 by mobile terminal
It is simultaneously sent to server to include;
Format messages and the corresponding table of message are sent in mobile terminal and set message format pond by mobile terminal;
Message format pond judges whether the data capacity in pond reaches message format pond preset buffer memory capacity, more than or equal to pre-
If during buffer memory capacity, format messages and the corresponding table of message are simultaneously sent to server by message format pond.
In the method that modified model mobile terminal of the present invention server end message synchronizes,
Described step S2 also includes the memory period that mobile terminal obtains the format messages after encapsulation, and by memory period information record
To in the corresponding table of message;
Described step S6 arranges the storage period of the format messages after this encapsulation according to the memory period in the corresponding table of message.
The present invention also provides a kind of modified model mobile terminal server end system that message synchronizes, and it is included as placed an order
Unit:
Encapsulation unit, needs synchronous message for obtaining mobile terminal, and synchronization message is encapsulated as following protocol format messages:
A1 A2 A3 A4 A5 A6 A7 DA LL KK AA NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN
NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN CS;
Wherein A1 A2 A3 A4 A5 A6 A7 is to specify relay route node address, and data is along A1 A2 A3 A4 A5 A6
A7 direction transmission DA data transfer direction and current hop series, DA represents direction, and 0 represents transmission downwards, transmits DA+1 downwards,
1 expression is transmitted upwards, transmits DA-1 upwards;LL is data length;KK is control code, and AA is final receiving data node address;
NNNNNNNN is the data of transmission;CS is check bit;
Taxon, for by mobile terminal by encapsulate after format messages according to data type, safe class, usage cycles with
And data capacity size classified, and generate the timestamp of the format messages after encapsulation, and message corresponds to table, message corresponds to
Table describe the data ID of format messages, data type, safe class, usage cycles, data capacity size and corresponding when
Between stab;When format messages are for video format, setting is the need of the class information being compressed and compress, and compression is believed
In the corresponding table of breath write message;
Safe class judging unit, for obtaining the safe class of format messages from the corresponding table of message by mobile terminal, in peace
When congruent level is higher than encryption required grade, this format messages is encrypted and jumps to synchronizing frequency determining unit, otherwise
Jump directly to synchronizing frequency determining unit;
Synchronizing frequency determining unit, for continuing to judge the usage cycles of this format messages by mobile terminal, and according to using week
Phase determines the frequency of synchronized transmission;And jump to message compression unit;
Message compression unit, for by mobile terminal according to the compression information in the corresponding table of message judge format messages the need of
Compression and compression class information, for video format message and need compression when, according to hierarchy compression information, form is disappeared
Breath is compressed, and jumps to message sending unit, otherwise jumps directly to message sending unit;
Message sending unit, for by mobile terminal according to data capacity and data type, according to synchronizing frequency determining unit
In transmission frequency corresponding to format messages and message table is simultaneously sent to server;
Memory element, for being judged format messages the need of deciphering by server, according to message after being decrypted in this way
Corresponding table is stored;Otherwise directly stored according to the corresponding table of message.
In the system that modified model mobile terminal of the present invention server end message synchronizes, described memory element
Including:
Server according to the agreement in encapsulation unit, format messages is routed in redundancy backup server.
In the system that modified model mobile terminal of the present invention server end message synchronizes, described message sends
In unit, form, according to data capacity and data type, is disappeared by mobile terminal according to the transmission frequency in synchronizing frequency determining unit
Breath and the corresponding table of message are simultaneously sent to server and include;
Format messages and the corresponding table of message are sent in mobile terminal and set message format pond by mobile terminal;
Message format pond judges whether the data capacity in pond reaches message format pond preset buffer memory capacity, more than or equal to pre-
If during buffer memory capacity, format messages and the corresponding table of message are simultaneously sent to server by message format pond.
In the system that modified model mobile terminal of the present invention server end message synchronizes,
Described taxon also includes the memory period that mobile terminal obtains the format messages after encapsulation, and memory period information is remembered
Record in the corresponding table of message;
Described memory element arranges the storage period of the format messages after this encapsulation according to the memory period in the corresponding table of message.
Implement the method and system that synchronize of modified model mobile terminal server end message that the present invention provides with existing
Technology is compared and is had the advantages that:By mobile terminal by encapsulate after format messages according to data type, safe class,
Usage cycles and data capacity size are classified, and generate the timestamp of the format messages after encapsulation, and message corresponds to
Table, the corresponding table of message describe the data ID of format messages, data type, safe class, usage cycles, data capacity size with
And corresponding timestamp, transmission after higher message data being required to be encrypted for safe class, for safe class
Less demanding message is directly transmitted;By mobile terminal according to data capacity and data type, true according to synchronizing frequency
Format messages and the corresponding table of message are simultaneously sent to server by the transmission frequency in order unit, can substantially reduce mobile terminal
The resource consumption that server synchronizes and the network bandwidth take;Additionally, corresponding to table by arranging message, can be easily
The data ID of reading format message, data type, safe class, usage cycles, data capacity size and corresponding timestamp.
Because the usual capacity of video format message is larger, therefore pass through distinguish the need of be compressed and compress etc.
Level information, situation can be compressed according to actual needs, reduce the occupancy of the network bandwidth.
Brief description
Fig. 1 is the method flow diagram that synchronizes of modified model mobile terminal server end message of the embodiment of the present invention.
Specific embodiment
As shown in figure 1, the method that a kind of modified model mobile terminal server end message synchronizes, it includes walking as follows
Suddenly:
S1, obtain mobile terminal and need synchronous message, synchronization message is encapsulated as following protocol format messages:
A1 A2 A3 A4 A5 A6 A7 DA LL KK AA NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN
NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN CS;
Wherein A1 A2 A3 A4 A5 A6 A7 is to specify relay route node address, and data is along A1 A2 A3 A4 A5 A6
A7 direction transmission DA data transfer direction and current hop series, DA represents direction, and 0 represents transmission downwards, transmits DA+1 downwards,
1 expression is transmitted upwards, transmits DA-1 upwards;LL is data length;KK is control code, and AA is final receiving data node address;
NNNNNNNN is the data of transmission;CS is check bit;
By message is encapsulated as above-mentioned form, server can be carried out networking, network is star-like or fishnet type master-slave mode frame
Structure, transistroute reaches 7 grades, and networking mode flexibly, can route relaying and manual specified circuit by relaying, automatically by hardware chip agreement
With computer software protocol networking, multistage, multipath net master-slave architecture WLAN can be formed, network coverage is that 5-15 is public
In.Above-mentioned node is server.Enable to the different characteristics according to message for the user, automatic for message redundancy backup is taken to other
On business device.
S2, mobile terminal are by the format messages after encapsulating according to data type, safe class, usage cycles and data capacity
Size is classified, and generates the timestamp of the format messages after encapsulation, and message corresponds to table, and the corresponding table of message describes lattice
The data ID of formula message, data type, safe class, usage cycles, data capacity size and corresponding timestamp;In form
When message is video format, setting is the need of the class information being compressed and compress, and will compress information write message
In corresponding table;
Because the usual capacity of video format message is larger, therefore pass through to distinguish the need of the grade letter being compressed and compress
Breath, situation can be compressed according to actual needs, reduce the occupancy of the network bandwidth.
S3, mobile terminal obtain the safe class of format messages from the corresponding table of message, are higher than that encryption is required in safe class
Grade when, this format messages is encrypted and jumps to step S4, otherwise jumps directly to step S4;
S4, mobile terminal continue to judge the usage cycles of this format messages, and determine the frequency of synchronized transmission according to usage cycles;And
Jump to step S5;
S5, mobile terminal judge the grade the need of compression and compression for the format messages according to the compression information in the corresponding table of message
Information, for video format message and need compression when, according to hierarchy compression information, format messages are compressed, and jump to
Step S6, otherwise jumps directly to step S6;
S6, mobile terminal, according to data capacity and data type, and disappear format messages according to the transmission frequency in step S4
The corresponding table of breath is simultaneously sent to server;
S7, server judge format messages the need of deciphering, are stored according to the corresponding table of message after being decrypted in this way;
Otherwise directly stored according to the corresponding table of message.
In the method that modified model mobile terminal of the present invention server end message synchronizes, described step S6 bag
Include:
Server according to the agreement in step S1, format messages is routed in redundancy backup server.
In the method that modified model mobile terminal of the present invention server end message synchronizes, in described step S5
Format messages and message, according to data capacity and data type, are corresponded to table according to the transmission frequency in step S4 by mobile terminal
It is simultaneously sent to server to include;
Format messages and the corresponding table of message are sent in mobile terminal and set message format pond by mobile terminal;
Message format pond judges whether the data capacity in pond reaches message format pond preset buffer memory capacity, more than or equal to pre-
If during buffer memory capacity, format messages and the corresponding table of message are simultaneously sent to server by message format pond.
In the method that modified model mobile terminal of the present invention server end message synchronizes,
Described step S2 also includes the memory period that mobile terminal obtains the format messages after encapsulation, and by memory period information record
To in the corresponding table of message;
Described step S6 arranges the storage period of the format messages after this encapsulation according to the memory period in the corresponding table of message.
The present invention also provides a kind of modified model mobile terminal server end system that message synchronizes, and it is included as placed an order
Unit:
Encapsulation unit, needs synchronous message for obtaining mobile terminal, and synchronization message is encapsulated as following protocol format messages:
A1 A2 A3 A4 A5 A6 A7 DA LL KK AA NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN
NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN CS;
Wherein A1 A2 A3 A4 A5 A6 A7 is to specify relay route node address, and data is along A1 A2 A3 A4 A5 A6
A7 direction transmission DA data transfer direction and current hop series, DA represents direction, and 0 represents transmission downwards, transmits DA+1 downwards,
1 expression is transmitted upwards, transmits DA-1 upwards;LL is data length;KK is control code, and AA is final receiving data node address;
NNNNNNNN is the data of transmission;CS is check bit;
Taxon, for by mobile terminal by encapsulate after format messages according to data type, safe class, usage cycles with
And data capacity size classified, and generate the timestamp of the format messages after encapsulation, and message corresponds to table, message corresponds to
Table describe the data ID of format messages, data type, safe class, usage cycles, data capacity size and corresponding when
Between stab;When format messages are for video format, setting is the need of the class information being compressed and compress, and compression is believed
In the corresponding table of breath write message;
Safe class judging unit, for obtaining the safe class of format messages from the corresponding table of message by mobile terminal, in peace
When congruent level is higher than encryption required grade, this format messages is encrypted and jumps to synchronizing frequency determining unit, otherwise
Jump directly to synchronizing frequency determining unit;
Synchronizing frequency determining unit, for continuing to judge the usage cycles of this format messages by mobile terminal, and according to using week
Phase determines the frequency of synchronized transmission;And jump to message compression unit;
Message compression unit, for by mobile terminal according to the compression information in the corresponding table of message judge format messages the need of
Compression and compression class information, for video format message and need compression when, according to hierarchy compression information, form is disappeared
Breath is compressed, and jumps to message sending unit, otherwise jumps directly to message sending unit;
Message sending unit, for by mobile terminal according to data capacity and data type, according to synchronizing frequency determining unit
In transmission frequency corresponding to format messages and message table is simultaneously sent to server;
Memory element, for being judged format messages the need of deciphering by server, according to message after being decrypted in this way
Corresponding table is stored;Otherwise directly stored according to the corresponding table of message.
In the system that modified model mobile terminal of the present invention server end message synchronizes, described memory element
Including:
Server according to the agreement in encapsulation unit, format messages is routed in redundancy backup server.
In the system that modified model mobile terminal of the present invention server end message synchronizes, described message sends
In unit, form, according to data capacity and data type, is disappeared by mobile terminal according to the transmission frequency in synchronizing frequency determining unit
Breath and the corresponding table of message are simultaneously sent to server and include;
Format messages and the corresponding table of message are sent in mobile terminal and set message format pond by mobile terminal;
Message format pond judges whether the data capacity in pond reaches message format pond preset buffer memory capacity, more than or equal to pre-
If during buffer memory capacity, format messages and the corresponding table of message are simultaneously sent to server by message format pond.
In the system that modified model mobile terminal of the present invention server end message synchronizes,
Described taxon also includes the memory period that mobile terminal obtains the format messages after encapsulation, and memory period information is remembered
Record in the corresponding table of message;
Described memory element arranges the storage period of the format messages after this encapsulation according to the memory period in the corresponding table of message.
Implement the method and system that synchronize of modified model mobile terminal server end message that the present invention provides with existing
Technology is compared and is had the advantages that:By mobile terminal by encapsulate after format messages according to data type, safe class,
Usage cycles and data capacity size are classified, and generate the timestamp of the format messages after encapsulation, and message corresponds to
Table, the corresponding table of message describe the data ID of format messages, data type, safe class, usage cycles, data capacity size with
And corresponding timestamp, transmission after higher message data being required to be encrypted for safe class, for safe class
Less demanding message is directly transmitted;By mobile terminal according to data capacity and data type, true according to synchronizing frequency
Format messages and the corresponding table of message are simultaneously sent to server by the transmission frequency in order unit, can substantially reduce mobile terminal
The resource consumption that server synchronizes and the network bandwidth take;Additionally, corresponding to table by arranging message, can be easily
The data ID of reading format message, data type, safe class, usage cycles, data capacity size and corresponding timestamp.
Because the usual capacity of video format message is larger, therefore pass through distinguish the need of be compressed and compress etc.
Level information, situation can be compressed according to actual needs, reduce the occupancy of the network bandwidth.
It is understood that for the person of ordinary skill of the art, can be done with technology according to the present invention design
Go out other various corresponding change and deformation, and all these change the protection model that all should belong to the claims in the present invention with deformation
Enclose.
Claims (8)
1. the method that a kind of modified model mobile terminal server end message synchronizes is it is characterised in that it comprises the steps:
S1, obtain mobile terminal and need synchronous message, synchronization message is encapsulated as following protocol format messages:
A1 A2 A3 A4 A5 A6 A7 DA LL KK AA NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN
NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN CS;
Wherein A1 A2 A3 A4 A5 A6 A7 is to specify relay route node address, and data is along A1 A2 A3 A4 A5 A6
A7 direction transmission DA data transfer direction and current hop series, DA represents direction, and 0 represents transmission downwards, transmits DA+1 downwards,
1 expression is transmitted upwards, transmits DA-1 upwards;LL is data length;KK is control code, and AA is final receiving data node address;
NNNNNNNN is the data of transmission;CS is check bit;
S2, mobile terminal are by the format messages after encapsulating according to data type, safe class, usage cycles and data capacity size
Classified, and generated the timestamp of the format messages after encapsulation, and message is corresponded to table, the corresponding table of message is described form and disappears
The data ID of breath, data type, safe class, usage cycles, data capacity size and corresponding timestamp;In format messages
During for video format, setting is the need of the class information being compressed and compress, and will compress information write message correspondence
In table;
S3, mobile terminal obtain the safe class of format messages from the corresponding table of message, needed for safe class is higher than encryption etc.
During level, this format messages is encrypted and jumps to step S4, otherwise jumps directly to step S4;
S4, mobile terminal continue to judge the usage cycles of this format messages, and determine the frequency of synchronized transmission according to usage cycles;And
Jump to step S5;
S5, mobile terminal judge the grade the need of compression and compression for the format messages according to the compression information in the corresponding table of message
Information, for video format message and need compression when, according to hierarchy compression information, format messages are compressed, and jump to
Step S6, otherwise jumps directly to step S6;
S6, mobile terminal, according to data capacity and data type, and disappear format messages according to the transmission frequency in step S4
The corresponding table of breath is simultaneously sent to server;
S7, server judge format messages the need of deciphering, are stored according to the corresponding table of message after being decrypted in this way;
Otherwise directly stored according to the corresponding table of message.
2. modified model mobile terminal as claimed in claim 1 server end message synchronizes method is it is characterised in that institute
State step S6 to include:
Server according to the agreement in step S1, format messages is routed in redundancy backup server.
3. modified model mobile terminal as claimed in claim 2 server end message synchronizes method is it is characterised in that institute
State in step S5 mobile terminal according to data capacity and data type, according to the transmission frequency in step S4 by format messages and
The corresponding table of message is simultaneously sent to server and includes;
Format messages and the corresponding table of message are sent in mobile terminal and set message format pond by mobile terminal;
Message format pond judges whether the data capacity in pond reaches message format pond preset buffer memory capacity, more than or equal to pre-
If during buffer memory capacity, format messages and the corresponding table of message are simultaneously sent to server by message format pond.
4. the method that the modified model mobile terminal server end message as described in any one of claims 1 to 3 synchronizes, it is special
Levy and be,
Described step S2 also includes the memory period that mobile terminal obtains the format messages after encapsulation, and by memory period information record
To in the corresponding table of message;
Described step S6 arranges the storage period of the format messages after this encapsulation according to the memory period in the corresponding table of message.
5. the system that a kind of modified model mobile terminal server end message synchronizes is it is characterised in that it is included as lower unit:
Encapsulation unit, needs synchronous message for obtaining mobile terminal, and synchronization message is encapsulated as following protocol format messages:
A1 A2 A3 A4 A5 A6 A7 DA LL KK AA NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN
NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN NNNNNNNN CS;
Wherein A1 A2 A3 A4 A5 A6 A7 is to specify relay route node address, and data is along A1 A2 A3 A4 A5 A6
A7 direction transmission DA data transfer direction and current hop series, DA represents direction, and 0 represents transmission downwards, transmits DA+1 downwards,
1 expression is transmitted upwards, transmits DA-1 upwards;LL is data length;KK is control code, and AA is final receiving data node address;
NNNNNNNN is the data of transmission;CS is check bit;
Taxon, for by mobile terminal by encapsulate after format messages according to data type, safe class, usage cycles with
And data capacity size classified, and generate the timestamp of the format messages after encapsulation, and message corresponds to table, message corresponds to
Table describe the data ID of format messages, data type, safe class, usage cycles, data capacity size and corresponding when
Between stab;When format messages are for video format, setting is the need of the class information being compressed and compress, and compression is believed
In the corresponding table of breath write message;
Safe class judging unit, for obtaining the safe class of format messages from the corresponding table of message by mobile terminal, in peace
When congruent level is higher than encryption required grade, this format messages is encrypted and jumps to synchronizing frequency determining unit, otherwise
Jump directly to synchronizing frequency determining unit;
Synchronizing frequency determining unit, for continuing to judge the usage cycles of this format messages by mobile terminal, and according to using week
Phase determines the frequency of synchronized transmission;And jump to message compression unit;
Message compression unit, for by mobile terminal according to the compression information in the corresponding table of message judge format messages the need of
Compression and compression class information, for video format message and need compression when, according to hierarchy compression information, form is disappeared
Breath is compressed, and jumps to message sending unit, otherwise jumps directly to message sending unit;
Message sending unit, for by mobile terminal according to data capacity and data type, according to synchronizing frequency determining unit
In transmission frequency corresponding to format messages and message table is simultaneously sent to server;
Memory element, for being judged format messages the need of deciphering by server, according to message after being decrypted in this way
Corresponding table is stored;Otherwise directly stored according to the corresponding table of message.
6. modified model mobile terminal as claimed in claim 5 server end message synchronizes system is it is characterised in that institute
State memory element to include:
Server according to the agreement in encapsulation unit, format messages is routed in redundancy backup server.
7. modified model mobile terminal as claimed in claim 6 server end message synchronizes system is it is characterised in that institute
State in message sending unit mobile terminal according to data capacity and data type, according to the transmission frequency in synchronizing frequency determining unit
Format messages and the corresponding table of message are simultaneously sent to server and include by rate;
Format messages and the corresponding table of message are sent in mobile terminal and set message format pond by mobile terminal;
Message format pond judges whether the data capacity in pond reaches message format pond preset buffer memory capacity, more than or equal to pre-
If during buffer memory capacity, format messages and the corresponding table of message are simultaneously sent to server by message format pond.
8. the system that the modified model mobile terminal server end message as described in any one of claim 5 to 7 synchronizes, it is special
Levy and be,
Described taxon also includes the memory period that mobile terminal obtains the format messages after encapsulation, and memory period information is remembered
Record in the corresponding table of message;
Described memory element arranges the storage period of the format messages after this encapsulation according to the memory period in the corresponding table of message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610491181.1A CN106411692A (en) | 2016-06-29 | 2016-06-29 | Improved method and system enabling information synchronization between mobile end and server end |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610491181.1A CN106411692A (en) | 2016-06-29 | 2016-06-29 | Improved method and system enabling information synchronization between mobile end and server end |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106411692A true CN106411692A (en) | 2017-02-15 |
Family
ID=58006859
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610491181.1A Pending CN106411692A (en) | 2016-06-29 | 2016-06-29 | Improved method and system enabling information synchronization between mobile end and server end |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106411692A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111885038A (en) * | 2020-07-16 | 2020-11-03 | 深圳思凯微电子有限公司 | Data packaging method, device and system and computer readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101998384A (en) * | 2009-08-18 | 2011-03-30 | 中国移动通信集团公司 | Method for encrypting transmission medium stream, encryption server and mobile terminal |
CN103226798A (en) * | 2012-11-13 | 2013-07-31 | 中山大学肿瘤防治中心 | Quality of life condition collection method based on cloud computing |
CN103685333A (en) * | 2012-08-31 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Data synchronization method, terminal equipment, register server and web page server |
CN104283926A (en) * | 2013-07-10 | 2015-01-14 | 腾讯科技(深圳)有限公司 | Data synchronization method, device and server |
CN104320328A (en) * | 2014-10-28 | 2015-01-28 | 中国联合网络通信集团有限公司 | Message synchronization method, terminal and server |
CN104660635A (en) * | 2013-11-20 | 2015-05-27 | 腾讯科技(北京)有限公司 | Message synchronizing method, device and system |
CN105227663A (en) * | 2015-10-09 | 2016-01-06 | 努比亚技术有限公司 | A kind of information synchronization method, terminal equipment and server |
CN105407143A (en) * | 2015-10-26 | 2016-03-16 | 山东金质信息技术有限公司 | Standard data synchronization method |
-
2016
- 2016-06-29 CN CN201610491181.1A patent/CN106411692A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101998384A (en) * | 2009-08-18 | 2011-03-30 | 中国移动通信集团公司 | Method for encrypting transmission medium stream, encryption server and mobile terminal |
CN103685333A (en) * | 2012-08-31 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Data synchronization method, terminal equipment, register server and web page server |
CN103226798A (en) * | 2012-11-13 | 2013-07-31 | 中山大学肿瘤防治中心 | Quality of life condition collection method based on cloud computing |
CN104283926A (en) * | 2013-07-10 | 2015-01-14 | 腾讯科技(深圳)有限公司 | Data synchronization method, device and server |
CN104660635A (en) * | 2013-11-20 | 2015-05-27 | 腾讯科技(北京)有限公司 | Message synchronizing method, device and system |
US20160269483A1 (en) * | 2013-11-20 | 2016-09-15 | Tencent Technology (Shenzhen) Company Limited | Method and Device for Message Synchronization |
CN104320328A (en) * | 2014-10-28 | 2015-01-28 | 中国联合网络通信集团有限公司 | Message synchronization method, terminal and server |
CN105227663A (en) * | 2015-10-09 | 2016-01-06 | 努比亚技术有限公司 | A kind of information synchronization method, terminal equipment and server |
CN105407143A (en) * | 2015-10-26 | 2016-03-16 | 山东金质信息技术有限公司 | Standard data synchronization method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111885038A (en) * | 2020-07-16 | 2020-11-03 | 深圳思凯微电子有限公司 | Data packaging method, device and system and computer readable storage medium |
CN111885038B (en) * | 2020-07-16 | 2022-06-10 | 深圳思凯微电子有限公司 | Data packaging method, device and system and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2498527B1 (en) | Method and equipment for converging plural service data from machine terminal devices | |
EP2846600B1 (en) | M2M communication method and system thereof | |
CN110418322A (en) | Distribution method and system, a kind of node based on bluetooth Mesh network | |
CN104080164B (en) | Method, user equipment and the network controlling entity of Counter Value are attempted in setting connection | |
CN107005837A (en) | The apparatus and method installed for the profile in communication system | |
US11758603B2 (en) | Service request handling | |
WO2011137783A1 (en) | Data processing method, apparatus and system | |
CN107493590A (en) | Data transmission method and device, base station and computer-readable recording medium | |
CN104010276B (en) | A kind of group key tiered management approach, system and the terminal of broadband cluster system | |
CN106331087A (en) | Communication method and system | |
CN109408015A (en) | A kind of multimedia file processing method sends terminal and display terminal | |
CN103748856A (en) | Systems and methods for compressing headers | |
CN110366153A (en) | A kind of method of bluetooth ad hoc network | |
CN106211184A (en) | Microgrid based on microgrid agreement builds method | |
CN108432311A (en) | A kind of resource request method, equipment, network side node and system | |
CN104539749B (en) | A kind of connection method and device based on virtual ip address | |
CN110446206A (en) | Radio Network System and information transferring method | |
CN108696846A (en) | A kind of method that Star Network is accessed from equipment and device | |
CN101888412A (en) | Video push processing method and system serving live broadcast of mobile terminal | |
CN106411692A (en) | Improved method and system enabling information synchronization between mobile end and server end | |
CN104811827A (en) | Message transmitting method, and code stream processing method and device | |
Chen et al. | Cellular based machine to machine communication with un-peer2peer protocol stack | |
ES2347236T3 (en) | CONTINUOUS TRANSMISSION OF MEDIA CONTENTS IN A MULTIMEDIA MESSAGE SERVICE. | |
CN106131148A (en) | A kind of Intelligent sliding moved end and service device end message carry out the method and system synchronized | |
CN106131147A (en) | A kind of mobile terminal and server end message carry out the method and system synchronized |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170215 |
|
RJ01 | Rejection of invention patent application after publication |