CN106155750A - The loading method of a kind of resource file and device - Google Patents

The loading method of a kind of resource file and device Download PDF

Info

Publication number
CN106155750A
CN106155750A CN201610618862.XA CN201610618862A CN106155750A CN 106155750 A CN106155750 A CN 106155750A CN 201610618862 A CN201610618862 A CN 201610618862A CN 106155750 A CN106155750 A CN 106155750A
Authority
CN
China
Prior art keywords
file
resource
resource file
list
catalogue
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.)
Granted
Application number
CN201610618862.XA
Other languages
Chinese (zh)
Other versions
CN106155750B (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 loading method and the device of a kind of resource file, for realizing the heat loading to resource file, it is not necessary to exit the program being currently running and can complete the loading procedure of resource file.The present invention provides the loading method of a kind of resource file, including: monitor that in list, described Resource TOC includes: at least one resource file by needing the Resource TOC monitored to be registered to catalogue;Described catalogue is monitored, and the Resource TOC in list carries out file status change monitoring;When detecting that described catalogue monitors the first resource file generation Status Change in list, the file obtaining described first resource file according to the monitored results that the supervision list of described catalogue is corresponding updates store path and the file name of described first resource file;Update the first resource file after store path and described file name will update according to described file to be loaded in internal memory, and use the first resource file after described renewal to replace the first resource file before updating in resource file mapping table.

Description

The loading method of a kind of resource file and device
Technical field
The present invention relates to field of computer technology, particularly relate to loading method and the device of a kind of resource file.
Background technology
During development of games, it is when art designing or project staff revise a literary composition that existing game resource processes workflow After part, allow operating game exit, re-create a resource file (generally taking up the memory space of hundreds of million), then weigh The whole game of new operation, the mode of this workflow wastes the time greatly, have impact on the development rate of game.Such as at mesh Front cold rnning carries in implementation, loads all of resource file, then in whole game life cycle when game starts Using, after resource file is revised, game needs exit, and then resource file of again packing restarts game server and load All of resource file.In the resource file loading scheme of this cold start-up, after the configuration change of resource file, need Checking the loading effect after amendment resource file, would have to exit games, such workflow limits the anti-of game Polyphony is whole, it is impossible to test more experimental data, has had a strong impact on development rate and final quality of play.
Summary of the invention
Embodiments provide loading method and the device of a kind of resource file, for realizing the heat to resource file Load, it is not necessary to exit the program being currently running and can complete the loading procedure of resource file.
For solving above-mentioned technical problem, embodiment of the present invention offer techniques below scheme:
First aspect, the embodiment of the present invention provides the loading method of a kind of resource file, including:
Monitor that in list, described Resource TOC includes by needing the Resource TOC monitored to be registered to catalogue: at least one money Source file;
Described catalogue is monitored, and the Resource TOC in list carries out file status change monitoring;
When detecting that described catalogue monitors the first resource file generation Status Change in list, supervise according to described catalogue The file obtaining described first resource file depending on the monitored results that list is corresponding updates store path and described first resource file File name;
In first resource file after updating according to described file renewal store path and described file name is loaded into In depositing, and the first resource file after described renewal is used to replace the first resource literary composition before updating in resource file mapping table Part.
Second aspect, the embodiment of the present invention also provides for the charger of a kind of resource file, including:
Catalogue Registering modules, for monitoring in list by needing the Resource TOC monitored to be registered to catalogue, described resource mesh Record includes: at least one resource file;
Monitoring module, for monitoring that to described catalogue the Resource TOC in list carries out file status change monitoring;
Acquisition module, is used for when detecting that described catalogue monitors the first resource file generation Status Change in list, The file obtaining described first resource file according to the monitored results that the supervision list of described catalogue is corresponding updates store path and institute State the file name of first resource file;
Resource updates module, for updating first after store path and described file name will update according to described file Resource file is loaded in internal memory, and uses the first resource file after described renewal to replace renewal in resource file mapping table Front first resource file.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
In embodiments of the present invention, first monitor in list by needing the Resource TOC monitored to be registered to catalogue, resource mesh Record includes: at least one resource file, and then catalogue monitoring, the Resource TOC in list carries out file status change monitoring, when Detect when catalogue monitors the first resource file generation Status Change in list, monitor, according to catalogue, the monitoring knot that list is corresponding Fruit obtains the file of first resource file and updates store path and the file name of first resource file, updates finally according to file First resource file after store path and file name will update is loaded in internal memory, and uses the literary composition of the first resource after renewal Part replaces the first resource file before updating in resource file mapping table.The embodiment of the present invention can be arranged by targeted surveillance Resource TOC is monitored by table, and when there being first resource file generation Status Change, the first resource file after updating adds It is downloaded in internal memory, is realized first in resource file mapping table by the first resource file after reading the renewal in internal memory The renewal of resource file, the loading of above-mentioned first resource file is not required to exit the program being currently running, passes through resource file Mapping table just can be able to realize resource file in the embodiment of the present invention with the first resource file after fast browsing to renewal Heat loads, it is not necessary to exits the program being currently running and can complete the loading procedure of resource file.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for From the point of view of those skilled in the art, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The process blocks schematic diagram of the loading method of a kind of resource file that Fig. 1 provides for the embodiment of the present invention;
The heat of the resource file that Fig. 2 provides for the embodiment of the present invention loads and realizes schematic flow sheet;
The composition structural representation of the charger of a kind of resource file that Fig. 3-a provides for the embodiment of the present invention;
The composition structural representation of a kind of monitoring module that Fig. 3-b provides for the embodiment of the present invention;
The composition structural representation of a kind of acquisition module that Fig. 3-c provides for the embodiment of the present invention;
The composition structural representation of the charger of the another kind of resource file that Fig. 3-d provides for the embodiment of the present invention;
The loading method of the resource file that Fig. 4 provides for the embodiment of the present invention is applied to the composition structural representation of terminal.
Detailed description of the invention
Embodiments provide loading method and the device of a kind of resource file, for realizing the heat to resource file Load, it is not necessary to exit the program being currently running and can complete the loading procedure of resource file.
For making the goal of the invention of the present invention, feature, the advantage can be the most obvious and understandable, below in conjunction with the present invention Accompanying drawing in embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that disclosed below Embodiment be only a part of embodiment of the present invention, and not all embodiments.Based on the embodiment in the present invention, this area The every other embodiment that technical staff is obtained, broadly falls into the scope of protection of the invention.
Term in description and claims of this specification and above-mentioned accompanying drawing " include " and " having " and they Any deformation, it is intended that cover non-exclusive comprising, in order to comprise the process of a series of unit, method, system, product or set Standby those unit that are not necessarily limited to, but can include that the most clearly list or solid for these processes, method, product or equipment Other unit having.
It is described in detail individually below.One embodiment of the loading method of the resource file that the present invention provides, specifically Can apply to, in the automatic loading procedure of the renewal to resource file, refer to shown in Fig. 1, one embodiment of the invention provides The loading method of resource file, may include steps of:
101, monitor that in list, Resource TOC includes by needing the Resource TOC monitored to be registered to catalogue: at least one money Source file.
Catalogue can be used in embodiments of the present invention to monitor, and list realizes the dynamic supervision to Resource TOC, for needs The Resource TOC monitored is first registered with catalogue and monitors in list, needs to include at least one in the Resource TOC monitored Resource file.Wherein, resource file can be to include multiple file types, specifically can determine with application scenarios, such as in trip Under play scene, resource file can include game model, game level, game role, game sound and game movie etc..And for example Under software development scene, resource file can be property file, application file and the journal file etc. needing configuration.The present invention In embodiment, resource file is managed by Resource TOC, and the resource file number included at Resource TOC does not limits.This The catalogue that inventive embodiments provides monitors that list includes the Resource TOC that be there is a need to monitor, catalogue monitors that list can basis What catalogue monitored needs to carry out real-time update.
In some embodiments of the invention, step 101 monitors list by needing the Resource TOC monitored to be registered to catalogue In, specifically may include steps of:
A1, will need monitor Resource TOC be registered in the targeted surveillance list of file monitoring device.
Wherein, in the embodiment of the present invention, targeted surveillance list can be realized by file monitoring device, monitors for needs Resource TOC, file monitoring device can be sent to, file monitoring device Resource TOC is written in targeted surveillance list, example As file monitoring device can be realized by the file watcher in window operating system.
102, catalogue is monitored, and the Resource TOC in list carries out file status change monitoring.
In embodiments of the present invention, after monitoring that the Resource TOC needing to monitor is added in list by catalogue, to this target Monitor that the Resource TOC in list is monitored, need monitored directory to monitor in the Resource TOC in list whether have resource file File status there occurs change.Wherein file status change specifically also refers to revise the file content of resource file, increases Add new resource file or delete invalid resource file etc., such as the resource file during catalogue monitors list is write after being modified Enter memorizer, then may determine that the file status of resource file there occurs change.With the literary composition of resource file in subsequent embodiment Illustrate as a example by part content modification.
In some embodiments of the invention, realizing under scene in aforementioned execution step A1, catalogue is monitored by step 102 Resource TOC in list carries out file status change monitoring, including:
Whether B1, the Resource TOC detected by file monitoring device in catalogue supervision list have the file shape of resource file State changes.
Wherein, in the aforementioned embodiment, when file monitoring device detection catalogue monitors list, can be come by file monitoring device Judge catalogue monitors in the Resource TOC in list whether have the file status of resource file to change.File monitoring device is permissible According to the file status change determining whether resource file that the detection cycle of configuration is real-time, if there being the file of resource file During Status Change, file monitor can export change prompting, if not occurring file status to become within the current detection cycle More, then start the next detection cycle, continue to judge whether targeted surveillance list has the file status of resource file become More.
In other embodiments of the present invention, to catalogue, step 102 monitors that the Resource TOC in list carries out file shape State change monitoring, including:
C1, the Resource TOC in targeted surveillance list is got up with Status Change event correlation;
C2, judge whether Status Change event occurs according to preset polling cycle, when Status Change event occurs, root The resource file that Status Change occurs in targeted surveillance list is determined, when state becomes according to the monitored results that catalogue supervision list is corresponding When more event does not occur, determine that targeted surveillance list does not has resource file generation Status Change.
Wherein, the Resource TOC in targeted surveillance list is set up respectively to the Status Change event matched, the most right File status change under different resource catalogue just can be detected by Status Change event, in targeted surveillance list Set up incidence relation between Resource TOC with Status Change event and just can realize each Resource TOC and corresponding Status Change Binding between event.Then whether the Status Change event set up is carried out real-time judgement, such as, wheel can be set In the inquiry cycle, polling cycle specifically can arrange by application scenarios, such as, could be arranged to 100 milliseconds, is producing more for event Under sensitive application scenarios, polling cycle may be arranged as the value At All Other Times less than 100 milliseconds.By to Status Change thing The periodicity of part judges, can generate the monitored results that catalogue monitors that list is corresponding, when Status Change event occurs, according to this Monitored results may determine that the resource file that Status Change occurs in targeted surveillance list, when Status Change event does not occur Time, determine that targeted surveillance list does not has resource file generation Status Change.The generation of wherein Status Change event is the most permissible By the different values of event are judged, such as, determine Status Change thing when event value is true (English name: true) Part occurs, and determines when event value is no (English name: false) and does not has any Status Change event to occur.
103, when detecting that catalogue monitors the first resource file generation Status Change in list, row are monitored according to catalogue The monitored results that table is corresponding obtains the file of first resource file and updates store path and the file name of first resource file.
In embodiments of the present invention, catalogue can be monitored that the Resource TOC in list carries out real-time by step 102 File status change monitoring, can perform step 103, for the ease of retouching when file status resource file being detected changes Stating, will there occurs that the resource file that file status changes is defined as first resource file, this first resource file refers at mesh Record monitors and creates certain resource file or some resource file that file status updates in list.When detecting that catalogue monitors During first resource file generation Status Change in list, getting the monitored results that targeted surveillance list is corresponding, this monitoring is tied The monitoring daily record that fruit is recorded when can be and be monitored Resource TOC according to targeted surveillance list, it is also possible to be from this prison The resource file set of the file status change extracted in control daily record, does not limits.Get catalogue and monitor list pair After the monitored results answered, can determine that first resource file generation file according to the monitored results that catalogue supervision list is corresponding Status Change, the file that can get first resource file from this monitored results updates store path and first resource file File name, wherein, the file of first resource file update store path refer to first resource file update after file bag Storage address, the file name that the file name of first resource file is this first resource file to be used when storage, such as Can be the file name exported according to the naming rule of resource file, it is also possible to be that user joins when changing first resource file The file name put, does not limits.
In some embodiments of the invention, step 103 is when detecting that catalogue monitors that the first resource file in list is sent out During raw Status Change, the file obtaining first resource file according to the monitored results that catalogue supervision list is corresponding updates store path With the file name of first resource file, including:
E1, monitor that according to catalogue monitored results corresponding to list determines the resource that Status Change occurs in targeted surveillance list File is first resource file;
E2, sending event message to reloading audiomonitor, event message includes: the file of first resource file updates to be deposited Storage path and the file name of first resource file;
E3, resolve event message and determine that file updates store path and file name by reloading audiomonitor.
Wherein, in some embodiments of the invention, can complete resource file by reloading audiomonitor Reload, first pass through catalogue and monitor that monitored results corresponding to list analyzes catalogue and monitor that the first resource file in list is sent out Give birth to Status Change, reloaded the execution logic of audiomonitor for first to receive event message, then get from event message File updates store path and file name, then reload audiomonitor and update store path and file name acquisition by file Update to first resource file generation state, then this first resource file can be added again by reloading audiomonitor Carry, such as, reload the resource reloading process that audiomonitor can complete in subsequent step 104.
104, update the first resource file after store path and file name will update according to file to be loaded in internal memory, And use the first resource file after renewal to replace the first resource file before updating in resource file mapping table.
In the embodiment of the present invention, after getting file renewal store path and the file name of first resource file, lead to The file name crossing first resource file updates the first resource file after store path can read renewal according to this document, First resource file after updating is loaded in internal memory, such that it is able to after the memory space address in internal memory reads renewal First resource file, then safeguards resource file mapping table, according to first resource according to the renewal result of first resource file The renewal result of file carries out real-time update to resource file mapping table.In the embodiment of the present invention resource file mapping table be for The real-time reading of resource file, by replacement operation to the first resource file before updating in resource file mapping table so that Resource file mapping table can preserve up-to-date resource file information, can be by accessing when needs use first resource file Resource file mapping table gets up-to-date first resource file.First resource file quilt after updating in the embodiment of the present invention It is loaded in internal memory, by the real-time servicing to the resource file mapping table in internal memory, it is possible to achieve in resource file mapping table The automatically updating of resource file, thus the latest document of all resource files can be obtained when accessing resource file mapping table Content, it is not necessary to exit the program runed and just can complete the heat download of resource file.
In some embodiments of the invention, the first resource file after updating that uses in step 104 replaces resource First resource file before updating in File Mapping table, including:
F1, update store path and file name according to file and obtain the identifier of the first resource file after updating, will The identifier of the first resource file before updating in resource file mapping table replaces with the mark of the first resource file after renewal Symbol.
Wherein, in resource file mapping table, the mapping relations of resource file are determined by the identifier of resource file, logical After crossing file renewal store path and the file name that abovementioned steps 103 gets first resource file, updated by file and deposit Storage path and file name can determine that the identifier of resource file according to mapping ruler, then in resource file mapping table Renewal before and after the identifier of first resource file be replaced, thus the first resource file in resource file mapping table The replacement of identifier, can get the up-to-date first resource file loaded in internal memory by resource file mapping table, from And heat loading when resource file has state to update can be realized.
In some embodiments of the invention, step 104 uses the first resource file after updating to replace resource file After first resource file before updating in mapping table, the loading method of the resource file that the embodiment of the present invention provides can also wrap Include:
G1, from resource file mapping table read update after first resource file, show more in resource application interface First resource file after Xin.
Wherein, after resource file mapping table completes the Status Change of first resource file, when user needs to use During first resource file, can read up-to-date first resource file from resource file mapping table, resource application interface is money The loaded and displayed interface of source file, can show the first resource file after updating, resource application circle in resource application interface In face, the first resource file of display is the first resource file after heat has loaded, and is loaded with resource literary composition from without exiting The application program of part, it is possible to complete to realize the heat loading to resource file in this application program.
By the above example description to the embodiment of the present invention, first the Resource TOC monitored will be needed to be registered to Catalogue monitors that in list, Resource TOC includes: at least one resource file, then catalogue being monitored, the Resource TOC in list enters Style of writing part Status Change monitoring, when detecting that catalogue monitors the first resource file generation Status Change in list, according to mesh The file of the monitored results acquisition first resource file that record supervision list is corresponding updates store path and the literary composition of first resource file Part title, updates the first resource file after store path and file name will update finally according to file and is loaded in internal memory, And use the first resource file after renewal to replace the first resource file before updating in resource file mapping table.The present invention is real Execute in example and by targeted surveillance list, Resource TOC can be monitored, when there being first resource file generation Status Change, First resource file after updating is loaded in internal memory, is realized by the first resource file after reading the renewal in internal memory Renewal to the first resource file in resource file mapping table, the loading of above-mentioned first resource file is not required to exit The program run, just can be implemented with the first resource file after fast browsing to renewal, the present invention by resource file mapping table Example can realize the heat loading to resource file, it is not necessary to exit the program being currently running and can complete the loading of resource file Journey.
For ease of being better understood from and implement the such scheme of the embodiment of the present invention, corresponding application scenarios of illustrating below comes It is specifically described.The embodiment of the present invention can realize the heat loading of resource file, next so that game application to provide The heat of source file carries out illustrated in greater detail as a example by loading.In game running, the state of resource file changes one shape of generation State altering event, the resource oracle listener in game receives this event, retrieve from event file update store path and Filename, loads resource file again, it is achieved the function reloaded changed by file.The most eurypalynous resource file can enter Row heat loads, and such as, the resource file in the embodiment of the present invention may include that picture, model, outpost of the tax office solid, script, game Role, sound and animation etc., only need the time of several seconds, it is possible to complete the process that one replication adjusts, finally bring completeer Beautiful game products.
In the embodiment of the present invention, the resource file reloading needs is when game starts, the Resource TOC at place It is registered to catalogue monitor in list, when the state of resource file changes, generates an event, when explorer connects When receiving this event, from event, retrieve filename and file updates store path, then update storage road according to file Footpath starts reloading of resource file, updates store path finally according to file and replaces former to concrete resource file mapping table The resource file come, it is achieved the binding again of resource identifier.Achieve when the state of resource file changes, trip need not be exited Play program, it is possible to realize automatically reloading of resource.
The loading method of the resource file that the embodiment of the present invention provides can be embedded in development of games workflow, but each The load mode of resource file is different, and list data leaves in database table, after amendment, needs to call resource crossover tool ResConvert generates binary system (English name: bin) file, and other some resource files, such as attribute configuration file (example As: psheet), behavior tree, script and json (English full name: javascript object notation) file etc., as long as File status changes, and operating game can start automatically reloads program.
Next the heat by json file illustrates as a example by loading, json file belong to AS (English full name: ActionScript) the joining of (English full name: User Interface, English abbreviation: the UI) interface resources of user interface in script Put file, automatically load when game starts, in game running, after the amendment of resource file preserves, the resource management of AS Device can receive the file modification event sent by file monitoring device, the most automatically reloads, and replaces the oldest resource File.In gaming, the interface to use json file data, reopen and read up-to-date configuration information.Illustrate such as Under, can write following code:
By above-mentioned code, the character string information of display on interface is arranged in json file, when have modified character string Content when preserving, reopens interface, it is possible to see that amended content is at once: can obtain at random a low order or in The technical ability book on rank.
Next referring to shown in Fig. 2, the heat loading of the resource file that Fig. 2 provides for the embodiment of the present invention realizes flow process and shows It is intended to.The schematically illustrate of situation typical, in fig. 2, the heat of resource file is carried out with the workflow that the heat of resource file loads Loading is integrated in workflow, and each different part of system is the most interactively with each other, and relevant step is main Include the following:
1, registration resource catalogue, monitors the catalogue needing the Resource TOC monitored to be registered to file monitoring device in list.
2, resource edit instrument is revised and saves resource file, such as: json, btree and psheet etc., such as after amendment Resource file be: Asset0.bin, Asset1.json, Asset2.btree, Asset3.psheet.
3, file monitoring device (File Watcher) detects a resource literary composition in certain Resource TOC that it is monitored Part is altered.Then by event message (GE_FILE_CHANGED) renewal store path and the filename updating file Claim to be sent to reload audiomonitor.
4, reload audiomonitor and receive this message by monitoring event.Then from message, retrieve file update Store path and file name, just start resource file subsequently reloads process.
5, the new resource file changed is loaded in internal memory, is found the mark of old resource file by resource mapping table Symbol, and in resource mapping table, replace its position, originally that old resource file was the most out-of-date, removed from internal memory, Internal memory only retains new resources file.
6, in ensuing game play, begin to use the money that this is new in the place using this resource file Source file data.
In the embodiment of the present invention, resource file is modified to click and is saved in this new resource file and uses in gaming, Time used is the shortest, the time of typically less than 1 second, and system just can use new resource file, and see at once Amended file loads effect.For large-scale game resource, or the overhead reloading needs is excessive, time phase Longer to meeting, but seldom can exceed several seconds.
Next loading procedure hot to resource file in the embodiment of the present invention is illustrated.Heat at resource file adds In load, relate generally to 3 main elements: file monitoring device, reload audiomonitor, and again bind resource file.
First being described in detail file monitoring device, the work of file monitoring device is the catalogue monitoring establishing resource, And when any file changes, notice reloads oracle listener.When game starts, the catalogue registration needing to monitor Monitoring in list to catalogue, such as file monitoring device can perform 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 table
GeFileWatcher::GetInstance().AddWatch("..\\Data\\Table",true);
//swf or gfx
GeFileWatcher::GetInstance().AddWatch("..\\Data\\UI",true);
When creating a resource file (this document need heat load), need to be placed on certain that file monitoring device monitored In Resource TOC.File monitoring device runs in another thread, is ceaselessly monitoring the Resource TOC of registration always, is working as amendment When preserving certain resource file, it is just it will be noted that there is the operation of a written document there occurs, and this change is passed through event It is sent to reload audiomonitor.
Monitor that file can pass through the file event function registration file that steerable system is proprietary, when certain under certain catalogue When file changes, it just can send a corresponding event, the such as realization in Win32 system and employ ReadDirectoryChangesW function.One catalogue is risen by ReadDirectoryChangesW function with an event correlation Come.When the file in this catalogue changes (when performing any file operation), corresponding signal will occur.File is supervised Visual organ pass through GetOverlappedResult function, every 200 milliseconds with regard to poll once this event, see whether it occurs.If Return value is True, it is meant that have a file to there occurs change in target directory.Multiple file sets changed are with one Individual large-scale char buffer returns, and 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 item just can be processed, and show that they are just It is written into disk.
Processed all modified resource files, by event (GE_FILE_CHANGED) and send them to weight Newly loading audiomonitor, the logical code wherein used can be:
GeVariantMap params;
Params [" FilePath "]=GeStr (fullFilePath.CString ());// file path
Params [" Ext "]=GeStr (fileExtension.CString ());// file extension suffix
// there is event
GeEventService::Get().FireEvent(GE_FILE_CHANGED,params);
After being sent, file monitoring device have to again call ReadDirectoryChangesW function and start New snoop procedure, starts the action listener cycle.
Next it is described in detail to reloading audiomonitor, reloads the collection that audiomonitor can be some C++ classes Close, a kind of resource type of each class management, monitor event (GE_FILE_CHANGED) and realize reloading of resource.Again Load audiomonitor registration monitoring file amendment event, prepare the event accepted from file monitoring device and notify once there is notice Issue comes, and just starts the process of a specific resources reloading.In order to be properly completed the work of oneself, reload Audiomonitor obtains file from event and updates store path and file name, it is achieved reloading of resource file.
Next the binding again to resource file illustrates, and after resource file reloads, needs to replace old Resource file, for some simple resource files, their attribute is carried out again assignment and just can solve, as texture or The resource of audio etc, uses handle to represent them, after this kind of resource file reloads, needs according to resource file Renewal store path, to handle map table, finds the handle of old resource file, then new handle value is replaced old money Source file handle value, in game running afterwards, system just can use new resource file.
In the embodiment of the present invention, the hot loading technique of resource file can be substantially reduced game and repeatedly adjust used Time, the resource file that major part is the most general is realized heat and loads function, obtain maximum return with minimum workload.Resource The heat of file loads and have employed news release-subscribing mode and be designed, decrease hot loading code and other modules of system it Between coupling.Heat loads function and has only to use on stream, after forbidding that game is issued by hot loading code Impact (such as: it is plug-in that hacker utilizes update mechanism to realize game) and the compilation speed of minimizing official release, at game nominally issued Before, #ifdefs statement can be used, it is easy to these codes are removed by ground.
In the embodiment of the present invention, the hot loading technique of resource file can be after amendment resource file, it is not necessary to exits and restarts trip Play program, just it can be seen that amended file loading result, thus realize quick to game, the most repeatedly adjust, greatly The speed that improve development of games.Use hot loading technique it should be noted that same in embodiments of the present invention, may subtract Less or increase different file and change step, as utilized crossover tool file to be converted to another kind of file format, then to newly File status change generate event message.Method in the embodiment of the present invention may be used for loading other any type of money Source, such as binary file, texture file etc..File status change notification in the embodiment of the present invention can by other mode, As used procotol, or command mode.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should know Knowing, embodiment described in this description belongs to preferred embodiment, involved action and the module not necessarily present invention Necessary.
For ease of preferably implementing the such scheme of the embodiment of the present invention, phase for implement such scheme is also provided below Close device.
Refer to shown in Fig. 3-a, the charger 300 of a kind of resource file that the embodiment of the present invention provides, may include that Catalogue Registering modules 301, monitoring module 302, acquisition module 303 and resource updates module 304, wherein,
Catalogue Registering modules 301, for monitoring in list by needing the Resource TOC monitored to be registered to catalogue, described resource Catalogue includes: at least one resource file;
Monitoring module 302, for monitoring that to described catalogue the Resource TOC in list carries out file status change prison Control;
Acquisition module 303, for when detecting that described catalogue monitors the first resource file generation Status Change in list Time, according to described catalogue monitor monitored results corresponding to list obtain the file of described first resource file update store path and The file name of described first resource file;
Resource updates module 304, after updating according to described file renewal store path and described file name First resource file is loaded in internal memory, and uses the first resource file after described renewal to replace in resource file mapping table First resource file before renewal.
In some embodiments of the invention, described catalogue Registering modules 301, specifically for needing the resource mesh monitored Record is registered in the targeted surveillance list of file monitoring device;
Described monitoring module 302, monitors in list specifically for detecting described catalogue by described file monitoring device Resource TOC in whether have the file status of resource file to change.
In some embodiments of the invention, refer to shown in Fig. 3-b, described monitoring module 302, including:
Event correlation module 3021, for by the Resource TOC in described targeted surveillance list and Status Change event correlation Get up;
According to preset polling cycle, event generation judge module 3022, for judging whether described Status Change event is sent out Raw, when described Status Change event occurs, determine that described target is supervised according to the monitored results that the supervision list of described catalogue is corresponding Depending on list occurs the resource file of Status Change, when described Status Change event does not occur, determine described targeted surveillance List does not has resource file generation Status Change.
In some embodiments of the invention, refer to shown in Fig. 3-c, described acquisition module 303, including:
For the monitored results corresponding according to the supervision list of described catalogue, interpretation of result module 3031, determines that described target is supervised Regard the resource file that Status Change occurs in list as first resource file;
Sending module 3032, for sending event message to reloading audiomonitor, described event message includes: described the The file of one resource file updates store path and the file name of described first resource file;
Event message parsing module 3033, for determining institute by the described audiomonitor described event message of parsing that reloads State file and update store path and described file name.
In some embodiments of the invention, described resource updates module 304, deposit specifically for updating according to described file Storage path and described file name obtain the identifier of the first resource file after described renewal, by described resource file mapping table The identifier of the first resource file before middle renewal replaces with the identifier of the first resource file after described renewal.
In some embodiments of the invention, refer to shown in Fig. 3-d, the charger 300 of described resource file, also wraps Including: file display module 305, the first resource file after described resource updates module 304 uses described renewal replaces After first resource file before updating in resource file mapping table, after reading described renewal from described resource file mapping table First resource file, resource application interface shows the first resource file after described renewal.
By the above description to the embodiment of the present invention, first the Resource TOC monitored will be needed to be registered to catalogue prison Depending in list, Resource TOC includes: at least one resource file, then catalogue being monitored, the Resource TOC in list carries out file Status Change monitors, and when detecting that catalogue monitors the first resource file generation Status Change in list, monitors according to catalogue The file of the monitored results acquisition first resource file that list is corresponding updates store path and the file name of first resource file, Update the first resource file after store path and file name will update finally according to file to be loaded in internal memory, and use more First resource file after Xin replaces the first resource file before updating in resource file mapping table.Can in the embodiment of the present invention Resource TOC is monitored by targeted surveillance list, when there being first resource file generation Status Change, after updating First resource file be loaded in internal memory, realize resource literary composition by reading the first resource file after the renewal in internal memory The renewal of the first resource file in part mapping table, the loading of above-mentioned first resource file is not required to exit the journey being currently running Sequence, just can be permissible in the embodiment of the present invention with the first resource file after fast browsing to renewal by resource file mapping table Realize the heat loading to resource file, it is not necessary to exit the program being currently running and can complete the loading procedure of resource file.
The embodiment of the present invention additionally provides another kind of terminal, as shown in Figure 4, for convenience of description, illustrate only and this The part that bright embodiment is relevant, concrete ins and outs do not disclose, and refer to embodiment of the present invention method part.This terminal is permissible For including mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), the arbitrarily terminal unit such as vehicle-mounted computer, as a example by terminal is as mobile phone:
Fig. 4 is illustrated that the block diagram of the part-structure of the mobile phone relevant to the terminal of embodiment of the present invention offer.With reference to figure 4, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 1010, memorizer 1020, input block 1030, display unit 1040, sensor 1050, voicefrequency circuit 1060, Wireless Fidelity (wireless fidelity, WiFi) module 1070, processor The parts such as 1080 and power supply 1090.It will be understood by those skilled in the art that the handset structure shown in Fig. 4 is not intended that right The restriction of mobile phone, can include that ratio illustrates more or less of parts, or combine some parts, or different parts cloth Put.
Below in conjunction with Fig. 4 each component parts of mobile phone carried out concrete introduction:
RF circuit 1010 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, by base station After downlink information receives, process to processor 1080;It addition, be sent to base station by designing up data.Generally, RF circuit 1010 include but not limited to antenna, at least one amplifier, transceiver, bonder, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuit 1010 can also be led to network and other equipment by radio communication Letter.Above-mentioned radio communication can use arbitrary communication standard or agreement, includes 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), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memorizer 1020 can be used for storing software program and module, and processor 1080 is stored in memorizer by operation The software program of 1020 and module, thus perform the application of various functions and the data process of mobile phone.Memorizer 1020 can be led Including storage program area and storage data field, wherein, needed for storage program area can store operating system, at least one function Application program (such as sound-playing function, image player function etc.) etc.;Storage data field can store the use institute according to mobile phone The data (such as voice data, phone directory etc.) etc. created.Additionally, memorizer 1020 can include that high random access stores Device, it is also possible to include nonvolatile memory, for example, at least one disk memory, flush memory device or other volatibility are solid State memory device.
Input block 1030 can be used for receiving numeral or the character information of input, and produce with the user setup of mobile phone with And function controls relevant key signals input.Specifically, input block 1030 can include contact panel 1031 and other inputs Equipment 1032.Contact panel 1031, also referred to as touch screen, can collect user thereon or neighbouring touch operation (such as user Use any applicable object such as finger, stylus or adnexa behaviour on contact panel 1031 or near contact panel 1031 Make), and drive corresponding attachment means according to formula set in advance.Optionally, contact panel 1031 can include touching detection Device and two parts of 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 sends can be received and performed.Additionally, The polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be used to realize contact panel 1031.Except touch surface Plate 1031, input block 1030 can also include other input equipments 1032.Specifically, other input equipments 1032 can include But it is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more.
Display unit 1040 can be used for each of the information that inputted by user of display or the information being supplied to user and mobile phone Plant menu.Display unit 1040 can include display floater 1041, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) Configure display floater 1041.Further, contact panel 1031 can cover display floater 1041, when contact panel 1031 detects Arrive thereon or after neighbouring touch operation, send processor 1080 to determine the type of touch event, with preprocessor 1080 provide corresponding visual output according to the type of touch event on display floater 1041.Although in the diagram, contact panel 1031 with display floater 1041 be to realize input and the input function of mobile phone as two independent parts, but some reality Execute in example, can be by integrated to contact panel 1031 and display floater 1041 and realize input and the output function of mobile phone.
Mobile phone may also include at least one sensor 1050, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor can include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light Light and shade regulate the brightness of display floater 1041, proximity transducer can cut out display floater when mobile phone moves in one's ear 1041 and/or backlight.As the one of motion sensor, accelerometer sensor can detect (generally three axles) in all directions and add The size of speed, can detect that size and the direction of gravity time static, can be used for identifying application (the such as horizontal/vertical screen of mobile phone attitude Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;As for mobile phone also Other sensors such as configurable gyroscope, barometer, drimeter, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 1060, speaker 1061, microphone 1062 can provide the audio interface between user and mobile phone.Audio frequency The signal of telecommunication after the voice data conversion that circuit 1060 can will receive, is transferred to speaker 1061, speaker 1061 changes Export for acoustical signal;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 1062, by voicefrequency circuit 1060 Voice data is converted to after reception, then after voice data output processor 1080 is processed, through RF circuit 1010 to be sent to ratio Such as another mobile phone, or voice data is exported to memorizer 1020 to process further.
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 the user wireless broadband internet and has accessed.Although Fig. 4 shows WiFi module 1070, but it is understood that, it is also not belonging to must be configured into of mobile phone, can not change as required completely Omit in the scope of the essence becoming invention.
Processor 1080 is the control centre of mobile phone, utilizes various interface and the various piece of the whole mobile phone of connection, It is stored in the software program in memorizer 1020 and/or module by running or performing, and calls and be stored in memorizer 1020 Interior data, perform the various functions of mobile phone and process data, thus mobile phone is carried out integral monitoring.Optionally, processor 1080 can include one or more processing unit;Preferably, processor 1080 can integrated application processor and modulation /demodulation process Device, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor is mainly located Reason radio communication.It is understood that above-mentioned modem processor can not also be integrated in processor 1080.
Mobile phone also 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 is logically contiguous with processor 1080, thus realizes management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.
Although not shown, mobile phone can also include photographic head, bluetooth module etc., does not repeats them here.
In embodiments of the present invention, the processor 1080 included by this terminal also has control and performs above to be performed by terminal The loading method step of resource file.
Additionally it should be noted that, device embodiment described above is only schematically, wherein said as separating The unit of part description can be or may not be physically separate, and the parts shown as unit can be or also Can not be physical location, i.e. may be located at a place, or can also be distributed on multiple NE.Can be according to reality The needing of border selects some or all of module therein to realize the purpose of the present embodiment scheme.It addition, what the present invention provided In device embodiment accompanying drawing, the annexation between module represents have communication connection between them, specifically can be implemented as one Bar or a plurality of communication bus or holding wire.Those of ordinary skill in the art are not in the case of paying creative work, the most permissible Understand and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that can borrow to the present invention The mode helping software to add required common hardware realizes, naturally it is also possible to include special IC, specially by specialized hardware Realize with CPU, private memory, special components and parts etc..Generally, all functions completed by computer program can Realize with corresponding hardware easily, and, the particular hardware structure being used for realizing same function can also be multiple many Sample, such as analog circuit, digital circuit or special circuit etc..But, the most more in the case of software program real It it is now more preferably embodiment.Based on such understanding, prior art is made by technical scheme the most in other words The part of contribution can embody with the form of software product, and this computer software product is stored in the storage medium that can read In, such as the floppy disk of computer, USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory Device (RAM, Random Access Memory), magnetic disc or CD etc., including some instructions with so that a computer sets Standby (can be personal computer, server, or the network equipment etc.) performs the method described in each embodiment of the present invention.
In sum, above example only in order to technical scheme to be described, is not intended to limit;Although with reference to upper State embodiment the present invention has been described in detail, it will be understood by those within the art that: it still can be to upper State the technical scheme described in each embodiment to modify, or wherein portion of techniques feature is carried out equivalent;And these Amendment or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (12)

