CN107402975A - A kind of information processing method, server and terminal - Google Patents

A kind of information processing method, server and terminal Download PDF

Info

Publication number
CN107402975A
CN107402975A CN201710530453.9A CN201710530453A CN107402975A CN 107402975 A CN107402975 A CN 107402975A CN 201710530453 A CN201710530453 A CN 201710530453A CN 107402975 A CN107402975 A CN 107402975A
Authority
CN
China
Prior art keywords
information
sequence
terminal
mentioned
target
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.)
Withdrawn
Application number
CN201710530453.9A
Other languages
Chinese (zh)
Inventor
陈杜英
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201710530453.9A priority Critical patent/CN107402975A/en
Publication of CN107402975A publication Critical patent/CN107402975A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a kind of information processing method, server and terminal, wherein method includes:The information exploitation request for carrying out self terminal is received, described information pulls request and carries intended application in original series corresponding to the terminal, and the original series are the sequence corresponding to the information for the intended application pulled described terminal the last time;Pulled from described information in request and obtain the original series, the intended application is obtained in target sequence corresponding to server, the target sequence is the sequence corresponding to the target information for the intended application of the server storage, and the target information is information corresponding with the terminal in the server;In the case of the original series and the target sequence identical, refusal described information pulls request.The embodiment of the present invention is applied in original series corresponding to terminal and the intended application in target sequence corresponding to server by comparison object, it is possible to reduce inquiry operation.

Description

