CN106357764B - The method of data synchronization and server of mobile terminal - Google Patents

The method of data synchronization and server of mobile terminal Download PDF

Info

Publication number
CN106357764B
CN106357764B CN201610826854.4A CN201610826854A CN106357764B CN 106357764 B CN106357764 B CN 106357764B CN 201610826854 A CN201610826854 A CN 201610826854A CN 106357764 B CN106357764 B CN 106357764B
Authority
CN
China
Prior art keywords
message
synchronized
mobile terminal
historical traffic
sent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610826854.4A
Other languages
Chinese (zh)
Other versions
CN106357764A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610826854.4A priority Critical patent/CN106357764B/en
Publication of CN106357764A publication Critical patent/CN106357764A/en
Application granted granted Critical
Publication of CN106357764B publication Critical patent/CN106357764B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses the method for data synchronization of mobile terminal and server, wherein method includes:In the case that server determines MSN in mobile terminal and another terminal while logged in, the historical traffic consumption of the address list Zhong Ge groups of the MSN is obtained;Needing synchronization message needs before being sent to the mobile terminal, determine the group belonging to the message to be synchronized, if the historical traffic consumption of the group belonging to the message to be synchronized is more than predetermined threshold, the message to be synchronized is stored, and record the message number for not being synchronized to the mobile terminal;Advertisement message is sent to the mobile terminal, the mark of group belonging to the message to be synchronized and not synchronous message number are carried in the advertisement message.The consumption to mobile terminal flow can be reduced, and saves the limited memory space of mobile terminal.

Description

The method of data synchronization and server of mobile terminal
Technical field
The present invention relates to field of computer technology, the method for data synchronization and server of more particularly to a kind of mobile terminal.
Background technology
MSN is all supported multi-terminal equipment while logged at present, such as:Logged on mobile phone and computer.
In the case of being logged on mobile phone and computer, server can enter the information that MSN receives and sends Row is synchronous.
So-called synchronization, the client for the MSN exactly these information being sent on mobile phone and computer;Also It is to say, the client of MSN, in mobile phone side and in computer side, can receives these information.
MSN is by after first installed at present, the individual or group in address list using acquiescence reception and carry Show message.Or without message synchronization after user's setting shielding message.
Above scheme is due to group and may not be certain to be that all information are all not concerned with, therefore user still can many times receive These information, the problem of wasting flow and memory space be present.
The content of the invention
The embodiments of the invention provide a kind of method of data synchronization of mobile terminal and server, for reducing to movement The consumption of terminal flow, and save the limited memory space of mobile terminal.
On the one hand the embodiments of the invention provide a kind of method of data synchronization of mobile terminal, including:
In the case that server determines MSN in mobile terminal and another terminal while logged in, obtain it is described i.e. When bitcom address list Zhong Ge groups historical traffic consumption;
Needing synchronization message needs before being sent to the mobile terminal, determines the group belonging to the message to be synchronized, if institute The historical traffic consumption for stating the group belonging to message to be synchronized is more than predetermined threshold, then stores the message to be synchronized, and remember Record is not synchronized to the message number of the mobile terminal;
Advertisement message is sent to the mobile terminal, the group belonging to the message to be synchronized is carried in the advertisement message The mark of group and not synchronous message number.
In a kind of optional implementation, methods described also includes:
The message acquisition request from the mobile terminal is received, the message obtains request and specifies acquisition described to be synchronized Message;
The message to be synchronized of storage is sent to the mobile terminal.
It is described that the message to be synchronized of storage is sent to the mobile terminal bag in a kind of optional implementation Include:
The word message in the message to be synchronized of storage is sent to the mobile terminal first, obtained receiving picture After instruction fetch, send and the picture that the picture acquisition is specified is corresponded in the message to be synchronized of storage.
In a kind of optional implementation, the historical traffic consumption of the group belonging to the message to be synchronized is more than in advance Determining threshold value includes:
The flow that the historical traffic consumption of group belonging to the message to be synchronized consumes in all groups from height to Low ranking is higher than predetermined rank value;
Or the flow that image information consumes in the historical traffic consumption of the group belonging to the message to be synchronized is more than Predetermined pictures threshold value;
Or the historical traffic consumption of the group belonging to the message to be synchronized accounts for all group traffic total flows Ratio is more than predetermined ratio threshold value.
In a kind of optional implementation, the history of the address list Zhong Ge groups for obtaining the MSN Flow consumption includes:
The historical traffic for obtaining each group that message screening function is not provided with the address list of the MSN disappears Consumption.
The embodiments of the invention provide a kind of server in terms of two, including:
Acquiring unit is consumed, for determining MSN in mobile terminal and another terminal while situation about logging in Under, obtain the historical traffic consumptions of the address list Zhong Ge groups of the MSN;
Group's determining unit, for before needing synchronization message and needing to be sent to the mobile terminal, determining described to be synchronized Group belonging to message;
Memory cell, if the historical traffic consumption for the group belonging to the message to be synchronized is more than predetermined threshold, Then store the message to be synchronized;Record is not synchronized to the message number of the mobile terminal;
Transmitting element, for sending advertisement message to the mobile terminal, treated together described in carrying in the advertisement message Walk the mark of the group belonging to message and not synchronous message number.
In a kind of optional implementation, the server also includes:
Receiving unit, request is obtained for receiving the message from the mobile terminal, the message obtains request and specified Obtain the message to be synchronized;
The transmitting element, it is additionally operable to the message to be synchronized of storage being sent to the mobile terminal.
In a kind of optional implementation, the transmitting element, specifically for the described of storage to be synchronized disappears first Word message in breath is sent to the mobile terminal, after receiving picture and obtaining instruction, sends the described of storage and to be synchronized disappears The picture is corresponded in breath and obtains the picture specified.
In a kind of optional implementation, the historical traffic consumption of the group belonging to the message to be synchronized is more than in advance Determining threshold value includes:
The flow that the historical traffic consumption of group belonging to the message to be synchronized consumes in all groups from height to Low ranking is higher than predetermined rank value;
Or the flow that image information consumes in the historical traffic consumption of the group belonging to the message to be synchronized is more than Predetermined pictures threshold value;
Or the historical traffic consumption of the group belonging to the message to be synchronized accounts for all group traffic total flows Ratio is more than predetermined ratio threshold value.
In a kind of optional implementation, the consumption acquiring unit, specifically for obtaining the MSN Address list in be not provided with message screening function each group historical traffic consumption.
The embodiments of the invention provide a kind of server in terms of three, including:Receiving device, send equipment, processor and Memory;The processor is used to perform the method described in any one provided in an embodiment of the present invention.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:In MSN in movement Terminal and another terminal log in simultaneously in the case that, the historical traffic consumption of address list Zhong Ge groups is obtained;For those streams Amount consumes king-sized group, is as a rule the group that number is especially more or often sends out picture various, if these disappeared All the flow of mobile terminal can be wasted to breath by being transmitted directly to mobile terminal, can also increase MSN in mobile terminal The scale of construction, by first storing these message to be synchronized, after user is received and need the request of these message just sending these treats together Message is walked, can so reduce the consumption to mobile terminal flow, and save the limited memory space of mobile terminal.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these accompanying drawings His accompanying drawing.
Fig. 1 is present invention method schematic flow sheet;
Fig. 2 is present invention method schematic flow sheet;
Fig. 3 is server architecture schematic diagram of the embodiment of the present invention;
Fig. 4 is server architecture schematic diagram of the embodiment of the present invention;
Fig. 5 is server architecture schematic diagram of the embodiment of the present invention;
Fig. 6 is server architecture schematic diagram of the embodiment of the present invention.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, the present invention is made below in conjunction with accompanying drawing into One step it is described in detail, it is clear that the described embodiment only a part of embodiment of the present invention, rather than whole implementation Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made All other embodiment, belongs to the scope of protection of the invention.
The specific application scenarios of adaptable one of the embodiment of the present invention are as follows:
The QQ of user might have many QQ groups, such as:Cell owner group, Tong Xuequn, chat group, work group etc..Each Group's significance level is different, and particularly some group unimportant but message is especially more, and possibility some people especially like Vigorously send out picture, cardon, video etc. a lot;Consumed flow is not said, even if using free network, these overabundance of datas can make i.e. When the bitcom scale of construction it is increasing.Computer side is not bad, and mobile phone side may can't stand.Therefore this hair embodiment is needed Solution.
The embodiments of the invention provide a kind of method of data synchronization of mobile terminal, it is characterised in that including:
101:In the case that server determines MSN in mobile terminal and another terminal while logged in, in acquisition State the historical traffic consumption of the address list Zhong Ge groups of MSN;
Mobile terminal is primarily upon in embodiments of the present invention, this is due to that mobile terminal is more sensitive to flow consumption, The limited storage space of other mobile terminal, if the MSN scale of construction cross conference the performance of mobile terminal is caused it is larger Influence.
102:Needing synchronization message needs before being sent to above-mentioned mobile terminal, determines the group belonging to above-mentioned message to be synchronized, If the historical traffic consumption of the group belonging to above-mentioned message to be synchronized is more than predetermined threshold, above-mentioned message to be synchronized is stored, And record the message number for not being synchronized to above-mentioned mobile terminal;
Message to be synchronized refers to the message that receiving terminal is above-mentioned MSN, because MSN is mobile whole End and another terminal are logged in simultaneously, and message should be sent to the mobile terminal and above-mentioned another terminal as requested, because This is properly termed as message to be synchronized.
103:Advertisement message is sent to above-mentioned mobile terminal, is carried in above-mentioned advertisement message belonging to above-mentioned message to be synchronized Group mark and not synchronous message number.
It is understood that in the present embodiment, only have sent advertisement message do not send actual message to be synchronized to Mobile terminal.
In MSN simultaneously in the case where mobile terminal and another terminal log in, address list Zhong Ge groups are obtained Historical traffic consumption;King-sized group is consumed for those flows, is as a rule that number is especially sent out more or often The group of various pictures, if these message are all transmitted directly into mobile terminal can waste the flow of mobile terminal, can also Increase MSN in the scale of construction of mobile terminal, by first storing these message to be synchronized, need this receiving user These message to be synchronized are just sent after the request of a little message, can so reduce the consumption to mobile terminal flow, and save shifting The limited memory space of dynamic terminal.
Further, the embodiment of the present invention additionally provides the specific implementation that the message to be synchronized of storage is sent to mobile terminal Scheme:The above method also includes:
The message acquisition request from above-mentioned mobile terminal is received, above-mentioned message obtains request and specifies acquisition above-mentioned to be synchronized Message;
The above-mentioned message to be synchronized of storage is sent to above-mentioned mobile terminal.
In the present embodiment, message is initiated by mobile terminal and obtains request, message based on mobile terminal obtain demand come Message to be synchronized is sent, can so reduce to greatest extent should not the possibility that is sent of message.
Further, due to all message to be synchronized directly are sent into mobile terminal, in this case it is still possible to be transmitted across more disappear Breath, and consumes excessive flow, the MSN scale of construction is become too much, based on this embodiment of the present invention additionally provide as Lower scheme:It is above-mentioned the above-mentioned message to be synchronized of storage is sent to above-mentioned mobile terminal to include:
The word message in the above-mentioned message to be synchronized of storage is sent to above-mentioned mobile terminal first, obtained receiving picture After instruction fetch, send and the picture that above-mentioned picture acquisition is specified is corresponded in the above-mentioned message to be synchronized of storage.
The present embodiment, the process that message to be synchronized is sent to mobile terminal are divided into two sections, first send out word message, in user again In the case of secondary proposition demand, picture corresponding to transmission, the picture for sending out unnecessary less as far as possible.It can incite somebody to action in embodiments of the present invention The category of picture, which expands, to be interpreted as:Static picture, i.e.,:Picture on ordinary meaning, dynamic picture is can also be, such as: Cardon, it can also be video.
The present embodiment additionally provides the historical traffic consumption by group to be needed to carry out message control to be synchronized to distinguish The specific implementation of transmission is as follows:The historical traffic consumption of group belonging to above-mentioned message to be synchronized is more than predetermined threshold Including:
The flow that the historical traffic consumption of group belonging to above-mentioned message to be synchronized consumes in all groups from height to Low ranking is higher than predetermined rank value;
Or the flow that image information consumes in the historical traffic consumption of the group belonging to above-mentioned message to be synchronized is more than Predetermined pictures threshold value;
Or the historical traffic consumption of the group belonging to above-mentioned message to be synchronized accounts for all group traffic total flows Ratio is more than predetermined ratio threshold value.
In the present embodiment, there is provided three kinds of optional implementations are not, it is necessary to which explanation, three above scheme are these Determine to need to carry out all exhaustions that message control to be synchronized is sent in inventive embodiments, therefore should not be construed as to of the invention real Applying example has uniqueness restriction.
Preferably, in the embodiment of the present invention, because some message groups may be already provided with message screening function, example Such as:Do not receive message;So in this case, these groups can not be analyzed, can so reduces data analysis amount, And it is more accurate follow-up message to be synchronized is sent to mobile terminal, specific as follows:The above-mentioned above-mentioned MSN of acquisition leads to The historical traffic consumption of Xun Luzhongge groups includes:
The historical traffic for obtaining each group that message screening function is not provided with the address list of above-mentioned MSN disappears Consumption.
As shown in Fig. 2 the embodiment of the present invention additionally provides the flow chart based on communication system interaction, in the communication system Include three equipment:Mobile terminal, mobile phone and PC;The synchronization object of data to be synchronized:PC and mobile phone;Control Control equipment:The server of the client operator of MSN;Particular flow sheet is as follows:
201st, MSN logs in mobile phone and PC;
202nd, determine, if message will be synchronized to mobile phone, to obtain the QQ in above-mentioned MSN in server-side The more group of group's consumed flow, gives tacit consent to these group of asynchronous message;Record needs synchronous message number, and informs mobile phone;
If message will be synchronized to PC, be able to can also be held directly synchronously without carrying out Strategy For Synchronization Control Row Strategy For Synchronization Control;The contrast embodiment of the present invention does not make uniqueness limitation.
203rd, after the MSN during user opens mobile phone, the message bar number not received is shown;
204th, MSN sends message to server and obtains request, so after receiving user and selecting to receive Corresponding message is received afterwards;After user selects to receive picture, then send out a picture and obtain request, download pictures.
Understood based on described above:The Synchronization Control scheme of mobile phone side:Obtain the group more than consumed flow, example inside mobile phone Such as:Especially active group, the especially more group of number, always like send out picture group;Give tacit consent to these group photos and sending messages bar numbers, message is temporary Server is deposited, user selects to receive, just message is sent, and user's reselection receives picture, then sends out picture.
Using above scheme, the memory space of mobile phone side can be greatlyd save, reduces the reception of unnecessary message.
The embodiment of the present invention additionally provides a kind of server, as shown in figure 3, including:
Acquiring unit 301 is consumed, for determining MSN in mobile terminal and another terminal while the feelings that log in Under condition, the historical traffic consumption of the address list Zhong Ge groups of above-mentioned MSN is obtained;
Group's determining unit 302, for before needing synchronization message and needing to be sent to above-mentioned mobile terminal, determining above-mentioned treat together Walk the group belonging to message;
Memory cell 303, if the historical traffic consumption for the group belonging to above-mentioned message to be synchronized is more than predetermined threshold Value, then store above-mentioned message to be synchronized;Record is not synchronized to the message number of above-mentioned mobile terminal;
Transmitting element 304, for sending advertisement message to above-mentioned mobile terminal, above-mentioned treat is carried in above-mentioned advertisement message The mark of group belonging to synchronization message and not synchronous message number.
Mobile terminal is primarily upon in embodiments of the present invention, this is due to that mobile terminal is more sensitive to flow consumption, The limited storage space of other mobile terminal, if the MSN scale of construction cross conference the performance of mobile terminal is caused it is larger Influence.
Message to be synchronized refers to the message that receiving terminal is above-mentioned MSN, because MSN is mobile whole End and another terminal are logged in simultaneously, and message should be sent to the mobile terminal and above-mentioned another terminal as requested, because This is properly termed as message to be synchronized.
It is understood that in the present embodiment, only have sent advertisement message do not send actual message to be synchronized to Mobile terminal.
In MSN simultaneously in the case where mobile terminal and another terminal log in, address list Zhong Ge groups are obtained Historical traffic consumption;King-sized group is consumed for those flows, is as a rule that number is especially sent out more or often The group of various pictures, if these message are all transmitted directly into mobile terminal can waste the flow of mobile terminal, can also Increase MSN in the scale of construction of mobile terminal, by first storing these message to be synchronized, need this receiving user These message to be synchronized are just sent after the request of a little message, can so reduce the consumption to mobile terminal flow, and save shifting The limited memory space of dynamic terminal.
Further, the embodiment of the present invention additionally provides the specific implementation that the message to be synchronized of storage is sent to mobile terminal Scheme:As shown in figure 4, above-mentioned server also includes:
Receiving unit 401, request is obtained for receiving the message from above-mentioned mobile terminal, above-mentioned message obtains request and referred to Surely above-mentioned message to be synchronized is obtained;
Above-mentioned transmitting element 304, it is additionally operable to the above-mentioned message to be synchronized of storage being sent to above-mentioned mobile terminal.
In the present embodiment, message is initiated by mobile terminal and obtains request, message based on mobile terminal obtain demand come Message to be synchronized is sent, can so reduce to greatest extent should not the possibility that is sent of message.
Further, due to all message to be synchronized directly are sent into mobile terminal, in this case it is still possible to be transmitted across more disappear Breath, and consumes excessive flow, the MSN scale of construction is become too much, based on this embodiment of the present invention additionally provide as Lower scheme:Above-mentioned transmitting element 304, the word message in the above-mentioned message to be synchronized of storage is sent to specifically for first above-mentioned Mobile terminal, after receiving picture and obtaining instruction, send and correspond to the acquisition of above-mentioned picture in the above-mentioned message to be synchronized of storage and refers to Make the picture specified.
The present embodiment, the process that message to be synchronized is sent to mobile terminal are divided into two sections, first send out word message, in user again In the case of secondary proposition demand, picture corresponding to transmission, the picture for sending out unnecessary less as far as possible.It can incite somebody to action in embodiments of the present invention The category of picture, which expands, to be interpreted as:Static picture, i.e.,:Picture on ordinary meaning, dynamic picture is can also be, such as: Cardon, it can also be video.
The present embodiment additionally provides the historical traffic consumption by group to be needed to carry out message control to be synchronized to distinguish The specific implementation of transmission is as follows:The historical traffic consumption of group belonging to above-mentioned message to be synchronized is more than predetermined threshold Including:
The flow that the historical traffic consumption of group belonging to above-mentioned message to be synchronized consumes in all groups from height to Low ranking is higher than predetermined rank value;
Or the flow that image information consumes in the historical traffic consumption of the group belonging to above-mentioned message to be synchronized is more than Predetermined pictures threshold value;
Or the historical traffic consumption of the group belonging to above-mentioned message to be synchronized accounts for all group traffic total flows Ratio is more than predetermined ratio threshold value.
In the present embodiment, there is provided three kinds of optional implementations are not, it is necessary to which explanation, three above scheme are these Determine to need to carry out all exhaustions that message control to be synchronized is sent in inventive embodiments, therefore should not be construed as to of the invention real Applying example has uniqueness restriction.
Preferably, in the embodiment of the present invention, because some message groups may be already provided with message screening function, example Such as:Do not receive message;So in this case, these groups can not be analyzed, can so reduces data analysis amount, And it is more accurate follow-up message to be synchronized is sent to mobile terminal, specific as follows:Above-mentioned consumption acquiring unit 301, is specifically used for Obtain the historical traffic consumption for each group that message screening function is not provided with the address list of above-mentioned MSN.
The embodiment of the present invention additionally provides another server, as shown in figure 5, including:Receiving device 501, send equipment 502nd, processor 503 and memory 504;Wherein memory 504 may be used to provide processor 503 and perform data processing Caching in journey, it can be used for providing the memory space of other message for example to be synchronized;
Above-mentioned processor 503, for determining MSN in mobile terminal and another terminal while situation about logging in Under, obtain the historical traffic consumptions of the address list Zhong Ge groups of above-mentioned MSN;Needing synchronization message needs to be sent to Before above-mentioned mobile terminal, the group belonging to above-mentioned message to be synchronized is determined, if the history of the group belonging to above-mentioned message to be synchronized Flow consumption is more than predetermined threshold, then stores above-mentioned message to be synchronized, and record the message for not being synchronized to above-mentioned mobile terminal Quantity;Advertisement message is sent to above-mentioned mobile terminal, the group belonging to above-mentioned message to be synchronized is carried in above-mentioned advertisement message Mark and not synchronous message number.
Mobile terminal is primarily upon in embodiments of the present invention, this is due to that mobile terminal is more sensitive to flow consumption, The limited storage space of other mobile terminal, if the MSN scale of construction cross conference the performance of mobile terminal is caused it is larger Influence.
Message to be synchronized refers to the message that receiving terminal is above-mentioned MSN, because MSN is mobile whole End and another terminal are logged in simultaneously, and message should be sent to the mobile terminal and above-mentioned another terminal as requested, because This is properly termed as message to be synchronized.
It is understood that in the present embodiment, only have sent advertisement message do not send actual message to be synchronized to Mobile terminal.
In MSN simultaneously in the case where mobile terminal and another terminal log in, address list Zhong Ge groups are obtained Historical traffic consumption;King-sized group is consumed for those flows, is as a rule that number is especially sent out more or often The group of various pictures, if these message are all transmitted directly into mobile terminal can waste the flow of mobile terminal, can also Increase MSN in the scale of construction of mobile terminal, by first storing these message to be synchronized, need this receiving user These message to be synchronized are just sent after the request of a little message, can so reduce the consumption to mobile terminal flow, and save shifting The limited memory space of dynamic terminal.
Further, the embodiment of the present invention additionally provides the specific implementation that the message to be synchronized of storage is sent to mobile terminal Scheme:Above-mentioned processor 503, is additionally operable to receive the message acquisition request from above-mentioned mobile terminal, and above-mentioned message obtains request Specify and obtain above-mentioned message to be synchronized;
The above-mentioned message to be synchronized of storage is sent to above-mentioned mobile terminal.
In the present embodiment, message is initiated by mobile terminal and obtains request, message based on mobile terminal obtain demand come Message to be synchronized is sent, can so reduce to greatest extent should not the possibility that is sent of message.
Further, due to all message to be synchronized directly are sent into mobile terminal, in this case it is still possible to be transmitted across more disappear Breath, and consumes excessive flow, the MSN scale of construction is become too much, based on this embodiment of the present invention additionally provide as Lower scheme:Above-mentioned processor 503, include for the above-mentioned message to be synchronized of storage to be sent into above-mentioned mobile terminal:
The word message in the above-mentioned message to be synchronized of storage is sent to above-mentioned mobile terminal first, obtained receiving picture After instruction fetch, send and the picture that above-mentioned picture acquisition is specified is corresponded in the above-mentioned message to be synchronized of storage.
The present embodiment, the process that message to be synchronized is sent to mobile terminal are divided into two sections, first send out word message, in user again In the case of secondary proposition demand, picture corresponding to transmission, the picture for sending out unnecessary less as far as possible.It can incite somebody to action in embodiments of the present invention The category of picture, which expands, to be interpreted as:Static picture, i.e.,:Picture on ordinary meaning, dynamic picture is can also be, such as: Cardon, it can also be video.
The present embodiment additionally provides the historical traffic consumption by group to be needed to carry out message control to be synchronized to distinguish The specific implementation of transmission is as follows:The historical traffic consumption of group belonging to above-mentioned message to be synchronized is more than predetermined threshold Including:
The flow that the historical traffic consumption of group belonging to above-mentioned message to be synchronized consumes in all groups from height to Low ranking is higher than predetermined rank value;
Or the flow that image information consumes in the historical traffic consumption of the group belonging to above-mentioned message to be synchronized is more than Predetermined pictures threshold value;
Or the historical traffic consumption of the group belonging to above-mentioned message to be synchronized accounts for all group traffic total flows Ratio is more than predetermined ratio threshold value.
In the present embodiment, there is provided three kinds of optional implementations are not, it is necessary to which explanation, three above scheme are these Determine to need to carry out all exhaustions that message control to be synchronized is sent in inventive embodiments, therefore should not be construed as to of the invention real Applying example has uniqueness restriction.
Preferably, in the embodiment of the present invention, because some message groups may be already provided with message screening function, example Such as:Do not receive message;So in this case, these groups can not be analyzed, can so reduces data analysis amount, And it is more accurate follow-up message to be synchronized is sent to mobile terminal, specific as follows:Above-mentioned processor 503, for obtain it is above-mentioned i.e. When bitcom the historical traffic consumptions of address list Zhong Ge groups include:
The historical traffic for obtaining each group that message screening function is not provided with the address list of above-mentioned MSN disappears Consumption.
Fig. 6 is a kind of server architecture schematic diagram provided in an embodiment of the present invention, and the server 600 can be because of configuration or performance It is different and produce bigger difference, one or more central processing units (central processing can be included Units, CPU) 622 (for example, one or more processors) and memory 632, one or more storages apply journey The storage medium 630 of sequence 642 or data 644 (such as one or more mass memory units).Wherein, the He of memory 632 Storage medium 630 can be of short duration storage or persistently storage.Can be included by being stored in the program of storage medium 630 by one or one With upper module (diagram does not mark), each module can include operating the series of instructions in server.Further, in Central processor 622 could be arranged to communicate with storage medium 630, be performed on server 600 a series of in storage medium 630 Command operating.
Server 600 can also include one or more power supplys 626, one or more wired or wireless networks Interface 650, one or more input/output interfaces 658, and/or, one or more operating systems 641, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Can be based on the server architecture shown in the Fig. 6 as the step performed by server in above-described embodiment.
It is worth noting that, in above-mentioned server example, included unit is simply carried out according to function logic Division, but above-mentioned division is not limited to, as long as corresponding function can be realized;In addition, the tool of each functional unit Body title is also only to facilitate mutually distinguish, the protection domain being not intended to limit the invention.
In addition, one of ordinary skill in the art will appreciate that realize all or part of step in above-mentioned each method embodiment It is that by program the hardware of correlation can be instructed to complete, corresponding program can be stored in a kind of computer-readable recording medium In, storage medium mentioned above can be read-only storage, disk or CD etc..
The preferable embodiment of the present invention is these are only, but protection scope of the present invention is not limited thereto, it is any Those familiar with the art the change that can readily occur in or replaces in the technical scope that the embodiment of the present invention discloses Change, should all be included within the scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of claim Enclose and be defined.

