CN107205057A - A kind of game resource update method, device and client - Google Patents

A kind of game resource update method, device and client Download PDF

Info

Publication number
CN107205057A
CN107205057A CN201710655462.0A CN201710655462A CN107205057A CN 107205057 A CN107205057 A CN 107205057A CN 201710655462 A CN201710655462 A CN 201710655462A CN 107205057 A CN107205057 A CN 107205057A
Authority
CN
China
Prior art keywords
resource
list
file
game
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710655462.0A
Other languages
Chinese (zh)
Inventor
陈健
刘辉云
李茂�
汪益斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Jiangnan Film And Television Communication Co Ltd
Original Assignee
Wuxi Jiangnan Film And Television Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuxi Jiangnan Film And Television Communication Co Ltd filed Critical Wuxi Jiangnan Film And Television Communication Co Ltd
Priority to CN201710655462.0A priority Critical patent/CN107205057A/en
Publication of CN107205057A publication Critical patent/CN107205057A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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

Abstract

The embodiment of the present invention provides a kind of game resource update method, device and client, is related to Computer Applied Technology field.When the game resource update method sends renewal request by user end to server, the game version number of itself is sent to server, server judges whether to need to update by game version number.When needing to update, the corresponding all resource names of games and resource version number are issued to client by server, and the corresponding resource version number of same asset title of client and server is different, then downloads the corresponding resource file of resource name from server.Only need to download the resource file for needing to update, without all resource files are all downloaded, saved network traffics and bandwidth;Due to the amount of the resource file that reduces download, when mobile network signals are weak, the chance being successfully updated is added.

Description

