CN107908404A - program packaging method, system and terminal device - Google Patents

program packaging method, system and terminal device Download PDF

Info

Publication number
CN107908404A
CN107908404A CN201711142204.9A CN201711142204A CN107908404A CN 107908404 A CN107908404 A CN 107908404A CN 201711142204 A CN201711142204 A CN 201711142204A CN 107908404 A CN107908404 A CN 107908404A
Authority
CN
China
Prior art keywords
program
packing
packed
page
code data
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
CN201711142204.9A
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.)
Shenzhen City Spring Network Technology Co Ltd
Original Assignee
Shenzhen City Spring Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen City Spring Network Technology Co Ltd filed Critical Shenzhen City Spring Network Technology Co Ltd
Priority to CN201711142204.9A priority Critical patent/CN107908404A/en
Publication of CN107908404A publication Critical patent/CN107908404A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • G06F8/443Optimisation
    • G06F8/4434Reducing the memory space required by the program code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of program packaging method, system and terminal device, its Program packaging method includes:According to business item, all pages of program to be packed are classified, pass through multiple packetization modules, the code data of each page of classification is obtained respectively and is packed, packetization module is corresponded with business item, the program file that each packetization module is packed, merges total program file of boil down to program to be packed.Above procedure packaging method, system and terminal device, can be automatically performed the joint packaging operation to multiple business items, and pack parallel to multiple business items, improve packing efficiency and speed.

Description

