CN108509209A - A kind of generation method, device, computer equipment and the storage medium of resource packet - Google Patents

A kind of generation method, device, computer equipment and the storage medium of resource packet Download PDF

Info

Publication number
CN108509209A
CN108509209A CN201810306658.3A CN201810306658A CN108509209A CN 108509209 A CN108509209 A CN 108509209A CN 201810306658 A CN201810306658 A CN 201810306658A CN 108509209 A CN108509209 A CN 108509209A
Authority
CN
China
Prior art keywords
resource
file
packaged
resource file
identification information
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.)
Pending
Application number
CN201810306658.3A
Other languages
Chinese (zh)
Inventor
邱柏宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201810306658.3A priority Critical patent/CN108509209A/en
Publication of CN108509209A publication Critical patent/CN108509209A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Abstract

The embodiment of the present application discloses a kind of generation method, device, computer equipment and the storage medium of resource packet.This method includes the corresponding attribute information of all resource files in the default resources bank of acquisition, wherein the attribute information includes the corresponding resource file identification information of the resource file and storage address information;Index file is generated according to the resource file identification information and corresponding storage address information;If receiving packing instruction, resource file identification information to be packaged is obtained;According to the index file, the storage address information with the relevant resource file to be packaged of resource file identification information to be packaged is obtained;Resource file to be packaged described in being obtained in the default resources bank according to the storage address information of the resource file to be packaged simultaneously is packaged to generate resource packet.This method can reduce the quantity of resource file useless in resource packet, and then reduce the size of resource packet, save the consumed flow of server down distributing resource packet.

Description

