CN106155750B - A kind of loading method and device of resource file - Google Patents

A kind of loading method and device of resource file Download PDF

Info

Publication number
CN106155750B
CN106155750B CN201610618862.XA CN201610618862A CN106155750B CN 106155750 B CN106155750 B CN 106155750B CN 201610618862 A CN201610618862 A CN 201610618862A CN 106155750 B CN106155750 B CN 106155750B
Authority
CN
China
Prior art keywords
file
resource
resource file
catalogue
updated
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.)
Active
Application number
CN201610618862.XA
Other languages
Chinese (zh)
Other versions
CN106155750A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610618862.XA priority Critical patent/CN106155750B/en
Publication of CN106155750A publication Critical patent/CN106155750A/en
Application granted granted Critical
Publication of CN106155750B publication Critical patent/CN106155750B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of loading method of resource file and devices, are loaded for realizing the heat to resource file, the loading procedure of resource file can be completed without exiting the program being currently running.The present invention provides a kind of loading method of resource file, including:The Resource TOC monitored will be needed to be registered in catalogue monitoring list, the Resource TOC includes:At least one resource file;Resource TOC in list, which carries out file status change monitoring, to be monitored to the catalogue;When detecting the first resource file generating state change in the catalogue monitoring list, the file for obtaining the first resource file according to the corresponding monitored results of catalogue monitoring list updates storage the file name in path and the first resource file;Path and the file name are updated storage according to the file updated first resource file is loaded into memory, and replace the first resource file before being updated in resource file mapping table using the updated first resource file.

Description