Program packaging method, system and terminal device
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of program packaging method, system and terminal device.
Background technology
At present, the interactive interface of client-side program is typically by multiple webpages(Web)Form.During program development Need to pack to multiple webpages.At present the packing program of all Web projects be all by programmer manually to each Web into Row compiles, and is copied to manually again after file to be generated and ultimately produces an APMB package together.This way needs manual intervention Thing is too many, complicated and project packet error rate is higher caused by artificial origin.
The content of the invention
The embodiment of the present invention provides a kind of program packaging method, system and terminal device, can solve the manual of webpage packing It is cumbersome caused by packing, the problem of efficiency is low.
First aspect of the embodiment of the present invention provides a kind of program packaging method, including:
According to business item, all pages of program to be packed are classified;
By multiple packetization modules, obtain the code data of each page of classification respectively and pack, the packetization module with The business item corresponds;The program file that each packetization module is packed, merges and waits to pack described in boil down to Total program file of program.
Second aspect of the embodiment of the present invention provides a kind of program packaging method, including:
The uniform packing order that multiple baling equipments are sent according to total control equipment, obtains the packing order from server respectively and refers to To program to be packed in each business item at least one page code data and pack, by the obtained program of packing File is sent to the total control equipment;
The program file that each baling equipment is sent is merged compression by the total control equipment, obtains the program to be packed Total program file.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including:
Sort module, for according to business item, all pages of program to be packed to be classified;
Packetization module, for each page for obtaining classification respectively code data and pack, the packetization module with it is described Business item corresponds;
Processing module, for the program file that each packetization module is packed, merges program to be packed described in boil down to Total program file.
Fourth aspect of the embodiment of the present invention provides a kind of procedure packing system, including:
Baling equipment, total control equipment and server;
Multiple baling equipments, for the uniform packing order sent according to the total control equipment, respectively from the server Obtain the code data of at least one page of each business item in the program to be packed that the packing order is directed toward and beaten Bag, the total control equipment is sent to by the program file that packing obtains;
The total control equipment, the program file for each baling equipment to be sent merge compression, obtain described treat dozen Total program file of bag program.
In the embodiment of the present invention, according to business item, all pages of program to be packed are classified, are beaten by multiple Bag module, respectively packs the code data of each page of classification, the program file that each packetization module is packed, and closes And total program file of boil down to program to be packed, it is automatically performed the joint packaging operation to multiple business items, and due to Each business module includes multiple pages, and each page can be multiplexed in different business modules, therefore, belong to a business The page of project can be supplied to multiple packetization modules to pack, and, multiple business items are packed parallel, improve packing effect Rate and speed, also, each business item can do independent version management, packetization module can pack different business project The program file of different editions.
Brief description of the drawings
The program packaging method that Fig. 1 provides for first embodiment of the invention realizes flow diagram;
The program packaging method that Fig. 2 provides for second embodiment of the invention realizes flow diagram;
The program packaging method that Fig. 3 provides for third embodiment of the invention realizes flow diagram;
The program packaging method that Fig. 4 provides for fourth embodiment of the invention realizes flow diagram;
Fig. 5 is a kind of structure diagram for terminal device that fifth embodiment of the invention provides;
Fig. 6 is a kind of structure diagram for terminal device that sixth embodiment of the invention provides;
Fig. 7 is a kind of structure diagram for procedure packing system that seventh embodiment of the invention provides.
Embodiment
Goal of the invention, feature, advantage to enable the present invention is more obvious and understandable, below in conjunction with the present invention Attached drawing in embodiment, is clearly and completely described the technical solution in the embodiment of the present invention, it is clear that described reality It is only part of the embodiment of the present invention to apply example, and not all embodiments.Based on the embodiments of the present invention, people in the art Member's all other embodiments obtained without making creative work, belong to the scope of protection of the invention.
Referring to Fig. 1, a kind of program packaging method provided for first embodiment of the invention realizes flow diagram.Such as Shown in Fig. 1, this method is applied to terminal device, mainly includes the following steps that:
S101, according to business item, all pages of program to be packed are classified;
The page and the business item are one-to-one or one-to-many relation.
Multiple business modules are included in program to be packed, each business module corresponds to a user oriented business item. One business item can include more sub-projects, and all business sub-projects on a service line are regarded as same industry Business project, for example, comprising the business item such as " recruitment ", " real estate ", " housekeeping ", " pet " in the program to be packed, in " premises The sub-projects such as " new house ", " second-hand house ", " renting a house ", " office building " can be included in production " business item.So, " new house ", " second-hand Room ", " renting a house ", " office building " are to belong to " real estate " service line, and " new house ", " second-hand house ", " renting a house ", " office building " are all Same " real estate " business item.
Each business module includes multiple pages, and each page can be multiplexed in different business modules.
Terminal device classifies all pages of program to be packed according to business item, i.e. by all pages according to Different business items are classified, and the data of the sorted page are preserved in one file.
S102, by multiple packetization modules, obtain the code data of each page of classification respectively and pack, the packing Module is corresponded with the business item;Multiple packetization modules, each packetization module and a business are provided with terminal device Project corresponds to, and by multiple packetization modules, obtains the code data of each page of each business item after classification respectively, and by each industry The code data of each page of business project is packed respectively, and a packetization module is by each page of a corresponding business item Code data, be packaged as program file.
All page datas can be sent to different packetization modules.
S103, the program file that each packetization module is packed, merge total program text of the boil down to program to be packed Part.
Collect the program file that each packetization module is packed, and this waits to pack by the program file collected merging boil down to Total program file of program.
Program packaging method provided in an embodiment of the present invention, according to business item, by all pages of program to be packed into Row classification, by multiple packetization modules, respectively packs the code data of each page of classification, each packetization module is packed Obtained program file, merges total program file of boil down to program to be packed, is automatically performed the joint to multiple business items Packaging operation, and since each business module includes multiple pages, each page can be multiplexed in different business modules, because This, belonging to the page of a business item can be supplied to multiple packetization modules to pack, and, multiple business items are simultaneously Row packing, improves packing efficiency and speed, also, each business item can do independent version management, and packetization module can be with The program file of the different editions for different business project of packing.
Referring to Fig. 2, a kind of program packaging method provided for second embodiment of the invention realizes flow diagram.Such as Shown in Fig. 2, this method mainly includes the following steps that:
S201, according to business item, all pages of program to be packed are classified;
The page and the business item are one-to-one or one-to-many relation.
Multiple business modules are included in program to be packed, each business module corresponds to a user oriented business item. One business item can include more sub-projects, and all business sub-projects on a service line are regarded as same industry Business project.
Each business module includes multiple pages, and each page can be multiplexed in different business modules.
Terminal device classifies all pages of program to be packed according to business item, i.e. by all pages according to Different business items are classified, and the data of the sorted page are preserved in one file.
S202, generate multiple packing configuration files, and the code for each page for having the classification is recorded in the packing configuration file The storage location information and version information of data, the packing configuration file are corresponded with the business item;
One packing of generation, which is corresponded to, for each business item coordinates file, record and the business in each packing configuration file The storage location and version information of the code data of the corresponding each page of project.
S203, to multiple packetization modules send uniform packing order, and multiple packetization modules obtain multiple beat according to the order Bag configuration file, and according to the storage location information and version information in packing configuration file, each page of classification is obtained respectively Code data and pack;The packing command format such as npm run build [packageName], wherein, PackageName is the project name of packed items, and business item can obtain packageName parameters, according to configuration file only The page that compiling packing is specified.
Specifically, multiple packetization modules obtain multiple packing configuration files according to the order, and according to packing configuration file In storage location information and version information, obtain the code data of each page of classification respectively and pack.
S204, by the program file that respectively packetization module is packed, merge total program of the boil down to program to be packed File.
Collect the program file that each packetization module is packed, and this waits to pack by the program file collected merging boil down to Total program file of program.
Program packaging method provided in an embodiment of the present invention, according to business item, by all pages of program to be packed into Row classification, by multiple packetization modules, respectively packs the code data of each page of classification, each packetization module is packed Obtained program file, merges total program file of boil down to program to be packed, is automatically performed the joint to multiple business items Packaging operation, and since each business module includes multiple pages, each page can be multiplexed in different business modules, because This, belonging to the page of a business item can be supplied to multiple packetization modules to pack, and, multiple business items are simultaneously Row packing, improves packing efficiency and speed, also, each business item can do independent version management, and packetization module can be with The program file of the different editions for different business project of packing.
Referring to Fig. 3, a kind of program packaging method provided for third embodiment of the invention realizes flow diagram.Should Method can be applicable in a procedure packing system, which includes multiple baling equipments, a total control equipment and server, such as Shown in Fig. 3, this method mainly includes the following steps that:
The uniform packing order that S301, multiple baling equipments are sent according to total control equipment, obtains packing life from server respectively Make the code data of at least one page of each business item in the program to be packed being directed toward and pack, will pack what is obtained Program file is sent to the total control equipment;
Total control equipment sends uniform packing order to multiple baling equipments.
After multiple baling equipments receive the order, according to the order, the packing order is obtained from server respectively and be directed toward Program to be packed in each business item at least one page code data, and pack to the code data of acquisition, Program file is obtained, program file is sent to total control equipment.
The program file that each baling equipment is sent is merged compression by S302, total control equipment, obtains program to be packed Total program file.
Program packaging method provided in an embodiment of the present invention, the uniform packing that multiple baling equipments are sent according to total control equipment Order, obtains the generation of at least one page of each business item in the program to be packed of packing order direction from server respectively Code data are simultaneously packed, and the program file that packing obtains is sent to the total control equipment, is automatically performed to multiple business items Joint packaging operation, packed parallel to multiple business items by multiple packetization modules, improve packing efficiency and speed, and And each business item can do independent version management, packetization module can pack the different editions of different business project Program file.
Referring to Fig. 4, a kind of program packaging method provided for fourth embodiment of the invention realizes flow diagram.Should Method can be applicable in a procedure packing system, the system include development equipment, multiple baling equipments, a total control equipment and Server, as shown in figure 4, this method mainly includes the following steps that:
S401, development equipment generate the code data and version information of all pages in program to be packed, and by the generation of generation Code data and version information send to server and are stored;
Developer carries out the configuration of the data on all pages in program to be packed on development equipment, and development equipment is pressed According to configuration, the code data and version information of all pages in program to be packed are generated, and by the code data and version of generation This information sends to server and is stored.
S402, development equipment receive the storage location information of the code data for each page that server returns, by each storage Positional information, version information and the page and the correspondence of business item are sent to total control equipment;
S403, total control equipment classify all pages of program to be packed according to business item;
The page and the business item are one-to-one or one-to-many relation.
Multiple business modules are included in program to be packed, each business module corresponds to a user oriented business item. One business item can include more sub-projects, and all business sub-projects on a service line are regarded as same industry Business project, for example, comprising the business item such as " tourism ", " film ", " leisure ", " take-away " in the program to be packed, in " take-away " The sub-projects such as " cuisines ", " snack ", " fresh flower ", " fresh " can be included in business item.So, " cuisines ", " snack ", " fresh Flower ", " fresh " are to belong to " take-away " service line, and " cuisines ", " snack ", " fresh flower ", " fresh " are all same " take-away " industry Business project.
Each business module includes multiple pages, and each page can be multiplexed in different business modules.
Terminal device classifies all pages of program to be packed according to business item, i.e. by all pages according to Different business items are classified, and the data of the sorted page are preserved in one file.
S404, total control equipment are each business item generation packing configuration file, and being recorded in the packing configuration file has classification Each page code data storage location information and version information;
Configuration file of packing is corresponded with business item.
Correspond to generate one and pack for each business item and coordinate file, record is with being somebody's turn to do in each packing configuration file The storage location and version information of the code data of the corresponding each page of business item.
Each packing configuration file and packing order are sent to each baling equipment by S405, total control equipment;
The packing command format such as npm run build [packageName], wherein, packageName is packed items Project name, business item can obtain packageName parameters, and the page that packing is specified only is compiled according to configuration file.
S406, each baling equipment run the packing order, according to the storage location information in the packing configuration file of reception And version information, obtain the code data of at least one page of each business item in program to be packed from server and beaten Bag, total control equipment is sent to by the program file that packing obtains;
The program file that each baling equipment is sent is merged compression by S407, total control equipment, obtains total journey of program to be packed Preface part.
In the present embodiment details is not described to the greatest extent, referring to the description of 1 ~ Fig. 3 of earlier figures.
Program packaging method provided in an embodiment of the present invention, according to business item, by all pages of program to be packed into Row classification, by multiple packetization modules, respectively packs the code data of each page of classification, each packetization module is packed Obtained program file, merges total program file of boil down to program to be packed, is automatically performed the joint to multiple business items Packaging operation, and since each business module includes multiple pages, each page can be multiplexed in different business modules, because This, belonging to the page of a business item can be supplied to multiple packetization modules to pack, and, multiple business items are simultaneously Row packing, improves packing efficiency and speed, also, each business item can do independent version management, and packetization module can be with The program file of the different editions for different business project of packing.
A kind of referring to Fig. 5, structure diagram of the terminal device provided for fifth embodiment of the invention.The terminal device Available for the program packaging method realized above-mentioned embodiment illustrated in fig. 1 and provided, terminal device can be PC machine, laptop, The equipment such as mobile phone.As shown in figure 5, the terminal device mainly includes:
Sort module 501, for according to business item, all pages of program to be packed to be classified;
Packetization module 502, for each page for obtaining classification respectively code data and pack, packetization module and traffic item Mesh corresponds;Processing module 503, for the program file that each packetization module is packed, merges boil down to journey to be packed Total program file of sequence.
It should be noted that in the embodiment of the exemplary terminal device of figure 5 above, the division of each function module is only to lift Example explanation, can be as needed in practical application, such as the convenient consideration of the realization of the configuration requirement or software of corresponding hardware, And complete above-mentioned function distribution by different function modules, i.e., the internal structure of mobile terminal is divided into different function moulds Block, to complete all or part of function described above.Moreover, in practical applications, the corresponding function in the present embodiment Module can be by corresponding hardware realization, can also perform corresponding software by corresponding hardware and complete.This specification provides Each embodiment can all apply foregoing description principle, repeat no more below.
The detailed process of the respective function of each Implement of Function Module, refers to above-mentioned figure in terminal device provided in this embodiment Particular content described in 1 illustrated embodiment, details are not described herein again.
Terminal device provided in an embodiment of the present invention, by according to business item, by all pages of program to be packed into Row classification, by multiple packetization modules, respectively packs the code data of each page of classification, each packetization module is packed Obtained program file, merges total program file of boil down to program to be packed, is automatically performed the joint to multiple business items Packaging operation, and since each business module includes multiple pages, each page can be multiplexed in different business modules, because This, belonging to the page of a business item can be supplied to multiple packetization modules to pack, and, multiple business items are simultaneously Row packing, improves packing efficiency and speed, also, each business item can do independent version management, and packetization module can be with The program file of the different editions for different business project of packing.
A kind of referring to Fig. 6, structure diagram of the terminal device provided for sixth embodiment of the invention.The terminal device Available for the program packaging method for realizing above-mentioned Fig. 1 and embodiment illustrated in fig. 2 offer.It is different from the terminal device shown in Fig. 3 It is that in this present embodiment, further, terminal device further includes:
Generation module 504, for generating multiple packing configuration files, record has the generation of each page of classification in configuration file of packing The storage location information and version information of code data, packing configuration file are corresponded with business item;
Sending module 505, for sending uniform packing order to multiple packetization modules;
Packetization module 502, is additionally operable to obtain multiple packing configuration files according to order, and according to the storage in packing configuration file Positional information and version information, obtain the code data of each page of classification and pack respectively.
The detailed process of the respective function of each Implement of Function Module, refers to above-mentioned figure in terminal device provided in this embodiment 1 and embodiment illustrated in fig. 2 described in particular content, details are not described herein again.
Terminal device provided in an embodiment of the present invention, according to business item, all pages of program to be packed are divided Class, by multiple packetization modules, respectively packs the code data of each page of classification, each packetization module is packed to obtain Program file, merge total program file of boil down to program pack, be automatically performed and pack to the joints of multiple business items Operation, and since each business module includes multiple pages, each page can be multiplexed in different business modules, therefore, Belonging to the page of a business item can be supplied to multiple packetization modules to pack, and, multiple business items are parallel Packing, improves packing efficiency and speed, also, each business item can do independent version management, and packetization module can be beaten The program file of the different editions of bag different business project.
A kind of referring to Fig. 7, structure diagram of the procedure packing system provided for seventh embodiment of the invention.The program Packaging system can be used for realizing above-mentioned Fig. 3 and the program packaging method that embodiment illustrated in fig. 4 provides.The system includes:
Baling equipment 601, total control equipment 602 and server 603;Multiple baling equipments 601, for being sent out according to total control equipment 602 The uniform packing order sent, obtains each business item in the program to be packed of packing order direction from server 603 respectively The code data of at least one page is simultaneously packed, and the program file that packing obtains is sent to total control equipment 602;
Total control equipment 602, the program file for each baling equipment 601 to be sent merge compression, obtain the journey to be packed Total program file of sequence.
Further, total control equipment 602, for according to business item, all pages of program to be packed to be classified.
Total control equipment 602, for generating packing configuration file for each business item, record has point in the packing configuration file The storage location information and version information of the code data of the page of each business item of class, the packing configuration file and traffic item Mesh corresponds;
Total control equipment 602, for each packing configuration file and packing order to be sent to each baling equipment 601;
Baling equipment 601, is additionally operable to run the packing order, according to reception packing configuration file in storage location information and Version information, the code data of at least one page of each business item and progress in program to be packed are obtained from server 603 Packing.
Further, which further includes:Development equipment 604;
Development equipment 604, for generating the code data and version information of all pages in program to be packed, and by generation Code data and version information send to server 603 and are stored;
Development equipment 604, is additionally operable to receive the storage location information of the code data for each page that server 603 returns, will be each Storage location information, version information and the page and the correspondence of business item are sent to total control equipment 602.
The detailed process of the respective function of each Implement of Function Module, refers in procedure packing system provided in this embodiment The particular content described in Fig. 3 and embodiment illustrated in fig. 4 is stated, details are not described herein again.
Procedure packing system provided in an embodiment of the present invention, according to business item, by all pages of program to be packed into Row classification, by multiple packetization modules, respectively packs the code data of each page of classification, each packetization module is packed Obtained program file, merges total program file of boil down to program to be packed, is automatically performed the joint to multiple business items Packaging operation, and since each business module includes multiple pages, each page can be multiplexed in different business modules, because This, belonging to the page of a business item can be supplied to multiple packetization modules to pack, and, multiple business items are simultaneously Row packing, improves packing efficiency and speed, also, each business item can do independent version management, and packetization module can be with The program file of the different editions for different business project of packing.
In several embodiments provided herein, it should be understood that disclosed terminal device, system and method, It can realize by another way.For example, terminal device embodiment described above is only schematical, for example, institute The division of module is stated, is only a kind of division of logic function, can there is other dividing mode, such as multiple moulds when actually realizing Block or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, Shown or discussed mutual coupling, direct-coupling or communication connection can be by some interfaces, equipment or module INDIRECT COUPLING or communication connection, can be electrical, machinery or other forms.
The module illustrated as separating component may or may not be physically separate, be shown as module The component shown may or may not be physical module, you can with positioned at a place, or can also be distributed to multiple On mixed-media network modules mixed-media.Some or all of module therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each function module in each embodiment of the present invention can be integrated in a processing module, can also That modules are individually physically present, can also two or more modules be integrated in a module.Above-mentioned integrated mould Block can both be realized in the form of hardware, can also be realized in the form of software function module.
If the integrated module is realized in the form of software function module and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products Embody, which is stored in a readable storage medium storing program for executing, including some instructions are used so that a meter Calculate machine equipment(Can be personal computer, server, or network equipment etc.)Perform each embodiment the method for the present invention All or part of step.And foregoing readable storage medium storing program for executing includes:USB flash disk, mobile hard disk, read-only storage(ROM, Read- Only Memory), random access memory(RAM, Random Access Memory), magnetic disc or CD etc. are various can be with The medium of store program codes.
It should be noted that for foregoing each method embodiment, describe, therefore it is all expressed as a series of for simplicity Combination of actions, but those skilled in the art should know, the present invention and from the limitation of described sequence of movement because According to the present invention, some steps can use other orders or be carried out at the same time.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs Necessary to bright.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
It is above the description to a kind of program packaging method provided by the present invention, system and terminal device, for ability The technical staff in domain, according to the thought of the embodiment of the present invention, there will be changes in specific embodiments and applications, To sum up, this specification content should not be construed as limiting the invention.