A kind of generation method, device, computer equipment and the storage medium of resource packet
Technical field
This application involves field of computer technology more particularly to a kind of generation method of resource packet, device, computer equipments And storage medium.
Background technology
In general, developer is when developing a project, can in advance to may be used in entire project JS resources, The front ends such as CSS resources resource carries out being packed into front end resource packet, in case being called during subsequent development.However, in reality In the development process of border, there are some resources that may not be used in the resource packet of front end, results in existing in the resource packet of front end in this way More spare resources cause front end resource packet larger, in pages such as subsequent load HTML, can waste the more stream of server Measure resource.
Invention content
This application provides a kind of generation method, device, computer equipment and the storage mediums of resource packet, can reduce money The quantity of useless resource file in the packet of source, and then reduce the size of resource packet.
In a first aspect, this application provides a kind of generation methods of resource packet comprising:
It obtains and presets the corresponding attribute information of all resource files in resources bank, wherein the attribute information includes described The corresponding resource file identification information of resource file and storage address information;
Index file is generated according to the resource file identification information and corresponding storage address information;
If receiving packing instruction, resource file identification information to be packaged is obtained;
According to the index file, obtain and the relevant resource file to be packaged of resource file identification information to be packaged Storage address information;And
It waits being packaged described in being obtained in the default resources bank according to the storage address information of the resource file to be packaged Resource file is simultaneously packaged to generate resource packet.
Second aspect, this application provides a kind of generating means of resource packet comprising:
Attribute acquiring unit, for obtaining the corresponding attribute information of all resource files in default resources bank, wherein described Attribute information includes the corresponding resource file identification information of the resource file and storage address information;
File generating unit, for generating index according to the resource file identification information and corresponding storage address information File;
Mark acquiring unit obtains resource file identification information to be packaged if being packaged instruction for receiving;
Address acquisition unit, for according to the index file, obtaining and the resource file identification information phase to be packaged The storage address information of the resource file to be packaged closed;And
Packaged unit, the storage address information for the resource file to be packaged according to obtain in the default resources bank It takes the resource file to be packaged and is packaged to generate resource packet.
The third aspect, the application provide a kind of computer equipment again, including memory, processor and are stored in described deposit On reservoir and the computer program that can run on the processor, the processor realize this when executing the computer program The generation method of any one of them resource packet provided is provided.
Fourth aspect, present invention also provides a kind of storage mediums, wherein the storage medium is stored with computer program, The computer program includes program instruction, and described program instruction makes the processor execute the application when being executed by a processor The generation method of any one of them resource packet of offer.
The application provides a kind of generation method, device, computer equipment and the storage medium of resource packet.The life of the resource packet It can be packaged according to resource file practically necessary in project development process at method to form resource packet, reduce resource The quantity of useless resource file in packet, and then reduce the size of resource packet.Meanwhile in pages such as subsequent load HTML, Server can be reduced and send the occupied flow of resource packet, save the floating resources of server.
Description of the drawings
It, below will be to needed in embodiment description in order to illustrate more clearly of the embodiment of the present application technical solution Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present application, general for this field For logical technical staff, without creative efforts, other drawings may also be obtained based on these drawings.
Fig. 1 is a kind of schematic flow diagram of the generation method for resource packet that one embodiment of the application provides;
Fig. 2 is a kind of schematic flow diagram of the generation method for resource packet that one embodiment of the application provides;
Fig. 3 is the idiographic flow schematic diagram of the generation method of resource packet shown in Fig. 2;
Fig. 4 is the idiographic flow schematic diagram of the generation method of resource packet shown in Fig. 2;
Fig. 5 is a kind of schematic flow diagram of the generation method for resource packet that one embodiment of the application provides;
Fig. 6 is a kind of schematic flow diagram of the generation method for resource packet that one embodiment of the application provides;
Fig. 7 is a kind of schematic block diagram of the generating means for resource packet that one embodiment of the application provides;
Fig. 8 is a kind of schematic block diagram of the generating means for resource packet that one embodiment of the application provides;
Fig. 9 is a kind of schematic block diagram of the generating means for resource packet that one embodiment of the application provides;
Figure 10 is a kind of schematic block diagram of the generating means for resource packet that one embodiment of the application provides;
Figure 11 is a kind of schematic block diagram for computer equipment that one embodiment of the application provides.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation describes, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on this Shen Please in embodiment, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall in the protection scope of this application.
It should be appreciated that ought use in this specification and in the appended claims, term " comprising " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded Body, step, operation, element, component and/or its presence or addition gathered.
It is also understood that the term used in this present specification is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the application.As present specification and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is Refer to any combinations and all possible combinations of one or more of associated item listed, and includes these combinations.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow diagram of the generation method of resource packet provided by the embodiments of the present application.It should The generation method of resource packet is applied in the terminals such as desktop computer, laptop computer, tablet computer.As shown in Figure 1, the resource packet Generation method includes step S101~S105.
S101, it obtains and presets the corresponding attribute information of all resource files in resources bank, wherein the attribute information includes The corresponding resource file identification information of the resource file and storage address information.
In the present embodiment, default resources bank may include JavaScript method library (hereinafter referred to as JS method base). In other embodiment, which can also include other methods library, be not particularly limited herein.
The resource file may include JSON files.The resource file identification information can be the title of JSON files.When So, which can also be the number etc. that developer is each resource file setting, as long as can be with area Divide each resource file, is not particularly limited herein.
S102, index file is generated according to the resource file identification information and corresponding storage address information.
After getting the corresponding resource file identification information of each resource file and storage address information, resource will be established The correspondence of file identification information and storage address information, and index file is generated according to the correspondence.
In one embodiment, in indexed file, between resource file identification information and corresponding storage address information Correspondence can show in the form of a list, as shown in table 1.
Table 1
It should be noted that the content in index file is not limited to resource file identification information and correspondence shown in table 1 Storage address information, can also include other content, be not particularly limited herein.In addition, resource file mark in index file The correspondence for knowing information and storage address information is also not limited to show by the form of list, can also be that other kinds show Form.
If S103, receiving packing instruction, resource file identification information to be packaged is obtained.
In one embodiment, there is the user interface of packing, for example, packing device is installed in terminal in terminal, it should Packing device has user interface.When developer develops some project, it is assumed that project needs are used to 50 JSON texts Part.So the title of 50 JSON files needed for project can be input to the corresponding positions of user interface by developer It sets, then developer clicks the packing button etc. in user interface, and such terminal can receive packing instruction, so The title for obtaining 50 JSON files input by user again afterwards obtains 50 input by user resource file mark letters to be packaged Breath.
It should be noted that the title of 50 JSON files needed for user items is input to the corresponding of user interface The concrete mode of position can be:Corresponding positions for the title of 50 JSON files to be input to user interface one by one It sets, the title of 50 JOSN files can also be written in a document, the store path of document is then input to user behaviour Make the corresponding position at interface, such terminal can get the document, and lead to when receiving packing instruction according to store path It crosses and reads the title in document to get the title of 50 JSON files.
In general, there are associated correlated resources files for certain resource files.For example, the operation of JSON files A needs JSON file B and JSON file C are relied on, then JSON file B and JSON files C is exactly the correlated resources text of JSON files A Part.At this point, the resource file identification information to be packaged not only needs to include the corresponding resource file mark of resource file needed for project Know information, also to include the resource file identification information of correlated resources file associated with resource file needed for project.For example, Resource file needed for project is 50 JSON files, wherein there are one JSON files A, there are correlated resources file JSON files B and JSON file C, then developer need by needed for project the corresponding resource file identification information of 50 JSON files, The corresponding resource file identification informations of correlated resources file JSON file B and JSON files C are input in terminal.Terminal obtains at this time The number for the resource file identification information to be packaged got is 52.
S104, according to the index file, obtain with the resource file identification information to be packaged it is relevant wait being packaged provide The storage address information of source file.
In the present embodiment, when step S103 is got after being packaged resource file identification information, terminal acquisition is deposited in advance Then the index file of storage searches resource file to be packaged corresponding to resource file identification information to be packaged in indexed file Storage address information.For example, as shown in table 1, when the resource file that resource file identification information to be packaged is JSON files A identifies When information, can find the corresponding storage address informations of JSON files A by index file is:G:Base-JS JSON text Part collection JSON files 001.
Since index file is generated in advance, when executing step S104, index file may not be newest index File.If after generating index file, developer has carried out addition to presetting the resource file in resources bank, modification, has deleted When Deng operating, the index file being generated in advance cannot show the resource file situation in default resources bank well.Therefore, it needs To judge whether index file is newest index file before executing step S104.
Specifically, in one embodiment, as shown in Fig. 2, Fig. 2 is a kind of generation of resource packet provided by the embodiments of the present application The schematic flow diagram of method.Further include step S106 and S107 before executing step S104.
S106, judge whether the index file is newest index file.
Specifically, in one embodiment, judge whether the index file is that newest index file may include:It obtains The operation log of the generated time information of the index file and the default resources bank, wherein the operation log includes The update information on content of the default resources bank;Judge the rope according to the generated time information and the update information on content Whether quotation part is newest index file.
For example, the generated time information of index file is 10 minutes and 10 seconds 20 points of on January 1st, 2018, it is assumed that developer exists 9 points of January 2 in 2018 is added to a resource file a in 50 seconds 10 minutes in default resources bank, then the behaviour of the default resources bank A update information on content will be recorded by making in daily record includes:Add resource file a, corresponding storage address information and update Temporal information, the renewal time information are 10 minutes and 50 seconds 9 points of on January 2nd, 2018.When so terminal is according to the generation of index file Between in information and update information on content renewal time information it is determined that current index file is not newest index file. Similarly, when update information on content after the generated time information of indexed file is not present in operation log, terminal can be with Judge that current index file is newest index file.
It is understood that in other embodiments, terminal judge index file whether be newest index file side Formula is not limited to aforesaid way, can also be other modes, be not particularly limited herein.
If terminal judges that the index file is newest index file, S104 is thened follow the steps, that is, according to the rope Quotation part obtains the storage address information with the relevant resource file to be packaged of resource file identification information to be packaged.
If it is newest index file that terminal, which judges the index file not, S107 is thened follow the steps.
S107, the update index file.
When it is newest index file that step S106, which judges index file not, need first to update index file.
Specifically, in one embodiment, as shown in figure 3, Fig. 3 is specifically showing for the generation method of resource packet shown in Fig. 2 Meaning flow chart.Step S107 includes step S1071 and S1072.
S1071, the corresponding attribute information of all resource files in presently described default resources bank is obtained.
S1072, the index file is updated according to the attribute information.
In this embodiment, when needing to update index file, all resource texts in current preset resources bank are needed to be traversed for Then the corresponding attribute information of part updates index file further according to the corresponding attribute information of all resource files.
Specifically, an index file can be regenerated according to the corresponding attribute information of all resource files and is override Index file originally.Certainly, in order to save the time, saving resource can also be by the resource file that step S1071 is got The attribute information of attribute information and the resource file in original index file carries out matching judgment, when the attribute of resource file is believed When breath matches with the attribute information described in original index file, then this in index file attribute information need not be rewritten. Attribute information when resource file and the attribute information mismatch described in original index file, or in original index file not Record the corresponding attribute information of the resource file, or the corresponding resource text of some attribute information described in original index file When part is not in default resources bank, terminal needs again to modify to the respective attributes information in index file, add The operations such as add, delete, the update to complete to index file operates.
Certainly, the mode for updating index file is not limited to mode shown in Fig. 3, can also be other modes, for example, such as Shown in Fig. 4, Fig. 4 is the specific schematic flow diagram of the generation method of resource packet shown in Fig. 2.Step S107 includes step S1073 and S1074.
S1073, the operation log for reading the default resources bank, wherein the operation log includes the default resource The update information on content in library.
In general, when presetting the variations such as the content generation addition, change, deletion of resources bank, can remember in operation log It carries.It specifically, can be in update information on content described in operation log.The update information on content may include:Addition/deletion/ Change operation, the corresponding resource file identification information of resource file of addition/deletion/change, corresponding storage address information, more New temporal information etc..Terminal can change according to operation log it is known which has occurred in default resources bank in this way, It is convenient that index file is subsequently updated according to update information on content.
S1074, the index file is updated according to the update information on content.
In update mode shown in Fig. 4, the data processing amount of terminal is relatively small, can shorten renewal time, in turn Reduce and is packaged spent time.
In the present embodiment, after step S107 has updated index file, step S104 will be executed, that is, according to the rope Quotation part obtains the storage address information with the relevant resource file to be packaged of resource file identification information to be packaged.
S105, the storage address information of resource file to be packaged according to wait for described in being obtained in the default resources bank It is packaged resource file and is packaged to generate resource packet.
Terminal find it is each after being packaged the relevant storage address information of resource file identification information, will be according to these Storage address information searches corresponding resource file to be packaged in default resources bank, then obtains these resource files to be packaged It is packaged, the resource packet generated in this way is exactly made of being packaged according to the actually required resource file of developer's exploration project Resource packet, it is possible to reduce the quantity of useless resource file in resource packet.
Specifically, in one embodiment, according to the storage address information of the resource file to be packaged in the default money Resource file to be packaged described in being obtained in the library of source is simultaneously packaged to generate resource packet, is specifically included:It waits being packaged money according to described The storage address information of source file obtained in the default resources bank described in resource file to be packaged, and pass through default packing device It is packaged to generate resource packet.Wherein, which includes Gulp, Grunt or Webpack.
In one embodiment, as shown in figure 5, the another of generation method that Fig. 5 is resource packet in one embodiment of the application shows Meaning flow chart.Further include step S108 and S109 before step S105.
S108, judge whether to get each relevant resource file to be packaged of resource file identification information to be packaged Storage address information.
In the embodiment shown in fig. 5, the resource file being if desired packaged is not present in default resources bank, and exploit person Member and it is ignorant when, it is only the corresponding storage address information of part resource file that step S104, which gets storage address information, The corresponding storage address information of resource file being not present in needed for project and default resources bank can not just be got, if at this time The packaging operation for still carrying out step S105, will certainly make the resource file in the resource packet imperfect, subsequent load HTML It can also malfunction when Webpage.
Therefore, it before executing step S105, needs to judge whether to get each resource file identification information to be packaged The storage address information of relevant resource file to be packaged.If it is related to get all resource file identification informations to be packaged Resource file to be packaged storage address information, then follow the steps S105, that is, according to the storage of the resource file to be packaged Address information resource file to be packaged and is packaged to generate resource packet described in being obtained in the default resources bank.If in the presence of Resource file identification information to be packaged described in storage address information has not been obtained, thens follow the steps S109.
S109, display reminding information wait for that packet resource file identifies to prompt user to have not been obtained described in storage address information Information.
If there are one or several resource file identification informations to be packaged do not get corresponding storage address information, explanation There is no corresponding resource file to be packaged in default resources bank, display reminding information informs the users such as developer missing at this time Which resource file, in order to which developer is added the operations such as respective resources file to default resources bank in time.
In one embodiment, after step S105, further include:The resource packet is injected into WEB page file.Example Such as, after terminal, which completes resource packet, to be packaged, packed resource packet is injected into html page file.
In the present embodiment, the generation method of the resource packet can be according to resource practically necessary in project development process File is packaged so that the quantity of useless resource file greatly reduces in the resource packet generated, and then reduces resource packet Size.In WEB pages such as subsequent load HTML, server can also be reduced and send the occupied flow of resource packet.
It please refers to shown in Fig. 6, Fig. 6 is the schematic flow diagram of the generation method of resource packet in one embodiment of the application.The money The generation method of source packet is applied in the terminals such as desktop computer, laptop computer, tablet computer.As shown in fig. 6, the life of the resource packet Include step S201~S205 at method.
S201, it obtains and presets the corresponding attribute information of all resource files in resources bank, wherein the attribute information includes The corresponding resource file identification information of the resource file, storage address information and association associated with resource file money The resource file identification information of source file.
In the present embodiment, default resources bank may include JavaScript method library (hereinafter referred to as JS method base).It should Resource file may include JSON files.
In the present embodiment, there are associated correlated resources files for certain resource files, for example, are deposited in default resources bank 100 resource files are contained, wherein three resource files are respectively JSON file A, JSON file B and JSON files C.Due to JSON files A at runtime, needs to call JSON file B and JSON files C, that is to say, that the operation of JSON files A need according to Rely JSON file B and JSON files C.JSON files B and JSON file C is exactly the correlated resources file of JSON files A at this time.
In one embodiment, it is corresponding can to find correlated resources file associated there in resource file for terminal Resource file identification information.For example, field preserves JSON files A and JSON file B and JSON files C in JSON files A Incidence relation and JSON file B and JSON files C resource file identification information.Terminal can be by browsing JSON files A learns this category of the resource file identification information of correlated resources file JSON file B and JSON files C associated there Property.
It is understood that in other embodiments, can also be got using other modes related to resource file The corresponding resource file identification information of correlated resources file and correlated resources file of connection, is not particularly limited herein.
S202, according to the resource file mark of the resource file identification information, storage address information and correlated resources file Know information and generates index file.
Getting the corresponding resource file identification information of each resource file, storage address information and correlated resources text After the corresponding resource file identification information of part, resource file identification information and storage address information and correlated resources file will be established Correspondence between corresponding resource file identification information, and index file is generated according to the correspondence.
In one embodiment, in indexed file, resource file identification information and corresponding storage address information and association Correspondence between the corresponding resource file identification information of resource file can show in the form of a list, as shown in table 2.
Table 2
In table 2, three resource files in default resources bank, respectively JSON files A, JSON files are only listed B and JSON files C, wherein the correlated resources file of JSON files A is JSON file B and JSON files C.The table 2 is recorded respectively The resource file of the resource file identification information of each resource file, corresponding storage address information and correlated resources file Identification information.
If S203, receiving packing instruction, resource file identification information to be packaged is obtained.
In the present embodiment, which includes the corresponding resource text of resource file needed for project Part identification information, and the resource file identification information of correlated resources file associated with the resource file needed for project, then not Developer is needed to go to provide.That is, the resource file identification information to be packaged in step S203 refers to needed for project The corresponding resource file identification information of resource file, can save the time of developer, while also avoiding developer in this way The resource file identification information of some correlated resources files is omitted, does not especially know the resource needed for project in developer When file whether there is correlated resources file, the scheme enhanced convenience of the application is practical, and convenience is provided to developer.
For example, it is assumed that project needs are used to 50 JSON files, and one of JSON files are JSON file A, according to Table 2 it is known that JSON files A there are correlated resources file JSON file B and JSON files C.So developer only needs The corresponding resource file identification informations of JSON files A are input to terminal, without by C pairs of JSON file B and JSON file The resource file identification information answered is input to terminal, and subsequent terminal can be according to the resource file identification information and rope of JSON files A Quotation part finds the resource file identification information of corresponding correlated resources file.Certainly, developer can also be by JSON files B Resource file identification information corresponding with JSON files C is input to terminal, resource file the to be packaged mark that such terminal obtains Information includes just the resource of resource file corresponding resource file identification information and associated correlated resources file needed for project File identification information.
S204, according to the index file, obtain the storage address corresponding with the resource file identification information to be packaged Storage address information corresponding to the resource file identification information of information and associated correlated resources file, which is used as, to be waited being packaged money The storage address information of source file.
For example, as shown in table 2, it is assumed that the resource file identification information to be packaged that step S203 is got is JSON files A Resource file identification information index file shown in table 2 is first obtained, then in rope then terminal is when executing step S204 The storage address information of resource file to be packaged is searched in quotation part.Specifically, it is first identified according to the resource file of JSON files A Acquisition of information to corresponding storage address information be " G:Base-JS JSON file sets JSON files 001 ", then obtaining The resource file identification information and JSON files C that the resource file identification information for getting correlated resources file is JSON files B Resource file identification information, then in the resource file mark according to the resource file identification information and JSON files C of JSON files B Know the corresponding storage address information of acquisition of information, respectively " G:Base-JS JSON file sets JSON files 001 " and “G:Base-JS JSON file sets JSON files 002 ".By JSON files A, correlated resources file JSON files B, association Storage address information of the corresponding storage address informations of resource file JSON files C as resource file to be packaged.Namely this When resource file to be packaged other than including the JSON files A needed for developer, further include JSON files B associated with it With JSON files C.
S205, the storage address information of resource file to be packaged according to wait for described in being obtained in the default resources bank It is packaged resource file and is packaged to generate resource packet.
Terminal find it is each after being packaged the relevant storage address information of resource file identification information, will be according to these Storage address information searches corresponding resource file to be packaged in default resources bank, then obtains these resource files to be packaged And be packaged, the resource packet generated in this way is exactly to be packaged according to the actually required resource file of developer's exploration project Resource packet, it is possible to reduce the quantity of useless resource file in resource packet.
It specifically, in one embodiment, can be according to the storage address information of the resource file to be packaged described pre- If resource file to be packaged described in being obtained in resources bank is simultaneously packaged by default packing device to generate resource packet.Wherein, should Default packing device includes Gulp, Grunt or Webpack.
In the present embodiment, the generation method of the resource packet can be according to resource practically necessary in project development process File is packaged so that the quantity of useless resource file greatly reduces in the resource packet generated, and then reduces resource packet Size.In WEB pages such as subsequent load HTML, server can also be reduced and send the occupied flow of resource packet.
The embodiment of the present application also provides a kind of generating means of resource packet, and the generating means of the resource packet are aforementioned for executing The generation method of any one resource packet.Specifically, referring to Fig. 7, Fig. 7 is a kind of life of resource packet provided by the embodiments of the present application At the schematic block diagram of device.The generating means 300 of resource packet can be installed on desktop computer, tablet computer, laptop computer, etc. In terminal.
As shown in fig. 7, the generating means 300 of resource packet include attribute acquiring unit 301, file generating unit 302, mark Acquiring unit 303, address acquisition unit 304 and packaged unit 305.
Attribute acquiring unit 301, for obtaining the corresponding attribute information of all resource files in default resources bank, wherein The attribute information includes the corresponding resource file identification information of the resource file and storage address information.
In the present embodiment, default resources bank may include JavaScript method library (hereinafter referred to as JS method base).It should Resource file may include JSON files.The resource file identification information can be the title of JSON files.
File generating unit 302, for being generated according to the resource file identification information and corresponding storage address information Index file.
Mark acquiring unit 303 obtains resource file identification information to be packaged if being packaged instruction for receiving.
In one embodiment, there is the user interface of packing, for example, packing device is installed in terminal in terminal, it should Packing device has user interface.Developer inputs resource file identification information to be packaged by user interface, when opening When sending out personnel point impact packet button, mark acquiring unit 303 can get resource file identification information to be packaged.
In the present embodiment, the resource file needed for the project is there are when correlated resources file, the resource file to be packaged Identification information not only needs to include the corresponding resource file identification information of resource file needed for project, also to include with needed for project The resource file identification information of the associated correlated resources file of resource file.
Address acquisition unit 304, for according to the index file, obtaining and the resource file identification information to be packaged The storage address information of relevant resource file to be packaged.
In the present embodiment, when mark acquiring unit 303 is got after being packaged resource file identification information, address obtains Unit 304 will obtain pre-stored index file, and resource file identification information pair to be packaged then is searched in indexed file The storage address information for the resource file to be packaged answered.
In one embodiment, as shown in figure 8, the structure that Fig. 8 is the generating means of resource packet in one embodiment of the application is shown It is intended to.The generating means 300 of the resource packet further include the first judging unit 306 and updating unit 307.
First judging unit 306, for judging whether the index file is newest index file.
Specifically, in one embodiment, the first judging unit 306 is specifically used for obtaining the generated time of the index file The operation log of information and the default resources bank, wherein the operation log include the content of the default resources bank more New information;Judge whether the index file is newest index according to the generated time information and the update information on content File.
If the first judging unit 306 judges that index file is newest index file, the first judging unit 306 is to ground Location acquiring unit 304 sends signal, waits beating with described so that the address acquisition unit 304 according to the index file, is obtained The storage address information of the relevant resource file to be packaged of packet resource file identification information.If the first judging unit 306 is judged Index file is not newest index file, then the first judging unit 306 sends signal to updating unit 307, so that update Unit 307 executes update operation.
Updating unit 307, for updating the index file.
Specifically, in one embodiment, which is specifically used for obtaining the institute in presently described default resources bank There is the corresponding attribute information of the resource file;And the index file is updated according to the attribute information.
Specifically, in another embodiment, which is specifically used for reading the operation day of the default resources bank Will, wherein the operation log includes the update information on content of the default resources bank;And according to the update information on content Update the index file.
After updating unit 307 has updated the index file, updating unit 307 is sent out to described address acquiring unit 304 The number of delivering letters, so that described address acquiring unit 304 according to the index file, is obtained and identified with the resource file to be packaged The storage address information of the relevant resource file to be packaged of information.
Packaged unit 305, the storage address information for the resource file to be packaged according to is in the default resources bank Resource file to be packaged described in middle acquisition is simultaneously packaged to generate resource packet.
Packaged unit 305 searches corresponding resource text to be packaged according to these storage address informations in default resources bank Then part obtains these resource files to be packaged and is packaged, the resource packet generated in this way is exactly to be developed according to developer Resource packet made of the actually required resource file of project is packaged, it is possible to reduce the quantity of useless resource file in resource packet.
Specifically, in one embodiment, packaged unit 305 is specifically used for the storage of the resource file to be packaged according to Location information resource file to be packaged and is packaged by default packing device to generate described in being obtained in the default resources bank Resource packet.Wherein, which includes Gulp, Grunt or Webpack.
In one embodiment, as shown in figure 9, the structure that Fig. 9 is the generating means of resource packet in one embodiment of the application is shown It is intended to.The generating means 300 of the resource packet further include second judgment unit 308 and display unit 309.
Second judgment unit 308 gets each resource file identification information correlation to be packaged for judging whether Resource file to be packaged storage address information.
If second judgment unit 308 is judged to get, all resource file identification informations to be packaged are relevant waits for dozen The storage address information of packet resource file, second judgment unit 308 sends signal to packaged unit 305, so that packaged unit 305 storage address informations of resource file to be packaged according to obtained in the default resources bank described in resource to be packaged it is literary Part is simultaneously packaged to generate resource packet.
If second judgment unit 308, which is judged to exist, has not been obtained resource file mark to be packaged described in storage address information Know information, then second judgment unit 308 sends signal to display unit 309, so that display unit 309 executes display operation.
Display unit 309 waits wrapping described in storage address information for display reminding information to prompt user to have not been obtained Resource file identification information.
In one embodiment, after packaged unit 305 generates resource packet, packaged unit 305 is additionally operable to the resource packet It is injected into WEB page file.
In the present embodiment, the generating means 300 of the resource packet can be according to practically necessary in project development process Resource file is packaged so that the quantity of useless resource file greatly reduces in the resource packet generated, and then reduces resource The size of packet.In WEB pages such as subsequent load HTML, server can also be reduced and send the occupied flow of resource packet.
Referring to Fig. 10, Figure 10 is the structural schematic diagram of the generating means of resource packet in one embodiment of the application.The resource The generating means 400 of packet can be installed on desktop computer, tablet computer, laptop computer, etc. in terminals.
As shown in Figure 10, the generating means 400 of resource packet include attribute acquiring unit 401, file generating unit 402, mark Know acquiring unit 403, address acquisition unit 404 and packaged unit 405.
Attribute acquiring unit 401, for obtaining the corresponding attribute information of all resource files in default resources bank, wherein The attribute information include the corresponding resource file identification information of the resource file, storage address information and with the resource text The resource file identification information of the associated correlated resources file of part.
In one embodiment, attribute acquiring unit 401 can find association money associated there in resource file The corresponding resource file identification information of source file.It is understood that in other embodiments, attribute acquiring unit 401 also may be used To get money corresponding with the associated correlated resources file of resource file and correlated resources file using other modes Source file identification information, is not particularly limited herein.
File generating unit 402, for according to the resource file identification information, storage address information and correlated resources text The resource file identification information of part generates index file.
Mark acquiring unit 403 obtains resource file identification information to be packaged if being packaged instruction for receiving.
In the present embodiment, which includes the corresponding resource text of resource file needed for project Part identification information.
Address acquisition unit 404, for according to the index file, obtaining and the resource file identification information to be packaged Storage address letter corresponding to the resource file identification information of corresponding storage address information and associated correlated resources file Cease the storage address information as resource file to be packaged.
In the present embodiment, address acquisition unit 404 first obtains index file, is then obtained in indexed file and waits being packaged The resource file identification information of storage address information corresponding to resource file identification information and associated correlated resources file Corresponding storage address information.It is understood that resource file to be packaged at this time is in addition to including the money needed for developer Further include correlated resources file associated with it outside source file.
Packaged unit 405, the storage address information for the resource file to be packaged according to is in the default resources bank Resource file to be packaged described in middle acquisition is simultaneously packaged to generate resource packet.
Specifically, in one embodiment, packaged unit 405 can be believed according to the storage address of the resource file to be packaged It ceases resource file to be packaged described in being obtained in the default resources bank and is packaged by default packing device to generate resource Packet.Wherein, which includes Gulp, Grunt or Webpack.
In the present embodiment, the generating means 400 of the resource packet can be according to practically necessary in project development process Resource file is packaged so that the quantity of useless resource file greatly reduces in the resource packet generated, and then reduces resource The size of packet.In WEB pages such as subsequent load HTML, server can also be reduced and send the occupied flow of resource packet.
The generating means of above-mentioned resource packet can be implemented as a kind of form of computer program, which can be It is run on computer equipment as shown in figure 11.
Please refer to Fig.1 the schematic block diagram that 1, Figure 11 is a kind of computer equipment provided by the embodiments of the present application.The calculating 500 equipment of machine equipment can be terminal.The terminal can be tablet computer, laptop, desktop computer, personal digital assistant Equal electronic equipments.
Refering to fig. 11, which includes processor 502, memory and the net connected by system bus 501 Network interface 505, wherein memory may include non-volatile memory medium 503 and built-in storage 504.
The non-volatile memory medium 503 can storage program area 5031 and computer program 5032.The computer program 5032 include program instruction, which is performed, and processor 502 may make to execute a kind of generation method of resource packet.
The processor 502 supports the operation of entire computer equipment 500 for providing calculating and control ability.
The built-in storage 504 provides environment for the operation of the computer program 5032 in non-volatile memory medium 503, should When computer program 5032 is executed by processor 502, processor 502 may make to execute a kind of generation method of resource packet.
The network interface 505 such as sends the task dispatching of distribution for carrying out network communication.Those skilled in the art can manage It solves, structure is not constituted only with the block diagram of the relevant part-structure of application scheme to the application side shown in Figure 11 The restriction for the computer equipment 500 that case is applied thereon, specific computer equipment 500 may include more than as shown in the figure Or less component, it either combines certain components or is arranged with different components.
Wherein, the processor 502 is for running computer program 5032 stored in memory, to realize following work( Energy:It obtains and presets the corresponding attribute information of all resource files in resources bank, wherein the attribute information includes the resource text The corresponding resource file identification information of part and storage address information;According to the resource file identification information and corresponding storage Location information generates index file;If receiving packing instruction, resource file identification information to be packaged is obtained;According to index text Part obtains the storage address information with the relevant resource file to be packaged of resource file identification information to be packaged;And root Resource file to be packaged described in being obtained in the default resources bank according to the storage address information of the resource file to be packaged is simultaneously It is packaged to generate resource packet.
In one embodiment, attribute information further includes the resource text of correlated resources file associated with the resource file Part identification information;Processor 502 is being executed according to the resource file identification information and corresponding storage address information generation rope When quotation part, following procedure is specifically executed:According to the resource file identification information, storage address information and correlated resources file Resource file identification information generate index file.
Correspondingly, processor 502 is being executed according to the index file, is obtained and is believed with the resource file mark to be packaged Cease it is relevant wait be packaged resource file storage address information when, specifically execute following procedure:According to the index file, obtain The resource of the storage address information and associated correlated resources file corresponding with the resource file identification information to be packaged Storage address information of the corresponding storage address information of file identification information as resource file to be packaged.
In one embodiment, the resource file identification information to be packaged includes the corresponding resource of resource file needed for project The resource file identification information of file identification information and correlated resources file associated with resource file needed for project.
In one embodiment, processor 502 is being executed according to the index file, is obtained and the resource file to be packaged Before the storage address information of the relevant resource file to be packaged of identification information, following procedure is also executed:Judge the index text Whether part is newest index file;If the index file is newest index file, execute according to the index file, The step of obtaining the storage address information with the relevant resource file to be packaged of resource file identification information to be packaged;And If the index file is not newest index file, the index file is updated, and after having updated the index file, It executes according to the index file, acquisition is deposited with the relevant resource file to be packaged of resource file identification information to be packaged The step of storing up address information.
In one embodiment, processor 502 specifically executes following procedure when executing the update index file:It obtains The corresponding attribute information of all resource files in presently described default resources bank;And it is updated according to the attribute information The index file.
In one embodiment, processor 502 specifically executes following procedure when executing the update index file:It reads The operation log of the default resources bank, wherein the operation log includes the update information on content of the default resources bank;With And the index file is updated according to the update information on content.
In one embodiment, processor 502 is executing the storage address information of the resource file to be packaged according in institute It states resource file to be packaged described in being obtained in default resources bank and is packaged before generating resource packet, also to execute following journey Sequence:Judge whether to get the storage address of each relevant resource file to be packaged of resource file identification information to be packaged Information;If getting the storage address letter of all relevant resource files to be packaged of resource file identification information to be packaged Breath, execute according to described in resource file to be packaged storage address information is obtained in the default resources bank described in wait for packing provide Source file and the step of be packaged to generate resource packet;If in the presence of resource to be packaged described in storage address information has not been obtained File identification information, display reminding information wait for that packet resource file identifies to prompt user to have not been obtained described in storage address information Information.
It should be appreciated that in the embodiment of the present application, processor 502 can be central processing unit (CentralProcessing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific IntegratedCircuit, ASIC), ready-made programmable gate array (Field-Programmable GateArray, FPGA) or Person other programmable logic device, discrete gate or transistor logic, discrete hardware components etc..Wherein, general processor Can be microprocessor or the processor can also be any conventional processor etc..
One of ordinary skill in the art will appreciate that be realize above-described embodiment resource packet generation method in whole Or part flow, it is that relevant hardware can be instructed to complete by computer program.The computer program includes that program refers to It enables, computer program can be stored in a storage medium, which is computer readable storage medium.The program instruction quilt At least one of computer system processor executes, and includes the embodiment such as the generation method of above-mentioned each resource packet with realization Process step.
The storage medium can be USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), magnetic disc or The various media that can store program code such as person's CD.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are implemented in hardware or software actually, depend on the specific application and design constraint of technical solution.Specially Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not It is considered as exceeding scope of the present application.
It is apparent to those skilled in the art that for convenience of description and succinctly, the dress of foregoing description The specific work process with unit is set, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary.For example, the division of each unit, only Only a kind of division of logic function, formula that in actual implementation, there may be another division manner.Such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Step in the embodiment of the present application method Suddenly it can be sequentially adjusted, merged and deleted according to actual needs.Unit in the embodiment of the present application device can be according to reality Border needs to be combined, divided and deleted.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also It is that each unit physically exists alone, can also be during two or more units are integrated in one unit.It is above-mentioned integrated The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product, It can be stored in a storage medium.Based on this understanding, the technical solution of the application is substantially in other words to existing skill The all or part of part or the technical solution that art contributes can be expressed in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be People's computer, terminal or network equipment etc.) execute each embodiment the method for the application all or part of step.
The above, the only specific implementation mode of the application, but the protection domain of the application is not limited thereto, it is any Those familiar with the art can readily occur in various equivalent modifications or replace in the technical scope that the application discloses It changes, these modifications or substitutions should all cover within the protection domain of the application.Therefore, the protection domain of the application should be with right It is required that protection domain subject to.

