CN103986773A - Data request response method and device - Google Patents

Data request response method and device Download PDF

Info

Publication number
CN103986773A
CN103986773A CN201410223831.5A CN201410223831A CN103986773A CN 103986773 A CN103986773 A CN 103986773A CN 201410223831 A CN201410223831 A CN 201410223831A CN 103986773 A CN103986773 A CN 103986773A
Authority
CN
China
Prior art keywords
data
target data
request
subscriber equipment
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410223831.5A
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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201410223831.5A priority Critical patent/CN103986773A/en
Publication of CN103986773A publication Critical patent/CN103986773A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a data request response method and device. The data request response method comprises the steps that the data request of user equipment is received, and the request carries the time parameter of local data and the identification of target data of the user equipment; according to the identity of the target data, the corresponding target data are searched, and the time parameter of the target data is determined; the time parameter of the local data and the time parameter of the target data are compared, and whether the updating time of the local data is earlier than the updating time of the target data is judged according to a comparing result; if yes, the target data is sent to the user equipment; otherwise, the target data are not sent to the user equipment. The method is applied, under the condition that the displayed content on the home page/channel page of a video client end is the latest, a server does not need to return data related to the latest content to the video client end, and the pressure of the server to process the data is relived.

Description

A kind of request of data response method and device
Technical field
The present invention relates to network communications technology field, particularly a kind of request of data response method and device.
Background technology
In recent years; video industry is explosive to be increased; increasingly competitive between each Internet video company; in order to attract user group as much as possible; each Internet video company conventionally can have network to it and solely broadcast films and television programs and the network self-control play of power or network first broadcast power and carry out a good deal of propaganda; an important means of publicity is shown these films and television programs and acute input of network self-control exactly, with this, is obtained higher clicking rate on videoconference client homepage/channel page.
Because films and television programs, self-control play and other guide are constantly updated, Internet video company just needs constantly to upgrade the displaying content of its videoconference client homepage/channel page, in prior art, when videoconference client refreshes its homepage/channel page, need to be to the up-to-date homepage/channel page data of server request, server is tabled look-up in this locality, up-to-date homepage/channel page data is sent to videoconference client, videoconference client is processed received data, and by the data exhibiting after processing on homepage/channel page
Yet in the situation that the displaying content of videoconference client homepage/channel page has been what be new, server still needs to return to the data relevant to this what be new to this videoconference client, has increased the pressure of server process data.
Summary of the invention
In order to address the above problem, the embodiment of the invention discloses a kind of request of data response method and device, concrete technical scheme is as follows:
A request of data response method, is applied to server apparatus, comprising:
Receive the request of data of subscriber equipment, in described request of data, carry the time parameter of subscriber equipment local data and the sign of target data;
According to the sign of described target data, search corresponding target data, and the time parameter of definite target data;
The time parameter of the time parameter of described local data and described target data is compared, and according to comparative result, whether the update time that judges described local data is early than update time of described target data;
If early than the update time of described target data, send target data to described subscriber equipment the update time of described local data;
If be no earlier than the update time of described target data the update time of described local data, to described subscriber equipment, do not send target data.
Preferably, the method also comprises:
In the situation that be no earlier than the update time of described target data the update time of described local data, to subscriber equipment, return to prompting message, described prompting message is latest data for pointing out the local data of this subscriber equipment of user.
Preferably, the timestamp that the time parameter of described local data is local data, the timestamp that the time parameter of described target data is target data.
Preferably, the version identifier that the time parameter of described local data is local data, the version identifier that the time parameter of described target data is target data.
A data request method, is applied to subscriber equipment, comprising:
To server, send request of data, in described request of data, carry the time parameter of subscriber equipment local data and the sign of target data, so that server is according to the sign of described target data, search corresponding target data, determine the time parameter of target data, and the time parameter of the time parameter of determined target data and local data is compared, whether early than the update time of target data, send data message according to judged result to subscriber equipment the update time that judges local data according to comparative result;
The data message that reception server sends;
Wherein, described judged result comprises: the update time of described local data, now, the data message that subscriber equipment receives was target data early than the update time of described target data;
Or be no earlier than the update time of described target data the update time of described local data, now, the data message that subscriber equipment receives is prompting message, and described prompting message is latest data for pointing out the local data of this subscriber equipment of user.
Preferably, described to server transmission request of data, comprising:
According to the default time cycle, to server, periodically send request of data;
Or
According to user's trigger action, to server, send request of data.
Preferably, described according to user's trigger action, to server, send request of data, comprising:
Judge whether user's current trigger action and the time interval of last trigger action are greater than default time threshold;
If so,, according to user's current trigger action, to server, send request of data.
A request of data responding device, is applied to server apparatus, comprising:
Request of data receiver module, for receiving the request of data of subscriber equipment, in described request of data, carries the time parameter of subscriber equipment local data and the sign of target data;
Target data determination module, for according to the sign of described target data, searches corresponding target data, and the time parameter of definite target data;
Time parameter comparison module, for comparing the time parameter of the time parameter of described local data and described target data;
Judge module, for according to comparative result, whether the update time that judges described local data is early than update time of described target data;
Target data sending module, in the situation that early than update time of described target data, send target data to described subscriber equipment the update time of described local data.
Preferably, this device also comprises:
Prompting message returns to module, be used in the situation that be no earlier than the update time of described target data update time of described local data, to subscriber equipment, return to prompting message, described prompting message is latest data for pointing out the local data of this subscriber equipment of user.
Preferably, the timestamp that the time parameter of described local data is local data, the timestamp that the time parameter of described target data is target data.
Preferably, the version identifier that the time parameter of described local data is local data, the version identifier that the time parameter of described target data is target data.
A request of data device, is applied to subscriber equipment, comprising:
Request of data sending module, for sending request of data to server, in described request of data, carry the time parameter of subscriber equipment local data and the sign of target data, so that server is according to the sign of described target data, search corresponding target data, determine the time parameter of target data, and the time parameter of the time parameter of determined target data and local data is compared, whether early than the update time of target data, send data message according to judged result to subscriber equipment the update time that judges local data according to comparative result;
Data message receiver module, the data message sending for reception server;
Wherein, described judged result comprises: the update time of described local data, now, the data message that data message receiver module receives was target data early than the update time of described target data;
Or be no earlier than the update time of described target data the update time of described local data, now, the data message that data message receiver module receives is prompting message, and described prompting message is latest data for pointing out the local data of this subscriber equipment of user.
Preferably, described request of data sending module sends request of data to server, specifically comprises:
According to the default time cycle, to server, periodically send request of data;
Or
According to user's trigger action, to server, send request of data.
Preferably, described request of data sending module, according to user's trigger action, sends request of data to server, is specially:
Judge whether user's current trigger action and the time interval of last trigger action are greater than default time threshold;
If so,, according to user's current trigger action, to server, send request of data.
The technical scheme that the application embodiment of the present invention provides, server compares the time parameter of the time parameter of subscriber equipment local data and target data, and whether the update time that judges described local data according to comparative result is early than update time of described target data, in the situation that early than the update time of described target data, just send target data to subscriber equipment the update time of described local data.Compared with prior art, in the situation that the displaying content of videoconference client homepage/channel page has been what be new, server does not need to return to the data relevant to this what be new to this videoconference client, has alleviated the pressure of server process data.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The flow chart of a kind of request of data response method that Fig. 1 a provides for the embodiment of the present invention;
The signaling process figure of a kind of request of data response method that Fig. 1 b provides for the embodiment of the present invention;
The flow chart of the another kind of request of data response method that Fig. 2 provides for the embodiment of the present invention;
The flow chart of a kind of data request method that Fig. 3 provides for the embodiment of the present invention;
The structural representation of a kind of request of data responding device that Fig. 4 provides for the embodiment of the present invention;
The structural representation of the another kind of request of data responding device that Fig. 5 provides for the embodiment of the present invention;
The structural representation of a kind of request of data device that Fig. 6 provides for the embodiment of the present invention.
Embodiment
First a kind of request of data response method embodiment of the present invention being provided is introduced, and the method is applied to server apparatus, can comprise:
Receive the request of data of subscriber equipment, in described request of data, carry the time parameter of subscriber equipment local data and the sign of target data;
According to the sign of described target data, search corresponding target data, and the time parameter of definite target data;
The time parameter of the time parameter of described local data and described target data is compared, and according to comparative result, whether the update time that judges local data is early than update time of target data;
If early than the update time of described target data, send target data to described subscriber equipment the update time of described local data;
If be no earlier than the update time of described target data the update time of described local data, to described subscriber equipment, do not send target data.
Application technique scheme, server compares the time parameter of the time parameter of subscriber equipment local data and target data, and whether the update time that judges described local data according to comparative result is early than update time of described target data, in the situation that early than the update time of described target data, just send target data to subscriber equipment the update time of described local data.Compared with prior art, in the situation that the displaying content of videoconference client homepage/channel page has been what be new, server does not need to return to the data relevant to this what be new to this videoconference client, has alleviated the pressure of server process data.
In order to make those skilled in the art understand better the technical scheme in the present invention, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
On network, the renewal speed of each video information is very fast, and videoconference client just need to be to showing on its homepage/channel page that content constantly upgrades.Yet, in existing implementation method, videoconference client often refreshes homepage/channel page one time, server all needs to return to relevant video data to this client, the data processing pressure of server is larger, and the response time of the request of data that client is sent is longer, in order to reduce the data processing pressure of server, and the response time that shortens request of data, the embodiment of the present invention has proposed a kind of request of data response method and device.
First a kind of request of data response method embodiment of the present invention being provided is below introduced.
As shown in Figure 1a, a kind of request of data response method, is applied to server apparatus, can comprise:
S101, the request of data of reception subscriber equipment, in described request of data, carries the time parameter of subscriber equipment local data and the sign of target data.
" subscriber equipment " described in the embodiment of the present invention can be understood as the electronic equipment with video playback capability, and in actual applications, this electronic equipment can be desktop computer, notebook computer, panel computer or mobile phone etc.
" time parameter of subscriber equipment local data " described in the embodiment of the present invention can be understood as the parameter that can characterize this Data Update time, in actual applications, the time parameter of subscriber equipment local data can be the timestamp of local data, or the version identifier of local data, the embodiment of the present invention is not construed as limiting this.
" sign of target data " described in the embodiment of the present invention can be understood as the sign for this target data and other data are distinguished, and this sign can be the title of target data or type of target data etc.
In embodiments of the present invention, as shown in Figure 1 b, subscriber equipment can send request of data to server, carries the time parameter of subscriber equipment local data in this request of data, and the sign of target data, and server receives the request of data from this subscriber equipment.
S102, according to the sign of described target data, searches corresponding target data, and the time parameter of definite target data.
After receiving the request of data of subscriber equipment transmission, server, according to the sign of the target data of carrying in this request of data, is searched the target data corresponding to this sign in this locality, determines the time parameter of this target data simultaneously.Such as user wishes to refresh the homepage of videoconference client in computer, on the videoconference client of user in computer, carry out after corresponding operating, this videoconference client can generate for user's operation corresponding request of data, in this request of data, just carry the sign of homepage data, server receives after this request of data from computer, can determine the homepage data that videoconference client is asked according to the sign of homepage data, and the time parameter of these homepage data.
S103, compares the time parameter of the time parameter of described local data and described target data.
It should be noted that, the time parameter of subscriber equipment local data and the time parameter of target data be can characterization data the parameter of update time, when timestamp that the time parameter of subscriber equipment local data is this local data, the time parameter of target data is the timestamp of this target data, such as, the timestamp of subscriber equipment local data is 1394429628, and the timestamp of target data is 1394440000; When version identifier that the time parameter of subscriber equipment local data is this local data, the time parameter of target data is the version identifier of this target data, such as the version identifier of subscriber equipment local data is starting version, the version identifier of target data is second edition.
After determining the time parameter of target data, server compares the time parameter of the time parameter of subscriber equipment local data and determined target data, is actually compared the update time of the update time of subscriber equipment local data and target data.
Whether S104, according to comparative result, judge and early than the update time of described target data, if so, forward S105 to, otherwise forward S106 to the update time of described local data.
After the time parameter of the time parameter of subscriber equipment local data and determined target data is compared, whether the update time that judges described local data according to comparative result is early than update time of described target data, such as, as shown in Figure 1 b, subscriber equipment is for the first time after server sends request of data, server receives this request of data, and the data of discovery server this locality are newer, to this subscriber equipment, returns to target data; Subscriber equipment is for the second time after server sends request of data, and server receives request of data, finds that the data of videoconference client in subscriber equipment have been latest data, can only to subscriber equipment, return to one without the state upgrading or not return to any data.
S105, sends target data to described subscriber equipment.
In the situation that the update time of local data early than the update time of target data, server sends target data to subscriber equipment.
S106, does not send target data to described subscriber equipment.
In the situation that be no earlier than the update time of target data, server does not send target data to subscriber equipment update time of local data.
As can be seen here, server compares the time parameter of the time parameter of subscriber equipment local data and target data, and whether the update time that judges described local data according to comparative result is early than update time of described target data, in the situation that early than the update time of described target data, just send target data to subscriber equipment the update time of described local data.Compared with prior art, in the situation that the displaying content of videoconference client homepage/channel page has been what be new, server does not need to return to the data relevant to this what be new to this videoconference client, has alleviated the pressure of server process data.
In another embodiment of the present invention, as shown in Figure 2, a kind of request of data response method, is applied to server apparatus, can comprise:
S201, the request of data of reception subscriber equipment, in described request of data, carries the time parameter of subscriber equipment local data and the sign of target data.
S202, according to the sign of described target data,, search corresponding target data, and the time parameter of definite target data.
S203, compares the time parameter of the time parameter of described local data and described target data.
Whether S204, according to comparative result, judge and early than the update time of described target data, if so, forward S205 to, otherwise forward S206 to the update time of described local data.
S205, sends target data to described subscriber equipment.
S206, does not send target data to described subscriber equipment.
S201 in the embodiment of the present invention, S202, S203, S204, S205 and S206 are identical with S101, S102, S103, S104, S105 and S106 in last embodiment respectively, and the embodiment of the present invention repeats no more this.
S207, returns to prompting message to subscriber equipment, and described prompting message is latest data for pointing out the local data of this subscriber equipment of user.
In the situation that judgement subscriber equipment local data has been latest data, server can return to prompting message to subscriber equipment, such as, as shown in Figure 1 b, videoconference client in discovering server subscriber equipment has been latest data, only to subscriber equipment, has returned to one without the state upgrading.
Sometimes, after user refreshes the videoconference client homepage in subscriber equipment, the homepage content of finding this client does not change, can continuous several times refresh this homepage, the embodiment of the present invention is by returning to a prompting message to subscriber equipment, notifying videoconference client in this subscriber equipment of user has been latest data, thereby has avoided user's Multiple through then out subscriber equipment to server, to send the situation of request of data, has reduced the pressure of server process data.
Said method embodiment is described from the angle of server, and next embodiment of the present invention method is described the angle from subscriber equipment, and the embodiment of the present invention provides a kind of data request method for this reason.
As shown in Figure 3, a kind of data request method, is applied to subscriber equipment, can comprise:
S301, sends request of data to server;
Wherein, in described request of data, carry the time parameter of subscriber equipment local data and the sign of target data, so that server is according to the sign of described target data, search corresponding target data, determine the time parameter of target data, and the time parameter of the time parameter of determined target data and local data is compared, whether early than the update time of target data, send data message according to judged result to subscriber equipment the update time that judges local data according to comparative result;
Described judged result comprises: the update time of described local data, now, the data message that subscriber equipment receives was target data early than the update time of described target data;
Or be no earlier than the update time of described target data the update time of described local data, now, the data message that subscriber equipment receives is prompting message, and described prompting message is latest data for pointing out the local data of this subscriber equipment of user.
In embodiments of the present invention, subscriber equipment can be according to user's trigger action, to server, send request of data, such as user clicks certain function button, carries out certain menu option on subscriber equipment, or by some specific prompt operation, trigger subscriber equipment and send request of data to server; Or subscriber equipment can periodically send request of data to server according to the default time cycle, such as subscriber equipment can send a secondary data request to server in every 5 hours.
It should be noted that, can, according to empirical value, the value of " default time cycle " described in the embodiment of the present invention be set in advance; Also can to the value of this default time cycle, arrange according to user's actual demand, the embodiment of the present invention is not construed as limiting this.
In a specific embodiment of the present invention, subscriber equipment can, by judging whether user's current trigger action and the time interval of last trigger action are greater than default time threshold, determine whether to send request of data to server;
If user's current trigger action and last trigger action interval greater than default time threshold, according to user's current trigger action, to server, send request of data.
Embodiment of the present invention limits with the last time interval that sends request of data by this being sent to request of data, for the time interval, be less than the request of data of default time threshold, subscriber equipment does not send to server by this request of data, has alleviated the pressure of server.
S302, the data message that reception server sends.
Corresponding to the embodiment of method above, the embodiment of the present invention also provides a kind of request of data responding device, and as shown in Figure 4, this application of installation, in server apparatus, can comprise:
Request of data receiver module 401, for receiving the request of data of subscriber equipment, in described request of data, carries the time parameter of subscriber equipment local data and the sign of target data;
Target data determination module 402, for according to the sign of described target data, searches corresponding target data, and the time parameter of definite target data;
Time parameter comparison module 403, for comparing the time parameter of the time parameter of described local data and described target data;
Judge module 404, for according to comparative result, whether the update time that judges described local data is early than update time of described target data;
Target data sending module 405, in the situation that early than update time of described target data, send target data to described subscriber equipment the update time that judgment result is that described local data of described judge module 404.
In the another kind of request of data responding device providing in the embodiment of the present invention, as shown in Figure 5, this application of installation, in server apparatus, can comprise:
Request of data receiver module 501, for receiving the request of data of subscriber equipment, in described request of data, carries the time parameter of subscriber equipment local data and the sign of target data;
Target data determination module 502, for according to the sign of described target data, searches corresponding target data, and the time parameter of definite target data;
Time parameter comparison module 503, for comparing the time parameter of the time parameter of described local data and described target data;
Judge module 504, for according to comparative result, whether the update time that judges described local data is early than update time of described target data;
Target data sending module 505, in the situation that early than update time of described target data, send target data to described subscriber equipment the update time that judgment result is that described local data of described judge module 504;
Prompting message returns to module 506, be used in the situation that the update time that is no earlier than described target data the update time that judgment result is that described local data of described judge module 504, to subscriber equipment, return to prompting message, described prompting message is latest data for pointing out the local data of this subscriber equipment of user.
Further, the timestamp that the time parameter of described local data is local data, the timestamp that the time parameter of described target data is target data.
Further, the version identifier that the time parameter of described local data is local data, the version identifier that the time parameter of described target data is target data.
The embodiment of the present invention also provides a kind of request of data device, and as shown in Figure 6, this application of installation, in subscriber equipment, can comprise:
Request of data sending module 601, for sending request of data to server, in described request of data, carry the time parameter of subscriber equipment local data and the sign of target data, so that server is according to the sign of described target data, search corresponding target data, determine the time parameter of target data, and the time parameter of the time parameter of determined target data and local data is compared, whether early than the update time of target data, send data message according to judged result to subscriber equipment the update time that judges local data according to comparative result;
Wherein, described judged result comprises: the update time of described local data, now, the data message that data message receiver module 602 receives was target data early than the update time of described target data;
Or be no earlier than the update time of described target data the update time of described local data, now, the data message that data message receiver module 602 receives is prompting message, and described prompting message is latest data for pointing out the local data of this subscriber equipment of user.
Data message receiver module 602, the data message sending for reception server;
Further, described request of data sending module 601 sends request of data to server, specifically comprises:
According to the default time cycle, to server, periodically send request of data;
Or
According to user's trigger action, to server, send request of data.
Further, described request of data sends 601 modules according to user's trigger action, to server, sends request of data, is specially:
Judge whether user's current trigger action and the time interval of last trigger action are greater than default time threshold;
If so,, according to user's current trigger action, to server, send request of data.
For device embodiment, because it is substantially similar in appearance to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
While for convenience of description, describing above device, with function, being divided into various modules describes respectively.Certainly, when enforcement is of the present invention, the function of each module can be realized in same or a plurality of software and/or hardware.
It should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
Each embodiment in this specification all adopts relevant mode to describe, between each embodiment identical similar part mutually referring to, each embodiment stresses is the difference with other embodiment.Especially, for device embodiment, because it is substantially similar in appearance to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
One of ordinary skill in the art will appreciate that all or part of step realizing in said method execution mode is to come the hardware that instruction is relevant to complete by program, described program can be stored in computer read/write memory medium, here alleged storage medium, as: ROM/RAM, magnetic disc, CD etc.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any modifications of doing within the spirit and principles in the present invention, be equal to replacement, improvement etc., be all included in protection scope of the present invention.