Claims (10)

  1. A kind of 1. program packaging method, applied to terminal device, it is characterised in that the described method includes:
    According to business item, all pages of program to be packed are classified;
    By multiple packetization modules, obtain the code data of each page of classification respectively and pack, the packetization module with The business item corresponds;
    The program file that each packetization module is packed, merges total program file of program to be packed described in boil down to.
  2. 2. the method as described in claim 1, it is characterised in that it is described by multiple packetization modules, each of classification is obtained respectively The code data of the page and before being packed, including:
    Multiple packing configuration files are generated, the code data for each page for having the classification is recorded in the packing configuration file Storage location information and version information, the packing configuration file are corresponded with the business item;
    Then, it is described by multiple packetization modules, the code data of each page of classification is obtained respectively and is packed, specifically bag Include:
    Uniform packing order is sent to the multiple packetization module, the multiple packetization module obtains multiple institutes according to the order Packing configuration file is stated, and according to the storage location information and version information in the packing configuration file, obtains classification respectively Each page code data and pack.
  3. A kind of 3. program packaging method, it is characterised in that the described method includes:
    The uniform packing order that multiple baling equipments are sent according to total control equipment, obtains the packing order from server respectively and refers to To program to be packed in each business item at least one page code data and pack, by the obtained program of packing File is sent to the total control equipment;
    The program file that each baling equipment is sent is merged compression by the total control equipment, obtains the program to be packed Total program file.
  4. 4. method as claimed in claim 3, it is characterised in that the packing that the multiple baling equipment is sent according to total control equipment Order, obtains at least one page of each business item in the program to be packed of the packing order direction from server respectively Code data and before being packed, including:
    The total control equipment classifies all pages of program to be packed according to the business item;
    The total control equipment is each business item generation packing configuration file, and being recorded in the packing configuration file has classification Each business item the page code data storage location information and version information, the packing configuration file and institute State business item one-to-one corresponding;
    Each packing configuration file and packing order are sent to each baling equipment by the total control equipment;
    Then, the packing order that the multiple baling equipment is sent according to total control equipment, obtains the packing life from server respectively Make the code data of at least one page of each business item in the program to be packed being directed toward and pack, including:
    Each baling equipment operation packing order, according to the storage location information and version in the packing configuration file of reception This information, obtains the code data of at least one page of each business item in program to be packed from the server and is beaten Bag.
  5. 5. method as claimed in claim 4, it is characterised in that the total control equipment will be waited to pack according to the business item Before all pages of program are classified, further include:
    The code data and version information of all pages in program to be packed described in development equipment generation, and by described in generation Code data and version information send to the server and are stored;
    The development equipment receives the storage location information of the code data for each page that the server returns, Jiang Gesuo State storage location information, the version information and the page and the correspondence of the business item is sent to the master control Equipment.
  6. 6. a kind of terminal device, it is characterised in that the terminal device includes:
    Sort module, for according to business item, all pages of program to be packed to be classified;
    Packetization module, for each page for obtaining classification respectively code data and pack, the packetization module with it is described Business item corresponds;
    Processing module, for the program file that each packetization module is packed, merges program to be packed described in boil down to Total program file.
  7. 7. terminal device as claimed in claim 6, it is characterised in that the terminal device further includes:
    Generation module, for generating multiple packing configuration files, each page for having the classification is recorded in the packing configuration file The storage location information and version information of the code data in face, the packing configuration file are corresponded with the business item;
    Sending module, for sending uniform packing order to multiple packetization modules;
    The packetization module, is additionally operable to obtain multiple packing configuration files according to the order, and matches somebody with somebody according to the packing Storage location information and the version information in file are put, the code data of each page of classification is obtained respectively and packs.
  8. A kind of 8. procedure packing system, it is characterised in that the system comprises:
    Baling equipment, total control equipment and server;
    Multiple baling equipments, for the uniform packing order sent according to the total control equipment, respectively from the server Obtain the code data of at least one page of each business item in the program to be packed that the packing order is directed toward and beaten Bag, the total control equipment is sent to by the program file that packing obtains;
    The total control equipment, the program file for each baling equipment to be sent merge compression, obtain described treat dozen Total program file of bag program.
  9. 9. system as claimed in claim 8, it is characterised in that
    The total control equipment, for according to the business item, all pages of program to be packed to be classified;
    The total control equipment, for generating packing configuration file for each business item, records in the packing configuration file There are the storage location information and version information of the code data of the page of each business item of classification, the packing configuration text Part is corresponded with the business item;
    The total control equipment, for each packing configuration file and packing order to be sent to each baling equipment;
    The baling equipment, is additionally operable to run the packing order, believes according to the storage location in the packing configuration file of reception Breath and version information, the code data of at least one page of each business item in program to be packed is obtained simultaneously from the server Pack.
  10. 10. system as claimed in claim 9, it is characterised in that the system also includes:
    Development equipment;
    The development equipment, for generating the code data and version information of all pages in the program to be packed, and will The code data and version information of generation, which are sent to the server, to be stored;
    The development equipment, is additionally operable to receive the storage location letter of the code data for each page that the server returns Breath, each the storage location information, the version information and the page and the correspondence of the business item are sent To the total control equipment.