Claims (12)

  1. A kind of 1. method of data synchronization of mobile terminal, it is characterised in that including:
    In the case that server determines MSN in mobile terminal and another terminal while logged in, the IMU is obtained Interrogate the historical traffic consumption of the address list Zhong Ge groups of software;
    Needing synchronization message needs before being sent to the mobile terminal, the group belonging to the message to be synchronized is determined, if described treat The historical traffic consumption of group belonging to synchronization message is more than predetermined threshold, then stores the message to be synchronized, and record not It is synchronized to the message number of the mobile terminal;
    Advertisement message is sent to the mobile terminal, group belonging to the message to be synchronized is carried in the advertisement message Mark and not synchronous message number.
  2. 2. method according to claim 1, it is characterised in that methods described also includes:
    Receive message from the mobile terminal and obtain request, the message, which obtains request, specifies and obtain described to be synchronized disappear Breath;
    The message to be synchronized of storage is sent to the mobile terminal.
  3. 3. method according to claim 2, it is characterised in that described that the message to be synchronized of storage is sent to the movement Terminal includes:
    The word message in the message to be synchronized of storage is sent to the mobile terminal first, referred to receiving picture and obtaining After order, send and the picture that the picture acquisition is specified is corresponded in the message to be synchronized of storage.
  4. 4. according to claims 1 to 3 any one methods described, it is characterised in that group belonging to the message to be synchronized Historical traffic consumption includes more than predetermined threshold:
    The flow that the historical traffic consumption of group belonging to the message to be synchronized consumes in all groups is arranged from high to low Name is higher than predetermined rank value;
    Or the flow that image information consumes in the historical traffic consumption of the group belonging to the message to be synchronized is more than predetermined Picture threshold value;
    Or the historical traffic consumption of the group belonging to the message to be synchronized accounts for the ratio of all group traffic total flows More than predetermined ratio threshold value.
  5. 5. according to claims 1 to 3 any one methods described, it is characterised in that the acquisition MSN The historical traffic consumption of address list Zhong Ge groups includes:
    Obtain the historical traffic consumption for each group that message screening function is not provided with the address list of the MSN.
  6. A kind of 6. server, it is characterised in that including:
    Acquiring unit is consumed, in the case of determining MSN in mobile terminal and another terminal while logging in, obtaining Take the historical traffic consumption of the address list Zhong Ge groups of the MSN;
    Group's determining unit, for before needing synchronization message and needing to be sent to the mobile terminal, determining the message to be synchronized Affiliated group;
    Memory cell, if the historical traffic consumption for the group belonging to the message to be synchronized is more than predetermined threshold, deposit Store up the message to be synchronized;Record is not synchronized to the message number of the mobile terminal;
    Transmitting element, for sending advertisement message to the mobile terminal, described to be synchronized disappear is carried in the advertisement message The mark of group belonging to breath and not synchronous message number.
  7. 7. server according to claim 6, it is characterised in that the server also includes:
    Receiving unit, request is obtained for receiving the message from the mobile terminal, the message is obtained to ask to specify and obtained The message to be synchronized;
    The transmitting element, it is additionally operable to the message to be synchronized of storage being sent to the mobile terminal.
  8. 8. server according to claim 7, it is characterised in that
    The transmitting element, the word message in the message to be synchronized of storage is sent to specifically for first described mobile whole End, after receiving picture and obtaining instruction, send and correspond to the picture in the message to be synchronized of storage to obtain instruction specified Picture.
  9. 9. according to server described in claim 6 to 8 any one, it is characterised in that the group belonging to the message to be synchronized Historical traffic consumption include more than predetermined threshold:
    The flow that the historical traffic consumption of group belonging to the message to be synchronized consumes in all groups is arranged from high to low Name is higher than predetermined rank value;
    Or the flow that image information consumes in the historical traffic consumption of the group belonging to the message to be synchronized is more than predetermined Picture threshold value;
    Or the historical traffic consumption of the group belonging to the message to be synchronized accounts for the ratio of all group traffic total flows More than predetermined ratio threshold value.
  10. 10. according to server described in claim 6 to 8 any one, it is characterised in that
    The consumption acquiring unit, specifically for being not provided with message screening function in the address list of the acquisition MSN Each group historical traffic consumption.
  11. 11. a kind of server, including:Receiving device, send equipment, processor and memory;Characterized in that, the processing Device connects with the memory, the receiving device with the transmission equipment respectively;The memory exists for providing processor Perform the caching in data handling procedure;The receiving device is used to receive message, and the transmission equipment is used to send message;Institute State method of the processor described in for perform claim 1 to 5 any one of requirement.
  12. 12. a kind of server, including:Receiving device, send equipment, processor and memory;Characterized in that, the processing Device connects with the memory, the receiving device with the transmission equipment respectively;The memory is used to provide memory space; The receiving device is used to receive message, and the transmission equipment is used to send message;The processor is used for perform claim requirement 1 To the method described in 5 any one.
