WO2017107683A1 - 更新数据的方法及装置 - Google Patents

更新数据的方法及装置 Download PDF

Info

Publication number
WO2017107683A1
WO2017107683A1 PCT/CN2016/104574 CN2016104574W WO2017107683A1 WO 2017107683 A1 WO2017107683 A1 WO 2017107683A1 CN 2016104574 W CN2016104574 W CN 2016104574W WO 2017107683 A1 WO2017107683 A1 WO 2017107683A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
identification information
information
update
acquisition request
Prior art date
Application number
PCT/CN2016/104574
Other languages
English (en)
French (fr)
Inventor
郭军
洪伟
梁敬彪
Original Assignee
北京奇虎科技有限公司
奇智软件(北京)有限公司
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 北京奇虎科技有限公司, 奇智软件(北京)有限公司 filed Critical 北京奇虎科技有限公司
Publication of WO2017107683A1 publication Critical patent/WO2017107683A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data

Definitions

  • the present invention relates to the field of computer technology, and in particular, to a method and apparatus for updating data.
  • An embodiment of the present invention provides a method for updating data, including: when detecting an initiation triggering operation of an application, generating a data acquisition request including a plurality of identification information and corresponding first data version information based on the stored local data. a part for acquiring data required by the application; transmitting the data acquisition request and receiving data returned in response to the data acquisition request; performing an update on the stored local data according to the returned data operating.
  • Another embodiment of the present invention provides a method for updating data, including: receiving a data acquisition request from a client that includes a plurality of identification information and corresponding first data version information; determining, according to the data acquisition request, that the data has been stored If the data corresponding to the plurality of identification information is updated in the local data, if it is determined that the data corresponding to the at least one identification information is updated, the update data corresponding to the at least one identification information is returned to the client.
  • Another embodiment of the present invention provides an apparatus for updating data, including: a detecting module, configured to generate, according to the stored local data, a plurality of identification information and a corresponding first when detecting an activation triggering operation of the application a data acquisition request of the data version information for acquiring a part of data required by the application; a sending module, configured to send the data acquisition request and receive data returned in response to the data acquisition request; And performing an update operation on the stored local data according to the returned data.
  • Another embodiment of the present invention provides an apparatus for updating data, including: a receiving module, configured to receive a data acquisition request including a plurality of identification information and corresponding first data version information from a client; and a determining module, configured to: Determining, according to the data acquisition request, whether the data corresponding to the plurality of identifiers in the stored local data is updated; and the returning module, configured to determine, when the data corresponding to the at least one identifier information is updated, the at least one identifier information The corresponding update data is returned to the client.
  • Another embodiment of the present invention is directed to a computer program comprising computer readable code that, when executed on a computing device, causes the computing device to perform the method as described above.
  • Another embodiment of the present invention is directed to a computer readable medium storing a computer program as described above.
  • a method for updating data is provided. First, a plurality of identification information of locally stored data and an acquisition request of the corresponding first data version information are sent to the server, and the server may be based on the stored multiple data.
  • the identifier information and the corresponding second data version information determine whether the data corresponding to the plurality of data identifier information is updated, and if yes, the update data may be returned to the client, and then the client may update the data according to the plurality of identifier information returned by the server.
  • the data corresponding to the corresponding multiple identification information of the client is updated, and the corresponding updated data is obtained according to the actual storage and usage requirements of the terminal, and the corresponding data of the terminal is performed.
  • the update improves the efficiency and response speed of the terminal to obtain updated data.
  • the user can obtain updated data from the server in different terminal devices in time, avoiding the situation that the user lags behind to obtain updated data, and ensures that the user obtains updated data. Timeliness; further, the network traffic consumed by the terminal in obtaining data is reduced, which saves the user's terminal use cost, thereby improving the user experience.
  • FIG. 1 is a schematic flow chart of a method for updating data according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of a method for updating data according to a preferred embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of an apparatus for updating data according to another embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an apparatus for updating data according to another preferred embodiment of the present invention.
  • Figure 5 shows a block diagram of a computing device for performing the method according to the invention
  • Figure 6 shows a schematic diagram of a memory unit for holding or carrying program code implementing the method according to the invention.
  • FIG. 1 is a schematic flow chart of a method for updating data according to an embodiment of the present invention.
  • Step S110 When the client detects the startup triggering operation of the application, the client generates a data acquisition request including the plurality of identification information and the corresponding first data version information, based on the stored local data, for acquiring data required by the application.
  • step S120 the client sends a data acquisition request
  • step S130 the server receives a data acquisition request including a plurality of identification information and corresponding first data version information from the client
  • step S140 the server determines that the storage has been performed according to the data acquisition request If the data corresponding to the plurality of identification information is updated in the local data, in step S150: if it is determined that the data corresponding to the at least one identification information is updated, the server returns the update data corresponding to the at least one identification information to the client;
  • Step S160 The client receives the data returned in response to the data acquisition request; step S170: the client performs an update operation on the stored local data according to the returned data.
  • a method for updating data is provided. First, a plurality of identification information of locally stored data and an acquisition request of the corresponding first data version information are sent to the server, and the server may be based on the stored multiple data.
  • the identifier information and the corresponding second data version information determine whether the data corresponding to the plurality of data identifier information is updated, and if yes, the update data may be returned to the client, and then the client may update the data according to the plurality of identifier information returned by the server.
  • the data corresponding to the plurality of identification information of the client is updated, and the corresponding update data is obtained according to the actual storage and usage requirements of the terminal, and the corresponding data of the terminal is updated, thereby improving the terminal to obtain the updated data.
  • the user can obtain updated data from the server in different terminal devices in time, avoiding the user lag to obtain more
  • the situation of the new data ensures the timeliness of the user to obtain the updated data; further, the network traffic consumed by the terminal in the process of acquiring data is reduced, and the user's terminal use cost is saved, thereby improving the user experience.
  • Step S110 When the client detects the startup triggering operation of the application, the client generates a data acquisition request including the plurality of identification information and the corresponding first data version information, based on the stored local data, for acquiring data required by the application. portion.
  • the plurality of identification information corresponds to data loaded by the application home page.
  • the terminal device when a startup triggering operation from the user to the application "Public Review” client is detected, generating a plurality of identification information such as "Public Review” based on the local data stored in the local storage area.
  • the identification information of the data in the "Wonderful Recommendation” section loaded and the identification information of the data in the "Guess You Like” section loaded on the "Popular Comments" homepage, and the first data of the "Wonderful Recommendation" data section loaded on the "Popular Comments” homepage.
  • Version information such as "Version-Fantastic Recommended-'2015-12-18 15:40:00'” and "Popular Comments” home page loaded with the "guess you like” part of the data first information version information such as "Version- guess you like - '2015-12-18 15:40:00'” data acquisition request for obtaining a part of the "Fantastic Recommendation” and "Guess You Like” data on the home page required for "Popular Comments”.
  • the plurality of identification information corresponds to data required for functions commonly used by the user in the application.
  • the terminal device when a startup triggering operation for the application "WeChat” client is detected, generating, based on the stored local data, a plurality of identification information, such as a "user profile list” of the user commonly used function in “WeChat” a plurality of identification information of the required data and a data acquisition request of the first data version information corresponding to the plurality of identifiers in the "latest friend conversation list" of the "WeChat”; wherein the identification information may be a friend ID, and the corresponding first data version
  • the information may be an update time corresponding to the good ID, such as generating a friend ID of “friend ID-Zhang San”, and the corresponding first data version information is “Version-Zhang San-'2015-12-18 15:40: 00'” data acquisition request for obtaining the data of the friend Zhang San in the latest friend session list data required by "WeChat”.
  • Step S120 The client sends a data acquisition request.
  • the "Public Review” client sends a data acquisition request to the server to obtain the "Fantastic Recommendation” and "Guess You Like” data required for the "Popular Review”.
  • Step S130 The server receives the plurality of identification information and the corresponding number from the client. A data acquisition request for a data version information.
  • the server receives the identification information of the data from the client including the "excellent recommendation” loaded by the “Public Comments” homepage and the identification information of the data of "Guess You Like” loaded on the “Public Comments” homepage, and the "Popular Comments” homepage loading.
  • Step S140 The server determines, according to the data acquisition request, whether the data corresponding to the plurality of identifier information in the stored local data is updated.
  • Step S150 If it is determined that the data corresponding to the at least one identification information is updated, the update data corresponding to the at least one identification information is returned to the client.
  • the respective identification information of the "excellent recommendation” and “guess you like” data loaded on the "public comment” homepage and the “excellent recommendation” and “guess you like” data loaded on the "public comment” homepage are extracted.
  • the respective first data version information of the respective data determines whether data corresponding to the respective identification information of the "excellent recommendation” and “guess you like” data loaded in the "public comment” homepage stored in the stored server data occurs. Update.
  • the step of determining whether the data corresponding to the plurality of identification information in the stored local data is updated according to the data acquisition request includes step S210, step S220, and step S230.
  • Step S210 Searching for data matching the respective identification information in the stored local data, the data having the second data version information;
  • Step S220 determining whether the second data version information corresponding to the same identification information is newer than the first data Version information;
  • Step S230 If yes, it is determined that the data corresponding to the identification information is updated.
  • the step of returning the update data corresponding to the at least one identifier information to the client specifically includes step S240.
  • Step S240 Returning data corresponding to the second data version information in the local data to the client as update data.
  • the server searches the stored server data for data that matches the identification information of the respective data of "excellent recommendation” and “guess you like” loaded on the "Popular Comments” homepage, and the data has respective second data version information "Version”. - Wonderful recommendation - '2015-12-18 15:50:00'” and “Version-Guess what you like-'2015-12-18 15:40:00'”, and then judge the corresponding to the "Public Comments” home page loading
  • the second data version information of the "excellent recommendation” identification information is newer than the first data version information corresponding to the identification information of the "excellent recommendation” loaded on the "public comment” homepage loading “Version-Wonderful recommendation-'2015-12-18 15:40:00'”, the data corresponding to the “Wonderful Recommendation” logo information loaded on the “Popular Comments” homepage is updated; the judgment corresponds to the “Public Review” homepage.
  • the second data version information of the loaded "guess you like” identification information and the first data version information corresponding to the "guess you like” identification information loaded on the "Public Comments" homepage "Version-Guess you like-'2015- 12-18 15:40:00'” is the same, then the data corresponding to the identification information of "Guess You Like” loaded on the "Popular Comments” homepage has not been updated; subsequently, the judgment corresponds to the "Fantastic Review” homepage loading "exciting”
  • the data corresponding to at least one of the two identification information of "recommended” and “guess you like” is updated, that is, the data corresponding to the identification information of the "excellent recommendation” loaded on the "public comment” homepage is updated, and the corresponding information in the server is Corresponding to the second data version information of the "Wonderful Recommendation" logo information loaded on the "Public Comments” homepage "Version-Wonderful Recommendation-'2015-12-18 15:50:00'” It is returned as the update data to the terminal
  • the step of determining whether the data corresponding to the plurality of identification information in the stored local data is updated according to the data acquisition request comprises: determining whether any of the stored local data is When the identifier information corresponding to the data does not exist in the data acquisition request, it is determined that the data corresponding to the identifier information is updated.
  • the step of returning the update data corresponding to the at least one identification information to the client specifically includes: returning, in the local data, the data corresponding to the identification information that does not exist in the data acquisition request as the update data to the client.
  • the identification information corresponding to the data in the stored server data such as the “big name snap” loaded on the “Public Review” homepage
  • the identification information does not exist in the “excellent recommendation” and “guess” included in the “Public Review” homepage.
  • you can judge that the data corresponding to the identification information of the "big-name snap-up” loaded on the "Popular Review” homepage is updated, and then the server data corresponds to the "Popular Review” that does not exist in the data acquisition request.
  • the data corresponding to the identification information of the "big-name snap-up" loaded on the home page is returned to the terminal device as update data.
  • Step S160 Receive data returned in response to the data acquisition request.
  • the returned data includes update data corresponding to the at least one identification information, and the update data has second data version information updated with the first data version information.
  • the terminal device receives the data returned by the server in response to the data acquisition request, and the returned data includes the identifier information corresponding to the “excellent recommendation” loaded on the “Popular Comments” homepage.
  • New data, and the second data version information updated with the first data version information "Version-Fantastic recommendation-'2015-12-18 15:40:00'" "Version- Wonderful recommendation-'2015-12-18 15: 50:00'”.
  • the terminal device receives data returned by the server in response to the data acquisition request, and the returned data includes update data corresponding to the identification information of the “big-name snap-up” loaded on the “public comment” homepage, and the corresponding second data version information. Version-big name snapped-'2015-12-18 15:50:00'".
  • Step S170 Perform an update operation on the stored local data according to the returned data.
  • the step of performing an update operation on the stored local data in accordance with the returned data includes step S171 (not shown).
  • the terminal data device is replaced with the update data of the second data version information "Version-Fantastic recommendation-'2015-12-18 15:50:00'" corresponding to the "excellent recommendation” identification information loaded on the "Public Comments” homepage.
  • the older data corresponding to the "excellent recommendation” identification information loaded on the "Popular Comments” homepage in the data.
  • the step of performing an update operation on the stored local data in accordance with the returned data includes step S172 (not shown).
  • Step S172 Add update data having the second data version information to the corresponding portion in the local data according to the identification information and replace the first data version information with the second data version information.
  • the update data corresponding to the identification information of the “big-name snap-up” loaded on the “public comment” homepage with the second data version information is added to the local device of the terminal device.
  • the "Popular Comments" homepage loads the corresponding part of the data
  • the corresponding second data version information "Version- ⁇ -'2015-12-18 15:50:00'" is added as the first A data version information.
  • the user logs in to WeChat with the account of “abc” in the terminal device A, and the user adds the friend “Xiaoming” to the “WeChat” at the time of “2015-12-18 18:10:00”.
  • the server can store corresponding information data of the newly added friend “Xiaoming” and its second data version information “Version-Xiaoming-'2015-12-18 18:10:00'”, and then use
  • the user exits the WeChat user of the account "abc” in the terminal device A; then the user logs in to the "WeChat” with the account of "abc” in the terminal device B, and triggers the start of the "WeChat” activation of the account "abc”.
  • the returned data includes the update data corresponding to “Friend ID-Xiaoming” and the second data version information of the “Friend ID-Xiaoming” corresponding data “Version-Xiaoming-'2015-12- 18 18:10:00'”, then the terminal device B will update the update data of the second data version information "Version-Xiaoming-'2015-12-18 18:10:00'" corresponding to the message "Friend ID-Xiaoming" Add to the storage area of the terminal device B, and correspondingly add the corresponding first data version information "Version- ⁇ -'2015-12-18 18:10:00'", and then the user can be in the terminal device B's "WeChat "The friend list gets the information of the friend "Xiao Ming".
  • FIG. 3 is a schematic structural diagram of an apparatus for updating data according to another embodiment of the present invention.
  • the client includes a detection module 310, a sending module 320, a second receiving module 360, and an update module 370.
  • the server includes a first receiving module 330, a determining module 340, and a returning module 350.
  • the data acquiring request including the plurality of identification information and the corresponding first data version information is generated based on the stored local data, so as to be used for acquiring the application. a part of the data; the sending module 320 sends a data acquisition request; in the server side, the first receiving module 330 receives more from the client a data acquisition request of the first identification information and the corresponding first data version information; the determining module 340 determines, according to the data acquisition request, whether the data corresponding to the plurality of identification information in the stored local data is updated; and the returning module 350 determines at least one identifier.
  • the data corresponding to the information is updated, and the update data corresponding to the at least one identification information is returned to the client; in the client, the second receiving module 360 receives the data returned in response to the data acquisition request; the update module 370 is based on the returned data pair.
  • the stored local data performs an update operation.
  • an apparatus for updating data First, a plurality of identification information of locally stored data and an acquisition request of a corresponding first data version information are sent to a server, and the server may use the stored multiple data.
  • the identifier information and the corresponding second data version information determine whether the data corresponding to the plurality of data identifier information is updated, and if yes, the update data may be returned to the client, and then the client may update the data according to the plurality of identifier information returned by the server.
  • the data corresponding to the plurality of identification information of the client is updated, and the corresponding update data is obtained according to the actual storage and usage requirements of the terminal, and the corresponding data of the terminal is updated, thereby improving the terminal to obtain the updated data.
  • the data acquiring request including the plurality of identification information and the corresponding first data version information is generated based on the stored local data, so as to be used for acquiring the application. Part of the data.
  • the plurality of identification information corresponds to data loaded by the application home page.
  • the terminal device when a startup triggering operation from the user to the application "Public Review” client is detected, generating a plurality of identification information such as "Public Review” based on the local data stored in the local storage area.
  • the identification information of the data in the "Wonderful Recommendation” section loaded and the identification information of the data in the "Guess You Like” section loaded on the "Popular Comments" homepage, and the first data of the "Wonderful Recommendation" data section loaded on the "Popular Comments” homepage.
  • Version information such as "Version-Fantastic Recommended-'2015-12-18 15:40:00'” and “Popular Comments” home page loaded with the "guess you like” part of the data first information version information such as "Version- guess you like -'2015-12-18 A data acquisition request of 15:40:00’” is used to obtain a portion of the data required for “popular comment” and “guess you like” on the home page required for “Popular Comments”.
  • the plurality of identification information corresponds to data required for functions commonly used by the user in the application.
  • the terminal device when a startup triggering operation for the application "WeChat” client is detected, generating, based on the stored local data, a plurality of identification information, such as a "user profile list” of the user commonly used function in “WeChat” a plurality of identification information of the required data and a data acquisition request of the first data version information corresponding to the plurality of identifiers in the "latest friend conversation list" of the "WeChat”; wherein the identification information may be a friend ID, and the corresponding first data version
  • the information may be an update time corresponding to the good ID, such as generating a friend ID of “friend ID-Zhang San”, and the corresponding first data version information is “Version-Zhang San-'2015-12-18 15:40: 00'” data acquisition request for obtaining the data of the friend Zhang San in the latest friend session list data required by "WeChat”.
  • the sending module 320 sends a data acquisition request.
  • the "Public Review” client sends a data acquisition request to the server to obtain the "Fantastic Recommendation” and "Guess You Like” data required for the "Popular Review”.
  • the first receiving module 330 receives a data acquisition request from the client that includes multiple pieces of identification information and corresponding first data version information.
  • the server receives the identification information of the data from the client including the "excellent recommendation” loaded by the “Public Comments” homepage and the identification information of the data of "Guess You Like” loaded on the “Public Comments” homepage, and the "Popular Comments” homepage loading.
  • the determining module 340 determines, according to the data acquisition request, whether the data corresponding to the plurality of identification information in the stored local data is updated.
  • the returning module 350 returns the update data corresponding to the at least one identification information to the client if it is determined that the data corresponding to the at least one identification information is updated.
  • the respective identification information of the "excellent recommendation” and “guess you like” data loaded on the "public comment” homepage and the “excellent recommendation” and “guess you like” data loaded on the "public comment” homepage are extracted.
  • the respective first data version information of the respective data determines whether data corresponding to the respective identification information of the "excellent recommendation” and “guess you like” data loaded in the "public comment” homepage stored in the stored server data occurs. Update.
  • the determining module includes a searching unit 410, a first determining unit 420, and a second determining unit 430.
  • the searching unit 410 searches for the data matching the respective identification information in the stored local data, and the data has the second data version information;
  • the first determining unit 420 determines whether the second data version information corresponding to the same identification information is newer than the first A data version information; if yes, the second determining unit 430 determines that the data corresponding to the identification information is updated.
  • the return module includes a first return unit 440.
  • the first return unit 440 returns data corresponding to the second data version information in the local data as update data to the client.
  • the server searches the stored server data for data that matches the identification information of the respective data of "excellent recommendation” and “guess you like” loaded on the "Popular Comments” homepage, and the data has respective second data version information "Version”. - Wonderful recommendation - '2015-12-18 15:50:00'” and “Version-Guess what you like-'2015-12-18 15:40:00'", and then judge the corresponding to the "Public Comments” home page loading
  • the second data version information of the "excellent recommendation” identification information is newer than the first data version information corresponding to the identification information of the "excellent recommendation” loaded on the "public comment” homepage "Version-exciting recommendation-'2015-12-18 15:40:00'", it is judged that the data corresponding to the "excellent recommendation” identification information loaded on the "Public Comments” homepage is updated; the identification information corresponding to the "guess you like” identification information loaded on the "Public Comments” homepage is judged.
  • the second data version information is the same as the first data version information "Version-guess you like-'2015-12-18 15:40:00'” corresponding to the "guess you like” identification information loaded on the "Public Comments” homepage.
  • the data corresponding to the identification information of “Guess You Like” loaded on the “Popular Comments” homepage has not been updated; subsequently, the two identification information corresponding to the “Wonderful Recommendation” and “Guess You Like” loaded on the “Public Comments” homepage are determined.
  • the data corresponding to at least one of the identification information is updated, that is, the data corresponding to the identification information of the “excellent recommendation” loaded on the “Popular Comments” homepage is updated, and the “excellent recommendation” corresponding to the “Public Review” homepage loaded in the server is updated.
  • the data corresponding to the second data version information "Version-Fantastic recommendation-'2015-12-18 15:50:00'" of the identification information is returned to the terminal device as update data.
  • the determining module specifically includes a third determining unit (not shown).
  • the third determining unit determines that the data corresponding to the identification information is updated.
  • the return module specifically includes a second return unit (not shown in the figure) Out). The second return unit returns data of the local data corresponding to the identification information that does not exist in the data acquisition request as update data to the client.
  • the identification information corresponding to the data in the stored server data such as the “big name snap” loaded on the “Public Review” homepage
  • the identification information does not exist in the “excellent recommendation” and “guess” included in the “Public Review” homepage.
  • you can judge that the data corresponding to the identification information of the "big-name snap-up” loaded on the "Popular Review” homepage is updated, and then the server data corresponds to the "Popular Review” that does not exist in the data acquisition request.
  • the data corresponding to the identification information of the "big-name snap-up" loaded on the home page is returned to the terminal device as update data.
  • the second receiving module 360 receives the data returned in response to the data acquisition request.
  • the returned data includes update data corresponding to the at least one identification information, and the update data has second data version information updated with the first data version information.
  • the terminal device client receives data returned by the server in response to the data acquisition request, and the returned data includes update data corresponding to the “excellent recommendation” identification information loaded on the “Public Comments” homepage, and the first data version information.
  • Version- Wonderful recommendation-'2015-12-18 15:40:00'" updated second data version information "Version- Wonderful recommendation-'2015-12-18 15:50:00'”.
  • the terminal device client receives data returned by the server in response to the data acquisition request, and the returned data includes update data corresponding to the identification information of the “big card snap” loaded on the “public comment” homepage, and the corresponding second data version.
  • Information "Version-big-name snap-up-'2015-12-18 15:50:00'”.
  • the update module 370 performs an update operation on the stored local data in accordance with the returned data.
  • the update module includes a replacement unit (not shown). Based on the identification information, the replacement unit replaces the corresponding portion in the local data with the update data having the second data version information.
  • the terminal data device is replaced with the update data of the second data version information "Version-Fantastic recommendation-'2015-12-18 15:50:00'" corresponding to the "excellent recommendation” identification information loaded on the "Public Comments” homepage.
  • the older data corresponding to the "excellent recommendation” identification information loaded on the "Popular Comments” homepage in the data.
  • the update module includes an add single Yuan (not shown). Based on the identification information, the adding unit adds the update data having the second data version information to the corresponding portion in the local data and replaces the first data version information with the second data version information.
  • the update data corresponding to the identification information of the “big-name snap-up” loaded on the “public comment” homepage with the second data version information is added to the local device of the terminal device.
  • the "Popular Comments" homepage loads the corresponding part of the data
  • the corresponding second data version information "Version- ⁇ -'2015-12-18 15:50:00'" is added as the first A data version information.
  • the user logs in to WeChat with the account of “abc” in the terminal device A, and the user adds the friend “Xiaoming” to the “WeChat” at the time of “2015-12-18 18:10:00”.
  • the server can correspondingly store related information data of the newly added friend “Xiaoming” and its second data version information “Version-Xiaoming-'2015-12-18 18:10:00'”, and then the user is at the terminal In device A, the WeChat user of the account “abc” is exited; then, in the terminal device B, the user logs in to "WeChat” with the account of "abc", and when the activation of the "WeCs" with the account "abc” is detected, based on
  • the data stored in the terminal device B generates a plurality of identification information, such as the identification information of each of the friends in the buddy list in the "WeChat", including the friends "Xiao Zhang", “Xiao Wang” and “Xiao Li", such as "Friend ID - Small Zhang, "Friend ID-Xiao Wang” and “Friend ID- Xiao Li”, and their respective first data version information such as "Version-Xiao Zhang-'2015-12
  • the data corresponding to "Friend ID-Xiaoming" which does not exist in the data acquisition request is returned to the terminal device B as update data; subsequently, the terminal device B receives the data returned by the server in response to the data acquisition request, and the returned data includes The update data corresponding to "Friend ID-Xiaoming" and the second data version information of "Friend ID-Xiaoming" corresponding data "Version-Xiaoming-'2015-12-18 18:10:00'", then terminal device B will The second data version information corresponding to the identification information "Friend ID-Xiaoming" "Version-Xiaoming - The update data of '2015-12-18 18:10:00'” is added to the storage area of the terminal device B, and the corresponding first data version information is added correspondingly "Version- ⁇ -'2015-12-18 18 :10:00'", then the user can obtain the information of the friend "Xiao Ming" in the "WeChat” buddy list of the terminal device B.
  • the present invention includes apparatus related to performing one or more of the operations described herein. These devices may be specially designed and manufactured for the required purposes, or may also include known devices in a general purpose computer. These devices have computer programs stored therein that are selectively activated or reconfigured.
  • Such computer programs may be stored in a device (eg, computer) readable medium or in any type of medium suitable for storing electronic instructions and coupled to a bus, respectively, including but not limited to any Types of disks (including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks), ROM (Read-Only Memory), RAM (Random Access Memory), EPROM (Erasable Programmable Read-Only Memory) , EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or light card.
  • a readable medium includes any medium that is stored or transmitted by a device (eg, a computer) in a readable form.
  • each block of the block diagrams and/or block diagrams and/or flow diagrams and combinations of blocks in the block diagrams and/or block diagrams and/or flow diagrams can be implemented by computer program instructions. .
  • these computer program instructions can be implemented by a general purpose computer, a professional computer, or a processor of other programmable data processing methods, such that the processor is executed by a computer or other programmable data processing method.
  • Figure 5 illustrates a block diagram of a computing device that can implement a method of updating data in accordance with the present invention.
  • the computing device conventionally includes a processor 710 and a computer program product or computer readable medium in the form of a memory 720.
  • Memory 720 can be an electronic memory such as a flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • Memory 720 has a storage space 730 that stores program code 731 for performing any of the method steps described above.
  • the storage space 730 storing the program code can be stored separately for Each program code 731 that implements the various steps in the above method.
  • the program code can be read from or written to one or more computer program products.
  • Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit such as that shown in FIG.
  • the storage unit may have a storage section or a storage space or the like arranged similarly to the storage 720 in the intelligent electronic device of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit stores program code 731' for performing the steps of the method according to the invention, ie program code readable by a processor such as 710, which causes the calculation when the program code is run by the computing device The device performs the various steps in the methods described above.
  • steps, measures, and solutions in the various operations, methods, and processes that have been discussed in the present invention may be alternated, changed, combined, or deleted. Further, other steps, measures, and schemes of the various operations, methods, and processes that have been discussed in the present invention may be alternated, modified, rearranged, decomposed, combined, or deleted. Further, the steps, measures, and solutions in the prior art having various operations, methods, and processes disclosed in the present invention may also be alternated, changed, rearranged, decomposed, combined, or deleted.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明提供了一种更新数据的方法和装置,所述方法包括:检测到应用程序的启动触发操作时,基于已存储的本地数据生成包括多个标识信息及相应的第一数据版本信息的数据获取请求,以用于获取所述应用程序所需数据的一部分;发送所述数据获取请求并接收响应于所述数据获取请求返回的数据;依据所述返回的数据对已存储的所述本地数据执行更新操作。利用上述技术方案,用户在不同的终端设备中可及时的从服务器获取更新数据,避免了用户滞后获取更新数据的情况,保证了用户获取更新数据的及时性;进一步的,降低了终端获取数据的过程中耗费的网络流量。