CN201711142204.9A 2017-11-17 2017-11-17 program packaging method, system and terminal device Pending CN107908404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711142204.9A CN107908404A (en) 2017-11-17 2017-11-17 program packaging method, system and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711142204.9A CN107908404A (en) 2017-11-17 2017-11-17 program packaging method, system and terminal device

Publications (1)

Publication Number Publication Date
CN107908404A true CN107908404A (en) 2018-04-13

Family

ID=61846110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711142204.9A Pending CN107908404A (en) 2017-11-17 2017-11-17 program packaging method, system and terminal device

Country Status (1)

Country Link
CN (1) CN107908404A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109101234A (en) * 2018-07-05 2018-12-28 北京三快在线科技有限公司 Determine the method and device of corresponding relationship between the page and business module
CN109298881A (en) * 2018-08-30 2019-02-01 百度在线网络技术(北京)有限公司 Automatic packaging data method, device, equipment and computer readable storage medium
CN109683950A (en) * 2018-12-17 2019-04-26 Oppo广东移动通信有限公司 Application program packaging method, device, storage medium and terminal
CN111142859A (en) * 2019-12-31 2020-05-12 五八有限公司 Script generation method and device, electronic equipment and storage medium
CN111651192A (en) * 2020-05-20 2020-09-11 深圳市致宇天承科技有限公司 Implementation method of multi-terminal automatic packaging scheme based on web

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101398853A (en) * 2008-10-14 2009-04-01 北京大学 File packing method and device
CN101739276A (en) * 2009-11-26 2010-06-16 金蝶软件(中国)有限公司 System updating method and device
CN101901160A (en) * 2010-08-11 2010-12-01 中兴通讯股份有限公司 Packing method and device of version upgrading software package
CN101984410A (en) * 2010-11-12 2011-03-09 中兴通讯股份有限公司 Method and device for generating and unloading software installation package
CN104699485A (en) * 2015-03-19 2015-06-10 神华集团有限责任公司 Massive program management method and massive program construction method
CN104881294A (en) * 2015-06-10 2015-09-02 北京奇虎科技有限公司 System and method for realizing automatic packing
CN105279013A (en) * 2014-06-20 2016-01-27 深圳中兴力维技术有限公司 Method and device for program issuance based on volume production
CN105574445A (en) * 2015-12-22 2016-05-11 广州广电运通金融电子股份有限公司 Safety communication method and device for self-service terminal equipment hardware
CN106293687A (en) * 2015-06-25 2017-01-04 腾讯科技(深圳)有限公司 The control method of a kind of flow process of packing, and device
CN106815052A (en) * 2017-01-10 2017-06-09 南威软件股份有限公司 A kind of method of the rapid deployment system for being adapted to multi-environment configuration
CN106897052A (en) * 2015-12-24 2017-06-27 北京奇虎科技有限公司 APK file compression method and device
CN107168730A (en) * 2017-04-14 2017-09-15 北京五八信息技术有限公司 application program loading method, server and terminal
CN107315593A (en) * 2017-06-29 2017-11-03 广州优视网络科技有限公司 application program packaging method, device and terminal device

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101398853A (en) * 2008-10-14 2009-04-01 北京大学 File packing method and device
CN101739276A (en) * 2009-11-26 2010-06-16 金蝶软件(中国)有限公司 System updating method and device
CN101901160A (en) * 2010-08-11 2010-12-01 中兴通讯股份有限公司 Packing method and device of version upgrading software package
CN101984410A (en) * 2010-11-12 2011-03-09 中兴通讯股份有限公司 Method and device for generating and unloading software installation package
CN105279013A (en) * 2014-06-20 2016-01-27 深圳中兴力维技术有限公司 Method and device for program issuance based on volume production
CN104699485A (en) * 2015-03-19 2015-06-10 神华集团有限责任公司 Massive program management method and massive program construction method
CN104881294A (en) * 2015-06-10 2015-09-02 北京奇虎科技有限公司 System and method for realizing automatic packing
CN106293687A (en) * 2015-06-25 2017-01-04 腾讯科技(深圳)有限公司 The control method of a kind of flow process of packing, and device
CN105574445A (en) * 2015-12-22 2016-05-11 广州广电运通金融电子股份有限公司 Safety communication method and device for self-service terminal equipment hardware
CN106897052A (en) * 2015-12-24 2017-06-27 北京奇虎科技有限公司 APK file compression method and device
CN106815052A (en) * 2017-01-10 2017-06-09 南威软件股份有限公司 A kind of method of the rapid deployment system for being adapted to multi-environment configuration
CN107168730A (en) * 2017-04-14 2017-09-15 北京五八信息技术有限公司 application program loading method, server and terminal
CN107315593A (en) * 2017-06-29 2017-11-03 广州优视网络科技有限公司 application program packaging method, device and terminal device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109101234A (en) * 2018-07-05 2018-12-28 北京三快在线科技有限公司 Determine the method and device of corresponding relationship between the page and business module
CN109101234B (en) * 2018-07-05 2022-03-08 北京三快在线科技有限公司 Method and device for determining corresponding relation between page and business module
CN109298881A (en) * 2018-08-30 2019-02-01 百度在线网络技术(北京)有限公司 Automatic packaging data method, device, equipment and computer readable storage medium
CN109683950A (en) * 2018-12-17 2019-04-26 Oppo广东移动通信有限公司 Application program packaging method, device, storage medium and terminal
CN111142859A (en) * 2019-12-31 2020-05-12 五八有限公司 Script generation method and device, electronic equipment and storage medium
CN111651192A (en) * 2020-05-20 2020-09-11 深圳市致宇天承科技有限公司 Implementation method of multi-terminal automatic packaging scheme based on web