A kind of game resource update method, device and client
Technical field
The present invention relates to Computer Applied Technology field, in particular to a kind of game resource update method, device and Client.
Background technology
In development of games, a problem of general character is faced all the time, be exactly game resource (picture, configuration parameter etc.) more Newly.The mode of existing game renewal mainly has two kinds:One kind is that whole bag updates, i.e., more new capital uses the whole application of renewal every time The mode of program (application, APP).Another is the heat renewal of full dose resource, i.e., update every time, using re-downloading There is the mode of resource.Before the hot update method of full dose resource occurs, after game is reached the standard grade, want to update game resource, can only use Whole bag updates.And whole bag updates the maximum drawback brought, exactly game can be installed because of to unload again, cause the stream of player Lose.After hot update method occurs, it is not necessary to whole bag more new resources.But, equally face a problem, be exactly each resource more Newly, all it is full dose resource updates.So bring two problems:1st, resource full dose updates, and updates every time, will download whole moneys Source contents, the excessive network traffics of consumption player;2nd, due to being that full dose updates, it is contemplated that mobile network has signal strength and asked Topic, under the weak environment of network signal, it may appear that can not more news because of failed download.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of game resource update method, device, to improve more The problem of network traffics, easy failed download being expended when new.
The embodiment of the present invention provides a kind of game resource update method, applied to the client being connected with server communication, Methods described includes:Initiate to update request to the server;The first list of file names is received from the server;Will be pre-stored The second list of file names compared with first list of file names, first list of file names and second filename List includes at least one resource name and resource version number corresponding with the resource name;If first file is ranked There is the different same asset title of resource version number, then by the resource name compared with second list of file names in table Add and update list;The corresponding resource file of the renewal list is downloaded to server request;By the resource file of download Local file is covered, completes to update.
The embodiment of the present invention also provides a kind of game resource updating device, applied to the client being connected with server communication End, described device includes:Request module is updated, for initiating to update request to the server;Receiving module, for from described Server receives the first list of file names;Contrast module, for the second list of file names and first file that will be pre-stored List of file names is compared, first list of file names and second list of file names include at least one resource name and with The corresponding resource version number of the resource name;Summarizing module, if for first list of file names and second file List of file names is compared, and there is the different same asset title of resource version number, then adds the resource name and update list;Download Request module, for downloading the corresponding resource file of the renewal list to server request;Replacement module, for by under The resource file covering local file of load, completes to update.
The embodiment of the present invention also provides a kind of client, is connected with a server communication, and the client includes:Storage Device;Processor;And game resource updating device, the game resource updating device is installed in the memory and including one Or multiple software function modules by the computing device, the game resource updating device includes:Request module is updated, is used Asked in initiating to update to the server;Receiving module, for receiving the first list of file names from the server;Contrast mould Block, for the second pre-stored list of file names to be compared with first list of file names, first list of file names Include at least one resource name and resource version number corresponding with the resource name with second list of file names;Converge Total module, if there is resource version number different compared with second list of file names for first list of file names Same asset title, then add the resource name and update list;Download request module, under being asked to the server Carry the corresponding resource file of the renewal list;Replacement module, for the resource file of download to be covered into local file, is completed more Newly.
The embodiment of the present invention also provides a kind of game resource update method, applied to the server and client being in communication with each other End, methods described includes:The client is initiated to update request to the server;The server please according to the renewal Ask, the first list of file names is sent to the client;The client is by the second pre-stored list of file names and described the One list of file names is compared, and first list of file names and second list of file names include at least one resource name Claim and resource version number corresponding with the resource name;If first list of file names and the second list of file names phase Than there is the different same asset title of resource version number, the client, which then adds the resource name, updates list;Institute State client and download the corresponding resource file of the renewal list to server request;The server sends the client The resource file that end request is downloaded;The resource file of download is covered local file by the client, completes to update.
Compared with prior art, the embodiments of the invention provide a kind of game resource update method, device and client, institute When stating game resource update method by user end to server transmission renewal request, the game version number of itself is sent to clothes Business device, server judges whether to need to update by game version number.When needing to update, server is corresponding by games All resource names and resource version number are issued to client, the corresponding resource version of same asset title of client and server This number difference, then download the corresponding resource file of resource name from server.Only need to download the resource file for needing to update, nothing All resource files need to all be downloaded, save network traffics and bandwidth;Due to the amount of the resource file that reduces download, When mobile network signals are weak, the chance being successfully updated is added.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be attached to what is used required in embodiment Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore is not construed as pair The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
The schematic diagram that Fig. 1 interacts for the server that present pre-ferred embodiments are provided with client.
The flow chart for the game resource update method that Fig. 2 provides for first embodiment of the invention.
The flow chart for the game resource update method that Fig. 3 provides for second embodiment of the invention.
The block diagram for the client that Fig. 4 provides for third embodiment of the invention.
The high-level schematic functional block diagram for the game resource updating device that Fig. 5 provides for third embodiment of the invention.
Icon:100- clients;101- memories;102- storage controls;103- processors;200 servers;400- is swum Play resource updates device;401- updates request module;402- receiving modules;403- contrast modules;404- summarizing modules;Under 405- Carry request module;406- replacement modules.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Generally exist The component of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged and designed with a variety of configurations herein.Cause This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined in individual accompanying drawing, then it further need not be defined and explained in subsequent accompanying drawing.Meanwhile, the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
As shown in figure 1, being the server 200 that present pre-ferred embodiments are provided and the signal that client 100 is interacted Figure.The client 100 can send request and download games resource to server 200.Server 200 can be, but not limit In the webserver, database server, cloud server, http-server etc..In the embodiment of the present invention, the service It can be connected in device 200 with multiple client 100 (such as mobile phone, tablet personal computer), the operating system that the client 100 is carried can To be, but it is not limited to, Android (Android) system, IOS (iPhone operating system) system, Windows Phone systems, Windows systems etc..Application program (application, APP) generally comprises logical gate and resource file portion Point.The server 200 of the present invention can send APP resource file to client 100 according to the request of client 100, described Application program can be games.
First embodiment
Fig. 2 is refer to, is the flow chart for the game resource update method that first embodiment of the invention is provided.Need explanation It is that game resource update method of the present invention is not using Fig. 2 and particular order as described below as limitation.It should manage Solution, in other embodiments, the order of game resource update method which part step of the present invention can be according to reality Need to be exchanged with each other, or part steps therein can also be omitted or deleted.The game resource update method is applied to phase The client 100 and server 200 of mutual communication connection.The idiographic flow shown in Fig. 2 will be described in detail below.Refer to Fig. 2, the game resource update method includes:
Step S10, client 100 is initiated to update request to the server 200.
After user starts game by client 100, client 100, which will be sent, updates request to the server 200, update and game version No. the first is contained in request, game version No. the first is the current version for the game that user starts Number.
Step S11, server 200 updates request according to described, judges whether to need to update.
, can be by the game version No. first and pre-stored the when server 200 receives first game version Game versions No. two are compared.If the game version No. first is identical with the game version No. second, the client 100 directly initiate game, and the game is not updated;If the game version No. first and the second game version difference, Perform step S12.Wherein, game version No. the second is the newest game version number of the memory storage of server 200.First game version Unix timestamps when this number and game version No. the second are all created with the corresponding game resource of each game version, clothes Business device 200 judges whether it is that the mode of newest game version number can be the Digital size of direct contrast game version number. Unix timestamps are the number of seconds passed through since on January 1st, 1970 (UTC/GMT zero point), do not consider leap second.
Step S12, server 200 sends the first list of file names to the client 100.
First listed files includes the corresponding resource of all resource files of game version newest in server 200 Title, and each resource name Jun Youyige resources version number.In the present embodiment, the resource version number is corresponding resource text Unix timestamps when part is created or when being changed.
Step S13, client 100 compares the second pre-stored list of file names with first list of file names.
Second list of file names includes the corresponding resource name of all resource files and money of the memory storage of client 100 Source version number, so it is easy to understand that client 100 be by the resource version number under same asset title in the first listed files and Resource version number in second listed files compares.First list of file names and second list of file names include At least one resource name.
Step S14, client 100 judges whether the corresponding resource version number of same asset title is identical.
If the first list of file names resource version number phase corresponding with same asset title in second list of file names Together, then game is directly initiated, the game is not updated;If the first list of file names and same asset in second list of file names The corresponding resource version number of title is different, then performs step S15.For example, server 200 and client 100 include a money Parent name is referred to as " login.png " corresponding timestamp in the picture resource of " login.png ", the first list of file names 1499659200, " login.png " corresponding timestamp is 1498881600 in the second list of file names, then is judged as identical money The corresponding resource version number of source name is different.
Step S15, client 100, which adds the different resource name of resource version number, updates list.
Client 100 will detect that identical resource name is corresponding in the first list of file names and the second list of file names All mark is the file updated to the different resource file of resource version number.Client 100 will need the resource updated literary The resource name of part uniformly collects to update list.Need it is to be noted that there is no identical resource name in the first listed files, There is no identical resource name in second listed files yet.
Step S16, client 100 downloads the corresponding resource file of the renewal list to the server 200 request.Visitor The corresponding resource file of these resource names is asked according to updating the resource name of list to the server 200 in family end 100.
Step S17, server 200 sends the resource file that the request of client 100 is downloaded.Server 200 is received After the renewal list that client 100 is sent, corresponding resource file is issued to client 100 according to list is updated.
The resource file of download is covered local file by step S18, client 100, completes to update.Under server 200 Carry after the resource file for needing to update, these resource files are covered to the resource file of legacy version in client 100, covered Cheng Hou, that is, realize game renewal.
Second embodiment
Fig. 3 is refer to, is the flow chart for the game resource update method that second embodiment of the invention is provided.Need explanation It is that game resource update method of the present invention is not using Fig. 3 and particular order as described below as limitation.It should manage Solution, in other embodiments, the order of game resource update method which part step of the present invention can be according to reality Need to be exchanged with each other, or part steps therein can also be omitted or deleted.The game resource update method is applied to visitor Family end 100.The game resource update method includes:
Step S21, initiates to update request to the server 200.
When user is started by client 100 and played, client 100, which will be sent, updates request to the server 200, game version number can be included by updating in request.
Step S22, the first list of file names is received from the server 200.
Server 200 can judge whether the game needs renewal according to game version number, if necessary to update, then to visitor Family end 100 sends the first list of file names.First listed files includes all of game version newest in server 200 The corresponding resource name of resource file, and each resource name Jun Youyige resources version number.In the present embodiment, the resource version This number is Unix timestamp of corresponding resource file when being created or when being changed.By regarding Unix timestamps as resource version This number, both it was easy to later release to verify, and can quickly judges whether resource needed renewal;And timestamp is easy to backtracking, carrying out When version is recalled, timestamp is converted into the corresponding time, specific time point can be quickly known.
Step S23, the second pre-stored list of file names is compared with first list of file names.
Second list of file names includes the corresponding resource name of all resource files and money of the memory storage of client 100 Source version number, so it is easy to understand that client 100 be by the resource version number under same asset title in the first listed files and Resource version number in second listed files compares.First list of file names and second list of file names include At least one resource name.
Whether step S24, the corresponding resource version number of same asset title is identical.
If the first list of file names resource version number phase corresponding with same asset title in second list of file names Together, then game is directly initiated, the game is not updated;If the first list of file names and same asset in second list of file names The corresponding resource version number of title is different, then performs step S15.For example, server 200 and client 100 include a money Parent name is referred to as " login.png " corresponding timestamp in the picture resource of " login.png ", the first list of file names 1499659200, " login.png " corresponding timestamp is 1498881600 in the second list of file names, then is judged as identical money The corresponding resource version number of source name is different.
Step S25, the different resource name of resource version number is added and updates list.
Client 100 will detect that identical resource name is corresponding in the first list of file names and the second list of file names All mark is the file updated to the different resource file of resource version number.Client 100 will need the resource updated literary The resource name of part uniformly collects to update list.In the present embodiment, if first list of file names includes newly-increased resource Title, then add the renewal list by the newly-increased resource name, wherein, the newly-increased resource name is in second file There is no identical resource name in list of file names.
Step S26, the corresponding resource file of the renewal list is downloaded to the server 200 request.Client 100 according to According to the resource name of renewal list the corresponding resource file of these resource names is asked to the server 200.
Step S27, local file is covered by the resource file of download, completes to update.Needs have been downloaded from server 200 more After new resource file, these resource files are covered to the resource file of legacy version in client 100, it is after the completion of covering, i.e., real Game renewal is showed.
3rd embodiment
Fig. 4 is refer to, is the block diagram for the client 100 that present pre-ferred embodiments are provided.The client 100 Including game resource updating device 400, memory 101, storage control 102 and processor 103.The memory 101, deposit Controller 102 and processor 103 are stored up, each element is directly or indirectly electrically connected with each other, to realize the transmission of data Or interaction.It is electrically connected with for example, these elements can be realized by one or more communication bus or signal wire each other.It is described Game resource updating device 400, which includes at least one, to be stored in the memory in the form of software or firmware (firmware) In 101 or the software function module that is solidificated in the operating system of the client 100 (operating system, OS).Institute Stating processor 103 is used to perform the executable module stored in memory 101, for example, the game resource updating device 400 is wrapped The software function module or computer program included.
The resource file for the games being stored with the memory 101 in client 100, and resource file are corresponding Resource name, resource version number etc..Wherein, memory 101 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only storage Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..Wherein, memory 101 is used for storage program, and the processor 103 is held receiving After row instruction, described program is performed, performed by the server 200 that defines of stream process that any embodiment of the embodiment of the present invention is disclosed Method can apply in processor 103, or realized by processor 103.
Processor 103 is probably a kind of IC chip, the disposal ability with signal.Above-mentioned processor 103 can To be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;Can also be digital signal processor (DSP), application specific integrated circuit (ASIC), It is field programmable gate array (FPGA) or other PLDs, discrete gate or transistor logic, discrete hard Part component.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor Can be microprocessor or the processor 103 can also be any conventional processor etc..
Fig. 5 is refer to, is the functional module signal for the game resource updating device 400 that third embodiment of the invention is provided Figure.The game resource updating device 400 includes updating request module 401, receiving module 402, contrast module 403, collects mould Block 404, download request module 405 and replacement module 406.
Request module 401 is updated, for initiating to update request to the server 200.Opened in user by client 100 During dynamic game, client 100, which will be sent, updates request to the server 200, and server 200 can check whether this needs Update.
In the embodiment of the present invention, the renewal request module 401 can perform step S21.
Receiving module 402, for receiving the first list of file names from the server 200.The first listed files bag The corresponding resource name of all resource files of game version newest in server 200 is included, and each resource name has one Individual resource version number.In the present embodiment, when the resource version number is when corresponding resource file is created or changed Unix timestamps.
In the embodiment of the present invention, the receiving module 402 can perform step S22.
Contrast module 403, for the second pre-stored list of file names to be compared with first list of file names, institute State the first list of file names and second list of file names include at least one resource name and with the resource name pair The resource version number answered.Contrast module 403 is literary by the resource version number under same asset title in the first listed files and second Resource version number in part list compares.
In the embodiment of the present invention, the contrast module 403 can perform step S23.
Summarizing module 404, if there is resource compared with second list of file names for first list of file names The different same asset title of version number, then add the resource name and update list.
Client 100 will detect that identical resource name is corresponding in the first list of file names and the second list of file names All mark is the file updated to the different resource file of resource version number.Client 100 will need the resource updated literary The resource name of part uniformly collects to update list.In the present embodiment, if the summarizing module 404 is additionally operable to first file List of file names includes newly-increased resource name, then the newly-increased resource name is added into the renewal list, wherein, it is described newly to spend more money on Source name does not have identical resource name in second list of file names.
In the embodiment of the present invention, the summarizing module 404 can perform step S25.
Download request module 405, for downloading the corresponding resource text of the renewal list to the server 200 request Part.Resource name according to renewal list asks the corresponding resource file of these resource names to the server 200.
In the embodiment of the present invention, the download request module 405 can perform step S26.
Replacement module 406, for the resource file of download to be covered into local file, completes to update.Downloaded from server 200 Need after the resource file that updates, these resource files are covered to the resource file of legacy version in client 100, covering is completed Afterwards, the loading game logic of client 100 and resource file, you can realize game renewal.User just can enter scene of game, player The newest game of experience.
In the embodiment of the present invention, the replacement module 406 can perform step S27.
In summary, the embodiments of the invention provide a kind of game resource update method, device and client, the game When resource regeneration method sends renewal request by user end to server, the game version number of itself is sent to server, Server judges whether to need to update by game version number.When needing to update, server is corresponding all by games Resource name and resource version number are issued to client, the corresponding resource version number of same asset title of client and server Difference, then download the corresponding resource file of resource name from server.Only need to download the resource file for needing to update, without inciting somebody to action All resource files are all downloaded, and have saved network traffics and bandwidth;Due to the amount of the resource file that reduces download, moving When dynamic network signal is weak, the chance being successfully updated is added.By using timestamp as resource version number, both it had been easy to follow-up Version is verified, and can quickly judge whether resource needs renewal;, will when carrying out version backtracking also, timestamp is easy to backtracking Timestamp is converted to the corresponding time, can quickly know specific time point.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can also pass through Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing Show according to the device of multiple embodiments of the present invention, the architectural framework in the cards of method and computer program product, Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a module, program segment or code Part a, part for the module, program segment or code is used to realize holding for defined logic function comprising one or more Row instruction.It should also be noted that in some implementations as replacement, the function of being marked in square frame can also with different from The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially be performed substantially in parallel, they are sometimes It can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart The combination of individual square frame and block diagram and/or the square frame in flow chart, can use the special base for performing defined function or action Realize, or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized using in the form of software function module and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need Illustrate, herein, such as first and second or the like relational terms be used merely to by an entity or operation with Another entity or operation make a distinction, and not necessarily require or imply between these entities or operation there is any this reality The relation or order on border.Moreover, term " comprising ", "comprising" or its any other variant are intended to the bag of nonexcludability Contain, so that process, method, article or equipment including a series of key elements are not only including those key elements, but also including Other key elements being not expressly set out, or also include for this process, method, article or the intrinsic key element of equipment. In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including the key element Process, method, article or equipment in also there is other identical element.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.It should be noted that:Similar label and letter exists Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, is then not required in subsequent accompanying drawing It is further defined and explained.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (10)