A kind of information processing method, server and terminal
Technical field
The present invention relates to Internet technical field, more particularly to a kind of information processing method, server and terminal.
Background technology
With the popularization of network infrastructure, the type and quantity of internet works software also increasingly increase.Generally, such as based on The internet applications of client/server (C/S) framework etc. all have information exploitation function.
Generally, message push server needs blocking message being stored in database, when user pulls, from database It is middle inquiry whether the blocking message in need issued to the terminal of the user.In order to ensure the promptness of message, in terminal Some application it is online during, can regularly pull message.For example, after user logs in some application in terminal, this applies meeting Carry out primary information within every 10 minutes to pull, message pulls the inquiry that can all cause a database each time, to storage packet disappears The database of breath brings larger inquiry pressure.If in this period, the not new message of the application is submitted, message push clothes Business device needs to issue to the terminal there will be no new message, in this period the database query operations of the user be all need not Want, be even more to bring meaningless pressure to database.
In actual applications, using above-mentioned technical proposal, inquiry operation can be increased, aggravate the burden of database.
The content of the invention
The embodiment of the present invention provides a kind of information processing method, server and terminal, can reduce the inquiry operation of server, Mitigate database burden.
In a first aspect, the embodiments of the invention provide a kind of information processing method, this method includes:
The information exploitation request for carrying out self terminal is received, described information pulls request and carries intended application in the terminal-pair The original series answered, the original series are right for the information for the intended application that described terminal the last time pulls The sequence answered;
Pulled from described information in request and obtain the original series, obtain the intended application in mesh corresponding to server Sequence is marked, the target sequence is the sequence corresponding to the target information for the intended application of the server storage, The target information is information corresponding with the terminal in the server;
In the case of the original series and the target sequence identical, refusal described information pulls request.
Second aspect, the embodiments of the invention provide another information processing method, this method includes:
Terminal to server sends information exploitation request, and described information pulls request and carries intended application in the terminal Corresponding original series, the information institute for the intended application that the original series pull for described terminal the last time Corresponding sequence;
Receive target information and sequence more new command that the server pulls request transmission for described information;
According to the sequence more new command, the intended application is updated to target in original series corresponding to the terminal Sequence, the target sequence are sequence corresponding to the target information.
The third aspect, the embodiments of the invention provide a kind of server, the server includes:
Receiving unit, come for receiving self terminal information exploitation request, described information pull request carry target should Used in original series corresponding to the terminal, the original series be described terminal the last time pull be directed to the target Sequence corresponding to the information of application;
Acquiring unit, the original series are obtained for being pulled from described information in request, the intended application is obtained and exists Target sequence corresponding to server, the target sequence are the target information for the intended application of the server storage Corresponding sequence, the target information are information corresponding with the terminal in the server;
Determining unit, for determining the original series and the target sequence identical situation;
Refuse unit, request is pulled for refusing described information.
Fourth aspect, the embodiments of the invention provide a kind of terminal, the terminal includes:
Transmitting element, for sending information exploitation request to server, described information pulls request and carries intended application In original series corresponding to terminal, the original series are to pull described terminal the last time for the intended application Sequence corresponding to information;
Receiving unit, the target information and sequence of asking to send are pulled for described information for receiving the server More new command;
Updating block, for according to the sequence more new command, by the intended application original corresponding to the terminal Sequence is updated to target sequence, and the target sequence is sequence corresponding to the target information.
5th aspect, the embodiments of the invention provide a kind of equipment, including processor, input equipment, output equipment and deposit Reservoir, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory, which is used to store, to be supported Terminal perform the above method application code, the processor be arranged to perform above-mentioned first aspect method or on The method for stating second aspect.The equipment can be server or terminal.
6th aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage medium Computer program is stored with, the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor State the method for the above-mentioned first aspect of computing device or the method for above-mentioned second aspect.
The embodiment of the present invention is applied in original series corresponding to terminal and the intended application in server by comparison object Corresponding target sequence, it is determined whether need to carry out data query, it is possible to reduce inquiry operation, mitigate database burden.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it is required in being described below to embodiment to use Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow diagram of information processing method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow diagram for information approach that another embodiment of the present invention provides;
Fig. 3 is a kind of schematic flow diagram for information approach that another embodiment of the present invention provides;
Fig. 4 is a kind of sequence renewal schematic diagram for application that another embodiment of the present invention provides;
Fig. 5 is a kind of schematic flow diagram for information approach that another embodiment of the present invention provides;
Fig. 6 is a kind of schematic block diagram of server provided in an embodiment of the present invention;
Fig. 7 is a kind of server schematic block diagram that another embodiment of the present invention provides;
Fig. 8 is a kind of server schematic block diagram that another embodiment of the present invention provides;
Fig. 9 is a kind of terminal schematic block diagram provided in an embodiment of the present invention;
Figure 10 is a kind of server schematic block diagram that another embodiment of the present invention provides;
Figure 11 is a kind of terminal schematic block diagram that another embodiment of the present invention provides;
Figure 12 is a kind of terminal schematic block diagram that another embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and appended claims is Refer to any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but with tactile Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application Program, telephony application, videoconference application, email application, instant messaging applications, exercise Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use at least one public of such as touch sensitive surface Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal is (for example, touch Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
Referring to Fig. 1, it is a kind of schematic flow diagram of information processing method provided in an embodiment of the present invention, as shown in figure 1, being somebody's turn to do Method may include:
101st, the information exploitation request for carrying out self terminal is received;
Above- mentioned information pulls request and carries intended application is in original series corresponding to above-mentioned terminal, above-mentioned original series The sequence corresponding to the information for above-mentioned intended application that above-mentioned terminal the last time pulls.Above- mentioned information pulls request and used In pulling the information corresponding at least one application in above-mentioned terminal.
Above-mentioned terminal can be mobile phone, tablet personal computer, personal digital assistant, desktop computer, wearable device etc..In order to protect Demonstrate,prove message promptness, above-mentioned terminal it is online during, can by server timing pull information.It is above-mentioned to be in line process When above-mentioned terminal access wireless network.For example, in order to obtain newest weather conditions, terminal can be sent out to server The information exploitation for weather application is sent to ask, and what is once pulled in carrying in information exploitation request is directed to the weather Sequence corresponding to the information of application.Again for example, it is to pull the last time for intended application that terminal is last The sequence of information is " 108 ", and intended application is " 108 " in original series corresponding to the terminal.
102nd, pulled from above- mentioned information in request and obtain above-mentioned original series, it is corresponding in server to obtain above-mentioned intended application Target sequence;
Above-mentioned target sequence is the sequence corresponding to the target information for above-mentioned intended application of above-mentioned server storage, Above-mentioned target information is information corresponding with above-mentioned terminal in above-mentioned server.Above-mentioned target information can be effective information.
Table one
Table 1 is referred to, table 1 is the message applied under different labels stored in database corresponding to server, each Corresponding at least one information of row, the corresponding label of every information.Message submission time in table 1 be get information when Between, expired time is the time of information failure.For example, sequence is the information of " 100 " in " 2017-05-01 20:00:00” Store in database corresponding to server, the information is in " 2017-05-05 08:00:After 00 ", in failure state.No With the corresponding one group of terminal for possessing different tag attributes of message under label.For example, label is corresponding to the information of label 1 Terminal is to be currently located one group of terminal that city is Shenzhen, and label is that terminal corresponding to the information of label 2 is to be currently located city For one group of Pekinese terminal, this two groups of terminals possess different tag attributes, and one group of terminal possesses that to be presently in place be Shenzhen Tag attributes, another group of terminal possess that to be presently in place be Pekinese's tag attributes.Can be with by label corresponding to terminal Determine target information corresponding to the terminal, each terminal is corresponding with least one label.For example, if corresponding to terminal 1 Intended application is that corresponding label is " ta ", then label is that the information of " ta " is mesh corresponding to the terminal 1 in server using 1 Mark information.The above-mentioned above-mentioned intended application of acquisition can be to determine target corresponding to above-mentioned terminal in target sequence corresponding to server Label;Determine that the maximal sequence that label is above-mentioned target labels is above-mentioned target sequence.For example, if mesh corresponding to terminal 2 Mark label is " ta ", and label includes " 101 " and " 103 " for the sequence of " ta ", then target sequence is " 103 ".Above-mentioned target sequence For the maximal sequence corresponding to the target information for above-mentioned intended application of above-mentioned server storage, the target information is to have Imitate information.For example, if being two information that label is " ta " in table 1 using 2 target information, this is being serviced using 2 Target sequence corresponding to device is " 103 ".Above-mentioned server can cache each maximal sequence applied under different labels, pass through this Kind mode can be with quick obtaining intended application in target sequence corresponding to above-mentioned server.
103rd, in the case of above-mentioned original series and above-mentioned target sequence identical, refusal above- mentioned information pulls request.
It can send refusal information to above-mentioned terminal or do not make to locate that above-mentioned refusal above- mentioned information, which pulls request, Reason.
The embodiment of the present invention is applied in original series corresponding to terminal and the intended application in server by comparison object Corresponding target sequence, it is determined whether need to carry out data query, it is possible to reduce inquiry operation, mitigate database burden.
, can be by sending sequence more new command to terminal in a kind of optional implementation, renewal intended application exists Sequence corresponding to the terminal, it is specific as follows:The above-mentioned above-mentioned intended application of acquisition is above-mentioned after target sequence corresponding to server Method also includes:
In the case of above-mentioned original series and above-mentioned target sequence difference, pull and asked into row information according to above- mentioned information Inquiry;
In the case where inquiring above-mentioned target information, send sequence more new command to above-mentioned terminal and above-mentioned target is believed Breath, above-mentioned sequence more new command indicate that above-mentioned original series are updated to above-mentioned target sequence by above-mentioned terminal;
In the case where not inquiring above-mentioned target information, above-mentioned sequence more new command is sent to above-mentioned terminal.
It can be in database corresponding to above-mentioned server that above-mentioned foundation above- mentioned information, which pulls request and carries out information inquiry, Inquiry above- mentioned information pulls the specified information of request.For example, if original series are " 120 ", target sequence is " 125 ", Information inquiry is then carried out, and sequence more new command and the corresponding information inquired are sent to terminal.It is above-mentioned not inquire State target information it may is that not inquiring above- mentioned information pulls the corresponding information of request or inquiry unsuccessfully etc. Other situations.
In the embodiment of the present invention, by the intended application that upgrades in time in sequence corresponding to terminal, service can be effectively reduced The inquiry operation of device, mitigate the burden of database.
In a kind of optional implementation, it can be sent out successively according to the sequence size order of the information inquired Send, it is specific as follows:It is above-mentioned to include to above-mentioned terminal transmission sequence more new command and above-mentioned target information:
In the case of it is determined that intermediate sequence be present between above-mentioned target sequence and above-mentioned original series, above-mentioned centre is obtained Information corresponding to sequence;
Information corresponding to above-mentioned intermediate sequence is sent to above-mentioned terminal;
After the first confirmation from above-mentioned terminal is received, above-mentioned target information is sent to above-mentioned terminal, it is above-mentioned First confirmation indicates that above-mentioned terminal receives information corresponding to above-mentioned intermediate sequence;
After the second confirmation from above-mentioned terminal is received, above-mentioned sequence more new command is sent to above-mentioned terminal, Above-mentioned second confirmation indicates that above-mentioned terminal receives above-mentioned target information.
Exist between the above-mentioned above-mentioned target sequence of determination and above-mentioned original series intermediate sequence it may is that determining on The next sequence stated after original series is not above-mentioned target sequence.Above-mentioned server storage has the ordering rule of sequence, can To determine intermediate sequence being present between above-mentioned target sequence and above-mentioned original series according to above-mentioned ordering rule.Citing comes Say, the ordering rule of sequence is that the difference of continuous integer sequence and flanking sequence is 1, sequence 1 is " 100 ", then the sequence 1 Next sequence is " 101 ".
Server is transmitted to terminal successively according to the size order of sequence corresponding to information, and the terminal connects in confirmation After the information for receiving its transmission previous, it is further continued for sending next information.For example, original series are " 111 ", target sequence For " 113 ", the intermediate sequence between the target sequence and the original series is " 112 ", obtains information corresponding to sequence " 112 ", The first information is information corresponding to sequence " 112 ";The above-mentioned first information is sent to terminal;Received receiving the above-mentioned terminal of instruction To after the confirmation of the above-mentioned first information, information corresponding to sequence " 113 " is sent to above-mentioned terminal;Receiving, instruction is above-mentioned After terminal receives information corresponding to sequence " 113 ", sequence more new command is sent to above-mentioned terminal.
In the embodiment of the present invention, server is transmitted to terminal successively according to the size order of sequence corresponding to information, And after the information sent before confirming that the terminal receives it, it is further continued for sending next information, it is ensured that do not leak hair and disappear Breath, it is also ensured that the continuity of information.
In a kind of optional implementation, server is inquired about corresponding to above-mentioned intended application according to preset time interval Effective information, and target sequence corresponding to information is confirmed the validity, it is specific as follows:The above method also includes:
Effective information corresponding to above-mentioned intended application is inquired about according to preset time interval, is had corresponding to above-mentioned intended application It is information corresponding with above-mentioned terminal in above-mentioned server to imitate information;
It is above-mentioned target sequence to determine maximal sequence corresponding to above-mentioned effective information.
Effective information is the information in effective status, i.e., expired time is later than current time and submission time is current already The information of time.For example, current time is " 2017-05-02 20:00 ", sequence is the letter of " 100 " and " 103 " in table 1 Cease for effective information.Above-mentioned preset time interval can be that server is preset, can also be configured by user.For example, Preset time interval can be two minutes, five minutes etc..For example, server can inquire about a data every two minutes Storehouse, obtain maximal sequence of the efficient message of each application under different labels.For example, current time is " 2017-05-05 10:00 ", from table 1 it follows that be " 103 " using 1 maximal sequence under label " ta ", the maximum under label " tb " Sequence is " 102 ", is " 104 " using 2 maximal sequences under label " tf ", is using 3 maximal sequences under label " tc " “105”.Server updates each maximal sequence applied under different labels according to preset time interval can quickly determine mesh Mark is applied in target sequence corresponding to the server.For example, label corresponding to terminal 3 is " ta ", and intended application is application 1, in target sequence corresponding to server it is " 103 " in the intended application.
The information corresponding with above-mentioned terminal can be label and the corresponding information of above-mentioned terminal in above-mentioned server.Lift For example, if target labels corresponding to terminal 2 are " ta ", label is that the terminal 2 is corresponding in the server for the information of " ta " Information.
In the embodiment of the present invention, according to effective information corresponding to preset time interval inquiry intended application, and determine to be somebody's turn to do Maximal sequence corresponding to effective information is above-mentioned target sequence, and the intended application that can upgrade in time is in target corresponding to the server Sequence, in order to quickly determine the need for carrying out information inquiry.
In a kind of optional implementation, effective information can be stored and arrive target database, and from the target data Library inquiry target information, it is specific as follows:Above-mentioned to be pulled according to above- mentioned information before asking progress information inquiry, the above method also wraps Include:
Effective information is extracted from the information for above-mentioned intended application of current data library storage;
Target database is arrived into the storage of above-mentioned effective information;
Above-mentioned pulled according to above- mentioned information asks progress information inquiry to include:
Request, which is pulled, according to above- mentioned information carries out information inquiry in above-mentioned target database.
Above-mentioned target database can be Redis memory databases etc..Server can according to the preset time cycle, from Effective information is extracted in the information for above-mentioned intended application of current data library storage, target database is arrived in storage, and deletes Except invalid information.
In the embodiment of the present invention, by the way that effective information storage is arrived into target database, it is possible to reduce the data of required inquiry Information content in storehouse, improve search efficiency.
The embodiments of the invention provide another information processing method, as shown in Fig. 2 can include:
201st, server is according to effective information corresponding to preset time interval inquiry intended application;
Effective information corresponding to above-mentioned intended application is effective information corresponding with target terminal in server.
202nd, target database is arrived into the storage of above-mentioned effective information;
203rd, it is target sequence to determine maximal sequence corresponding to above-mentioned effective information, and stores above-mentioned target sequence;
204th, the information exploitation request from target terminal is received;
Above- mentioned information pulls request and carries intended application in original series corresponding to above-mentioned target terminal, above-mentioned original sequence It is classified as the sequence corresponding to the information for above-mentioned intended application that above-mentioned target terminal the last time pulls.
205th, pulled from above- mentioned information in request and obtain above-mentioned original series, obtain above-mentioned intended application in above-mentioned server Corresponding above-mentioned target sequence;
206th, judge whether above-mentioned original series are identical with above-mentioned target sequence;
If identical, step 207 is performed;If differing, step 208 is performed.
207th, refusal above- mentioned information pulls request;
208th, pull request according to above- mentioned information and carry out information inquiry in above-mentioned target database;
209th, in the case where inquiring target information, send sequence more new command to above-mentioned terminal and above-mentioned target is believed Breath.
Above-mentioned sequence more new command indicates that above-mentioned original series are updated to above-mentioned target sequence by above-mentioned terminal.
The embodiment of the present invention is applied in original series corresponding to terminal and the intended application in server by comparison object Corresponding target sequence, it is determined whether need to carry out data query, it is possible to reduce inquiry operation, mitigate database burden.
The embodiments of the invention provide another information processing method, as shown in figure 3, can include:
301st, the information exploitation request for carrying out self terminal is received;
Above- mentioned information pulls request and carries intended application is in original series corresponding to above-mentioned terminal, above-mentioned original series The sequence corresponding to the information for above-mentioned intended application that above-mentioned terminal the last time pulls.
302nd, pulled from above- mentioned information and original series are obtained in request, obtain intended application in target sequence corresponding to server Row;
Above-mentioned target sequence is the sequence corresponding to the target information for above-mentioned intended application of above-mentioned server storage, Above-mentioned target information is information corresponding with above-mentioned terminal in above-mentioned server.
303rd, in the case of it is determined that intermediate sequence be present between above-mentioned target sequence and above-mentioned original series, obtain above-mentioned Information corresponding to intermediate sequence;
304th, information corresponding to above-mentioned intermediate sequence is sent to above-mentioned terminal;
305th, after the first confirmation from above-mentioned terminal is received, target information is sent to above-mentioned terminal;
Above-mentioned target information is information corresponding to above-mentioned target sequence.Above-mentioned first confirmation indicates that above-mentioned terminal receives To information corresponding to above-mentioned intermediate sequence.
306th, after the second confirmation from above-mentioned terminal is received, sequence more new command is sent to above-mentioned terminal;
Above-mentioned second confirmation indicates that above-mentioned terminal receives above-mentioned target information.In the instruction of above-mentioned sequence more new command State terminal and above-mentioned original series are updated to above-mentioned target sequence.
307th, effective information corresponding to above-mentioned intended application is inquired;
Effective information corresponding to above-mentioned intended application is more than the information of above-mentioned target sequence, and above-mentioned effective information for sequence It is identical with the label of above-mentioned target information.Above-mentioned effective information can be understood as above-mentioned target information information to be updated.
308th, above-mentioned target sequence is updated to maximal sequence corresponding to above-mentioned effective information.
The embodiment of the present invention can cause server quickly to determine to be by updating intended application in sequence corresponding to terminal It is no to need to carry out data query, and then reduce inquiry operation.
The embodiments of the invention provide an application scenarios, as shown in Figure 4.Assuming that terminal 1 has " ta " label using 1 With " tc " label of application 3, i.e. the sequence of the information of " ta " label that the last time of terminal 1 pulls is " 96 ", and the last time pulls The sequence of the information of " tc " label arrived is " 93 ", and the attribute of terminal 1 is using 1#96, using 3#93.Assuming that server has Using 1 " ta " label and " tc " label of application 3, possess the maximum serial number " 96 " of the information of " ta " label, possess " tc " The maximum serial number " 93 " of the information of label, then the caching of the server is using 1#96, using 3#93.Refering to table 1, “2017-05-05 10:00:00 ", the caching of server is using 1#103, using 2#104, using 3#100, the attribute of terminal 1 For using 1#96, using 3#93.Terminal 1 is in " 2017-05-05 10:00 " logs in, and now terminal 1 carries out information exploitation, judges 1#103 is applied less than server buffer using 1#96, judges to apply 3#100 less than server buffer using 3#93.Now, Database query operations are carried out, it is " 101 " and " 103 " two information that can pull sequence, and the information of serial number " 100 " has been lost Effect.In order to ensure not leak hair message, it is transmitted according to the order of sequence from small to large, sends the letter that sequence is " 101 " first Cease to terminal 1, after the response message of terminal 1 is received, continue to send the information that sequence is " 103 ", when receiving this information After response message, the maximal sequence of the application 1 in more new terminal 1 is " 103 ", and it is " 100 " to update using 3 maximal sequence. When terminal 1 is in " 2017-05-05 10:10:00 " when pulling message, its sequential value applied with the sequence in server buffer It is worth identical, therefore epicycle no longer inquires about database.Until " 2017-05-05 23:00:00 ", sequence is submitted for the information of " 105 ", Server gets this information, renewal caching be using 3#105, terminal 1 again to pull information when, the application in its internal memory 3#100, which is less than in server buffer, applies 3#105, then carries out database query operations, pull the letter that sequence is " 105 " Breath, treats that the message is sent successfully, and the more memory information of new terminal 1 is using 3#105, when pulling next time, the sequence in internal memory It has been last look, inquiry database manipulation will not be performed again.
The embodiment of the present invention is applied in original series corresponding to terminal and the intended application in server by comparison object Corresponding target sequence, it is determined whether need to carry out data query, it is possible to reduce inquiry operation, mitigate database burden.
The invention provides another information processing method, as shown in figure 5, including:
501st, terminal to server sends information exploitation request;
Above- mentioned information pulls request and carries intended application is in original series corresponding to above-mentioned terminal, above-mentioned original series The sequence corresponding to the information for above-mentioned intended application that above-mentioned terminal the last time pulls.
502nd, the target information and sequence more new command that above-mentioned server pulls request transmission for above- mentioned information are received;
503rd, according to above-mentioned sequence more new command, above-mentioned intended application is updated in original series corresponding to above-mentioned terminal Target sequence, above-mentioned target sequence are sequence corresponding to above-mentioned target information.
In the embodiment of the present invention, intended application is carried and sent to server by terminal in original series corresponding to the terminal Information exploitation request in, can cause the server according to the original series determine the need for carry out information inquiry, and then Reduce inquiry operation.
In a kind of optional implementation, terminal is sent after the information of server transmission is received to the server Confirmation, it is specific as follows:The above-mentioned above-mentioned server of reception pulls the target information and sequence of request transmission for above- mentioned information Before arranging more new command, the above method also includes:
The average information that above-mentioned server pulls request transmission for above- mentioned information is received, above-mentioned average information is above-mentioned The corresponding information of intermediate sequence between original series and above-mentioned target sequence;
Confirmation is sent to above-mentioned server, above-mentioned confirmation instruction receives above-mentioned average information.
In the embodiment of the present invention, by receive server for information exploitation request send average information after, to The server sends confirmation, it is ensured that pulls full detail.
The embodiments of the invention provide a kind of server, as shown in fig. 6, including:
Receiving unit 601, the information exploitation request of self terminal is carried out for receiving, and above- mentioned information pulls request and carries target Apply in original series corresponding to above-mentioned terminal, above-mentioned original series be pull above-mentioned terminal the last time be directed to above-mentioned mesh Mark the sequence corresponding to the information of application;
Acquiring unit 602, above-mentioned original series are obtained for being pulled from above- mentioned information in request, obtain above-mentioned intended application In target sequence corresponding to server, above-mentioned target sequence is believed for the target for above-mentioned intended application of above-mentioned server storage The corresponding sequence of breath, above-mentioned target information are information corresponding with above-mentioned terminal in above-mentioned server;
Determining unit 603, for determining above-mentioned original series and above-mentioned target sequence identical situation;
Refuse unit 604, request is pulled for refusing above- mentioned information.
Concrete methods of realizing is identical with the method in Fig. 1, is not described herein in detail.
, can be by sending sequence more new command to terminal in a kind of optional implementation, renewal intended application exists Sequence corresponding to the terminal, it is specific as follows:Above-mentioned determining unit 603, it is additionally operable to determine above-mentioned original series and above-mentioned target sequence Arrange different situations;As shown in fig. 7, above-mentioned server also includes:
Query unit 701, information inquiry is carried out for pulling request according to above- mentioned information;
Transmitting element 702, in the case where inquiring above-mentioned target information, sending sequence renewal to above-mentioned terminal and referring to Order and above-mentioned target information, above-mentioned sequence more new command indicate that above-mentioned original series are updated to above-mentioned target sequence by above-mentioned terminal Row;It is additionally operable in the case where not inquiring above-mentioned target information, above-mentioned sequence more new command is sent to above-mentioned terminal.
In the embodiment of the present invention, by the intended application that upgrades in time in sequence corresponding to terminal, service can be effectively reduced The inquiry operation of device, mitigate the burden of database.
In a kind of optional implementation, it can be sent out successively according to the sequence size order of the information inquired Send, it is specific as follows:Above-mentioned determining unit 603, it is additionally operable to determine centre between above-mentioned target sequence and above-mentioned original series be present The situation of sequence;
Above-mentioned acquiring unit 602, it is additionally operable to obtain information corresponding to above-mentioned intermediate sequence;
Above-mentioned transmitting element 702, it is additionally operable to send information corresponding to above-mentioned intermediate sequence to above-mentioned terminal;It is additionally operable to upwards State terminal and send above-mentioned target information;It is additionally operable to send above-mentioned sequence more new command to above-mentioned terminal;
Above-mentioned receiving unit 601, it is additionally operable to receive the first confirmation from above-mentioned terminal, above-mentioned first confirmation Indicate that above-mentioned terminal receives information corresponding to above-mentioned intermediate sequence;It is additionally operable to receive the second confirmation letter from above-mentioned terminal Breath, above-mentioned second confirmation indicate that above-mentioned terminal receives above-mentioned target information.
In the embodiment of the present invention, server is transmitted to terminal successively according to the size order of sequence corresponding to information, And after the information sent before confirming that the terminal receives it, it is further continued for sending next information, it is ensured that do not leak hair and disappear Breath, it is also ensured that the continuity of information.
In a kind of optional implementation, server is inquired about corresponding to above-mentioned intended application according to preset time interval Effective information, and target sequence corresponding to information is confirmed the validity, it is specific as follows:Above-mentioned query unit 701, is additionally operable to according to preset Time interval inquire about effective information corresponding to above-mentioned intended application, effective information corresponding to above-mentioned intended application is above-mentioned service The information corresponding with above-mentioned terminal in device;
Above-mentioned determining unit 603, it is above-mentioned target sequence to be additionally operable to determine maximal sequence corresponding to above-mentioned effective information.
In the embodiment of the present invention, according to effective information corresponding to preset time interval inquiry intended application, and determine to be somebody's turn to do Maximal sequence corresponding to effective information is above-mentioned target sequence, and the intended application that can upgrade in time is in target corresponding to the server Sequence, in order to quickly determine the need for carrying out information inquiry.
In a kind of optional implementation, effective information can be stored and arrive target database, and from the target data Library inquiry target information, it is specific as follows:As shown in figure 8, above-mentioned terminal also includes:
Extraction unit 801, for being extracted from the information for above-mentioned intended application of current data library storage effectively Information;
Memory cell 802, for the storage of above-mentioned effective information to be arrived into target database;
Above-mentioned query unit 701, enter row information in above-mentioned target database specifically for pulling request according to above- mentioned information Inquiry.
In the embodiment of the present invention, by the way that effective information storage is arrived into target database, it is possible to reduce the data of required inquiry Information content in storehouse, improve search efficiency.
The embodiments of the invention provide a kind of terminal, as shown in figure 9, including:
Transmitting element 901, for server send information exploitation request, above- mentioned information pull request carry target should Used in original series corresponding to terminal, above-mentioned original series be above-mentioned terminal the last time pull be directed to above-mentioned intended application Information corresponding to sequence;
Receiving unit 902, for receive above-mentioned server for above- mentioned information pull request send target information and Sequence more new command;
Updating block 903, for according to above-mentioned sequence more new command, by above-mentioned intended application former corresponding to above-mentioned terminal Beginning sequence is updated to target sequence, and above-mentioned target sequence is sequence corresponding to above-mentioned target information.
In the embodiment of the present invention, intended application is carried and sent to server by terminal in original series corresponding to the terminal Information exploitation request in, can cause the server according to the original series determine the need for carry out information inquiry, reduce Inquiry operation.
In a kind of optional implementation, terminal is sent after the information of server transmission is received to the server Confirmation, it is specific as follows:Above-mentioned receiving unit 902, it is additionally operable to receive above-mentioned server and pulls request hair for above- mentioned information The average information sent, intermediate sequence of the above-mentioned average information between above-mentioned original series and above-mentioned target sequence is corresponding to be believed Breath;
Above-mentioned transmitting element 903, it is additionally operable to send confirmation to above-mentioned server, above-mentioned confirmation instruction receives Above-mentioned average information.
In the embodiment of the present invention, by receive server for information exploitation request send average information after, to The server sends confirmation, it is ensured that pulls full detail.
Refer to Figure 10, Figure 10 is a kind of server provided in an embodiment of the present invention, the server include processor 1001, Memory 1002, transceiver 1003 and bus 1004, above-mentioned processor 1001, memory 1002 and transceiver 1003 pass through bus 1004 are connected with each other.
It is random access memory (Random Access Memory, RAM) that memory 1002, which includes but is not limited to, read-only Memory (Read-Only Memory, ROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read Only Memory, EPROM) or portable read-only storage (Compact Disc Read-Only Memory, CD- ROM), the memory 1002 is used for dependent instruction and data.Transceiver 1003 is used to receiving and sending data.
It should be appreciated that in embodiments of the present invention, alleged processor 1001 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Processor 1001 in the server is used to read the program code stored in above-mentioned memory 1002, performs following Operation:
The information exploitation request for carrying out self terminal is received, above- mentioned information pulls request and carries intended application in above-mentioned terminal-pair The original series answered, above-mentioned original series are right for the information for above-mentioned intended application that above-mentioned terminal the last time pulls The sequence answered;Pulled from above- mentioned information in request and obtain above-mentioned original series, obtain above-mentioned intended application corresponding to server Target sequence, above-mentioned target sequence are the sequence corresponding to the target information for above-mentioned intended application of above-mentioned server storage Row, above-mentioned target information are information corresponding with above-mentioned terminal in above-mentioned server;In above-mentioned original series and above-mentioned target In the case of sequence identical, refusal above- mentioned information pulls request.
In the specific implementation, the executable present invention of processor 1001, transceiver 1003 described in the embodiment of the present invention is real Implementation described by the foregoing any embodiment of the information processing method of example offer is provided, also can perform institute of the embodiment of the present invention The implementation of the server of description, will not be repeated here.
It is a kind of terminal schematic block diagram provided by the invention referring to Figure 11.Terminal in the present embodiment as depicted can With including:One or more processors 1101;One or more input equipments 1103, one or more output equipments 1104 and are deposited Reservoir 1102.Above-mentioned processor 1101, input equipment 1103, output equipment 1104 and memory 1102 are connected by bus 1105 Connect.Memory 1102 is used for store instruction, and processor 1101 is used for the instruction for performing the storage of memory 1102.Wherein, processor 1101 are used for:Information exploitation request is sent to server, above- mentioned information pulls request and carries intended application in above-mentioned terminal-pair The original series answered, above-mentioned original series are right for the information for above-mentioned intended application that above-mentioned terminal the last time pulls The sequence answered;Receive target information and sequence more new command that above-mentioned server pulls request transmission for above- mentioned information;According to According to above-mentioned sequence more new command, above-mentioned intended application is updated to target sequence in original series corresponding to above-mentioned terminal, it is above-mentioned Target sequence is sequence corresponding to above-mentioned target information.
It should be appreciated that in embodiments of the present invention, alleged processor 1101 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 1103 can include Trackpad, fingerprint adopts sensor and (is used for the finger print information and fingerprint for gathering user Directional information), microphone etc., output equipment 1104 can include display (LCD etc.), loudspeaker etc..
The memory 1102 can include read-only storage and random access memory, and provide instruction to processor 1101 And data.The a part of of memory 1102 can also include nonvolatile RAM.For example, memory 1102 may be used also With the information of storage device type.
In the specific implementation, processor 1101, input equipment 1103, output equipment 1104 described in the embodiment of the present invention The implementation described by the foregoing any embodiment of information processing method provided in an embodiment of the present invention is can perform, also can perform The implementation of server described by the embodiment of the present invention, will not be repeated here.
A kind of computer-readable recording medium, above computer readable storage medium are provided in another embodiment of the invention Matter is stored with computer program, and above computer program is realized when being executed by processor:The information exploitation that reception carrys out self terminal please Ask, above- mentioned information pulls request and carries intended application in original series corresponding to above-mentioned terminal, and above-mentioned original series are above-mentioned The sequence corresponding to the information for above-mentioned intended application that terminal the last time pulls;Pull in request and obtain from above- mentioned information Above-mentioned original series are taken, obtain above-mentioned intended application in target sequence corresponding to server, above-mentioned target sequence is above-mentioned service Sequence corresponding to the target information for above-mentioned intended application of device storage, above-mentioned target information in above-mentioned server with it is upper State the corresponding information of terminal;In the case of above-mentioned original series and above-mentioned target sequence identical, refusal above- mentioned information pulls Request.
A kind of computer-readable recording medium, above computer readable storage medium are provided in another embodiment of the invention Matter is stored with computer program, and above computer program is realized when being executed by processor:Terminal to server sends information exploitation Request, above- mentioned information pull request and carry intended application in original series corresponding to above-mentioned terminal, and above-mentioned original series are upper State the sequence corresponding to the information for above-mentioned intended application that terminal the last time pulls;Above-mentioned server is received for upper State target information and sequence more new command that information exploitation request is sent;According to above-mentioned sequence more new command, by above-mentioned target Apply and be updated to target sequence in original series corresponding to above-mentioned terminal, above-mentioned target sequence is sequence corresponding to above-mentioned target information Row.
Above computer readable storage medium storing program for executing can be that the inside of the above-mentioned terminal of foregoing any embodiment or server is deposited Storage unit, such as server or the hard disk or internal memory of terminal.Above computer readable storage medium storing program for executing can also be above-mentioned terminal or The plug-in type hard disk being equipped with the External memory equipment of server, such as above-mentioned terminal or server, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, Above computer readable storage medium storing program for executing can also both include the internal storage unit of above-mentioned terminal or above-mentioned server or including outer Portion's storage device.Above computer readable storage medium storing program for executing is used to store above computer program and above-mentioned terminal or above-mentioned service Other programs and data needed for device.Above computer readable storage medium storing program for executing can be also used for temporarily storing exported or The data that will be exported.
Figure 12 is illustrated that the block diagram of the part-structure of the mobile phone related to terminal provided in an embodiment of the present invention.Reference chart 12, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 1210, memory 1220, input block 1230, display unit 1240th, sensor 1250, voicefrequency circuit 1260, Wireless Fidelity (wireless fidelity, WiFi) module 1270, processor The part such as 1280 and power supply 1290.It will be understood by those skilled in the art that the handset structure shown in Figure 12 is not formed pair The restriction of mobile phone, it can include than illustrating more or less parts, either combine some parts or different part cloth Put.
Each component parts of mobile phone is specifically introduced with reference to Figure 12:
RF circuits 1210 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information receives, handled to processor 1280;In addition, it is sent to base station by up data are designed.Generally, RF circuits 1210 include but is not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 1210 can also be led to by radio communication and network and other equipment Letter.Above-mentioned radio communication can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 1220 can be used for storage software program and module, and processor 1280 is stored in memory by operation 1220 software program and module, so as to perform the various function application of mobile phone and data processing.Memory 1220 can be led To include storing program area and storage data field, wherein, storing program area can storage program area, needed at least one function Application program (such as sound-playing function, image player function etc.) etc.;Storage data field can store uses institute according to mobile phone Data (such as voice data, phone directory etc.) of establishment etc..Stored in addition, memory 1220 can include high random access Device, nonvolatile memory can also be included, a for example, at least disk memory, flush memory device or other volatibility are consolidated State memory device.
Input block 1230 can be used for the numeral or character information for receiving input, and produce with the user of mobile phone set with And the key signals input that function control is relevant.Specifically, input block 1230 may include contact panel 1231 and other inputs Equipment 1232.Contact panel 1231, also referred to as touch-screen, collect touch operation (such as user of the user on or near it Use the behaviour of any suitable object such as finger, stylus or annex on contact panel 1230 or near contact panel 1230 Make), and corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 1230 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 1280, and the order sent of reception processing device 1280 and can be performed.In addition, The polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be used to realize contact panel 1230.Except touch surface Plate 1230, input block 1230 can also include other input equipments 1232.Specifically, other input equipments 1232 can include But it is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. It is one or more.
Display unit 1240 can be used for display by user input information or be supplied to user information and mobile phone it is each Kind menu.Display unit 1240 may include display panel 1241, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) To configure display panel 1241.Further, contact panel 1230 can cover display panel 1241, when contact panel 1230 detects To after the touch operation on or near it, processor 1280 is sent to determine the type of touch event, is followed by subsequent processing device 1280 provide corresponding visual output according to the type of touch event on display panel 1241.Although in fig. 12, touch surface Plate 1230 and display panel 1241 are the parts independent as two to realize the input of mobile phone and input function, but some In embodiment, contact panel 1230 and display panel 1241 can be integrated and realize input and the output function of mobile phone.
Mobile phone may also include at least one sensor 1250, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 1241, proximity transducer can close display panel when mobile phone is moved in one's ear 1241 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generally three axles) and add The size of speed, size and the direction of gravity are can detect that when static, application (such as the horizontal/vertical screen available for identification mobile phone posture Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for mobile phone also The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Voicefrequency circuit 1260, loudspeaker 1261, microphone 1262 can provide the COBBAIF between user and mobile phone.Audio Electric signal after the voice data received conversion can be transferred to loudspeaker 1261, is changed by loudspeaker 1261 by circuit 1260 Exported for voice signal;On the other hand, the voice signal of collection is converted to electric signal by microphone 1262, by voicefrequency circuit 1260 Voice data is converted to after reception, then after voice data output processor 1280 is handled, through RF circuits 1210 to be sent to ratio Such as another mobile phone, or voice data is exported to memory 1220 further to handle.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 1270 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Figure 12 is shown WiFi module 1270, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Become in the essential scope of invention and omit.
Processor 1280 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, By running or performing the software program and/or module that are stored in memory 1220, and call and be stored in memory 1220 Interior data, the various functions and processing data of mobile phone are performed, so as to carry out integral monitoring to mobile phone.Optionally, processor 1280 may include one or more processing units;Preferably, processor 1280 can integrate application processor and modulation /demodulation processing Device, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is mainly located Manage radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1280.
Mobile phone also includes the power supply 1290 (such as battery) to all parts power supply, it is preferred that power supply can pass through power supply Management system and processor 1280 are logically contiguous, so as to realize management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.
Although being not shown, mobile phone can also include camera, bluetooth module etc., will not be repeated here.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specially Industry technical staff can realize described function using distinct methods to each specific application, but this realization should not Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed terminal and method, it can be passed through Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of said units, only Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase Coupling or direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit Connection or electricity, the connection of mechanical or other forms.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.This hair Unit in bright embodiment terminal can be combined, divided and deleted according to actual needs.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment above method of the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain be defined.