Description

更新数据的方法及装置 技术领域
本发明涉及计算机技术领域,具体而言,本发明涉及一种更新数据的方法及装置。
背景技术
随着时代的发展,各种终端设备已成为人们生活中必不可少的工具,各种功能强大的终端操作系统及终端应用程序不断涌现,为用户带来了更加便捷的体验。但是,由于信息的不断更新,现有终端应用程序中的信息数据也需要进行不断的更新。现有技术中,在用户进入终端应用程序后,将获取并更新应用程序所需的全部信息的数据,当信息数据量较大时,一方面,在信息数据传递后将耗费系统大量的CPU(Central Processing Unit,中央处理器)资源去更新所有的信息数据,从而影响终端的处理速度;另一方面,若信息数据通过网络方式进行传递,将耗费终端用户大量的网络流量,导致用户的终端使用成本大大提高。因此,需要一种更新数据的方案,来解决现有技术中数据更新过程中终端的响应速度较慢以及获取数据信息的过程中耗费的网络流量较高的问题。
发明内容
为克服上述技术问题或者至少部分地解决上述技术问题,特提出以下技术方案:
本发明的实施例提出了一种更新数据的方法,包括:检测到应用程序的启动触发操作时,基于已存储的本地数据生成包括多个标识信息及相应的第一数据版本信息的数据获取请求,以用于获取所述应用程序所需数据的一部分;发送所述数据获取请求并接收响应于所述数据获取请求返回的数据;依据所述返回的数据对已存储的所述本地数据执行更新操作。
本发明的另一实施例提出了一种更新数据的方法,包括:接收来自客户端的包括多个标识信息及相应的第一数据版本信息的数据获取请求;依据所述数据获取请求,判断已存储的本地数据中多个标识信息对应的数据是否发生更新;若判断至少一个标识信息对应的数据发生更新,将与所述至少一个标识信息相应的更新数据返回至所述客户端。
本发明的另一实施例提出了一种更新数据的装置,包括:检测模块,用于检测到应用程序的启动触发操作时,基于已存储的本地数据生成包括多个标识信息及相应的第一数据版本信息的数据获取请求,以用于获取所述应用程序所需数据的一部分;发送模块,用于发送所述数据获取请求并接收响应于所述数据获取请求返回的数据;更新模块,用于依据所述返回的数据对已存储的所述本地数据执行更新操作。
本发明的另一实施例提出了一种更新数据的装置,包括:接收模块,用于接收来自客户端的包括多个标识信息及相应的第一数据版本信息的数据获取请求;判断模块,用于依据所述数据获取请求,判断已存储的本地数据中多个标识信息对应的数据是否发生更新;返回模块,用于若判断至少一个标识信息对应的数据发生更新,将与所述至少一个标识信息相应的更新数据返回至所述客户端。
本发明的另一实施例提出了一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行如上文所述的方法。
本发明的另一实施例提出了一种计算机可读介质,其中存储了如上文所述的计算机程序。
本发明的实施例中,提出了一种更新数据的方法,首先向服务器发送本地已存储的数据的多个标识信息及相应的第一数据版本信息的获取请求,服务器可根据存储的多个数据标识信息及对应的第二数据版本信息判断多个数据标识信息对应的数据是否发生更新,若是,可将更新数据返回客户端,随后客户端可根据服务器返回的多个标识信息对应的更新数据对客户端的相应多个标识信息对应的数据进行更新,实现了根据终端的实际存储及使用需求,获取所需的相应的更新数据并对终端应的相应数据进行 更新,从而提高了终端获取更新数据的效率和响应速度;同时,用户在不同的终端设备中可及时的从服务器获取更新数据,避免了用户滞后获取更新数据的情况,保证了用户获取更新数据的及时性;进一步的,降低了终端获取数据的过程中耗费的网络流量,节约了用户的终端使用成本,从而提高了用户的体验。
本发明附加的方面和优点将在下面的描述中部分给出,这些将从下面的描述中变得明显,或通过本发明的实践了解到。
附图说明
本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:
图1为本发明中一个实施例的更新数据的方法的流程示意图;
图2为本发明中一个优选实施例的更新数据的方法的流程示意图;
图3为本发明中另一实施例的更新数据的装置的结构示意图;
图4为本发明中另一优选实施例的更新数据的装置的结构示意图;
图5示出了用于执行根据本发明的方法的计算设备的框图;以及
图6示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单元示意图。
具体实施方式
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能解释为对本发明的限制。
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本发明的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件 被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。
本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本发明所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。
图1为本发明中一个实施例的更新数据的方法的流程示意图。
步骤S110:客户端检测到应用程序的启动触发操作时,基于已存储的本地数据生成包括多个标识信息及相应的第一数据版本信息的数据获取请求,以用于获取应用程序所需数据的一部分;步骤S120:客户端发送数据获取请求;步骤S130:服务器接收来自客户端的包括多个标识信息及相应的第一数据版本信息的数据获取请求;步骤S140:服务器依据数据获取请求,判断已存储的本地数据中多个标识信息对应的数据是否发生更新;步骤S150:若判断至少一个标识信息对应的数据发生更新,服务器端将与至少一个标识信息相应的更新数据返回至客户端;步骤S160:客户端接收响应于数据获取请求返回的数据;步骤S170:客户端依据返回的数据对已存储的本地数据执行更新操作。
本发明的实施例中,提出了一种更新数据的方法,首先向服务器发送本地已存储的数据的多个标识信息及相应的第一数据版本信息的获取请求,服务器可根据存储的多个数据标识信息及对应的第二数据版本信息判断多个数据标识信息对应的数据是否发生更新,若是,可将更新数据返回客户端,随后客户端可根据服务器返回的多个标识信息对应的更新数据对客户端的相应多个标识信息对应的数据进行更新,实现了根据终端的实际存储及使用需求,获取所需的相应的更新数据并对终端应的相应数据进行更新,从而提高了终端获取更新数据的效率和响应速度;同时,用户在不同的终端设备中可及时的从服务器获取更新数据,避免了用户滞后获取更 新数据的情况,保证了用户获取更新数据的及时性;进一步的,降低了终端获取数据的过程中耗费的网络流量,节约了用户的终端使用成本,从而提高了用户的体验。
步骤S110:客户端检测到应用程序的启动触发操作时,基于已存储的本地数据生成包括多个标识信息及相应的第一数据版本信息的数据获取请求,以用于获取应用程序所需数据的一部分。
优选地,多个标识信息对应于应用程序首页加载的数据。
例如,在终端设备中,当检测到来自用户的对应用程序“大众点评”客户端的启动触发操作时,基于在本地存储区域中已存储的本地数据生成包括多个标识信息如“大众点评”首页加载的“精彩推荐”部分的数据的标识信息和“大众点评”首页加载的“猜你喜欢”部分的数据的标识信息,及“大众点评”首页加载的“精彩推荐”数据部分的第一数据版本信息如“Version-精彩推荐-‘2015-12-18 15:40:00’”和“大众点评”首页加载的“猜你喜欢”部分数据的第一数据版本信息如“Version-猜你喜欢-‘2015-12-18 15:40:00’”的数据获取请求,以用于获取“大众点评”所需的首页加载“精彩推荐”和“猜你喜欢”的数据的一部分。
优选地,多个标识信息对应于应用程序中用户常用功能所需的数据。
例如,在终端设备中,当检测到对应用程序“微信”客户端的启动触发操作时,基于已存储的本地数据生成包括多个标识信息如“微信”中用户常用功能“最新好友会话列表”所需的数据的多个标识信息及“微信”的“最新好友会话列表”中多个标识对应的第一数据版本信息的数据获取请求;其中,标识信息可为好友ID,对应的第一数据版本信息可为与好用ID对应的更新时间,如生成包括好友ID为“好友ID-张三”,对应的第一数据版本信息为“Version-张三-‘2015-12-18 15:40:00’”的数据获取请求,以用于获取“微信”所需的最新好友会话列表数据中好友张三的数据。
步骤S120:客户端发送数据获取请求。
例如,“大众点评”客户端向服务器发送获取“大众点评”所需的首页加载“精彩推荐”和“猜你喜欢”数据的数据获取请求。
步骤S130:服务器接收来自客户端的包括多个标识信息及相应的第 一数据版本信息的数据获取请求。
例如,服务器接收来自客户端的包括“大众点评”首页加载的“精彩推荐”的数据的标识信息和“大众点评”首页加载的“猜你喜欢”的数据的标识信息,及“大众点评”首页加载的“精彩推荐”和“猜你喜欢”数据的各自第一数据版本信息的数据获取请求。
步骤S140:服务器依据数据获取请求,判断已存储的本地数据中多个标识信息对应的数据是否发生更新。步骤S150:若判断至少一个标识信息对应的数据发生更新,将与至少一个标识信息相应的更新数据返回至客户端。
例如,从数据获取请求中提取到“大众点评”首页加载的“精彩推荐”和“猜你喜欢”数据的各自标识信息及“大众点评”首页加载的“精彩推荐”和“猜你喜欢”数据的各自第一数据版本信息,依据提取到的数据获取请求,判断已存储的服务器数据中“大众点评”首页加载的“精彩推荐”和“猜你喜欢”数据的各自标识信息对应的数据是否发生更新。
在一优选实施例中(参照图2),依据数据获取请求,判断已存储的本地数据中多个标识信息对应的数据是否发生更新的步骤包括步骤S210、步骤S220和步骤S230。步骤S210:在已存储的本地数据中查找与各个标识信息相匹配的数据,数据具有第二数据版本信息;步骤S220:判断对应于同一标识信息的第二数据版本信息是否较新于第一数据版本信息;步骤S230:若是,则判断该标识信息对应的数据发生更新。其中,将与至少一个标识信息相应的更新数据返回至客户端的步骤具体包括步骤S240。步骤S240:将本地数据中对应于第二数据版本信息的数据作为更新数据返回至客户端。
例如,服务器在已存储的服务器数据中查找与“大众点评”首页加载的“精彩推荐”和“猜你喜欢”各自数据的标识信息相匹配的数据,数据具有各自的第二数据版本信息“Version-精彩推荐-‘2015-12-18 15:50:00’”和“Version-猜你喜欢-‘2015-12-18 15:40:00’”,随后判断对应于“大众点评”首页加载的“精彩推荐”的标识信息的第二数据版本信息较新于对应于“大众点评”首页加载的“精彩推荐”的标识信息的第一数据版本信息 “Version-精彩推荐-‘2015-12-18 15:40:00’”,则判断“大众点评”首页加载的“精彩推荐”的标识信息对应的数据发生更新;判断对应于“大众点评”首页加载的“猜你喜欢”的标识信息的第二数据版本信息与对应于“大众点评”首页加载的“猜你喜欢”的标识信息的第一数据版本信息“Version-猜你喜欢-‘2015-12-18 15:40:00’”相同,则判断“大众点评”首页加载的“猜你喜欢”的标识信息对应的数据未发生更新;随后,判断对应于“大众点评”首页加载的“精彩推荐”和“猜你喜欢”的两个标识信息中的至少一个标识信息对应的数据发生更新,即“大众点评”首页加载的“精彩推荐”的标识信息对应的数据发生更新,将服务器中对应于“大众点评”首页加载的“精彩推荐”的标识信息的第二数据版本信息“Version-精彩推荐-‘2015-12-18 15:50:00’”对应的数据作为更新数据返回至终端设备。
在又一优选实施例中(参照图1),依据数据获取请求,判断已存储的本地数据中多个标识信息对应的数据是否发生更新的步骤具体包括:当判断已存储的本地数据中的任一数据对应的标识信息不存在于数据获取请求中时,判断该标识信息对应的数据发生更新。其中,将与至少一个标识信息相应的更新数据返回至客户端的步骤具体包括:将本地数据中对应于不存在于数据获取请求中的标识信息的数据作为更新数据返回至客户端。
例如,当判断已存储的服务器数据中的数据对应的标识信息如“大众点评”首页加载的“大牌抢购”对应的标识信息不存在于包括“大众点评”首页加载的“精彩推荐”和“猜你喜欢”的数据获取请求中时,可判断“大众点评”首页加载的“大牌抢购”的标识信息对应的数据发生更新,随后将服务器数据中对应于不存在于数据获取请求中的“大众点评”首页加载的“大牌抢购”的标识信息对应的数据作为更新数据返回至终端设备。
步骤S160:接收响应于数据获取请求返回的数据。
优选地,返回的数据中包括与至少一个标识信息对应的更新数据,更新数据具有较第一数据版本信息更新的第二数据版本信息。
例如,终端设备接收服务器响应于数据获取请求返回的数据,返回的数据中包括与“大众点评”首页加载的“精彩推荐”的标识信息对应的更 新数据,以及较第一数据版本信息“Version-精彩推荐-‘2015-12-18 15:40:00’”更新的第二数据版本信息“Version-精彩推荐-‘2015-12-18 15:50:00’”。
又例如,终端设备接收服务器响应于数据获取请求返回的数据,返回的数据中包括与“大众点评”首页加载的“大牌抢购”的标识信息对应的更新数据,以及对应的第二数据版本信息“Version-大牌抢购-‘2015-12-18 15:50:00’”。
步骤S170:依据返回的数据对已存储的本地数据执行更新操作。
在一优选实施例中(参照图1),依据返回的数据对已存储的本地数据执行更新操作的步骤包括步骤S171(图中未示出)。步骤S171:依据标识信息,利用具有第二数据版本信息的更新数据替换本地数据中的对应部分。
例如,将具有“大众点评”首页加载的“精彩推荐”的标识信息对应的第二数据版本信息“Version-精彩推荐-‘2015-12-18 15:50:00’”的更新数据替换终端设备数据中“大众点评”首页加载的“精彩推荐”的标识信息对应的较旧的数据。
在又一优选实施例中(参照图1),依据返回的数据对已存储的本地数据执行更新操作的步骤包括步骤S172(图中未示出)。步骤S172:依据标识信息,将具有第二数据版本信息的更新数据添加至本地数据中的对应部分并以第二数据版本信息替换第一数据版本信息。
例如,依据“大众点评”首页加载的“大牌抢购”的标识信息,将具有第二数据版本信息的“大众点评”首页加载的“大牌抢购”的标识信息对应的更新数据添加至终端设备的本地数据中的“大众点评”首页加载数据的对应部分,并在本地数据中将对应的第二数据版本信息“Version-大牌抢购-‘2015-12-18 15:50:00’”添加存储为第一数据版本信息。
在一具体应用场景中,用户在终端设备A中,以“abc”的账号登录“微信”,用户在“2015-12-18 18:10:00”的时刻在“微信”中添加好友“小明”,服务器中可相应的存储新添加的好友“小明”的相关信息数据及其第二数据版本信息“Version-小明-‘2015-12-18 18:10:00’”,随后,用 户在终端设备A中退出账号“abc”的微信用户;随后用户在终端设备B中,以“abc”的账号登录“微信”,当检测到账号为“abc”的“微信”的启动触发操作时,基于在终端设备B已存储的数据生成多个标识信息如“微信”中好友列表中每个好友包括好友“小张”、“小王”和“小李”各自的标识信息如“好友ID-小张”、“好友ID-小王”和“好友ID-小李”,及各自第一数据版本信息如“Version-小张-‘2015-12-18 15:51:00’”、“Version-小王-‘2015-12-18 15:52:00’”和“Version-小李-‘2015-12-18 15:53:00’”的数据获取请求,将数据获取请求发至服务器,以用于获取“微信”所需的全部好友的数据;服务器接收到数据获取请求后,当判断服务器已存储的数据中的数据对应的标识信息“好友ID-小明”不存在于“微信”账户为“abc”用户的数据获取请求中时,可判断“好友ID-小明”对应的数据发生更新,随后将服务器数据中对应于不存在于数据获取请求中的“好友ID-小明”对应的数据作为更新数据返回至终端设备B;随后,终端设备B接收服务器响应于数据获取请求返回的数据,返回的数据中包括“好友ID-小明”对应的更新数据,以及“好友ID-小明”对应数据的第二数据版本信息“Version-小明-‘2015-12-18 18:10:00’”,随后终端设备B将标识信息“好友ID-小明”对应的第二数据版本信息“Version-小明-‘2015-12-18 18:10:00’”的更新数据添加至终端设备B的存储区域中,并相应的添加对应的第一数据版本信息“Version-小明-‘2015-12-18 18:10:00’”,随后用户可在终端设备B的“微信”好友列表中获取到好友“小明”的信息。
图3为本发明中另一实施例的更新数据的装置的结构示意图。
其中,客户端包括检测模块310、发送模块320、第二接收模块360及更新模块370;服务器端包括第一接收模块330、判断模块340和返回模块350。
客户端中,检测模块310检测到应用程序的启动触发操作时,基于已存储的本地数据生成包括多个标识信息及相应的第一数据版本信息的数据获取请求,以用于获取应用程序所需数据的一部分;发送模块320发送数据获取请求;服务器端中,第一接收模块330接收来自客户端的包括多 个标识信息及相应的第一数据版本信息的数据获取请求;判断模块340依据数据获取请求,判断已存储的本地数据中多个标识信息对应的数据是否发生更新;返回模块350若判断至少一个标识信息对应的数据发生更新,将与至少一个标识信息相应的更新数据返回至客户端;客户端中,第二接收模块360接收响应于数据获取请求返回的数据;更新模块370依据返回的数据对已存储的本地数据执行更新操作。
本发明的实施例中,提出了一种更新数据的装置,首先向服务器发送本地已存储的数据的多个标识信息及相应的第一数据版本信息的获取请求,服务器可根据存储的多个数据标识信息及对应的第二数据版本信息判断多个数据标识信息对应的数据是否发生更新,若是,可将更新数据返回客户端,随后客户端可根据服务器返回的多个标识信息对应的更新数据对客户端的相应多个标识信息对应的数据进行更新,实现了根据终端的实际存储及使用需求,获取所需的相应的更新数据并对终端应的相应数据进行更新,从而提高了终端获取更新数据的效率和响应速度;同时,用户在不同的终端设备中可及时的从服务器获取更新数据,避免了用户滞后获取更新数据的情况,保证了用户获取更新数据的及时性;进一步的,降低了终端获取数据的过程中耗费的网络流量,节约了用户的终端使用成本,从而提高了用户的体验。
客户端中,检测模块310检测到应用程序的启动触发操作时,基于已存储的本地数据生成包括多个标识信息及相应的第一数据版本信息的数据获取请求,以用于获取应用程序所需数据的一部分。
优选地,多个标识信息对应于应用程序首页加载的数据。
例如,在终端设备中,当检测到来自用户的对应用程序“大众点评”客户端的启动触发操作时,基于在本地存储区域中已存储的本地数据生成包括多个标识信息如“大众点评”首页加载的“精彩推荐”部分的数据的标识信息和“大众点评”首页加载的“猜你喜欢”部分的数据的标识信息,及“大众点评”首页加载的“精彩推荐”数据部分的第一数据版本信息如“Version-精彩推荐-‘2015-12-18 15:40:00’”和“大众点评”首页加载的“猜你喜欢”部分数据的第一数据版本信息如“Version-猜你喜欢-‘2015-12-18  15:40:00’”的数据获取请求,以用于获取“大众点评”所需的首页加载“精彩推荐”和“猜你喜欢”的数据的一部分。
优选地,多个标识信息对应于应用程序中用户常用功能所需的数据。
例如,在终端设备中,当检测到对应用程序“微信”客户端的启动触发操作时,基于已存储的本地数据生成包括多个标识信息如“微信”中用户常用功能“最新好友会话列表”所需的数据的多个标识信息及“微信”的“最新好友会话列表”中多个标识对应的第一数据版本信息的数据获取请求;其中,标识信息可为好友ID,对应的第一数据版本信息可为与好用ID对应的更新时间,如生成包括好友ID为“好友ID-张三”,对应的第一数据版本信息为“Version-张三-‘2015-12-18 15:40:00’”的数据获取请求,以用于获取“微信”所需的最新好友会话列表数据中好友张三的数据。
发送模块320发送数据获取请求。
例如,“大众点评”客户端向服务器发送获取“大众点评”所需的首页加载“精彩推荐”和“猜你喜欢”数据的数据获取请求。
服务器中,第一接收模块330接收来自客户端的包括多个标识信息及相应的第一数据版本信息的数据获取请求。
例如,服务器接收来自客户端的包括“大众点评”首页加载的“精彩推荐”的数据的标识信息和“大众点评”首页加载的“猜你喜欢”的数据的标识信息,及“大众点评”首页加载的“精彩推荐”和“猜你喜欢”数据的各自第一数据版本信息的数据获取请求。
判断模块340依据数据获取请求,判断已存储的本地数据中多个标识信息对应的数据是否发生更新。返回模块350若判断至少一个标识信息对应的数据发生更新,将与至少一个标识信息相应的更新数据返回至客户端。
例如,从数据获取请求中提取到“大众点评”首页加载的“精彩推荐”和“猜你喜欢”数据的各自标识信息及“大众点评”首页加载的“精彩推荐”和“猜你喜欢”数据的各自第一数据版本信息,依据提取到的数据获取请求,判断已存储的服务器数据中“大众点评”首页加载的“精彩推荐”和“猜你喜欢”数据的各自标识信息对应的数据是否发生更新。
在一优选实施例中(参照图4),服务器端中,判断模块包括查找单元410、第一判断单元420和第二判断单元430。查找单元410在已存储的本地数据中查找与各个标识信息相匹配的数据,数据具有第二数据版本信息;第一判断单元420判断对应于同一标识信息的第二数据版本信息是否较新于第一数据版本信息;若是,第二判断单元430则判断该标识信息对应的数据发生更新。其中,返回模块包括第一返回单元440。第一返回单元440将本地数据中对应于第二数据版本信息的数据作为更新数据返回至客户端。
例如,服务器在已存储的服务器数据中查找与“大众点评”首页加载的“精彩推荐”和“猜你喜欢”各自数据的标识信息相匹配的数据,数据具有各自的第二数据版本信息“Version-精彩推荐-‘2015-12-18 15:50:00’”和“Version-猜你喜欢-‘2015-12-18 15:40:00’”,随后判断对应于“大众点评”首页加载的“精彩推荐”的标识信息的第二数据版本信息较新于对应于“大众点评”首页加载的“精彩推荐”的标识信息的第一数据版本信息“Version-精彩推荐-‘2015-12-18 15:40:00’”,则判断“大众点评”首页加载的“精彩推荐”的标识信息对应的数据发生更新;判断对应于“大众点评”首页加载的“猜你喜欢”的标识信息的第二数据版本信息与对应于“大众点评”首页加载的“猜你喜欢”的标识信息的第一数据版本信息“Version-猜你喜欢-‘2015-12-18 15:40:00’”相同,则判断“大众点评”首页加载的“猜你喜欢”的标识信息对应的数据未发生更新;随后,判断对应于“大众点评”首页加载的“精彩推荐”和“猜你喜欢”的两个标识信息中的至少一个标识信息对应的数据发生更新,即“大众点评”首页加载的“精彩推荐”的标识信息对应的数据发生更新,将服务器中对应于“大众点评”首页加载的“精彩推荐”的标识信息的第二数据版本信息“Version-精彩推荐-‘2015-12-18 15:50:00’”对应的数据作为更新数据返回至终端设备。
在又一优选实施例中(参照图3),服务器端中,判断模块具体包括第三判断单元(图中未示出)。当判断已存储的本地数据中的任一数据对应的标识信息不存在于数据获取请求中时,第三判断单元判断该标识信息对应的数据发生更新。其中,返回模块具体包括第二返回单元(图中未示 出)。第二返回单元将本地数据中对应于不存在于数据获取请求中的标识信息的数据作为更新数据返回至客户端。
例如,当判断已存储的服务器数据中的数据对应的标识信息如“大众点评”首页加载的“大牌抢购”对应的标识信息不存在于包括“大众点评”首页加载的“精彩推荐”和“猜你喜欢”的数据获取请求中时,可判断“大众点评”首页加载的“大牌抢购”的标识信息对应的数据发生更新,随后将服务器数据中对应于不存在于数据获取请求中的“大众点评”首页加载的“大牌抢购”的标识信息对应的数据作为更新数据返回至终端设备。
客户端中,第二接收模块360接收响应于数据获取请求返回的数据。
优选地,返回的数据中包括与至少一个标识信息对应的更新数据,更新数据具有较第一数据版本信息更新的第二数据版本信息。
例如,终端设备客户端接收服务器响应于数据获取请求返回的数据,返回的数据中包括与“大众点评”首页加载的“精彩推荐”的标识信息对应的更新数据,以及较第一数据版本信息“Version-精彩推荐-‘2015-12-18 15:40:00’”更新的第二数据版本信息“Version-精彩推荐-‘2015-12-18 15:50:00’”。
又例如,终端设备客户端接收服务器响应于数据获取请求返回的数据,返回的数据中包括与“大众点评”首页加载的“大牌抢购”的标识信息对应的更新数据,以及对应的第二数据版本信息“Version-大牌抢购-‘2015-12-18 15:50:00’”。
更新模块370依据返回的数据对已存储的本地数据执行更新操作。
在一优选实施例中(参照图3),客户端中,更新模块包括替换单元(图中未示出)。依据标识信息,替换单元利用具有第二数据版本信息的更新数据替换本地数据中的对应部分。
例如,将具有“大众点评”首页加载的“精彩推荐”的标识信息对应的第二数据版本信息“Version-精彩推荐-‘2015-12-18 15:50:00’”的更新数据替换终端设备数据中“大众点评”首页加载的“精彩推荐”的标识信息对应的较旧的数据。
在又一优选实施例中(参照图3),客户端中,更新模块包括添加单 元(图中未示出)。依据标识信息,添加单元将具有第二数据版本信息的更新数据添加至本地数据中的对应部分并以第二数据版本信息替换第一数据版本信息。
例如,依据“大众点评”首页加载的“大牌抢购”的标识信息,将具有第二数据版本信息的“大众点评”首页加载的“大牌抢购”的标识信息对应的更新数据添加至终端设备的本地数据中的“大众点评”首页加载数据的对应部分,并在本地数据中将对应的第二数据版本信息“Version-大牌抢购-‘2015-12-18 15:50:00’”添加存储为第一数据版本信息。
在一具体应用场景中,用户在终端设备A中,以“abc”的账号登录“微信”,用户在“2015-12-18 18:10:00”的时刻在“微信”中添加好友“小明”,服务器中可相应的存储新添加的好友“小明”的相关信息数据及其第二数据版本信息“Version-小明-‘2015-12-18 18:10:00’”,随后,用户在终端设备A中退出账号“abc”的微信用户;随后用户在终端设备B中,以“abc”的账号登录“微信”,当检测到账号为“abc”的“微信”的启动触发操作时,基于在终端设备B已存储的数据生成多个标识信息如“微信”中好友列表中每个好友包括好友“小张”、“小王”和“小李”各自的标识信息如“好友ID-小张”、“好友ID-小王”和“好友ID-小李”,及各自第一数据版本信息如“Version-小张-‘2015-12-18 15:51:00’”、“Version-小王-‘2015-12-18 15:52:00’”和“Version-小李-‘2015-12-18 15:53:00’”的数据获取请求,将数据获取请求发至服务器,以用于获取“微信”所需的全部好友的数据;服务器接收到数据获取请求后,当判断服务器已存储的数据中的数据对应的标识信息“好友ID-小明”不存在于“微信”账户为“abc”用户的数据获取请求中时,可判断“好友ID-小明”对应的数据发生更新,随后将服务器数据中对应于不存在于数据获取请求中的“好友ID-小明”对应的数据作为更新数据返回至终端设备B;随后,终端设备B接收服务器响应于数据获取请求返回的数据,返回的数据中包括“好友ID-小明”对应的更新数据,以及“好友ID-小明”对应数据的第二数据版本信息“Version-小明-‘2015-12-18 18:10:00’”,随后终端设备B将标识信息“好友ID-小明”对应的第二数据版本信息“Version-小明 -‘2015-12-18 18:10:00’”的更新数据添加至终端设备B的存储区域中,并相应的添加对应的第一数据版本信息“Version-小明-‘2015-12-18 18:10:00’”,随后用户可在终端设备B的“微信”好友列表中获取到好友“小明”的信息。
本技术领域技术人员可以理解,本发明包括涉及用于执行本申请中所述操作中的一项或多项的设备。这些设备可以为所需的目的而专门设计和制造,或者也可以包括通用计算机中的已知设备。这些设备具有存储在其内的计算机程序,这些计算机程序选择性地激活或重构。这样的计算机程序可以被存储在设备(例如,计算机)可读介质中或者存储在适于存储电子指令并分别耦联到总线的任何类型的介质中,所述计算机可读介质包括但不限于任何类型的盘(包括软盘、硬盘、光盘、CD-ROM、和磁光盘)、ROM(Read-Only Memory,只读存储器)、RAM(Random Access Memory,随即存储器)、EPROM(Erasable Programmable Read-Only Memory,可擦写可编程只读存储器)、EEPROM(Electrically Erasable Programmable Read-Only Memory,电可擦可编程只读存储器)、闪存、磁性卡片或光线卡片。也就是,可读介质包括由设备(例如,计算机)以能够读的形式存储或传输信息的任何介质。
本技术领域技术人员可以理解,可以用计算机程序指令来实现这些结构图和/或框图和/或流图中的每个框以及这些结构图和/或框图和/或流图中的框的组合。本技术领域技术人员可以理解,可以将这些计算机程序指令提供给通用计算机、专业计算机或其他可编程数据处理方法的处理器来实现,从而通过计算机或其他可编程数据处理方法的处理器来执行本发明公开的结构图和/或框图和/或流图的框或多个框中指定的方案。
例如,图5示出了可以实现根据本发明的更新数据的方法的计算设备的框图。该计算设备传统上包括处理器710和以存储器720形式的计算机程序产品或者计算机可读介质。存储器720可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器720具有存储用于执行上述方法中的任何方法步骤的程序代码731的存储空间730。例如,存储程序代码的存储空间730可以存储分别用于 实现上面的方法中的各种步骤的各个程序代码731。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为例如图6所示的便携式或者固定存储单元。该存储单元可以具有与图5的智能电子设备中的存储器720类似布置的存储段或者存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元存储有用于执行根据本发明的方法步骤的程序代码731’,即可以由例如诸如710之类的处理器读取的程序代码,当这些程序代码由计算设备运行时,导致该计算设备执行上面所描述的方法中的各个步骤。
本技术领域技术人员可以理解,本发明中已经讨论过的各种操作、方法、流程中的步骤、措施、方案可以被交替、更改、组合或删除。进一步地,具有本发明中已经讨论过的各种操作、方法、流程中的其他步骤、措施、方案也可以被交替、更改、重排、分解、组合或删除。进一步地,现有技术中的具有与本发明中公开的各种操作、方法、流程中的步骤、措施、方案也可以被交替、更改、重排、分解、组合或删除。
以上所述仅是本发明的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。

