CN106371880B - A kind of system and method for resource heat load iteratively faster game making - Google Patents

A kind of system and method for resource heat load iteratively faster game making Download PDF

Info

Publication number
CN106371880B
CN106371880B CN201610806850.XA CN201610806850A CN106371880B CN 106371880 B CN106371880 B CN 106371880B CN 201610806850 A CN201610806850 A CN 201610806850A CN 106371880 B CN106371880 B CN 106371880B
Authority
CN
China
Prior art keywords
file
game
resource
data
data file
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
CN201610806850.XA
Other languages
Chinese (zh)
Other versions
CN106371880A (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.)
Chengdu Xishanju Interactive Entertainment Technology Co Ltd
Zhuhai Kingsoft Digital Network Technology Co Ltd
Original Assignee
Zhuhai Kingsoft Online Game Technology Co Ltd
Chengdu Xishanju Interactive Entertainment Technology 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 Zhuhai Kingsoft Online Game Technology Co Ltd, Chengdu Xishanju Interactive Entertainment Technology Co Ltd filed Critical Zhuhai Kingsoft Online Game Technology Co Ltd
Priority to CN201610806850.XA priority Critical patent/CN106371880B/en
Publication of CN106371880A publication Critical patent/CN106371880A/en
Application granted granted Critical
Publication of CN106371880B publication Critical patent/CN106371880B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Technical solution of the present invention includes system and the side of a kind of resource heat load iteratively faster game making, for realizing: the source file provided game developer is identified and is converted, and identification and convert file data are loaded onto memory block;The file data being loaded onto memory block is indicated and is monitored in real time using listed files, is obtained when listed files changes and is changed information and sent;Mapping table is produced to the unique identification for the data file and data file monitored, change information is received, the data file of variation is obtained by mapping table, and be loaded onto memory block again, and issue reload instruction;It receives to execute and monitors the reload instruction that module issues, obtain new data file and the file resource for being included by data file re-bind in game system.The invention has the benefit that greatly shortening the development of games period;Enhance the experience and performance of game;The personnel of various positions are facilitated to share out the work and help one another, Optimizing Flow.

Description