CN201610826854.4A 2016-09-14 2016-09-14 The method of data synchronization and server of mobile terminal Active CN106357764B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610826854.4A CN106357764B (en) 2016-09-14 2016-09-14 The method of data synchronization and server of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610826854.4A CN106357764B (en) 2016-09-14 2016-09-14 The method of data synchronization and server of mobile terminal

Publications (2)

Publication Number Publication Date
CN106357764A CN106357764A (en) 2017-01-25
CN106357764B true CN106357764B (en) 2018-03-02

Family

ID=57859918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610826854.4A Active CN106357764B (en) 2016-09-14 2016-09-14 The method of data synchronization and server of mobile terminal

Country Status (1)

Country Link
CN (1) CN106357764B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107070774A (en) * 2017-03-14 2017-08-18 广东小天才科技有限公司 A kind of social message treatment method and service equipment
CN110263099B (en) * 2019-06-21 2021-07-13 北京小米移动软件有限公司 Data synchronization flow adjustment method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7693534B1 (en) * 2006-12-05 2010-04-06 Sprint Spectrum L.P. Method and apparatus for dynamic selection of complete or referenced group indication when initiating a group communication session
CN102638416A (en) * 2012-03-27 2012-08-15 上海量明科技发展有限公司 Method for checking IM (instant messaging) information when multiple clients are logged in, client and system
CN103051520A (en) * 2013-01-05 2013-04-17 北京小米科技有限责任公司 Method and device for synchronizing offline session messages in instant messaging tool
CN105530272A (en) * 2014-09-29 2016-04-27 阿里巴巴集团控股有限公司 Method and device for application data synchronization

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7693534B1 (en) * 2006-12-05 2010-04-06 Sprint Spectrum L.P. Method and apparatus for dynamic selection of complete or referenced group indication when initiating a group communication session
CN102638416A (en) * 2012-03-27 2012-08-15 上海量明科技发展有限公司 Method for checking IM (instant messaging) information when multiple clients are logged in, client and system
CN103051520A (en) * 2013-01-05 2013-04-17 北京小米科技有限责任公司 Method and device for synchronizing offline session messages in instant messaging tool
CN105530272A (en) * 2014-09-29 2016-04-27 阿里巴巴集团控股有限公司 Method and device for application data synchronization