Claims (14)

1. a request of data response method, is applied to server apparatus, it is characterized in that, the method comprises:
Receive the request of data of subscriber equipment, in described request of data, carry the time parameter of subscriber equipment local data and the sign of target data;
According to the sign of described target data, search corresponding target data, and the time parameter of definite target data;
The time parameter of the time parameter of described local data and described target data is compared, and according to comparative result, whether the update time that judges described local data is early than update time of described target data;
If early than the update time of described target data, send target data to described subscriber equipment the update time of described local data;
If be no earlier than the update time of described target data the update time of described local data, to described subscriber equipment, do not send target data.
2. method according to claim 1, is characterized in that, the method also comprises:
In the situation that be no earlier than the update time of described target data the update time of described local data, to subscriber equipment, return to prompting message, described prompting message is latest data for pointing out the local data of this subscriber equipment of user.
3. method according to claim 1, is characterized in that, the timestamp that the time parameter of described local data is local data, the timestamp that the time parameter of described target data is target data.
4. method according to claim 1, is characterized in that, the version identifier that the time parameter of described local data is local data, the version identifier that the time parameter of described target data is target data.
5. a data request method, is applied to subscriber equipment, it is characterized in that, the method comprises:
To server, send request of data, in described request of data, carry the time parameter of subscriber equipment local data and the sign of target data, so that server is according to the sign of described target data, search corresponding target data, determine the time parameter of target data, and the time parameter of the time parameter of determined target data and local data is compared, whether early than the update time of target data, send data message according to judged result to subscriber equipment the update time that judges local data according to comparative result;
The data message that reception server sends;
Wherein, described judged result comprises: the update time of described local data, now, the data message that subscriber equipment receives was target data early than the update time of described target data;
Or be no earlier than the update time of described target data the update time of described local data, now, the data message that subscriber equipment receives is prompting message, and described prompting message is latest data for pointing out the local data of this subscriber equipment of user.
6. method according to claim 5, is characterized in that, described to server transmission request of data, comprising:
According to the default time cycle, to server, periodically send request of data;
Or
According to user's trigger action, to server, send request of data.
7. method according to claim 6, is characterized in that, described according to user's trigger action, to server, sends request of data, comprising:
Judge whether user's current trigger action and the time interval of last trigger action are greater than default time threshold;
If so,, according to user's current trigger action, to server, send request of data.
8. a request of data responding device, is applied to server apparatus, it is characterized in that, this device comprises:
Request of data receiver module, for receiving the request of data of subscriber equipment, in described request of data, carries the time parameter of subscriber equipment local data and the sign of target data;
Target data determination module, for according to the sign of described target data, searches corresponding target data, and the time parameter of definite target data;
Time parameter comparison module, for comparing the time parameter of the time parameter of described local data and described target data;
Judge module, for according to comparative result, whether the update time that judges described local data is early than update time of described target data;
Target data sending module, in the situation that early than update time of described target data, send target data to described subscriber equipment the update time of described local data.
9. device according to claim 8, is characterized in that, this device also comprises:
Prompting message returns to module, be used in the situation that be no earlier than the update time of described target data update time of described local data, to subscriber equipment, return to prompting message, described prompting message is latest data for pointing out the local data of this subscriber equipment of user.
10. device according to claim 8, is characterized in that, the timestamp that the time parameter of described local data is local data, the timestamp that the time parameter of described target data is target data.
11. devices according to claim 8, is characterized in that, the version identifier that the time parameter of described local data is local data, the version identifier that the time parameter of described target data is target data.
12. 1 kinds of request of data devices, are applied to subscriber equipment, it is characterized in that, this device comprises:
Request of data sending module, for sending request of data to server, in described request of data, carry the time parameter of subscriber equipment local data and the sign of target data, so that server is according to the sign of described target data, search corresponding target data, determine the time parameter of target data, and the time parameter of the time parameter of determined target data and local data is compared, whether early than the update time of target data, send data message according to judged result to subscriber equipment the update time that judges local data according to comparative result;
Data message receiver module, the data message sending for reception server;
Wherein, described judged result comprises: the update time of described local data, now, the data message that data message receiver module receives was target data early than the update time of described target data;
Or be no earlier than the update time of described target data the update time of described local data, now, the data message that data message receiver module receives is prompting message, and described prompting message is latest data for pointing out the local data of this subscriber equipment of user.
13. devices according to claim 12, is characterized in that, described request of data sending module sends request of data to server, specifically comprises:
According to the default time cycle, to server, periodically send request of data;
Or
According to user's trigger action, to server, send request of data.
14. devices according to claim 13, is characterized in that, described request of data sending module, according to user's trigger action, sends request of data to server, is specially:
Judge whether user's current trigger action and the time interval of last trigger action are greater than default time threshold;
If so,, according to user's current trigger action, to server, send request of data.
CN201410223831.5A 2014-05-26 2014-05-26 Data request response method and device Pending CN103986773A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410223831.5A CN103986773A (en) 2014-05-26 2014-05-26 Data request response method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410223831.5A CN103986773A (en) 2014-05-26 2014-05-26 Data request response method and device

