CN106407115B - The test method and device of fine arts resource file - Google Patents
The test method and device of fine arts resource file Download PDFInfo
- Publication number
- CN106407115B CN106407115B CN201610835986.3A CN201610835986A CN106407115B CN 106407115 B CN106407115 B CN 106407115B CN 201610835986 A CN201610835986 A CN 201610835986A CN 106407115 B CN106407115 B CN 106407115B
- Authority
- CN
- China
- Prior art keywords
- fine arts
- resource file
- arts resource
- version
- file set
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/368—Test management for test version control, e.g. updating test cases to a new software version
Abstract
The invention discloses a kind of test methods and device of fine arts resource file.Wherein, this method includes:Obtain the second fine arts resource file set of the first fine arts resource file set and the second edition number of first version number, and second fine arts resource change record of the fine arts resource file set relative to the first fine arts resource file set, wherein, first version number is earlier than the second edition number;Determine the first fine arts resource file set adduction relationship set mutual with whole fine arts resource files in the second fine arts resource file set;Fine arts resource file set to be compared is obtained using fine arts resource change record and adduction relationship set;To include in same form from version before the modification for the fine arts resource file chosen in fine arts resource file set to be compared and version after modification.It is cumbersome that the present invention solves the fine arts resource file test method operating process provided in the relevant technologies, the relatively low technical problem of testing efficiency.
Description
Technical field
The present invention relates to computer software fields, in particular to a kind of test method and dress of fine arts resource file
It sets.
Background technology
In the related technology, Game development teams can usually be gone out by program code and fine arts resource construction one it is abundant more
Color gaming world.It is playing in the process of development, is changing there are a large amount of fine arts resource iteration and repeatedly and optimize.And for
It tests for team, is a vital job to the monitoring and management of fine arts resource using version control system, test
Personnel wish to ensure as far as possible that the fine arts resource that fine arts personnel submit is correct by using various ways.In addition, in U.S.
During art resource iteration, a large amount of fine arts resource change will produce.That is, fine arts personnel provide the identical fine arts in different time
Source is modified, by taking model 1 as an example, fine arts personnel version different from two will be obtained after modification before changing model 1
Number, it is respectively labeled as version number A and version number B herein, the modification based on fine arts personnel to model 1, version number A and version number B
It has differences, then, then the model 1 being properly termed as in game is changed to version number B by version number A.For this purpose, tester needs
Ensure that the performance of the change of these fine arts resources in gaming is correct, and meets design object.
In current mobile phone games test job, the test method for the change of fine arts resource is:Tester passes through
Version Management Software obtains the fine arts resource that fine arts personnel submit in current iteration and changes listed files, and latest edition is run in mobile phone
This games search the adduction relationship between fine arts resource, root according to the listed files changed first in editing machine
Determine the upper resource of this change file of reference again according to the adduction relationship.Such as:Assuming that a kind of adduction relationship is:In model 1
Bone, textures, action, special efficacy are referred to, and during this fine arts resource changes, textures 1 therein are had modified, although patch
Figure is that can not be shown as an individual, but game engine can show reference textures 1 in game engine
Model 1, then, the fine arts resource file changed herein is textures 1, and model 1 is the upper resource for quoting textures 1.Then
Search corresponding fine arts resource one by one in gaming, whether the performance for observing these fine arts resources is correct, the change of some resources
(variation that can be clearly felt that is observed by the naked eye, such as:The bone of model or action change) it needs to change
At this moment front and back comparison must need, by running the games of legacy version, to observe its performance before changing.By with top
There is abnormal fine arts resource after determining change in method, such as:Lead to mould because the textures on model is caused to lack for artificial incorrect operation
Type, which is shown, to go wrong, alternatively, action special efficacy mismatches, color is too dark.Finally, the abnormal problem that will be seen that by tester is anti-
Feed fine arts personnel, then is modified to the fine arts resource there are abnormal problem by fine arts personnel, and resubmits, is packaged, then
It feeds back to tester and re-starts test.
However, although above-mentioned testing scheme can ensure to carry out effectively monitoring management to fine arts resource, still deposit
In following defect:
(1) integrated testability flow is relatively complicated, and testing efficiency is relatively low.Such as:It needs using manual type in editing machine
The adduction relationship between fine arts resource is searched one by one, between determining specific resources after existing adduction relationship, needs to observe these U.S.s
The performance of art resource is needed with the presence or absence of exception before safeguarding new and old two versions simultaneously or being switched by Version
Latter two different editions could realize the contrast difference between new and old edition.
(2) process for more becoming particular content in list mapping to game by resource file is very complicated, and test every time is required for
Again the adduction relationship of resource is searched one by one in art editor's device.
(3) modification of part fine arts resource influences whether other many places fine arts resources, has been difficult to by manual search mode
Site preparation searches these impacted fine arts resource file set.
(4) need simultaneously safeguard change former and later two versions games, not only operating process is cumbersome, and maintenance at
This is higher.
Tester is executing the games needed when the test of fine arts Regression of Resources using legacy version, generally use with
Lower two ways reaches test purpose:
Mode one, during the test, observes newest fine arts resource, if necessary in the games of new edition first
The comparison of front and back version is carried out, then version control system can be utilized version that modified fine arts resource switch be before changing
This, then reruns games to observe the fine arts resource before modification.Such mode is only applicable to check that fine arts personnel are single
The test of secondary modification, and when fine arts personnel are repeatedly changed, this mode needs frequent switching new and old edition, and uncomfortable
With.
Mode two, the games for safeguarding new and old two versions, the suitable fine arts personnel whithin a period of time of this method deposit
The multiple modification the case where, by safeguarding that the legacy version games before fine arts personnel's first revision and fine arts personnel are last
The new version games once changed can test the multiple modification that fine arts personnel carried out more conveniently.But such side
Games of the formula due to needing two versions of maintenance, maintenance cost are higher.For above-mentioned problem, not yet propose at present
Effective solution scheme.
Invention content
An embodiment of the present invention provides a kind of test methods and device of fine arts resource file, at least to solve the relevant technologies
Provided in fine arts resource file test method operating process it is cumbersome, the relatively low technical problem of testing efficiency.
One side according to the ... of the embodiment of the present invention provides a kind of test method of fine arts resource file, including:
Obtain the second fine arts resource file collection of the first fine arts resource file set and the second edition number of first version number
The fine arts resource change record of conjunction and the second fine arts resource file set relative to the first fine arts resource file set, wherein
First version number is earlier than the second edition number;It determines in the first fine arts resource file set and the second fine arts resource file set all
The mutual adduction relationship set of fine arts resource file;It is obtained using fine arts resource change record and adduction relationship set to be compared
Fine arts resource file set;It will be from version before the modification for the fine arts resource file chosen in fine arts resource file set to be compared
This is shown in version after modification in same form, wherein version pair after version corresponds to first version number and changes before modification
It should be in the second edition number.
Optionally, the first fine arts resource file set, the second fine arts resource file set and the change of fine arts resource are obtained
Record includes:Receive first version number input by user and the second edition number;Request message is sent to version server, wherein
First version number and the second edition number are carried in request message;Receive first U.S. that version server is returned according to request message
Art resource file set, the second fine arts resource file set and fine arts resource change record.
Optionally it is determined that the first fine arts resource file set and whole resource file phases in the second fine arts resource file set
Mutually between adduction relationship set include:It is traversed step by step in the corresponding fine arts resource file structure of the first fine arts resource file set
Reference parameter information in part or all of fine arts resource file, obtains the first adduction relationship subset, wherein reference parameter information
It is used to indicate by the fine arts resource file of the fine arts resource file reference positioned at current level;In the second fine arts resource file set
Reference parameter information in ergodic part or whole fine arts resource file step by step in corresponding fine arts resource file structure obtains the
Two adduction relationship subsets;Adduction relationship set is determined according to the union of the first adduction relationship subset and the second adduction relationship subset.
Optionally, fine arts resource file set to be compared is obtained using fine arts resource change record and adduction relationship set
Including:Obtaining step:The still untreated fine arts corresponding with fine arts resource change entry are obtained from fine arts resource change record
Resource file;Finding step:According to the fine arts resource file that adduction relationship set is inversely searched and got, there are adduction relationships
Fine arts resource file, and the fine arts resource file got is added to the fine arts resource file inversely found to be compared
Fine arts resource file set;Judge in fine arts resource change record with the presence or absence of still untreated fine arts resource change entry;
If it is present obtaining step is back to, if it does not exist, then determining fine arts resource file set to be compared.
Optionally, version and version after modification include in same form before by the modification of the fine arts resource file of selection
Before, further include:By fine arts resource file set to be compared include in form by list mode, wherein in lists
Including:Resource information corresponding with each fine arts resource file to be compared, adduction relationship information and processing label information;Root
The selection operation executed in lists according to user determines the fine arts resource file chosen.
Optionally, include being wrapped in same form by version before the modification of the fine arts resource file of selection and version after modification
It includes:Call game engine interface by version before modification include in the first display area of form, by version after modification include regarding
Second display area of window, wherein the first display area and the second display area non-overlapping copies;Adjustment input by user is received to refer to
It enables, the display content in the first display area and/or the second display area is adjusted.
Another aspect according to the ... of the embodiment of the present invention additionally provides a kind of test device of fine arts resource file, including:
First acquisition module, for obtaining the first fine arts resource file set of first version number and the second edition number
Two fine arts resource file set and the second fine arts resource file set are provided relative to the fine arts of the first fine arts resource file set
Source change record, wherein first version number is earlier than the second edition number;Determining module, for determining the first fine arts resource file collection
Close the adduction relationship set mutual with whole fine arts resource files in the second fine arts resource file set;Second acquisition module,
For obtaining fine arts resource file set to be compared using fine arts resource change record and adduction relationship set;First display mould
Block, for by from version before the modification for the fine arts resource file chosen in fine arts resource file set to be compared with modification after version
Originally it is shown in same form, wherein version corresponds to the second edition after version corresponds to first version number and changes before modification
Number.
Optionally, the first acquisition module includes:First receiving unit, for receiving first version number input by user and the
Two version numbers;Transmission unit, for sending request message to version server, wherein carry first version in request message
Number with the second edition number;Second receiving unit, the first fine arts resource returned according to request message for receiving version server
File set, the second fine arts resource file set and fine arts resource change record.
Optionally it is determined that module includes:First Traversal Unit, in the corresponding fine arts of the first fine arts resource file set
Reference parameter information in ergodic part or whole fine arts resource file step by step in resource file structure, obtains the first adduction relationship
Subset, wherein reference parameter information is used to indicate by the fine arts resource file of the fine arts resource file reference positioned at current level;
Second Traversal Unit, in the corresponding fine arts resource file structure of the second fine arts resource file set step by step ergodic part or
Reference parameter information in whole fine arts resource files obtains the second adduction relationship subset;Determination unit, for drawing according to first
Adduction relationship set is determined with the union of relationship subset and the second adduction relationship subset.
Optionally, the second acquisition module includes:Acquiring unit is not yet handled for being obtained from fine arts resource change record
With the corresponding fine arts resource file of fine arts resource change entry;Searching unit, for inversely being searched according to adduction relationship set
There are the fine arts resource files of adduction relationship with the fine arts resource file that gets, and by the fine arts resource file got with it is inverse
Fine arts resource file set to be compared is added to the fine arts resource file found;Judging unit, for judging that the fine arts provide
Entry is changed with the presence or absence of still untreated fine arts resource in the change record of source, and when judging unit output is is, is back to
Acquiring unit determines fine arts resource file set to be compared when judging unit output is no.
Optionally, above-mentioned apparatus further includes:Second display module, for passing through list mode by fine arts resource to be compared
File set is shown in form, wherein includes in lists:Resource letter corresponding with each fine arts resource file to be compared
Breath, adduction relationship information and processing label information;Determining module, the selection operation for being executed in lists according to user,
Determine the fine arts resource file chosen.
Optionally, the first display module includes:Display unit is shown for version before calling game engine interface that will change
Include in the second display area of form by version after modification in the first display area of form, wherein the first display area with
Second display area non-overlapping copies;Adjustment unit, for receiving adjust instruction input by user, to the first display area and/or
Display content in second display area is adjusted.
In embodiments of the present invention, using the second fine arts resource file set of the acquisition second edition number relative to the first edition
The fine arts resource change record of this number the first fine arts resource file set and determine the first fine arts resource file set and the
The mode of the mutual adduction relationship set of whole fine arts resource files, provides by using the fine arts in two fine arts resource file set
Source change record and adduction relationship set obtain fine arts resource file collection merging to be compared will be from fine arts resource text to be compared
Version is shown in version after modification in same form before the modification for the fine arts resource file chosen in part set, and having reached can
The adduction relationship between fine arts resource file is dynamically maintained, lookup is all affected because of fine arts resource file content alteration
Fine arts resource file set, and by former and later two versions of the fine arts resource file in the set in the same form into
It goes while showing, in order to the purpose that tester is compared, in addition, this programme need not be run simultaneously changes former and later two
The games of version, effectively reduce maintenance cost, to realize simplified testing process, improve the technology effect of testing efficiency
Fruit, and then solve that the fine arts resource file test method operating process provided in the relevant technologies is cumbersome, and testing efficiency is relatively low
The technical issues of.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and is constituted part of this application, this hair
Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the test method of fine arts resource file according to the ... of the embodiment of the present invention;
Fig. 2 is fine arts resource file structure schematic diagram according to the preferred embodiment of the invention;
Fig. 3 is the structure diagram of the test device of fine arts resource file according to the ... of the embodiment of the present invention;
Fig. 4 is the structure diagram of the test device of fine arts resource file according to the preferred embodiment of the invention.
Specific implementation mode
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The every other embodiment that member is obtained without making creative work should all belong to the model that the present invention protects
It encloses.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, "
Two " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that using in this way
Data can be interchanged in the appropriate case, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover
It includes to be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment to cover non-exclusive
Those of clearly list step or unit, but may include not listing clearly or for these processes, method, product
Or the other steps or unit that equipment is intrinsic.
According to embodiments of the present invention, a kind of embodiment of the test method of fine arts resource file is provided, needs to illustrate
It is that step shown in the flowchart of the accompanying drawings can execute in the computer system of such as a group of computer-executable instructions,
Also, although logical order is shown in flow charts, and it in some cases, can be to be executed different from sequence herein
Shown or described step.
Fig. 1 is the flow chart of the test method of fine arts resource file according to the ... of the embodiment of the present invention, as shown in Figure 1, the party
Method includes the following steps:
Second fine arts of step S12, the first fine arts resource file set and the second edition number that obtain first version number provide
Source file set and the second fine arts resource file set change note relative to the fine arts resource of the first fine arts resource file set
Record, wherein first version number is earlier than the second edition number;
Step S14 determines the first fine arts resource file set and whole fine arts resources in the second fine arts resource file set
The mutual adduction relationship set of file;
Step S16 obtains fine arts resource file collection to be compared using fine arts resource change record and adduction relationship set
It closes;
Step S18, will be from version before the modification for the fine arts resource file chosen in fine arts resource file set to be compared
It is shown in same form with version after modification, wherein version corresponds to after version corresponds to first version number and changes before modification
In the second edition number.
Through the above steps, the second fine arts resource file set for obtaining the second edition number may be used relative to the first edition
The fine arts resource change record of this number the first fine arts resource file set and determine the first fine arts resource file set and the
The mode of the mutual adduction relationship set of whole fine arts resource files, provides by using the fine arts in two fine arts resource file set
Source change record and adduction relationship set obtain fine arts resource file collection merging to be compared will be from fine arts resource text to be compared
Version is shown in version after modification in same form before the modification for the fine arts resource file chosen in part set, and having reached can
The adduction relationship between fine arts resource file is dynamically maintained, lookup is all affected because of fine arts resource file content alteration
Fine arts resource file set, and by former and later two versions of the fine arts resource file in the set in the same form into
It goes while showing, in order to which the purpose that tester is compared improves testing efficiency to realize simplified testing process
Technique effect, and then it is cumbersome to solve the fine arts resource file test method operating process provided in the relevant technologies, test effect
The relatively low technical problem of rate.
Fine arts resource file in game can include but is not limited at least one of:Document scene, moves model file
File, special efficacy file and textures file are drawn, the file structure of fine arts resource file is complex, specifically,
Model file mainly consists of the following parts:
(1) gim model files (xml formats), including:The logical data of model;
(2) mesh grid files (binary format), including:Vertex data supports flexible vertex format and space
Surround information;
(3) gis animation files (binary format), including:One group of skeletal structure and multigroup action data;
(4) mtg material files (xml formats), including:Material quality data;
(5) ags mounts message file (xml formats), including:Mounting point (Socket) data, motion transition data, action
Thing flip-flop data;
Special efficacy file mainly consists of the following parts:
(1) sfx files are xml formats, store specific details;
(2) dds files, i.e. texture file can be quoted in sfx;
Textures file, common type include mainly:Tga, bmp, png etc..
Optionally, in step s 12, obtain the first fine arts resource file set, the second fine arts resource file set and
Fine arts resource change record may include step performed below:
Step S121 receives first version number input by user and the second edition number;
Step S122 sends request message, wherein first version number and the is carried in request message to version server
Two version numbers;
Step S123 receives the first fine arts resource file set that version server is returned according to request message, and second is beautiful
Art resource file set and fine arts resource change record.
Tester can select to need two versions of the fine arts resource file being compared and input corresponding first
Version number and the second edition number.In addition, version server can store the fine arts personnel submission all resource change records (including:
The modification that is executed to fine arts resource file is added, deletes operation).
Client can ask the first of first version number to version server according to first version number and the second edition number
Fine arts resource file set, the second fine arts resource file set of the second edition number and the fine arts resource file of Liang Ge version numbers
Resource change record between set, and resource change record is divided into following three types:
(1) it changes, such as:The material of personality resource's model is revised as blue by grey, alternatively, the textures to special efficacy carry out
Modification, causes the display effect of special efficacy to change;
(2) it adds, such as:Fine arts resource file has increased special efficacy newly in current version, and lacks the spy in legacy version
Effect, therefore special display effect is not present, new version normally shows the special efficacy;
(3) it deletes, such as:Special efficacy is deleted in new version, and can normally be shown in legacy version, and new version is shown
Special efficacy is not present.
Then, client safeguards the first fine arts resource file set of first version number and the in the same games
Second fine arts resource file set of two version numbers, these fine arts resource files are exactly U.S. that development of games is really presented in the process
Art resource is available to content sources of the game engine as display.
It, can be with free switching to tester by safeguarding the fine arts resource intersection of two versions in same games
In specified version, supported to show that the fine arts resource of two versions provides content in the same games, it can be to avoid
The games of two versions are safeguarded in test process, are reduced maintenance cost, are simplified testing process.
Optionally, it in step S14, determines complete in the first fine arts resource file set and the second fine arts resource file set
Resource file mutual adduction relationship set in portion's may include step performed below:
Step S141, in the corresponding fine arts resource file structure of the first fine arts resource file set step by step ergodic part or
Reference parameter information in whole fine arts resource files obtains the first adduction relationship subset, wherein reference parameter information is for referring to
Show by the fine arts resource file of the fine arts resource file reference positioned at current level;
Step S142, in the corresponding fine arts resource file structure of the second fine arts resource file set step by step ergodic part or
Reference parameter information in whole fine arts resource files obtains the second adduction relationship subset;
Step S143 determines adduction relationship collection according to the union of the first adduction relationship subset and the second adduction relationship subset
It closes.
Game engine needs to indicate various resource units using different file formats, the reference of these resource units
Relationship be programmed in respective file by certain parameter format, such as:Model A refers to textures B, then in model A
There can be one section of code for referring to textures B in file, used specific code format is also each in different file types
It differs.Therefore, in the adduction relationship between combing all resources, each resource file is needed to be traversed for, then according still further to default
Reference code format explain these adduction relationships.
Fig. 2 is fine arts resource file structure schematic diagram according to the preferred embodiment of the invention.As shown in Fig. 2, initializing
In the process, the file structure that can be set according to game engine parses local all fine arts resource files, from mould
Type (model) file starts to traverse down, successively sets up the adduction relationship between various files, such as:Model files →
Ags mounts message file → sfx special efficacys file → png textures files.After having traversed whole fine arts resource files, storage passes through
Traverse obtained adduction relationship set.
By being parsed to all fine arts resource files got from version server, the Dynamic Maintenance portion fine arts
Adduction relationship between resource file, can be promptly by the content of resource file list mapping to game, it is possible thereby to keep away
Exempt to frequent switch on editing machine, to search the reference details between resource, can quickly to navigate to the interior of related resource in gaming
Hold, and then greatly improve testing efficiency, reduces the operation complexity of manpower search.
Optionally, in step s 16, the fine arts to be compared are obtained using fine arts resource change record and adduction relationship set
Resource file set may include step performed below:
Step S161 obtains still untreated U.S. corresponding with fine arts resource change entry from fine arts resource change record
Art resource file;
Step S162, according to the fine arts resource file that adduction relationship set is inversely searched and got, there are adduction relationships
Fine arts resource file, and the fine arts resource file got is added to the fine arts resource file inversely found to be compared
Fine arts resource file set;
Step S163 judges in fine arts resource change record with the presence or absence of still untreated fine arts resource change entry;Such as
Fruit exists, then is back to step S161, if it does not exist, then determining fine arts resource file set to be compared.
According to the adduction relationship set between resource change record and resource, all U.S.s in difference two versions of reverse search
Then art resource obtains the set of fine arts resource file to be compared.
There is the situation reused in the adduction relationship between fine arts resource file, such as:One png textures file may
Cited in multiple sfx special efficacys files, and a sfx special efficacys file may be further cited in multiple gim model files.
Therefore, if a png textures file is changed, there may be multiple gim model files and be affected.
According to adduction relationship set since the adduction relationship of the bottom upward reverse search, successively search affected
Resource file set.Such as:Assuming that is changed is textures file 1, then first looking for the spy influenced by textures file 1
File 1 and special efficacy file 2 are imitated, then searches the ags mounting message files 1 influenced by special efficacy file 1 again and by special efficacy text
The ags that part 2 influences mounts message file 3, finally obtains impacted model file.Therefore, above-mentioned fine arts resource to be compared
The set of file should include:Textures file 1, special efficacy file 1, special efficacy file 2, ags mount message file 1, and ags mounts information
File 3 and model file.
By the change record of adduction relationship set and fine arts resource, reverse search goes out to be influenced by modification resource
Resource collection is quoted, avoids the case where manpower search will appear omission, and also improve the coverage rate of test.
Optionally, include same by version before the modification of the fine arts resource file of selection and version after modification in step S18
Can also include step performed below before in one form:
Fine arts resource file set to be compared is included in form by list mode, wherein arranging by step S19
Table includes:Resource information corresponding with each fine arts resource file to be compared, adduction relationship information and processing label letter
Breath;
Step S20, the selection operation executed in lists according to user determine the fine arts resource file chosen.
By resource file list management function can by affected model file intersection using list form into
Row display, can specifically be further divided into following functions:
(1) resource information is shown, that is, shows affected file path and corresponding action, display model title and
Special efficacy title;
(2) adduction relationship is shown, that is, shows the change resource file referred to, show the resource change type (modification,
It adds, delete)
(3) mark function, using different colours label to the processing mode of resource file entry, such as:The money that do not check
Source file entry uses gray display, and the resource file entry checked is shown using green, the resource file item checked
Mesh is shown using blue;And there is abnormal resource file in label, make hook and click there are abnormal resource file entry is available
Mode record, and be marked as different colors.
Optionally, in step S18, by version before the modification of the fine arts resource file of selection with modification after version include
It may include step performed below in same form:
Version before modification is included that will be changed in the first display area of form by step S181, calling game engine interface
Version is shown in the second display area of form afterwards, wherein the first display area and the second display area non-overlapping copies;
Step S182 receives adjust instruction input by user, to aobvious in the first display area and/or the second display area
Show that content is adjusted.
It can be waited in the selection in resource file list that is affected according to tester by double version resource display functions
Display specific resource file, and further by the interface of game engine by two versions of specified comparison in the same form
In shown, while also provide repeat playing action, camera lens adjustment, amplification with reduce and broadcasting speed adjustment etc. multinomial work(
Can, concrete function is as follows:
(1) resource of new and old edition is shown, including:The model of legacy version is placed in the left side of Same Scene, while on the right side
Place the model of new version in side;It is repeated playing automatically after creating special efficacy;Action is articulated on model, clicks i.e. repeatable broadcast
It puts;
(2) resource display adjustment function, specifically includes:
1) it repeats playing:The action of repeatable playing model;
2) camera lens adjusts:Adjust the height of camera lens;
3) size adjusts:Zoom in or out model or special efficacy;
4) position adjusts:It, can be with mobility model or special efficacy for ease of comparing;
5) broadcasting speed adjusts:Accelerate or slow down the action broadcasting speed of model;
6) window operation synchronizes:Choosing can allow all feature operations on new and old two versions, conversely, then can be independent
Operate the content of one of version.
By calling the interface of game engine, one by one by each fine arts resource in affected fine arts resource file set
The new and old edition of file is shown in the same form, and then reduces maintenance cost.Tester is by comparing front and back two
The fine arts resource file of a version is marked the fine arts resource file being abnormal and feeds back to fine arts personnel.As a result, may be used
To realize that specified version number's free switching any two version according to tester carries out fine arts resource file comparison;Together
When, also support multi-platform test, i.e. personal computer (PC) client and cell-phone customer terminal that can carry out contrast test.
According to embodiments of the present invention, a kind of embodiment of the test device of fine arts resource file is provided, Fig. 3 is according to this
The structure diagram of the test device of the fine arts resource file of inventive embodiments, as shown in figure 3, the first acquisition module 10, for obtaining
Take the first fine arts resource file set of first version number and the second fine arts resource file set and second of the second edition number
Fine arts resource change record of the fine arts resource file set relative to the first fine arts resource file set, wherein first version number
Earlier than the second edition number;Determining module 20, for determining the first fine arts resource file set and the second fine arts resource file set
The mutual adduction relationship set of middle whole fine arts resource file;Second acquisition module 30, for using fine arts resource change note
Record and adduction relationship set obtain fine arts resource file set to be compared;First display module 40, for will be to be compared
Version is shown in version after modification in same form before the modification for the fine arts resource file chosen in fine arts resource file set,
Wherein, version corresponds to the second edition number after version corresponds to first version number and changes before changing.
Optionally, Fig. 4 is the structure diagram of the test device of fine arts resource file according to the preferred embodiment of the invention, such as
Shown in Fig. 4, the first acquisition module 10 includes:First receiving unit 100, for receiving first version number input by user and second
Version number;Transmission unit 102, for sending request message to version server, wherein carry first version in request message
Number with the second edition number;Second receiving unit 104 is provided for receiving version server according to first fine arts that request message returns
Source file set, the second fine arts resource file set and fine arts resource change record.
Optionally, as shown in figure 4, determining module 20 includes:First Traversal Unit 200, in the first fine arts resource text
Reference parameter information in ergodic part or whole fine arts resource file step by step in the corresponding fine arts resource file structure of part set,
Obtain the first adduction relationship subset, wherein reference parameter information is used to indicate is drawn by the fine arts resource file positioned at current level
Fine arts resource file;Second Traversal Unit 202, in the corresponding fine arts resource file of the second fine arts resource file set
Reference parameter information in ergodic part or whole fine arts resource file step by step in structure, obtains the second adduction relationship subset;Really
Order member 204, for determining adduction relationship set according to the union of the first adduction relationship subset and the second adduction relationship subset.
Optionally, as shown in figure 4, the second acquisition module 30 includes:Acquiring unit 300 is remembered for being changed from fine arts resource
Still untreated fine arts resource file corresponding with fine arts resource change entry is obtained in record;Searching unit 302 is drawn for basis
There are the fine arts resource files of adduction relationship for the fine arts resource file inversely searched and got with set of relationship, and will get
Fine arts resource file and the fine arts resource file that inversely finds be added to fine arts resource file set to be compared;Judge single
Member 304 changes entry with the presence or absence of still untreated fine arts resource in fine arts resource change record for judging, and is judging list
Member output, when judging unit output is no, determines fine arts resource file collection to be compared when being, to be back to acquiring unit
It closes.
Optionally, as shown in figure 4, above-mentioned apparatus can also include:Second display module 50, being used for will by list mode
Fine arts resource file set to be compared is shown in form, wherein includes in lists:With each fine arts resource to be compared
The corresponding resource information of file, adduction relationship information and processing label information;Determining module 60 is used for according to user in list
The selection operation of middle execution determines the fine arts resource file chosen.
Optionally, as shown in figure 4, the first display module 40 includes:Display unit 400, for calling game engine interface
By version before modification include in the first display area of form, by version after modification include in the second display area of form,
In, the first display area and the second display area non-overlapping copies;Adjustment unit 402, for receiving adjust instruction input by user,
Display content in first display area and/or the second display area is adjusted.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
In the above embodiment of the present invention, all emphasizes particularly on different fields to the description of each embodiment, do not have in some embodiment
The part of detailed description may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, for example, the unit division, Ke Yiwei
A kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module
It connects, can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
On unit.Some or all of unit therein can be selected according to the actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can to store program code
Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (12)
1. a kind of test method of fine arts resource file, which is characterized in that including:
The second fine arts resource file set for obtaining the first fine arts resource file set and the second edition number of first version number, with
And fine arts resource change record of second fine arts resource file set relative to first fine arts resource file set,
In, the first version number is earlier than the second edition number;
Determine first fine arts resource file set and whole fine arts resource files in second fine arts resource file set
Mutual adduction relationship set;
Fine arts resource file set to be compared is obtained using the fine arts resource change record and the adduction relationship set;
It will be after version before the modification for the fine arts resource file chosen in the fine arts resource file set to be compared and modification
Version is shown in same form, wherein version corresponds to version after the first version number and the modification before the modification
Corresponding to the second edition number.
2. according to the method described in claim 1, it is characterized in that, obtain first fine arts resource file set, described the
Two fine arts resource file set and the fine arts resource change record include:
Receive the first version number input by user and the second edition number;
Request message is sent to version server, wherein the first version number and described the are carried in the request message
Two version numbers;
Receive first fine arts resource file set that the version server is returned according to the request message, described second
Fine arts resource file set and the fine arts resource change record.
3. according to the method described in claim 1, it is characterized in that, determining first fine arts resource file set and described the
The mutual adduction relationship set of whole resource files includes in two fine arts resource file set:
Ergodic part or whole fine arts step by step in the corresponding fine arts resource file structure of first fine arts resource file set
Reference parameter information in resource file obtains the first adduction relationship subset, wherein the reference parameter information be used to indicate by
The fine arts resource file quoted positioned at the fine arts resource file of current level;
Ergodic part or whole fine arts step by step in the corresponding fine arts resource file structure of second fine arts resource file set
Reference parameter information in resource file obtains the second adduction relationship subset;
The adduction relationship set is determined according to the union of the first adduction relationship subset and the second adduction relationship subset.
4. according to the method described in claim 1, it is characterized in that, being closed using the fine arts resource change record and the reference
Assembly closes the acquisition fine arts resource file set to be compared:
Obtaining step:Still untreated U.S. corresponding with fine arts resource change entry is obtained from the fine arts resource change record
Art resource file;
Finding step:According to the fine arts resource file that the adduction relationship set is inversely searched and got, there are adduction relationships
Fine arts resource file, and the fine arts resource file got is added to the fine arts resource file inversely found described
Fine arts resource file set to be compared;
Judge in the fine arts resource change record with the presence or absence of still untreated fine arts resource change entry;If it is present
It is back to the obtaining step, if it does not exist, then determining the fine arts resource file set to be compared.
5. according to the method described in claim 1, it is characterized in that, before by the modification of the fine arts resource file of the selection version
Before this is shown in version after modification in the same form, further include:
By the fine arts resource file set to be compared include in form by list mode, wherein in the list
Including:Resource information corresponding with each fine arts resource file to be compared, adduction relationship information and processing label information;
According to the selection operation that user executes in the list, the fine arts resource file of the selection is determined.
6. according to the method described in claim 5, it is characterized in that, by version before the modification of the fine arts resource file of the selection
It is shown in the same form with version after modification and includes:
Version before the modification is included in the first display area of the form, after the modification by calling game engine interface
Version is shown in the second display area of the form, wherein first display area and second display area are mutually not
Overlapping;
The adjust instruction input by user is received, to aobvious in first display area and/or second display area
Show that content is adjusted.
7. a kind of test device of fine arts resource file, which is characterized in that including:
First acquisition module, for obtaining the first fine arts resource file set of first version number and second U.S. of the second edition number
The U.S. of art resource file set and second fine arts resource file set relative to first fine arts resource file set
Art resource change record, wherein the first version number is earlier than the second edition number;
Determining module, for determining in first fine arts resource file set and second fine arts resource file set all
The mutual adduction relationship set of fine arts resource file;
Second acquisition module, for obtaining U.S. to be compared using the fine arts resource change record and the adduction relationship set
Art resource file set;
First display module, for repairing the fine arts resource file chosen from the fine arts resource file set to be compared
Version is shown in version after modification in same form before changing, wherein version corresponds to the first version number before the modification
And version corresponds to the second edition number after the modification.
8. device according to claim 7, which is characterized in that first acquisition module includes:
First receiving unit, for receiving the first version number input by user and the second edition number;
Transmission unit, for sending request message to version server, wherein carry the first edition in the request message
This number and the second edition number;
Second receiving unit, first fine arts resource returned according to the request message for receiving the version server
File set, second fine arts resource file set and the fine arts resource change record.
9. device according to claim 7, which is characterized in that the determining module includes:
First Traversal Unit, in the corresponding fine arts resource file structure of first fine arts resource file set step by step time
The reference parameter information in part or all of fine arts resource file is gone through, the first adduction relationship subset is obtained, wherein the reference ginseng
Number information is used to indicate by the fine arts resource file of the fine arts resource file reference positioned at current level;
Second Traversal Unit, in the corresponding fine arts resource file structure of second fine arts resource file set step by step time
The reference parameter information in part or all of fine arts resource file is gone through, the second adduction relationship subset is obtained;
Determination unit, described in being determined according to the union of the first adduction relationship subset and the second adduction relationship subset
Adduction relationship set.
10. device according to claim 7, which is characterized in that second acquisition module includes:
Acquiring unit, it is still untreated corresponding with fine arts resource change entry for being obtained from the fine arts resource change record
Fine arts resource file;
Searching unit is closed for inversely being searched to exist to quote with the fine arts resource file got according to the adduction relationship set
The fine arts resource file of system, and the fine arts resource file got is added to the fine arts resource file inversely found
The fine arts resource file set to be compared;
Judging unit changes item in the fine arts resource change record for judging with the presence or absence of still untreated fine arts resource
Mesh, and when judging unit output is is, it is back to the acquiring unit, when judging unit output is no, really
The fixed fine arts resource file set to be compared.
11. device according to claim 7, which is characterized in that described device further includes:
Second display module, for by list mode by the fine arts resource file set to be compared include in form,
Wherein, include in the list:Resource information corresponding with each fine arts resource file to be compared, adduction relationship information with
And processing label information;
Determining module, the selection operation for being executed in the list according to user determine the fine arts resource text of the selection
Part.
12. according to the devices described in claim 11, which is characterized in that first display module includes:
Version before the modification is included in the first viewing area of the form for calling game engine interface by display unit
Version after the modification is included in the second display area of the form by domain, wherein first display area and described the
Two display area non-overlapping copies;
Adjustment unit shows first display area and/or described second for receiving the adjust instruction input by user
Show that the display content in region is adjusted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610835986.3A CN106407115B (en) | 2016-09-20 | 2016-09-20 | The test method and device of fine arts resource file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610835986.3A CN106407115B (en) | 2016-09-20 | 2016-09-20 | The test method and device of fine arts resource file |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106407115A CN106407115A (en) | 2017-02-15 |
CN106407115B true CN106407115B (en) | 2018-09-18 |
Family
ID=57997995
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610835986.3A Active CN106407115B (en) | 2016-09-20 | 2016-09-20 | The test method and device of fine arts resource file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106407115B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107861858B (en) * | 2017-12-04 | 2021-02-19 | 网易(杭州)网络有限公司 | File detection method and device, storage medium and processor |
CN108704312A (en) * | 2018-04-26 | 2018-10-26 | 网易(杭州)网络有限公司 | The test method and device of fine arts resource |
CN109753289B (en) * | 2019-01-14 | 2023-02-03 | 网易(杭州)网络有限公司 | Art resource merging method and device, electronic equipment and storage medium |
CN109857655B (en) * | 2019-01-17 | 2022-07-01 | 珠海金山网络游戏科技有限公司 | Method and system for detecting dynamic performance of art resources |
CN110188074B (en) * | 2019-05-13 | 2022-09-02 | 珠海格力电器股份有限公司 | File editing mark display method and equipment |
CN111400245B (en) * | 2020-03-25 | 2023-09-26 | 网易(杭州)网络有限公司 | Art resource migration method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102117219A (en) * | 2011-03-09 | 2011-07-06 | 深圳市融创天下科技发展有限公司 | Method for generating clients, system and terminal equipment |
CN105138347A (en) * | 2015-07-17 | 2015-12-09 | 广东欧珀移动通信有限公司 | Difference upgrade patch generating method, software upgrading method and corresponding apparatus |
CN105608011A (en) * | 2016-03-01 | 2016-05-25 | 网易(杭州)网络有限公司 | Determination method and device for code testing coverage rate statistical results |
CN105740016A (en) * | 2016-01-28 | 2016-07-06 | 腾讯科技(深圳)有限公司 | Increment issuance method and device, upgrade method and device of application program |
CN105808227A (en) * | 2014-12-31 | 2016-07-27 | 北京畅游天下网络技术有限公司 | Art resource file detection method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8949317B2 (en) * | 2010-01-21 | 2015-02-03 | Versaic Inc. | Metadata-configurable systems and methods for network services |
-
2016
- 2016-09-20 CN CN201610835986.3A patent/CN106407115B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102117219A (en) * | 2011-03-09 | 2011-07-06 | 深圳市融创天下科技发展有限公司 | Method for generating clients, system and terminal equipment |
CN105808227A (en) * | 2014-12-31 | 2016-07-27 | 北京畅游天下网络技术有限公司 | Art resource file detection method and device |
CN105138347A (en) * | 2015-07-17 | 2015-12-09 | 广东欧珀移动通信有限公司 | Difference upgrade patch generating method, software upgrading method and corresponding apparatus |
CN105740016A (en) * | 2016-01-28 | 2016-07-06 | 腾讯科技(深圳)有限公司 | Increment issuance method and device, upgrade method and device of application program |
CN105608011A (en) * | 2016-03-01 | 2016-05-25 | 网易(杭州)网络有限公司 | Determination method and device for code testing coverage rate statistical results |
Also Published As
Publication number | Publication date |
---|---|
CN106407115A (en) | 2017-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106407115B (en) | The test method and device of fine arts resource file | |
KR101105177B1 (en) | Data container for user interface content data | |
CN107302475A (en) | The method of testing and device of a kind of Based on Distributed storage cluster | |
CN109710511B (en) | AB test method, device, server and storage medium | |
CN105447902B (en) | Animation processing method and device | |
CN106528124B (en) | Page Template dissemination method and system | |
CN105138371B (en) | Method for upgrading software and device | |
US20040243381A1 (en) | Automated test execution framework with central management | |
CN107391107A (en) | The restorative procedure and device of a kind of application program | |
CN105787364B (en) | Automatic testing method, device and system for tasks | |
CN104866556B (en) | Fault handling method, device and the Database Systems of database | |
CN104717302B (en) | A kind of information-pushing method and device | |
CN105049514B (en) | A kind of document down loading method and device | |
CN109344126B (en) | Method and device for processing map, storage medium and electronic device | |
CN106789202A (en) | service management device and method | |
CN104765609B (en) | Software context resource recommendation method, acquisition methods and corresponding device | |
CN110413282A (en) | A kind of redundant resource processing method, device, equipment and storage medium | |
CN105912324A (en) | Method and device for generating Web page | |
CN105933309A (en) | Content processing method and device between we-media platforms | |
CN106294037A (en) | Strike-machine method of testing and device | |
CN107357605A (en) | The method and apparatus for running installation file | |
CN109062578B (en) | Development platform based on APP modularization | |
CN105843751A (en) | Image display method and device as well as mobile terminal | |
CN115391223A (en) | Traffic recording playback-based non-invasive strategy reconstruction method and device | |
CN107220174A (en) | A kind of method and device of automatic test |
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 |