Claims (10)

1. a kind of generation method of resource packet, which is characterized in that including:
It obtains and presets the corresponding attribute information of all resource files in resources bank, wherein the attribute information includes the resource The corresponding resource file identification information of file and storage address information;
Index file is generated according to the resource file identification information and corresponding storage address information;
If receiving packing instruction, resource file identification information to be packaged is obtained;
According to the index file, acquisition is deposited with the relevant resource file to be packaged of resource file identification information to be packaged Store up address information;And
Resource to be packaged described in being obtained in the default resources bank according to the storage address information of the resource file to be packaged File is simultaneously packaged to generate resource packet.
2. the generation method of resource packet according to claim 1, which is characterized in that the attribute information further include with it is described The resource file identification information of the associated correlated resources file of resource file;It is described according to the resource file identification information and Corresponding storage address information generates index file, including:According to the resource file identification information, storage address information and pass The resource file identification information for joining resource file generates index file;
It is described according to the index file, obtain and the relevant resource file to be packaged of resource file identification information to be packaged Storage address information, including:According to the index file, obtain and the resource file identification information to be packaged is corresponding deposits Storage address information corresponding to the resource file identification information of storage address information and associated correlated resources file, which is used as, to be waited for It is packaged the storage address information of resource file.
3. the generation method of resource packet according to claim 1, which is characterized in that the resource file mark letter to be packaged Breath includes the corresponding resource file identification information of resource file needed for project and pass associated with resource file needed for project Join the resource file identification information of resource file.
4. the generation method of resource packet according to claim 1, which is characterized in that described according to the index file, Before obtaining the storage address information with the relevant resource file to be packaged of resource file identification information to be packaged, also wrap It includes:
Judge whether the index file is newest index file;
If the index file is newest index file, execute according to the index file, obtains and wait being packaged money with described The step of storage address information of the relevant resource file to be packaged of source file identification information;And
If the index file is not newest index file, the index file is updated, and updating the index text It after part, executes according to the index file, obtains and the relevant resource text to be packaged of resource file identification information to be packaged The step of storage address information of part.
5. the generation method of resource packet according to claim 4, which is characterized in that the update index file, packet It includes:
Obtain the corresponding attribute information of all resource files in presently described default resources bank;And
The index file is updated according to the attribute information.
6. the generation method of resource packet according to claim 4, which is characterized in that the update index file, packet It includes:
Read the operation log of the default resources bank, wherein the operation log include the content of the default resources bank more New information;And
The index file is updated according to the update information on content.
7. the generation method of resource packet according to claim 1, which is characterized in that the resource to be packaged described in the basis The storage address information of file obtained in the default resources bank described in resource file to be packaged and be packaged with generate money Before the packet of source, further include:
Judge whether to get the storage of each relevant resource file to be packaged of resource file identification information to be packaged Location information;
If getting the storage address information of all relevant resource files to be packaged of resource file identification information to be packaged, Execute according to described in resource file to be packaged storage address information obtained in the default resources bank described in resource to be packaged File and the step of be packaged to generate resource packet;
If in the presence of resource file identification information to be packaged described in storage address information has not been obtained, display reminding information is to prompt User, which has not been obtained, waits for packet resource file identification information described in storage address information.
8. a kind of generating means of resource packet, which is characterized in that including:
Attribute acquiring unit, for obtaining the corresponding attribute information of all resource files in default resources bank, wherein the attribute Information includes the corresponding resource file identification information of the resource file and storage address information;
File generating unit, for generating index text according to the resource file identification information and corresponding storage address information Part;
Mark acquiring unit obtains resource file identification information to be packaged if being packaged instruction for receiving;
Address acquisition unit, for according to the index file, obtaining relevant with the resource file identification information to be packaged The storage address information of resource file to be packaged;And
Packaged unit, the storage address information for the resource file to be packaged according to obtain institute in the default resources bank It states resource file to be packaged and is packaged to generate resource packet.
9. a kind of computer equipment, including memory, processor and it is stored on the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 7 when executing the computer program Any one of resource packet generation method.
10. a kind of storage medium, which is characterized in that the storage medium is stored with computer program, the computer program packet Program instruction is included, described program instruction makes the processor execute such as any one of claim 1 to 7 institute when being executed by a processor The generation method for the resource packet stated.
CN201810306658.3A 2018-04-08 2018-04-08 A kind of generation method, device, computer equipment and the storage medium of resource packet Pending CN108509209A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810306658.3A CN108509209A (en) 2018-04-08 2018-04-08 A kind of generation method, device, computer equipment and the storage medium of resource packet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810306658.3A CN108509209A (en) 2018-04-08 2018-04-08 A kind of generation method, device, computer equipment and the storage medium of resource packet