1. a kind of game resource update method, applied to the client being connected with server communication, it is characterised in that methods described Including:
Initiate to update request to the server;
The first list of file names is received from the server;
The second pre-stored list of file names is compared with first list of file names, first list of file names and institute Stating the second list of file names includes at least one resource name and resource version number corresponding with the resource name;
If first list of file names is compared with second list of file names, there is the different same asset of resource version number Title, then add the resource name and update list;
The corresponding resource file of the renewal list is downloaded to server request;
The resource file of download is covered into local file, completes to update.
2. game resource update method according to claim 1, it is characterised in that each resource file includes money Source name and resource version number, the resource version number are the Unix timestamps when resource file is created.
3. game resource update method according to claim 1, it is characterised in that if being wrapped in first list of file names Newly-increased resource name is included, the newly-increased resource name is not present in second list of file names, then by the newly-increased resource Title adds the renewal list.
4. a kind of game resource updating device, applied to the client being connected with server communication, it is characterised in that described device Including:
Request module is updated, for initiating to update request to the server;
Receiving module, for receiving the first list of file names from the server;
Contrast module, for the second pre-stored list of file names to be compared with first list of file names, described first List of file names and second list of file names include at least one resource name and money corresponding with the resource name Source version number;
Summarizing module, if there is resource version number compared with second list of file names for first list of file names Different same asset titles, then add the resource name and update list;
Download request module, for downloading the corresponding resource file of the renewal list to server request;
Replacement module, for the resource file of download to be covered into local file, completes to update.
5. game resource updating device according to claim 4, it is characterised in that each resource file includes money Source name and resource version number, the resource version number are the Unix timestamps when resource file is created.
6. game resource updating device according to claim 4, it is characterised in that if the summarizing module be additionally operable to it is described First list of file names includes newly-increased resource name, and the newly-increased resource name is not deposited in second list of file names The newly-increased resource name is then being added into the renewal list.
7. a kind of client, is connected with a server communication, it is characterised in that the client includes:
Memory;
Processor;And
Game resource updating device, the game resource updating device be installed in the memory and including it is one or more by The software function module of the computing device, the game resource updating device includes:
Request module is updated, for initiating to update request to the server;
Receiving module, for receiving the first list of file names from the server;
Contrast module, for the second pre-stored list of file names to be compared with first list of file names, described first List of file names and second list of file names include at least one resource name and money corresponding with the resource name Source version number;
Summarizing module, if there is resource version number compared with second list of file names for first list of file names Different same asset titles, then add the resource name and update list;
Download request module, for downloading the corresponding resource file of the renewal list to server request;
Replacement module, for the resource file of download to be covered into local file, completes to update.
8. a kind of game resource update method, applied to the server and client side being in communication with each other, it is characterised in that methods described Including:
The client is initiated to update request to the server;
The server updates request according to described, and the first list of file names is sent to the client;
The client compares the second pre-stored list of file names with first list of file names, first file List of file names and second list of file names include at least one resource name and resource corresponding with resource name version This number;
If first list of file names is compared with second list of file names, there is the different same asset of resource version number Title, the client, which then adds the resource name, updates list;
The client downloads the corresponding resource file of the renewal list to server request;
The server sends the resource file that the client request is downloaded;
The resource file of download is covered local file by the client, completes to update.
9. game resource update method according to claim 8, it is characterised in that the renewal request includes the first game Version number, the server is additionally operable to compare the game version No. first with the second pre-stored game version number;
If the game version No. first is identical with the game version No. second, the client directly initiates game, if The game version No. first and the second game version difference, then the server is literary to client transmission first Part list of file names.
10. game resource update method according to claim 9, it is characterised in that methods described also includes:It is each described Resource file includes resource name and resource version number, and the resource version number is the Unix when resource file is created Timestamp;The game version No. first and the game version No. second are respectively first game resource and described second Unix timestamps when game resource is created.
CN201710655462.0A 2017-08-02 2017-08-02 A kind of game resource update method, device and client Pending CN107205057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710655462.0A CN107205057A (en) 2017-08-02 2017-08-02 A kind of game resource update method, device and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710655462.0A CN107205057A (en) 2017-08-02 2017-08-02 A kind of game resource update method, device and client