1. the loading method of a resource file, it is characterised in that including:
Monitor that in list, described Resource TOC includes by needing the Resource TOC monitored to be registered to catalogue: at least one resource literary composition Part;
Described catalogue is monitored, and the Resource TOC in list carries out file status change monitoring;
When detecting that described catalogue monitors the first resource file generation Status Change in list, monitor row according to described catalogue The monitored results that table is corresponding obtains the file of described first resource file and updates store path and the literary composition of described first resource file Part title;
Update the first resource file after store path and described file name will update according to described file to be loaded in internal memory, And use the first resource file after described renewal to replace the first resource file before updating in resource file mapping table.
Method the most according to claim 1, it is characterised in that described will need monitor Resource TOC be registered to catalogue prison Depending in list, including:
It is registered to needing the Resource TOC monitored in the targeted surveillance list of file monitoring device;
The described Resource TOC monitored described catalogue in list carries out file status change monitoring, including:
Detect described catalogue monitors whether there is the file of resource file in the Resource TOC in list by described file monitoring device State changes.
Method the most according to claim 1, it is characterised in that the described Resource TOC monitored described catalogue in list enters Style of writing part Status Change monitoring, including:
Resource TOC in described targeted surveillance list is got up with Status Change event correlation;
Judge whether described Status Change event occurs according to preset polling cycle, when described Status Change event occurs, The resource literary composition that Status Change occurs in described targeted surveillance list is determined according to the monitored results that the supervision list of described catalogue is corresponding Part, when described Status Change event does not occur, determines and does not has resource file generation state to become in described targeted surveillance list More.
Method the most according to claim 1, it is characterised in that described when detecting that described catalogue monitors first in list During resource file generation Status Change, monitor, according to described catalogue, the monitored results described first resource file of acquisition that list is corresponding File update store path and the file name of described first resource file, including:
The money that Status Change occurs in described targeted surveillance list is determined according to the monitored results that the supervision list of described catalogue is corresponding Source file is first resource file;
Sending event message to reloading audiomonitor, described event message includes: the file of described first resource file updates Store path and the file name of described first resource file;
Determine that described file updates store path and described file by the described audiomonitor described event message of parsing that reloads Title.
Method the most according to any one of claim 1 to 4, it is characterised in that first after the described renewal of described use Resource file replaces the first resource file before updating in resource file mapping table, including:
The mark of the first resource file after store path and the described renewal of acquisition of described file name is updated according to described file Symbol, the identifier of the first resource file before updating in described resource file mapping table replaces with the first money after described renewal The identifier of source file.
Method the most according to any one of claim 1 to 4, it is characterised in that first after the described renewal of described use After resource file replaces the first resource file before updating in resource file mapping table, described method also includes:
From described resource file mapping table, read the first resource file after described renewal, resource application interface shows institute State the first resource file after renewal.
7. the charger of a resource file, it is characterised in that including:
Catalogue Registering modules, for monitoring in list by needing the Resource TOC monitored to be registered to catalogue, described Resource TOC bag Include: at least one resource file;
Monitoring module, for monitoring that to described catalogue the Resource TOC in list carries out file status change monitoring;
Acquisition module, is used for when detecting that described catalogue monitors the first resource file generation Status Change in list, according to Described catalogue monitors that monitored results corresponding to list obtains the file of described first resource file and update store path and described the The file name of one resource file;
Resource updates module, for updating the first resource after store path and described file name will update according to described file File is loaded in internal memory, and use the first resource file after described renewal replace in resource file mapping table update before First resource file.
Device the most according to claim 7, it is characterised in that described catalogue Registering modules, specifically for monitoring needs Resource TOC be registered in the targeted surveillance list of file monitoring device;
Described monitoring module, monitors the resource mesh in list specifically for detecting described catalogue by described file monitoring device Whether record there is the file status of resource file change.
Device the most according to claim 7, it is characterised in that described monitoring module, including:
Event correlation module, for getting up the Resource TOC in described targeted surveillance list with Status Change event correlation;
Event generation judge module, for judging whether described Status Change event occurs according to preset polling cycle, works as institute When stating the generation of Status Change event, determine in described targeted surveillance list according to the monitored results that the supervision list of described catalogue is corresponding There is the resource file of Status Change, when described Status Change event does not occur, determine in described targeted surveillance list and do not have There is resource file generation Status Change.
Device the most according to claim 7, it is characterised in that described acquisition module, including:
Interpretation of result module, determines in described targeted surveillance list for the monitored results corresponding according to the supervision list of described catalogue The resource file that Status Change occurs is first resource file;
Sending module, for reloading audiomonitor transmission event message, described event message includes: described first resource literary composition The file of part updates store path and the file name of described first resource file;
Event message parsing module, for determining described file more by the described audiomonitor described event message of parsing that reloads New store path and described file name.
11. according to the device according to any one of claim 7 to 10, it is characterised in that described resource updates module, specifically uses The identifier of the first resource file after update store path and the described renewal of acquisition of described file name according to described file, The identifier of the first resource file before updating in described resource file mapping table replaces with the first resource after described renewal The identifier of file.
12. according to the device according to any one of claim 7 to 10, it is characterised in that the charger of described resource file, Also including: file display module, the first resource file after described resource updates module uses described renewal replaces money After first resource file before updating in source file mapping table, after reading described renewal from described resource file mapping table First resource file, shows the first resource file after described renewal 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 true CN106155750A (en) 2016-11-23
CN106155750B 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)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371880A (en) * 2016-09-06 2017-02-01 珠海金山网络游戏科技有限公司 Resource hot-loading rapid iteration game making system and method
CN106899441A (en) * 2017-03-16 2017-06-27 网易(杭州)网络有限公司 Malfunctioning node localization method and device
CN107395428A (en) * 2017-08-11 2017-11-24 杭州迪普科技股份有限公司 Version file upgrade method, device, server and client device
CN109542531A (en) * 2018-10-26 2019-03-29 阿里巴巴集团控股有限公司 A kind of file layout method of adjustment and device
CN109671147A (en) * 2018-12-27 2019-04-23 网易(杭州)网络有限公司 Texture mapping generation method and device based on threedimensional model
CN109783214A (en) * 2018-12-29 2019-05-21 广州供电局有限公司 Task schedule control system
CN109814884A (en) * 2018-12-27 2019-05-28 珠海西山居互动娱乐科技有限公司 A kind of method and system carrying out resource management according to game resource type
CN109840116A (en) * 2017-11-27 2019-06-04 北京京东尚科信息技术有限公司 A kind of method and apparatus loading resource file
CN110960855A (en) * 2019-12-19 2020-04-07 米哈游科技(上海)有限公司 Communication protocol code updating method and device, electronic equipment and storage medium
CN111538488A (en) * 2020-04-17 2020-08-14 荏原冷热系统(中国)有限公司 Method and device for generating single-chip microcomputer driving program
CN111552673A (en) * 2020-04-29 2020-08-18 咪咕文化科技有限公司 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
CN113064609A (en) * 2021-03-05 2021-07-02 深圳市欢太科技有限公司 Resource loading method, client, server and storage medium
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应用", 《计算机科学》 *