A kind of system and method for resource heat load iteratively faster game making
Technical field
The present invention relates to a kind of system and method for resource heat load iteratively faster game making, belong to computer game and open Hair and testing field.
Background technique
It in order to make a game products worked with great care, needs constantly to iterate, constantly practice examination is played, can be with Make product more perfect.Although the technical level of content production personnel largely controls the quality of final game, Their effort is often limited by workflow very troublesome.It is intended merely to have a look the line code of artificial intelligence script What kind of effect changes can generate, and game plan would have to first exit game, re-create one several hundred million resource file, Then this game is reruned again.If art designing and project staff can be allowed quickly, easily to carry out tune repeatedly to game It is whole, so that it may to bring better content, more experimental datas, and to be finally to bring a more perfect game products.
Summary of the invention
In view of the deficiencies of the prior art, technical solution of the present invention provides a kind of resource heat load iteratively faster game system The system and method for work load iteratively faster game making for realizing efficient resource heat.
Technical solution of the present invention includes a kind of system of resource heat load iteratively faster game making, which is characterized in that The system includes: resource conversion module, for the source file that game developer provides to be identified and is converted, and will identification It is loaded onto memory block with the file data of conversion;File monitors module, and the file data for that will be loaded onto memory block makes It is indicated with listed files, and listed files is monitored in real time, obtained when listed files changes and change information And it is sent;It executes and monitors module, produce mapping table for the unique identification to the data file and data file monitored, Further, the change information that the file monitors the listed files variation that module is sent is received, variation is obtained by mapping table Data file, and it is loaded onto memory block again, and issue reload instruction to game actuator;Module is tied up again, is executed for receiving The reload instruction that module issues is monitored, new data file is obtained and the file resource for being included by data file re-bind to In game system.
According to the system of the resource heat load iteratively faster game making, the resource conversion module includes: to know Small pin for the case module, for being identified by file format to the data file for comparing specified format, the data file class identified Type can carry out customized setting;Submodule is checked, for further being analyzed into the data file for meeting format, for examining It measures in the presence of mistake or/and nonsynchronous file data, and is shown using obvious mark;Transform subblock is used for logarithm The data file of specified type is converted to according to file, and is loaded into memory block, not to file data in conversion process Data analysis, Memory Allocation are carried out, wherein data file mainly includes game resource and corresponding dependence;Submodule is relied on, For being checked in conversion process dependence according to the dependence of game resource, simultaneously, corresponding creation is needed The dependence to be re-created.
According to the system of the resource heat load iteratively faster game making, it includes: money that the file, which monitors module, Source directory submodule, for the data file and the creation file monitor list of corresponding game resource to monitoring;Monitor submodule, For creating the corresponding device of a corresponding event using monitor for each file monitor list, the corresponding device of the event for pair File set carries out the poll of regularity, changes when being polled to corresponding file data, generates the corresponding simultaneously feedback information of event To monitor, the monitor, which is used to monitor module to the execution by internet message to send, executes request instruction.
According to the system of the resource heat load iteratively faster game making, the monitoring module includes: port prison Submodule is listened, continues monitoring for carrying out to the specified network port, is asked when receiving the execution that the file monitoring module is sent Instruction is asked to issue the reload instruction to respective file data;Heavily loaded submodule, for being reflected according to heavy duty is specified from mapping table acquisition Relationship is penetrated, the unique identification and its game resource of corresponding data file are further obtained, and then original is loaded onto the trip of memory block Play resource replaces with the game resource after change.
According to the system of the resource heat load iteratively faster game making, the module of tying up again includes: to tie up again Stator modules, the reload instruction for being issued according to the monitoring module transfer the game that the heavily loaded submodule reloads Resource is replaced game resource to be replaced;Adjusting submodule, for after former game resource is replaced, new game to be provided The dependence in source is re-established or/and is handled, and further includes that the dependence established to needs re-establishes.
Technical solution of the present invention further includes a kind of resource heat load iteratively faster game making method, which is characterized in that This method comprises: the source file provided game developer is identified and is converted, and the file data that will be identified and convert It is loaded onto memory block;The file data being loaded onto memory block is indicated using listed files, and to listed files into Row real time monitoring obtains when listed files changes and changes information and sent;To the data file and number monitored Mapping table is produced according to the unique identification of file, further, receives the change that the file monitors the listed files variation that module is sent Change information, the data file of variation is obtained by mapping table, and is loaded onto memory block again, and issue heavy duty to game actuator Instruction;It receives to execute and monitors the reload instruction that module issues, the file for obtaining new data file and being included by data file Resource re-bind in game system.
Further, this method further include: the data file for comparing specified format is identified by file format, is known Other data file class can carry out customized setting;It is further analyzed into the data file for meeting format, for examining It measures in the presence of mistake or/and nonsynchronous file data, and is shown using obvious mark;Data file is converted to specified The data file of type, and be loaded into memory block, data analysis, memory are not carried out to file data in conversion process Distribution, wherein data file mainly includes game resource and corresponding dependence;It is being converted according to the dependence of game resource Dependence is checked in the process, simultaneously, the dependence that corresponding creation needs to re-create.
Further, this method further include: data file and corresponding game resource to monitoring create file monitor list; The corresponding device of a corresponding event is created using monitor for each file monitor list, and the corresponding device of the event is used for file Collection carries out the poll of regularity, changes when being polled to corresponding file data, generates the corresponding simultaneously feedback information of event to prison Device is controlled, the monitor, which is used to monitor module to the execution by internet message to send, executes request instruction.
Further, this method further include: the specified network port is carried out to continue monitoring, monitors mould when receiving the file The execution request instruction that block is sent issues the reload instruction to respective file data;It is mapped according to specified obtained from mapping table of heavy duty Relationship further obtains the unique identification and its game resource of corresponding data file, and then original is loaded onto the game of memory block Resource replaces with the game resource after change.
Further, this method further include: according to the reload instruction that the monitoring module issues, transfer the heavily loaded submodule The game resource reloaded is replaced game resource to be replaced;After former game resource is replaced, new game money The dependence in source is re-established or/and is handled, and further includes that the dependence established to needs re-establishes.
The invention has the benefit that greatly shortening the development of games period;Enhance the experience and performance of game;Facilitate various The personnel of position share out the work and help one another, Optimizing Flow.
Detailed description of the invention
Fig. 1 show the overall construction drawing of embodiment according to the present invention;
Fig. 2 show embodiment data file modified flow figure according to the present invention;
Fig. 3 show the heat load workflow composing schematic diagram of embodiment according to the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, right in the following with reference to the drawings and specific embodiments The present invention is described in detail.The system of resource heat load iteratively faster game making of the invention and side are suitable for development of games And test.
Fig. 1 show the overall construction drawing of embodiment according to the present invention.Wherein resource conversion module, for data text Part is converted and is loaded;File monitors module, monitors listed files and timely responds to change file;It executes and monitors mould Block produces mapping table for the unique identification to the data file and data file monitored, and is added again according to modification information Corresponding data file is carried to memory;Module is tied up again, and heavy duty is carried out to file and readjusts dependence.
Fig. 2 show embodiment data file modified flow figure according to the present invention.For indicating modified data File by conversion, memory block load, game loader tie up again and reconstruction of relations after counterweight is tied up, complete data file and arrive The transformation of game resource, and on the way without carrying out parsing and Memory Allocation to data file.
Fig. 3 show the heat load workflow composing schematic diagram of embodiment according to the present invention.In this drawing, it can see It is how to be integrated into workflow and how interactively with each other each different part of system is to the load of resource heat.Phase The step of pass, shown in following (1)-(7).
(1) game art designing has modified a texture in Photoshop, i.e., is modified to file;
(2) then, he clicks " export " button of customization, saves the source file of texture, and trigger resource conversion program, will TGA file is converted to more optimized binary format, other increasingly complex operations can also be performed in resource conversion program, all Such as: changing color depth (i.e. bit depth) and compressed format, or generate texture mapping using appropriate filter;
(3) at this time, file monitoring device (it monitors relevant file always in running background) can detect There is one to be altered (namely that is by the newly created texture file of resource conversion program) in the file that it is monitored, so Afterwards, by network channel, file monitoring device can contact game actuator, and notify it, this texture file needs again Load;
(4) game actuator receives this message by network.Then, it just retrieves this money from this message The filename in source then just starts the process really reloaded;
(5) texture of this new change is loaded onto content.It does not need to be converted in this operation.Because In the step of front, while exporting this texture file, oneself is through being converted into binary format;
(6) it when that original old texture file has been subjected to, is removed by system, and by this new texture file come generation For its position;
(7) in a next frame, system begins to use this new texture file when being rendered.From That game art designing clicks " export " button, and the texture new to this shows that the time used is very short in gaming , that is, the time (used time of conversion operation+network communication used time+load time) less than 1 second.For large-scale trip The overhead that resource of playing or conversion operation need is excessive, this time, opposite meeting was longer, but also seldom can be more than several seconds Clock.
According to the above implementation, embodiment of the present invention also proposed following 3 kinds of modes, following (a) ~ (c) institute Show, comprising:
(a) TGA file resource conversion program: is converted into binary system texture.In this way, passing through a simple header file lattice Formula, OpenGL can be loaded directly into this texture.
(b) file monitoring device: monitor whether the file in some particular category changes.
(c) show program (actuator): a simple GLUT application program, display 3 added the teacup of texture.It Some port is also monitored, the notice transmitted from file monitoring device is seen if there is.
In order to which test resource heat loads function, this display program can be run first.Then restart file monitoring Device, and indicate that it goes which catalogue monitored, and report to the network address of actuator." textureX.tga " file is modified, Or direct copying is gone over, it is covered.Then operation " Make " is clicked, to trigger resource conversion program.This can also trigger file Then monitor shows as soon as issuing a notice and will do it heavy duty in program at once.
The above, only presently preferred embodiments of the present invention, the invention is not limited to above embodiment, as long as It reaches technical effect of the invention with identical means, all should belong to protection scope of the present invention.In protection model of the invention Its technical solution and/or embodiment can have a variety of different modifications and variations in enclosing.