Also Published As

Publication number Publication date
CN106357764A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
US10212236B2 (en) Information transmitting method and apparatus in robot operating system
CN108881227B (en) Operation control method and device of remote whiteboard system and remote whiteboard system
CN102882974A (en) Method for saving website access resource by website identification version number
CN109981715B (en) Session management method and device
CN105657000A (en) Message transmission method and device
CN110532205A (en) Data transmission method, device, computer equipment and computer readable storage medium
CN106021512A (en) Page refresh method and apparatus
CN106357764B (en) The method of data synchronization and server of mobile terminal
CN111371704B (en) Data caching method and device, terminal equipment and storage medium
CN106649600A (en) Way, device and system of migrating file permissions
CN104753922A (en) Method for pre-loading, server side, client and system
CN103377280A (en) Information processing apparatus and method, program, and information processing system
CN101770511A (en) Browse system for accelerating backspace operation of mobile communication equipment terminal and application method thereof
CN112052163B (en) High concurrency webpage pressure testing method and device, electronic equipment and storage medium
CN111126604B (en) Model training method, device, server and storage medium
CN103034632A (en) Information transmitting method and a system
CN107707424A (en) The control method and system of load condition
CN109922120B (en) Method and terminal for improving DNS availability
CN104079368B (en) A kind of the test data transmission method and server of application software
CN108388943B (en) Pooling device and method suitable for neural network
CN114402313A (en) Label updating method and device, electronic equipment and storage medium
CN115866035A (en) Multithreading data high-speed pushing method, system, controller and storage medium
CN105912477B (en) A kind of method, apparatus and system that catalogue is read
CN104022923A (en) Network interface device and system as well as network data accessing method
CN112688980B (en) Resource distribution method and device, and computer equipment

Legal Events

Date Code Title Description
C06 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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.