Publications (1)

Publication Number Publication Date
CN107205057A true CN107205057A (en) 2017-09-26

Family

ID=59911584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710655462.0A Pending CN107205057A (en) 2017-08-02 2017-08-02 A kind of game resource update method, device and client

Country Status (1)

Country Link
CN (1) CN107205057A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109324814A (en) * 2018-08-27 2019-02-12 中至数据集团股份有限公司 Game renewal method, apparatus, mobile terminal and storage medium
CN109445827A (en) * 2018-11-16 2019-03-08 网易(杭州)网络有限公司 A kind of method and device of game renewal, electronic equipment, storage medium
CN109491644A (en) * 2018-10-30 2019-03-19 甘文君 A kind of game system of object-oriented mode
CN109513213A (en) * 2018-11-13 2019-03-26 广州互爱信息科技有限公司 A kind of hand trip subpackage download technology method
CN109656599A (en) * 2018-12-28 2019-04-19 苏州思必驰信息科技有限公司 The method and system updated for client release
CN109857432A (en) * 2019-01-14 2019-06-07 珠海金山网络游戏科技有限公司 A kind of hot update method and device of game application
CN109918112A (en) * 2019-03-15 2019-06-21 网易(杭州)网络有限公司 The hot update method of game, device and storage medium
CN109995863A (en) * 2019-03-29 2019-07-09 北京金山安全软件有限公司 Dynamic resource downloading method and device, electronic equipment and storage medium
CN111013157A (en) * 2019-12-28 2020-04-17 上海米哈游网络科技股份有限公司 Game loading method, device, equipment and storage medium
CN111367558A (en) * 2020-02-25 2020-07-03 网易(杭州)网络有限公司 Data updating method and device for application program
CN111443936A (en) * 2020-04-15 2020-07-24 赞同科技股份有限公司 Method and system for updating client software
CN111782263A (en) * 2020-07-22 2020-10-16 网易(杭州)网络有限公司 Game packaging processing method and device
CN112256316A (en) * 2020-11-13 2021-01-22 北京玩蟹科技有限公司 Client application updating method and client
CN112422603A (en) * 2020-06-09 2021-02-26 上海哔哩哔哩科技有限公司 Resource downloading method, system and device
CN112596772A (en) * 2020-12-15 2021-04-02 上海米哈游网络科技股份有限公司 Server updating method and device, electronic equipment and storage medium
CN113094076A (en) * 2021-03-16 2021-07-09 杭州电魂网络科技股份有限公司 Version iteration method, device, equipment and medium based on version control
CN113691820A (en) * 2021-07-28 2021-11-23 广州心娱网络科技有限公司 Live broadcast room gift updating method and device, terminal equipment and readable storage medium
WO2021249266A1 (en) * 2020-06-12 2021-12-16 成都极米科技股份有限公司 System updating method and apparatus, electronic device, and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102053853A (en) * 2010-12-30 2011-05-11 北京像素软件科技股份有限公司 Version updating method of online game
CN104539696A (en) * 2014-12-26 2015-04-22 北京像素软件科技股份有限公司 Client end incremental updating method and system
CN104866341A (en) * 2015-05-07 2015-08-26 北京金山安全软件有限公司 Component upgrading method and device and terminal
CN106325925A (en) * 2016-08-18 2017-01-11 乐视控股(北京)有限公司 Browser service information updating method and device
CN106708537A (en) * 2017-01-22 2017-05-24 百度在线网络技术(北京)有限公司 Application updating method and application updating device
CN106919382A (en) * 2017-01-22 2017-07-04 百度在线网络技术(北京)有限公司 For generating the method and apparatus that application updates bag

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102053853A (en) * 2010-12-30 2011-05-11 北京像素软件科技股份有限公司 Version updating method of online game
CN104539696A (en) * 2014-12-26 2015-04-22 北京像素软件科技股份有限公司 Client end incremental updating method and system
CN104866341A (en) * 2015-05-07 2015-08-26 北京金山安全软件有限公司 Component upgrading method and device and terminal
CN106325925A (en) * 2016-08-18 2017-01-11 乐视控股(北京)有限公司 Browser service information updating method and device
CN106708537A (en) * 2017-01-22 2017-05-24 百度在线网络技术(北京)有限公司 Application updating method and application updating device
CN106919382A (en) * 2017-01-22 2017-07-04 百度在线网络技术(北京)有限公司 For generating the method and apparatus that application updates bag

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109324814B (en) * 2018-08-27 2022-02-01 中至数据集团股份有限公司 Game updating method and device, mobile terminal and storage medium
CN109324814A (en) * 2018-08-27 2019-02-12 中至数据集团股份有限公司 Game renewal method, apparatus, mobile terminal and storage medium
CN109491644A (en) * 2018-10-30 2019-03-19 甘文君 A kind of game system of object-oriented mode
CN109491644B (en) * 2018-10-30 2022-08-02 甘文君 Object-oriented mode game system
CN109513213A (en) * 2018-11-13 2019-03-26 广州互爱信息科技有限公司 A kind of hand trip subpackage download technology method
CN109445827A (en) * 2018-11-16 2019-03-08 网易(杭州)网络有限公司 A kind of method and device of game renewal, electronic equipment, storage medium
CN109656599A (en) * 2018-12-28 2019-04-19 苏州思必驰信息科技有限公司 The method and system updated for client release
CN109857432A (en) * 2019-01-14 2019-06-07 珠海金山网络游戏科技有限公司 A kind of hot update method and device of game application
CN109857432B (en) * 2019-01-14 2022-05-20 珠海金山网络游戏科技有限公司 Hot updating method and device for game application
CN109918112A (en) * 2019-03-15 2019-06-21 网易(杭州)网络有限公司 The hot update method of game, device and storage medium
CN109918112B (en) * 2019-03-15 2022-10-04 网易(杭州)网络有限公司 Game hot update method, device and storage medium
CN109995863A (en) * 2019-03-29 2019-07-09 北京金山安全软件有限公司 Dynamic resource downloading method and device, electronic equipment and storage medium
CN109995863B (en) * 2019-03-29 2022-04-22 北京金山安全软件有限公司 Dynamic resource downloading method and device, electronic equipment and storage medium
CN111013157A (en) * 2019-12-28 2020-04-17 上海米哈游网络科技股份有限公司 Game loading method, device, equipment and storage medium
CN111367558A (en) * 2020-02-25 2020-07-03 网易(杭州)网络有限公司 Data updating method and device for application program
CN111367558B (en) * 2020-02-25 2023-11-17 网易(杭州)网络有限公司 Data updating method and device for application program
CN111443936A (en) * 2020-04-15 2020-07-24 赞同科技股份有限公司 Method and system for updating client software
CN112422603A (en) * 2020-06-09 2021-02-26 上海哔哩哔哩科技有限公司 Resource downloading method, system and device
WO2021249266A1 (en) * 2020-06-12 2021-12-16 成都极米科技股份有限公司 System updating method and apparatus, electronic device, and computer readable storage medium
CN111782263A (en) * 2020-07-22 2020-10-16 网易(杭州)网络有限公司 Game packaging processing method and device
CN111782263B (en) * 2020-07-22 2024-01-23 网易(杭州)网络有限公司 Game packaging processing method and device
CN112256316A (en) * 2020-11-13 2021-01-22 北京玩蟹科技有限公司 Client application updating method and client
CN112596772A (en) * 2020-12-15 2021-04-02 上海米哈游网络科技股份有限公司 Server updating method and device, electronic equipment and storage medium
CN113094076A (en) * 2021-03-16 2021-07-09 杭州电魂网络科技股份有限公司 Version iteration method, device, equipment and medium based on version control
CN113691820A (en) * 2021-07-28 2021-11-23 广州心娱网络科技有限公司 Live broadcast room gift updating method and device, terminal equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN107205057A (en) A kind of game resource update method, device and client
CN111475170B (en) Multi-screen application enablement and distribution service
CN107026832B (en) Account login method, device and server
CN107483418A (en) Login process method, method for processing business, device and server
CN103984552A (en) iTV Android application store system and achieving method thereof
CN106250143A (en) The OTA upgrade method of a kind of wearable device and device
CN109710270A (en) A kind of security application delivery method, device and storage medium
CN101751593B (en) Smart card and backup, recovering method and system thereof
CN109725952B (en) Method, system and related device for application program plug-in
IL260174A (en) Providing application programs to devices
CN106557962A (en) Method of payment, apparatus and system
CN113505354B (en) Data processing method, device and storage medium
CN102970342A (en) Automatic update method of embedded terminal based on over the air (OTA) technology
CN107644075B (en) Method and device for collecting page information
CN111124617B (en) Method and device for creating block chain system, storage medium and electronic device
CN106504026A (en) A kind of data capture method and device
CN108984339B (en) Data recovery method and related product
CN106656455A (en) Website access method and device
CN113127023B (en) Service upgrading method, device and system
CN108737487B (en) Data synchronization method and device, storage medium and electronic device
CN111935260B (en) Account synchronization method and device, electronic equipment and storage medium
CN103442085A (en) Method, terminal, server and system used for maintaining user information
CN112131177A (en) Data migration method and device, storage medium and electronic equipment
CN106686141A (en) Resource download method and resource download device
CN111813854A (en) Synchronization of metering networks

Legal Events

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

Application publication date: 20170926