Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data updating method and apparatus

A data update and data packet technology, applied in the computer field, can solve the problems of long time consumption and high resource consumption of data update, and achieve the effects of improving efficiency, shortening update time, and reducing resource consumption

Active Publication Date: 2016-02-03
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the resource data carried by the application program is large, if the above update method is continued to be used, the resource consumption occupied by the data update will be relatively large, and the time spent will be relatively long

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data updating method and apparatus
  • Data updating method and apparatus
  • Data updating method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0036] see image 3 , image 3 It is a flow chart of the data update method provided by the first embodiment of the present invention. This embodiment can be applied to figure 1 shown in the application environment, by figure 1 The illustrated user terminal 100 implements data update based on differential data packets. Such as image 3 As shown, the data update method provided in this embodiment includes the following steps:

[0037] Step S11, the user terminal obtains the version number of the first differential data packet updated last time, and obtains the version number of the second differential data packet of the highest version from the server;

[0038] In this embodiment, the first differential data packet and the second differential data packet can be used to update resource data in the target program in the user terminal 100 .

[0039] Specifically, the target program may be various types of application programs that are pre-installed in the user terminal 100 a...

no. 2 example

[0056] see Figure 5 , Figure 5 It is a flow chart of the data update method provided by the second embodiment of the present invention. This embodiment can be applied to figure 1 shown in the application environment, by figure 1 The illustrated user terminal 100 implements data update based on differential data packets. Such as Figure 5 As shown, the data update method provided in this embodiment includes the following steps:

[0057] Step S201, when it is detected that the target program is started, the user terminal acquires the version number of the first installation package of the highest version of the target program from the server;

[0058] The target program is preferably a game client program, which may contain a large amount of resource data. Resource data is any non-executable data logically deployed by the target program. Resource data can be in various forms, such as: character strings, pictures, audio, video, and persistent objects, etc. In this embod...

no. 3 example

[0107] Figure 5 It is a schematic structural diagram of a data update device provided in the third embodiment of the present invention. The data update device provided in this embodiment can run on figure 1 The shown user terminal 100 is used to implement the data update method in the foregoing embodiments. Such as Figure 5 As shown, the data update device 30 includes: an acquisition module 31 , a judgment module 32 , a calculation module 33 , a sending module 34 and a data update module 35 .

[0108] Obtaining module 31, for acquiring the version number of the first differential data package updated last time, and obtaining the version number of the second differential data package of the highest version from the server, the first differential data package and the second differential data package are used to update the resource data in the target program;

[0109] A judging module 32, configured to judge whether the version number of the first differential data packet o...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a data updating method. The method comprises: a user terminal acquiring a version number of a first differential data package of a latest update, and acquiring a version number of a second differential data package of a highest version from a server; determining whether the version number of the first differential data package and the version number of the second differential data package are the same; if not, calculating a difference between the version number of the first differential data package and the version number of the second differential data package; when the difference is less than a preset value, sending the version number of the first differential data package to the server, so that the server determines a first target differential data package according to the difference; and receiving the first target differential data package returned by the server, and updating resource data in a target program according to the first target differential data package. The present invention also provides a data updating apparatus. The data updating method and apparatus can reduce resource consumption during data updating, shorten the updating time, and improve data updating efficiency.

Description

technical field [0001] The invention relates to computer technology, in particular to a data updating method and device. Background technique [0002] With the development of computer and Internet technologies, more and more resource data are carried in application programs, especially game programs, which usually carry a large amount of resource data such as pictures and audio. In the existing data update technology, the data update of the application is usually carried out in the way of overall update, that is, the new version of the installation package containing all the data files required for the complete installation of the application is obtained first, and then by traversing the old Each content character string of each file of the application program of the version, overwrite and install the data file of the application program of the new version into the application program of the old version. However, when the resource data carried by the application program is ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445
Inventor 张新立
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products