Claims (9)

1. a kind of system of resource heat load iteratively faster game making, which is characterized in that the system includes:
Resource conversion module, for the source file that game developer provides to be identified and is converted, and will identification and conversion File data be loaded onto memory block, the resource conversion module includes:
Identify submodule, for being identified by file format to the data file for comparing specified format, the data identified File type can carry out customized setting;
Check submodule, for further analyzing the data file for meeting format, for detect exist mistake or/and Nonsynchronous file data, and be shown using obvious mark;
Transform subblock for being converted to the data file of specified type to data file, and is loaded into memory block, Data analysis, Memory Allocation are not carried out to file data in conversion process, wherein data file mainly includes game resource and right Answer dependence;
Submodule is relied on, for checking in conversion process dependence according to the dependence of game resource, simultaneously Ground, the dependence that corresponding creation needs to re-create;
File monitors module, for the file data being loaded onto memory block to be indicated using listed files, and to file List is monitored in real time, is obtained when listed files changes and is changed information and sent;
It executes and monitors module, produce mapping table for the unique identification to the data file and data file monitored, further, The change information that the file monitors the listed files variation that module is sent is received, the data text of variation is obtained by mapping table Part, and it is loaded onto memory block again, and issue reload instruction to game actuator;
Module is tied up again, monitors the reload instruction that issues of module for receiving to execute, and obtains new data file and by data file The file resource for being included re-bind in game system.
2. the system of resource heat load iteratively faster game making according to claim 1, which is characterized in that the text Part monitors module
Resource TOC submodule, for the data file and the creation file monitor list of corresponding game resource to monitoring;
Monitor submodule, it is described for creating the corresponding device of a corresponding event using monitor for each file monitor list The corresponding device of event is used to carry out file set the poll of regularity, changes when being polled to corresponding file data, generates thing Part is corresponding and feedback information is to monitor, and the monitor is used to monitor module to the execution by internet message to send and execute Request instruction.
3. the system of resource heat load iteratively faster game making according to claim 1, which is characterized in that described holds Row monitors module
Port snoop submodule continues monitoring for carrying out to the specified network port, monitors module hair when receiving the file The execution request instruction sent issues the reload instruction to respective file data;
Heavily loaded submodule further obtains corresponding data file for obtaining mapping relations from mapping table according to heavy duty is specified Unique identification and its game resource, and then the game resource that original is loaded onto memory block is replaced with into the game resource after change.
4. the system of resource heat load iteratively faster game making according to claim 3, which is characterized in that the weight Tying up module includes:
Again submodule is bound, the reload instruction for issuing according to the monitoring module transfers the heavily loaded submodule again The game resource of load is replaced game resource to be replaced;
Adjusting submodule, for after former game resource is replaced, the dependence of new game resource re-established or/ And processing, it further include that the dependence established to needs re-establishes.
5. a kind of method of resource heat load iteratively faster game making, which is characterized in that this method comprises:
In the file data that the source file of game developer offer is identified and converted, and will identify and convert is loaded onto In counterfoil;
The file data being loaded onto memory block is indicated using listed files, and listed files is monitored in real time, It is obtained when listed files changes and changes information and sent;
Mapping table is produced to the unique identification for the data file and data file monitored, further, file is received and monitors module The change information of the listed files variation of transmission, the data file of variation is obtained by mapping table, and be loaded onto memory block again, And reload instruction is issued to game actuator;
It receives to execute and monitors the reload instruction that module issues, obtain new data file and the file for being included by data file provides Source re-bind in game system.
6. the method for resource heat load iteratively faster game making according to claim 5, which is characterized in that this method is also Include:
The data file class identified, which can carry out, to be identified to the data file for comparing specified format by file format Customized setting;
It is further analyzed into the data file for meeting format, for detecting there is mistake or/and nonsynchronous number of files According to, and be shown using obvious mark;
The data file of specified type is converted to data file, and is loaded into memory block, it is not right in conversion process File data carries out data analysis, Memory Allocation, and wherein data file mainly includes game resource and corresponding dependence;
Dependence is checked in conversion process according to the dependence of game resource, simultaneously, corresponding creation needs The dependence to be re-created.
7. the method for resource heat load iteratively faster game making according to claim 5, which is characterized in that this method is also Include:
Data file and corresponding game resource to monitoring create file monitor list;
Create the corresponding device of a corresponding event using monitor for each file monitor list, the corresponding device of the event for pair File set carries out the poll of regularity, changes when being polled to corresponding file data, generates the corresponding simultaneously feedback information of event To monitor, the monitor, which is used to monitor module to the execution by internet message to send, executes request instruction.
8. the method for resource heat load iteratively faster game making according to claim 5, which is characterized in that this method is also Include:
The specified network port is carried out to continue monitoring, is issued when receiving the execution request instruction that file monitoring module is sent to right Answer the reload instruction of file data;
Mapping relations are obtained from mapping table according to heavy duty is specified, further obtain the unique identification and its game of corresponding data file Resource, and then the game resource that original is loaded onto memory block is replaced with into the game resource after change.
9. the method for resource heat load iteratively faster game making according to claim 5, which is characterized in that this method is also Include:
The reload instruction that issues of module is monitored according to described execute, the game resource that heavily loaded submodule reloads is transferred and treats and replace The game resource changed is replaced;
After former game resource is replaced, the dependence of new game resource is re-established or/and is handled, and further includes pair The dependence for needing to establish is re-established.
CN201610806850.XA 2016-09-06 2016-09-06 A kind of system and method for resource heat load iteratively faster game making Active CN106371880B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610806850.XA CN106371880B (en) 2016-09-06 2016-09-06 A kind of system and method for resource heat load iteratively faster game making

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610806850.XA CN106371880B (en) 2016-09-06 2016-09-06 A kind of system and method for resource heat load iteratively faster game making