Cited By (21)

* 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
CN106371880A (en) * 2016-09-06 2017-02-01 珠海金山网络游戏科技有限公司 Resource hot-loading rapid iteration game making system and method
CN106899441A (en) * 2017-03-16 2017-06-27 网易(杭州)网络有限公司 Malfunctioning node localization method and device
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
CN109542531A (en) * 2018-10-26 2019-03-29 阿里巴巴集团控股有限公司 A kind of file layout method of adjustment and device
CN109671147A (en) * 2018-12-27 2019-04-23 网易(杭州)网络有限公司 Texture mapping generation method and device based on threedimensional model
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
CN109783214A (en) * 2018-12-29 2019-05-21 广州供电局有限公司 Task schedule control system
CN110960855A (en) * 2019-12-19 2020-04-07 米哈游科技(上海)有限公司 Communication protocol code updating method and device, electronic equipment and storage medium
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
CN111538488A (en) * 2020-04-17 2020-08-14 荏原冷热系统(中国)有限公司 Method and device for generating single-chip microcomputer driving program
CN111552673A (en) * 2020-04-29 2020-08-18 咪咕文化科技有限公司 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
CN113064609A (en) * 2021-03-05 2021-07-02 深圳市欢太科技有限公司 Resource loading method, client, server and storage medium
CN113064609B (en) * 2021-03-05 2024-05-28 深圳市欢太科技有限公司 Resource loading method, client, server and storage medium

