CN107704234A - Front end engineering construction method, device, electronic equipment and readable storage medium storing program for executing - Google Patents
Front end engineering construction method, device, electronic equipment and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN107704234A CN107704234A CN201710726518.7A CN201710726518A CN107704234A CN 107704234 A CN107704234 A CN 107704234A CN 201710726518 A CN201710726518 A CN 201710726518A CN 107704234 A CN107704234 A CN 107704234A
- Authority
- CN
- China
- Prior art keywords
- run entity
- resource
- run
- entity
- unique identification
- 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/20—Software design
-
- 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/73—Program documentation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Library & Information Science (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a kind of front end engineering construction method, device, it is related to field of computer technology.The embodiment of the present invention can previously according to can resource data corresponding to run entity obtain unique identification, then according to unique identification storage respectively can be between run entity the first dependence, can run entity resource data.So after the task of structure front end engineering is received, according to the resource data of each resource module of front end engineering, obtain accordingly can run entity unique identification;According to this can run entity unique identification and first dependence, determine the second dependence of the front end engineering demand;By dependence order in second dependence and each unique identification's loading relied in node accordingly can run entity resource data, acquisition accordingly can run entity;According to this can run entity complete front end engineering structure.It is time-consuming to reduce structure, improves front end engineering structure efficiency.
Description
Technical field
The present invention relates to field of computer technology, and in particular to a kind of front end engineering construction method, device, electronic equipment and
Readable storage medium storing program for executing.
Background technology
With the fast development of computer technology, the development of front end is with rapid changepl. never-ending changes and improvements.Compare highly developed
Other field, though front end is up-and-coming youngster, its cruelty growth is that other field can not be than.Although front-end technology is sent out very fast
Exhibition, but the not synchronous follow-up of engineering ecology that front end is overall.If computer science to be solved be system some
Particular problem, then what engineering to be solved is how to improve whole system production efficiency.Therefore it is increasing, in order to improve
Front end efficiency, front end can be engineered.
Web (network) front end engineering has two big features:Based on NPM (Node Package Manager) package manager pipe
Manage all resources i.e. module.Wherein, NPM is that a Node.JS assures reason and dispensing instrument, has become unofficial issue
The standard of Node modules (bag).Resource module not fully can directly be performed by browser, and resource module is to can actually run knot
Need to be built between fruit, in existing front end engineering shown in reference picture 1 structure generation can run entity schematic diagram, base at present
Mainly comprised the steps of in Webpack (module packing device) building process:
I. dependency analysis:Dependence between determining module;
II. resource is changed:By the development language of different type in resource module or version, picture, font, style script etc.
Resource conversion is carried out, acquisition can run entity;Wherein, can run entity be:The clear of modularized encapsulation is carried out according to unified approach
Look at the code snippet that device can directly be run.
III. result generation is built:According to dependence tissue can run entity, generate final structure result.
After structure result structure finishes, during browser access corresponding web site, can sequentially obtain accordingly can run entity with
Perform, so that the function such as the Display Realization page is shown, page interaction.
Specifically, for the resource module one as needed for the current front end engineering of Fig. 1 structures to resource module five, namely Fig. 1
Shown in resource module one to resource module five, available structure result such as Fig. 1 after dependency analysis and resource conversion
Shown in middle right side dashed box, arrow therein represents each dependence that can be between run entity after conversion, resource module one
Corresponded to respectively to resource module can run entity A-F, item entry is corresponding " operation entrance ".Wherein, in each dependency analysis and
Resource conversion ultimately produce can the process average of run entity need time of 20 seconds.
But in the technical scheme of the existing front end engineering structure by taking Webpack (module packing device) as an example, turn in resource
Ring change section generation can run entity determine it using the sequence number residing for the order itself being loaded in its residing structure task
Uniqueness in single structure task.Due in structure task can run entity be loaded the uncertainty of order, such as
The variation of operational blocks which partition system bibliographic structure or quoting resource relation in project can all cause all can run entity be loaded order
Change, therefore existing constructing plan can not determine its build result in can run entity across structure task uniqueness, accordingly
Produce problems with:Can run entity and its corresponding dependence it is only effective in currently structure task, can run entity can not enter
Row is effectively stored and then reused.So the modification of operational blocks which partition system in the project of front end, removal, newly-increased or to splitting away
Submodule is independently built, accordingly can the acquisition of run entity and the first dependence can only rely on and rebuild whole project
Averagely need to spend 20 seconds to obtain the single building process of such as foregoing front end engineering, then each structure again of first technology
What the process of building can be repeated constantly spends the so long time.Therefore, to any one front end engineering, process is rebuild every time and is related to
And the step such as ample resources conversion, code analysis and dependence extraction, time-consuming longer, structure efficiency is low.
The content of the invention
The present invention provides a kind of front end engineering construction method, device, electronic equipment and readable storage medium storing program for executing, with part or complete
Portion solves the above mentioned problem that engineering building process in front end is related in the prior art.
According to first aspect present invention, there is provided a kind of front end engineering construction method, including:
Obtain in advance and store respectively can be between run entity the first dependence, can run entity resource data;Institute
State the first dependence and the resource data according to can run entity unique identification storage;It is described can run entity
Unique identification obtained according to corresponding resource data;
After the task of structure front end engineering is received, according to the resource data of each resource module of front end engineering, obtain
Take accordingly can run entity unique identification;
According to it is described can run entity unique identification and first dependence, determine the front end engineering demand
The second dependence;
Accordingly may be used by the dependence order in second dependence and each unique identification's loading relied in node
The resource data of run entity, acquisition accordingly can run entity;
According to it is described can run entity complete front end engineering structure.
According to the second aspect of the invention, there is provided a kind of front end engineering construction device, including:
Prestore module, for obtain and store in advance respectively can be between run entity the first dependence, can run
The resource data of entity;First dependence and the resource data according to can the unique identification of run entity deposit
Storage;It is described can the unique identification of run entity obtained according to corresponding resource data;
Unique identification's acquisition module, for when receive structure front end engineering task after, according to the front end engineering
The resource data of each resource module, obtain accordingly can run entity unique identification;
Second dependence determining module, for according to described in can run entity unique identification and it is described first rely on
Relation, determine the second dependence of the front end engineering demand;
Can run entity acquisition module, for by the dependence order in second dependence and each relying in node
Unique identification loading accordingly can run entity resource data, acquisition accordingly can run entity;
Front end engineering structure module, for according to can run entity complete the structure of front end engineering..
According to the third aspect of the invention we, there is provided a kind of electronic equipment, including:
Processor, memory and it is stored in the computer journey that can be run on the memory and on the processor
Sequence, it is characterised in that foregoing front end engineering construction method is realized during the computing device described program.
According to the fourth aspect of the invention, there is provided a kind of readable storage medium storing program for executing, when the instruction in the storage medium by
During the computing device of electronic equipment so that electronic equipment is able to carry out foregoing front end engineering construction method.
, can be previously according to can resource data corresponding to run entity according to a kind of front end engineering construction method of the present invention
Obtain unique identification, then with it is described can run entity unique identification's storage respectively can be between run entity first rely on
Relation, can run entity resource data.It is each according to the front end engineering so after the task of structure front end engineering is received
The resource data of resource module, obtain accordingly can run entity unique identification;According to it is described can run entity uniqueness
Mark and first dependence, determine the second dependence of the front end engineering demand;By second dependence
In dependence order and each unique identification's loading relied in node accordingly can run entity resource data, obtain corresponding
Can run entity;According to it is described can run entity complete front end engineering structure.Thus solves existing front end engineering structure side
In method, can the acquisition of run entity and dependence can only rely on and rebuild whole project to obtain and then cause front end work
The problem of journey structure is time-consuming longer.Achieve can effectively pair can run entity and its dependence carry out uniqueness record, make
Follow-up front end engineering building process can reduce the steps such as dependence is obtained, resource is changed, and reduce structure and take, before raising
Hold the beneficial effect of engineering structure efficiency.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is first technology front end engineering building process schematic diagram;
Fig. 2 is a kind of specific steps flow chart of front end engineering construction method provided in an embodiment of the present invention;
Fig. 3 is the specific steps flow chart of another front end engineering construction method provided in an embodiment of the present invention;
Fig. 3 A be it is provided in an embodiment of the present invention it is a kind of can run entity structured storage example;
Fig. 3 B are dependence examples that can be between run entity provided in an embodiment of the present invention;
Fig. 3 C are the merging process examples of the sub- dependency tiee of the embodiment of the present invention;
Fig. 4 is a kind of structure chart of front end engineering construction device provided in an embodiment of the present invention;
Fig. 5 is a kind of structure chart of front end engineering construction device provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Embodiment one
A kind of front end engineering construction method provided in an embodiment of the present invention is discussed in detail.
Reference picture 1, show a kind of step flow chart of front end engineering construction method in the embodiment of the present invention.
Step 110, obtain in advance and store respectively can be between run entity the first dependence, can run entity resource
Data;First dependence and the resource data according to can run entity unique identification's storage;It is described can
The unique identification of run entity obtains according to corresponding resource data.
The embodiment of the present invention can obtain in advance and store respectively can be between run entity the first dependence, reality can be run
The resource data of body, to be directly based upon the front end engineering to be built in follow-up front end engineering building process and to have deposited
Dependence between each run entity of storage, obtain it is required can run entity, to complete front end engineering structure, and need not weight
Reproduction has dependency analysis in engineering constructing plan, the process of resource conversion, can significantly improve the efficiency of front end engineering structure.Its
In, the dependency analysis during the first dependence that respectively can be between run entity can be built based on existing engineering obtain, and can run
Resource during the resource data of entity can also be built based on existing engineering changes acquisition.Wherein, can run entity be according to system
One mode carries out the code snippet that the browser of modularized encapsulation can directly be run, and unified approach therein can enter according to demand
Row is pre-set, and this embodiment of the present invention is not limited.And in embodiments of the present invention, any available side can be utilized
Formula storage respectively can be between run entity dependence, this embodiment of the present invention is not also limited, for example, can be with dependent tree
Form record and store dependence, etc..Can run entity resource data can include but is not limited to can run entity
Static resource, can run entity source code etc..Wherein can run entity static resource can include but is not limited to not
The development language of same type or version, picture, font, music data, style script etc..
And it has been observed that can not be determined in existing front end engineering building process its build result in can run entity across structure
The uniqueness of task, namely obtained in existing scheme can run entity for its corresponding front end engineering, and can not enter
Row global application, therefore in successive projects building process, can not accurately obtain accordingly can run entity.So in the present invention
In embodiment, in order to ensure in successive projects building process before accurately can obtaining this in run entity from what is prestored
Needed for the enough engineerings in end can run entity, can based on respectively can the unique identification storage of run entity accordingly can run entity
First dependence and resource data.Unique identification therein be can be represented with uniqueness can run entity mark, can be with
The mark formed for character, numeral, symbol etc., is not limited to this embodiment of the present invention.Moreover, can run entity only
One property mark can obtain according to its corresponding resource data, resource data therein also can run entity without relying on point
The resource data of resource module corresponding to before analysis and resource conversion.Resource data can include but is not limited to package manager version
This information, corresponding resource file routing information etc..As can be seen that can be corresponding to run entity resource data and reality can be run
Body resource data of corresponding resource module before without dependency analysis and resource conversion is corresponding.A such as resource
The resource data of module produce it is at least one can run entity, then can be associated based on unique identification caused by resource data
Upper resource module and can run entity.
In actual applications, can run entity and resource module usually one-to-one corresponding, and due to NPM bags under regular situation
And its uniqueness of subordinate's file path, it is incompatible plus being wrapped across key plate this NPM, thus can run entity uniqueness mark
Knowledge can be obtained based on resource data.
Step 120, after the task of structure front end engineering is received, according to the resource of each resource module of front end engineering
Data, obtain accordingly can run entity unique identification.
It has been observed that when building front end engineering, it is necessary to the resource module structure that browser not directly performs is converted into clear
What device of looking at can directly be run can run entity.If prestored respectively can run entity resource data, and respectively
The first dependence that can be between run entity, then, then can be straight after receiving for the structure request of a front end engineering
Connect obtained from the data stored corresponding to the front end engineering can run entity resource data, be then based on respectively running reality
The first dependence between body completes the structure to the front end engineering.
And prestore respectively can run entity resource data when, be based on can run entity unique identification carry out
Storage, therefore after the task of structure front end engineering is received, it is necessary first to it is determined that the front end engineering for being currently needed for structure is each
Corresponding to resource module can run entity unique identification, then then can be according to the resource of each resource module of front end engineering
Data, with obtain accordingly can run entity unique identification.
Step 130, according to it is described can run entity unique identification and first dependence, determine the front end
Second dependence of engineering demand.
Can run entity uniqueness mark determine on the basis of, call relation that can be between run entity is also with unique
Property is identified as index.In embodiments of the present invention, each dependence that can be between run entity prestored is in structure early stage
Carry out what dependency analysis obtained when building front end engineering, and currently building front end engineering corresponding to request may not build with early stage
Front end engineering it is completely the same.
For example, corresponding to each the first dependence that can be between run entity prestored, can run entity resource
The front end engineering built the early stage of data includes front end engineering A and front end engineering B, and the project that wherein engineering A in front end is related to is
A1, the project that front end engineering B is related to are B1, and currently build the engineering project that is related in front end corresponding to request can be A1 and
B1.And now can be between run entity corresponding to B1 dependence may dependence that can be between run entity corresponding with A1 close
There are the part of coincidence, or part that can merge etc. in system, then then can be according to transporting for current structure request
The unique identification of row entity and the first dependence, determine the second dependence of respective front ends engineering demand.
Step 140, add by the unique identification in the dependence order in second dependence and each dependence node
Carry accordingly can run entity resource data, acquisition accordingly can run entity.
It has been observed that in embodiments of the present invention, can the unique identification of run entity be index, based on can respectively run
Dependence between entity carry out can run entity calling.The structure instruction pair for being currently received so is being determined
After required second dependence of front end engineering answered, then can by the second dependence dependence order and each according to
Rely node in unique identification loading accordingly can run entity resource data, acquisition accordingly can run entity.
Step 150, according to it is described can run entity complete front end engineering structure.
Can be after run entity obtain corresponding to the structure instruction that is currently received front end engineering, then can be with
According to acquisition can run entity complete to the structure of the front end engineering.It can wherein be based on running by any methods availalbe
Entity builds front end engineering, and not in this to go forth.
In embodiments of the present invention, it has been observed that in existing front end engineering constructing plan, operational blocks which partition system repaiies in the project of front end
Change, remove, increasing newly or the submodule to splitting away is independently built, accordingly can run entity and dependence acquisition
It can only rely on and rebuild whole project to obtain, cause every time structure to take considerable time that structure efficiency is low.And at this
In inventive embodiments, in order to avoid above mentioned problem, can previously according to can resource data corresponding to run entity obtain uniqueness
Mark, then with it is described can run entity unique identification's storage respectively can be between run entity the first dependence, can transport
The resource data of row entity.So after the task of structure front end engineering is received, according to each resource module of front end engineering
Resource data, obtain accordingly can run entity unique identification;According to it is described can run entity unique identification and institute
The first dependence is stated, determines the second dependence of the front end engineering demand;By the dependence in second dependence
Order and each unique identification's loading relied in node accordingly can run entity resource data, acquisition can accordingly run reality
Body;According to it is described can run entity complete front end engineering structure.Thus solves existing front end engineering construction method, to any
The modification of module, removal, the newly-increased or submodule to splitting away are independently built, accordingly can run entity and dependence pass
The acquisition of system can only cause front end engineering structure to take the problem of longer by whole project is rebuild to obtain.Achieving can
With effective pair can run entity and its dependence carry out uniqueness record, reduce follow-up front end engineering building process
The steps such as dependence obtains, resource conversion, reduce structure and take, and improve the beneficial effect of front end engineering structure efficiency
Embodiment two
A kind of front end engineering construction method provided in an embodiment of the present invention is discussed in detail.
Reference picture 3, show a kind of step flow chart of front end engineering construction method in the embodiment of the present invention.
Step 210, front end engineering resource module for the first time be used for structure can run entity when, the resource module is entered
Row resource is changed, and acquisition can run entity.
It has been observed that the process of existing engineering constructing plan is also required to the process by dependency analysis and resource conversion,
So in embodiments of the present invention, in order to avoid as far as possible it is follow-up repeat to obtain respectively can run entity, can be in front end engineering
Resource module be used for for the first time structure can run entity when, i.e., resource conversion is carried out to corresponding resource module, acquisition can run reality
Body.Specifically resource conversion can be carried out by any available means, this embodiment of the present invention is not limited.Resource is changed
Can be understood as the resources such as the development language of different type or version, picture, font, style script be converted to can run entity,
Namely the code snippet that can directly run of browser of modularized encapsulation is carried out according to unified approach.
Alternatively, in embodiments of the present invention, the step 210 can further include:
Sub-steps 211, all types of resources in the resource file of the resource module are converted to browser and can recognize that resource,
Acquisition can run entity.
Because front end requirement of engineering performs in a browser, therefore in embodiment itself, in resource transfer process, need
By all types of resources in the resource file of resource module be converted to browser can recognize that resource, acquisition can run entity, namely
The code snippet that browser according to unified approach progress modularized encapsulation can directly be run.
In actual applications, webpack to front end engineering when building, after carrying out resource conversion to resource module,
Can obtain one can run entity list, this can have in run entity list it is each can run entity various data, such as
The routing information etc. of code snippet, resource file.So the embodiment of the present invention can pair can run entity list parse
To it is each can run entity relevant information.
Sub-step 212, browser can recognize that to, the static resource in resource is separated and stored.
The browser obtained after conversion, which can recognize that, may include picture, script, pattern etc. static resource in resource,
So in order to conveniently obtain or call static resource therein during run entity in later use, in embodiments of the present invention,
Browser after conversion can also can recognize that to, the static resource in resource is separated and stored.The wherein storage of static resource
Path can be according to demand before this step, or is pre-set before either step before this step, to this
The embodiment of the present invention is not limited.For example, can be cloud server etc. by static resource storage, certainly, actually should
In, static resource can also be stored in elsewhere.
Step 220, according to it is described can resource module corresponding to run entity resource data, can run entity described in acquisition
Unique identification.
In order to obtained after conversion can run entity store, and ensure when follow-up front end engineering is built, can
With needed for accurate obtain can run entity.In embodiments of the present invention, after by conversion can run entity carry out storing it
It is preceding, it is necessary to according to can resource module corresponding to run entity resource data, obtain accordingly can run entity unique identification.
In embodiments of the present invention, can according to can resource module corresponding to run entity resource data, with it is any can
With method determine can run entity unique identification, it is necessary to ensure be it is different can run entity unique identification not
Together, it is same can the unique identification of run entity be unique.
Optionally, step 220 includes:
Sub-step 221, described in acquisition can run entity resource data, the resource data includes:Package manager version
Information and corresponding resource file routing information.
If according to can run entity resource data determine accordingly can run entity unique identification, then need first
Obtain can run entity resource data.Wherein resource data can include but is not limited to package manager version information and correspondingly
Resource file routing information.
In actual applications, resource is converted to the preposition flow of front end engineering structure.The essence of resource conversion is by project
The resource file being related to is converted to the entity that browser can be run, because front end engineering itself and its dependence bag are all based on assuring
Manage device, so can run entity it is corresponding with the resource file determined in package manager, what respective resources converted runs
Entity includes:What the path address information of resource file, completion were changed under corresponding package manager can run entity source code.
From the foregoing, it will be observed that can run entity version be its corresponding package manager version, by that can be included in run entity
Resource file routing information, can parse included in the package.json files under package manager root assure reason
Device version information.Package manager therein includes but is not limited to NPM package managers.
Prestore can run entity when, can corresponding to the respective front ends engineering that can obtain after being changed based on resource
Run entity list, then can then be based on can run entity list to respectively can run entity parse, can be with by parsing
Obtain can resource file corresponding to run entity resource file routing information.
Sub-step 222, according to the package manager version information and corresponding resource file routing information generation for described
Can run entity unique identification.
It has been observed that in normal conditions, can run entity corresponded with resource file, and due to package manager and its under
Belong to the uniqueness of file path, plus across the incompatible of key plate this package manager.So it can be believed according to package manager version
Breath and corresponding resource file routing information generation for can run entity unique identification.
Combination that specifically can be with the major version number in package manager version information with corresponding resource file routing information, lead to
Cross character string that Hash calculation draws as accordingly can run entity unique identification.
Introduced with the master file of the package manager of Vue (being the gradual framework of a set of structure user interface) 2.4.1 versions
Exemplified by, its can run entity correspond to the corresponding resource file routing information of resource file and be:”/vue/dist/
Vue.runtime.esm.js ", the package manager version information major version number of affiliated package manager is " 2 ", then should obtaining
Can run entity unique identification when, then the combination that major version number and corresponding resource file routing information can be spliced into
" 2/vue/dist/vue.runtime.esm.js " is carried out with SHA1 (Secure Hash Algorithm1, SHA
1) character string " f94f6e2c6e6a6545acc555b238a669b3f994c21f " that the hash algorithm exemplified by is calculated is
This can run entity unique identification.
Certainly, in embodiments of the present invention, other any available means can also be utilized to package manager version information
Major version number and corresponding resource file routing information are combined, such as with " corresponding resource file routing information+package manager version
Form of the major version number of this information " etc..Furthermore, it is also possible to using other any available hash algorithms to package manager version
The combination of the major version number of information and corresponding resource file routing information carries out Hash calculation, and this embodiment of the present invention is also not added with
To limit.
In addition, in embodiments of the present invention, can also be according to package manager version information and corresponding resource file path letter
Breath, using other any available means generations for can run entity unique identification, this embodiment of the present invention is also not added with
To limit.
Alternatively, in embodiments of the present invention, the sub-step 222 can further include:
Sub-step 2221, when corresponding one of the resource module can run entity when, directly according to the package manager version
This information and corresponding resource file routing information generation for it is described can run entity unique identification.
Sub-step 2222, when the resource module correspond to it is multiple can run entity when, according to the package manager version believe
Breath and corresponding resource file routing information generation for it is described can run entity unique identification, and for the resource mould
Block accessory ID generation strategy, respectively generation described in can run entity unique identification.
Further, since actual front end engineering structure in, can run entity it is with resource module file and non-fully right one by one
Should, it is understood that there may be it is multiple can run entity the problem of corresponding to same resource module.For such issues that, can be according to actually opening
Resource characteristicses are sent out, according to default resource module accessory ID generation strategy, while according to reason can be assured corresponding to run entity
Device version information and corresponding resource file routing information generation corresponding to the resource module respectively can run entity uniqueness
Mark.For example, single Vue resource modules can generate at least four can run entity, be respectively its actual entry, pattern,
Render, logic main body, then now can then utilize the resource module accessory ID generation strategy for the resource module to give birth to
Into for respectively can run entity accessory ID, and then can according to respectively can run entity package manager version information, correspondingly
Resource file routing information and accessory ID generation for accordingly can run entity unique identification.For example, respectively can may be used
Run entity corresponds to resource file routing information and adds accessory ID, then then can based on it is newly-generated can run entity it is corresponding
Resource file routing information and its package manager version information, generate respectively respectively can run entity unique identification.Specifically
Equally can run entity
For example, can run entity A, B, C and D for four of foregoing single Vue resource modules, it is assumed that this four can transport
It is "/vue/dist/demo.vue ", to assure reason corresponding to the single Vue resource modules that row entity, which corresponds to resource file information,
The package manager version information of device is 2.4.1.If obtained using the accessory ID generation strategy for the single Vue resource modules
To can accessory ID corresponding to run entity A, B, C and D respectively be a1, b1, c1 and d1, then now can "/vue/
Dist/demo.vue " and " a1 " combination as can run entity A correspond to resource file information, with "/vue/dist/
Demo.vue " and " b1 " combination as can run entity B correspond to resource file information, by that analogy.
Certainly, in embodiments of the present invention, can also be by any available means according to the package manager version information
With corresponding resource file routing information generation for it is described can run entity unique identification, and for the resource module
Accessory ID generation strategy, respectively generation described in can run entity unique identification, this embodiment of the present invention is not limited
It is fixed.
Step 230, according to the unique identification, the first dependence that storage respectively can be between run entity, can run
The resource data of entity.
Respectively can be after the unique identification of run entity determining, then can be according to unique identification, storing can respectively transport
The first dependence between row entity, can run entity resource data.Wherein it is possible to respectively can run entity uniqueness mark
Know characterize and store respectively can be between run entity the first dependence, then it is follow-up obtain can run entity when, then can be with
Based on the first dependence that respectively can be between run entity, according to respectively can run entity unique identification, acquisition can accordingly transport
The resource data of row entity, can run entity with generation.
Wherein, the first dependence that can be between run entity, can the store path of resource data of run entity can be with
According to demand before the either step before this step, or set before either step before this step, and
And can be between run entity the first dependence and can the store path of resource data of run entity can be with identical, can also
Difference, this embodiment of the present invention is not also limited.
Certainly, in actual applications, store one can run entity when, this can also be extracted from that can run in list
Can run entity code snippet, be then based on corresponding unique identification storage.
Alternatively, in embodiments of the present invention, the step 230 can further include:
Sub-step A231, when it is described can static resource corresponding to run entity be separated after store when, will described in can run
The reference address of static resource replaces with the accessible address after the static resource storage in the resource data of entity.
Can be after static resource carries out separation storage corresponding to run entity, wherein the reference on the static resource
Location may fail, and then lead to not get correct resource data.So in embodiments of the present invention, after in order to ensure
It is continuous can run entity normal use when can be accurately obtained corresponding static resource, it is necessary to by can run entity number of resources
The accessible address after corresponding static resource storage is replaced with according to the reference address of middle static resource.Certainly, if static resource
Accessible address after storage with accordingly can in the resource data of run entity the reference address of corresponding static resource be it is consistent,
It so now need not then enter row address replacement.
Sub-step A232, according to the unique identification, the first dependence that storage respectively can be between run entity and
Replace address after can run entity resource data.
If static resource that can be in the resource data of run entity is subjected to separation storage, then now in order to follow-up
In the engineering building process of front end, the accessible address after being stored according to static resource obtains corresponding static resource, then
In embodiments of the present invention, then can according to respectively can run entity unique identification, storage accordingly can run entity first
Dependence, and replace address after can run entity resource data.
Alternatively, in embodiments of the present invention, the step 230 can further include:For it is each can run entity,
With including it is described can run entity unique identification, it is described can run entity resource data, it is described can run entity institute according to
It is bad can run entity unique identification structure, carry out structured storage.
So-called structured storage, the data that can be realized with bivariate table come logical expression, SQL numbers can be used in practice
Structured storage is realized according to storehouse.Therefore, in embodiments of the present invention, can also be directed to each can run entity, with including described
Can run entity unique identification, it is described can run entity resource data, it is described can running of being relied on of run entity
The structure of the unique identification of entity, carry out structured storage.
In actual applications, such as Fig. 3 A, it illustrates the embodiment of the present invention pair can run entity structured storage example.
One can be in run entity structure, including this can the necessary field such as the unique identification of run entity, code snippet.Wherein
Version, the field such as resource path can set and can also be not provided with, set with specific reference to demand.The uniqueness of dependence therein
Identification field can perform module and be able to can not have during run entity independent of any at this, its rely on one can run entity when
Can have one, its rely on it is multiple can run entity when can have it is multiple.
Alternatively, in embodiments of the present invention, the step 230 can further include:
Sub-step B231, for by can run entity rely on and belong to can the one or more of Asynchronous loading can run reality
Body, according to it is one or more of can run entity unique identification generate Asynchronous loading module unique identification.
Can run entity be divided into synchronous loading and Asynchronous loading according to load mode.Synchronous load mode is that can run reality
Body acquiescence introduces, and can directly can be called between run entity by its unique identification;And Asynchronous loading mode i.e. will not be
All load when being loaded, but can just be loaded when the page needs together, this kind of situation is first by asynchronous
Load-on module unique identification loading comprising target can run entity Asynchronous loading module, Asynchronous loading module loading success
Afterwards then can further by can the unique identification of run entity be called accordingly can run entity.
Wherein the unique identification of Asynchronous loading module can according to its corresponding one or more can run entity only
The mark generation of one property.For example, it is possible, firstly, to by corresponding to it respectively can run entity unique identification carry out character string spelling
Connect, Hash calculation is then carried out to splicing result, the character string drawn is the unique identification of corresponding Asynchronous loading module.Example
Such as, it is assumed that for corresponding B and C two can run entity Asynchronous loading modules A, wherein can run entity B unique identification
For " ae4f281df5a5d0ff3cad6371f76d5c29b6d953ec ", can run entity C unique identification be
" 32096c2e0eff33d844ee6d675407ace18289357d ", then the unique identification of Asynchronous loading modules A can be with
For pair can run entity B unique identification and can run entity C unique identification splice after splicing result enter
" 7e125e88d05dacad0e2691e239fbce4c213915dd " that row Hash calculation is drawn.And if Asynchronous loading module
A is to correspond to can run entity B, then now can only pair can run entity B unique identification carry out Hash calculation, and then
Obtain the unique identification of Asynchronous loading modules A.
Certainly, in embodiments of the present invention can also be by any available means one according to corresponding to Asynchronous loading module
Or it is multiple can the unique identification of run entity generate the unique identification of corresponding Asynchronous loading module, to this embodiment of the present invention
It is not limited.
Sub-step B232, by the first dependence of the Asynchronous loading module be arranged to rely on it is one or more of can
Run entity.
To with Asynchronous loading module for, in order to facilitate during subsequent calls effectively obtain storage Asynchronous loading mould
Block, in embodiments of the present invention, the first dependence of Asynchronous loading module can be arranged to rely on to one corresponding to it
Or it is multiple can run entity.
For example, for foregoing Asynchronous loading modules A, corresponding to can Asynchronous loading run entity B and can run reality
Body C, then the first dependence of Asynchronous loading modules A now can be then arranged to dependence run entity B and can run
Entity C.
Sub-step B233, with it is one or more of can run entity unique identification store corresponding resource data with
And it is described can run entity relied on can run entity unique identification.
So according to unique identification, the first dependence that storage respectively can be between run entity, can run entity money
The step of source data, specifically can according to can Asynchronous loading it is one or more can the unique identification of run entity store phase
Answer one or more can resource data corresponding to run entity, and respectively can run entity relied on can run entity it is unique
Property mark.
Alternatively, in embodiments of the present invention, the step 230 can further include:For needing what is synchronously loaded
Can run entity, with it is described can run entity unique identification store corresponding resource data and it is described can run entity institute
Rely on can run entity unique identification.
And for synchronously load can run entity, then can according to synchronously load can run entity unique identification
Storage respectively can the corresponding resource data of run entity and accordingly can run entity relied on can run entity uniqueness mark
Know.
Wherein, storage can run entity relied on can run entity unique identification, then can be based on can run reality
Body relied on can run entity unique identification, first generate currently can run entity relied on can run entity, and then
Generation currently can run entity.
Such as Fig. 3 B, it illustrates a kind of dependency tiee example of the embodiment of the present invention, can run entity 11 rely on synchronization
Loading can run entity 12 and Asynchronous loading module 21, can run entity 12 rely on can run entity 13, Asynchronous loading module
21 dependences can run entity 14.Fig. 3 B are only a kind of example, and the embodiment of the present invention is not any limitation as to it.
Step 240, after the task of structure front end engineering is received, according to the resource of each resource module of front end engineering
Data, obtain accordingly can run entity unique identification.
Alternatively, in embodiments of the present invention, the step 240 can further include:
Sub-step 241, obtains the resource data of the resource module, and the resource data includes:Package manager version is believed
Breath and corresponding resource file routing information.
It has been observed that if the resource data based on resource module determine corresponding to resource module can run entity it is unique
Property mark, and according to unique identification couple can run entity store, then in embodiments of the present invention, be directed to receiving
After the structure request of one front end engineering, in order to obtain corresponding to the resource module of respective front ends engineering can run entity, then accordingly
Can according to can run entity resource data determine accordingly can run entity unique identification.So then need to obtain first
Take the resource data for being currently needed for resource module corresponding to the front end engineering of structure.Resource data therein includes package manager version
This information and corresponding resource file routing information.
Sub-step 242, when resource module has corresponding resource module accessory ID generation strategy, reason is assured according to described
Device version information and corresponding resource file routing information generation for it is described can run entity unique identification, and for described
Resource module accessory ID generation strategy, respectively generation described in can run entity unique identification.
And when a resource module has corresponding resource module accessory ID generation strategy, then then illustrate the resource module pair
Answer it is multiple can run entity, then, now then accordingly can be according to the package manager version based on foregoing sub-step 2222
This information and corresponding resource file routing information generation for it is described can run entity unique identification, and for the money
Source module accessory ID generation strategy, respectively generation described in can run entity unique identification.Specific mode can be as preceding
State, not in this to go forth.
Step 250, according to it is described can run entity unique identification and first dependence, determine the front end
Second dependence of engineering demand.
Alternatively, in embodiments of the present invention, the step 250 can further include:
Sub-step A251, when the front end engineering includes multiple projects, the resource according to included by each project respectively
The unique identification of module and first dependence, it is determined that the sub- dependency tiee of each project.
If front end engineering corresponding to the structure instruction being currently received includes multiple projects, and different in actual applications
Project can include one or more resource modules., can be in units of project so when building the front end engineering, basis respectively
The unique identification of resource module included by each project and the first dependence, it is determined that the sub- dependence of each project
Tree.
Sub-step A252, by the merger of dependence order it is a total dependency tiee by each sub- dependency tiee, obtains institute
State the second dependence.
Can be between run entity for each different project, corresponding to its resource module included first rely on
Relation there may be coincidence, or the part that can merge.Such as it can be run corresponding to the resource module included in project one
Entity 1 dependent on can run entity 2, and project two also comprising corresponding to resource module can run entity 1 dependent on can run
Entity 2, at the same further comprises can run entity 2 dependent on can run entity 3, then it is right now for front end engineering is built
For project one, it is necessary to first obtain can run entity 1, then obtain can run entity 2;And, it is necessary to first for project two
Obtain can run entity 3, and then obtain can run entity 2, finally obtain can run entity 1.As can be seen that wherein presence can close
And the part obtained, and can be repeated if independent obtain, cause to lose time.
Therefore in embodiments of the present invention, for the whole front end engineering that needs are built, in order to reduce it as far as possible
The time that building process is consumed, by the merger of dependence order can be a total dependency tiee by each sub- dependency tiee,
Obtain second dependence., can will wherein for example, for the foregoing front end engineering for containing project one and project two
The sub- dependency tiee of projects is a total dependency tiee by the merger of dependence order, in total dependency tiee, can be run
Entity 1 dependent on can run entity 2, can run entity 2 dependent on can run entity 3.
As shown in Figure 3 C, it is assumed that another front end engineering for needing to build is related to project one and project two, wherein a pair of project
The sub- dependency tiee answered is to be related in Fig. 3 C shown in the dashed box of project once, and sub- dependency tiee corresponding to project two is figure
It is related in 3C shown in the dashed box under project two, then closed sub- dependency tiee corresponding to project one and project two
And by the merger of dependence order be a total dependency tiee, the total dependency tiee now obtained can be that right side is empty in Fig. 3 C
Shown in frame.
When carrying out dependence merging, following principle can be followed:
Synchronous priority principle, you can run entity appears in synchronous load-on module and Asynchronous loading module simultaneously, then this can
Run entity retains in synchronous load-on module, is deleted from Asynchronous loading module.
Version priority principle, i.e., it is identical can run entity use newest entity version.Because in actual applications, one
Resource module agrees to change in itself, and its package manager version and resource file path may be constant, then now then may be used
With by amended resource module can run entity with entity colophon, follow-up in use, having under unique identification more
During individual entity version, using newest entity version can run entity.
Alternatively, in embodiments of the present invention, the sub-step A252, can further include:
Sub-step A2521, each sub- dependency tiee is merged into total dependency tiee by loading sequence.
Sub-step A2522, by when one can run entity be relied on when both needed synchronously to load can run entity,
By an Asynchronous loading module rely on can run entity, then delete Asynchronous loading module described in total dependency tiee
Relied on it is described can run entity.
In actual applications, the speed synchronously loaded can be better than Asynchronous loading, synchronous priority principle as the aforementioned, can transport
Row entity appears in synchronous load-on module and Asynchronous loading module simultaneously, then this can run entity protected in synchronous load-on module
Stay, deleted from Asynchronous loading module.Namely when one can run entity be relied on when be both running of having needed synchronously to load
Entity, also by an Asynchronous loading module rely on can run entity, then delete asynchronous described in total dependency tiee
Load-on module relied on it is described can run entity.
For example, for the front end engineering shown in Fig. 3 C, transporting in sub- dependency tiee corresponding to its involved project one
Row entity C be need Asynchronous loading can run entity, and can be run in sub- dependency tiee corresponding to involved project two
Entity C be need synchronously to load can run entity, then then can will in the total dependency tiee now obtained after merging
Can run entity C retain in synchronous load-on module, deleted from Asynchronous loading module.
Alternatively, in embodiments of the present invention, the step 250 can further include:
Sub-step B251, when corresponding to one or more resource modules can run entity for can Asynchronous loading run reality
Body, then the unique identification of Asynchronous loading module is generated according to corresponding unique identification.
If it has been observed that can run entity for can Asynchronous loading can run entity, then calling this can run entity
When, it is necessary first to obtain its corresponding Asynchronous loading module.Therefore in embodiments of the present invention, when one or more resource modules pair
Answer can run entity for can Asynchronous loading can run entity, then can according to corresponding unique identification generate Asynchronous loading
The unique identification of module.
It should be noted that an Asynchronous loading module can correspond to one or more can run entity, specifically include
One or more, sets according to the actual requirements.In actual applications, it is necessary to which the module of Asynchronous loading is usually what is bound, than
If A and B are if necessary to Asynchronous loading, then draw A and B to an Asynchronous loading module in structure, then next front end
When engineering M is built, if necessary to A, then the B is also what is needed, then during follow-up use, it is possible to according to A only
One property identifies and B unique identification generates the unique identification of an Asynchronous loading module.
Certainly, in actual applications, in foregoing storing process, can respectively to it is each be capable of Asynchronous loading run reality
Body generates an Asynchronous loading module, then with this can the unique identification of run entity carry out Hash calculation again to obtain this asynchronous
The unique identification of load-on module.So during follow-up use, for a front end engineering to be built, it is determined that wherein
Resource module when can be with Asynchronous loading, directly can carry out Hash calculation again according to the unique identification of the resource module and obtain
The unique identification of Asynchronous loading module, the second dependency tiee then can be determined in the manner aforesaid.
Certainly, in actual applications, can also prestore can run entity and Asynchronous loading module for the embodiment of the present application
Mapping table, can store in the mapping table it is associated can run entity uniqueness ID and corresponding Asynchronous loading mould
In incidence relation between the uniqueness ID of block, such as Asynchronous loading module M set rely on can run entity A and B uniqueness
ID, then can by Asynchronous loading module M with can run entity A and B uniqueness ID mapped.Then in subsequent builds mistake
Cheng Zhong, for it is one or more can run entity uniqueness ID combination, it is corresponding that its can be inquired about in the mapping table
Asynchronous loading module uniqueness ID, then carry out subsequent process.
Specifically according to corresponding unique identification generate Asynchronous loading module unique identification mode with it is foregoing
Sub-step B231 is similar, and not in this to go forth.
Sub-step B252, can the unique identification of run entity, institute corresponding to the resource module synchronously loaded as needed
State the unique identification of Asynchronous loading module and first dependence, determine the second of the front end engineering demand according to
The relation of relying.
After the unique identification of Asynchronous loading module is determined, then the resource module that can synchronously load as needed
It is corresponding can the unique identification of run entity, the unique identification of the Asynchronous loading module and it is described first rely on close
System, determine the second dependence of the front end engineering demand.
Step 260, add by the unique identification in the dependence order in second dependence and each dependence node
Carry accordingly can run entity resource data, acquisition accordingly can run entity.
Alternatively, in embodiments of the present invention, the step 260 can further include:
Sub-step 261, when in second dependence one dependence node have prestore can run entity money
During source data, the resource data that can be run is loaded directly into, acquisition accordingly can run entity.
Sub-step 262, when the dependence node in second dependence do not prestore can run entity
During resource data, resource conversion is carried out using the resource module of the dependence node, acquisition accordingly can run entity.
In addition, in actual applications, for being currently needed for the front end engineering of structure, the resource data needed for it may
Do not prestored, then in embodiments of the present invention, then need to obtain the resource module needed for it, then carry out resource
Conversion, obtain to should resource module can run entity, to build current front end engineering.
Therefore, in embodiments of the present invention, when the dependence node in the second dependence has what is prestored to run
During the resource data of entity, then the resource data that can be run is loaded directly into, acquisition accordingly can run entity;And when second according to
Rely relation in one dependence node do not prestore can run entity resource data when, then need to utilize the dependence node
Resource module carry out resource conversion, acquisition accordingly can run entity.
Step 270, according to it is described can run entity complete front end engineering structure.
Can previously according to can corresponding to run entity resource data obtain unique identification, then run reality with described
Unique identification's storage of body respectively can be between run entity the first dependence, can run entity resource data.So when
After the receiving structure front end engineering of the task, according to the resource data of each resource module of front end engineering, acquisition can accordingly transport
The unique identification of row entity;According to it is described can run entity unique identification and first dependence, it is determined that described
Second dependence of front end engineering demand;By the dependence order in second dependence and each rely in node only
One property mark loading accordingly can run entity resource data, acquisition accordingly can run entity;According to it is described can run entity it is complete
Into the structure of front end engineering.Thus solve existing front end engineering construction method, modification, removal to operational blocks which partition system, it is newly-increased or
Person independently builds to the submodule split away, accordingly can the acquisition of run entity and dependence can only rely on structure again
The problem of build whole project causes front end engineering structure time-consuming longer to obtain.Achieve can effectively pair can run entity and its
Dependence carries out uniqueness record, and reducing follow-up front end engineering building process, dependence is obtained, resource is changed
Etc. step, reducing structure takes, and improves the beneficial effect of front end engineering structure efficiency.
Moreover, in embodiments of the present invention, can also be used for structure for the first time in the resource module of front end engineering can run reality
During body, resource conversion is carried out to the resource module, acquisition can run entity;According to it is described can resource mould corresponding to run entity
The resource data of block, described in acquisition can run entity unique identification;According to the unique identification, storage can respectively run reality
The first dependence between body, can run entity resource data.So as to further improve running of prestoring
The first dependence between entity, can run entity resource data accuracy.
For embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but this area
Technical staff should know that the embodiment of the present invention is not limited by described sequence of movement, because implementing according to the present invention
Example, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know, specification
Described in embodiment belong to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
Embodiment three
A kind of front end engineering construction device provided in an embodiment of the present invention is discussed in detail.
Reference picture 4, show a kind of structural representation of front end engineering construction device in the embodiment of the present invention.
Prestore module 310, for obtain and store in advance respectively can be between run entity the first dependence, can transport
The resource data of row entity;First dependence and the resource data according to can run entity unique identification
Storage;It is described can the unique identification of run entity obtained according to corresponding resource data.
Unique identification's acquisition module 320, for when receive structure front end engineering task after, according to the front end work
The resource data of each resource module of journey, obtain accordingly can run entity unique identification.
Second dependence determining module 330, for according to described in can run entity unique identification and described first
Dependence, determine the second dependence of the front end engineering demand.
Can run entity acquisition module 340, for being saved by the dependence order in second dependence and each rely on
In point unique identification loading accordingly can run entity resource data, acquisition accordingly can run entity.
Front end engineering structure module 350, for according to can run entity complete the structure of front end engineering.
In embodiments of the present invention, can obtain in advance and store respectively can be between run entity the first dependence, can
The resource data of run entity;First dependence and the resource data according to can run entity uniqueness mark
Know storage;It is described can the unique identification of run entity obtained according to corresponding resource data;Front end engineering is built when receiving
Task after, according to the resource data of each resource module of front end engineering, obtain accordingly can run entity unique identification;
According to it is described can run entity unique identification and first dependence, determine the second of the front end engineering demand according to
The relation of relying;It can accordingly be transported by the dependence order in second dependence and each unique identification's loading relied in node
The resource data of row entity, acquisition accordingly can run entity;According to it is described can run entity complete front end engineering structure.Thus
Solves existing front end engineering construction method, the modification, removal, the newly-increased or submodule to splitting away to operational blocks which partition system are only
It is vertical to be built, accordingly can the acquisition of run entity and dependence can only rely on and rebuild whole project to obtain.So as to
Can the structure efficiency much of that front end engineering be improved.
Example IV
A kind of front end engineering construction device provided in an embodiment of the present invention is discussed in detail.
Reference picture 5, show a kind of structural representation of front end engineering construction device in the embodiment of the present invention.
Prestore module 410, for obtain and store in advance respectively can be between run entity the first dependence, can transport
The resource data of row entity;First dependence and the resource data according to can run entity unique identification
Storage;It is described can the unique identification of run entity obtained according to corresponding resource data.
Alternatively, in embodiments of the present invention, it is described to prestore module 410, it can further include:
Can run entity acquisition submodule 411, for front end engineering resource module for the first time be used for structure can run reality
During body, resource conversion is carried out to the resource module, acquisition can run entity.
Alternatively, in embodiments of the present invention, it is described can run entity acquisition submodule 411, can further include:
Resource converting unit, being converted to browser for all types of resources in the resource file to the resource module can know
Other resource, acquisition can run entities.
Static resource memory cell, the static resource for can recognize that browser in resource are separated and stored.
Unique identification's acquisition submodule 412, for according to described in can resource module corresponding to run entity number of resources
According to, described in acquisition can run entity unique identification.
Alternatively, in embodiments of the present invention, unique identification's acquisition submodule 412, can further include:
Resource data acquiring unit, for obtain it is described can run entity resource data, the resource data includes:Bag
Manager version information and corresponding resource file routing information.
Unique identification's generation unit, for according to the package manager version information and corresponding resource file routing information
Generation for it is described can run entity unique identification.
Alternatively, in embodiments of the present invention, unique identification's generation unit, can further include:
First unique identification generates subelement, for when corresponding one of the resource module can run entity when, directly
According to the package manager version information and corresponding resource file routing information generation for it is described can run entity uniqueness
Mark;
Second unique identification generate subelement, for when the resource module correspond to it is multiple can run entity when, according to
The package manager version information and corresponding resource file routing information generation for it is described can run entity unique identification,
And for the resource module accessory ID generation strategy, respectively described in generation can run entity unique identification.
Sub-module stored 413, for according to the unique identification, storage respectively can be between run entity first relies on and closes
System, can run entity resource data.
Alternatively, in embodiments of the present invention, the sub-module stored 413, can further include:
Static resource address replacement unit, for when it is described can static resource corresponding to run entity be separated after store
When, by it is described can in the resource data of run entity the reference address of static resource replace with after the static resource storage can
Reference address.
First memory cell, for according to the unique identification, storage respectively can be between run entity first relies on and closes
System and replace address after can run entity resource data.
Alternatively, in embodiments of the present invention, the sub-module stored 413, be additionally operable to for each can run entity, with
Including it is described can run entity unique identification, it is described can run entity resource data, it is described can run entity relied on
Can run entity unique identification structure, carry out structured storage.
Alternatively, in embodiments of the present invention, the sub-module stored 413, can further include:
Asynchronous loading module id generation unit, for for by can run entity rely on and belong to can Asynchronous loading one
It is individual or it is multiple can run entity, according to it is one or more of can the unique identification of run entity generate Asynchronous loading module
Unique identification;
Asynchronous loading module rely on setting unit, for by the first dependence of the Asynchronous loading module be arranged to according to
Rely it is one or more of can run entity;
Second memory cell, for it is one or more of can the unique identification of run entity store corresponding resource
Data and it is described can run entity relied on can run entity unique identification.
Alternatively, in embodiments of the present invention, the sub-module stored 413, can further include:
3rd memory cell, for for need synchronously to load can run entity, with it is described can run entity it is unique
Property mark store corresponding resource data and it is described can run entity relied on can run entity unique identification.
Unique identification's acquisition module 420, for when receive structure front end engineering task after, according to the front end work
The resource data of each resource module of journey, obtain accordingly can run entity unique identification.
Alternatively, in embodiments of the present invention, unique identification's acquisition module 420, can further include:
Resource data acquisition submodule, for obtaining the resource data of the resource module, the resource data includes:Bag
Manager version information and corresponding resource file routing information;
Unique identification generates submodule, for having corresponding resource module accessory ID generation strategy when resource module
When, according to the package manager version information and corresponding resource file routing information generation for it is described can run entity it is unique
Property mark, and be directed to the resource module accessory ID generation strategy, generate respectively described in can run entity unique identification.
Second dependence determining module 430, for according to described in can run entity unique identification and described first
Dependence, determine the second dependence of the front end engineering demand.
Alternatively, in embodiments of the present invention, the second dependence determining module 430, can further include:
Sub- dependency tiee determination sub-module, for when the front end engineering includes multiple projects, basis to be each respectively
The unique identification of resource module included by project and first dependence, it is determined that the sub- dependence of each project
Tree;
Second dependence acquisition submodule, for by each sub- dependency tiee by the merger of dependence order be one always according to
Rely relational tree, obtain second dependence.
Alternatively, in embodiments of the present invention, the second dependence acquisition submodule, can further include:
Total dependency tiee acquiring unit, for each sub- dependency tiee to be merged into total dependence by loading sequence
Tree.
Delete unit, for by when one can run entity be relied on when both needed synchronously to load can run entity,
Also by an Asynchronous loading module rely on can run entity, then delete Asynchronous loading mould described in total dependency tiee
Block relied on it is described can run entity.
Alternatively, in embodiments of the present invention, the second dependence determining module 430, can further include:
Asynchronous loading module id generates submodule, for when corresponding to one or more resource modules can run entity for can
Asynchronous loading can run entity, then according to corresponding unique identification generate Asynchronous loading module unique identification;
Second dependence determination sub-module, for can run entity corresponding to the resource module that synchronously loads as needed
Unique identification, the Asynchronous loading module unique identification and first dependence, determine the front end work
Second dependence of journey demand.
Can run entity acquisition module 440, for being saved by the dependence order in second dependence and each rely on
In point unique identification loading accordingly can run entity resource data, acquisition accordingly can run entity.
Alternatively, in embodiments of the present invention, it is described can run entity acquisition module 440, can further include:
First acquisition submodule, for thering is what is prestored to run when the dependence node in second dependence
During the resource data of entity, the resource data that can be run is loaded directly into, acquisition accordingly can run entity;
Second acquisition submodule, for being transported when what the dependence node in second dependence did not prestore
During the resource data of row entity, resource conversion is carried out using the resource module of the dependence node, acquisition accordingly can run entity.
Front end engineering structure module 450, for according to can run entity complete the structure of front end engineering.
In embodiments of the present invention, can previously according to can corresponding to run entity resource data obtain unique identification,
Then with it is described can run entity unique identification's storage respectively can be between run entity the first dependence, can run entity
Resource data.So after the task of structure front end engineering is received, according to the resource of each resource module of front end engineering
Data, obtain accordingly can run entity unique identification;According to it is described can run entity unique identification and described first
Dependence, determine the second dependence of the front end engineering demand;By in second dependence dependence order and
Each unique identification's loading relied in node accordingly can run entity resource data, acquisition accordingly can run entity;Root
According to it is described can run entity complete front end engineering structure.Thus solves existing front end engineering construction method, to operational blocks which partition system
Modification, removal, the newly-increased or submodule to splitting away independently build, accordingly can run entity and dependence
Obtaining can only cause front end engineering structure to take the problem of longer by whole project is rebuild to obtain.Achieving to have
Effect pair can run entity and its dependence carry out uniqueness record, follow-up front end engineering building process is reduced dependence
The steps such as Relation acquisition, resource conversion, reduce structure and take, and improve the beneficial effect of front end engineering structure efficiency.
Moreover, in embodiments of the present invention, can also be used for structure for the first time in the resource module of front end engineering can run reality
During body, resource conversion is carried out to the resource module, acquisition can run entity;According to it is described can resource mould corresponding to run entity
The resource data of block, described in acquisition can run entity unique identification;According to the unique identification, storage can respectively run reality
The first dependence between body, can run entity resource data.So as to further improve running of prestoring
The first dependence between entity, can run entity resource data accuracy.
The embodiment of the present invention additionally provides a kind of electronic equipment, including:Processor, memory and it is stored in the storage
On device and the computer program that can run on the processor, it is characterised in that real during the computing device described program
The front end engineering construction method of existing previous embodiment.
The embodiment of the present invention additionally provides a kind of readable storage medium storing program for executing, when the instruction in the storage medium is by electronic equipment
Computing device when so that electronic equipment is able to carry out the front end engineering construction method of previous embodiment.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related
Part illustrates referring to the part of embodiment of the method.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with teaching based on this.As described above, required by constructing this kind of system
Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various
Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The application claims of shield features more more than the feature being expressly recited in each claim.It is more precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself
Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit requires, summary and accompanying drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
Replace.
The all parts embodiment of the present invention can be realized with hardware, or to be run on one or more processor
Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor or digital signal processor (DSP) realize one in payment information processing equipment according to embodiments of the present invention
The some or all functions of a little or whole parts.The present invention is also implemented as performing method as described herein
Some or all equipment or program of device.Such program for realizing the present invention can be stored in computer-readable Jie
In matter, or there can be the form of one or more signal.Such signal can be downloaded from internet website and obtained,
Either provide on carrier signal or provided in the form of any other.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real
It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
All any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (30)
- A kind of 1. front end engineering construction method, it is characterised in that including:Obtain in advance and store respectively can be between run entity the first dependence, can run entity resource data;Described One dependence and the resource data according to can run entity unique identification's storage;It is described can run entity only One property mark resource data corresponding to obtains;After the task of structure front end engineering is received, according to the resource data of each resource module of front end engineering, phase is obtained Should can run entity unique identification;According to it is described can run entity unique identification and first dependence, determine the of the front end engineering demand Two dependences;It can accordingly be run by the dependence order in second dependence and each unique identification's loading relied in node The resource data of entity, acquisition accordingly can run entity;According to it is described can run entity complete front end engineering structure.
- 2. according to the method for claim 1, it is characterised in that described obtain and store in advance respectively can be between run entity First dependence, can run entity resource data the step of, including:In front end the resource module of engineering for the first time be used for structure can run entity when, to the resource module carry out resource conversion, Acquisition can run entity;According to it is described can resource module corresponding to run entity resource data, described in acquisition can run entity uniqueness mark Know;According to the unique identification, the first dependence that storage respectively can be between run entity, can run entity number of resources According to.
- 3. according to the method for claim 2, it is characterised in that in front end, the resource module of engineering is used to build and can transport for the first time During row entity, to the resource module carry out resource conversion, acquisition can run entity the step of, including:All types of resources in the resource file of the resource module are converted to browser and can recognize that resource, acquisition can run reality Body;Browser can recognize that to, the static resource in resource is separated and stored.
- 4. according to the method for claim 3, it is characterised in that described respectively to be run according to the unique identification, storage The first dependence between entity, can run entity resource data the step of, including:When it is described can static resource corresponding to run entity be separated after store when, by it is described can be in the resource data of run entity The reference address of static resource replaces with the accessible address after the static resource storage;According to the unique identification, the first dependence that storage respectively can be between run entity and transporting behind address is replaced The resource data of row entity.
- 5. according to the method for claim 2, it is characterised in that can resource module corresponding to run entity described in the basis Resource data, described in acquisition can run entity unique identification the step of, including:Described in acquisition can run entity resource data, the resource data includes:Package manager version information and corresponding resource File path information;According to the package manager version information and corresponding resource file routing information generation for it is described can run entity only One property identifies.
- 6. according to the method for claim 5, it is characterised in that described according to the package manager version information and corresponding money The generation of source file routing information for it is described can run entity unique identification the step of, including:When corresponding one of the resource module can run entity when, directly according to the package manager version information and corresponding resource The generation of file path information for it is described can run entity unique identification;When the resource module correspond to it is multiple can run entity when, according to the package manager version information and corresponding resource file Routing information generation for it is described can run entity unique identification, and for the resource module accessory ID generate plan Slightly, respectively generation described in can run entity unique identification.
- 7. according to the method for claim 2, it is characterised in that described respectively to be run according to the unique identification, storage The first dependence between entity, can run entity resource data the step of, including:For it is each can run entity, with including it is described can run entity unique identification, it is described can run entity resource Data, it is described can run entity relied on can run entity unique identification structure, carry out structured storage.
- 8. according to the method for claim 2, it is characterised in that described respectively to be run according to the unique identification, storage The first dependence between entity, can run entity resource data the step of, including:For by can run entity rely on and belong to can Asynchronous loading one or more can run entity, according to one or It is multiple can run entity unique identification generate Asynchronous loading module unique identification;By the first dependence of the Asynchronous loading module be arranged to rely on it is one or more of can run entity;With it is one or more of can the unique identification of run entity store corresponding resource data and described run reality Body relied on can run entity unique identification.
- 9. according to the method for claim 8, it is characterised in that described respectively to be run according to the unique identification, storage The first dependence between entity, can run entity resource data the step of, including:For need synchronously to load can run entity, with it is described can the unique identification of run entity store corresponding number of resources According to this and it is described can run entity relied on can run entity unique identification.
- 10. method according to claim 8 or claim 9, it is characterised in that described in the basis can run entity uniqueness mark Know and first dependence, the step of determining the second dependence of the front end engineering demand, including:When the front end engineering includes multiple projects, the unique identification of the resource module according to included by each project respectively With first dependence, it is determined that the sub- dependency tiee of each project;By the merger of dependence order it is a total dependency tiee by each sub- dependency tiee, obtains second dependence.
- 11. according to the method for claim 10, it is characterised in that described to return each sub- dependency tiee by dependence order And be a total dependency tiee, obtain second dependence the step of include:Each sub- dependency tiee is merged into total dependency tiee by loading sequence;By when one can run entity be relied on when both needed synchronously to load can run entity, be also an Asynchronous loading mould Block relied on can run entity, then that deletes that Asynchronous loading module described in total dependency tiee relied on described transports Row entity.
- 12. method according to claim 8 or claim 9, it is characterised in that described in the basis can run entity uniqueness mark Know and first dependence, the step of determining the second dependence of the front end engineering demand, including:When corresponding to one or more resource modules can run entity for can Asynchronous loading can run entity, then according to it is corresponding only The unique identification of one property mark generation Asynchronous loading module;As needed can the unique identification of run entity, the Asynchronous loading module corresponding to the resource module that synchronously loads Unique identification and first dependence, determine the second dependence of the front end engineering demand.
- 13. according to the method for claim 6, it is characterised in that described after the task of structure front end engineering is received, root According to the resource data of each resource module of front end engineering, obtain accordingly can run entity unique identification the step of, including:The resource data of the resource module is obtained, the resource data includes:Package manager version information and corresponding resource text Part routing information;When resource module has corresponding resource module accessory ID generation strategy, according to the package manager version information and right Answer the generation of resource file routing information for it is described can run entity unique identification, and for resource module auxiliary mark Know generation strategy, respectively generation described in can run entity unique identification.
- 14. according to the method described in any one of claim 1-9, it is characterised in that described to press in second dependence Dependence order and each unique identification's loading relied in node accordingly can run entity resource data, acquisition accordingly may be used The step of run entity, includes:When in second dependence one dependence node have prestore can run entity resource data when, directly add The resource data that can be run described in load, acquisition accordingly can run entity;When in second dependence one dependence node do not prestore can run entity resource data when, utilize The resource module for relying on node carries out resource conversion, and acquisition accordingly can run entity.
- A kind of 15. front end engineering construction device, it is characterised in that including:Prestore module, for obtain and store in advance respectively can be between run entity the first dependence, can run entity Resource data;First dependence and the resource data according to can run entity unique identification's storage; It is described can the unique identification of run entity obtained according to corresponding resource data;Unique identification's acquisition module, for after the task of structure front end engineering is received, respectively being provided according to the front end engineering The resource data of source module, obtain accordingly can run entity unique identification;Second dependence determining module, for according to described in can run entity unique identification and it is described first rely on close System, determine the second dependence of the front end engineering demand;Can run entity acquisition module, for by the dependence order in second dependence and each relying in node only One property mark loading accordingly can run entity resource data, acquisition accordingly can run entity;Front end engineering structure module, for according to can run entity complete the structure of front end engineering.
- 16. device according to claim 15, it is characterised in that it is described to prestore module, including:Can run entity acquisition submodule, for front end engineering resource module for the first time be used for structure can run entity when, it is right The resource module carries out resource conversion, and acquisition can run entity;Unique identification's acquisition submodule, for according to described in can resource module corresponding to run entity resource data, obtain It is described can run entity unique identification;Sub-module stored, for according to the unique identification, the first dependence that storage respectively can be between run entity, it can transport The resource data of row entity.
- 17. device according to claim 16, it is characterised in that it is described can run entity acquisition submodule, including:Resource converting unit, the recognizable money of browser is converted to for all types of resources in the resource file to the resource module Source, acquisition can run entities;Static resource memory cell, the static resource for can recognize that browser in resource are separated and stored.
- 18. device according to claim 17, it is characterised in that the sub-module stored, including:Static resource address replacement unit, for when it is described can static resource corresponding to run entity be separated after store when, will It is described the reference address of static resource to replace with may have access to after the static resource storage in the resource data of run entity Address;First memory cell, for according to the unique identification, the first dependence that storage respectively can be between run entity with And replace address after can run entity resource data.
- 19. device according to claim 16, it is characterised in that unique identification's acquisition submodule, including:Resource data acquiring unit, for obtain it is described can run entity resource data, the resource data includes:Assure reason Device version information and corresponding resource file routing information;Unique identification's generation unit, for according to the package manager version information and corresponding resource file routing information generation For it is described can run entity unique identification.
- 20. device according to claim 19, it is characterised in that unique identification's generation unit, including:First unique identification generates subelement, for when corresponding one of the resource module can run entity when, direct basis The package manager version information and corresponding resource file routing information generation for it is described can run entity unique identification;Second unique identification generate subelement, for when the resource module correspond to it is multiple can run entity when, according to described Package manager version information and corresponding resource file routing information generation for it is described can run entity unique identification, and For the resource module accessory ID generation strategy, respectively described in generation can run entity unique identification.
- 21. device according to claim 16, it is characterised in that the sub-module stored, be additionally operable to for can each transport Row entity, with including it is described can run entity unique identification, it is described can run entity resource data, described run reality Body relied on can run entity unique identification structure, carry out structured storage.
- 22. device according to claim 16, it is characterised in that the sub-module stored, including:Asynchronous loading module id generation unit, for for by can run entity rely on and belong to can one of Asynchronous loading or It is multiple can run entity, according to it is one or more of can run entity unique identification generate Asynchronous loading module it is unique Property mark;Asynchronous loading module relies on setting unit, for being arranged to the first dependence of the Asynchronous loading module to rely on institute Stating one or more can run entity;Second memory cell, for it is one or more of can the unique identification of run entity store corresponding resource data And it is described can run entity relied on can run entity unique identification.
- 23. device according to claim 22, it is characterised in that the sub-module stored, including:3rd memory cell, for for need synchronously to load can run entity, with it is described can run entity uniqueness mark Know store corresponding resource data and it is described can run entity relied on can run entity unique identification.
- 24. the device according to claim 22 or 23, it is characterised in that the second dependence determining module, including:Sub- dependency tiee determination sub-module, for when the front end engineering includes multiple projects, respectively according to each project The unique identification of included resource module and first dependence, it is determined that the sub- dependency tiee of each project;Second dependence acquisition submodule, pass is always relied on for being one by the merger of dependence order by each sub- dependency tiee System tree, obtains second dependence.
- 25. device according to claim 24, it is characterised in that the second dependence acquisition submodule, including:Total dependency tiee acquiring unit, for each sub- dependency tiee to be merged into total dependency tiee by loading sequence;Delete unit, for by when one can run entity be relied on when both needed synchronously to load can run entity, also for One Asynchronous loading module relied on can run entity, then delete Asynchronous loading module institute described in total dependency tiee The described of dependence can run entity.
- 26. the device according to claim 22 or 23, it is characterised in that the second dependence determining module, including:Asynchronous loading module id generates submodule, for when corresponding to one or more resource modules can run entity for can be asynchronous Loading can run entity, then according to corresponding unique identification generate Asynchronous loading module unique identification;Second dependence determination sub-module, for corresponding to the resource module that synchronously loads as needed can run entity only One property mark, the unique identification of the Asynchronous loading module and first dependence, determine that the front end engineering needs The second dependence asked.
- 27. device according to claim 20, it is characterised in that unique identification's acquisition module, including:Resource data acquisition submodule, for obtaining the resource data of the resource module, the resource data includes:Assure reason Device version information and corresponding resource file routing information;Unique identification generates submodule, for when resource module has corresponding resource module accessory ID generation strategy, root According to the package manager version information and corresponding resource file routing information generation for it is described can run entity uniqueness mark Know, and be directed to the resource module accessory ID generation strategy, generate respectively described in can run entity unique identification.
- 28. according to the device described in any one of claim 15-23, it is characterised in that it is described can run entity acquisition module, Including:First acquisition submodule, for when in second dependence one dependence node have prestore can run entity Resource data when, be loaded directly into the resource data that can be run, acquisition accordingly can run entity;Second acquisition submodule, for running reality when what the dependence node in second dependence did not prestore During the resource data of body, resource conversion is carried out using the resource module of the dependence node, acquisition accordingly can run entity.
- 29. a kind of electronic equipment, it is characterised in that including:Processor, memory and the computer program that can be run on the memory and on the processor is stored in, its It is characterised by, the front end engineering structure as described in any one in claim 1-14 is realized during the computing device described program Construction method.
- 30. a kind of readable storage medium storing program for executing, it is characterised in that when the instruction in the storage medium is held by the processor of electronic equipment During row so that electronic equipment is able to carry out the front end engineering construction method as described in any one in claim 1-14.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710726518.7A CN107704234B (en) | 2017-08-22 | 2017-08-22 | Front end engineering construction method, device, electronic equipment and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710726518.7A CN107704234B (en) | 2017-08-22 | 2017-08-22 | Front end engineering construction method, device, electronic equipment and readable storage medium storing program for executing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107704234A true CN107704234A (en) | 2018-02-16 |
CN107704234B CN107704234B (en) | 2019-03-08 |
Family
ID=61170941
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710726518.7A Active CN107704234B (en) | 2017-08-22 | 2017-08-22 | Front end engineering construction method, device, electronic equipment and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107704234B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108536463A (en) * | 2018-04-09 | 2018-09-14 | 深圳市腾讯网络信息技术有限公司 | Obtain method, apparatus, equipment and the computer readable storage medium of resource packet |
CN108965295A (en) * | 2018-07-17 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of compressing file merging method and relevant apparatus |
CN109271157A (en) * | 2018-09-07 | 2019-01-25 | 深圳市东微智能科技股份有限公司 | Software development methodology, equipment and computer readable storage medium |
CN110704062A (en) * | 2019-09-27 | 2020-01-17 | 天津五八到家科技有限公司 | Dependency management method, data acquisition method, device and equipment |
CN110858240A (en) * | 2018-08-14 | 2020-03-03 | 北京京东尚科信息技术有限公司 | Front-end module loading method and device |
CN110968339A (en) * | 2019-12-03 | 2020-04-07 | 望海康信(北京)科技股份公司 | Method and device for front-end construction tool and electronic equipment |
CN111177621A (en) * | 2019-12-23 | 2020-05-19 | 北京达佳互联信息技术有限公司 | Web page development method, device and system |
CN112306528A (en) * | 2020-11-04 | 2021-02-02 | 北京焦点新干线信息技术有限公司 | Data updating method and device |
CN116108235A (en) * | 2023-02-20 | 2023-05-12 | 上海安博通信息科技有限公司 | Path acquisition method and device for tree structure and processing equipment |
CN117919724A (en) * | 2024-03-22 | 2024-04-26 | 深圳市迷你玩科技有限公司 | Game resource management method and device, electronic equipment and readable medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104991773A (en) * | 2015-06-30 | 2015-10-21 | 小米科技有限责任公司 | Program generation method and apparatus |
WO2017034364A1 (en) * | 2015-08-26 | 2017-03-02 | 삼성전자 주식회사 | Technique for dynamically controlling processing devices in accordance with characteristic of user application |
CN106843869A (en) * | 2017-01-16 | 2017-06-13 | 百融(北京)金融信息服务股份有限公司 | A kind of front end Development Engineering system and method |
-
2017
- 2017-08-22 CN CN201710726518.7A patent/CN107704234B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104991773A (en) * | 2015-06-30 | 2015-10-21 | 小米科技有限责任公司 | Program generation method and apparatus |
WO2017034364A1 (en) * | 2015-08-26 | 2017-03-02 | 삼성전자 주식회사 | Technique for dynamically controlling processing devices in accordance with characteristic of user application |
CN106843869A (en) * | 2017-01-16 | 2017-06-13 | 百融(北京)金融信息服务股份有限公司 | A kind of front end Development Engineering system and method |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108536463A (en) * | 2018-04-09 | 2018-09-14 | 深圳市腾讯网络信息技术有限公司 | Obtain method, apparatus, equipment and the computer readable storage medium of resource packet |
CN108965295A (en) * | 2018-07-17 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of compressing file merging method and relevant apparatus |
CN108965295B (en) * | 2018-07-17 | 2021-09-17 | 郑州云海信息技术有限公司 | File compression and combination method and related device |
CN110858240A (en) * | 2018-08-14 | 2020-03-03 | 北京京东尚科信息技术有限公司 | Front-end module loading method and device |
CN109271157B (en) * | 2018-09-07 | 2021-09-07 | 深圳市东微智能科技股份有限公司 | Software development method, device and computer readable storage medium |
CN109271157A (en) * | 2018-09-07 | 2019-01-25 | 深圳市东微智能科技股份有限公司 | Software development methodology, equipment and computer readable storage medium |
CN110704062A (en) * | 2019-09-27 | 2020-01-17 | 天津五八到家科技有限公司 | Dependency management method, data acquisition method, device and equipment |
CN110968339A (en) * | 2019-12-03 | 2020-04-07 | 望海康信(北京)科技股份公司 | Method and device for front-end construction tool and electronic equipment |
CN110968339B (en) * | 2019-12-03 | 2023-08-15 | 望海康信(北京)科技股份公司 | Method and device for front-end building tool and electronic equipment |
CN111177621A (en) * | 2019-12-23 | 2020-05-19 | 北京达佳互联信息技术有限公司 | Web page development method, device and system |
CN111177621B (en) * | 2019-12-23 | 2024-03-08 | 北京达佳互联信息技术有限公司 | Web page development method, device and system |
CN112306528A (en) * | 2020-11-04 | 2021-02-02 | 北京焦点新干线信息技术有限公司 | Data updating method and device |
CN112306528B (en) * | 2020-11-04 | 2023-12-08 | 北京博点智合科技有限公司 | Data updating method and device |
CN116108235A (en) * | 2023-02-20 | 2023-05-12 | 上海安博通信息科技有限公司 | Path acquisition method and device for tree structure and processing equipment |
CN116108235B (en) * | 2023-02-20 | 2023-11-10 | 上海安博通信息科技有限公司 | Path acquisition method and device for tree structure and processing equipment |
CN117919724A (en) * | 2024-03-22 | 2024-04-26 | 深圳市迷你玩科技有限公司 | Game resource management method and device, electronic equipment and readable medium |
Also Published As
Publication number | Publication date |
---|---|
CN107704234B (en) | 2019-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107704234B (en) | Front end engineering construction method, device, electronic equipment and readable storage medium storing program for executing | |
US9977770B2 (en) | Conversion of a presentation to Darwin Information Typing Architecture (DITA) | |
US9305109B2 (en) | Method and system of adapting a data model to a user interface component | |
CN107958057A (en) | A kind of code generating method and device for being used for Data Migration in heterogeneous database | |
CN105550268B (en) | Big data process modeling analysis engine | |
US9563697B1 (en) | Calculating differences between datasets having differing numbers of partitions | |
US10091123B2 (en) | System and user interface for coordinating distributed workflow between multiple computing systems | |
CN110472207A (en) | List generation method and device | |
CN109408493A (en) | A kind of moving method and system of data source | |
JP2017538175A (en) | Method and apparatus for building a demand metamodel for high-speed trains | |
Snodgrass | Monitoring distributed systems: A relational approach | |
CN110866029A (en) | sql statement construction method, device, server and readable storage medium | |
Falatiuk et al. | Investigation of architecture and technology stack for e-archive system | |
CN105824647A (en) | Form page generating method and device | |
CN109669678A (en) | Template engine integration method, device, electronic equipment and storage medium | |
Mishra et al. | Modern tools and current trends in web-development | |
US20230083849A1 (en) | Parsing tool for optimizing code for deployment on a serverless platform | |
US20150106381A1 (en) | Loading data with complex relationships | |
CN108595335A (en) | Test environment dispositions method, deployment device and storage medium | |
CN114489861A (en) | Target component conversion method and device, electronic equipment and readable storage medium | |
CN113590217A (en) | Function management method and device based on engine, electronic equipment and storage medium | |
Trinh et al. | Linked data processing provenance: towards transparent and reusable linked data integration | |
US9652308B2 (en) | Sharing a partitioned data set across parallel applications | |
US9552347B1 (en) | Data grid cell styling systems and methods | |
CN113778401A (en) | Page generation method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | 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 |