CN106502688A - The processing method and processing device that resource is issued - Google Patents
The processing method and processing device that resource is issued Download PDFInfo
- Publication number
- CN106502688A CN106502688A CN201610941690.XA CN201610941690A CN106502688A CN 106502688 A CN106502688 A CN 106502688A CN 201610941690 A CN201610941690 A CN 201610941690A CN 106502688 A CN106502688 A CN 106502688A
- Authority
- CN
- China
- Prior art keywords
- resource file
- list
- resource
- file
- released
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Abstract
The invention discloses the processing method and processing device that a kind of resource is issued.Wherein, the method includes:Obtain the resource file being currently newly generated and update list;Update the part or all of resource file list that chooses in list in original state to send to one or more first user terminals from resource file;Receive the resource file list to be released for coming from one or more first user terminals;Determine the processing mode of the resource file included in resource file list to be released.The present invention solves that utilization Version provided in correlation technique is cumbersome to scheme that the resource file in multimedia Version resources bank is issued, inefficiency technical problem.
Description
Technical field
The present invention relates to computer realm, in particular to the processing method and processing device that a kind of resource is issued.
Background technology
Development project generally carries out version management and issue using Version.In other words, version management work
Tool is the central server backed up by program code and fine arts resource, and the All Files of development project is stored in this
In server.User can obtain to server, add, changing and deletion file, and by each file of the server record more
Newly, and a version number is given, to track development course of the file in development project, makes each development project
Participant is very clear to the renewal personal information of file, more new content information.All Files can be in same central authorities' clothes
Develop in business and management, participant at any time, in any case, legacy version can be tracked, change or
Return, while also can ensure that data will not surprisingly be capped or lose, suitable so as to realize collaborative work final choice
Version is issued.
However, Version is more suitable for exploitation and manages text, and the picture, three-dimensional for fine arts resource
The larger binary file such as model, then cannot be checked and modification, and therefore, Version is poorly suitable for fine arts people
Member is developed to file and management.
Under normal conditions, fine arts resource can be developed and management using multimedia Version, and which is a kind of
The customized Version of fine arts developer is aimed at, with directly perceived, succinct user interface, but also can be provided
The high-resolution preview of two and three dimensions picture file and thumbnail, and then can quickly and accurately search file destination.This
Outward, multimedia Version additionally provides layer functions, is easy to add annotation and mark picture on each layer picture, and then causes
Allow revise every time very clear, moreover, multimedia Version be also integrated with Photoshop, 3DMAX etc. two dimension with
Three-dimensional conventional drafting instrument, enables to fine arts developer and flexibly switches in different application.
Even so, be used in conjunction with program code as fine arts resource needs to be submitted on Version, for this purpose,
Also need to carry out following operation:
Operation one, multimedia Version provides the command-line tool of a file synchronization, the function of the order
It is:By the file download in server to local directory, while deleting unnecessary file in local directory (i.e. in server not
The file of presence), the file that the order is able to ensure that under local directory is consistent with the file of storage in server, Jin Erzuo
Exist for mirror image copies.In addition, after simultaneously operating is executed using the order, can be between local directory and server
Incidence relation is set up, i.e., an associated with for being responsible for the information such as record version, file index is generated under the local directory
(.get_date.dat), for above-mentioned local directory is referred to herein as local counter list.
By using the synchronous fine arts resource function that multimedia Version is provided, can be by the resources bank of server
In increase newly with the resource acquisition of modification to local counter list, while the non-existent resource of resources bank in the local counter list of deletion.
Operation two, the resource copy that will increase and change cover the local counter list of Version, then upload again
To Version.
Operation three, the resource for deletion, while be also required to be deleted from Version.
In the related, when the resource quantity of modification is excessive, to specifying resource to synchronize and be uploaded to version pipe
Science and engineering tool can become extremely difficult, and can only carry out for the whole resource unifications in multimedia Version resources bank same
Then the resource for synchronously obtaining is uploaded to Version, however, aforesaid operations process can have problems with by step again:
1st, single is synchronized to the unification of whole resources and can consume considerable time.
2nd, cannot realize by specified source synchronous be uploaded to Version, and then the issue of resource cannot be managed,
But need forcibly to execute whole resource unifications synchronously and issue.
3rd, after resource is uploaded to be finished, find that resource has mistake after tester's detection, for example:Model pinup picture position
Putting mistake, weapon takes anti-, model to lack action, the scarce model of scene, in addition it is also necessary to notify related fine arts personnel to remake resource, and right
The mistake that resource is present is revised, and then re-synchronization is uploaded to Version again, is thus caused whole operation mistake
Journey inefficiency.
For above-mentioned problem, effective solution is not yet proposed at present.
Content of the invention
The processing method and processing device that a kind of resource is issued is embodiments provided, at least to solve institute in correlation technique
The scheme behaviour issued to the resource file in multimedia Version resources bank by the utilization Version of offer
Make the technical problem of loaded down with trivial details, inefficiency.
A kind of one side according to embodiments of the present invention, there is provided the processing method that resource is issued, including:
Obtain the resource file being currently newly generated and update list;Update to choose in list from resource file and be in initial shape
The part or all of resource file list of state is sent to one or more first user terminals;Reception comes from one or more
The list to be released of the resource file of one user terminal, wherein, the resource file in resource file list to be released be by one or
Multiple first user terminals are chosen from part or all of resource file list, and the resource file that chooses will be by original state
It is transformed into state to be released;Determine the processing mode of the resource file included in resource file list to be released.
Optionally it is determined that the processing mode of the resource file included in resource file list to be released includes:By resource text
Part list to be released is sent to one or more second user terminals;According to one or more second user terminal feedbacks to money
The result of determination of source file list to be released determines the processing mode of the resource file included in resource file list to be released.
Alternatively, obtaining resource file renewal list includes:To the resource file of storage in first server and local money
Source file counter list synchronizes operation, and wherein, first server is used for carrying out the fine arts resource version management, local resource text
Part counter list is the mirror image copies of the resource file stored in first server;First is generated according to local resource file counter list
Finger print information, wherein, the first finger print information at least includes:The path of each resource file, the modification time of each resource file,
The check value of each resource file;Obtain the second finger print information for executing that last simultaneously operating is generated and stored;First is referred to
Line information and the second finger print information are compared, and search the resource file of generation renewal and using the first operational order from the first clothes
Business device obtains the corresponding Update attribute information of the resource file for occurring to update, and generates resource file and updates list, wherein, updates category
Property information at least includes:Renewal time, renewal user, renewal remarks.
Alternatively, the resource file and local resource file counter list to storing in first server synchronizes operation bag
Include:The resource file that newly-increased resource file and/or modification are obtained using the second operational order from first server;Using the 3rd
Operational order is checked in the recycle bin of first server with the presence or absence of deleted resource file;If it is, in local resource
After the corresponding resource file copy of deleted resource file is deleted in file counter list, complete simultaneously operating;If it is not, then complete
Into simultaneously operating.
Alternatively, the first finger print information and the second finger print information are compared, searches and the resource file for updating occurs simultaneously
The corresponding Update attribute information of the resource file for occurring to update is obtained, generating resource file renewal list includes:Traversal first refers to
The path of each resource file in line information, if do not find corresponding path in the second finger print information, it is determined that current
The resource file of traversal is newly-increased resource file;And/or, the path of each resource file in the first finger print information is traveled through, if
Corresponding path is found in the second finger print information, then the check value of find two resource files is compared, such as
Really inconsistent, it is determined that the resource file of current traversal is modification resource file;And/or, travel through each in the second finger print information
The path of resource file, if do not find corresponding path in the first finger print information, it is determined that the resource text of current traversal
Part is deletion resource file;Newly-increased resource file with determination is obtained from first server using the first operational order and/or is repaiied
Change resource file and/or delete the corresponding Update attribute information of resource file;By newly-increased resource file and/or the modification of determination
Resource file and/or deletion resource file and corresponding Update attribute information generate resource file and update list.
Alternatively, according to the result of determination of one or more second user terminal feedbacks determine processing mode include with down to
One of few:If one or more second user terminals judge the part or all of resource file in resource file list to be released
For not allowing the resource file that issues, then the resource file for not allowing to issue is deleted from resource file list to be released, and will
The state reduction to be released for not allowing the resource file that issues is original state;If one or more second user terminals judge
Part or all of resource file in resource file list to be released is the resource file for allowing to issue, then pending from resource file
The resource file for allowing to issue is deleted in cloth list, and the resource file for allowing to issue is submitted to second server, wherein, the
Two servers are used for allowing the resource file that issues to issue.
Alternatively, when second server is additionally operable to issue the code file for allowing the resource file that issues to match
When, before the resource file for allowing to issue is submitted to second server, also include:To the code stored on second server
File synchronizes operation with local code file counter list, and wherein, local code file counter list is to deposit on second server
The mirror image copies of the code file of storage;Check rule to allowing resource file and the local code file pair of issue using default
The code file associated with the resource file for allowing to issue in catalogue carries out joint inspection;If passing through joint inspection, it is determined that
The resource file for allowing to issue is submitted to second server.
Alternatively, checking rule to allowing the resource file of issue and the code file of association to join using default
Close after checking, also include:Inspection result is fed back to one or more first user terminals and one or more second to use
Family terminal, wherein, inspection result is used for aiding in one or more first user terminals and one or more second user terminals
Judge whether the resource file in resource file list to be released allows to be published.
Another aspect according to embodiments of the present invention, additionally provides the processing meanss that a kind of resource is issued, including:
Acquisition module, updates list for obtaining the resource file being currently newly generated;Module is chosen, for from resource text
Part updates the part or all of resource file list that chooses in list in original state and sends to one or more first users
Terminal;Receiver module, for receiving the resource file list to be released for coming from one or more first user terminals, wherein,
Resource file in resource file list to be released is from part or all of resource file by one or more first user terminals
Choose in list, and the resource file that chooses will be transformed into state to be released by original state;Determining module, for determining money
The processing mode of the resource file included in source file list to be released.
Optionally it is determined that module includes:Transmitting element, for sending list to be released for resource file to one or more
Second user terminal;Processing unit, for according to one or more second user terminal feedbacks to resource file Boulez pending
The result of determination of table determines the processing mode of the resource file included in resource file list to be released.
Alternatively, acquisition module includes:Lock unit, for the resource file to storing in first server and local money
Source file counter list synchronizes operation, and wherein, first server is used for carrying out the fine arts resource version management, local resource text
Part counter list is the mirror image copies of the resource file stored in first server;Signal generating unit, for according to local resource file
Counter list generates the first finger print information, and wherein, the first finger print information at least includes:The path of each resource file, each resource
The modification time of file, the check value of each resource file;First acquisition unit, executes last simultaneously operating life for obtaining
Into and the second finger print information for storing;Second acquisition unit, for the first finger print information and the second finger print information are compared,
The resource file for occurring to update the resource file pair occurred to update using the first operational order is searched from first server acquisition
The Update attribute information that answers, generates resource file and updates list, and wherein, Update attribute information at least includes:Renewal time, renewal
User, renewal remarks.
Alternatively, lock unit includes:First obtains subelement, for being obtained from first server using the second operational order
Take the resource file of newly-increased resource file and/or modification;Judgment sub-unit, for checking the first clothes using the 3rd operational order
Whether there is deleted resource file in the recycle bin of business device;Subelement is processed, for when judgment sub-unit is output as being,
After the corresponding resource file copy of deleted resource file is deleted in local resource file counter list, complete simultaneously operating;
Or, when judgment sub-unit is output as no, complete simultaneously operating.
Alternatively, second acquisition unit includes:Subelement is searched, for traveling through each resource file in the first finger print information
Path, if not finding corresponding path in the second finger print information, it is determined that the resource file of current traversal is newly-increased
Resource file;And/or, the path of each resource file in the first finger print information is traveled through, if searched in the second finger print information
To corresponding path, then the check value of find two resource files is compared, if it is inconsistent, determining current time
The resource file that goes through is modification resource file;And/or, the path of each resource file in the second finger print information is traveled through, if
Corresponding path is not found in first finger print information, it is determined that the resource file of current traversal is deletion resource file;Second
Subelement is obtained, for obtaining and the newly-increased resource file and/or modification for determining from first server using the first operational order
Resource file and/or the corresponding Update attribute information of deletion resource file;Subelement is generated, for the newly-increased resource by determining
File and/or modification resource file and/or deletion resource file and the generation resource file renewal of corresponding Update attribute information
List.
Alternatively, processing unit includes:Subelement is processed, if resource is judged for one or more second user terminals
Part or all of resource file in file list to be released is the resource file for not allowing to issue, then to be released from resource file
The resource file for not allowing to issue is deleted in list, and the state reduction to be released of the resource file that would not allow for issuing is initial
State;And/or, if one or more second user terminals judge the part or all of resource in resource file list to be released
File is the resource file for allowing to issue, then delete the resource file for allowing to issue from resource file list to be released, and will
Allow issue resource file be submitted to second server, wherein, second server be used for allow issue resource file with
And the code file of coupling is issued.
Alternatively, processing unit also includes:Synchronous subelement, for being additionally operable to allowing the money that issues when second server
When the code file that source file matches is issued, to the code file and the local code file pair that store on second server
Catalogue synchronizes operation, and wherein, local code file counter list is the mirror image pair of the code file stored on second server
This;Subelement is checked, for adopting the regular resource file and local code file counter list to allowing to issue of default inspection
In carry out joint inspection with the code file that associates of resource file for allowing to issue;Determination subelement, if for by joint
Check, it is determined that the resource file for allowing to issue is submitted to second server.
Alternatively, processing unit also includes:Feedback subelement, uses for inspection result is fed back to one or more first
Family terminal and one or more second user terminals, wherein, inspection result is used for aiding in one or more first user terminals
And whether the resource file in the list to be released of one or more second user terminal judges resource files allows to be published.
In embodiments of the present invention, list is updated using the resource file that acquisition is currently newly generated, and from resource file
Update the part or all of resource file list that chooses in list in original state to send to one or more first user ends
End, then receives the money for coming from that one or more first user terminals are determined according to above-mentioned part or all of resource file list
The mode of source file list to be released, by determining the processing mode of the resource file included in resource file list to be released,
The complexity for reducing that resource issues operation has been reached, the purpose that resource issues the time that operation is consumed has been reduced, it is achieved thereby that carrying
High resource efficiency for issuing, simplifies the technique effect that resource issues operating process, and then solves the profit provided in correlation technique
With Version is cumbersome to scheme that the resource file in multimedia Version resources bank is issued, effect
The low technical problem of rate.
Description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this
Bright schematic description and description does not constitute inappropriate limitation of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the processing method that resource according to embodiments of the present invention is issued;
Fig. 2 is to generate the schematic diagram that resource file updates list process according to what the preferred embodiment of the present invention was provided;
Fig. 3 is the schematic diagram of efficient resource synchronizing process according to the preferred embodiment of the invention;
Fig. 4 is resource file diversity ratio according to the preferred embodiment of the invention to process schematic;
Fig. 5 is that user terminal/service end interaction that resource management according to the preferred embodiment of the invention is issued is illustrated
Figure;
Fig. 6 is the schematic diagram of resource file checking process according to the preferred embodiment of the invention;
Fig. 7 is the structured flowchart of the processing meanss that resource according to embodiments of the present invention is issued;
Fig. 8 is the structured flowchart of the processing meanss that resource according to the preferred embodiment of the invention is issued.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention in
Accompanying drawing, to the embodiment of the present invention in technical scheme be clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, rather than whole embodiments.Embodiment in based on the present invention, ordinary skill people
The every other embodiment obtained under the premise of creative work is not made by member, should all belong to the model of present invention protection
Enclose.
It should be noted that description and claims of this specification and the term " first " in above-mentioned accompanying drawing, "
Two " it is etc. for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so using
Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except here diagram or
Order beyond those of description is implemented.Additionally, term " comprising " and " having " and their any deformation, it is intended that cover
Lid is non-exclusive to be included, and for example, the process, method, system, product or the equipment that contain series of steps or unit are not necessarily limited to
Those steps that clearly lists or unit, but may include clearly not list or for these processes, method, product
Or intrinsic other steps of equipment or unit.
According to embodiments of the present invention, there is provided a kind of embodiment of the processing method that resource is issued, it should be noted that
The step of flow process of accompanying drawing is illustrated can be executed in the such as computer system of one group of computer executable instructions, also,
Although showing logical order in flow charts, in some cases, can be executed with the order being different from herein shown
The step of going out or describe.
Fig. 1 is the flow chart of the processing method that resource according to embodiments of the present invention is issued, as shown in figure 1, the method bag
Include following steps:
Step S10, obtains the resource file being currently newly generated and updates list;
Step S12, updates the part or all of resource file list that chooses in list in original state from resource file
Send to one or more first user terminals;
Step S14, receives the resource file list to be released for coming from one or more first user terminals, wherein, money
Resource file in source file list to be released be by one or more first user terminals from part or all of resource file
Choose, and the resource file that chooses will be transformed into state to be released by original state;
Step S16, determines the processing mode of the resource file included in resource file list to be released.
By above-mentioned steps, list can be updated using the resource file that acquisition is currently newly generated, and from resource file
Update the part or all of resource file that chooses in list in original state to send to one or more first user terminals, so
Reception comes from one or more first user terminals and is treated according to the resource file that above-mentioned part or all of resource file determines afterwards
List is issued, so that it is determined that the processing mode of the resource file included in resource file list to be released, has reached reduction resource
The complexity of operation is issued, the purpose that resource issues the time that operation is consumed is reduced, it is achieved thereby that resource efficiency for issuing is improved,
Simplify the technique effect that resource issues operating process, and then solve the utilization Version pair provided in correlation technique
Scheme that resource file in multimedia Version resources bank is issued is cumbersome, inefficiency technology is asked
Topic.
It should be noted that the implementation process of the processing method that issues for resource that the embodiment of the present invention is proposed do into
One step is illustrated, and using SVN as Version, AlienBrain as multimedia Version will be hereinafter
Example is described in detail.
Alternatively, in step s 16, determine that the processing mode of the resource file included in resource file list to be released can
To include step performed below:
Step S161, list to be released for resource file is sent to one or more second user terminals;
Step S162, the judgement to resource file list to be released according to one or more second user terminal feedbacks are tied
Fruit determines the processing mode of the resource file included in resource file list to be released.
By sending list to be released for resource file to one or more second user terminals, so as to according to one or many
The result of determination to resource file list to be released of individual second user terminal feedback is determined in resource file list to be released wraps
The processing mode of the resource file for containing.Review mechanism of this programme by introducing second user terminal, such that it is able to send out in resource
Just audited before cloth and tested, the mistake in resource so as to find out the mistake of resource file in advance, after effectively reducing issuing
The rate of mistake.
Alternatively, in step slo, obtaining resource file renewal list can include step performed below:
Step S100, synchronizes behaviour to the resource file and local resource file counter list that store in first server
Make, wherein, first server is used for carrying out the fine arts resource version management, and local resource file counter list is in first server
The mirror image copies of the resource file of storage;
Step S101, generates the first finger print information according to local resource file counter list, and wherein, the first finger print information is at least
Including:The path of each resource file, the modification time of each resource file, the check value of each resource file is (for example:
CRC32, MD5, SHA1, hereinafter will be illustrated by taking MD5 values as an example);
Step S102, obtains the second finger print information for executing that last simultaneously operating is generated and stored;
Step S103, the first finger print information and the second finger print information are compared, and search the resource file for occurring to update
And the corresponding Update attribute information of the resource file for occurring to update is obtained using the first operational order from first server, generate money
Source file updates list, and wherein, Update attribute information at least includes:Renewal time, renewal user, renewal remarks.
Finger print information is generated to the resource file in AlienBrain local resource file counter lists using fingerprint generator
And preserved, finger print information can be included but is not limited to:File path, filemodetime, file MD5 values.Send out when next time
New finger print information is generated again can after raw synchronization, so as to compare to the finger print information for generating twice using fingerprint comparator
Right, to search increase, modification, the resource file that deletes, generate resource file and update list, while also needing to being newly generated
Finger print information is stored, to be compared after subsynchronous under waiting.Each resource that resource file is updated in list passes through
Find orders obtain resource file checkin information to AlienBrain resources banks, and which can include:Checkin user,
Checkin times, checkin remarks, and in adding to resource updates list.
Fig. 2 is to generate the schematic diagram that resource file updates list process, such as Fig. 2 according to what the preferred embodiment of the present invention was provided
Shown, the process for generating resource file renewal list can include step performed below:
The first step, when service end starts first, AlienBrain local resources text is generated by fingerprint generator first
The file fingerprint information of part counter list, is stored as file fingerprint information to be compared, and which is used for waiting next resource text
After part counter list updates, new file fingerprint information is generated, and file fingerprint information to be compared and newly-generated file are referred to
Line information is compared.
Second step, AlientBrain local resources counter list can all trigger literary fingerprint comparator first when every subsynchronous
The file fingerprint information after AlientBrain local resources counter list updates is generated, then obtains previously stored last file
Finger print information, and file fingerprint information will be compared twice, to find out newly-increased, modification and the resource file that deletes.
3rd step, when find there is newly-increased, modification with the resource file that deletes when, then can be by corresponding resource file
Finger print information is updated in last time file fingerprint information, is increased newly and can be completed in the way of using directly renewal is covered with modification,
And the resource that deletes needs to delete corresponding resource file from last time file fingerprint information.
4th step, the resource file renewal by newly-increased, modification with deletion are updated in list to resource file, and resource file is more
New list can be made up of increase resource file list, modification resource file list and deletion resource file list respectively, increased newly
Resource file may be added in increase resource file list, but if deleting in resource file list comprising current increase
Resource file, then need corresponding remove corresponding resource file in resource file list from deleting, the resource file of modification will
Directly increase or cover in modification resource file list, the resource file of deletion can be added to deletion resource file list
In, but if increase having the resource file of current deletion in resource file list, then need corresponding from increase resource file list
Middle delete correspondingly resource file.
For example:Version 1 deletes resource file A, and therefore, resource file A is added in deletion resource file list.So
And, with the addition of resource file A in version 2 again, therefore, resource file A is added in increase resource file list.This
When, although delete, but, be defined by latest edition, that is, retaining increases resource text
The resource file A that includes in part list simultaneously deletes the resource file A included in resource file list is deleted.
5th step, newly-increased, modification are obtained to AlienBrain resources banks by find orders simultaneously with the resource file that deletes
The corresponding checkin information of resource is taken, including checkin user, checkin times, checkin remarks, is added to resource text
Part is updated in list, be its role is to:It is easy to the modification personnel of usertracking resource file and apparent resource text is provided
Part modification information, so that user can select resource file to carry out sending out by the modification remarks of resource file with modification time
Cloth.
For example:For the modification of model file, which may relate to multiple special efficacy files, multiple pinup picture files and repaiies
Change, and resource file update list, the list being made up of multiple resource file paths, user select resource file prepare into
When row is issued, only update from resource file which money the resource file path shown in list cannot clearly know with file name
Source file belongs to associated resource file that the model file is modified, therefore, it is also desirable to searching fine arts personnel submits money to
Remark information during source file, updating in list with the resource file of user terminal B in user terminal A increases above-mentioned remark information
The resource file that user's root Ju remark information can be easy to select the model file related is issued.When resource file is making
During when there is mistake, additionally it is possible to trace into the fine arts personnel for changing the resource file as early as possible, directly to notify the fine arts
Personnel are modified.Certainly, also need to when necessary select fine arts personnel to be issued in the resource file that specific time period is submitted to.
Alternatively, in the step s 100, to the resource file of storage in first server and local resource file counter list
Synchronizing operation can include step performed below:
Step S1000, the money that newly-increased resource file and/or modification are obtained using the second operational order from first server
Source file;
Step S1001, is checked using the 3rd operational order
Source file;
Step S1002, if it is, delete the corresponding money of deleted resource file in local resource file counter list
After source file copy, simultaneously operating is completed;
Step S1003, if it is not, then complete simultaneously operating.
In a preferred embodiment, the renewal money on alienbrain servers first can be obtained using getlatest orders
Source, reuses the recycle bin directory that the same day on alienbrain servers is checked in enumobjects orders, if not deleting money
Source, then source synchronous complete;If there are the resource that deletes, reuse enumobjects and check local counter list, from enumerated
In resource path list, find with the resource path of " * " number beginning and delete these resources, be finally completed source synchronous, phase
The mode synchronized than synchronize orders used in correlation technique, speed will improve nearly 5-10 times,
It should be noted that above-mentioned synchronizing process is fastest in the case where resource situation is not deleted, in addition, the resource of modification
Fewer speed is just faster, for this purpose, for the game item of later development, using the synchronizing process ultrahigh in efficiency, its reason
It is:The modification demand of later development is less.
Fig. 3 is the schematic diagram of efficient resource synchronizing process according to the preferred embodiment of the invention, as shown in figure 3, the synchronization
Process can include step performed below:
The first step, using getlatest orders acquisition AlienBrain resources banks resource file to local resource file
Counter list.
Second step, the recycle bin that is checked on AlienBrain using enumobjects orders, if the same day there is no deletion
Resource file, then resource file synchronously complete;If the same day has the resource file that deletes, need to use enumobjects
Local resource file counter list is checked, from the resource file path list for enumerating, is searched with the resource file road of No. * beginning
Footpath, deletes corresponding resource file in local resource counter list, to complete source synchronous.
Alternatively, in step s 103, the first finger print information and the second finger print information are compared, searches and update
Resource file and obtain the corresponding Update attribute information of resource file for occurring to update, generate resource file update list can be with
Including step performed below:
Step S1030, travels through the path of each resource file in the first finger print information, if in the second finger print information not
Find corresponding path, it is determined that the resource file of current traversal is newly-increased resource file;And/or, traversal the first fingerprint letter
The path of each resource file in breath, if finding corresponding path in the second finger print information, by find two
The check value of resource file is compared, if it is inconsistent, determining that the resource file of current traversal is modification resource file;
And/or, the path of each resource file in the second finger print information is traveled through, if do not found in the first finger print information corresponding
Path, it is determined that the resource file of current traversal is deletion resource file;
Step S1031, obtains the newly-increased resource file with determination using the first operational order from first server and/or repaiies
Change resource file and/or delete the corresponding Update attribute information of resource file;
Step S1032, by determine newly-increased resource file and/or modification resource file and/or delete resource file with
And corresponding Update attribute information generates resource file and updates list.
Compared using the finger print information and newest finger print information of last time, find out respectively increase, modification, delete
Resource file, lookup increases the method for resource file is:Searched by the file path of resource file, file path referred in last time
Do not exist in line information, and exist in newest finger print information, then this document is increased resource file;Search and delete resource
The method of file is:Searched by the file path of resource file, existed in the finger print information of file path last time, and newest
Finger print information in do not exist, then this document be delete resource file;The method of resource file is changed in lookup:From last time with
The MD5 values for finding out same file path in newest finger print information are compared, if there is difference, it is determined that for modification
Resource file.
Fig. 4 be resource file diversity ratio according to the preferred embodiment of the invention to process schematic, as shown in figure 4, the money
Source file difference comparison process can include step performed below:
The first step, the resource file path traveled through in newest finger print information, and each resource file path was searched in last time
Whether there is corresponding resource file path in the finger print information of storage.
If the resource file path in the newest finger print information of second step can be searched in the finger print information of last stored
To corresponding resource file path, then the resource file path found in the finger print information according to last stored is got
The MD5 values of resource file are compared with the MD5 values of the resource file got according to the resource file path in new finger print information
Right, if it find that inconsistent, it is determined that for the resource file path that has changed.
If the resource file path in the newest finger print information of the 3rd step in the finger print information of last stored fails to search
Arrive corresponding resource file path, it is determined that for the resource file path for increasing newly.
Resource file path in 4th step, the finger print information of traversal last stored, and search each resource file path
Whether there is corresponding resource file path in newest finger print information.
If the resource file path in the finger print information of the 5th step last stored in newest finger print information fails to search
Arrive corresponding resource file path, it is determined that for deleted resource file path.
Alternatively, in step S162, processed according to the result of determination determination of one or more second user terminal feedbacks
Mode can include at least one step performed below:
Step S1620, if one or more second user terminals judge the part in resource file list to be released or
All resource file is the resource file for not allowing to issue, then delete the money for not allowing to issue from resource file list to be released
Source file, and the state reduction to be released of the resource file that would not allow for issuing is original state;
Step S1622, if one or more second user terminals judge the part in resource file list to be released or
All resource file is the resource file for allowing to issue, then delete the resource text for allowing to issue from resource file list to be released
Part, and the resource file for allowing to issue is submitted to second server, wherein, second server is used for allowing the resource that issues
File is issued.
Service end can with multiple user terminals, for example:One or more user terminal As and one or more user's ends
End B, sets up transmission control protocol (TCP) connection to realize data transfer.Service end can be found out in AlienBrain servers
There is the file for updating, and generate resource file to update list, the resource file is updated list again then and is sent to user's end
End A.Can show that in user terminal A the resource file updates list, so that the user of manipulation user terminal A is well understood to
Which file has been updated.User terminal A is allocated to ask the domestic consumer for issuing resource to use, and user terminal B
The management user for being allocated to examine resource publication request uses.The resource file shown in user terminal A is more
New list is the file path list that a Directory tree structure launches, and each file path is provided with checkbox hooks
Selected control, user can be chosen the resource of needs issue in user terminal A and click on request and issue button.Then, the request
Information can be sent to service end, then be forwarded to user terminal B by service end to show the Resources list of request issue.Management user
The resource for confirming to issue is chosen using user terminal B, and clicks on permission request button, to send the information for allowing request
To service end.Finally, the resource for allowing to issue is submitted on SVN by service end, completes first resource request and issue confirmation stream
Journey.Certainly, user terminal B can also select refusal to issue resource operation, and then user terminal A request will not be issued by service end
Resource be submitted on SVN, but user terminal A can be returned to and shown.
Fig. 5 is that user terminal/service end interaction that resource management according to the preferred embodiment of the invention is issued is illustrated
Figure.As shown in figure 5, the flow process can include step performed below:
The first step, the resource file on the resources bank of AlienBrain servers is synchronized to service end local resource pair mesh
Record, triggering synchronous mode can include one below:Actively initiated by user terminal A, two are sent out by service end timing
Rise;
The synchronous when interval of second step, service end clocked flip could be arranged to 30 minutes, and the purpose of clocked flip is:
In order to complete pretreatment operation, if before upper once Timing Synchronization, there is resource file in AlienBrain servers
Update, then it is not just latest edition that the currently displayed resource file of user terminal A updates list, therefore, is user terminal A
Triggering lockage button immediately is provided, when user needs the resource file for obtaining latest edition to update list, point can be passed through
Button is hit, is actively initiated synchronously, and without waiting for Timing Synchronization next time.
3rd step, using file fingerprint information alignments generate resource file update list;
4th step, service end are responsible for safeguarding that resource file updates list, its row being made up of multiple resource file paths
Table, and each resource file path is both provided with status indicator, the status indicator is used for determining that transmission to user terminal A is shown
Show or send and shown to user terminal B, when status indicator is arranged to first state, show to update resource file
List sends to user terminal A and is shown, then is selected the resource file of request issue by user terminal A, then in service end
When receiving the resource file that request is issued, status indicator will be revised as the second state by first state, and subsequent
During do not retransmit to user terminal A, and only can by request issue resource file send to user terminal B;When state mark
When knowledge is arranged to the second state, show resource file is updated list and sent to user terminal B to be shown, if user's end
End B allow to request issue resource file issue, then can by these resource files be committed to SVN and from resource file more
Delete, in new list, the resource file for being committed to SVN;If user terminal B does not allow the resource file for issuing request to enter
Row is issued, then it is first state to need status indicator by the second state reduction, and returns user terminal A and shown again.
Above-mentioned resource file updates the update mode of list can be taken when resource file updates list generation and updates,
Newest resource file can be updated list and be sent to the user terminal A in presence and be shown by service end.And if
User terminal A is currently at not presence, then cannot receive newest resource file and update list.Now, work as user terminal A
When logging in again, the opportunity that newest resource file updates list is sent due to having missed service end, accordingly, it would be desirable to step at which
Actively ask newest resource file to update list to service end during record to be shown.And this update mechanism ideally can take
The mechanism that newest resource file updates list is sent in real time to user terminal for service end, the work so as to mitigate service end is born
Load.
5th step, user terminal A update from the resource file for showing and choose in list the resource that request is issued, and will request
The Resources list of issue is sent to service end, and corresponding request is issued resource and updated in list in resource file and is arranged to pending
Cloth marks (that is, status indicator being revised as the second state by first state), and is added in resource file list to be released.
6th step, service end send list to be released for above-mentioned resource file to the user terminal being connected with service end foundation
It is shown on B.
The update mode of resource file list to be released can be taken and update whenever resource file list to be released
When, service end can send list to be released for newest resource file to the user terminal B in presence and be shown.And
If user terminal B is currently at not presence, the list to be released of newest resource file cannot be received.Now, when with
When family terminal A is logged in again, the opportunity of newest resource file to be released list is sent due to having missed service end, therefore,
Need actively to ask the list to be released of newest resource file to be shown to service end when which logs in.And this update mechanism
Service end can be ideally replaced to send the mechanism of newest resource file list to be released in real time to user terminal, so as to mitigate
The work load of service end.
7th step, user terminal B choose the resource file for allowing to issue from the resource file list to be released for showing, and
The resource file list for allowing to issue is sent to service end, resource is issued in corresponding permission will be from resource file list to be released
Update in list with resource file and delete, its reason is:Allow the resource file that issues be submitted to SVN, without
Retransmit and shown to user terminal A and user terminal B, the resource file that therefore, it can safeguard from service end updates list
Middle deletion;But, if user terminal B does not allow resource publication request, the resource file that just can not be safeguarded from service end updates
Delete in list.
8th step, user terminal B select the resource file for not allowing to issue from the resource file list for showing, and will not
Allow issue resource file list send to service end, corresponding do not allow issue resource file can be to be released from resource file
Delete in list, and mark to be released is removed in resource file renewal list.
9th step, for allow issue resource file for, from the local resource counter list of AlienBrain servers
In copy SVN local resource counter lists to, wherein, the newly-increased resource file with modification can directly carry out copy covering, and delete
The resource file for removing then needs to delete corresponding resource file in SVN local resource counter lists.
Tenth step, SVN local resource counter lists are submitted in SVN version repositories, complete the issue of single resource file.
Alternatively, when second server is additionally operable to issue the code file for allowing the resource file that issues to match
When, in step S1622, before the resource file for allowing to issue is submitted to second server, step performed below can also be included
Suddenly:
Step S1623, synchronizes behaviour to the code file and local code file counter list that store on second server
Make, wherein, local code file counter list is the mirror image copies of the code file stored on second server;
Step S1624, checks rule to allowing the resource file and local code file counter list of issue using default
In carry out joint inspection with the code file that associates of resource file for allowing to issue;
Step S1625, if pass through joint inspection, it is determined that the resource file for allowing to issue is submitted to second service
Device.
Before the fine arts resource on AlienBrain servers is submitted to SVN servers, on needs and SVN servers
Associated code file combines carries out joint inspection.If by joint inspection, illustrated on AlienBrain servers
Fine arts resource with association code file mutually compatible, SVN servers can be submitted to and issued.
When AlienBrain local resources counter list occurs to update or by user terminal send request to trigger
When resource is checked, while local SVN codes counter list updates and arrives latest edition, AlienBrain sheets are obtained using resource detector
The secondary mesh in ground is write the inspection rule for completing and is checked with local SVN code directories and loading by tester, by result
Collectors process inspection result, when collection device has renewal, can be to the user terminal of service end in currently all connections
Transmission result, when user terminal starts and connects upper service end, can ask inspection result to service end, to guarantee to check
Newest inspection result.
Alternatively, in step S1624, check rule to allowing the resource file of issue and the code of association using default
After file carries out joint inspection, step performed below can also be included:
Inspection result is fed back to one or more first user terminals and one or more second and is used by step S1626
Family terminal, wherein, inspection result is used for aiding in one or more first user terminals and one or more second user terminals
Judge whether the resource file in resource file list to be released allows to be published.
Fig. 6 is the schematic diagram of resource file checking process according to the preferred embodiment of the invention, as shown in fig. 6,
When AlienBrain local resources file directory updates or when user terminal A actively initiates to check request with user terminal B, touch
Send out resource detector and checked that the resource file checking process can include step performed below:
The first step, fine arts personnel can increase, change and the resource file that deletes on AlienBrain resources banks.
Second step, tester's periodic maintenance check component, and which can be to increase, changes and delete and check rule.
3rd step, AlienBrain isochronous resources file to local resource counter list, SVN local codes counter list update and arrive
Latest edition.
4th step, AlienBrain local resources counter list and SVN local code counter lists are provided to resource inspection
Device is checked.
If the 5th step triggers resource detector, resource detector obtains newest AlienBrain local resource pairs
Catalogue and SVN local code counter lists, while by the inspection rule for checking configuration in component outside tcp acquisitions, to resource
File is checked.
6th step, the inspection result for obtaining every time can be processed by inspection result collector.
7th step, when collection device updates, can to currently all Connection Service ends user terminal transmission result, when
When user terminal starts and is successfully connected service end, can be to service end acquisition request inspection result.
The inspection result of service end can send to user terminal A and be checked with user terminal B, and inspection result can include
But it is not limited to:The employing of specific resources file name is capitalized, specific special efficacy number of particles is exceeded, special scenes quote non-existent money
Source, the inspection result can aid in user to judge which resource file is to issue, and need to notify related fine arts personnel to carry out
Revise.Thus just resource file exception can be found in time before resource file is issued, without through resource text
After part is issued, then by tester by testing the resource file that notes abnormalities.
8th step, user terminal A and user terminal B actively can send to service end and check request, to trigger resource inspection
Look into device to be checked.
According to embodiments of the present invention, there is provided a kind of embodiment of the processing meanss that resource is issued, Fig. 7 is according to the present invention
The structured flowchart of the processing meanss that the resource of embodiment is issued, as shown in fig. 7, the device includes:Acquisition module 10, for obtaining
The resource file being currently newly generated updates list;Module 20 is chosen, is chosen in just for updating in list from resource file
The part or all of resource file list of beginning state is sent to one or more first user terminals;Receiver module 30, for connecing
The resource file list to be released for coming from one or more first user terminals is received, wherein, in resource file list to be released
Resource file be to be chosen from part or all of resource file list by one or more first user terminals, and choose
Resource file will be transformed into state to be released by original state;Determining module 40, for determining in resource file list to be released
Comprising resource file processing mode.
Alternatively, Fig. 8 is the structured flowchart of the processing meanss that resource according to the preferred embodiment of the invention is issued, such as Fig. 8
Shown, determining module 40 can include:Transmitting element 400, for sending list to be released for resource file to one or more
Second user terminal;Processing unit 402, for according to the to be released to resource file of one or more second user terminal feedbacks
The result of determination of list determines the processing mode of the resource file included in resource file list to be released.
Alternatively, as shown in figure 8, acquisition module 10 can include:Lock unit 100, for depositing in first server
The resource file of storage synchronizes operation with local resource file counter list, and wherein, first server is used for entering fine arts resource
Row version management, local resource file counter list are the mirror image copies of the resource file stored in first server;Signal generating unit
102, for generating the first finger print information according to local resource file counter list, wherein, the first finger print information at least includes:Each
The path of resource file, the modification time of each resource file, the check value of each resource file;First acquisition unit 104, uses
The second finger print information that last simultaneously operating is generated and stored is executed in acquisition;Second acquisition unit 106, for referring to first
Line information and the second finger print information are compared, and search the resource file of generation renewal and using the first operational order from the first clothes
Business device obtains the corresponding Update attribute information of the resource file for occurring to update, and generates resource file and updates list, wherein, updates category
Property information at least includes:Renewal time, renewal user, renewal remarks.
Alternatively, lock unit 100 can include:First obtains subelement (not shown), for using the second behaviour
Order the resource file that newly-increased resource file and/or modification is obtained from first server;Judgment sub-unit (is not shown in figure
Go out), for being checked using the 3rd operational order in the recycle bin of first server with the presence or absence of deleted resource file;Process
Subelement (not shown), for when judgment sub-unit is output as being, deleting and deleting in local resource file counter list
After the corresponding resource file copy of the resource file that removes, simultaneously operating is completed;Or, when judgment sub-unit is output as no, complete
Into simultaneously operating.
Alternatively, second acquisition unit 106 can include:Subelement (not shown) is searched, is referred to for traversal first
The path of each resource file in line information, if do not find corresponding path in the second finger print information, it is determined that current
The resource file of traversal is newly-increased resource file;And/or, the path of each resource file in the first finger print information is traveled through, if
Corresponding path is found in the second finger print information, then the check value of find two resource files is compared, such as
Really inconsistent, it is determined that the resource file of current traversal is modification resource file;And/or, travel through each in the second finger print information
The path of resource file, if do not find corresponding path in the first finger print information, it is determined that the resource text of current traversal
Part is deletion resource file;Second obtains subelement (not shown), for adopting the first operational order from first server
Obtain Update attribute information corresponding with the newly-increased resource file and/or modification resource file and/or deletion resource file that determine;
Subelement (not shown) is generated, for the newly-increased resource file by determining and/or modification resource file and/or deletion money
Source file and corresponding Update attribute information generate resource file and update list.
Alternatively, processing unit 402 can include:Subelement (not shown) is processed, if for one or more
Second user terminal judges that the part or all of resource file in resource file list to be released is literary as the resource for not allowing to issue
Part, then delete the resource file for not allowing to issue, and the resource file that would not allow for issuing from resource file list to be released
State reduction to be released be original state;And/or, if one or more second user terminals judge that resource file is to be released
Part or all of resource file in list is the resource file for allowing to issue, then delete from resource file list to be released and permit
Perhaps the resource file that issues, and the resource file for allowing to issue is submitted to second server, wherein, it is right that second server is used for
The resource file that issues is allowed to be issued.
Alternatively, processing unit 402 can include:Synchronous subelement (not shown), for working as second server also
When issuing for the code file to allowing the resource file that issues to match, to the code text stored on second server
Part synchronizes operation with local code file counter list, and wherein, local code file counter list is to store on second server
Code file mirror image copies;Subelement (not shown) is checked, for adopting default inspection rule to issue permission
Joint inspection is carried out with the code file of the resource file association for allowing to issue in resource file and local code file counter list
Look into;Determination subelement (not shown), if for by joint inspection, it is determined that the resource file that issues will be allowed to submit to
Arrive second server.
Alternatively, processing unit 402 can include:Feedback subelement (not shown), for feeding back inspection result
To one or more first user terminals and one or more second user terminals, wherein, inspection result is used for aiding in one
Or multiple first user terminals and the text of the resource in the list to be released of one or more second user terminal judges resource files
Whether part allows is published.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
In the above embodiment of the present invention, the description of each embodiment is all emphasized particularly on different fields, do not had in certain 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 other
Mode is realized.Wherein, device embodiment described above is only schematic, the division of for example described unit, Ke Yiwei
A kind of division of logic function, can have when actually realizing other dividing mode, for example multiple units or component can in conjunction with or
Person is desirably integrated into another system, or some features can be ignored, or does not execute.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module
Connect, can be electrical or other forms.
The unit that illustrates as separating component can be or may not be physically separate, aobvious as unit
The part for showing can be or may not be physical location, you can be located at a place, or can also be distributed to multiple
On unit.Some or all of unit therein can be selected according to the actual needs to realize the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit
When, can be stored in a computer read/write memory medium.Such understanding is based on, technical scheme is substantially
The part that in other words prior art is contributed or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, use so that a computer including some instructions
Equipment (can be personal computer, server or network equipment etc.) execute the whole of each embodiment methods described of the invention or
Part steps.And aforesaid storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. are various can be with store program codes
Medium.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (16)
1. the processing method that a kind of resource is issued, it is characterised in that include:
Obtain the resource file being currently newly generated and update list;
Update the part or all of resource file list that chooses in list in original state to send to one from the resource file
Individual or multiple first user terminals;
The resource file list to be released for coming from one or more of first user terminals is received, wherein, the resource text
Resource file in part list to be released is from the part or all of resource text by one or more of first user terminals
Choose in part list, and the resource file that chooses will be transformed into state to be released by the original state;
Determine the processing mode of the resource file included in resource file list to be released.
2. method according to claim 1, it is characterised in that determine the money included in resource file list to be released
The processing mode of source file includes:
List to be released for the resource file is sent to one or more second user terminals;
True according to the result of determination to resource file list to be released of one or more of second user terminal feedbacks
The processing mode of the resource file for including in resource file list to be released calmly.
3. method according to claim 1, it is characterised in that obtaining the resource file and updating list includes:
Operation is synchronized to the resource file and the local resource file counter list that store in first server, wherein, described the
One server is used for carrying out the fine arts resource version management, and the local resource file counter list is to deposit in the first server
The mirror image copies of the resource file of storage;
First finger print information is generated according to the local resource file counter list, wherein, first finger print information at least includes:
The path of each resource file, the modification time of each resource file, the check value of each resource file;
Obtain the second finger print information for executing that last simultaneously operating is generated and stored;
First finger print information and second finger print information are compared, is searched the resource file of generation renewal and is adopted
First operational order obtains the corresponding Update attribute information of the resource file for occurring to update from the first server, generates
The resource file updates list, and wherein, the Update attribute information at least includes:
Renewal time, renewal user, renewal remarks.
4. method according to claim 3, it is characterised in that to the resource file that stores in the first server and institute
Stating local resource file counter list and carrying out the simultaneously operating includes:
The resource file that newly-increased resource file and/or modification are obtained using the second operational order from the first server;
Checked using the 3rd operational order;
If it is, deleting the corresponding resource file of the deleted resource file in the local resource file counter list
After copy, the simultaneously operating is completed;
If it is not, then completing the simultaneously operating.
5. method according to claim 3, it is characterised in that by first finger print information and second finger print information
Compare, search the resource file for occurring to update and obtain the corresponding Update attribute of the resource file for occurring to update
Information, generating the resource file renewal list includes:
The path of each resource file in first finger print information is traveled through, if do not found in second finger print information
Corresponding path, it is determined that the resource file of current traversal is newly-increased resource file;And/or, travel through first finger print information
In each resource file path, if finding corresponding path in second finger print information, by find two
The check value of individual resource file is compared, if it is inconsistent, determining that the resource file of current traversal is modification resource file;
And/or, the path of each resource file in second finger print information is traveled through, if do not searched in first finger print information
Arrive corresponding path, it is determined that the resource file of current traversal is deletion resource file;
Obtained and the newly-increased resource file and/or modification resource file for determining from the first server using the first operational order
And/or delete the corresponding Update attribute information of resource file;
By the newly-increased resource file of the determination and/or modification resource file and/or delete resource file and corresponding more
New attribute information generates the resource file and updates list.
6. method according to claim 2, it is characterised in that according to one or more of second user terminal feedbacks
The result of determination determines that the processing mode includes at least one of:
If one or more of second user terminals judge the part or all of money in resource file list to be released
Source file is the resource file for not allowing to issue, then do not allow issue from resource file list to be released described in deletion
Resource file, and be the original state by the state reduction described to be released of the resource file for not allowing and issuing;
If one or more of second user terminals judge the part or all of money in resource file list to be released
Source file is the resource file for allowing to issue, then delete the resource for allowing and issuing from resource file list to be released
File, and the resource file for allowing to issue is submitted to second server, wherein, the second server is used for described
The resource file that issues is allowed to be issued.
7. method according to claim 6, it is characterised in that when the second server is additionally operable to allow to issue to described
The code file that matches of resource file when being issued, the resource file for allowing to issue is being submitted to described second
Before server, also include:
Operation is synchronized to the code file and local code file counter list that store on the second server, wherein, institute
State the mirror image copies that local code file counter list is the code file stored on the second server;
With institute in the resource file that the permission is issued using default inspection rule and the local code file counter list
State and allow the code file of the resource file that issues association to carry out joint inspection;
If by the joint inspection, it is determined that the resource file for allowing to issue is submitted to the second server.
8. method according to claim 7, it is characterised in that default checking that rule is allowed to issue to described using described
Resource file and association code file carry out the joint inspection after, also include:
Inspection result is fed back to one or more of first user terminals and one or more of second user terminals,
Wherein, the inspection result is used for aiding in one or more of first user terminals and one or more of second users
Whether the resource file in the list to be released of resource file described in terminal judges allows to be published.
9. the processing meanss that a kind of resource is issued, it is characterised in that include:
Acquisition module, updates list for obtaining the resource file being currently newly generated;
Module is chosen, for the part or all of resource file that chooses in list in original state being updated from the resource file
List is sent to one or more first user terminals;
Receiver module, for receiving the resource file list to be released for coming from one or more of first user terminals, its
In, the resource file in resource file list to be released is from the part by one or more of first user terminals
Or choose in whole resource file lists, and the resource file that chooses will be transformed into state to be released by the original state;
Determining module, for determining the processing mode of the resource file included in resource file list to be released.
10. device according to claim 9, it is characterised in that the determining module includes:
Transmitting element, for sending list to be released for the resource file to one or more second user terminals;
Processing unit, for according to one or more of second user terminal feedbacks to resource file list to be released
Result of determination determine the processing mode of the resource file included in resource file list to be released.
11. devices according to claim 9, it is characterised in that the acquisition module includes:
Lock unit, synchronizes behaviour for the resource file to storing in first server and local resource file counter list
Make, wherein, the first server is used for carrying out the fine arts resource version management, and the local resource file counter list is described
The mirror image copies of the resource file stored in first server;
Signal generating unit, for generating the first finger print information, wherein, first fingerprint according to the local resource file counter list
Information at least includes:The path of each resource file, the modification time of each resource file, the check value of each resource file;
First acquisition unit, for obtaining the second finger print information for executing that last simultaneously operating is generated and stored;
Second acquisition unit, for first finger print information and second finger print information are compared, searches and occurs more
New resource file is simultaneously corresponding from the resource file that the first server obtains the generation renewal using the first operational order
Update attribute information, generate the resource file and update list, wherein, the Update attribute information at least includes:During renewal
Between, update user, update remarks.
12. devices according to claim 11, it is characterised in that the lock unit includes:
First obtains subelement, for using the second operational order from the first server obtain newly-increased resource file and/
Or the resource file of modification;
Judgment sub-unit, for being checked using the 3rd operational order in the recycle bin of the first server with the presence or absence of deleting
Resource file;
Subelement is processed, for when the judgment sub-unit is output as being, deleting in the local resource file counter list
After the corresponding resource file copy of the deleted resource file, the simultaneously operating is completed;Or, judge that son is single described
When unit is output as no, the simultaneously operating is completed.
13. devices according to claim 11, it is characterised in that the second acquisition unit includes:
Subelement is searched, for traveling through the path of each resource file in first finger print information, if referred to described second
Corresponding path is not found in line information, it is determined that the resource file of current traversal is newly-increased resource file;And/or, traversal
The path of each resource file in first finger print information, if find corresponding road in second finger print information
Footpath, then compare the check value of find two resource files, if it is inconsistent, determining the resource text of current traversal
Part is modification resource file;And/or, the path of each resource file in second finger print information is traveled through, if described the
Corresponding path is not found in one finger print information, it is determined that the resource file of current traversal is deletion resource file;
Second obtains subelement, for being obtained and the newly-increased resource text for determining from the first server using the first operational order
Part and/or modification resource file and/or the corresponding Update attribute information of deletion resource file;
Subelement is generated, for the newly-increased resource file by the determination and/or modification resource file and/or deletion resource text
Part and corresponding Update attribute information generate the resource file and update list.
14. devices according to claim 10, it is characterised in that the processing unit includes:
Subelement is processed, if judged in resource file list to be released for one or more of second user terminals
Part or all of resource file be do not allow issue resource file, then from resource file list to be released delete institute
The resource file for not allowing to issue is stated, and is described by the state reduction described to be released of the resource file for not allowing and issuing
Original state;And/or, if one or more of second user terminals judge the portion in resource file list to be released
Divide or all resource file is the resource file for allowing to issue, then the permission is deleted from resource file list to be released
The resource file of issue, and the resource file for allowing to issue is submitted to second server, wherein, the second server
For allowing the resource file that issues to issue to described.
15. devices according to claim 14, it is characterised in that the processing unit also includes:
Synchronous subelement, for being additionally operable to the code for allowing the resource file that issues to match when the second server
When file is issued, behaviour is synchronized to the code file and local code file counter list that store on the second server
Make, wherein, the local code file counter list is the mirror image copies of the code file stored on the second server;
Subelement is checked, for default inspection rule being adopted to the resource file for allowing to issue and local code text
Joint inspection is carried out with the code file for allowing the resource file that issues to associate in part counter list;
Determination subelement, if for by the joint inspection, it is determined that is submitted to the resource file for allowing to issue
The second server.
16. devices according to claim 15, it is characterised in that the processing unit also includes:
Feedback subelement, for feeding back to one or more of first user terminals and one or many by inspection result
Individual second user terminal, wherein, the inspection result is used for aiding in one or more of first user terminals and described one
Whether the resource file in resource file list to be released described in individual or multiple second user terminal judges allows to be published.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610941690.XA CN106502688B (en) | 2016-11-01 | 2016-11-01 | The processing method and processing device of resource publication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610941690.XA CN106502688B (en) | 2016-11-01 | 2016-11-01 | The processing method and processing device of resource publication |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106502688A true CN106502688A (en) | 2017-03-15 |
CN106502688B CN106502688B (en) | 2019-07-26 |
Family
ID=58321864
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610941690.XA Active CN106502688B (en) | 2016-11-01 | 2016-11-01 | The processing method and processing device of resource publication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106502688B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109286612A (en) * | 2018-08-28 | 2019-01-29 | 苏州浪潮智能软件有限公司 | A kind of triphasic multimedia resource publication flow control method |
CN109753289A (en) * | 2019-01-14 | 2019-05-14 | 网易(杭州)网络有限公司 | A kind of fine arts resource merging method, device, electronic equipment and storage medium |
CN109886437A (en) * | 2019-03-15 | 2019-06-14 | 山东省农业机械科学研究院 | A kind of electronic component atlas management system based on BS+CS framework |
CN111176715A (en) * | 2019-12-16 | 2020-05-19 | 青岛聚看云科技有限公司 | Information calling method and server |
CN111324753A (en) * | 2020-01-22 | 2020-06-23 | 天窗智库文化传播(苏州)有限公司 | Media information publishing management method and system |
CN111898044A (en) * | 2020-07-30 | 2020-11-06 | 重庆长安汽车股份有限公司 | Terminal resource management method based on cloud publishing position and storage medium |
CN112114849A (en) * | 2020-09-23 | 2020-12-22 | 腾讯科技(深圳)有限公司 | Resource updating method and device |
US20210279076A1 (en) * | 2020-03-04 | 2021-09-09 | Red Hat, Inc. | Migrating software and system settings between computing environments |
CN114168062A (en) * | 2021-12-10 | 2022-03-11 | 网易(杭州)网络有限公司 | Game resource processing method and device, electronic equipment and storage medium |
CN115174543A (en) * | 2022-07-29 | 2022-10-11 | 中国工商银行股份有限公司 | Method and device for determining version update release time |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101251860A (en) * | 2008-03-10 | 2008-08-27 | 北京航空航天大学 | Web information publish administrating system and method |
CN101917227A (en) * | 2010-08-27 | 2010-12-15 | 中兴通讯股份有限公司 | Method and device for processing resource state information of transmission node |
CN102025444A (en) * | 2009-09-09 | 2011-04-20 | 腾讯科技(深圳)有限公司 | Resource publishing method, resource downloading method and data verification system |
CN104735112A (en) * | 2013-12-23 | 2015-06-24 | 阿里巴巴集团控股有限公司 | Resource file sending method and resource file caching method and device |
CN106020798A (en) * | 2016-05-11 | 2016-10-12 | 乐视控股(北京)有限公司 | Webpage version publishing method, device and system |
-
2016
- 2016-11-01 CN CN201610941690.XA patent/CN106502688B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101251860A (en) * | 2008-03-10 | 2008-08-27 | 北京航空航天大学 | Web information publish administrating system and method |
CN102025444A (en) * | 2009-09-09 | 2011-04-20 | 腾讯科技(深圳)有限公司 | Resource publishing method, resource downloading method and data verification system |
CN101917227A (en) * | 2010-08-27 | 2010-12-15 | 中兴通讯股份有限公司 | Method and device for processing resource state information of transmission node |
CN104735112A (en) * | 2013-12-23 | 2015-06-24 | 阿里巴巴集团控股有限公司 | Resource file sending method and resource file caching method and device |
CN106020798A (en) * | 2016-05-11 | 2016-10-12 | 乐视控股(北京)有限公司 | Webpage version publishing method, device and system |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109286612A (en) * | 2018-08-28 | 2019-01-29 | 苏州浪潮智能软件有限公司 | A kind of triphasic multimedia resource publication flow control method |
CN109753289A (en) * | 2019-01-14 | 2019-05-14 | 网易(杭州)网络有限公司 | A kind of fine arts resource merging method, device, electronic equipment and storage medium |
CN109886437A (en) * | 2019-03-15 | 2019-06-14 | 山东省农业机械科学研究院 | A kind of electronic component atlas management system based on BS+CS framework |
CN111176715A (en) * | 2019-12-16 | 2020-05-19 | 青岛聚看云科技有限公司 | Information calling method and server |
CN111324753A (en) * | 2020-01-22 | 2020-06-23 | 天窗智库文化传播(苏州)有限公司 | Media information publishing management method and system |
CN111324753B (en) * | 2020-01-22 | 2021-09-03 | 天窗智库文化传播(苏州)有限公司 | Media information publishing management method and system |
US11922179B2 (en) * | 2020-03-04 | 2024-03-05 | Red Hat, Inc. | Migrating software and system settings between computing environments |
US20210279076A1 (en) * | 2020-03-04 | 2021-09-09 | Red Hat, Inc. | Migrating software and system settings between computing environments |
CN111898044A (en) * | 2020-07-30 | 2020-11-06 | 重庆长安汽车股份有限公司 | Terminal resource management method based on cloud publishing position and storage medium |
CN111898044B (en) * | 2020-07-30 | 2024-03-08 | 重庆长安汽车股份有限公司 | Terminal resource management method based on cloud release position and storage medium |
CN112114849A (en) * | 2020-09-23 | 2020-12-22 | 腾讯科技(深圳)有限公司 | Resource updating method and device |
CN114168062A (en) * | 2021-12-10 | 2022-03-11 | 网易(杭州)网络有限公司 | Game resource processing method and device, electronic equipment and storage medium |
CN114168062B (en) * | 2021-12-10 | 2024-03-15 | 网易(杭州)网络有限公司 | Game resource processing method and device, electronic equipment and storage medium |
CN115174543B (en) * | 2022-07-29 | 2024-01-30 | 中国工商银行股份有限公司 | Version update release time determining method and device |
CN115174543A (en) * | 2022-07-29 | 2022-10-11 | 中国工商银行股份有限公司 | Method and device for determining version update release time |
Also Published As
Publication number | Publication date |
---|---|
CN106502688B (en) | 2019-07-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106502688A (en) | The processing method and processing device that resource is issued | |
CN111465930B (en) | Method, system and computer readable medium for violation resolution in client synchronization | |
CN111209346B (en) | Block chain data archiving method and device and computer readable storage medium | |
EP4155966A1 (en) | Blockchain data indexing method, and blockchain data storage method | |
CN103649946B (en) | A kind of method and its system for making file system change synchronous | |
US20170123935A1 (en) | Cloud object data layout (codl) | |
CN101160903B (en) | Method, system, client terminal and server for implementing data synchronization | |
CN106663089A (en) | Intelligent conflict detection and semantic expression of document edits | |
CN106105161A (en) | To cloud data storage device Backup Data while maintaining storage efficiency | |
CN109313634A (en) | File synchronization for single file is suspended | |
CN108536752A (en) | A kind of method of data synchronization, device and equipment | |
CN103455589B (en) | Product data moving method under product factory mode, Apparatus and system | |
EP1286277A2 (en) | Method and system for reconciling changed file trees | |
CN108573014A (en) | A kind of file synchronisation method, device, electronic equipment and readable storage medium storing program for executing | |
WO2016060552A1 (en) | System generator module for electronic document and electronic file | |
CN103793493A (en) | Method and system for processing car-mounted terminal mass data | |
CN110287201A (en) | Data access method, device, equipment and storage medium | |
CN108809800A (en) | A kind of multimedia data processing method and its equipment, system | |
CN105593839B (en) | Distributed disaster recovery file sync server system | |
CN103218452B (en) | A kind of method and apparatus identifying effectively link in Hub page | |
CN103593442B (en) | The De-weight method and device of daily record data | |
AU2015331028A1 (en) | Electronic processing system for electronic document and electronic file | |
CN110019056A (en) | Container separated from meta-data for cloud layer | |
CN109688176A (en) | A kind of file synchronisation method and terminal, the network equipment, storage medium | |
CN108710533A (en) | The shared file preserved with synchronous electronics |
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 |