Publications (1)

Publication Number Publication Date
CN103986773A true CN103986773A (en) 2014-08-13

Family

ID=51278596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410223831.5A Pending CN103986773A (en) 2014-05-26 2014-05-26 Data request response method and device

Country Status (1)

Country Link
CN (1) CN103986773A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208081A (en) * 2015-08-14 2015-12-30 深圳联友科技有限公司 Method and system realizing network communication through subscription mode
CN105577798A (en) * 2015-12-25 2016-05-11 北京奇虎科技有限公司 Method and device for updating and issuing data
CN105634801A (en) * 2015-12-25 2016-06-01 北京奇虎科技有限公司 Data updating method and device
CN105786955A (en) * 2015-01-08 2016-07-20 国际商业机器公司 Data replication in a database management system
CN105843599A (en) * 2016-02-01 2016-08-10 乐视移动智能信息技术(北京)有限公司 Method and apparatus for reducing user high-frequency operation influence, and user terminal
CN106302821A (en) * 2016-10-20 2017-01-04 腾讯音乐娱乐(深圳)有限公司 A kind of data request method and equipment thereof
CN106454419A (en) * 2016-11-18 2017-02-22 乐视控股(北京)有限公司 Data acquisition method, device and electronic equipment
CN106878370A (en) * 2016-09-19 2017-06-20 阿里巴巴集团控股有限公司 The update method and equipment of a kind of local cache
CN111294658A (en) * 2018-12-07 2020-06-16 北京字节跳动网络技术有限公司 Information processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1767520A (en) * 2004-10-26 2006-05-03 华为技术有限公司 Method for obtaining information in communication system
CN101064630A (en) * 2006-04-24 2007-10-31 华为技术有限公司 Data synchronization method and system
CN101316256A (en) * 2007-05-28 2008-12-03 微码(北京)移动技术有限公司 Data updating method
CN101626339A (en) * 2008-07-07 2010-01-13 英华达(上海)电子有限公司 Method and system for downloading network data
CN103428188A (en) * 2012-05-25 2013-12-04 北京小米科技有限责任公司 Method and apparatus for file updating, and associated equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1767520A (en) * 2004-10-26 2006-05-03 华为技术有限公司 Method for obtaining information in communication system
CN101064630A (en) * 2006-04-24 2007-10-31 华为技术有限公司 Data synchronization method and system
CN101316256A (en) * 2007-05-28 2008-12-03 微码(北京)移动技术有限公司 Data updating method
CN101626339A (en) * 2008-07-07 2010-01-13 英华达(上海)电子有限公司 Method and system for downloading network data
CN103428188A (en) * 2012-05-25 2013-12-04 北京小米科技有限责任公司 Method and apparatus for file updating, and associated equipment

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786955A (en) * 2015-01-08 2016-07-20 国际商业机器公司 Data replication in a database management system
CN105208081A (en) * 2015-08-14 2015-12-30 深圳联友科技有限公司 Method and system realizing network communication through subscription mode
CN105577798A (en) * 2015-12-25 2016-05-11 北京奇虎科技有限公司 Method and device for updating and issuing data
CN105634801A (en) * 2015-12-25 2016-06-01 北京奇虎科技有限公司 Data updating method and device
CN105577798B (en) * 2015-12-25 2019-03-05 北京奇虎科技有限公司 Update the method and device of publication data
CN105843599A (en) * 2016-02-01 2016-08-10 乐视移动智能信息技术(北京)有限公司 Method and apparatus for reducing user high-frequency operation influence, and user terminal
CN106878370A (en) * 2016-09-19 2017-06-20 阿里巴巴集团控股有限公司 The update method and equipment of a kind of local cache
CN106302821A (en) * 2016-10-20 2017-01-04 腾讯音乐娱乐(深圳)有限公司 A kind of data request method and equipment thereof
CN106302821B (en) * 2016-10-20 2019-12-31 腾讯音乐娱乐(深圳)有限公司 Data request method and equipment thereof
CN106454419A (en) * 2016-11-18 2017-02-22 乐视控股(北京)有限公司 Data acquisition method, device and electronic equipment
CN111294658A (en) * 2018-12-07 2020-06-16 北京字节跳动网络技术有限公司 Information processing method and device