Claims (11)

  1. A kind of 1. information processing method, it is characterised in that including:
    The information exploitation request for carrying out self terminal is received, described information pulls request and carries intended application corresponding to the terminal Original series, the original series are corresponding to the information for the intended application pulled described terminal the last time Sequence;
    Pulled from described information in request and obtain the original series, obtain the intended application in target sequence corresponding to server Row, the target sequence is the sequence corresponding to the target information for the intended application of the server storage, described Target information is information corresponding with the terminal in the server;
    In the case of the original series and the target sequence identical, refusal described information pulls request.
  2. 2. according to the method for claim 1, it is characterised in that described to obtain the intended application in mesh corresponding to server After marking sequence, methods described also includes:
    In the case of the original series and the target sequence difference, pulled according to described information and ask to look into row information Ask;
    In the case where inquiring the target information, sequence more new command and the target information are sent to the terminal, The sequence more new command indicates that the original series are updated to the target sequence by the terminal;
    In the case where not inquiring the target information, the sequence more new command is sent to the terminal.
  3. 3. according to the method for claim 2, it is characterised in that described to send sequence more new command and institute to the terminal Stating target information includes:
    In the case of it is determined that intermediate sequence be present between the target sequence and the original series, the intermediate sequence is obtained Corresponding information;
    Information corresponding to the intermediate sequence is sent to the terminal;
    After the first confirmation from the terminal is received, the target information is sent to the terminal, described first Confirmation indicates that the terminal receives information corresponding to the intermediate sequence;
    After the second confirmation from the terminal is received, the sequence more new command is sent to the terminal, it is described Second confirmation indicates that the terminal receives the target information.
  4. 4. according to the method described in claims 1 to 3 any one, it is characterised in that methods described also includes:
    Effective information corresponding to the intended application is inquired about according to preset time interval, is effectively believed corresponding to the intended application Cease for information corresponding with the terminal in the server;
    It is the target sequence to determine maximal sequence corresponding to the effective information.
  5. 5. according to the method in claim 2 or 3, it is characterised in that described pulled according to described information is asked into row information Before inquiry, methods described also includes:
    Effective information is extracted from the information for the intended application of current data library storage;
    Target database is arrived into effective information storage;
    Described pulled according to described information asks progress information inquiry to include:
    Request, which is pulled, according to described information carries out information inquiry in the target database.
  6. A kind of 6. information processing method, it is characterised in that including:
    Terminal to server send information exploitation request, described information pull request carry intended application the terminal-pair should Original series, the original series are corresponding to the information for the intended application that pulls of described terminal the last time Sequence;
    Receive target information and sequence more new command that the server pulls request transmission for described information;
    According to the sequence more new command, the intended application is updated to target sequence in original series corresponding to the terminal Row, the target sequence is sequence corresponding to the target information.
  7. 7. according to the method for claim 6, it is characterised in that the reception server pulls for described information please Before the target information and sequence more new command of asking transmission, methods described also includes:
    The average information that the server pulls request transmission for described information is received, the average information is described original The corresponding information of intermediate sequence between sequence and the target sequence;
    Confirmation is sent to the server, the confirmation instruction receives the average information.
  8. A kind of 8. server, it is characterised in that including:
    Receiving unit, the information exploitation request of self terminal is carried out for receiving, described information, which pulls request and carries intended application, to exist Original series corresponding to the terminal, the original series be described terminal the last time pull be directed to the intended application Information corresponding to sequence;
    Acquiring unit, the original series are obtained for being pulled from described information in request, the intended application is obtained and is servicing Target sequence corresponding to device, the target sequence are right for the target information for the intended application of the server storage The sequence answered, the target information are information corresponding with the terminal in the server;
    Determining unit, for determining the original series and the target sequence identical situation;
    Refuse unit, request is pulled for refusing described information.
  9. A kind of 9. terminal, it is characterised in that including:
    Transmitting element, for sending information exploitation request to server, described information pulls request and carries intended application at end Original series corresponding to end, the original series are the information for the intended application pulled described terminal the last time Corresponding sequence;
    Receiving unit, target information and the sequence renewal that request is sent are pulled for described information for receiving the server Instruction;
    Updating block, for according to the sequence more new command, by the intended application in original series corresponding to the terminal Target sequence is updated to, the target sequence is sequence corresponding to the target information.
  10. 10. a kind of equipment, it is characterised in that the processor, defeated including processor, input equipment, output equipment and memory Enter equipment, output equipment and memory to be connected with each other, wherein, the memory is used to store application code, the processing Device is arranged to call described program code, performs the method as described in claim any one of 1-5 or performs such as right It is required that the method described in any one of 6-7.
  11. A kind of 11. computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program, The computer program includes programmed instruction, and described program instruction makes the computing device such as right when being executed by a processor It is required that the method for method or execution as described in claim any one of 6-7 described in any one of 1-5.