Claims (22)

  1. 一种更新数据的方法,包括:
    检测到应用程序的启动触发操作时,基于已存储的本地数据生成包括多个标识信息及相应的第一数据版本信息的数据获取请求,以用于获取所述应用程序所需数据的一部分;
    发送所述数据获取请求并接收响应于所述数据获取请求返回的数据;
    依据所述返回的数据对已存储的所述本地数据执行更新操作。
  2. 根据权利要求1所述的更新数据的方法,其中,所述多个标识信息对应于所述应用程序首页加载的数据。
  3. 根据权利要求1所述的更新数据的方法,其中,所述多个标识信息对应于所述应用程序中用户常用功能所需的数据。
  4. 根据权利要求1-3中任一项所述的更新数据的方法,其中,所述返回的数据中包括与至少一个标识信息对应的更新数据,所述更新数据具有较所述第一数据版本信息更新的第二数据版本信息。
  5. 根据权利要求4所述的更新数据的方法,其中,依据所述返回的数据对已存储的所述本地数据执行更新操作,具体包括:
    依据所述标识信息,利用具有所述第二数据版本信息的更新数据替换所述本地数据中的对应部分;或者
    依据所述标识信息,将具有所述第二数据版本信息的更新数据添加至所述本地数据中的对应部分并以所述第二数据版本信息替换所述第一数据版本信息。
  6. 一种更新数据的方法,包括:
    接收来自客户端的包括多个标识信息及相应的第一数据版本信息的数据获取请求;
    依据所述数据获取请求,判断已存储的本地数据中多个标识信息对应的数据是否发生更新;
    若判断至少一个标识信息对应的数据发生更新,将与所述至少一个标识信息相应的更新数据返回至所述客户端。
  7. 根据权利要求6所述的更新数据的方法,其中,依据所述数据获取请求,判断已存储的本地数据中多个标识信息对应的数据是否发生更新,包括:
    在已存储的本地数据中查找与各个标识信息相匹配的数据,所述数据具有第二数据版本信息;
    判断对应于同一标识信息的第二数据版本信息是否较新于第一数据版本信息;
    若是,则判断该标识信息对应的数据发生更新。
  8. 根据权利要求7所述的更新数据的方法,其中,将与所述至少一个标识信息相应的更新数据返回至所述客户端,具体包括:
    将本地数据中对应于所述第二数据版本信息的数据作为更新数据返回至所述客户端。
  9. 根据权利要求6所述的更新数据的方法,其中,依据所述数据获取请求,判断已存储的本地数据中多个标识信息对应的数据是否发生更新,包括:
    当判断已存储的本地数据中的任一数据对应的标识信息不存在于所述数据获取请求中时,判断该标识信息对应的数据发生更新。
  10. 根据权利要求9所述的更新数据的方法,其中,将与所述至少一个标识信息相应的更新数据返回至所述客户端,具体包括:
    将本地数据中对应于不存在于所述数据获取请求中的标识信息的数据作为更新数据返回至所述客户端。
  11. 一种更新数据的装置,包括:
    检测模块,用于检测到应用程序的启动触发操作时,基于已存储的本地数据生成包括多个标识信息及相应的第一数据版本信息的数据获取请求,以用于获取所述应用程序所需数据的一部分;
    发送模块,用于发送所述数据获取请求并接收响应于所述数据获取请求返回的数据;
    更新模块,用于依据所述返回的数据对已存储的所述本地数据执行更新操作。
  12. 根据权利要求11所述的更新数据的装置,其中,所述多个标识信息对应于所述应用程序首页加载的数据。
  13. 根据权利要求11所述的更新数据的装置,其中,所述多个标识信息对应于所述应用程序中用户常用功能所需的数据。
  14. 根据权利要求11-13中任一项所述的更新数据的装置,其中,所述返回的数据中包括与至少一个标识信息对应的更新数据,所述更新数据具有较所述第一数据版本信息更新的第二数据版本信息。
  15. 根据权利要求14所述的更新数据的装置,其中,所述更新模块具体包括:
    替换单元,用于依据所述标识信息,利用具有所述第二数据版本信息的更新数据替换所述本地数据中的对应部分;或者
    添加单元,用于依据所述标识信息,将具有所述第二数据版本信息的更新数据添加至所述本地数据中的对应部分并以所述第二数据版本信息替换所述第一数据版本信息。
  16. 一种更新数据的装置,包括:
    接收模块,用于接收来自客户端的包括多个标识信息及相应的第一数据版本信息的数据获取请求;
    判断模块,用于依据所述数据获取请求,判断已存储的本地数据中多个标识信息对应的数据是否发生更新;
    返回模块,用于若判断至少一个标识信息对应的数据发生更新,将与所述至少一个标识信息相应的更新数据返回至所述客户端。
  17. 根据权利要求16所述的更新数据的装置,其中,所述判断模块包括:
    查找单元,用于在已存储的本地数据中查找与各个标识信息相匹配的数据,所述数据具有第二数据版本信息;
    第一判断单元,用于判断对应于同一标识信息的第二数据版本信息是否较新于第一数据版本信息;
    第二判断单元,用于若是,则判断该标识信息对应的数据发生更新。
  18. 根据权利要求17所述的更新数据的装置,其中,所述返回模块 具体包括:
    第一返回单元,用于将本地数据中对应于所述第二数据版本信息的数据作为更新数据返回至所述客户端。
  19. 根据权利要求16所述的更新数据的装置,其中,所述判断模块包括:
    第三判断单元,用于当判断已存储的本地数据中的任一数据对应的标识信息不存在于所述数据获取请求中时,判断该标识信息对应的数据发生更新。
  20. 根据权利要求19所述的更新数据的装置,其中,所述返回模块具体包括:
    第二返回单元,用于将本地数据中对应于不存在于所述数据获取请求中的标识信息的数据作为更新数据返回至所述客户端。
  21. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行根据权利要求1-10中的任一项权利要求所述的方法。
  22. 一种计算机可读介质,其中存储了如权利要求21所述的计算机程序。