Publications (1)

Publication Number Publication Date
CN108509209A true CN108509209A (en) 2018-09-07

Family

ID=63380938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810306658.3A Pending CN108509209A (en) 2018-04-08 2018-04-08 A kind of generation method, device, computer equipment and the storage medium of resource packet

Country Status (1)

Country Link
CN (1) CN108509209A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109491699A (en) * 2018-10-26 2019-03-19 网易(杭州)网络有限公司 Resource inspection method, device, equipment and the storage medium of application program
CN109614162A (en) * 2018-11-15 2019-04-12 福建天泉教育科技有限公司 Based on the loaded and optimized method in front end under component development paradigm, storage medium
CN109683945A (en) * 2018-12-12 2019-04-26 泰康保险集团股份有限公司 Routine interface processing method and system, its computer-readable medium and electronic equipment
CN109976741A (en) * 2019-03-21 2019-07-05 深圳市腾讯信息技术有限公司 Computer resource management method, apparatus, intelligent terminal and storage medium
CN110297971A (en) * 2019-05-30 2019-10-01 百度在线网络技术(北京)有限公司 Personalized resource retrieval method, device, equipment and computer readable storage medium
CN110908697A (en) * 2019-11-28 2020-03-24 米哈游科技(上海)有限公司 Resource packaging method, device, server and storage medium
CN111078259A (en) * 2019-12-20 2020-04-28 上海米哈游天命科技有限公司 Audio packaging method and device, electronic equipment and storage medium
CN111221559A (en) * 2019-11-05 2020-06-02 北京达佳互联信息技术有限公司 Application updating method and device, storage medium, terminal and server
CN111443942A (en) * 2020-04-22 2020-07-24 广州虎牙科技有限公司 Resource file packaging method and device, storage medium and computer equipment
CN112925559A (en) * 2021-04-09 2021-06-08 网易(杭州)网络有限公司 Resource packaging method, device, medium and electronic equipment
CN113110870A (en) * 2021-04-26 2021-07-13 上海米哈游璃月科技有限公司 Resource packaging management method, device, equipment and storage medium
CN113157306A (en) * 2021-04-16 2021-07-23 上海米哈游璃月科技有限公司 Resource packaging management method, device, equipment and storage medium
CN111443942B (en) * 2020-04-22 2024-04-19 广州虎牙科技有限公司 Method and device for packaging resource files, storage medium and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060225072A1 (en) * 2004-05-18 2006-10-05 Oracle International Corporation Packaging multiple groups of read-only files of an application's components into multiple shared libraries
US20100095064A1 (en) * 2008-10-14 2010-04-15 Aviles Joaquin J Pattern Matching Technique
CN102880677A (en) * 2012-09-11 2013-01-16 珠海金山网络游戏科技有限公司 File packing and reading method based on Hash
CN107402788A (en) * 2017-07-25 2017-11-28 网易(杭州)网络有限公司 Resource packing management method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060225072A1 (en) * 2004-05-18 2006-10-05 Oracle International Corporation Packaging multiple groups of read-only files of an application's components into multiple shared libraries
US20100095064A1 (en) * 2008-10-14 2010-04-15 Aviles Joaquin J Pattern Matching Technique
CN102880677A (en) * 2012-09-11 2013-01-16 珠海金山网络游戏科技有限公司 File packing and reading method based on Hash
CN107402788A (en) * 2017-07-25 2017-11-28 网易(杭州)网络有限公司 Resource packing management method and device

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109491699A (en) * 2018-10-26 2019-03-19 网易(杭州)网络有限公司 Resource inspection method, device, equipment and the storage medium of application program
CN109614162A (en) * 2018-11-15 2019-04-12 福建天泉教育科技有限公司 Based on the loaded and optimized method in front end under component development paradigm, storage medium
CN109614162B (en) * 2018-11-15 2023-10-10 福建天泉教育科技有限公司 Front-end loading optimization method based on component development mode and storage medium
CN109683945A (en) * 2018-12-12 2019-04-26 泰康保险集团股份有限公司 Routine interface processing method and system, its computer-readable medium and electronic equipment
CN109976741B (en) * 2019-03-21 2022-06-14 深圳市腾讯信息技术有限公司 Computer resource management method and device, intelligent terminal and storage medium
CN109976741A (en) * 2019-03-21 2019-07-05 深圳市腾讯信息技术有限公司 Computer resource management method, apparatus, intelligent terminal and storage medium
CN110297971A (en) * 2019-05-30 2019-10-01 百度在线网络技术(北京)有限公司 Personalized resource retrieval method, device, equipment and computer readable storage medium
CN110297971B (en) * 2019-05-30 2022-09-20 百度在线网络技术(北京)有限公司 Personalized resource retrieval method, device, equipment and computer readable storage medium
CN111221559A (en) * 2019-11-05 2020-06-02 北京达佳互联信息技术有限公司 Application updating method and device, storage medium, terminal and server
CN110908697B (en) * 2019-11-28 2023-06-16 米哈游科技(上海)有限公司 Resource packaging method, device, server and storage medium
CN110908697A (en) * 2019-11-28 2020-03-24 米哈游科技(上海)有限公司 Resource packaging method, device, server and storage medium
CN111078259A (en) * 2019-12-20 2020-04-28 上海米哈游天命科技有限公司 Audio packaging method and device, electronic equipment and storage medium
CN111443942A (en) * 2020-04-22 2020-07-24 广州虎牙科技有限公司 Resource file packaging method and device, storage medium and computer equipment
CN111443942B (en) * 2020-04-22 2024-04-19 广州虎牙科技有限公司 Method and device for packaging resource files, storage medium and computer equipment
CN112925559A (en) * 2021-04-09 2021-06-08 网易(杭州)网络有限公司 Resource packaging method, device, medium and electronic equipment
CN112925559B (en) * 2021-04-09 2023-10-20 网易(杭州)网络有限公司 Resource packaging method, device, medium and electronic equipment
CN113157306A (en) * 2021-04-16 2021-07-23 上海米哈游璃月科技有限公司 Resource packaging management method, device, equipment and storage medium
CN113110870A (en) * 2021-04-26 2021-07-13 上海米哈游璃月科技有限公司 Resource packaging management method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108509209A (en) A kind of generation method, device, computer equipment and the storage medium of resource packet
US10083242B2 (en) System and method for data-driven web page navigation control
CN102799640B (en) Page charger and page loading method
CN107992557A (en) Static resource update method, device, storage medium and computer equipment
CN107609004B (en) Application program embedding method and device, computer equipment and storage medium
CN106649543B (en) Method, device and terminal for recording reading progress
CN106201861A (en) The detection method of a kind of code quality and device
US20120254118A1 (en) Recovery of tenant data across tenant moves
CN109032663A (en) Generation method, device, computer equipment and the storage medium of interface document
CN107729452B (en) Webpage loading method and device, electronic equipment and computer readable storage medium
CN108470004A (en) Test script generation method, test method, device, equipment and storage medium
CN108399072A (en) Five application page update method and device
CN108874409A (en) A kind of information updating method, device, server and system
JP5255156B2 (en) Database application navigation
CN110213105A (en) It is a kind of cross-platform micro- using creation method
CN109460546A (en) List generation method, device and electronic equipment
CN104067262B (en) Server side minimum is downloaded and mistake fault shifts
JPWO2011118003A1 (en) Web application construction system, web application construction method, web application construction program, and recording medium recording web application construction program
CN108984339A (en) Data reconstruction method and Related product
CN110119386A (en) Data processing method, data processing equipment, medium and calculating equipment
US20120310912A1 (en) Crawl freshness in disaster data center
CN104378393A (en) Resource sharing method and corresponding device
CN109597948A (en) Access method, system and the storage medium of URL link
CN113076086B (en) Metadata management system and method for modeling model object using the same
CN109766313A (en) Geological project data processing method, device and computer equipment

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180907

WD01 Invention patent application deemed withdrawn after publication