CN106293687A - The control method of a kind of flow process of packing, and device - Google Patents
The control method of a kind of flow process of packing, and device Download PDFInfo
- Publication number
- CN106293687A CN106293687A CN201510359652.9A CN201510359652A CN106293687A CN 106293687 A CN106293687 A CN 106293687A CN 201510359652 A CN201510359652 A CN 201510359652A CN 106293687 A CN106293687 A CN 106293687A
- Authority
- CN
- China
- Prior art keywords
- service logic
- packing
- business operation
- flow process
- configuration file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Devices For Executing Special Programs (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention discloses the control method of a kind of flow process of packing, and device, wherein the realization of method includes: obtains configuration file, resolves described configuration file and obtain the parameter sets of business operation;Determine the service logic needing to perform in packing flow process according to the parameter sets of described business operation, determine that described service logic operates accordingly;The described service logic of packaged data execution is operated accordingly and obtains operating result, described operating result is verified.Use configuration file to determine the parameter sets of business operation, then control service logic by the parameter sets of business operation, then perform service logic.It is capable of the business logic processing in flowchart process of packing, makes packing flow process and result thereof meet the demand of different business.
Description
Technical field
The present invention relates to field of computer technology, particularly to the control method of a kind of flow process of packing, and dress
Put.
Background technology
The structure of general Windows (Windows) product, packing are all the scriptings used
Language realize, on windows platform, mainly have Command Shell (command shell) foot
This, this script simple in construction, flow process understands, but when processing some complex logics, it is impossible to carry out flexibly
Effective control.
Packing flow process generally comprises following steps:
1, compiling engineering source code, obtains PE (Portable Executable, executable file);
2, the PE file generated is carried out the verification of CRT (C Runtime Library, C run-time library);
3, PE file is signed;
4, the PE file after signature verification;
5, according to engineering installation, installation kit is generated;
6, the installation kit generated is signed;
7, the installation kit after signature verification;
8, PE, SYMBOL and installation package file are uploaded;
9, mail notification related personnel.
In above flow process, need relevant step to be done certain business logic processing, such as: compiling
Different engineering source codes;When generating installation kit, the product function module packing different.But, adopt
Above business logic processing cannot be realized with Command Shell script.
Summary of the invention
Embodiments provide the control method of a kind of flow process of packing, and device, be used for realizing packing
Business logic processing in flowchart process, makes packing flow process and result thereof meet the demand of different business.
A kind of control method of flow process of packing, including:
Obtain configuration file, resolve described configuration file and obtain the parameter sets of business operation;
The service logic needing to perform in packing flow process is determined according to the parameter sets of described business operation,
Determine that described service logic operates accordingly;
The described service logic of packaged data execution is operated accordingly and obtains operating result, to described operation
Result verifies.
A kind of control device of flow process of packing, including:
Resolution unit, is used for obtaining configuration file, resolves described configuration file and obtains the parameter of business operation
Set;
Determine unit, need to hold for determining according to the parameter sets of described business operation in packing flow process
The service logic of row, determines that described service logic operates accordingly;
Performance element, obtains operation knot for operating the described service logic of packaged data execution accordingly
Really;
Verification unit, for verifying described operating result.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that employing configuration file
Determine the parameter sets of business operation, then control service logic by the parameter sets of business operation, then
Perform service logic.Be capable of the business logic processing in flowchart process of packing, make packing flow process and
Result meets the demand of different business.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below
The required accompanying drawing used is briefly introduced, it should be apparent that, the accompanying drawing in describing below is only this
Some bright embodiments, from the point of view of those of ordinary skill in the art, are not paying creative work
On the premise of, it is also possible to other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is embodiment of the present invention method flow schematic diagram;
Fig. 2 is embodiment of the present invention method flow schematic diagram;
Fig. 3 is that the embodiment of the present invention controls apparatus structure intention;
Fig. 4 is that the embodiment of the present invention controls apparatus structure intention;
Fig. 5 is that the embodiment of the present invention controls apparatus structure intention;
Fig. 6 is that embodiment of the present invention server architecture is intended to.
Detailed description of the invention
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to this
Invention is described in further detail, it is clear that described embodiment is only that some of the present invention is implemented
Example rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art exist
Do not make all other embodiments obtained under creative work premise, broadly fall into present invention protection
Scope.
Embodiments provide the control method of a kind of flow process of packing, it is characterised in that including:
101: obtain configuration file, resolve above-mentioned configuration file and obtain the parameter sets of business operation;
In embodiment of the present invention example, configuration file may be used for the industry controlling to need to perform in packing flow process
Business operation, can be specifically to realize with various logic parameter.Configuration file is the file of configurableization, can
To use including such as XML (Extensible Markup Language, extensible markup language) technology
The file of configurableization realize.Concrete which kind of concrete configuration file embodiment of the present invention of employing is not made
Uniqueness limits.The business operation comprised in the parameter sets of business operation specifies service logic, business
Operation quantity can much can also be little, the particular number embodiment of the present invention is not restricted.
The embodiment of the present invention additionally provides the scheme of the parameter sets of true business operation from configuration file, tool
Body is as follows: above-mentioned acquisition configuration file, resolves above-mentioned configuration file and obtains the parameter sets bag of business operation
Include:
Obtain the configuration information in configuration file, above-mentioned configuration information comprises the type of business operation, shape
At least one in state, identification information;The parameter sets of business operation is determined according to above-mentioned configuration information.
In the present embodiment, configuration file further be provided with packing flow process in each step perform type,
State, flag information etc..Subsequent embodiment will provide more detailed example explanation to this.
102: determine according to the parameter sets of above-mentioned business operation and need the business performed to patrol in packing flow process
Volume, determine that above-mentioned service logic operates accordingly;
In the present embodiment, the configuration information in configuration file specifies the parameter sets of business operation, industry
The parameter sets of business operation then specifies the service logic needing to perform, specific as follows: above-mentioned according to above-mentioned industry
The set of business operation determines needs the service logic performed to include in packing flow process: receive identification parameter,
Determine the business operation belonging to the identification information corresponding with above-mentioned identification parameter, it is then determined that this business operation
Corresponding service logic is the service logic needing to perform in packing flow process.
May determine that that service logic will be held in configuration file by the identification information of input
OK, it is possible to achieve increasingly complex packetization logic controls.
In embodiments of the present invention, configuration file can be special configuration file, such as: be exclusively used in QQ
The configuration file of packing, or, it is exclusively used in the configuration file of a certain office software;Special configuration file
Identification information can be inputted, or, input the identification information that few optional function selects;To rise
As a example by news computer house keeper, Tengxun computer house keeper has a lot of function, such as: have cloud checking and killing Trojan, and system adds
Speed, leak reparation, real-time protection, network speed protects, computer clinic, the function such as healthy little assistant.Based on
Different demands, can pack up the function combinations of selection, it is also possible to packed up by repertoire.
If being exclusively used in the configuration file of Tengxun computer house keeper packing, then can comprise whole business behaviour of function above
The parameter sets made, then acquiescence all performs;If there being identification information to input, then mark of then packing
The service logic that information is corresponding, thus realize the packing of corresponding function.
The present embodiment inputs identification information, it is achieved increasingly complex packetization logic is controlled, can apply
In the configuration file with universal property;The configuration file of universal property, can configure various possible application
To packing flow process in the parameter sets of business operation, then select needs to hold by input identification information
The service logic of row, to adapt to a certain specific packing flow process demand.Therefore, in the present embodiment, adopt
It not necessary to the embodiment of the present invention by the implementation of the identification information of input, but can be as excellent
The implementation of choosing.
103: the above-mentioned service logic of packaged data execution is operated accordingly and obtains operating result, to above-mentioned
Operating result verifies.
The embodiment of the present invention uses configuration file to determine the parameter sets of business operation, then passes through business operation
Parameter sets control service logic, then perform service logic.It is capable of packing in flowchart process
Business logic processing, makes packing flow process and result thereof meet the demand of different business.
In embodiments of the present invention, service logic can have a lot of branch therefore service logic gradually to be held
OK, in order to the mistake occurred and extremely detect more fully, solution is embodiments provided
Scheme, specific as follows: above-mentioned service logic comprises at least two, said method also includes: appoint in execution
In the one corresponding operating process of service logic, record Operation Log;Execution process in above-mentioned service logic
Middle appearance wrong or abnormal time exit packing flow process, and export aforesaid operations daily record.
Record the form of Operation Log during being performed by each logic, obtain testing result,
Exit packing flow process when making a mistake or be abnormal, can be exported accurately by the form of output function daily record
Testing result aspect follow-up maintenance.
The embodiment of the present invention additionally provides and uses Template (template) to perform different service source codes
The control of different compiling options, specific as follows: above-mentioned to the packaged data above-mentioned service logic phase of execution
The operation answered obtains operating result and includes:
The compiling option corresponding with above-mentioned packaged data is obtained, according to above-mentioned compiling option pair in template
The operation that packaged data perform above-mentioned service logic corresponding obtains operating result.
The present embodiment is by performing different compiling options to different service source codes, it is possible to achieve more
Complicated packetization logic controls.Template can be that technical staff writes, and technical staff is according to packaged number
According to compiling demand select compiling option, thus form template;Or technical staff is according to packing result
Demand selects compiling to select, thus forms template.Subsequent embodiment will provide the concrete example explanation of template.
The present embodiment additionally provides the optional implementation building application program process, specific as follows: to hold
Python (Boa Serpentis) script is used to carry out file packing, above-mentioned Python during the above-mentioned service logic of row
Script comprises: file copy, compilation of source code, specified application perform, specify instrument execution, Python
Script embedded executory at least one.
Due to Python script have cross-platform, need not compiling, there is again the feature of high-level language simultaneously,
Support class, have the advantages such as abundant library file, therefore go for the scheme of the embodiment of the present invention, use
In realizing the process of complicated business logic, and improve the efficiency of complicated business logical process, should for different
By the different product function module of demand packing.
The thought that the technical scheme of the embodiment of the present invention is main is to be come needing by the file of configurableization
Service logic to be performed configures, and can use XML technology in this programme, but not only
It is limited to XML.It addition, the embodiment of the present invention is by a kind of script general, can be cross-platform
Python, it is achieved one has parsing configuration file, performs the service logic specified in configuration file, and right
Perform the application that result verifies by force.As in figure 2 it is shown, idiographic flow is as follows:
201: the configuration file of input is resolved, obtains the set of business operation;
202: according to the logic specified in configuration file, perform corresponding operation and obtain operating result;
203: operating result is verified;
204: determine whether also business operation, if it is, enter 202, otherwise enter 205;
205: exit packing flow process.
It addition, during the execution of above flow process, any one walk out of existing mistake or exception if had, should
Application will recorded in Operation Log, and stop to perform packing flow process.
Below will be to packing configuration file, and application builds process is described in detail as follows:
One, configuration file
In configuration file, we can arrange the type of each step, state, flag information etc., as follows
The attribute of shown two service logics:
<task type=" 2 " enable=" True " template=" build_solution ">
< pram name=" solution_path " > ... </pram >
</task >
< task type=" 2 " enable=" True " template=" build_solution "
Flag=" 48 " >
< pram name=" solution_path " > ... </pram >
</task >
Two above service logic has different attributes, can by call this packing application time incoming not
Same Flag (mark) parameter, controlling which service logic needs to be performed.
It is also possible to by defining different Template (template), different service source codes is held
The compiling option that row is different, template instances as follows:
Two, application program is built
The embodiment of the present invention builds application program in packing flow process can be by Python script for realizing hands
Section, Python script have the advantage that cross-platform, need not compiling, simultaneously there is again high-level language
Feature, support class, have abundant library file etc..
Python script can perform following multiple different task, such as:
The copy of file (file);
The compiling of source code;
Specified application, the execution of instrument;
The embedded execution of Python script;
And this application program can also continue to extension, to support different service logic tasks.
It should be noted that embodiment of the present invention concrete implementation mode can be multiple, such as: use not
Same file format preserves configuration information, uses different development languages to realize this structure application program
Deng.The citing of above example should not be construed as the uniqueness to the embodiment of the present invention and limits.
The embodiment of the present invention additionally provides the control device of a kind of flow process of packing, as it is shown on figure 3, include:
Resolution unit 301, is used for obtaining configuration file, resolves above-mentioned configuration file and obtains the ginseng of business operation
Manifold is closed;
Determine unit 302, need in packing flow process for determining according to the parameter sets of above-mentioned business operation
The service logic performed, determines that above-mentioned service logic operates accordingly;
Performance element 303, is operated accordingly for packaged data are performed above-mentioned service logic
Result;
Verification unit 304, for verifying aforesaid operations result.
In embodiment of the present invention example, configuration file may be used for the industry controlling to need to perform in packing flow process
Business operation, can be specifically to realize with various logic parameter.Configuration file is the file of configurableization, can
To use including such as XML (Extensible Markup Language, extensible markup language) technology
The file of configurableization realize.Concrete which kind of concrete configuration file embodiment of the present invention of employing is not made
Uniqueness limits.The business operation comprised in the parameter sets of business operation specifies service logic, business
Operation quantity can much can also be little, the particular number embodiment of the present invention is not restricted.
The embodiment of the present invention uses configuration file to determine the parameter sets of business operation, then passes through business operation
Parameter sets control service logic, then perform service logic.It is capable of packing in flowchart process
Business logic processing, makes packing flow process and result thereof meet the demand of different business.
The embodiment of the present invention additionally provides the scheme of the set of true business operation from configuration file, the most such as
Under: alternatively, above-mentioned resolution unit 301, for obtaining the configuration information in configuration file, above-mentioned configuration
Information comprises at least one in the type of business operation, state, identification information;According to above-mentioned configuration
Information determines the parameter sets of business operation.
In the present embodiment, configuration file further be provided with packing flow process in each step perform type,
State, flag information etc..Subsequent embodiment will provide more detailed example explanation to this.
In the present embodiment, the configuration information in configuration file specifies the set of business operation, and operation refers to
The service logic needing to perform then is specified in the set of order, specific as follows: alternatively, above-mentioned determines unit 302,
For receiving identification parameter, determine the business operation belonging to the identification information corresponding with above-mentioned identification parameter,
It is then determined that service logic corresponding to this business operation is the service logic needing to perform in packing flow process.
May determine that that service logic will be held in configuration file by the parameter identification of input
OK, it is possible to achieve increasingly complex packetization logic controls.
In embodiments of the present invention, configuration file can be special configuration file, such as: be exclusively used in QQ
The configuration file of packing, or, it is exclusively used in the configuration file of a certain office software;Special configuration file
Identification information can be inputted, or, input the identification information that few optional function selects;To rise
As a example by news computer house keeper, Tengxun computer house keeper has a lot of function, such as: have cloud checking and killing Trojan, and system adds
Speed, leak reparation, real-time protection, network speed protects, computer clinic, the function such as healthy little assistant.Based on
Different demands, can pack up the function combinations of selection, it is also possible to packed up by repertoire.
If being exclusively used in the configuration file of Tengxun computer house keeper packing, then can comprise whole business behaviour of function above
The parameter sets made, then acquiescence all performs;If there being identification information to input, then mark of then packing
The service logic that information is corresponding, thus realize the packing of corresponding function.
The present embodiment inputs identification information, it is achieved increasingly complex packetization logic is controlled, can apply
In the configuration file with universal property;The configuration file of universal property, can configure various possible application
To packing flow process in the parameter sets of business operation, then select needs to hold by input identification information
The service logic of row, to adapt to a certain specific packing flow process demand.Therefore, in the present embodiment, adopt
It not necessary to the embodiment of the present invention by the implementation of the identification information of input, but can be as excellent
The implementation of choosing.
In embodiments of the present invention, service logic can have a lot of branch therefore service logic gradually to be held
OK, in order to the mistake occurred and extremely detect more fully, solution is embodiments provided
Scheme, specific as follows: further, as shown in Figure 4, above-mentioned service logic comprises at least two, on
State control device also to include:
Record unit 401, operated accordingly for performing arbitrary service logic at above-mentioned performance element 303
Cheng Zhong, records Operation Log;
Flow control unit 402, for occur during the execution of above-mentioned service logic wrong or abnormal time
Exit packing flow process;
Output unit 403, is used for exporting aforesaid operations daily record.
Record the form of Operation Log during being performed by each logic, obtain testing result,
Exit packing flow process when making a mistake or be abnormal, can be exported accurately by the form of output function daily record
Testing result aspect follow-up maintenance.
The embodiment of the present invention additionally provides and uses Template (template) to perform different service source codes
The control of different compiling options, specific as follows: alternatively, above-mentioned performance element 303, for from template
The compiling option that interior acquisition is corresponding with above-mentioned packaged data, according to above-mentioned compiling option to packaged data
The operation performing above-mentioned service logic corresponding obtains operating result.
The present embodiment is by performing different compiling options to different service source codes, it is possible to achieve more
Complicated packetization logic controls.
The present embodiment additionally provides the optional implementation building application program process, specific as follows: optional
Ground, above-mentioned performance element 303, for using Boa Serpentis Python foot during performing above-mentioned service logic
Originally carrying out file packing, above-mentioned Python script comprises: file copy, compilation of source code, appointment application
Program perform, specify instrument perform, Python script embedded executory at least one.
Due to Python script have cross-platform, need not compiling, there is again the feature of high-level language simultaneously,
Support class, have the advantages such as abundant library file, therefore go for the scheme of the embodiment of the present invention, use
In realizing the process of complicated business logic, and improve the efficiency of complicated business logical process, should for different
By the different product function module of demand packing.
The embodiment of the present invention additionally provides the control device of another kind of packing flow process, as it is shown in figure 5, include:
Receive device 501, output device 502, processor 503 and memorizer 504;Wherein memorizer 504,
May be used for the caching that processor 503 is required in performing data handling procedure, it is also possible to provide corresponding
Invoked data and/or the memory space of result;
Wherein, processor 503, it is used for obtaining configuration file, resolves above-mentioned configuration file and obtain business operation
Parameter sets;The industry needing to perform in packing flow process is determined according to the parameter sets of above-mentioned business operation
Business logic, determines that above-mentioned service logic operates accordingly;Packaged data are performed above-mentioned service logic phase
The operation answered obtains operating result, verifies aforesaid operations result.
In embodiment of the present invention example, configuration file may be used for the industry controlling to need to perform in packing flow process
Business operation, can be specifically to realize with various logic parameter.Configuration file is the file of configurableization, can
To use including such as XML (Extensible Markup Language, extensible markup language) technology
The file of configurableization realize.Concrete which kind of concrete configuration file embodiment of the present invention of employing is not made
Uniqueness limits.The business operation comprised in the parameter sets of business operation specifies service logic, business
Operation quantity can much can also be little, the particular number embodiment of the present invention is not restricted.
The embodiment of the present invention uses configuration file to determine the parameter sets of business operation, then passes through business operation
Parameter sets control service logic, then perform service logic.It is capable of packing in flowchart process
Business logic processing, makes packing flow process and result thereof meet the demand of different business.
The embodiment of the present invention additionally provides the scheme of the parameter sets of true business operation from configuration file, tool
Body is as follows: above-mentioned acquisition configuration file, resolves above-mentioned configuration file and obtains the parameter sets bag of business operation
Include: obtain the configuration information in configuration file, above-mentioned configuration information comprises the type of business operation, shape
At least one in state, identification information;The parameter sets of business operation is determined according to above-mentioned configuration information.
In the present embodiment, configuration file further be provided with packing flow process in each step perform type,
State, flag information etc..Subsequent embodiment will provide more detailed example explanation to this.
In the present embodiment, the configuration information in configuration file specifies the set of business operation, and operation refers to
The service logic needing to perform then is specified in the set of order, specific as follows: above-mentioned processor 503, for above-mentioned
Determining according to the set of above-mentioned business operation needs the service logic performed to include in packing flow process:
Receive identification parameter, determine the business operation belonging to the identification information corresponding with above-mentioned identification parameter,
It is then determined that service logic corresponding to this business operation is the service logic needing to perform in packing flow process.
May determine that that service logic will be held in configuration file by the parameter identification of input
OK, it is possible to achieve increasingly complex packetization logic controls.
In embodiments of the present invention, configuration file can be special configuration file, such as: be exclusively used in QQ
The configuration file of packing, or, it is exclusively used in the configuration file of a certain office software;Special configuration file
Identification information can be inputted, or, input the identification information that few optional function selects;To rise
As a example by news computer house keeper, Tengxun computer house keeper has a lot of function, such as: have cloud checking and killing Trojan, and system adds
Speed, leak reparation, real-time protection, network speed protects, computer clinic, the function such as healthy little assistant.Based on
Different demands, can pack up the function combinations of selection, it is also possible to packed up by repertoire.
If being exclusively used in the configuration file of Tengxun computer house keeper packing, then can comprise whole business behaviour of function above
The parameter sets made, then acquiescence all performs;If there being identification information to input, then mark of then packing
The service logic that information is corresponding, thus realize the packing of corresponding function.
The present embodiment inputs identification information, it is achieved increasingly complex packetization logic is controlled, can apply
In the configuration file with universal property;The configuration file of universal property, can configure various possible application
To packing flow process in the parameter sets of business operation, then select needs to hold by input identification information
The service logic of row, to adapt to a certain specific packing flow process demand.Therefore, in the present embodiment, adopt
It not necessary to the embodiment of the present invention by the implementation of the identification information of input, but can be as excellent
The implementation of choosing.
In embodiments of the present invention, service logic can have a lot of branch therefore service logic gradually to be held
OK, in order to the mistake occurred and extremely detect more fully, solution is embodiments provided
Scheme, specific as follows: above-mentioned service logic comprises at least two, above-mentioned processor 503, is additionally operable to holding
In the row corresponding operating process of arbitrary service logic, record Operation Log;Execution in above-mentioned service logic
During occur wrong or abnormal time exit packing flow process, and export aforesaid operations daily record.
Record the form of Operation Log during being performed by each logic, obtain testing result,
Exit packing flow process when making a mistake or be abnormal, can be exported accurately by the form of output function daily record
Testing result aspect follow-up maintenance.
The embodiment of the present invention additionally provides and uses Template (template) to perform different service source codes
The control of different compiling options, specific as follows: above-mentioned processor 503, for packaged data are performed
Above-mentioned service logic operates accordingly and obtains operating result and include: obtain and above-mentioned packaged number in template
According to corresponding compiling option, according to above-mentioned compiling option, packaged data are performed above-mentioned service logic corresponding
Operation obtain operating result.
Template can be that technical staff writes, and technical staff selects according to the compiling demand of packaged data
Compiling option, thus form template;Or technical staff selects compiling to select according to the demand of packing result,
Thus form template.Subsequent embodiment will provide the concrete example explanation of template.
The present embodiment is by performing different compiling options to different service source codes, it is possible to achieve more
Complicated packetization logic controls.
The present embodiment additionally provides the optional implementation building application program process, specific as follows: process
Device 503, beats for using Python (Boa Serpentis) script to carry out file during performing above-mentioned service logic
Bag, above-mentioned Python script comprises: file copy, compilation of source code, specified application perform, refer to
Determine instrument perform, Python script embedded executory at least one.
Due to Python script have cross-platform, need not compiling, there is again the feature of high-level language simultaneously,
Support class, have the advantages such as abundant library file, therefore go for the scheme of the embodiment of the present invention, use
In realizing the process of complicated business logic, and improve the efficiency of complicated business logical process, should for different
By the different product function module of demand packing.
The embodiment of the present invention also provides for giving the control device of another kind of packing flow process, as shown in Figure 6,
Fig. 6 is a kind of server architecture schematic diagram that the embodiment of the present invention provides, and may be used for realizing packing
The control device of flow process.This server 600 can produce bigger difference because of configuration or performance difference,
One or more central processing units (central processing units, CPU) 622 (examples can be included
As, one or more processors) and memorizer 632, one or more store application program
642 or the storage medium 630 (such as one or more mass memory units) of data 644.Wherein,
Memorizer 632 and storage medium 630 can be of short duration storage or persistently store.It is stored in storage medium 630
Program can include one or more modules (diagram do not mark), each module can include clothes
A series of command operatings in business device.Further, central processing unit 622 could be arranged to and store
Medium 630 communicates, and performs a series of command operatings in storage medium 630 on server 600.
Server 600 can also include one or more power supplys 626, one or more wired or
Radio network interface 650, one or more input/output interfaces 658, and/or, one or one with
Upper operating system 641, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM,
FreeBSDTM etc..
Can be based on shown in this Fig. 6 by the step performed by the control device of packing flow process in above-described embodiment
Server architecture.The embodiment of the present invention can be applied in hardware configuration as shown in Figure 6, it is also possible to
It is applied in the various equipment needing to realize Software package such as PC, mobile device, it is not limited to
The citing of the embodiment of the present invention.
It should be noted that in above-mentioned control device embodiment, included unit is according to merit
Logic can carry out dividing, but be not limited to above-mentioned division, as long as being capable of corresponding function i.e.
Can;It addition, the specific name of each functional unit is also only to facilitate mutually distinguish, it is not limited to
Protection scope of the present invention.
It addition, one of ordinary skill in the art will appreciate that realize whole in above-mentioned each method embodiment or
Part steps can be by program and completes to instruct relevant hardware, and corresponding program can be stored in one
In kind of computer-readable recording medium, storage medium mentioned above can be read only memory, disk or
CD etc..
These are only the present invention preferably detailed description of the invention, but protection scope of the present invention is not limited to
This, any those familiar with the art, can in the technical scope that the embodiment of the present invention discloses
The change readily occurred in or replacement, all should contain within protection scope of the present invention.Therefore, the present invention
Protection domain should be as the criterion with scope of the claims.
Claims (12)
1. the control method of a flow process of packing, it is characterised in that including:
Obtain configuration file, resolve described configuration file and obtain the parameter sets of business operation;
The service logic needing to perform in packing flow process is determined according to the parameter sets of described business operation,
Determine that described service logic operates accordingly;
The described service logic of packaged data execution is operated accordingly and obtains operating result, to described operation
Result verifies.
The most according to claim 1, method, it is characterised in that described acquisition configuration file, resolve institute
State configuration file to obtain the parameter sets of business operation and include:
Obtain the configuration information in configuration file, described configuration information comprises the type of business operation, shape
At least one in state, identification information;The parameter sets of business operation is determined according to described configuration information.
Method the most according to claim 2, it is characterised in that the described collection according to described business operation
Conjunction determines needs the service logic performed to include in packing flow process:
Receive identification parameter, determine the business operation belonging to the identification information corresponding with described identification parameter,
It is then determined that service logic corresponding to this business operation is the service logic needing to perform in packing flow process.
4. according to method described in claims 1 to 3 any one, it is characterised in that described service logic
Comprising at least two, described method also includes:
In performing the corresponding operating process of arbitrary service logic, record Operation Log;Patrol in described business
Volume execution during occur wrong or abnormal time exit packing flow process, export described Operation Log.
5. according to method described in claims 1 to 3 any one, it is characterised in that described to packaged
Data perform described service logic and operate accordingly and obtain operating result and include:
The compiling option corresponding with described packaged data is obtained, according to described compiling option pair in template
The operation that packaged data perform described service logic corresponding obtains operating result.
Method the most according to claim 5, it is characterised in that during performing described service logic
Using Boa Serpentis Python script to carry out file packing, described Python script comprises: file copy, source generation
Code compiling, specified application perform, specify instrument perform, Python script embedded executory extremely
One item missing.
7. the control device of a flow process of packing, it is characterised in that including:
Resolution unit, is used for obtaining configuration file, resolves described configuration file and obtains the parameter of business operation
Set;
Determine unit, need to hold for determining according to the parameter sets of described business operation in packing flow process
The service logic of row, determines that described service logic operates accordingly;
Performance element, obtains operation knot for operating the described service logic of packaged data execution accordingly
Really;
Verification unit, for verifying described operating result.
Control device the most according to claim 7, it is characterised in that
Described resolution unit, for obtaining the configuration information in configuration file, comprises in described configuration information
At least one in the type of business operation, state, identification information;Industry is determined according to described configuration information
The parameter sets of business operation.
Control device the most according to claim 8, it is characterised in that
Described determine unit, be used for receiving identification parameter, determine the mark letter corresponding with described identification parameter
Business operation belonging to breath, it is then determined that service logic corresponding to this business operation is for needing in packing flow process
Service logic to be performed.
10. according to controlling device described in claim 7 to 9 any one, it is characterised in that described industry
Business logic comprises at least two, and described control device also includes:
Record unit, in performing the corresponding operating process of arbitrary service logic at described performance element,
Record Operation Log;
Flow control unit, for occur during the execution of described service logic wrong or abnormal time move back
Go out flow process of packing;
Output unit, is used for exporting described Operation Log.
11. according to controlling device described in claim 7 to 9 any one, it is characterised in that
Described performance element, for obtaining the compiling option corresponding with described packaged data in template,
According to described compiling option, packaged data are performed operation corresponding to described service logic and obtain operation knot
Really.
12. according to controlling device described in claim 11, it is characterised in that
Described performance element, for using Boa Serpentis Python script to enter during performing described service logic
Style of writing part packing, described Python script comprises: file copy, compilation of source code, specified application
Perform, specify instrument perform, Python script embedded executory at least one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510359652.9A CN106293687B (en) | 2015-06-25 | 2015-06-25 | A kind of control method and device being packaged process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510359652.9A CN106293687B (en) | 2015-06-25 | 2015-06-25 | A kind of control method and device being packaged process |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106293687A true CN106293687A (en) | 2017-01-04 |
CN106293687B CN106293687B (en) | 2019-11-19 |
Family
ID=57650362
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510359652.9A Active CN106293687B (en) | 2015-06-25 | 2015-06-25 | A kind of control method and device being packaged process |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106293687B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107908404A (en) * | 2017-11-17 | 2018-04-13 | 深圳市泉眼网络科技有限公司 | program packaging method, system and terminal device |
CN108363578A (en) * | 2018-01-29 | 2018-08-03 | 深圳前海有电物联科技有限公司 | Application program packaging method, electronic device and computer storage media |
CN109254790A (en) * | 2018-07-27 | 2019-01-22 | 京信通信系统(中国)有限公司 | Software package method, apparatus, computer storage medium and equipment |
CN109976713A (en) * | 2017-12-28 | 2019-07-05 | 中国电信股份有限公司 | Script processing method and device for Service Assembly |
WO2020000810A1 (en) * | 2018-06-29 | 2020-01-02 | 平安科技(深圳)有限公司 | Application component construction packaging method and device, and computer storage medium |
CN114281355A (en) * | 2021-11-30 | 2022-04-05 | 郑州云海信息技术有限公司 | Offline medium packaging method and related device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101631262A (en) * | 2009-08-25 | 2010-01-20 | 中兴通讯股份有限公司 | VoiceXML business integrated development system and realizing method thereof |
CN102521687A (en) * | 2011-12-01 | 2012-06-27 | 中国资源卫星应用中心 | Miniaturized universal platform for preprocessing remote-sensing satellite data |
CN103077045A (en) * | 2012-12-14 | 2013-05-01 | 北京思特奇信息技术股份有限公司 | Method for constructing XML (Extensive Markup Language) script workflow engine |
CN103699384A (en) * | 2013-12-23 | 2014-04-02 | 青岛优维奥信息技术有限公司 | Rapid development method for project process management and data content management |
CN104063273A (en) * | 2014-06-13 | 2014-09-24 | 航天恒星科技有限公司 | Center control type business process dispatching management system and realizing method |
-
2015
- 2015-06-25 CN CN201510359652.9A patent/CN106293687B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101631262A (en) * | 2009-08-25 | 2010-01-20 | 中兴通讯股份有限公司 | VoiceXML business integrated development system and realizing method thereof |
CN102521687A (en) * | 2011-12-01 | 2012-06-27 | 中国资源卫星应用中心 | Miniaturized universal platform for preprocessing remote-sensing satellite data |
CN103077045A (en) * | 2012-12-14 | 2013-05-01 | 北京思特奇信息技术股份有限公司 | Method for constructing XML (Extensive Markup Language) script workflow engine |
CN103699384A (en) * | 2013-12-23 | 2014-04-02 | 青岛优维奥信息技术有限公司 | Rapid development method for project process management and data content management |
CN104063273A (en) * | 2014-06-13 | 2014-09-24 | 航天恒星科技有限公司 | Center control type business process dispatching management system and realizing method |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107908404A (en) * | 2017-11-17 | 2018-04-13 | 深圳市泉眼网络科技有限公司 | program packaging method, system and terminal device |
CN109976713A (en) * | 2017-12-28 | 2019-07-05 | 中国电信股份有限公司 | Script processing method and device for Service Assembly |
CN108363578A (en) * | 2018-01-29 | 2018-08-03 | 深圳前海有电物联科技有限公司 | Application program packaging method, electronic device and computer storage media |
WO2020000810A1 (en) * | 2018-06-29 | 2020-01-02 | 平安科技(深圳)有限公司 | Application component construction packaging method and device, and computer storage medium |
CN109254790A (en) * | 2018-07-27 | 2019-01-22 | 京信通信系统(中国)有限公司 | Software package method, apparatus, computer storage medium and equipment |
CN114281355A (en) * | 2021-11-30 | 2022-04-05 | 郑州云海信息技术有限公司 | Offline medium packaging method and related device |
Also Published As
Publication number | Publication date |
---|---|
CN106293687B (en) | 2019-11-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108885545B (en) | Tools and methods for real-time dataflow programming languages | |
CN106293687A (en) | The control method of a kind of flow process of packing, and device | |
US11023349B2 (en) | Load test framework | |
US8918760B2 (en) | Test script generation for application image validation | |
US20160188450A1 (en) | Automated application test system | |
US8312417B2 (en) | Using dynamic call graphs for creating state machines | |
US9946628B2 (en) | Embedding and executing trace functions in code to gather trace data | |
CN106559438A (en) | A kind of program method for uploading and device based on objective network platform | |
US9645911B2 (en) | System and method for debugging firmware/software by generating trace data | |
US8930923B2 (en) | Generating debugging extension source code utilizing debugging information | |
WO2012022065A1 (en) | Method and system for realizing automatic tests of digital signal processor (dsp) | |
EP2706459B1 (en) | Apparatus and method for validating a compiler for a reconfigurable processor | |
WO2016095570A1 (en) | Debugging method and apparatus for embedded system, and storage medium | |
CN104050080A (en) | Method and system for debugging linux kernel in user mode | |
CN104572238A (en) | Method and system for generating executable software package efficiently | |
CN113805882A (en) | Method and device for developing application program, electronic equipment and storage medium | |
US20240319984A1 (en) | Ecu upgrade method and device, and readable storage medium | |
CN109284222B (en) | Software unit, project testing method, device and equipment in data processing system | |
CN112230904A (en) | Code generation method and device based on interface document, storage medium and server | |
Biery et al. | Artdaq: An event-building, filtering, and processing framework | |
CN110515893A (en) | Data storage method, device, equipment and computer readable storage medium | |
CN114185874A (en) | Big data based modeling method and device, development framework and equipment | |
CN111176663B (en) | Data processing method, device, equipment and storage medium of application program | |
CN103678485A (en) | Virtual experiment process node driving and movable packaging system | |
US20230367936A1 (en) | Verification method, electronic device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20221201 Address after: 1402, Floor 14, Block A, Haina Baichuan Headquarters Building, No. 6, Baoxing Road, Haibin Community, Xin'an Street, Bao'an District, Shenzhen, Guangdong 518000 Patentee after: Shenzhen Yayue Technology Co.,Ltd. Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. |
|
TR01 | Transfer of patent right |