WO2015081905A1 - 数据更新的方法、用户端及数据更新系统 - Google Patents

数据更新的方法、用户端及数据更新系统 Download PDF

Info

Publication number
WO2015081905A1
WO2015081905A1 PCT/CN2015/072069 CN2015072069W WO2015081905A1 WO 2015081905 A1 WO2015081905 A1 WO 2015081905A1 CN 2015072069 W CN2015072069 W CN 2015072069W WO 2015081905 A1 WO2015081905 A1 WO 2015081905A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
updated
data string
identifier
update
Prior art date
Application number
PCT/CN2015/072069
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 腾讯科技(深圳)有限公司
Priority to US15/036,979 priority Critical patent/US9588757B2/en
Publication of WO2015081905A1 publication Critical patent/WO2015081905A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • G06F9/4831Task transfer initiation or dispatching by interrupt, e.g. masked with variable priority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2466Traffic characterised by specific attributes, e.g. priority or QoS using signalling traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/76Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
    • H04L47/762Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions triggered by the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • 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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Definitions

  • the present invention relates to the field of data processing technologies, and in particular, to a data update method, a client end, and a data update system.
  • the client of the online game generally contains a variety of resource files, such as background images, sound effects files, scene videos, etc., and these resource files will change as the game version is upgraded.
  • resource files such as background images, sound effects files, scene videos, etc.
  • the update of resource files is mostly in the form of an upgrade package, that is, each time the resource files that need to be updated are packaged in the game upgrade package, the user must download the latest upgrade package before upgrading the game, and upgrade. After the success, the game can be opened.
  • the user In the technical field, the user must upgrade successfully before playing the game, causing the user to wait too long, and the user who is not good in network speed or has problems with the machine may not be able to use the game due to the update failure.
  • Embodiments of the present invention provide a data update method, a user end, and a data update system.
  • An embodiment of the present invention provides a data update method, including:
  • the update data of the data string to be updated whose update priority is lower than or equal to the preset threshold is obtained according to the identifier of the data string to be updated, and the update priority is low.
  • the data to be updated is updated at or equal to the preset threshold.
  • An embodiment of the present invention provides a client, including one or more processors and a storage medium storing operation instructions.
  • the processor executes:
  • the update data of the data string to be updated whose priority is higher than the preset threshold, and the priority of the update is higher than that of the data packet to be updated.
  • the data to be updated of the preset threshold is updated;
  • the update data of the data string to be updated whose update priority is lower than or equal to the preset threshold is obtained according to the identifier of the data string to be updated, and the update priority is low.
  • the data to be updated is updated at or equal to the preset threshold.
  • An embodiment of the present invention provides a data update system, including: a user end, a resource management server, and a resource server, wherein the user end is respectively connected to the resource management server and the resource server;
  • the user end is configured to obtain, from the resource management server, an identifier and an update priority of the data string to be updated in the application data packet, where the data string to be updated is divided according to a preset threshold, and the update priority is higher than the preset threshold.
  • the resource management server is configured to send, to the user end, an identifier and an update priority of the data string to be updated in the application data packet;
  • the resource server is configured to provide the client with update data of the data string to be updated.
  • the data string to be updated in the application data packet is divided into a data string to be updated higher than a preset threshold and a data string to be updated lower than or equal to a preset threshold, and is lower than or equal to the pre-updated data string.
  • the threshold data string to be updated can be updated after the application data packet is run, thereby reducing the waiting time of the user.
  • FIG. 1 is a schematic flow chart of a data updating method in an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of another data update method in an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of another data update method in an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a user end according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another user terminal according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of another user terminal according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of another user terminal according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a server in an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of another user terminal according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of another server in an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of a data update system according to an embodiment of the present invention.
  • a data update method includes steps 101 to 103, and the method can be applied to a terminal device such as a personal computer or a mobile phone.
  • step 101 the identifier and update priority of the data string to be updated in the application data packet are obtained, and the priority is obtained.
  • the update data string is divided into a data string to be updated with an update priority higher than a preset threshold and a data string to be updated lower than or equal to a preset threshold according to a preset threshold.
  • the application data packet may be various application data packets such as a game data packet, a WeChat data packet, and a Weibo data packet.
  • An application package can contain multiple data strings.
  • the identifier of the data string to be updated may be the name of the data string to be updated, or other identifiers that may be used to uniquely identify the data string to be updated.
  • the identifiers of the 6 data strings can be obtained, for example, data string A, data string B, data string C, and data respectively.
  • the update priority of data string A and data string B is 1, the update priority of data string C is 2, the update priority of data string D and data string E is 3, and the update priority of data string F is 4. Also, in the present embodiment, the smaller the update priority number, the higher the level of update priority. Among them, the data string A and the data string B have the highest update priority level.
  • the preset priority threshold is 2
  • the priority higher than the preset priority threshold is only 1
  • the data string whose priority level is higher than the preset threshold has the data string A and the data string B.
  • the preset threshold can also be other values, which can be determined according to the actual operation of the application data packet.
  • the data string whose update priority is higher than the preset threshold may be a data string necessary for starting the application data packet.
  • step 102 before the application data packet is started, the update data of the data string to be updated whose update priority is higher than the preset threshold is obtained according to the identifier of the data string to be updated, and the update priority is higher than the preset threshold.
  • the data string is updated.
  • step 103 after the application data packet is started, the update data of the data string to be updated whose update priority is lower than or equal to the preset threshold is obtained according to the identifier of the data string to be updated, and the update priority is lower than or equal to the preset.
  • the threshold data string to be updated is updated.
  • the data string to be updated in the application data packet is divided into a data string to be updated higher than a preset threshold and a data string to be updated lower than or equal to a preset threshold, and is lower than or equal to
  • the data string to be updated with a preset threshold can be updated after the application packet is run, reducing the user Waiting time.
  • a data update method includes steps 201 to 203, and the method can be applied to a terminal device such as a personal computer or a mobile phone.
  • step 201 an identifier of the data string to be updated in the application data packet is obtained.
  • the application data packet may be various application data packets such as a game data packet, a WeChat data packet, and a Weibo data packet.
  • An application package can contain multiple data strings.
  • the identifier of the data string to be updated may be the name of the data string to be updated, or other identifiers that may be used to uniquely identify the data string to be updated.
  • the identifiers of the 6 data strings can be obtained, for example, data string A, data string B, data string C, and data respectively.
  • step 202 the application data package is launched and the application data package is run.
  • Launching an app package can start the game, get launch of other apps, run games or other apps after launch.
  • step 203 the update data of the data string to be updated is obtained according to the identifier of the data string to be updated.
  • the update data of the data string to be updated may be acquired from the resource server storing the data string to be updated.
  • the identifier of the data string to be updated in the application data packet is obtained, the application data packet is started, and the application data packet is run, and the update data of the data string to be updated is obtained according to the identifier of the data string to be updated.
  • the method provided by the embodiment of the present invention can obtain the update data of the data string to be updated in the application data packet when the application data packet is run, thereby reducing the waiting time of the user.
  • acquiring the identifier of the data string to be updated in the application data packet may include:
  • a data list to be updated of the application data packet where the data list to be updated is used to describe an identifier of the data string to be updated in the application data packet to be started and an update priority of the data string to be updated.
  • the resource management server is configured to manage application data packet identifiers of various applications and identifiers of data strings in the data packets.
  • the identifiers of the 6 data strings can be obtained, for example, data string A, data string B, data string C, and data respectively.
  • Table 1 List of data to be updated
  • the update priority of data string A and data string B is 1, the update priority of data string C is 2, the update priority of data string D and data string E is 3, and the update of data string F takes precedence.
  • the level is 4. The smaller the update priority number, the higher the level of update priority. Among them, the data string A and the data string B have the highest update priority level.
  • the data string to be updated when the data string to be updated includes an update priority higher than a preset priority threshold, the data string can also include:
  • the update data of the data string to be updated whose update priority is higher than the preset priority threshold is obtained from the resource server, and the data string whose update priority is higher than the preset priority threshold is updated.
  • the data string whose update priority is higher than the preset priority threshold may be a data string necessary for starting the application data packet.
  • the resource server is used to store a server for data resources required by the client.
  • the preset priority threshold may be 2 or other values, which may be determined according to the actual situation of the application data packet. If the preset priority threshold is 2, the priority higher than the preset priority threshold is only 1. Referring to Table 1, the data string with the priority level higher than the preset priority threshold has the data string A and the data string B.
  • the application packet 1 is updated with the data string A and the data string B, and after updating the application packet 1, the updated application packet 1 including the data string A and the data string B is started and run.
  • the application data packet to be started when the application data packet to be started is run, according to the optional embodiment corresponding to FIG.
  • the data string to be updated is obtained, and the data string to be updated may be obtained, which may include:
  • the update data of the data string to be updated whose update priority is equal to or lower than the preset priority threshold is acquired from the resource server.
  • the data string whose priority is equal to or lower than the preset priority threshold has the data string C, the data string D, the data string E, and the data string F, and the updated application data packet is run.
  • the update data of the data string C, the data string D, the data string E, and the data string F can be acquired from the resource server, thereby reducing the delay.
  • the method may further include:
  • the data string to be cleaned in the application data packet is deleted according to the identifier of the data string to be cleaned.
  • the data string of the previous version is no longer used, and if the user terminal that continues to be stored still occupies the storage space of the user terminal, the user terminal runs slowly, and the user terminal can Obtaining an identifier of the data string to be cleaned in the application data packet from the resource management server, and then deleting the data string to be cleaned in the application data packet according to the identifier of the data string to be cleaned.
  • the data string a, the data string b, the data string c, the data string d, the data string e, and the data string f of the old version in the application data packet 1 are no longer used, and the user terminal can delete the data string a, the data string b, Data string c, data string d, data string e, data string f.
  • the identifier of the data string to be cleaned in the application data packet is obtained from the resource management server, and may include :
  • Receiving a list of data to be cleaned sent by the resource management server, and the list of data to be cleaned includes the number of applications According to the identifier of the data string to be cleaned in the package.
  • the user terminal may send a data request to be cleared to the resource management server, where the data request to be cleaned carries the identifier 1 of the application data packet to be started, and the data list to be cleaned can be understood by referring to Table 2.
  • the UE can delete the data string a, the data string b, the data string c, the data string d, the data string e, and the data string f.
  • another embodiment of the data update method provided by the embodiment of the present invention includes steps 301 to 303.
  • the method can be applied to devices such as a resource management server.
  • step 301 the data request of the user to be updated is received, and the data request to be updated carries the identifier of the application data packet.
  • step 302 an identifier of the data string to be updated in the application data packet is obtained according to the identifier of the application data packet.
  • the identifier of the application data packet and the identifier of the data string to be updated in the application data packet are associated with the resource management server.
  • Table 3 is an association table of application data packets stored in the resource management server and identifiers of the data strings therein.
  • the identifiers of the data strings to be updated can be obtained from the resource management server in Table 3 as A, B, C, D, E, and F, respectively.
  • step 303 the identifier of the data string to be updated is returned to the client.
  • the data request to be updated is received by the user end, and the identifier of the data packet to be updated carries the identifier of the application data packet, and the identifier of the data string to be updated in the application data packet is obtained according to the identifier of the application data packet, and is returned to the user end.
  • the UE may update the corresponding data string as needed according to the identifier of the received data string.
  • the application data packet to be started is obtained according to the identifier of the application data packet to be started.
  • the method may further include:
  • a data list to be updated of the application data packet where the data list to be updated includes an identifier of the data string to be updated in the application data packet and an update priority of the data string to be updated.
  • the update priority of the data string to be updated may also be obtained.
  • the updated data list returned by the resource management server to the user terminal may be understood by referring to Table 1.
  • the method may further include:
  • the resource management server can determine from the table 3 that the data string of the data packet of the application data packet 1 is a, b, c, d, e, and f is outdated, and the application data is requested to be cleaned up at the user end.
  • the old version data string of the packet 1 it can be determined that the data string a, the data string b, the data string c, the data string d, the data string e, and the data string f need to be cleaned, and then the identifier of the data string to be cleaned is returned to the user end. It can be displayed in the form of a list of data to be cleaned.
  • the list of data to be cleaned can be understood by referring to Table 2, and details are not described herein again.
  • the process of data update in the embodiment of the present invention includes steps S100 to S145.
  • step S100 when the user logs in to the game, it is checked whether the game data packet needs to be updated, and when the update is required, step S105 is performed.
  • Each game will have an application data package.
  • only the data packets of the game that the user side logs in can be checked.
  • step S105 the UE sends a data update request to the resource management server, where the data request to be updated carries the identifier of the logged game data packet.
  • step S110 the resource management server returns to the user terminal the data list to be updated of the game data packet to be registered, and the to-be-updated data list is used to describe the identifier of the data string to be updated and the data string to be updated in the game data packet to be registered. Update priority.
  • step S115 the game data packet is started to run on the client.
  • the game starts on the user side for the user to entertain.
  • step S120 the UE sends a data string download request to be updated to the resource server, and the data string download request to be updated carries the identifier of the data string to be updated.
  • step S125 the resource server acquires the identifier of the data string to be updated in the game data packet according to the identifier of the game data packet, and sends the data string to be updated corresponding to the identifier of the data string to be updated. Update the data to the client.
  • step S130 the UE updates the game data packet using the update data of the data string to be updated.
  • step S135 the UE sends a data to be cleaned request to the resource management server, where the data to be cleaned carries the identifier of the game data packet.
  • step S140 the resource management server acquires the identifier of the data string to be cleaned in the game data packet according to the identifier of the game data packet, and sends a data list to be cleaned to the client, where the data list to be cleaned is used to describe the game data packet.
  • the identifier of the cleaned data string is used to describe the game data packet.
  • step S145 the UE cleans up the corresponding data string according to the identifier of the data string to be cleaned.
  • the method provided by the embodiment of the present invention can obtain the data string to be updated in the game data packet when the game data packet is run, as compared with the method in the prior art that all the data strings to be updated are acquired to run the application data packet. This reduces the user's waiting time.
  • FIG. 5 is a schematic structural diagram of a client according to an embodiment of the present invention.
  • the client may be a terminal device such as a personal computer or a mobile phone.
  • an embodiment of the user terminal 30 provided by the embodiment of the present invention includes:
  • the detecting unit 301 is configured to detect whether an application data packet needs to be updated
  • the obtaining unit 302 is configured to: when the detecting unit 301 detects that the application data packet needs to be updated, acquire an identifier of the data string to be updated in the application data packet;
  • the processing unit 303 is configured to: when the obtaining unit 302 acquires the identifier of the data string to be updated in the application data packet, start the application data packet, and run the application data packet;
  • the obtaining unit 302 is configured to obtain, when the processing unit 303 runs the application data packet, the data string to be updated according to the identifier of the data string to be updated.
  • the user terminal provided by the embodiment of the present invention can obtain the data string to be updated in the application data packet when the application data packet is run, thereby reducing the waiting time of the user.
  • the obtaining unit 302 is configured to obtain, from the resource management server, a to-be-updated data list of the application data packet, where the to-be-updated data list may include an identifier of the data string to be updated in the application data packet and an update priority of the data string to be updated.
  • the obtaining unit 302 is further configured to obtain, from the resource server, a data string to be updated whose update priority is higher than a preset priority threshold.
  • the client 30 further includes:
  • the updating unit 304 is configured to update the application data package to be started according to the data string to be updated whose update priority is higher than the preset priority threshold acquired by the obtaining unit 302;
  • the processing unit 303 is configured to start the updated application data packet of the update unit 304, and run the updated application data package.
  • the obtaining unit 302 is configured to obtain, from the resource server, a data string to be updated with an update priority equal to or lower than a preset priority threshold when the updated application data packet is run.
  • the obtaining unit 302 is further configured to acquire, from the resource management server, an identifier of the data string to be cleaned in the application data packet;
  • the processing unit 303 is further configured to delete the data string to be cleaned in the application data packet according to the identifier of the data string to be cleaned acquired by the obtaining unit 302.
  • the obtaining unit 302 includes:
  • the sending sub-unit 3021 is configured to send a data request to be cleaned to the resource management server, where the data request to be cleaned carries an identifier of the application data packet;
  • the receiving subunit 3022 is configured to receive a data list to be cleaned sent by the resource management server, where the to-be-cleaned data list may include an identifier of the data string to be cleaned in the application data packet.
  • FIG. 8 is a schematic structural diagram of another user terminal according to an embodiment of the present invention.
  • the user terminal may be a terminal device such as a personal computer or a mobile phone.
  • the client includes one or more processors 801 and a storage medium 802 storing operation instructions for processing when operating instructions in the storage medium 802 are executed.
  • the 801 executes:
  • the update data of the data string to be updated whose update priority is higher than the preset threshold is obtained according to the identifier of the data string to be updated, and the data string to be updated whose update priority is higher than the preset threshold is updated; as well as
  • the update data of the data string to be updated whose update priority is lower than or equal to the preset threshold is obtained according to the identifier of the data string to be updated, and the data to be updated whose update priority is lower than or equal to the preset threshold is acquired.
  • the string is updated.
  • the processor 801 performs:
  • the resource management server obtains, by the resource management server, the to-be-updated data list of the application data packet, where the to-be-updated data list includes an identifier of the data string to be updated in the application data packet and an update priority of the data string to be updated.
  • processor 801 can also perform:
  • the processor 801 may further perform:
  • the data string to be cleaned in the application data packet is deleted according to the identifier of the data string to be cleaned.
  • the processor 801 can execute:
  • the data string to be updated in the application data packet is divided into a data string to be updated higher than a preset threshold and a data string to be updated lower than or equal to a preset threshold, and is lower than or
  • the data string to be updated equal to the preset threshold can be updated after the application packet is run, which is reduced. User's waiting time.
  • an embodiment of a server 40 includes:
  • the receiving unit 401 is configured to receive a data request to be updated by the user end, where the data request to be updated carries an identifier of the application data packet;
  • the obtaining unit 402 is configured to obtain, according to the identifier of the application data packet received by the receiving unit 401, an identifier of the data string to be updated in the application data packet;
  • the sending unit 403 is configured to return, to the UE, an identifier of the data string to be updated acquired by the obtaining unit 402.
  • the receiving unit 401 receives the data request to be updated by the user end, and the data request to be updated carries the identifier of the application data packet, and the obtaining unit 402 obtains the identifier of the data string to be updated in the application data packet according to the identifier of the application data packet.
  • the sending unit 403 returns the identifier of the data string to be updated to the UE, and the UE can update the corresponding data string as needed according to the identifier of the received data string.
  • the obtaining unit 402 is further configured to obtain an update priority of the data string to be updated
  • the sending unit 403 is further configured to return, to the UE, a data list to be updated of the application data packet, where the data list to be updated may include an identifier of the data string to be updated in the application data packet and an update priority of the data string to be updated.
  • the receiving unit 401 is further configured to receive a data request to be cleaned sent by the user end, where the to-be-cleaned data request carries the identifier of the application data packet to be started.
  • the obtaining unit 402 is further configured to obtain, according to the identifier of the application data packet, an identifier of the data string to be cleaned in the application data packet;
  • the sending unit 403 is further configured to send, to the UE, a to-be-cleaned data list, where the to-be-cleaned data list may include an identifier of the data string to be cleaned in the application data packet.
  • the client end of the embodiment of the present invention may be a client device such as a personal computer (PC), a mobile phone, or a notebook.
  • PC personal computer
  • mobile phone such as a smart phone, a smart phone, or a smart phone.
  • notebook a notebook
  • FIG. 10 is a schematic structural diagram of a user terminal according to an embodiment of the present invention.
  • the user terminal may be used to implement the data update method provided in the foregoing embodiment.
  • the client 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a WiFi (wireless fidelity,
  • the Wireless Fidelity module 170 includes a processor 180 having one or more processing cores, and a power supply 190 and the like. It will be understood by those skilled in the art that the client structure shown in FIG. 10 does not constitute a limitation to the user terminal, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements. among them:
  • the RF circuit 110 can be used for transmitting and receiving information or during a call, and receiving and transmitting signals. Specifically, after receiving downlink information of the base station, the downlink information is processed by one or more processors 180. In addition, the data related to the uplink is sent to the base station. .
  • the RF circuit 110 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier). , duplexer, etc.
  • RF circuitry 110 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • e-mail Short Messaging Service
  • the memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120.
  • the memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the client 1200 (such as audio data, phone book, etc.) and the like.
  • memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the memory 120 may further include a memory controller to provide the processor 180 and the input Access to the memory 120 by the unit 130.
  • the input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 130 can include touch-sensitive surface 131 as well as other input devices 132.
  • Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 131 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 180 is provided and can receive commands from the processor 180 and execute them.
  • the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 can also include other input devices 132.
  • other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 140 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of the client 1200, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display unit 140 may include a display panel 141.
  • the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
  • touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
  • Client 1200 may also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the user end 1200 moves to the ear.
  • Motion sensing A kind of gravity accelerometer can detect the acceleration of each direction (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the gesture of the mobile phone such as horizontal and vertical screen switching, related games, Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the gyroscope, barometer, hygrometer, thermometer, infrared sensor and other sensors that can be configured at the user terminal 1200, no longer Narration.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the client 1200.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, sent to the other user terminal via the RF circuit 110, or outputted to the memory 120 for further processing.
  • the audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the client 1200.
  • WiFi is a short-range wireless transmission technology
  • the user terminal 1200 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 170, which provides wireless broadband Internet access for users.
  • FIG. 10 shows the WiFi module 170, it can be understood that it does not belong to the essential configuration of the client 1200, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 180 is the control center of the client 1200, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120.
  • the various functions of the client 1200 and the processing data are executed to perform overall monitoring of the mobile phone.
  • the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
  • the client 1200 also includes a power supply 190 (such as a battery) for powering various components.
  • the power supply can be logically coupled to the processor 180 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the client 1200 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • the display unit of the client is a touch screen display
  • the client further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be one or more
  • the processor executes one or more programs that include instructions for performing the following operations:
  • the update data of the data string to be updated is obtained according to the identifier of the data string to be updated.
  • the memory of the user terminal further includes an instruction for performing the following operations:
  • the resource management server obtains, by the resource management server, the to-be-updated data list of the application data packet, where the to-be-updated data list includes an identifier of the data string to be updated in the application data packet and an update priority of the data string to be updated.
  • the memory of the user terminal further includes an instruction for performing the following operations:
  • the update data of the data string whose update priority is higher than the preset priority threshold is obtained from the resource server, and the data string whose update priority is higher than the preset priority threshold is updated.
  • the memory of the user terminal further includes an instruction for performing the following operations:
  • the data string to be updated whose update priority is equal to or lower than the preset priority threshold is obtained from the resource server.
  • the memory of the user terminal further includes an instruction for performing the following operations:
  • the data string to be cleaned in the application data packet is deleted according to the identifier of the data string to be cleaned.
  • the memory of the client terminal further includes an instruction for performing the following operations:
  • the method provided by the embodiment of the present invention can obtain the data string to be updated in the application data packet when the application data packet is run, thereby reducing the waiting time of the user.
  • Still another embodiment of the present invention provides a computer readable storage medium, which may be a computer readable storage medium included in the memory in the above embodiment; There is a computer readable storage medium that is not assembled into the client.
  • the computer readable storage medium stores one or more programs, the one or more programs being used by one or more processors to perform a data update method, the method comprising:
  • the update data of the data string to be updated whose update priority is higher than the preset threshold is obtained according to the identifier of the data string to be updated, and the data to be updated whose update priority is higher than the preset threshold is updated;
  • the update data of the data string to be updated whose update priority is lower than or equal to the preset threshold is obtained according to the identifier of the data string to be updated, and the data to be updated whose update priority is lower than or equal to the preset threshold is acquired. Update.
  • the identifier of the data string to be updated in the application data packet is obtained, including:
  • the resource management server obtains, by the resource management server, the to-be-updated data list of the application data packet, where the to-be-updated data list includes an identifier of the data string to be updated in the application data packet and an update priority of the data string to be updated.
  • the method further includes:
  • the data string to be cleaned in the application data packet is deleted according to the identifier of the data string to be cleaned.
  • the resource management server obtains the identifier of the data string to be cleaned in the application data packet, including:
  • FIG. 11 is a schematic structural diagram of a server 40 according to an embodiment of the present invention.
  • Server 40 may include input device 410, output device 420, processor 430, and memory 440.
  • Memory 440 can include read only memory and random access memory and provides instructions and data to processor 430. A portion of memory 440 may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • Memory 440 stores the following elements, executable modules or data structures, or subsets thereof, or their extended sets:
  • Operation instructions include various operation instructions for implementing various operations.
  • Operating system Includes a variety of system programs for implementing various basic services and handling hardware-based tasks.
  • the processor 430 performs the following operations by calling an operation instruction stored in the memory 440 (the operation instruction can be stored in the operating system):
  • the identifier of the application data packet is carried in the data request to be updated, and the identifier of the data string to be updated in the application data packet is obtained according to the identifier of the application data packet, and is output to the data packet through the output device 420.
  • the client returns the identifier of the data string to be updated.
  • the server 40 can enable the UE to obtain the data string to be updated in the application data packet when the application data packet is running, thereby reducing the waiting time of the user.
  • the processor 430 controls the operation of the server 40, which may also be referred to as a CPU (Central Processing Unit).
  • Memory 440 can include read only memory and random access memory and provides instructions and data to processor 430. A portion of memory 440 may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • the various components of the server 40 are coupled together by a bus system 450.
  • the bus system 450 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as bus system 450 in the figure.
  • Processor 430 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 430 or an instruction in a form of software.
  • the processor 430 described above may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or discrete hardware. Component.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or carried out.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in memory 440, and processor 430 reads the information in memory 440 and, in conjunction with its hardware, performs the steps of the above method.
  • the processor 430 may also obtain an update priority of the data string to be updated.
  • the output device 420 is configured to return, to the UE, a to-be-updated data list of the application data packet, where the to-be-updated data list includes an identifier of the data string to be updated in the application data packet and an update priority of the data string to be updated.
  • the input device 410 receives the data request to be cleaned sent by the user end, where the data request to be cleaned carries the identifier of the application data packet;
  • the processor 430 acquires an identifier of the data string to be cleaned in the application data packet according to the identifier of the application data packet;
  • the output device 420 sends a list of data to be cleaned to the client, where the list of data to be cleaned includes an identifier of the data string to be cleaned in the application data packet.
  • an embodiment of a data update system includes a client 30, a resource management server 40, and a resource server 50.
  • the client 30 is in communication with the resource management server 40 and the resource server 50, respectively.
  • the user terminal 30 is configured to obtain, from the resource management server 40, an identifier and an update priority of the data string to be updated in the application data packet, where the data string to be updated is divided according to a preset threshold, and the update priority is higher than the preset threshold.
  • a data string to be updated and a data string to be updated that is lower than or equal to the preset threshold before the application data packet is started, obtaining an update priority from the resource server that is higher than a preset threshold according to the identifier of the updated data string to be updated Updating data of the data string to be updated, and updating the data to be updated whose update priority is higher than a preset threshold; after starting the application data packet, acquiring the update from the resource server 50 according to the identifier of the updated data string to be updated. Updating data of the data string to be updated whose priority is lower than or equal to the preset threshold, and updating the data to be updated whose update priority is lower than or equal to the preset threshold;
  • the resource management server 40 is configured to send the identifier and update priority of the data string to be updated in the application data packet to the user terminal 30; receive the data request to be updated by the user end, and carry the application data in the data request to be updated.
  • the resource server 50 is configured to provide the client 30 with update data of the data string to be updated.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: ROM, RAM, disk or CD.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

一种数据更新方法、用户端、服务器以及数据更新系统。该方法包括:获取应用数据包中待更新数据串的标识和更新优先级,所述待更新数据串根据预设阈值分为更新优先级高于所述预设阈值的待更新数据串和低于或等于所述预设阈值的待更新数据串(101);在启动所述应用数据包之前,根据所述待更新数据串的标识获取所述更新优先级高于所述预设阈值的待更新数据串的更新数据,并对所述更新优先级高于所述预设阈值的待更新数据串进行更新(102);在启动所述应用数据包之后,根据所述待更新数据串的标识获取所述更新优先级低于或等于所述预设阈值的待更新数据串的更新数据,并对所述更新优先级低于或等于所述预设阈值的待更新数据串进行更新(103)。

Description

数据更新的方法、用户端及数据更新系统
本申请要求于2013年12月02日提交中国专利局、申请号为201310633329.7、发明名称为“一种数据获取的方法、用户端、服务器及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及数据处理技术领域,具体涉及一种数据更新的方法、用户端及数据更新系统。
背景技术
网络游戏的用户端一般含有多种资源文件,比如背景图片、音效文件、场景视频等,这些资源文件会随着游戏版本的升级而变化。目前对于众多的游戏产品,资源文件的更新较多地采用升级包的形式,即每次把需要更新的资源文件打包在游戏升级包里面,用户在登录游戏之前必须先下载最新的升级包,升级成功后方可开启游戏。
在本技术领域中,用户必须升级成功后才能进行游戏,导致用户等待时间过长,而且对于网速不好或者机器有问题的用户可能因更新失败导致无法使用游戏的功能。
发明内容
本发明实施例提供一种数据更新的方法、用户端以及数据更新系统。
本发明实施例提供一种数据更新方法,包括:
获取应用数据包中待更新数据串的标识和更新优先级,所述待更新数据串根据预设阈值分为更新优先级高于所述预设阈值的待更新数据串和低于或等于所述预设阈值的待更新数据串;
在启动所述应用数据包之前,根据所述待更新数据串的标识获取所述更新优先级高于所述预设阈值的待更新数据串的更新数据,并对所述更新优先级高 于所述预设阈值的待更新数据进行更新;
在启动所述应用数据包之后,根据所述待更新数据串的标识获取所述更新优先级低于或等于所述预设阈值的待更新数据串的更新数据,并对所述更新优先级低于或等于所述预设阈值的待更新数据进行更新。
本发明实施例提供一种用户端,包括一个或多个处理器和存储有操作指令的存储介质,当运行所述存储介质中的操作指令时,所述处理器执行:
获取应用数据包中待更新数据串的标识和更新优先级,所述待更新数据串根据预设阈值分为更新优先级高于所述预设阈值的待更新数据串和低于或等于所述预设阈值的待更新数据串;
在启动所述应用数据包之前,根据所述待更新数据串的标识获取所述更新优先级高于所述预设阈值的待更新数据串的更新数据,并对所述更新优先级高于所述预设阈值的待更新数据进行更新;
在启动所述应用数据包之后,根据所述待更新数据串的标识获取所述更新优先级低于或等于所述预设阈值的待更新数据串的更新数据,并对所述更新优先级低于或等于所述预设阈值的待更新数据进行更新。
本发明实施例提供一种数据更新系统,包括:用户端、资源管理服务器和资源服务器,所述用户端分别与所述资源管理服务器和资源服务器通信连接;
所述用户端用于从所述资源管理服务器获取应用数据包中待更新数据串的标识和更新优先级,所述待更新数据串根据预设阈值分为更新优先级高于所述预设阈值的待更新数据串和低于或等于所述预设阈值的待更新数据串;在启动所述应用数据包之前,根据所述更新待更新数据串的标识从所述资源服务器获取所述更新优先级高于所述预设阈值的待更新数据串的更新数据,并对所述更新优先级高于所述预设阈值的待更新数据进行更新;在启动所述应用数据包之后,根据所述更新待更新数据串的标识从所述资源服务器获取所述更新优先级低于或等于所述预设阈值的待更新数据串的更新数据,并对所述更新优先级低于或等于所述预设阈值的待更新数据进行更新;
所述资源管理服务器用于向所述用户端发送所述应用数据包中待更新数据串的标识和更新优先级;
所述资源服务器用于向所述用户端提供所述待更新数据串的更新数据。
本发明实施例提供的方法,应用数据包中的待更新数据串被分为高于预设阈值的待更新数据串和低于或等于预设阈值的待更新数据串,并且低于或等于预设阈值的待更新数据串可以在应用数据包运行之后进行更新,从而降低了用户的等待时间。
附图说明
图1是本发明实施例中一种数据更新方法流程示意图;
图2是本发明实施例中另一种数据更新方法流程示意图;
图3是本发明实施例中另一种数据更新方法流程示意图;
图4是本发明实施例中另一种数据更新方法流程示意图;
图5是本发明实施例中一种用户端结构示意图;
图6是本发明实施例中另一种用户端结构示意图;
图7是本发明实施例中另一种用户端结构示意图;
图8是本发明实施例中另一种用户端结构示意图;
图9是本发明实施例中一种服务器结构示意图;
图10是本发明实施例中另一种用户端结构示意图;
图11是本发明实施例中另一种服务器结构示意图;以及
图12是本发明实施例中一种数据更新系统结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
参阅图1,本发明实施例提供的一种数据更新方法包括步骤101至步骤103,该方法可以应用于个人电脑、手机等终端设备。
在步骤101中,获取应用数据包中待更新数据串的标识和更新优先级,待 更新数据串根据预设阈值分为更新优先级高于预设阈值的待更新数据串和低于或等于预设阈值的待更新数据串。
本发明实施例中应用数据包可以为游戏数据包、微信数据包、微博数据包等各种应用数据包。
一个应用数据包中可以包含多个数据串。
待更新数据串的标识可以为待更新数据串的名称,或者其他可以用来唯一标识该待更新数据串的标识。
例如:应用数据包1中有10个数据串,其中有6个数据串待更新,那么可以获取这6个数据串的标识,例如:分别为数据串A、数据串B、数据串C、数据串D、数据串E和数据串F。
假设数据串A和数据串B的更新优先级都是1,数据串C的更新优先级为2,数据串D和数据串E的更新优先级为3,数据串F的更新优先级为4。并且,在本实施例中,更新优先级数字越小,更新优先级的级别越高。其中,数据串A和数据串B的更新优先级的级别最高。
如果预设优先级阈值为2,那么高于预设优先级阈值的优先级只有1,优先级的级别高于预设阈值的数据串有数据串A和数据串B。预设阈值还可以为其他数值,该阈值可以根据应用数据包的实际运行情况确定。
在本发明实施例中,更新优先级高于预设阈值的数据串可以是启动应用数据包所必需的数据串。
在步骤102中,在启动应用数据包之前,根据待更新数据串的标识获取更新优先级高于预设阈值的待更新数据串的更新数据,并对更新优先级高于预设阈值的待更新数据串进行更新。
在步骤103中,在启动应用数据包之后,根据待更新数据串的标识获取更新优先级低于或等于预设阈值的待更新数据串的更新数据,并对更新优先级低于或等于预设阈值的待更新数据串进行更新。
根据本实施例所提供的方法,应用数据包中的待更新数据串被分为高于预设阈值的待更新数据串和低于或等于预设阈值的待更新数据串,并且低于或等于预设阈值的待更新数据串可以在应用数据包运行之后进行更新,降低了用户 的等待时间。
参阅图2,本发明实施例提供的一种数据更新方法包括步骤201至步骤203,该方法可以应用于个人电脑、手机等终端设备。
在步骤201中,获取应用数据包中待更新数据串的标识。
本发明实施例中应用数据包可以为游戏数据包、微信数据包、微博数据包等各种应用数据包。
一个应用数据包中可以包含多个数据串。
待更新数据串的标识可以为待更新数据串的名称,或者其他可以用来唯一标识该待更新数据串的标识。
例如:应用数据包1中有10个数据串,其中有6个数据串待更新,那么可以获取这6个数据串的标识,例如:分别为数据串A、数据串B、数据串C、数据串D、数据串E和数据串F。
在步骤202中,启动应用数据包,并运行应用数据包。启动应用数据包可以为启动游戏,获取启动其他应用,启动后运行游戏或者其他应用。
在步骤203中,根据待更新数据串的标识,获取待更新数据串的更新数据。
本发明实施例中,在运行游戏或者运行其他应用时,可以同时从存储待更新数据串的资源服务器获取所述待更新的数据串的更新数据。
在本发明实施例所提供技术方案中,获取应用数据包中待更新数据串的标识,启动应用数据包,并运行应用数据包,根据待更新数据串的标识,获取待更新数据串的更新数据。本发明实施例提供的方法,可以在运行应用数据包时,获取应用数据包中的待更新数据串的更新数据,从而降低了用户的等待时间。
可选地,在上述图2对应的实施例的基础上,本发明实施例提供的数据更新方法的另一实施例中,获取应用数据包中待更新数据串的标识,可以包括:
从资源管理服务器获取应用数据包的待更新数据列表,待更新数据列表用于描述所述待启动的应用数据包中待更新数据串的标识及所述待更新数据串的更新优先级。
本发明实施例中,资源管理服务器用于管理各种应用的应用数据包标识及数据包中数据串的标识。
例如:应用数据包1中有10个数据串,其中有6个数据串待更新,那么可以获取这6个数据串的标识,例如:分别为数据串A、数据串B、数据串C、数据串D、数据串E和数据串F。
待更新数据列表可以参阅表1进行理解:
表1:待更新数据列表
Figure PCTCN2015072069-appb-000001
参阅表2可知,数据串A和数据串B的更新优先级都是1,数据串C的更新优先级为2,数据串D和数据串E的更新优先级为3,数据串F的更新优先级为4。更新优先级数字越小,更新优先级的级别越高。其中,数据串A和数据串B的更新优先级的级别最高。
可选地,在上述图2对应的可选实施例的基础上,本发明实施例提供的数据更新方法的另一实施例中,当待更新数据串包括更新优先级高于预设优先级阈值的数据串时,启动应用数据包之前,该方法还可以包括:
从资源服务器获取更新优先级高于预设优先级阈值的待更新数据串的更新数据,并对更新优先级高于预设优先级阈值的数据串进行更新。
在本发明实施例中,更新优先级高于预设优先级阈值的数据串可以是启动应用数据包所必需的数据串。
本发明实施例中,资源服务器用于存储用户端需要的数据资源的服务器。
预设优先级阈值可以为2,也可以为其他数值,该阈值可以根据应用数据包的实际情况确定。如果预设优先级阈值为2,那么高于预设优先级阈值的优先级只有1,参阅表1,优先级的级别高于预设优先级阈值的数据串有数据串A和数据串B。
用数据串A和数据串B更新应用数据包1,更新应用数据包1后,启动并运行包含数据串A和数据串B的更新后的应用数据包1。
可选地,在上述图2对应的可选实施例的基础上,本发明实施例提供的数据更新方法的另一实施例中,所述在运行所述待启动的应用数据包时,根据所述待更新数据串的标识,获取所述待更新数据串,可以包括:
在运行所述更新后的应用数据包时,从所述资源服务器获取更新优先级等于或低于预设优先级阈值的待更新数据串的更新数据。
本发明实施例中,参阅表1,更新优先级等于或低于预设优先级阈值的数据串有数据串C、数据串D、数据串E和数据串F,在运行更新后的应用数据包时,可以时从资源服务器获取数据串C、数据串D、数据串E和数据串F的更新数据,从而降低了时延。
可选地,在上述任一可选实施例的基础上,本发明实施例提供的数据更新方法的另一实施例中,所述方法还可以包括:
从资源管理服务器获取应用数据包中待清理数据串的标识;
根据待清理数据串的标识,删除应用数据包中待清理数据串。
本发明实施例中,对于已更新的数据串,之前旧版本的数据串就不再使用了,如果还继续存储的用户端,会占用用户端的存储空间,导致用户端运行缓慢,用户端就可以从资源管理服务器获取应用数据包中待清理数据串的标识,然后,根据待清理数据串的标识,删除该应用数据包中待清理数据串。
例如:应用数据包1中旧版本的数据串a、数据串b、数据串c、数据串d、数据串e、数据串f不再使用,用户端就可以删除数据串a、数据串b、数据串c、数据串d、数据串e、数据串f。
可选地,在上述可选实施例的基础上,本发明实施例提供的数据更新方法的另一可选实施例中,从资源管理服务器获取应用数据包中待清理数据串的标识,可以包括:
向资源管理服务器发送待清理数据请求,待清理数据请求中携带应用数据包的标识;
接收资源管理服务器发送的待清理数据列表,待清理数据列表包括应用数 据包中待清理的数据串的标识。
本发明实施例中,用户端可以向资源管理服务器发送待清理数据请求,待清理数据请求中携带所述待启动的应用数据包的标识1,待清理数据列表可以参阅表2进行理解,
表2:待清理数据列表
Figure PCTCN2015072069-appb-000002
由表2可知,用户端在接收到表2后,就可以删除数据串a、数据串b、数据串c、数据串d、数据串e、数据串f。
参阅图3,本发明实施例提供的数据更新方法的另一实施例包括步骤301至步骤303。该方法可以应用于资源管理服务器等设备中。
在步骤301中,接收用户端的待更新数据请求,待更新数据请求中携带应用数据包的标识。
在步骤302中,根据应用数据包的标识,获取应用数据包中待更新数据串的标识。
资源管理服务器中会关联存储有应用数据包的标识与应用数据包中待更新数据串的标识。
例如:参阅表3,表3为资源管理服务器中存储的应用数据包与其中数据串的标识关联表。
表3:标识关联表
Figure PCTCN2015072069-appb-000003
Figure PCTCN2015072069-appb-000004
从表3中资源管理服务器可以获取待更新数据串的标识分别为A、B、C、D、E和F。
在步骤303中,向用户端返回待更新数据串的标识。
本发明实施例中,接收用户端的待更新数据请求,待更新数据请求中携带应用数据包的标识,根据应用数据包的标识,获取应用数据包中待更新数据串的标识,向用户端返回所述待更新数据串的标识,用户端可以根据所接收到的数据串的标识按需更新对应数据串。
可选地,在上述图3对应的实施例的基础上,本发明实施例提供的数据更新方法的另一实施例中,根据待启动的应用数据包的标识,获取待启动的应用数据包中待更新数据串的标识时,该方法还可以包括:
获取待更新数据串的更新优先级;
向用户端返回待更新数据串的标识,可以包括:
向用户端返回应用数据包的待更新数据列表,待更新数据列表包括应用数据包中待更新数据串的标识及待更新数据串的更新优先级。
本发明实施例中,资源管理服务器在获取待更新数据串的标识时,还可以获取待更新数据串的更新优先级,资源管理服务器向用户端返回的更新数据列表可以参阅表1进行理解。
可选地,在上述图3对应的实施例及图3对应的可选实施例的基础上,本发明实施例提供的数据更新方法的另一可选实施例中,该方法还可以包括:
接收用户端发送的待清理数据请求,待清理数据请求中携带应用数据包的 标识;
根据应用数据包的标识,获取应用数据包中待清理的数据串的标识;
向用户端发送待清理数据列表,待清理数据列表包括应用数据包中待清理的数据串的标识。
本发明实施例中,资源管理服务器从表3中可以确定,应用数据包1的数据串的标识为a、b、c、d、e、f的数据串已经过时,在用户端请求清理应用数据包1的旧版本数据串时,可以确定数据串a、数据串b、数据串c、数据串d、数据串e和数据串f需要清理,则向用户端返回待清理的数据串的标识,可以通过待清理数据列表的形式来展示,待清理数据列表可以参阅表2进行理解,在此不再赘述。
为了便于理解,下面以游戏应用场景为例,描述本发明实施例中数据更新的过程:
参阅图4,本发明实施例中数据更新的过程包括步骤S100至步骤S145。
在步骤S100中,用户端登录游戏时,检查游戏数据包是否需要更新,当需要更新时,执行步骤S105。
每种游戏都会有一个应用数据包,本发明实施例中,可以只检查用户端登录的游戏的数据包。
在步骤S105中,用户端向资源管理服务器发送待更新数据请求,待更新数据请求中携带登录的游戏数据包的标识。
在步骤S110中,资源管理服务器向用户端返回所要登录的游戏数据包的待更新数据列表,待更新数据列表用于描述所要登录的游戏数据包中待更新数据串的标识及待更新数据串的更新优先级。
在步骤S115中,用户端上开始运行游戏数据包。
用户端上开始游戏,供用户娱乐。
在步骤S120中,用户端向资源服务器发送待更新数据串下载请求,待更新数据串下载请求中携带待更新数据串的标识。
在步骤S125中,资源服务器根据游戏数据包的标识,获取游戏数据包中待更新数据串的标识,并发送所述待更新数据串的标识对应的待更新的数据串的 更新数据给用户端。
在步骤S130中,用户端使用待更新的数据串的更新数据,更新游戏数据包。
在步骤S135中,用户端向资源管理服务器发送待清理数据请求,待清理数据请求中携带所述游戏数据包的标识。
在步骤S140中,资源管理服务器根据游戏数据包的标识,获取游戏数据包中待清理的数据串的标识,并向用户端发送待清理数据列表,待清理数据列表用于描述游戏数据包中待清理的数据串的标识。
在步骤S145中,用户端根据待清理的数据串的标识,清理对应的数据串。
与现有技术中要所有待更新数据串都要获取到才能运行应用数据包相比,本发明实施例提供的方法,可以在运行游戏数据包时,获取游戏数据包中的待更新数据串,从而降低了用户的等待时间。
图5为本发明实施例所提供的一种客户端的结构示意图,该客户端可以是个人电脑、手机等终端设备。参阅图5,本发明实施例提供的用户端30的一实施例包括:
检测单元301,用于检测应用数据包是否需要更新;
获取单元302,用于当检测单元301检测到应用数据包需要更新时,获取应用数据包中待更新数据串的标识;
处理单元303,用于在获取单元302获取应用数据包中待更新数据串的标识时,启动应用数据包,并运行应用数据包;
所述获取单元302,用于在处理单元303运行应用数据包时,根据待更新数据串的标识,获取待更新数据串。
本发明实施例提供的用户端,可以在运行应用数据包时,获取应用数据包中的待更新数据串,从而降低了用户的等待时间。
可选地,在上述图5对应的实施例的基础上,本发明实施例提供的用户端30的另一实施例中,
获取单元302,用于从资源管理服务器获取应用数据包的待更新数据列表,待更新数据列表可以包括应用数据包中待更新数据串的标识及待更新数据串的更新优先级。
可选地,在上述图5对应的可选实施例的基础上,参阅图6,本发明实施例提供的用户端30的另一实施例中,
获取单元302,还用于从资源服务器获取更新优先级高于预设优先级阈值的待更新数据串。
用户端30还包括:
更新单元304,用于根据获取单元302获取的更新优先级高于预设优先级阈值的待更新数据串,更新所述待启动的应用数据包;
处理单元303,用于启动更新单元304更新后的应用数据包,并运行更新后的应用数据包。
可选地,在上述图6对应的可选实施例的基础上,本发明实施例提供的用户端30的另一实施例中,
获取单元302,用于在运行更新后的应用数据包时,从资源服务器获取更新优先级等于或低于预设优先级阈值的待更新数据串。
可选地,在上述图5或图6对应的实施例或可选实施例的基础上,本发明实施例提供的用户端30的另一实施例中,
获取单元302,还用于从资源管理服务器获取应用数据包中待清理数据串的标识;
处理单元303,还用于根据获取单元302获取的待清理数据串的标识,删除应用数据包中所述待清理数据串。
可选地,在上述实施例的基础上,参阅图7,本发明实施例提供的用户端的另一可选实施例中,获取单元302包括:
发送子单元3021,用于向资源管理服务器发送待清理数据请求,待清理数据请求中携带应用数据包的标识;
接收子单元3022,用于接收资源管理服务器发送的待清理数据列表,待清理数据列表可以包括应用数据包中所述待清理的数据串的标识。
图8为本发明实施例提供的另一用户端的结构示意图,该用户端可以是个人电脑、手机等终端设备。如图8所示,该用户端包括一个或多个处理器801和存储有操作指令的存储介质802,当运行存储介质802中的操作指令时,处理 器801执行:
获取应用数据包中待更新数据串的标识和更新优先级,待更新数据串根据预设阈值分为更新优先级高于预设阈值的待更新数据串和低于或等于预设阈值的待更新数据串;
在启动应用数据包之前,根据待更新数据串的标识获取更新优先级高于预设阈值的待更新数据串的更新数据,并对更新优先级高于预设阈值的待更新数据串进行更新;以及
在启动应用数据包之后,根据待更新数据串的标识获取更新优先级低于或等于预设阈值的待更新数据串的更新数据,并对更新优先级低于或等于预设阈值的待更新数据串进行更新。
在上述实施例的基础上,在另一可选实施例中,处理器801执行:
从资源管理服务器获取应用数据包的待更新数据列表,待更新数据列表包括应用数据包中待更新数据串的标识及待更新数据串的更新优先级。
在另一可选实施例中,处理器801还可执行:
向所述资源管理服务器发送更新数据请求,所述更新数据请求中携带所述应用数据包的标识;
接收所述资源管理服务器发送的所述应用数据包的待更新数据列表。
可选的,基于上述实施例,处理器801还可以执行:
从资源管理服务器获取所述应用数据包中待清理数据串的标识;以及
根据待清理数据串的标识,删除应用数据包中待清理数据串。
可选的,在执行数据串清理步骤时,处理器801可以执行:
向资源管理服务器发送待清理数据请求,待清理数据请求中携带应用数据包的标识;以及
接收资源管理服务器发送的待清理数据列表,待清理数据列表包括应用数据包中待清理的数据串的标识。
根据本发明实施例提供的客户端,应用数据包中的待更新数据串被分为高于预设阈值的待更新数据串和低于或等于预设阈值的待更新数据串,并且低于或等于预设阈值的待更新数据串可以在应用数据包运行之后进行更新,降低了 用户的等待时间。
参阅图9,本发明实施例提供的服务器40的一实施例包括:
接收单元401,用于接收用户端的待更新数据请求,待更新数据请求中携带应用数据包的标识;
获取单元402,用于根据接收单元401接收到的应用数据包的标识,获取应用数据包中待更新数据串的标识;
发送单元403,用于向用户端返回获取单元402获取的待更新数据串的标识。
本发明实施例中,接收单元401接收用户端的待更新数据请求,待更新数据请求中携带应用数据包的标识,获取单元402根据应用数据包的标识,获取应用数据包中待更新数据串的标识,发送单元403向用户端返回待更新数据串的标识,用户端可以根据所接收到的数据串的标识按需更新对应数据串。
可选地,在上述图9对应的实施例的基础上,本发明实施例提供的服务器的另一实施例中,
获取单元402,还用于获取待更新数据串的更新优先级;
发送单元403,还用于向用户端返回应用数据包的待更新数据列表,待更新数据列表可以包括应用数据包中待更新数据串的标识及待更新数据串的更新优先级。
可选地,在上述图9对应的实施例或可选实施例的基础上,本发明实施例提供的服务器的另一实施例中,
接收单元401,还用于接收用户端发送的待清理数据请求,待清理数据请求中携带所述待启动的应用数据包的标识;
获取单元402,还用于根据应用数据包的标识,获取应用数据包中待清理的数据串的标识;
发送单元403,还用于向用户端发送待清理数据列表,待清理数据列表可以包括应用数据包中待清理的数据串的标识。
本发明实施例的用户端可以为个人电脑(Personal Computer,PC)、手机、笔记本等用户端设备。
请参考图10,其示出了本发明实施例所涉及的用户端的结构示意图,该用户端可以用于实施上述实施例中提供的数据更新方法。
用户端1200可以包括RF(Radio Frequency,射频)电路110、包括有一个或一个以上计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、WiFi(wireless fidelity,无线保真)模块170、包括有一个或者一个以上处理核心的处理器180、以及电源190等部件。本领域技术人员可以理解,图10中示出的用户端结构并不构成对用户端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:
RF电路110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器180处理;另外,将涉及上行的数据发送给基站。通常,RF电路110包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,RF电路110还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。
存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据用户端1200的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器120还可以包括存储器控制器,以提供处理器180和输 入单元130对存储器120的访问。
输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元130可包括触敏表面131以及其他输入设备132。触敏表面131,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面131。除了触敏表面131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及用户端1200的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元140可包括显示面板141,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图10中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。
用户端1200还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在用户端1200移动到耳边时,关闭显示面板141和/或背光。作为运动传感 器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于用户端1200还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路160、扬声器161,传声器162可提供用户与用户端1200之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一用户端,或者将音频数据输出至存储器120以便进一步处理。音频电路160还可能包括耳塞插孔,以提供外设耳机与用户端1200的通信。
WiFi属于短距离无线传输技术,用户端1200通过WiFi模块170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图10示出了WiFi模块170,但是可以理解的是,其并不属于用户端1200的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器180是用户端1200的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行用户端1200的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理核心;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。
用户端1200还包括给各个部件供电的电源190(比如电池),优选的,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
尽管未示出,用户端1200还可以包括摄像头、蓝牙模块等,在此不再赘述。具体在本实施例中,用户端的显示单元是触摸屏显示器,用户端还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行述一个或者一个以上程序包含用于进行以下操作的指令:
获取应用数据包中待更新数据串的标识;
启动应用数据包,并运行应用数据包;以及
根据待更新数据串的标识,获取待更新数据串的更新数据。
假设上述为第一种可能的实施方式,则在第一种可能的实施方式作为基础而提供的第二种可能的实施方式中,用户端的存储器中,还包含用于执行以下操作的指令:
从资源管理服务器获取应用数据包的待更新数据列表,待更新数据列表包括应用数据包中待更新数据串的标识及待更新数据串的更新优先级。
在第二种可能的实施方式作为基础而提供的第三种可能的实施方式中,所述用户端的存储器中,还包含用于执行以下操作的指令:
从资源服务器获取更新优先级高于预设优先级阈值的数据串的更新数据,并对更新优先级高于预设优先级阈值的数据串进行更新。
在第三种可能的实施方式作为基础而提供的第四种可能的实施方式中,所述用户端的存储器中,还包含用于执行以下操作的指令:
在运行应用数据包时,从资源服务器获取更新优先级等于或低于预设优先级阈值的待更新数据串。
在第二、第三或者第四种可能的实施方式作为基础而提供的第五种可能的实施方式中,所述用户端的存储器中,还包含用于执行以下操作的指令:
从资源管理服务器获取应用数据包中待清理数据串的标识;
根据待清理数据串的标识,删除应用数据包中待清理数据串。
在第五种可能的实施方式作为基础而提供的第六种可能的实施方式中,用户端的存储器中,还包含用于执行以下操作的指令:
向资源管理服务器发送待清理数据请求,待清理数据请求中携带应用数据包的标识;
接收资源管理服务器发送的待清理数据列表,待清理数据列表包括应用数据包中待清理的数据串的标识。
本发明实施例提供的方法,可以在运行应用数据包时,获取应用数据包中的待更新数据串,从而降低了用户的等待时间。
作为另一方面,本发明再一实施例还提供了一种计算机可读存储介质,该计算机可读存储介质可以是上述实施例中的存储器中所包含的计算机可读存储介质;也可以是单独存在,未装配入用户端中的计算机可读存储介质。所述计算机可读存储介质存储有一个或者一个以上程序,所述一个或者一个以上程序被一个或者一个以上的处理器用来执行一个数据更新方法,该方法包括:
获取应用数据包中待更新数据串的标识和更新优先级,待更新数据串根据预设阈值分为更新优先级高于预设阈值的待更新数据串和低于或等于预设阈值的待更新数据串;
在启动应用数据包之前,根据待更新数据串的标识获取更新优先级高于预设阈值的待更新数据串的更新数据,并对更新优先级高于预设阈值的待更新数据进行更新;
在启动应用数据包之后,根据待更新数据串的标识获取更新优先级低于或等于预设阈值的待更新数据串的更新数据,并对更新优先级低于或等于预设阈值的待更新数据进行更新。
假设上述为第一种可能的实施方式,则在第一种可能的实施方式作为基础而提供的第二种可能的实施方式中,获取应用数据包中待更新数据串的标识,包括:
从资源管理服务器获取应用数据包的待更新数据列表,待更新数据列表包括应用数据包中待更新数据串的标识及待更新数据串的更新优先级。
在第二种可能的实施方式作为基础而提供的第三种可能的实施方式中,该方法还包括:
从资源管理服务器获取应用数据包中待清理数据串的标识;
根据待清理数据串的标识,删除应用数据包中待清理数据串。
在第三种可能的实施方式作为基础而提供的第四种可能的实施方式中,从 资源管理服务器获取应用数据包中待清理数据串的标识,包括:
向资源管理服务器发送待清理数据请求,待清理数据请求中携带应用数据包的标识;
接收资源管理服务器发送的待清理数据列表,待清理数据列表包括应用数据包中待清理的数据串的标识。
图11是本发明实施例服务器40的结构示意图。服务器40可包括输入设备410、输出设备420、处理器430和存储器440。
存储器440可以包括只读存储器和随机存取存储器,并向处理器430提供指令和数据。存储器440的一部分还可以包括非易失性随机存取存储器(NVRAM)。
存储器440存储了如下的元素,可执行模块或者数据结构,或者它们的子集,或者它们的扩展集:
操作指令:包括各种操作指令,用于实现各种操作。
操作系统:包括各种系统程序,用于实现各种基础业务以及处理基于硬件的任务。
在本发明实施例中,处理器430通过调用存储器440存储的操作指令(该操作指令可存储在操作系统中),执行如下操作:
通过输入设备410接收用户端发送的待更新数据请求,待更新数据请求中携带应用数据包的标识,根据应用数据包的标识,获取应用数据包中待更新数据串的标识,通过输出设备420向用户端返回待更新数据串的标识。
本发明实施例中,服务器40可以使用户端在运行应用数据包时,获取应用数据包中的待更新数据串,从而降低了用户的等待时间。
处理器430控制服务器40的操作,处理器430还可以称为CPU(Central Processing Unit,中央处理单元)。存储器440可以包括只读存储器和随机存取存储器,并向处理器430提供指令和数据。存储器440的一部分还可以包括非易失性随机存取存储器(NVRAM)。具体的应用中,服务器40的各个组件通过总线系统450耦合在一起,其中总线系统450除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线系统450。
上述本发明实施例揭示的方法可以应用于处理器430中,或者由处理器430实现。处理器430可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器430中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器430可以是通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器440,处理器430读取存储器440中的信息,结合其硬件完成上述方法的步骤。
可选地,处理器430还可获取待更新数据串的更新优先级。
输出设备420,用于向用户端返回应用数据包的待更新数据列表,待更新数据列表包括应用数据包中待更新数据串的标识及待更新数据串的更新优先级。
可选地,输入设备410接收用户端发送的待清理数据请求,待清理数据请求中携带应用数据包的标识;
处理器430根据应用数据包的标识,获取应用数据包中待清理的数据串的标识;
输出设备420向用户端发送待清理数据列表,待清理数据列表包括应用数据包中待清理的数据串的标识。
参阅图12,本发明实施例提供的数据更新系统的一实施例包括:用户端30、资源管理服务器40和资源服务器50,用户端30分别与资源管理服务器40和资源服务器50通信连接。
用户端30用于从资源管理服务器40获取应用数据包中待更新数据串的标识和更新优先级,待更新数据串根据预设阈值分为更新优先级高于所述预设阈 值的待更新数据串和低于或等于所述预设阈值的待更新数据串;在启动应用数据包之前,根据更新待更新数据串的标识从资源服务器获取更新优先级高于预设阈值的待更新数据串的更新数据,并对更新优先级高于预设阈值的待更新数据进行更新;在启动所述应用数据包之后,根据更新待更新数据串的标识从资源服务器50获取所述更新优先级低于或等于预设阈值的待更新数据串的更新数据,并对更新优先级低于或等于预设阈值的待更新数据进行更新;
资源管理服务器40用于相用户端30发送应用数据包中待更新数据串的标识和更新优先级;接收用户端的待更新数据请求,待更新数据请求中携带应用数据
资源服务器50用于向用户端30提供待更新数据串的更新数据。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:ROM、RAM、磁盘或光盘等。
以上对本发明实施例所提供的数据更新的方法、用户端、服务器以及系统进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Claims (11)

  1. 一种数据更新方法,其特征在于,包括:
    获取应用数据包中待更新数据串的标识和更新优先级,所述待更新数据串根据预设阈值分为更新优先级高于所述预设阈值的待更新数据串和低于或等于所述预设阈值的待更新数据串;
    在启动所述应用数据包之前,根据所述待更新数据串的标识获取所述更新优先级高于所述预设阈值的待更新数据串的更新数据,并对所述更新优先级高于所述预设阈值的待更新数据串进行更新;
    在启动所述应用数据包之后,根据所述待更新数据串的标识获取所述更新优先级低于或等于所述预设阈值的待更新数据串的更新数据,并对所述更新优先级低于或等于所述预设阈值的待更新数据串进行更新。
  2. 根据权利要求1所述的方法,其特征在于,所述获取应用数据包中待更新数据串的标识和更新优先级,包括:
    从资源管理服务器获取所述应用数据包的待更新数据列表,所述待更新数据列表包括所述应用数据包中待更新数据串的标识及所述待更新数据串的更新优先级。
  3. 根据权利要求2所述的方法,其特征在于,所述从资源管理服务器获取所述应用数据包的待更新数据列表,包括:
    向所述资源管理服务器发送更新数据请求,所述更新数据请求中携带所述应用数据包的标识;
    接收所述资源管理服务器发送的所述应用数据包的待更新数据列表。
  4. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    获取所述应用数据包中待清理数据串的标识;以及
    根据所述待清理数据串的标识,删除所述应用数据包中所述待清理数据串。
  5. 根据权利要求4所述的方法,其特征在于,所述获取所述应用数据包中待清理数据串的标识,包括:
    向资源管理服务器发送清理数据请求,所述清理数据请求中携带所述应用数据包的标识;以及
    接收所述资源管理服务器发送的待清理数据列表,所述待清理数据列表包括所述应用数据包中所述待清理的数据串的标识。
  6. 一种用户端,其特征在于,包括一个或多个处理器和存储有操作指令的存储介质,当运行所述存储介质中的操作指令时,所述处理器执行:
    获取应用数据包中待更新数据串的标识和更新优先级,所述待更新数据串根据预设阈值分为更新优先级高于所述预设阈值的待更新数据串和低于或等于所述预设阈值的待更新数据串;
    在启动所述应用数据包之前,根据所述更新待更新数据串的标识获取所述更新优先级高于所述预设阈值的待更新数据串的更新数据,并对所述更新优先级高于所述预设阈值的待更新数据进行更新;
    在启动所述应用数据包之后,根据所述更新待更新数据串的标识获取所述更新优先级低于或等于所述预设阈值的待更新数据串的更新数据,并对所述更新优先级低于或等于所述预设阈值的待更新数据进行更新。
  7. 根据权利要求6所述的用户端,其特征在于,所述处理器执行:
    从资源管理服务器获取所述应用数据包的待更新数据列表,所述待更新数据列表包括所述应用数据包中待更新数据串的标识及所述待更新数据串的更新优先级。
  8. 根据权利要求7所述的用户端,其特征在于,所述处理器执行:
    向所述资源管理服务器发送更新数据请求,所述更新数据请求中携带所述应用数据包的标识;
    接收所述资源管理服务器发送的所述应用数据包的待更新数据列表。
  9. 根据权利要求6所述的用户端,其特征在于,所述处理器还执行:
    获取所述应用数据包中待清理数据串的标识;以及
    根据所述待清理数据串的标识,删除所述应用数据包中所述待清理数据串。
  10. 根据权利要求9所述的用户端,其特征在于,所述处理器执行:
    向资源管理服务器发送清理数据请求,所述清理数据请求中携带所述应用数据包的标识;以及
    接收所述资源管理服务器发送的待清理数据列表,所述待清理数据列表包括所述应用数据包中所述待清理的数据串的标识。
  11. 一种数据更新系统,其特征在于,包括:用户端、资源管理服务器和资源服务器,所述用户端分别与所述资源管理服务器和资源服务器通信连接;
    所述用户端用于从所述资源管理服务器获取应用数据包中待更新数据串的标识和更新优先级,所述待更新数据串根据预设阈值分为更新优先级高于所述预设阈值的待更新数据串和低于或等于所述预设阈值的待更新数据串;在启动所述应用数据包之前,根据所述更新待更新数据串的标识从所述资源服务器获取所述更新优先级高于所述预设阈值的待更新数据串的更新数据,并对所述更新优先级高于所述预设阈值的待更新数据进行更新;在启动所述应用数据包之后,根据所述更新待更新数据串的标识从所述资源服务器获取所述更新优先级低于或等于所述预设阈值的待更新数据串的更新数据,并对所述更新优先级低于或等于所述预设阈值的待更新数据进行更新;
    所述资源管理服务器用于向所述用户端发送所述应用数据包中待更新数据串的标识和更新优先级;
    所述资源服务器用于向所述用户端提供所述待更新数据串的更新数据。
PCT/CN2015/072069 2013-12-02 2015-02-02 数据更新的方法、用户端及数据更新系统 WO2015081905A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/036,979 US9588757B2 (en) 2013-12-02 2015-02-02 Data update method, user terminal, and data update system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310633329.7 2013-12-02
CN201310633329.7A CN103631625B (zh) 2013-12-02 2013-12-02 一种数据获取的方法、用户端、服务器及系统

Publications (1)

Publication Number Publication Date
WO2015081905A1 true WO2015081905A1 (zh) 2015-06-11

Family

ID=50212722

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/072069 WO2015081905A1 (zh) 2013-12-02 2015-02-02 数据更新的方法、用户端及数据更新系统

Country Status (3)

Country Link
US (1) US9588757B2 (zh)
CN (1) CN103631625B (zh)
WO (1) WO2015081905A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631625B (zh) * 2013-12-02 2018-02-23 腾讯科技(成都)有限公司 一种数据获取的方法、用户端、服务器及系统
CN104965715A (zh) * 2014-04-14 2015-10-07 腾讯科技(深圳)有限公司 更新内置搜索引擎的方法和装置
CN105450729B (zh) * 2015-11-05 2019-01-11 小米科技有限责任公司 数据同步方法及装置
CN105404540B (zh) * 2016-01-04 2018-07-31 杭州亚美利嘉科技有限公司 一种机器人远程升级的方法、系统及远程服务器
CN109529334A (zh) * 2018-10-23 2019-03-29 深圳豪客互联网有限公司 信息提示策略获取方法、装置及计算机可读存储介质
CN114333251B (zh) * 2021-12-29 2023-06-20 成都中科慧源科技有限公司 一种智能报警器、方法、系统、设备和存储介质
CN115865809B (zh) * 2023-02-02 2023-06-02 爱集微咨询(厦门)有限公司 数据传输方法、装置、电子设备以及可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1710539A (zh) * 2004-06-16 2005-12-21 华为技术有限公司 软件更新方法
US20070288423A1 (en) * 2006-06-13 2007-12-13 Konica Minolta Business Technologies, Inc. Program update control apparatus
CN102067102A (zh) * 2008-06-06 2011-05-18 特迈尼公司 通过对等网络实现已安装的游戏软件的共享
CN103631625A (zh) * 2013-12-02 2014-03-12 腾讯科技(成都)有限公司 一种数据获取的方法、用户端、服务器及系统

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7574706B2 (en) * 2003-12-15 2009-08-11 Microsoft Corporation System and method for managing and communicating software updates
WO2009039418A1 (en) * 2007-09-21 2009-03-26 Sony Computer Entertainment Inc. Network delivery of entertainment software
US8990306B2 (en) * 2009-05-28 2015-03-24 International Business Machines Corporation Pre-fetching items in a virtual universe based on avatar communications
US20110185353A1 (en) * 2010-01-27 2011-07-28 Jack Matthew Mitigating Problems Arising From Incompatible Software
JP2012018657A (ja) * 2010-06-11 2012-01-26 Nintendo Co Ltd 情報処理端末、情報処理システム、情報処理プログラム
CN102053853A (zh) * 2010-12-30 2011-05-11 北京像素软件科技股份有限公司 一种网络游戏版本更新方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1710539A (zh) * 2004-06-16 2005-12-21 华为技术有限公司 软件更新方法
US20070288423A1 (en) * 2006-06-13 2007-12-13 Konica Minolta Business Technologies, Inc. Program update control apparatus
CN102067102A (zh) * 2008-06-06 2011-05-18 特迈尼公司 通过对等网络实现已安装的游戏软件的共享
CN103631625A (zh) * 2013-12-02 2014-03-12 腾讯科技(成都)有限公司 一种数据获取的方法、用户端、服务器及系统

Also Published As

Publication number Publication date
CN103631625B (zh) 2018-02-23
US20160274892A1 (en) 2016-09-22
US9588757B2 (en) 2017-03-07
CN103631625A (zh) 2014-03-12

Similar Documents

Publication Publication Date Title
WO2015081905A1 (zh) 数据更新的方法、用户端及数据更新系统
WO2017206916A1 (zh) 处理器中内核运行配置的确定方法以及相关产品
US20170371678A1 (en) Method and apparatus for running game client
US10320719B2 (en) Message withdrawal method, apparatus and storage medium
CN106775833B (zh) 设备驱动程序加载方法、终端及系统
US10474507B2 (en) Terminal application process management method and apparatus
WO2018077041A1 (zh) 应用运行的方法及装置
WO2018006841A1 (zh) 二维码信息传输方法、装置以及设备
WO2017206915A1 (zh) 处理器中内核运行配置的确定方法以及相关产品
WO2018049894A1 (zh) 数据传输方法及设备
WO2017096909A1 (zh) 建立数据连接的方法及装置
WO2014206138A1 (zh) 一种更新网页数据的方法、装置和终端设备
WO2018201808A1 (zh) 病毒程序清理方法、存储介质及电子终端
WO2014032559A1 (zh) 下载文件的方法和装置
WO2018161543A1 (zh) 指纹处理资源的控制方法及设备
EP2869604A1 (en) Method, apparatus and device for processing a mobile terminal resource
CN109144596B (zh) 快捷启动方法、装置、终端、服务器及系统
CN106095423B (zh) 提供浏览服务的方法、终端及服务器
CN111273955A (zh) 热修复插件优化方法、装置、存储介质及电子设备
CN106919458B (zh) Hook目标内核函数的方法及装置
CN107704287B (zh) 程序应用免安装方法、移动终端及计算机可读存储介质
WO2015135457A1 (en) Method, apparatus, and system for sending and playing multimedia information
CN107463395B (zh) 组件调用方法及装置
CN110209434B (zh) 一种内存管理方法、装置及计算机可读存储介质
WO2015067206A1 (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: 15725977

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 15036979

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 17.11.2016)

122 Ep: pct application non-entry in european phase

Ref document number: 15725977

Country of ref document: EP

Kind code of ref document: A1