Also Published As

Publication number Publication date
CN106155750B (en) 2018-09-07

Similar Documents

Publication Publication Date Title
CN106155750A (en) The loading method of a kind of resource file and device
CN106557330B (en) Method and device for processing notification information of notification bar of mobile terminal system and mobile terminal
CN110147237B (en) Redundant resource removing method and device
CN107219976A (en) Application display method and related product
CN107329985B (en) Page collection method and device and mobile terminal
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
CN106020987A (en) Method and device for determining kernel running configurations in processor
CN106126176B (en) A kind of audio collocation method and mobile terminal
CN104850434A (en) Method and apparatus for downloading multimedia resources
CN103678502B (en) Information collection method and device
CN106293901A (en) The process management method of a kind of terminal applies and device
CN103346921A (en) User management method, relevant equipment and communication system
CN111966491B (en) Method for counting occupied memory and terminal equipment
CN104954159A (en) Network information statistics method and device
CN109814930A (en) A kind of application loading method, device and mobile terminal
CN103945241A (en) Streaming data statistical method, system and related device
CN105955739A (en) Graphical interface processing method, apparatus and system
CN106484326A (en) A kind of data transmission processing method and mobile terminal
CN106528335A (en) Data backup method and device and terminal
CN106201748A (en) Method, device and the mobile terminal of a kind of Message Processing based on mobile terminal
CN103607431B (en) Mobile terminal resource processing method, device and equipment
CN106227566A (en) Application program download control method, device and terminal unit in application shop
CN106502833A (en) Data back up method and device
CN105550316A (en) Pushing method and device of audio list
CN106657254A (en) Synchronization method, device and system for contact information

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