Similar Documents

Publication Publication Date Title
CN103986773A (en) Data request response method and device
CN113938456B (en) Session message overhead processing method and device
CN104978215B (en) file updating method, related device and system
US11310066B2 (en) Method and apparatus for pushing information
CN104471917A (en) Application information sharing method and device
CN106713985B (en) Method and device for recommending network video
CN105550252A (en) File positioning method and device and electronic equipment
CN104618816A (en) Cross-screen interaction method, device and system
CN109117039B (en) Display method and terminal equipment
CN104811817A (en) Method and device for using video client software to play videos
CN109412821B (en) Message processing method and device and electronic equipment
CN111277847A (en) Method, device, server and system for displaying chat messages in live broadcast
CN103414765A (en) Method, device and system for shunting information in graphic code
CN104283926A (en) Data synchronization method, device and server
CN112306340B (en) Information display method, information transmission device, electronic equipment and medium
CN102904903A (en) Communication system and communication method
CN103024067A (en) Method and server for pushing information to intelligent terminals
CN103647756A (en) Advertisement broadcasting method, server, client and system
CN104461433A (en) Individual interface display method and device
CN103139761A (en) Information real-time show method and mobile communication terminal
CN104702703A (en) Method and device for updating data
CN104021221A (en) Information pushing method and device
CN105138579A (en) Method and device for obtaining keywords and recommending information based on keywords
CN105142184A (en) Flow control method and electronic device
CN104123299A (en) Message sharing method, device and system among multiple terminal devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140813

RJ01 Rejection of invention patent application after publication