Publications (2)

Publication Number Publication Date
CN106371880A CN106371880A (en) 2017-02-01
CN106371880B true CN106371880B (en) 2019-10-11

Family

ID=57900265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610806850.XA Active CN106371880B (en) 2016-09-06 2016-09-06 A kind of system and method for resource heat load iteratively faster game making

Country Status (1)

Country Link
CN (1) CN106371880B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110032388B (en) * 2019-04-04 2022-04-29 创新先进技术有限公司 Incremental file construction, publishing and downloading method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6694393B1 (en) * 2000-06-30 2004-02-17 Lucent Technologies Inc. Method and apparatus for compressing information for use in embedded systems
CN102799456A (en) * 2012-07-24 2012-11-28 上海晨思电子科技有限公司 Method and device for uploading resource files by game engine, and computer
CN103747029A (en) * 2013-12-10 2014-04-23 北京奇虎科技有限公司 File transmission method, device and system
CN103744673A (en) * 2014-01-06 2014-04-23 北京乐动卓越科技有限公司 Resource allocation method based on iOS (Internet 0perating System) platform
CN106155750A (en) * 2016-07-29 2016-11-23 腾讯科技(深圳)有限公司 The loading method of a kind of resource file and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6694393B1 (en) * 2000-06-30 2004-02-17 Lucent Technologies Inc. Method and apparatus for compressing information for use in embedded systems
CN102799456A (en) * 2012-07-24 2012-11-28 上海晨思电子科技有限公司 Method and device for uploading resource files by game engine, and computer
CN103747029A (en) * 2013-12-10 2014-04-23 北京奇虎科技有限公司 File transmission method, device and system
CN103744673A (en) * 2014-01-06 2014-04-23 北京乐动卓越科技有限公司 Resource allocation method based on iOS (Internet 0perating System) platform
CN106155750A (en) * 2016-07-29 2016-11-23 腾讯科技(深圳)有限公司 The loading method of a kind of resource file and device