CN201710530453.9A 2017-06-30 2017-06-30 A kind of information processing method, server and terminal Withdrawn CN107402975A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710530453.9A CN107402975A (en) 2017-06-30 2017-06-30 A kind of information processing method, server and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710530453.9A CN107402975A (en) 2017-06-30 2017-06-30 A kind of information processing method, server and terminal

Publications (1)

Publication Number Publication Date
CN107402975A true CN107402975A (en) 2017-11-28

Family

ID=60405019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710530453.9A Withdrawn CN107402975A (en) 2017-06-30 2017-06-30 A kind of information processing method, server and terminal

Country Status (1)

Country Link
CN (1) CN107402975A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108667719A (en) * 2018-04-26 2018-10-16 广州品唯软件有限公司 A kind of real-time Message Passing method and system
CN108810116A (en) * 2018-05-29 2018-11-13 Oppo广东移动通信有限公司 Message treatment method and Related product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102469118A (en) * 2010-11-04 2012-05-23 腾讯科技(深圳)有限公司 Method for realizing information pull and apparatus thereof
CN104092724A (en) * 2014-04-10 2014-10-08 腾讯科技(深圳)有限公司 Method for song data pulling, terminal and server
CN104283974A (en) * 2014-10-31 2015-01-14 腾讯科技(深圳)有限公司 Data pulling method, related equipment and communication system
CN104967653A (en) * 2015-03-23 2015-10-07 腾讯科技(深圳)有限公司 Data synchronous drawing and issuing method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102469118A (en) * 2010-11-04 2012-05-23 腾讯科技(深圳)有限公司 Method for realizing information pull and apparatus thereof
CN104092724A (en) * 2014-04-10 2014-10-08 腾讯科技(深圳)有限公司 Method for song data pulling, terminal and server
CN104283974A (en) * 2014-10-31 2015-01-14 腾讯科技(深圳)有限公司 Data pulling method, related equipment and communication system
CN104967653A (en) * 2015-03-23 2015-10-07 腾讯科技(深圳)有限公司 Data synchronous drawing and issuing method and apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108667719A (en) * 2018-04-26 2018-10-16 广州品唯软件有限公司 A kind of real-time Message Passing method and system
CN108667719B (en) * 2018-04-26 2020-11-27 广州品唯软件有限公司 Real-time message transmission method and system
CN108810116A (en) * 2018-05-29 2018-11-13 Oppo广东移动通信有限公司 Message treatment method and Related product
WO2019228369A1 (en) * 2018-05-29 2019-12-05 Oppo广东移动通信有限公司 Message processing method and related product
CN108810116B (en) * 2018-05-29 2021-04-13 Oppo广东移动通信有限公司 Message processing method and related product