PCT/CN2016/104574 2015-12-25 2016-11-04 更新数据的方法及装置 WO2017107683A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510995830.7A CN105634801A (zh) 2015-12-25 2015-12-25 更新数据的方法及装置
CN201510995830.7 2015-12-25

Publications (1)

Publication Number Publication Date
WO2017107683A1 true WO2017107683A1 (zh) 2017-06-29

Family

ID=56049339

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/104574 WO2017107683A1 (zh) 2015-12-25 2016-11-04 更新数据的方法及装置

Country Status (2)

Country Link
CN (1) CN105634801A (zh)
WO (1) WO2017107683A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105634801A (zh) * 2015-12-25 2016-06-01 北京奇虎科技有限公司 更新数据的方法及装置
CN106453590B (zh) * 2016-10-31 2020-08-04 车智互联(北京)科技有限公司 iOS端_后端可配置常用信息的系统
CN107645538A (zh) * 2017-08-14 2018-01-30 阿里巴巴集团控股有限公司 提供动态压缩字典的方法及装置和电子设备
CN111953580B (zh) * 2020-07-17 2022-07-26 上海泛微网络科技股份有限公司 一种会话发送、会话获取的方法、装置和存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120254352A1 (en) * 2011-03-31 2012-10-04 Fujitsu Limited Application providing system and application providing method
CN103237060A (zh) * 2013-04-08 2013-08-07 北京小米科技有限责任公司 一种数据对象获取方法、装置及系统
CN103812849A (zh) * 2012-11-15 2014-05-21 腾讯科技(深圳)有限公司 一种本地缓存更新方法、系统、客户端及服务器
CN103916373A (zh) * 2013-01-07 2014-07-09 腾讯科技(深圳)有限公司 数据更新的方法、服务器、客户端以及系统
CN104702703A (zh) * 2015-03-30 2015-06-10 北京奇艺世纪科技有限公司 一种数据更新方法及装置
CN105634801A (zh) * 2015-12-25 2016-06-01 北京奇虎科技有限公司 更新数据的方法及装置
CN105656663A (zh) * 2015-12-22 2016-06-08 北京奇虎科技有限公司 软件更新的方法及装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986773A (zh) * 2014-05-26 2014-08-13 北京奇艺世纪科技有限公司 一种数据请求响应方法及装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120254352A1 (en) * 2011-03-31 2012-10-04 Fujitsu Limited Application providing system and application providing method
CN103812849A (zh) * 2012-11-15 2014-05-21 腾讯科技(深圳)有限公司 一种本地缓存更新方法、系统、客户端及服务器
CN103916373A (zh) * 2013-01-07 2014-07-09 腾讯科技(深圳)有限公司 数据更新的方法、服务器、客户端以及系统
CN103237060A (zh) * 2013-04-08 2013-08-07 北京小米科技有限责任公司 一种数据对象获取方法、装置及系统
CN104702703A (zh) * 2015-03-30 2015-06-10 北京奇艺世纪科技有限公司 一种数据更新方法及装置
CN105656663A (zh) * 2015-12-22 2016-06-08 北京奇虎科技有限公司 软件更新的方法及装置
CN105634801A (zh) * 2015-12-25 2016-06-01 北京奇虎科技有限公司 更新数据的方法及装置