Also Published As

Publication number Publication date
CN106371880A (en) 2017-02-01

Similar Documents

Publication Publication Date Title
CN103197952B (en) The management system and method disposed for application system maintenance based on cloud infrastructure
CN102693183B (en) Method and system for realizing automatic software testing
CN106407076B (en) Software and hardware operation information monitoring method based on domestic CPU and operating system environment
CN110413591A (en) A kind of industrial data acquisition method and edge calculations gateway
CN108399114A (en) A kind of system performance testing method, apparatus and storage medium
CN107463362A (en) The method and system of lasting deployment based on multiple Jenkins
Nguyen et al. Batc: a benchmark for aggregation techniques in crowdsourcing
CN107168844B (en) Performance monitoring method and device
CN103716209B (en) A kind of tunnel concurrent test system and equipment
CN111585840A (en) Service resource monitoring method, device and equipment
CN109800081A (en) A kind of management method and relevant device of big data task
CN109284227A (en) A kind of automation method for testing pressure and device calculate equipment and storage medium
CN105868956A (en) Data processing method and device
CN107369003A (en) A kind of intelligent laboratory management system method and system
CN108052402A (en) Method for butting MES system and ERP system in traditional Chinese medicine extraction
Lei et al. Performance and scalability testing strategy based on kubemark
CN106371880B (en) A kind of system and method for resource heat load iteratively faster game making
Wang et al. On the value of quality of service attributes for detecting bad design practices
CN113821538B (en) Stream data processing system based on metadata
CN114372105A (en) ETL tool based method for realizing system automatic inspection
CN110968479A (en) Business-level full-link monitoring method for application program and server
CN106933712A (en) Networking remote test system and method based on B/S frameworks
CN106846529A (en) The method for inspecting and inspection device of cable
CN101534227B (en) Network management software test method and system
Li Design and Implementation of Software Testing Platform for SOA-Based System

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 519000 Room 102, 202, 302 and 402, No. 325, Qiandao Ring Road, Tangjiawan Town, high tech Zone, Zhuhai City, Guangdong Province, Room 102 and 202, No. 327 and Room 302, No. 329

Patentee after: Zhuhai Jinshan Digital Network Technology Co.,Ltd.

Patentee after: CHENGDU XISHANJU INTERACTIVE ENTERTAINMENT TECHNOLOGY Co.,Ltd.

Address before: 519000 Jinshan software building, 8 Lanshan lane, Jida Jingshan Hill Road, Zhuhai, Guangdong

Patentee before: ZHUHAI KINGSOFT ONLINE GAME TECHNOLOGY Co.,Ltd.

Patentee before: CHENGDU XISHANJU INTERACTIVE ENTERTAINMENT TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address