Similar Documents

Publication Publication Date Title
CN107908404A (en) program packaging method, system and terminal device
US8224825B2 (en) Graph-processing techniques for a MapReduce engine
Yang et al. A spatiotemporal compression based approach for efficient big data processing on cloud
CN106649088A (en) Distributed pressure test method and system
CN103902593B (en) A kind of method and apparatus of Data Migration
CN102375837B (en) Data acquiring system and method
CN104516794B (en) Backup method, the apparatus and system of database file
CA2386272A1 (en) Collaborative design
CN111221570B (en) Migration method, device and equipment of microservice framework and storage medium
CN104461649B (en) chip compatible method and device
CN103631873B (en) A kind of data compression method and storage system
CN103246549B (en) A kind of method and system of data conversion storage
CN103493025B (en) Conservative refuse collection and labeled integer for memorizer management
CN104639347A (en) Multi-cluster monitoring method and device, and system
CN109754072A (en) Processing method, artificial intelligence process device and the Related product of internet off-line model
CN103036952B (en) A kind of enterprise-level isomery merges storage management system
CN115237857A (en) Log processing method and device, computer equipment and storage medium
CN104468330A (en) Data processing method and device of distributed information queue
CN107818116A (en) For determining the method and apparatus of user behavior zone position information
CN107273264B (en) Method and device for tracking key attribute and associated attribute of object instance
CN109376137A (en) A kind of document handling method and device
CN103164532A (en) Classification and partitioning extract method of power grid model data and system
CN105893039A (en) Universal method for achieving simple database by compiling entity class characteristics
CN102184105A (en) Data processing method based on modularity and data center system
CN104932982A (en) Message access memory compiling method and related apparatus

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

Application publication date: 20180413