Also Published As

Publication number Publication date
CN105634801A (zh) 2016-06-01

Similar Documents

Publication Publication Date Title
WO2017107683A1 (zh) 更新数据的方法及装置
US20160239540A1 (en) Data Query Method and Apparatus, Server, and System
US8572248B2 (en) Efficient service discovery for peer-to-peer networking devices
JP2005216313A (ja) クライアント端末装置とサーバーとの間のセッション再設定のためのシステム及び方法
CN110267314B (zh) 切换网络切片的方法及装置
CN107273415B (zh) 通过基于即时消息接发的主题索引的可搜索对等系统
WO2015024494A1 (zh) 应用的分享方法及装置
CN102999628A (zh) 搜索方法和信息搜索终端
WO2017219609A1 (zh) 一种停车位预定方法及相关终端、服务器、装置
KR20160039609A (ko) 블루투스 통신방법 및 블루투스 통신디바이스
US20140342765A1 (en) Wireless communication apparatus for wireless network and computer readable media
US10863562B2 (en) Peripheral device pairing
CN105653198A (zh) 数据处理方法及装置
CN106550030B (zh) 一种数据共享方法、装置及系统
CN110971702A (zh) 服务调用方法、装置、计算机设备及存储介质
US8566388B2 (en) Method and apparatus for managing numerous messages
US10938633B2 (en) Facilitating resilient and fault tolerant asynchronous messaging
WO2018018780A1 (zh) 一种控制WiFi接入设备的接入方法及装置、存储介质
CN108111346B (zh) 告警关联分析中频繁项集的确定方法、装置及存储介质
CN106488534A (zh) 获取网络接入点的方法及系统
WO2016107612A1 (zh) 一种对虚拟卡片进行处理的方法和装置
WO2017181465A1 (zh) 一种接入点名称apn的配置方法及装置
WO2016110258A1 (zh) 用户数据存储方法和装置
WO2013091449A1 (en) Connecting wireless devices
CN116962114A (zh) 基于分布式软总线的设备互联方法、装置、设备及介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16877494

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16877494

Country of ref document: EP

Kind code of ref document: A1