Similar Documents

Publication Publication Date Title
CN104951212B (en) Desktop data processing method, the device and system of a kind of mobile terminal
CN103279288B (en) Data transmission method, device and terminal unit
US20150128068A1 (en) Method for operating message application and electronic device implementing the same
CN103310009B (en) Method, device and terminal for updating webpage data
CN103631625B (en) A kind of method of data acquisition, user terminal, server and system
CN107402964A (en) A kind of information recommendation method, server and terminal
CN109672655A (en) A kind of method, apparatus and system of difference upgrading
CN103544056B (en) Method, device and the terminal device of control task speed
CN104699501B (en) A kind of method and device for running application program
CN107368231A (en) A kind of theme processing method and Related product
WO2015067142A1 (en) Webpage display method and device
CN107147800A (en) A kind of processing incoming call and terminal
CN106713608A (en) Application function state modifying method and apparatus, and terminal
CN106227566A (en) Application program download control method, device and terminal unit in application shop
CN106919458A (en) The method and device of Hook target kernel functions
CN106569814A (en) Message display method and terminal
CN107465807A (en) A kind of short message display method and terminal
CN106657254B (en) A kind of synchronous method of contact information, apparatus and system
CN108052356A (en) A kind of method and terminal device for starting calculator
CN107402975A (en) A kind of information processing method, server and terminal
CN107066197A (en) The control method and terminal device of terminal device
CN106095423A (en) There is provided and browse the method for service, terminal and server
CN107547733A (en) A kind of icon generation method and terminal
CN109284146A (en) A kind of light application open method and mobile terminal
CN104423990B (en) A kind of update method and device of magnet

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20171128