A kind of loading method and device of resource file
Technical field
The present invention relates to field of computer technology more particularly to the loading methods and device of a kind of resource file.
Background technology
During development of games, existing game resource processing work stream is when art designing or project staff change a text After part, allows running game to exit, re-create a resource file (generally take up hundreds of million memory space), then weigh The new entire game of operation, the mode of this workflow greatly waste the time, affect the development rate of game.Such as in mesh In preceding cold load implementation, all resource files are loaded when playing and starting, then in entirely game life cycle It uses, after resource file is changed, game needs to exit, and is packaged resource file again, then restarts game server and load All resource files.In the resource file loading scheme of this cold start-up, after the configuration change of resource file, need It checks the load effect after modification resource file, would have to exit games, such workflow limits the anti-of game Polyphony is whole, can not test more experimental datas, has seriously affected development rate and final quality of play.
Invention content
An embodiment of the present invention provides a kind of loading method of resource file and devices, for realizing the heat to resource file Load, the loading procedure of resource file can be completed without exiting the program being currently running.
In order to solve the above technical problems, the embodiment of the present invention provides following technical scheme:
In a first aspect, the embodiment of the present invention provides a kind of loading method of resource file, including:
The Resource TOC monitored will be needed to be registered in catalogue monitoring list, the Resource TOC includes:At least one money Source file;
Resource TOC in list, which carries out file status change monitoring, to be monitored to the catalogue;
When detecting the first resource file generating state change in the catalogue monitoring list, supervised according to the catalogue The file that the first resource file is obtained depending on the corresponding monitored results of list updates storage path and the first resource file File name;
It is updated storage in updated first resource file is loaded by path and the file name according to the file In depositing, and the first resource text before being updated in resource file mapping table is replaced using the updated first resource file Part.
Second aspect, the embodiment of the present invention also provide a kind of loading device of resource file, including:
Catalogue registration module, for the Resource TOC for needing to monitor to be registered in catalogue monitoring list, the resource mesh Record includes:At least one resource file;
Monitoring module, the Resource TOC for being monitored to the catalogue in list carry out file status change monitoring;
Acquisition module, for when detecting the first resource file generating state change in catalogue monitoring list, Monitor that the file that the corresponding monitored results of list obtain the first resource file updates storage path and institute according to the catalogue State the file name of first resource file;
Resource updates module, for updating storage path and the file name by updated first according to the file Resource file is loaded into memory, and is replaced in resource file mapping table and updated using the updated first resource file Preceding first resource file.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
In embodiments of the present invention, the Resource TOC monitored will be needed to be registered in catalogue monitoring list first, resource mesh Record includes:Then at least one resource file monitors that the Resource TOC in list carries out file status change monitoring to catalogue, when When detecting the first resource file generating state change in catalogue monitoring list, monitor that the corresponding monitoring of list is tied according to catalogue The file of fruit acquisition first resource file updates storage the file name in path and first resource file, is finally updated according to file Updated first resource file is loaded into memory by store path and file name, and uses updated first resource text Part replaces the first resource file before being updated in resource file mapping table.It can be monitored and be arranged by catalogue in the embodiment of the present invention Table monitors Resource TOC, and when there is the change of first resource file generating state, updated first resource file is added It is downloaded in memory, is realized to first in resource file mapping table by reading the updated first resource file in memory The load of the update of resource file, above-mentioned first resource file does not need to exit the program being currently running, and passes through resource file Mapping table can fast browsing to updated first resource file, may be implemented to resource file in the embodiment of the present invention Heat load, the loading procedure of resource file can be completed without exiting the program being currently running.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those skilled in the art, other drawings may also be obtained based on these drawings.
Fig. 1 is a kind of process blocks schematic diagram of the loading method of resource file provided in an embodiment of the present invention;
Fig. 2 is the heat load implementation process schematic diagram of resource file provided in an embodiment of the present invention;
Fig. 3-a are a kind of composed structure schematic diagram of the loading device of resource file provided in an embodiment of the present invention;
Fig. 3-b are a kind of composed structure schematic diagram of monitoring module provided in an embodiment of the present invention;
Fig. 3-c are a kind of composed structure schematic diagram of acquisition module provided in an embodiment of the present invention;
Fig. 3-d are the composed structure schematic diagram of the loading device of another resource file provided in an embodiment of the present invention;
Fig. 4 is that the loading method of resource file provided in an embodiment of the present invention is applied to the composed structure schematic diagram of terminal.
Specific implementation mode
An embodiment of the present invention provides a kind of loading method of resource file and devices, for realizing the heat to resource file Load, the loading procedure of resource file can be completed without exiting the program being currently running.
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below Embodiment be only a part of the embodiment of the present invention, and not all embodiments.Based on the embodiments of the present invention, this field The every other embodiment that technical staff is obtained, shall fall within the protection scope of the present invention.
Term " comprising " and " having " in description and claims of this specification and above-mentioned attached drawing and they Any deformation, it is intended that it includes so as to a series of process comprising units, method, system, product or to set to cover non-exclusive It is standby to be not necessarily limited to those units, but may include not listing clearly or solid for these processes, method, product or equipment The other units having.
It is described in detail separately below.One embodiment of the loading method of resource file provided by the invention, specifically It can be applied in the automatic loading procedure of update to resource file, refering to Figure 1, provided by one embodiment of the present invention The loading method of resource file, may include steps of:
101, the Resource TOC monitored will be needed to be registered in catalogue monitoring list, Resource TOC includes:At least one money Source file.
Catalogue monitoring list can be used to realize the dynamic supervision to Resource TOC in embodiments of the present invention, for needing The Resource TOC of monitoring is first registered in catalogue monitoring list, needs in the Resource TOC monitored to may include at least one Resource file.Wherein, resource file can be include multiple file types, can specifically be determined with application scenarios, such as swimming Under scene of playing, resource file may include game model, game level, game role, game sound and game movie etc..For another example Under software development scene, resource file can be the property file, application file and journal file etc. needed to configure.The present invention Resource file is managed by Resource TOC in embodiment, is not limited in the resource file number that Resource TOC includes.This Inventive embodiments provide catalogue monitoring list include monitoring in need Resource TOC, catalogue monitoring list can basis Catalogue monitoring needs progress real-time update.
In some embodiments of the invention, step 101 will need the Resource TOC monitored to be registered to catalogue monitoring list In, it can specifically include following steps:
A1, the Resource TOC monitored will be needed to be registered in the catalogue monitoring list of file monitoring device.
Wherein, catalogue monitoring list can be realized by file monitoring device in the embodiment of the present invention, for needing to monitor Resource TOC, file monitoring device can be sent to, by file monitoring device by Resource TOC be written to catalogue monitoring list in, example Such as it can realize file monitoring device by the file watcher in window operating systems.
102, the Resource TOC in list, which carries out file status change monitoring, to be monitored to catalogue.
In embodiments of the present invention, after monitoring that list addition needs the Resource TOC monitored by catalogue, to the catalogue Resource TOC in monitoring list is monitored, and monitored directory is needed to monitor in the Resource TOC in list whether there is resource file File status changed.Wherein file status becomes the file content for more specifically also referring to modification resource file, increases Add new resource file or delete invalid resource file etc., such as catalogue is monitored and write after the resource file in list is changed Memory is entered, then can determine that the file status of resource file is changed.With the text of resource file in subsequent embodiment It is illustrated for part content modification.
In some embodiments of the invention, under the realization scene of aforementioned execution step A1, step 102 monitors catalogue Resource TOC in list carries out file status change monitoring, including:
B1, the file shape for whether having resource file in the Resource TOC in list is monitored by file monitoring device detection catalogue State changes.
Wherein, in the aforementioned embodiment, file monitoring device detection catalogue monitoring list when, can by file monitoring device come Judge whether there is the file status of resource file to change in the Resource TOC in catalogue monitoring list.File monitoring device can be with The file status change for judge whether there is resource file in real time according to the detection cycle of configuration, if there is the file of resource file File monitor can export change and remind when Status Change, if becoming that file status does not occur in current detection cycle More, then start next detection cycle, continue to judge whether there is the file status of resource file to become in catalogue monitoring list More.
In other embodiments of the present invention, step 102 monitors that the Resource TOC in list carries out file shape to catalogue State change monitoring, including:
C1, by catalogue monitor list in Resource TOC and Status Change event correlation get up;
C2, judge whether Status Change event occurs according to preset polling cycle, when Status Change event occurs, root The resource file that generating state changes in catalogue monitoring list is determined according to the corresponding monitored results of catalogue monitoring list, when state becomes When more event does not occur, determine in catalogue monitoring list there is no the change of resource file generating state.
Wherein, the Resource TOC in list establishes matching Status Change event respectively to be monitored for catalogue, then it is right File status change under different resource catalogue can detect that catalogue monitors in list by Status Change event Incidence relation is established between Resource TOC and Status Change event can realize each Resource TOC and corresponding Status Change Binding between event.Then whether the Status Change event of foundation is judged in real time, such as wheel can be set It askes the period, polling cycle can be arranged with concrete application scene, such as could be provided as 100 milliseconds, be generated more for event Under sensitive application scenarios, polling cycle may be arranged as the other time value less than 100 milliseconds.By to Status Change thing The periodical of part judges, the corresponding monitored results of catalogue monitoring list can be generated, when Status Change event occurs, according to this Monitored results can determine the resource file that generating state changes in catalogue monitoring list, when Status Change event does not occur When, determine in catalogue monitoring list there is no the change of resource file generating state.Wherein the generation of Status Change event whether can be with By judging the different values of event, such as when event value is true (English name:Status Change thing is determined when true) Part occurs, when event value is no (English name:Being determined when false) does not have any Status Change event.
103, it when detecting the first resource file generating state change in catalogue monitoring list, is monitored and is arranged according to catalogue The file of the corresponding monitored results acquisition first resource file of table updates storage the file name in path and first resource file.
In embodiments of the present invention, it is real-time can to monitor that the Resource TOC in list is carried out to catalogue by step 102 File status change monitoring can execute step 103, for the ease of retouching in the file status change for detecting resource file It states, the resource file that file status change has occurred is defined as first resource file, which refers in mesh Some newer resource file of file status or certain resource files are produced in record monitoring list.When detect catalogue monitor When first resource file generating state in list changes, the corresponding monitored results of catalogue monitoring list, the monitoring knot are got Fruit can be the monitoring daily record recorded when being monitored to Resource TOC according to catalogue monitoring list, can also be from the prison The resource file set of the file status change extracted in control daily record, does not limit herein.Get catalogue monitoring list pair After the monitored results answered, monitor that the corresponding monitored results of list can determine that file occurs for first resource file according to catalogue Status Change, the file that first resource file can be got from the monitored results update storage path and first resource file File name, wherein it refers to the updated file packet of first resource file that the file of first resource file, which updates storage path, Storage address, the file name of first resource file is the file name that the first resource file is used in storage, such as It can be the file name exported according to the naming rule of resource file, can also be that user matches when changing first resource file The file name set, does not limit herein.
In some embodiments of the invention, step 103 works as the first resource file hair detected in catalogue monitoring list When raw Status Change, monitor that the file of the corresponding monitored results acquisition first resource file of list updates storage path according to catalogue With the file name of first resource file, including:
E1, the resource that the corresponding monitored results of list determine that generating state changes in catalogue monitoring list is monitored according to catalogue File is first resource file;
E2, event message is sent to reloading monitor, event message includes:The file update of first resource file is deposited Store up the file name in path and first resource file;
E3, determine that file updates storage path and file name by reloading monitor parsing event message.
Wherein, in some embodiments of the invention, it can be completed to resource file by reloading monitor It reloads, first passes through the first resource file that the corresponding monitored results of catalogue monitoring list analyze in catalogue monitoring list and send out Status Change is given birth to, the execution logic for reloading monitor is first to receive event message, is then got from event message File updates storage path and file name, then reloads monitor and update storage path and file name acquisition by file It is updated to first resource file generating state, then the first resource file can be carried out again to add by reloading monitor It carries, such as reloads the resource that monitor can be completed in subsequent step 104 and reload process.
104, it updates storage path and file name according to file updated first resource file is loaded into memory, And replace the first resource file before being updated in resource file mapping table using updated first resource file.
In the embodiment of the present invention, get first resource file file update storage path and file name after, lead to The file name for crossing first resource file updates storage path according to this document and can read updated first resource file, Updated first resource file is loaded into memory, is read so as to the memory space address in memory updated Then first resource file safeguards resource file mapping table, according to first resource according to the update result of first resource file The update result of file carries out real-time update to resource file mapping table.Resource file mapping table is to be used in the embodiment of the present invention The real-time reading of resource file, by resource file mapping table to the replacement operation of the first resource file before update so that Resource file mapping table can preserve newest resource file information, can pass through access when needing using first resource file Resource file mapping table gets newest first resource file.Updated first resource file quilt in the embodiment of the present invention It is loaded into memory, by the real-time servicing to the resource file mapping table in memory, may be implemented in resource file mapping table Resource file automatically update, to which the latest document of all resource files can be obtained when accessing resource file mapping table Content, need not exit the program runed can complete the heat download of resource file.
In some embodiments of the invention, the updated first resource file of use in step 104 replaces resource First resource file before being updated in File Mapping table, including:
F1, path is updated storage according to file and file name obtains the identifier of updated first resource file, it will The identifier of first resource file before being updated in resource file mapping table replaces with the mark of updated first resource file Symbol.
Wherein, the mapping relations of resource file are determined by the identifier of resource file in resource file mapping table, are led to Cross abovementioned steps 103 get first resource file file update storage path and file name after, by file update deposit Storage path and file name can determine the identifier of resource file according to mapping ruler, then in resource file mapping table Update before and after the identifier of first resource file be replaced, to the first resource file in resource file mapping table The replacement of identifier can get the newest first resource file loaded in memory by resource file mapping table, from And heat load when the stateful update of resource file may be implemented.
In some embodiments of the invention, step 104 replaces resource file using updated first resource file After first resource file before being updated in mapping table, the loading method of resource file provided in an embodiment of the present invention can also wrap It includes:
G1, updated first resource file is read from resource file mapping table, shown more in resource application interface First resource file after new.
Wherein, after the Status Change that first resource file is completed in resource file mapping table, when user needs to use When first resource file, newest first resource file can be read from resource file mapping table, resource application interface is money The loaded and displayed interface of source file can show that updated first resource file, resource apply boundary in resource application interface The first resource file shown in face is the first resource file after the completion of heat load, without having exited loading resource text The application program of part, so that it may the heat of resource file be loaded with completing to realize in the application program.
By above example to the description of the embodiment of the present invention it is found that the Resource TOC monitored will be needed to be registered to first Catalogue monitors in list that Resource TOC includes:At least one resource file, then to catalogue monitor list in Resource TOC into Part Status Change of composing a piece of writing monitors, when detecting the first resource file generating state change in catalogue monitoring list, according to mesh The file that the corresponding monitored results of record monitoring list obtain first resource file updates storage the text in path and first resource file Part title finally updates storage path and file name according to file and updated first resource file is loaded into memory, And replace the first resource file before being updated in resource file mapping table using updated first resource file.The present invention is real Applying in example can monitor that list monitors Resource TOC by catalogue, when there is the change of first resource file generating state, Updated first resource file is loaded into memory, is realized by reading the updated first resource file in memory The load of update to the first resource file in resource file mapping table, above-mentioned first resource file does not need to exit The program of operation, by resource file mapping table can fast browsing to updated first resource file, the present invention is implemented The heat load to resource file may be implemented in example, the load of resource file can be completed without exiting the program being currently running Journey.
For ease of being better understood from and implementing the said program of the embodiment of the present invention, corresponding application scenarios of illustrating below come It is specifically described.The heat load that resource file may be implemented in the embodiment of the present invention, next to be provided in game application Illustrated in greater detail is carried out for the heat load of source file.In game running, the state of resource file, which changes, generates a shape State altering event, the resource oracle listener in game receive this event, retrieved from event file update storage path and Filename loads resource file again, realizes that file changes the function of reloading.The resource file of many types can be into Row heat load, for example, the resource file in the embodiment of the present invention may include:Picture, model, outpost of the tax office solid, script, game Role, sound and animation etc. only need several seconds time, so that it may to complete the process of one replication adjustment, finally bring completeer Beautiful game products.
In the embodiment of the present invention, to the resource file that reloads of needs play start when, the Resource TOC at place It is registered in catalogue monitoring list, when the state of resource file changes, an event is generated, when being connect in explorer When receiving this event, filename is retrieved from event and file updates storage path, road is then updated storage according to file Diameter starts reloading for resource file, and finally update storage path according to file replaces original to specific resource file mapping table The resource file come, realizes the binding again of resource identifier.It realizes when the change of the state of resource file, without exiting trip Play program, so that it may to realize that the automatic of resource is reloaded.
The loading method of resource file provided in an embodiment of the present invention can be embedded in development of games workflow, but each The load mode of resource file is different, and list data is stored in database table, after modification, needs to call resource crossover tool ResConvert generates binary system (English name:Bin) file, some other resource files, such as attribute configuration file (example Such as:Psheet), behavior tree, script and json (full name in English:Javascript object notation) file etc., as long as File status changes, and running game can start automatically reloads program.
Next it is illustrated by taking the heat load of json files as an example, json files belong to AS (full name in English: ActionScript) user interface (full name in English in script:User Interface, English abbreviation:UI) interface resources are matched File is set, is loaded automatically when playing and starting, in game running, after the modification of resource file preserves, the resource management of AS Device can receive the file modification event sent by file monitoring device, then reload automatically, replace original old resource File.In gaming, it to using the interfaces of json file datas, reopens and reads newest configuration information.It illustrates such as Under, following code can be write:
The character string information that is shown on interface is configured in json files by above-mentioned code, when having modified character string Content and when preserving, reopens interface, so that it may to see that modified content is at once:Can obtain at random a low order or in The technical ability book of rank.
Next it please refers to shown in Fig. 2, Fig. 2 is that the heat load implementation process of resource file provided in an embodiment of the present invention is shown It is intended to.The schematically illustrate of situation typical, in fig. 2, the heat of resource file are carried out with the workflow of the heat load of resource file Load is integrated into workflow and each different part of system is how interactively with each other step, related be main Including as follows:
1, registration resource catalogue is registered to the Resource TOC that needs monitor in the catalogue monitoring list of file monitoring device.
2, resource file is changed and saved to resource edit tool, such as:After json, btree and psheet etc., such as modification Resource file be:Asset0.bin、Asset1.json、Asset2.btree、Asset3.psheet.
3, file monitoring device (File Watcher) detects that there are one resource texts in some Resource TOC that it is monitored Part is altered.Then update file is updated storage by event message (GE_FILE_CHANGED) by path and filename Title, which is sent to, reloads monitor.
4, it reloads monitor and this message is received by monitoring event.Then file update is retrieved from message Store path and file name, then just start resource file reloads process.
5, the resource file newly changed is loaded into memory, and the mark of old resource file is found by resource mapping table Symbol, and its position is replaced in resource mapping table, when that original old resource file has been subjected to, removed from memory, Only retain new resources file in memory.
6, it in next game play, begins to use this new money in the place using the resource file Source file data.
In the embodiment of the present invention, resource file is changed to click and is saved in this new resource file and uses in gaming, Time used is very short, the typically less than 1 second time, and system can use new resource file, and see at once Modified file loads effect.For large-scale game resource, or reload needs overhead it is excessive, time phase It is longer to meeting, but also seldom can be more than several seconds.
Next the hot loading procedure of resource file in the embodiment of the present invention is illustrated.Add in the heat of resource file In load, 3 main elements are related generally to:File monitoring device reloads monitor, and binds resource file again.
File monitoring device is described in detail first, the work of file monitoring device is to monitor the catalogue of establishing resource, And when any file changes, notice reloads oracle listener.When playing startup, the catalogue that needs are monitored is registered It is monitored in list to catalogue, such as file monitoring device can execute following configuration logic:
// configuration information
GeFileWatcher::GetInstance().AddWatch("..\\Data\\Config",true);
// behavior tree
GeFileWatcher::GetInstance().AddWatch("..\\Data\\Btree",true);
// attribute list
GeFileWatcher::GetInstance().AddWatch("..\\Data\\PropSheet",true);
//Bin tables
GeFileWatcher::GetInstance().AddWatch("..\\Data\\Table",true);
//swf or gfx
GeFileWatcher::GetInstance().AddWatch("..\\Data\\UI",true);
When creating resource file (this document needs heat load), need to be placed on some that file monitoring device monitored In Resource TOC.File monitoring device is run in another thread, always in the Resource TOC for ceaselessly monitoring registration, works as modification When preserving some resource file, this change is passed through event by it just it will be noted that had occurred there are one the operation of written document It is sent to and reloads monitor.
Monitor that file can be by the proprietary file event function registration file of steerable system, when some under some catalogue When file changes, it can send a corresponding event, such as the realization in Win32 systems uses ReadDirectoryChangesW functions.ReadDirectoryChangesW functions play a catalogue and an event correlation Come.(when executing any file operation), corresponding signal will occur when the file in this catalogue changes.File is supervised For visual organ by GetOverlappedResult functions, every 200 milliseconds, with regard to this primary event of poll, are seen whether it occurs.If Return value is True, it is meant that is changed there are one file in target directory.Multiple changed file sets are with one The char buffer of a large size are returned, the content of this char buffer is structure FILE_NOTIFY_INFORMATION The content of definition, only those event types are that FILE_ACTION_MODIFIED list items can just be handled, and show them just It is written into disk.
All modified resource files have been handled, by event (GE_FILE_CHANGED) and have sent them to weight New load monitor, wherein the logical code used can be:
GeVariantMap params;
Params [" FilePath "]=GeStr (fullFilePath.CString ());// file path
Params [" Ext "]=GeStr (fileExtension.CString ());// file extension suffix
// event occurs
GeEventService::Get().FireEvent(GE_FILE_CHANGED,params);
After being sent, file monitoring device has to that ReadDirectoryChangesW functions is called to start again New snoop procedure starts the action listener period.
Next it is described in detail to reloading monitor, reloads the collection that monitor can be some C++ classes It closes, each class manages a kind of resource type, monitors event (GE_FILE_CHANGED) and realizes reloading for resource.Again It loads monitor registration monitoring file and changes event, to prepare to receive the event notice from file monitoring device, once there is notice Publication comes, and just starts the process of specific resources reloading.In order to be properly completed the work of oneself, reload Monitor obtains file from event and updates storage path and file name, realizes reloading for resource file.
Next the binding again of resource file is illustrated, after resource file reloads, needs to replace old Resource file, for some simple resource files, carrying out again assignment to their attribute can solve, as texture or The resource of audio etc represents them using handle, after this kind of resource file reloads, needs according to resource file Path is updated storage to handle map table, the handle of old resource file is found, then new handle value is replaced old money Source file handle value, in game running afterwards, system can use new resource file.
In the embodiment of the present invention, the hot loading technique of resource file can substantially reduce game and carry out used in adjustment repeatedly Time realizes heat load function to most of most general resource file, maximum return is obtained with minimum workload.Resource The heat load of file uses news release-subscribing mode and is designed, reduce hot loading code and system other modules it Between coupling.Heat load function only needs to use in the process of development, after forbidding hot loading code to issue game It influences (such as:Hacker using update mechanism realize game it is plug-in) and reduce official release compilation speed, play nominally issued Before, #ifdefs sentences can be used, it is easy to which ground removes these codes.
The hot loading technique of resource file can be after changing resource file in the embodiment of the present invention, it is not necessary to exit and restart trip Play program, can see modified file loading result, to which realization is quick to game, easily adjusts repeatedly, greatly The speed for improving development of games.It should be noted that equally using hot loading technique in embodiments of the present invention, may subtract Less or increase different file change steps, file is such as converted to another file format using crossover tool, then to new File status change generate event message.Method in the embodiment of the present invention can be used for loading other any type of moneys Source, such as binary file, texture file etc..File status change notification in the embodiment of the present invention can use other modes, Such as use procotol or command mode.
It should be noted that for each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the described action sequence because According to the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
For ease of preferably implementing the said program of the embodiment of the present invention, the phase for implementing said program is also provided below Close device.
It please refers to shown in Fig. 3-a, a kind of loading device 300 of resource file provided in an embodiment of the present invention may include: Catalogue registration module 301, monitoring module 302, acquisition module 303 and resource updates module 304, wherein
Catalogue registration module 301, for the Resource TOC for needing to monitor to be registered in catalogue monitoring list, the resource Catalogue includes:At least one resource file;
Monitoring module 302, the Resource TOC for being monitored to the catalogue in list carry out file status change prison Control;
Acquisition module 303, for working as the first resource file generating state change detected in the catalogue monitoring list When, according to the catalogue monitor file that the corresponding monitored results of list obtain the first resource file update storage path and The file name of the first resource file;
Resource updates module 304, for updating storage path according to the file and the file name will be updated First resource file is loaded into memory, and is replaced in resource file mapping table using the updated first resource file First resource file before update.
In some embodiments of the invention, the catalogue registration module 301, specifically for the resource mesh that will need to monitor Record is registered in the catalogue monitoring list of file monitoring device;
The monitoring module 302 is specifically used for detecting in the catalogue monitoring list by the file monitoring device Resource TOC in whether there is the file status of resource file to change.
In some embodiments of the invention, it please refers to shown in Fig. 3-b, the monitoring module 302, including:
Event correlation module 3021, for the catalogue to be monitored to Resource TOC and Status Change event correlation in list Get up;
Judgment module 3022 occurs for event, for judging whether the Status Change event is sent out according to preset polling cycle It is raw, when the Status Change event occurs, monitor that the corresponding monitored results of list determine that the catalogue is supervised according to the catalogue Depending on the resource file that generating state in list changes, when the Status Change event does not occur, the catalogue monitoring is determined There is no the change of resource file generating state in list.
In some embodiments of the invention, it please refers to shown in Fig. 3-c, the acquisition module 303, including:
Interpretation of result module 3031, for monitoring that the corresponding monitored results of list determine that the catalogue is supervised according to the catalogue The resource file of generating state change in list is regarded as first resource file;
Sending module 3032, for sending event message to reloading monitor, the event message includes:Described The file of one resource file updates storage the file name in path and the first resource file;
Event message parsing module 3033 determines institute for passing through the monitor parsing event message that reloads It states file and updates storage path and the file name.
In some embodiments of the invention, the resource updates module 304, specifically for being deposited according to file update Storage path and the file name obtain the identifier of the updated first resource file, by the resource file mapping table The identifier of first resource file before middle update replaces with the identifier of the updated first resource file.
In some embodiments of the invention, it please refers to shown in Fig. 3-d, the loading device 300 of the resource file also wraps It includes:File display module 305 is replaced for the resource updates module 304 using the updated first resource file After first resource file before being updated in resource file mapping table, after reading the update in the resource file mapping table First resource file, the updated first resource file is shown in resource application interface.
By above to the description of the embodiment of the present invention it is found that the Resource TOC monitored will be needed to be registered to catalogue prison first Depending in list, Resource TOC includes:Then at least one resource file monitors that the Resource TOC in list carries out file to catalogue Status Change monitors, and when detecting the first resource file generating state change in catalogue monitoring list, is monitored according to catalogue The file of the corresponding monitored results acquisition first resource file of list updates storage the file name in path and first resource file, It finally updates storage path and file name according to file updated first resource file is loaded into memory, and using more First resource file after new replaces the first resource file before being updated in resource file mapping table.It can in the embodiment of the present invention To monitor that list monitors Resource TOC by catalogue, when there is the change of first resource file generating state, after update First resource file be loaded into memory, by read the updated first resource file in memory realize to resource text The load of the update of first resource file in part mapping table, above-mentioned first resource file does not need to exit the journey being currently running Sequence, by resource file mapping table can fast browsing can be with to updated first resource file, in the embodiment of the present invention It realizes and the heat of resource file is loaded, the loading procedure of resource file can be completed without exiting the program being currently running.
The embodiment of the present invention additionally provides another terminal, as shown in figure 4, for convenience of description, illustrating only and this hair The bright relevant part of embodiment, particular technique details do not disclose, please refer to present invention method part.The terminal can be with It includes mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of to be Sales, point-of-sale terminal), the arbitrary terminal device such as vehicle-mounted computer, by taking terminal is mobile phone as an example:
Fig. 4 shows the block diagram with the part-structure of the relevant mobile phone of terminal provided in an embodiment of the present invention.Reference chart 4, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 1010, memory 1020, input unit 1030, display unit 1040, sensor 1050, voicefrequency circuit 1060, Wireless Fidelity (wireless fidelity, WiFi) module 1070, processor The components such as 1080 and power supply 1090.It will be understood by those skilled in the art that handset structure shown in Fig. 4 is not constituted pair The restriction of mobile phone may include either combining certain components or different component cloth than illustrating more or fewer components It sets.
Each component parts of mobile phone is specifically introduced with reference to Fig. 4:
RF circuits 1010 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 1080;In addition, the data for designing uplink are sent to base station.In general, RF circuits 1010 include but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 1010 can also be logical with network and other equipment by radio communication Letter.Above-mentioned wireless communication can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 1020 can be used for storing software program and module, and processor 1080 is stored in memory by operation 1020 software program and module, to execute various function application and the data processing of mobile phone.Memory 1020 can be led To include storing program area and storage data field, wherein storing program area can storage program area, needed at least one function Application program (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored uses institute according to mobile phone Data (such as audio data, phone directory etc.) of establishment etc..In addition, memory 1020 may include high random access storage Device, can also include nonvolatile memory, and a for example, at least disk memory, flush memory device or other volatibility are solid State memory device.
Input unit 1030 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 1030 may include touch panel 1031 and other inputs Equipment 1032.Touch panel 1031, also referred to as touch screen collect user on it or neighbouring touch operation (such as user Use the behaviour of any suitable object or attachment such as finger, stylus on touch panel 1031 or near touch panel 1031 Make), and corresponding attachment device is driven according to preset formula.Optionally, touch panel 1031 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 1080, and order that processor 1080 is sent can be received and executed.In addition, The multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave may be used and realize touch panel 1031.In addition to touch surface Plate 1031, input unit 1030 can also include other input equipments 1032.Specifically, other input equipments 1032 may include But in being not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc. It is one or more.
Display unit 1040 can be used for showing information input by user or be supplied to user information and mobile phone it is each Kind menu.Display unit 1040 may include display panel 1041, optionally, liquid crystal display (Liquid may be used Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-EmittingDiode, OLED) come Configure display panel 1041.Further, touch panel 1031 can cover display panel 1041, when touch panel 1031 detects On it or after neighbouring touch operation, processor 1080 is sent to determine the type of touch event, is followed by subsequent processing device 1080 Corresponding visual output is provided on display panel 1041 according to the type of touch event.Although in Fig. 4, touch panel 1031 It is to realize input and the input function of mobile phone as two independent components with display panel 1041, but in some embodiments In, can be integrated by touch panel 1031 and display panel 1041 and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 1050, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 1041, proximity sensor can close display panel when mobile phone is moved in one's ear 1041 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 1060, loud speaker 1061, microphone 1062 can provide the audio interface between user and mobile phone.Audio The transformed electric signal of the audio data received can be transferred to loud speaker 1061, is converted by loud speaker 1061 by circuit 1060 It is exported for voice signal;On the other hand, the voice signal of collection is converted to electric signal by microphone 1062, by voicefrequency circuit 1060 Audio data is converted to after reception, then by after the processing of audio data output processor 1080, through RF circuits 1010 to be sent to ratio Such as another mobile phone, or audio data is exported to memory 1020 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 1070 Part, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 4 is shown WiFi module 1070, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can not change as needed completely Become in the range of the essence of invention and omits.
Processor 1080 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, By running or execute the software program and/or module that are stored in memory 1020, and calls and be stored in memory 1020 Interior data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 1080 may include one or more processing units;Preferably, processor 1080 can integrate application processor and modulation /demodulation processing Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1080.
Mobile phone further includes the power supply 1090 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply Management system and processor 1080 are logically contiguous, to realize management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
In embodiments of the present invention, the processor 1080 included by the terminal also has control execution is above to be executed by terminal Resource file loading method step.
In addition it should be noted that, the apparatus embodiments described above are merely exemplary, wherein described as separation The unit of part description may or may not be physically separated, the component shown as unit can be or It can not be physical unit, you can be located at a place, or may be distributed over multiple network units.It can be according to reality Border needs to select some or all of module therein to achieve the purpose of the solution of this embodiment.In addition, provided by the invention In device embodiment attached drawing, the connection relation between module indicates there is communication connection between them, specifically can be implemented as one Item or a plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, you can with Understand and implements.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can borrow Help software that the mode of required common hardware is added to realize, naturally it is also possible to by specialized hardware include application-specific integrated circuit, specially It is realized with CPU, private memory, special components and parts etc..Under normal circumstances, all functions of being completed by computer program can It is easily realized with corresponding hardware, moreover, for realizing that the particular hardware structure of same function can also be a variety of more Sample, such as analog circuit, digital circuit or special circuit etc..But it is more for the purpose of the present invention in the case of software program it is real It is now more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words makes the prior art The part of contribution can be expressed in the form of software products, which is stored in the storage medium that can be read In, such as the floppy disk of computer, USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory Device (RAM, Random Access Memory), magnetic disc or CD etc., including some instructions are with so that a computer is set Standby (can be personal computer, server or the network equipment etc.) executes the method described in each embodiment of the present invention.
In conclusion the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to upper Stating embodiment, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to upper The technical solution recorded in each embodiment is stated to modify or equivalent replacement of some of the technical features;And these Modification or replacement, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution.

Claims (12)

1. a kind of loading method of resource file, which is characterized in that including:
The Resource TOC monitored will be needed to be registered in catalogue monitoring list, the Resource TOC includes:At least one resource text Part;
Resource TOC in list, which carries out file status change monitoring, to be monitored to the catalogue;
When detecting the first resource file generating state change in the catalogue monitoring list, is monitored and arranged according to the catalogue The file that the corresponding monitored results of table obtain the first resource file updates storage the text in path and the first resource file Part title;
Path and the file name are updated storage according to the file updated first resource file is loaded into memory, And the first resource file before being updated in resource file mapping table is replaced using the updated first resource file, it is described Resource file mapping table is stored in the memory.
2. according to the method described in claim 1, it is characterized in that, described will need the Resource TOC monitored to be registered to catalogue prison Depending in list, including:
The Resource TOC monitored will be needed to be registered in the catalogue monitoring list of file monitoring device;
It is described that Resource TOC in list, which carries out file status change monitoring, to be monitored to the catalogue, including:
Whether detected by the file monitoring device has the file of resource file in the Resource TOC in the catalogue monitoring list State changes.
3. according to the method described in claim 1, it is characterized in that, it is described to the catalogue monitor list in Resource TOC into Part Status Change of composing a piece of writing monitors, including:
The catalogue is monitored that the Resource TOC in list gets up with Status Change event correlation;
Judge whether the Status Change event occurs according to preset polling cycle, when the Status Change event occurs, The resource text that the corresponding monitored results of list determine that generating state changes in the catalogue monitoring list is monitored according to the catalogue Part determines in the catalogue monitoring list do not have the change of resource file generating state when the Status Change event does not occur More.
4. according to the method described in claim 1, it is characterized in that, described work as first detected in the catalogue monitoring list When resource file generating state changes, monitor that the corresponding monitored results of list obtain the first resource file according to the catalogue File update storage the file name in path and the first resource file, including:
The money that the corresponding monitored results of list determine that generating state changes in the catalogue monitoring list is monitored according to the catalogue Source file is first resource file;
Event message is sent to monitor is reloaded, the event message includes:The file of the first resource file updates The file name of store path and the first resource file;
Determine that the file updates storage path and the file by the monitor parsing event message that reloads Title.
5. method according to claim 1 to 4, which is characterized in that described to use described updated first Resource file replaces the first resource file before being updated in resource file mapping table, including:
Path is updated storage according to the file and the file name obtains the mark of the updated first resource file The identifier of first resource file before being updated in the resource file mapping table is replaced with updated first money by symbol The identifier of source file.
6. method according to claim 1 to 4, which is characterized in that described to use described updated first After resource file replaces the first resource file before being updated in resource file mapping table, the method further includes:
The updated first resource file is read from the resource file mapping table, and institute is shown in resource application interface State updated first resource file.
7. a kind of loading device of resource file, which is characterized in that including:
Catalogue registration module, for the Resource TOC for needing to monitor to be registered in catalogue monitoring list, the Resource TOC packet It includes:At least one resource file;
Monitoring module, the Resource TOC for being monitored to the catalogue in list carry out file status change monitoring;
Acquisition module, for when detecting the first resource file generating state change in catalogue monitoring list, according to The file that the corresponding monitored results of catalogue monitoring list obtain the first resource file updates storage path and described the The file name of one resource file;
Resource updates module, for updating storage path and the file name by updated first resource according to the file File is loaded into memory, and is replaced in resource file mapping table before update using the updated first resource file First resource file, the resource file mapping table are stored in the memory.
8. device according to claim 7, which is characterized in that the catalogue registration module, specifically for that will need to monitor Resource TOC be registered to file monitoring device catalogue monitoring list in;
The monitoring module, specifically for detecting the resource mesh in the catalogue monitoring list by the file monitoring device Whether there is the file status of resource file to change in record.
9. device according to claim 7, which is characterized in that the monitoring module, including:
Event correlation module, for the catalogue to be monitored that the Resource TOC in list gets up with Status Change event correlation;
Event occurs judgment module and works as institute for judging whether the Status Change event occurs according to preset polling cycle When stating the generation of Status Change event, monitor that the corresponding monitored results of list determine in the catalogue monitoring list according to the catalogue The resource file of generating state change determines and does not have in the catalogue monitoring list when the Status Change event does not occur There is the change of resource file generating state.
10. device according to claim 7, which is characterized in that the acquisition module, including:
Interpretation of result module, for monitoring that the corresponding monitored results of list determine in the catalogue monitoring list according to the catalogue The resource file of generating state change is first resource file;
Sending module, for sending event message to reloading monitor, the event message includes:The first resource text The file of part updates storage the file name in path and the first resource file;
Event message parsing module determines the file more for passing through the monitor parsing event message that reloads New store path and the file name.
11. device according to any one of claims 7 to 10, which is characterized in that the resource updates module is specific to use In updating storage path according to the file and the file name obtains the identifier of the updated first resource file, The identifier of first resource file before being updated in the resource file mapping table is replaced with into the updated first resource The identifier of file.
12. device according to any one of claims 7 to 10, which is characterized in that the loading device of the resource file, Further include:File display module replaces money for the resource updates module using the updated first resource file After first resource file before being updated in source file mapping table, read from the resource file mapping table described updated First resource file shows the updated first resource file in resource application interface.
CN201610618862.XA 2016-07-29 2016-07-29 A kind of loading method and device of resource file Active CN106155750B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610618862.XA CN106155750B (en) 2016-07-29 2016-07-29 A kind of loading method and device of resource file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610618862.XA CN106155750B (en) 2016-07-29 2016-07-29 A kind of loading method and device of resource file

Publications (2)

Publication Number Publication Date
CN106155750A CN106155750A (en) 2016-11-23
CN106155750B true CN106155750B (en) 2018-09-07

Family

ID=57327782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610618862.XA Active CN106155750B (en) 2016-07-29 2016-07-29 A kind of loading method and device of resource file

Country Status (1)

Country Link
CN (1) CN106155750B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371880B (en) * 2016-09-06 2019-10-11 珠海金山网络游戏科技有限公司 A kind of system and method for resource heat load iteratively faster game making
CN106899441B (en) * 2017-03-16 2019-09-03 网易(杭州)网络有限公司 Malfunctioning node localization method and system
CN107395428A (en) * 2017-08-11 2017-11-24 杭州迪普科技股份有限公司 Version file upgrade method, device, server and client device
CN109840116A (en) * 2017-11-27 2019-06-04 北京京东尚科信息技术有限公司 A kind of method and apparatus loading resource file
CN109542531B (en) * 2018-10-26 2021-11-23 创新先进技术有限公司 File layout adjustment method and device
CN109814884A (en) * 2018-12-27 2019-05-28 珠海西山居互动娱乐科技有限公司 A kind of method and system carrying out resource management according to game resource type
CN109671147B (en) * 2018-12-27 2023-09-26 网易(杭州)网络有限公司 Texture map generation method and device based on three-dimensional model
CN109783214B (en) * 2018-12-29 2021-06-22 广东电网有限责任公司广州供电局 Task scheduling control system
CN110960855B (en) * 2019-12-19 2023-07-11 米哈游科技(上海)有限公司 Communication protocol code updating method and device, electronic equipment and storage medium
CN111538488B (en) * 2020-04-17 2023-05-02 荏原冷热系统(中国)有限公司 Method and device for generating single-chip microcomputer driver
CN111552673B (en) * 2020-04-29 2023-08-01 咪咕文化科技有限公司 File processing method and device, electronic equipment and storage medium
CN112257103A (en) * 2020-10-10 2021-01-22 海信电子科技(深圳)有限公司 Access right control method and display device
CN113760320A (en) * 2021-01-04 2021-12-07 北京京东振世信息技术有限公司 Metadata deployment method and device
CN113064609B (en) * 2021-03-05 2024-05-28 深圳市欢太科技有限公司 Resource loading method, client, server and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739466A (en) * 2010-01-18 2010-06-16 北京红旗贰仟软件技术有限公司 File managing method and file managing device
CN102436373A (en) * 2011-09-13 2012-05-02 上海普元信息技术股份有限公司 Method for realizing resource loading and resource hot-updating in distributed enterprise application system
CN102929998A (en) * 2012-10-25 2013-02-13 浪潮(北京)电子信息产业有限公司 File increment intercepting method and device
CN103747029A (en) * 2013-12-10 2014-04-23 北京奇虎科技有限公司 File transmission method, device and system
CN104252341A (en) * 2013-06-26 2014-12-31 腾讯科技(深圳)有限公司 Method and device for resurfacing application program and client side device of application program
CN104598103A (en) * 2014-12-30 2015-05-06 北京奇虎科技有限公司 Method and device for processing graphics in pages
CN105630522A (en) * 2014-10-31 2016-06-01 阿里巴巴集团控股有限公司 Web application updating method, apparatus and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739466A (en) * 2010-01-18 2010-06-16 北京红旗贰仟软件技术有限公司 File managing method and file managing device
CN102436373A (en) * 2011-09-13 2012-05-02 上海普元信息技术股份有限公司 Method for realizing resource loading and resource hot-updating in distributed enterprise application system
CN102929998A (en) * 2012-10-25 2013-02-13 浪潮(北京)电子信息产业有限公司 File increment intercepting method and device
CN104252341A (en) * 2013-06-26 2014-12-31 腾讯科技(深圳)有限公司 Method and device for resurfacing application program and client side device of application program
CN103747029A (en) * 2013-12-10 2014-04-23 北京奇虎科技有限公司 File transmission method, device and system
CN105630522A (en) * 2014-10-31 2016-06-01 阿里巴巴集团控股有限公司 Web application updating method, apparatus and system
CN104598103A (en) * 2014-12-30 2015-05-06 北京奇虎科技有限公司 Method and device for processing graphics in pages

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于插件体系结构的Web应用;李庆余,蔡梅琳;《计算机科学》;20090501;第36卷(第4A期);第332页 *

Also Published As

Publication number Publication date
CN106155750A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
CN106155750B (en) A kind of loading method and device of resource file
CN106557330B (en) Method and device for processing notification information of notification bar of mobile terminal system and mobile terminal
CN106775637B (en) Page display method and device for application program
CN106412093B (en) A kind of method for uploading of data, apparatus and system
CN111338646B (en) Management method of micro-service architecture and related device
WO2019227994A1 (en) Method and apparatus for updating application prediction model, storage medium, and terminal
CN106126176B (en) A kind of audio collocation method and mobile terminal
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
CN105740263B (en) Page display method and device
CN109154946A (en) A kind of method and terminal of display collection object
CN103501485B (en) Push the method, apparatus and terminal device of application
CN106776036A (en) A kind of resource allocation methods and device
CN106384599B (en) A kind of method and apparatus of distorsion identification
CN104142779A (en) UI (user interface) control method and device as well as terminal
CN108055567A (en) A kind of method for processing video frequency, device, terminal device and storage medium
CN105447124A (en) Virtual article sharing method and device
CN109814930A (en) A kind of application loading method, device and mobile terminal
CN104954159A (en) Network information statistics method and device
CN106789866B (en) A kind of method and device detecting malice network address
CN114205365B (en) Application interface migration system, method and related equipment
CN111596971B (en) Application cleaning method and device, storage medium and electronic equipment
CN106502833A (en) Data back up method and device
CN105550316A (en) Pushing method and device of audio list
CN104731806B (en) A kind of method and terminal for quickly searching user information in social networks
CN106202422B (en) The treating method and apparatus of Web page icon

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant