CN108920139A - A kind of program creating method, device, system, electronic equipment and storage medium - Google Patents

A kind of program creating method, device, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN108920139A
CN108920139A CN201810712583.9A CN201810712583A CN108920139A CN 108920139 A CN108920139 A CN 108920139A CN 201810712583 A CN201810712583 A CN 201810712583A CN 108920139 A CN108920139 A CN 108920139A
Authority
CN
China
Prior art keywords
program
packaged
service
type
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810712583.9A
Other languages
Chinese (zh)
Other versions
CN108920139B (en
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.)
Beijing Kingsoft Software Co Ltd
Beijing Jinshan Digital Entertainment Technology Co Ltd
Original Assignee
Beijing Kingsoft Software Co Ltd
Beijing Jinshan Digital Entertainment 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 Beijing Kingsoft Software Co Ltd, Beijing Jinshan Digital Entertainment Technology Co Ltd filed Critical Beijing Kingsoft Software Co Ltd
Priority to CN201810712583.9A priority Critical patent/CN108920139B/en
Publication of CN108920139A publication Critical patent/CN108920139A/en
Application granted granted Critical
Publication of CN108920139B publication Critical patent/CN108920139B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a kind of program creating method, device, system, electronic equipment and storage mediums, in this method, obtain development task information, exploitation mission bit stream is divided according to default division rule, obtain multiple subtask information, code of the developer based on subtask message composition is received, the corresponding program of subtask information is generated.In the present invention, after obtaining development task information, exploitation mission bit stream is divided by way of according to default division rule, artificial division is avoided, shortens and divides the period, so that developer obtains the subtask information of itself faster, so that the time that developer starts exploitation is more early, then code of the developer based on subtask message composition is received, the corresponding program of subtask information is generated, shortens the development cycle.

Description

A kind of program creating method, device, system, electronic equipment and storage medium
Technical field
The present invention relates to system development technical fields, more particularly to a kind of program creating method, device, system, electronics Equipment and storage medium.
Background technique
Current software development generally requires multiple developer's cooperations, and exploitation is completed together.In general, a software A corresponding development task information needs to understand that the personnel of technology artificially corresponding to software is opened before carrying out software development Hair mission bit stream is planned, the subtask information that planning obtains then is distributed to developer, each developer has Different subtask information.
Conventional program development life cycle can generally be related to testing environment and at least two environment of formal environments, exploitation After personnel complete the subtask information of itself, artificially by the Code copying of completion to packaged service device, to arrive test environment, by surveying Examination personnel test the namely primary version of the code after the packing, after testing repeatedly, then by the successful version of final test Originally it is deployed in formal environments, formal environments provide service for user.
In the related technology, artificial to divide development task information, due to artificially carrying out drawing for development task information Point, cause the division period longer, so that the time that developer obtains the subtask information of itself is longer, so that developer opens The time of dynamic exploitation is later, therefore, it is longer further such that the development cycle of software is longer to divide the period.
Summary of the invention
Be designed to provide a kind of program creating method, device, system, electronic equipment and the storage of the embodiment of the present invention are situated between Matter, to shorten the development cycle.Specific technical solution is as follows:
A kind of program creating method is applied to code administration server, the method includes:
Obtain development task information;
The development task information is divided according to default division rule, obtains multiple subtask information;
Code of the developer based on the subtask message composition is received, the corresponding journey of the subtask information is generated Sequence.
Optionally, described that the development task information is divided according to default division rule, obtain multiple subtasks The step of information, including:
Obtain pre-arranged code Schema information;
Determine the encoded hierarchy that the pre-arranged code Schema information includes;
Based on the encoded hierarchy, the development task information is divided, obtains multiple subtask information, wherein The corresponding sub- mission bit stream of one encoded hierarchy.
Optionally, described that the development task information is divided according to default division rule, obtain multiple subtasks The step of information, including:
Determine the corresponding type of service of the development task information;
Based on the type of service, the development task information is divided, obtains multiple subtask information.
Optionally, described to be based on the type of service, the development task information is divided, multiple subtasks are obtained The step of information, including:
In the case where type of service belongs to single type of service, the corresponding sub- mission bit stream of the type of service is determined;
In the case where type of service belongs to multi-service type, the corresponding sub- mission bit stream of the type of service is determined, or Person determines that each type of service that the type of service includes respectively corresponds a sub- mission bit stream, wherein the multi-service type Have at least two for type of service.
Optionally, described that the development task information is divided according to default division rule, obtain multiple subtasks The step of information, including:
Obtain pre-arranged code Schema information;
Determine the encoded hierarchy that the pre-arranged code Schema information includes;
Based on the encoded hierarchy, the development task information is divided, obtains multiple goal task information, In, the corresponding goal task information of an encoded hierarchy;
Determine the corresponding type of service of each goal task information;
Based on identified type of service, each goal task information is divided, obtains multiple subtask information.
Optionally, after described the step of generating the subtask information corresponding program, the method also includes:
It receives packing assignment instructions and determines packing assignment instructions institute from the corresponding program of the subtask information The program to be packaged is sent to packaged service device by the program to be packaged for including so that the packaged service device to it is described to It is packaged program and carries out packing deployment.
A kind of program creating device, is applied to code administration server, and described device includes:
Module is obtained, for obtaining development task information;
Division module obtains multiple sons and appoints for dividing according to default division rule to the development task information Business information;
Receiving module generates the subtask for receiving code of the developer based on the subtask message composition The corresponding program of information.
Optionally, the division module, including:
First pre-arranged code Schema information obtaining unit, for obtaining pre-arranged code Schema information;
First encoded hierarchy determination unit, the encoded hierarchy for including for determining the pre-arranged code Schema information;
First division unit divides the development task information, obtains multiple for being based on the encoded hierarchy Subtask information, wherein the corresponding sub- mission bit stream of an encoded hierarchy.
Optionally, the division module, including:
First type of service determination unit, for determining the corresponding type of service of the development task information;
Second division unit divides the development task information, obtains multiple for being based on the type of service Subtask information.
Optionally, second division unit, is specifically used for:
In the case where type of service belongs to single type of service, the corresponding sub- mission bit stream of the type of service is determined;
In the case where type of service belongs to multi-service type, the corresponding sub- mission bit stream of the type of service is determined, or Person determines that each type of service that the type of service includes respectively corresponds a sub- mission bit stream, wherein the multi-service type Have at least two for type of service.
Optionally, the division module, including:
Second pre-arranged code Schema information obtaining unit, for obtaining pre-arranged code Schema information;
Second encoded hierarchy determination unit, the encoded hierarchy for including for determining the pre-arranged code Schema information;
Third division unit divides the development task information, obtains multiple for being based on the encoded hierarchy Goal task information, wherein the corresponding goal task information of an encoded hierarchy;
Second type of service determination unit, for determining the corresponding type of service of each goal task information;
4th division unit, for dividing, obtaining to each goal task information based on identified type of service Multiple subtask information.
Optionally, described device further includes:
Command reception module, for receiving and being packaged assignment instructions, from the subtask information pair after the generation program In the program answered, determines the program to be packaged that the packing assignment instructions are included, the program to be packaged is sent to packing Server, so that the packaged service device carries out packing deployment to the program to be packaged.
A kind of electronic equipment, including processor and memory;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any of the above-described method and step.
A kind of computer readable storage medium, which is characterized in that calculating is stored in the computer readable storage medium Machine program, the computer program realize any of the above-described method and step when being executed by processor.
A kind of program packing deployment system, including code administration server and packaged service device;
The code administration server appoints the exploitation according to default division rule for obtaining development task information Business information is divided, and multiple subtask information are obtained, and receives code of the developer based on the subtask message composition, raw It at the corresponding program of the subtask information, receives and is packaged assignment instructions, from the corresponding program of the subtask information, determine The program to be packaged for being packaged assignment instructions and being included, is sent to packaged service device for the program to be packaged;
The packaged service device carries out packing deployment to the program to be packaged for receiving the program to be packaged.
Optionally, the code administration server is specifically used for:
Obtain pre-arranged code Schema information;
Determine the encoded hierarchy that the pre-arranged code Schema information includes;
Based on the encoded hierarchy, the development task information is divided, obtains multiple subtask information, wherein The corresponding sub- mission bit stream of one encoded hierarchy.
Optionally, the code administration server is specifically used for:
Determine the corresponding type of service of the development task information;
Based on the type of service, the development task information is divided, obtains multiple subtask information.
Optionally, the code administration server is specifically used for:
In the case where type of service belongs to single type of service, the corresponding sub- mission bit stream of the type of service is determined;
In the case where type of service belongs to multi-service type, the corresponding sub- mission bit stream of the type of service is determined, or Person determines that each type of service that the type of service includes respectively corresponds a sub- mission bit stream, wherein the multi-service type Have at least two for type of service.
Optionally, the code administration server is specifically used for:
Obtain pre-arranged code Schema information;
Determine the encoded hierarchy that the pre-arranged code Schema information includes;
Based on the encoded hierarchy, the development task information is divided, obtains multiple goal task information, In, the corresponding goal task information of an encoded hierarchy;
Determine the corresponding type of service of each goal task information;
Based on identified type of service, each goal task information is divided, obtains multiple subtask information.
It optionally, further include testing service device;
The packaged service device, specifically for receiving the program to be packaged, based on default packetization rules, to described wait beat The code of packet program is packaged to obtain program bag to be tested, and the program bag to be tested is deployed to testing service device;
The testing service device tests the program to be tested for receiving the program to be tested.
Optionally, the packaged service device is also used to after the program bag to be tested is deployed to testing service device, The corresponding page file of the task to be packaged for receiving that the code administration server sends, the page file is deployed to The testing service device;
The testing service device, is also used to receive the page file, tests the page file.
Optionally, the packaged service device, specifically for determining the type of service of the program to be packaged;
In the case where the type of service of the program to be packaged is single type of service, by the generation of the program to be packaged Code carries out whole be packaged and obtains program bag to be tested;
In the case where the type of service of the program to be packaged is multi-service type, by the code of the program to be packaged It carries out whole be packaged and obtains target program packet, the type of service for the business for including based on the program to be packaged is to the target journey Sequence packet is unpacked to obtain program bag to be tested, alternatively, the attribute information for the business for including based on the program to be packaged is to institute Target program packet is stated to be unpacked to obtain program bag to be tested.
Optionally, the packaged service device, specifically for the business for each business that the determining program to be packaged includes The code of the business of type of service same in target program packet is split as a program bag to be tested by type.
Optionally, the packaged service device, specifically for determining the attribute information of business that the program to be packaged includes, Based on the attribute information, the correlation between each business is determined, correlation in target program packet is greater than preset threshold The code of business is split as a program bag to be tested.
It optionally, further include code library;
The packaged service device is also used to obtaining described corresponding after the code for being packaged program wait be packaged task, general The code of the program to be packaged is sent to the code library;
The code library stores the code of the program to be packaged for receiving the code of the program to be packaged.
Optionally, the code administration server is equipped with version management SVN system.
Optionally, the testing service device is multiple;
The packaged service device according to function and is surveyed specifically for determining the corresponding objective function of the program to be packaged The default corresponding relationship for trying server, determines the corresponding testing service device of the objective function, by the program bag portion to be tested It affixes one's name to the corresponding testing service device of the objective function.
Optionally, the testing service device includes multiple testing service device clusters;
The packaged service device is specifically used for determining the corresponding objective function of the program bag to be tested, according to function with The default corresponding relationship of testing service device cluster determines the corresponding testing service device cluster of the objective function, will be described to be measured Examination program bag is deployed to the corresponding testing service device cluster of the objective function.
It optionally, further include publisher server;
The testing service device, the program bag for being also used to be successfully tested are deployed to the publisher server;
The publisher server, for receiving the program bag being successfully tested, and to the program bag being successfully tested Carry out production deployment.
It optionally, further include publisher server;
The packaged service device, is also used to after packing obtains program bag to be tested, and the program bag to be tested is sent To the publisher server;
The publisher server carries out production department to the program bag to be tested for receiving the program bag to be tested Administration.
During the present invention is implemented, development task information is obtained, exploitation mission bit stream is divided according to default division rule, Multiple subtask information are obtained, code of the developer based on subtask message composition is received, it is corresponding to generate subtask information Program.In the present invention, after obtaining development task information, by way of according to default division rule to exploitation mission bit stream into Row divides, and avoids artificial division, shortens and divides the period, so that developer obtains the subtask information of itself faster, So that the time that developer starts exploitation is more early, code of the developer based on subtask message composition is then received, is generated The corresponding program of subtask information, shortens the development cycle.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the first flow diagram of program creating method provided in an embodiment of the present invention;
Fig. 2 divides exploitation mission bit stream according to default division rule to be provided in an embodiment of the present invention, obtains more The first flow diagram of a sub- mission bit stream;
Fig. 3 divides exploitation mission bit stream according to default division rule to be provided in an embodiment of the present invention, obtains more Second of flow diagram of a sub- mission bit stream;
Fig. 4 divides exploitation mission bit stream according to default division rule to be provided in an embodiment of the present invention, obtains more The third flow diagram of a sub- mission bit stream;
Fig. 5 is second of flow diagram of program creating method provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of program creating device provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of electronic equipment provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram that program provided in an embodiment of the present invention is packaged deployment system.
Fig. 9 is provided in an embodiment of the present invention to be packaged deployment system based on program and be packaged, test and production deployment Schematic diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In order to solve the problems, such as present in the relevant technologies, the embodiment of the invention provides a kind of program creating method, device, System, electronic equipment and storage medium.
It should be noted that in the application scenarios of the embodiment of the present invention, including packaged service device and code administration server.
Wherein, packaged service device is mainly used for being packaged the code that is packaged of needs, and by the program bag portion after packing It affixes one's name to testing service device;Code administration server is mainly used for dividing exploitation mission bit stream, and writes to developer Code be managed;Testing service device is mainly used for testing the program bag after packing.
The program creating method provided by the invention applied to code administration server is illustrated first below.
Fig. 1 is the flow diagram of program creating method provided in an embodiment of the present invention, is applied to code administration server, This method may include:
S101:Obtain development task information.
In order to plan software development, need to obtain development task information, wherein can be in the development task information Include following information:It is the title of software to be developed, the type of software to be developed, business included by software to be developed, to be developed Feature list included by software etc..
Wherein, the type of software to be developed can have type of play, office-type etc..
Business included by software to be developed depends on what software software to be developed is, such as:Software to be developed is trip Play software, then business included by software to be developed can have game charater clothes business, interface business, game charater to make Type business etc.;Software to be developed is enterprise management system software, then business included by software to be developed can have press release Business, meeting room management business, enterprises traffic flow.
Function included by software to be developed is function possessed by business included by software to be developed, such as:Wait open The part that feels like jelly is Games Software, and business included by software to be developed has game charater clothes business, interface business, game people Object moulding business provides function, the interface business tool of clothes since game charater clothes business has for personage in game Be provided with the function of interface, game charater moulding business has and provides the function of moulding for personage in game, therefore, wait open Feel like jelly in feature list included by part and includes:For personage in game provide the function of clothes, provide interface function and The function of moulding is provided for personage in game.
S102:Exploitation mission bit stream is divided according to default division rule, obtains multiple subtask information.
Since software development needs multiple developer's cooperations to complete together, after obtaining development task information, need Exploitation mission bit stream is divided according to default division rule, obtain multiple subtask information.So that each developer It is developed according to the subtask information of itself.
Above-mentioned to divide according to default division rule to exploitation mission bit stream, the mode for obtaining multiple subtask information has It is a variety of, it is including but not limited to following several:
First way:
It is divided based on coding scheme.
Referring to fig. 2, step S102 may include:
S1021:Obtain pre-arranged code Schema information.
For computer system, there are a variety of coding schemes at present.Illustratively, coding scheme may include:Two-tier system And three-tier architecture.
Wherein, two-tier system refers to C/S (Client/Server, client/server) structure, including two layers:User circle Surface layer and Business Logic, database server receive the instruction of client transmission and inquire database, the behaviour such as update Make, then operating result returns to client.Since in two-tier system, client is directly contacted with server, therefore two layer frames The advantages of structure is flexibility height, the disadvantage is that safety is poor.
Three-tier architecture, which refers to, is logically divided into three different processing for user interface, service logic and data using middleware Layer:Expression layer, middle layer and data Layer.
Expression layer (user interface):Its major function is to realize that user is interactive and data indicate, is received for later processing Collect data, is handled to the service logic request call kernel service of the second layer, and show processing result.
Middle layer (service logic):It realizes entire application system core business logic, service logic is usually divided into one Each and every one independent module is realized with the programming interface that the application programming interface API combined data library that middleware provides provides. Client is by calling these independent modules to realize corresponding business operation.
Data Layer (mathematical logic):Database is responsible for managing the data resource of entire application system, completes data manipulation.
For the ease of dividing to exploitation mission bit stream, it is previously stored with pre-arranged code Schema information, wherein default to compile The quantity and every layer of encoded hierarchy for the encoded hierarchy that the type comprising coding scheme, coding scheme are included in code Schema information Characteristic information.
Wherein, the characteristic information of every layer of encoded hierarchy is the information for characterizing feature possessed by the level, Yong Hujie The information that the characteristic information of surface layer time can interact for characterization with user, the characteristic information of Business Logic can for characterize and to The information that software kernels business has correlation is developed, the characteristic information of mathematical logic layer can be the letter of characterization and data resource Breath.
Pre-arranged code Schema information can be stored with the identifiable storage mode of any computer, illustratively, storage is pre- If the mode of coding scheme information can be:Pre-arranged code Schema information is stored in the form of a list.
In the form of a list store pre-arranged code Schema information, and, pre-arranged code framework be two-tier system for, stored Pre-arranged code Schema information can be as shown in the table:
It is that coding scheme to be based on is developed when due to exploitation software, it can be based on coding scheme into exploitation Mission bit stream is divided, and in order to divide based on coding scheme into exploitation mission bit stream, needs to obtain pre-stored Pre-arranged code Schema information.
S1022:Determine the encoded hierarchy that pre-arranged code Schema information includes.
After obtaining pre-arranged code Schema information, it is thus necessary to determine that the encoded hierarchy that pre-arranged code Schema information includes.
Such as:Assuming that coding scheme is two-tier system, then the encoded hierarchy that coding scheme includes is two layers:User interface layer And Business Logic;Assuming that for three, framework, the then encoded hierarchy that coding scheme includes are three layers to coding scheme layer by layer:Expression layer, Middle layer and data Layer.
S1023:Based on encoded hierarchy, exploitation mission bit stream is divided, obtains multiple subtask information, wherein one The corresponding sub- mission bit stream of a encoded hierarchy.
After encoded hierarchy has been determined, it can be based on encoded hierarchy, exploitation mission bit stream is divided, multiple sons are obtained Mission bit stream, wherein the corresponding sub- mission bit stream of an encoded hierarchy.
Wherein, it is based on encoded hierarchy, exploitation mission bit stream is divided, the mode for obtaining multiple subtask information can be with For:Based on the characteristic information of each encoded hierarchy, will be divided into development task information with the matched information of each characteristic information The corresponding subtask information of each characteristic information.
Such as:Assuming that coding scheme is two-tier system, two-tier system includes user interface layer and Business Logic, it is assumed that Exploitation software is enterprise management system software, and business included by software to be developed has press release business, meeting room management industry Business, enterprises traffic flow;
Due to enterprises traffic flow be need to interact with user, such as:Reimbursement needs to fill in expense report, therefore, Enterprises traffic flow is matched with the characteristic information of user interface layer, since the core business of enterprise management system software is pipe Reason business, therefore, press release business and meeting room management business in addition to enterprises traffic flow are and business administration The core business of system software has correlation, therefore, press release business and meeting room management business and Business Logic Characteristic information matching;
Then exploitation mission bit stream is divided, obtains 2 sub- mission bit streams, respectively:Answer user interface layer corresponding Subtask information, the subtask information include:Enterprises traffic flow, the corresponding subtask information of Business Logic, the son Mission bit stream includes:Press release business and meeting room management business.
The encoded hierarchy for including based on coding scheme as a result, divides exploitation mission bit stream, obtains multiple subtasks Information.
The second way:
It is divided based on type of service.
Referring to Fig. 3, step S102 may include:
S1024:Determine the corresponding type of service of development task information.
In general, a variety of involved in pre-set development task information when determining development task information Business, such as:Development task information is enterprise management system, that is, needs to develop an enterprise management system software, preset Enterprise management system includes:Press release business, meeting room management business, enterprises traffic flow, enterprises process industry Business includes reimbursement traffic flow, ask for leave traffic flow and procurement process business again.
Every kind of business is corresponding with type of service, and identical type of service generally have in exploitation it is similar or identical Feature, therefore it is developed together, it is more favorably developed the operation of personnel, can also be improved development efficiency, therefore, is appointed to exploitation When business information is divided, it can be divided based on type of service.Due to setting in advance when determining development task information Multiple business involved in development task information is set, and since every kind of business is corresponding with type of service, every kind of business Corresponding type of service has also determined that, accordingly, it is determined that the corresponding type of service of development task information can be:Exploitation is appointed Type of service corresponding to multiple business involved in business information is determined as the corresponding type of service of development task information.
In the corresponding type of service of development task information, there are some types of service to belong to single type of service, there are some industry Service type belongs to multi-service type, wherein single type of service refers to that type of service only has one kind, and multi-service type refers to business Type has at least two.
Such as:The type of service of above-mentioned press release business belongs to single type of service, the industry of enterprises traffic flow Service type belongs to multi-service type.
In order to be divided based on type of service, it is thus necessary to determine that the corresponding type of service of development task information.
Such as:Above-mentioned development task information is enterprise management system, it is determined that the corresponding type of service of development task information For:Press release type of service, meeting room management business type, enterprises traffic flow type.
S1025:Based on pre- type of service, exploitation mission bit stream is divided, multiple subtask information are obtained.
After determining the corresponding type of service of development task information, can be based on type of service, to exploitation mission bit stream into Row divides, and obtains multiple subtask information.
Step S1025 may include:
In the case where type of service belongs to single type of service, the corresponding sub- mission bit stream of the type of service is determined;
In the case where type of service belongs to multi-service type, the corresponding sub- mission bit stream of the type of service is determined, or Person, each subservice type for determining that the type of service includes respectively correspond a sub- mission bit stream, wherein the diverse service styles Type is that type of service has at least two.
In the case where type of service belongs to single type of service, illustrate a kind of only type of service, at this point, determining the industry Service type corresponds to a sub- mission bit stream.
Such as:Above-mentioned development task information is enterprise management system, the determining corresponding type of service of development task information For:Press release type of service, meeting room management business type, enterprises traffic flow type, due to press release business Type and meeting room management business type belong to single type of service, accordingly, it is determined that press release type of service is one corresponding Subtask information, the corresponding sub- mission bit stream of meeting room management business type.
In the case where type of service belongs to multi-service type, illustrate there are many types of service, at this point, with single service class Type is similar, can determine the corresponding sub- mission bit stream of the type of service.
Such as:Above-mentioned development task information is enterprise management system, the determining corresponding type of service of development task information For:Press release type of service, meeting room management business type, enterprises traffic flow type, due to enterprises process Type of service includes reimbursement traffic flow type, traffic flow type of asking for leave and procurement process type of service again, therefore, in enterprise Portion's traffic flow type belongs to multi-service type, at this point, determining the corresponding sub- mission bit stream of enterprises traffic flow type.
Due to being directed to multi-service type, inside function is complicated, and may not need between each type of service same Shi Kaifa, hence, it can be determined that each subservice type that the type of service includes respectively corresponds a sub- mission bit stream.
Such as:Above-mentioned development task information is enterprise management system, the determining corresponding type of service of development task information For:Press release type of service, meeting room management business type, enterprises traffic flow type, enterprises traffic flow Type includes reimbursement traffic flow type, traffic flow type of asking for leave and procurement process type of service, determines reimbursement traffic flow Type corresponds to a sub- mission bit stream, determines the corresponding sub- mission bit stream of traffic flow type of asking for leave, determines procurement process industry Service type corresponds to a sub- mission bit stream.
It is based on the corresponding type of service of development task information as a result, exploitation mission bit stream is divided, multiple sons are obtained Mission bit stream.
The third mode:
It is divided based on coding scheme and type of service.
Referring to fig. 4, step S102 may include:
S1026:Obtain pre-arranged code Schema information.
S1027:Determine the encoded hierarchy that pre-arranged code Schema information includes.
Step S1026-S1027 is similar with the S1021-S1022 in Fig. 2, specifically may refer to the S1021- in Fig. 2 The description of S1022, details are not described herein.
S1028:Based on encoded hierarchy, exploitation mission bit stream is divided, multiple goal task information are obtained, wherein The corresponding goal task information of one encoded hierarchy.
After encoded hierarchy has been determined, it can be based on encoded hierarchy, exploitation mission bit stream is divided, multiple mesh are obtained Mark mission bit stream, wherein the corresponding goal task information of an encoded hierarchy.
Wherein, it is based on encoded hierarchy, exploitation mission bit stream is divided, the mode for obtaining multiple goal task information can Think:Based on the characteristic information of each encoded hierarchy, will be divided in development task information with the matched information of each characteristic information For the corresponding goal task information of each characteristic information.
Such as:Assuming that coding scheme is two-tier system, two-tier system includes user interface layer and Business Logic, it is assumed that Exploitation software is enterprise management system software, and business included by software to be developed has press release business, meeting room management industry Business, enterprises traffic flow;
Due to enterprises traffic flow be need to interact with user, such as:Reimbursement needs to fill in expense report, therefore, Enterprises traffic flow is matched with the characteristic information of user interface layer, since the core business of enterprise management system software is pipe Reason business, therefore, press release business and meeting room management business in addition to enterprises traffic flow are and business administration The core business of system software has correlation, therefore, press release business and meeting room management business and Business Logic Characteristic information matching;
Then exploitation mission bit stream is divided, obtains 2 goal task information, respectively:Answer user interface layer corresponding Goal task information, which includes:Enterprises traffic flow, the corresponding goal task letter of Business Logic Breath, the goal task information include:Press release business and meeting room management business.
S1029:Determine the corresponding type of service of each goal task information.
Since coding scheme is a big frame, exploitation mission bit stream is divided based on coding scheme, it is acquired Goal task information negligible amounts, such as:Two-tier system obtains 2 goal task information, and three-tier architecture obtains 3 targets Mission bit stream, so that the exploitation content of each goal task information is more, so that development efficiency is lower.In order to improve exploitation effect Rate again can divide each goal task information based on type of service after being divided based on coding scheme.
In general, a variety of involved in pre-set development task information when determining development task information Business, after obtaining goal task information, business involved in each goal task information is namely known, and due to every kind Business is corresponding with type of service, and therefore, type of service corresponding to every kind of business has also determined that, accordingly, it is determined that target is believed Ceasing corresponding type of service can be:Type of service corresponding to multiple business involved in goal task information is determined as mesh Mark the corresponding type of service of mission bit stream.
Therefore, after determining goal task information, the corresponding type of service of each goal task information can be determined.
Such as:The example for accepting step S1028, as answering industry involved in the corresponding goal task information of user interface layer The corresponding type of service of business is enterprises traffic flow type, accordingly, it is determined that answering the corresponding goal task of user interface layer The corresponding type of service of information is:Enterprises traffic flow type;
Type of service corresponding to the business as involved in Business Logic corresponding goal task information is that news is public Type of service and meeting room management business type are accused, accordingly, it is determined that the corresponding industry of the corresponding goal task information of Business Logic Service type is:Press release type of service and meeting room management business type.
S1030:Based on identified type of service, each goal task information is divided, multiple subtasks are obtained Information.
It, can be based on identified type of service, to every after determining the corresponding type of service of each goal task information A goal task information is divided, and multiple subtask information are obtained.
It should be noted that be based only upon coding scheme or mode that type of service is divided in, will be to development task Information, which carries out dividing obtained multiple tasks information, is referred to as subtask information, is based on service class being not only based on coding scheme In the mode that type is divided, exploitation mission bit stream will be carried out dividing obtained multiple tasks information it is referred to as goal task Information, will carry out again goal task information dividing obtained multiple tasks information and be referred to as subtask information.
Wherein, based on identified type of service, each goal task information is divided, obtains multiple subtask letters The mode of breath can be as shown in figure 4, details are not described herein.
Such as:The example of step S1029 is accepted, the corresponding goal task information of user interface layer is corresponded to and is divided, by Belong to multi-service type in enterprises traffic flow type, so determining that the corresponding son of enterprises traffic flow type is appointed Information of being engaged in determines traffic flow type corresponding one of asking for leave alternatively, determining the corresponding sub- mission bit stream of reimbursement traffic flow type A sub- mission bit stream determines the corresponding sub- mission bit stream of procurement process type of service;
The corresponding goal task information of Business Logic is divided, due to press release type of service and meeting room pipe Reason type of service belongs to single type of service, so determining the corresponding sub- mission bit stream of press release type of service, meeting Room management business type corresponds to a sub- mission bit stream.
As a result, in the encoded hierarchy for including based on coding scheme, exploitation mission bit stream is divided, multiple targets are obtained In the case where mission bit stream, then it is based on the corresponding type of service of goal task information, each goal task information is divided, Multiple subtask information are obtained, compared to the mode for being based only upon coding scheme and being divided, improve development efficiency.
S103:Code of the developer based on subtask message composition is received, the corresponding program of subtask information is generated.
After obtaining multiple subtask information, prompt information can be exported, to prompt developer to generate subtask letter Breath, developer can know the subtask information itself to be developed after receiving prompt information, and be directed to the subtask Information is developed.
Developer namely writes the process of code, developer's exploitation for the process that subtask information is developed After the completion, the code just by the code for writing completion namely based on subtask message composition is sent to code administration server.
Code administration server receives code of the developer based on subtask message composition, and it is corresponding to generate subtask information Program.That is, code administration server receives how many codes of a developer based on subtask message composition, just Generate the corresponding program of how many sub- mission bit streams.The corresponding program of subtask information of the generation is for being packaged.
During the present invention is implemented, development task information is obtained, exploitation mission bit stream is divided according to default division rule, Multiple subtask information are obtained, code of the developer based on subtask message composition is received, it is corresponding to generate subtask information Program.In the present invention, after obtaining development task information, by way of according to default division rule to exploitation mission bit stream into Row divides, and avoids artificial division, shortens and divides the period, so that developer obtains the subtask information of itself faster, So that the time that developer starts exploitation is more early, code of the developer based on subtask message composition is then received, is generated The corresponding program of subtask information, shortens the development cycle.
On the basis of method shown in Fig. 1, after step s 103, referring to Fig. 5, program provided in an embodiment of the present invention is raw Can also include at method:
S104:It receives and is packaged assignment instructions, from the corresponding program of subtask information, determine that being packaged assignment instructions is included Program to be packaged, program to be packaged is sent to packaged service device so that packaged service device treat be packaged program be packaged Deployment.
It should be noted that in the application scenarios of the embodiment of the present invention, including packaged service device, task management server, Code administration server and testing service device.
Wherein, packaged service device is mainly used for being packaged the code that is packaged of needs, and by the program bag portion after packing It affixes one's name to testing service device.
Code administration server is mainly used for being managed the code that developer writes, and developer is based on subtask The code of message composition is sent to code administration server, and code administration server believes the code building subtask received Cease corresponding program, the corresponding program of subtask information generated can be used for being packaged, the storage of code administration server The corresponding program of subtask information simultaneously generates task.Store the mission number pass corresponding with the code of program of generating for task System, and the task of generation is sent to task management server.
Task management server is towards administrative staff, for receiving the task of code administration server transmission, and to reception To task be managed, receive administrative staff management instruction, generate mission number to be packaged, wherein management instruction middle finger It is shown with the selected task to be packaged of administrative staff.
Testing service device is mainly used for testing the program bag after packing.
It is introduced separately below to being packaged and unpack:
Developer writes and the code submitted needs to translate into the bytecode that machine can be understood, this process is called volume It translates, such as:When developer writes code with JAVA, it is the file for extending entitled java by code, is compiled into bytecode i.e. Extend the file of entitled class.
It since there are many byte code files, is not easy to dispose and manage, thus certain a kind of bytecode is packaged together, this A process be packaged, such as:It is the file for extending entitled class the bytecode of java program, is packaged together as one Extend the file of entitled jar.
The file declustering for being packaged generation is called at the process of multiple files and is unpacked.Such as:The jar that above-mentioned encapsulation is generated File declustering is at multiple jar files.
When being packaged, administrative staff send assignment instructions to packaged service device, and packaged service device receives this After assignment instructions, the mission number to be packaged that assignment instructions are included is obtained from task management server.
Packaged service device, at packing deployment interface wait be packaged in taskbar, is shown after obtaining band and being packaged mission number Mission number to be packaged.
Due to being stored with the corresponding relationship of the code of mission number and program in code administration server, in order to right The code of the corresponding program to be packaged of task to be packaged is packaged, and after showing and being packaged mission number, packaged service device needs From code administration server, the corresponding program to be packaged of mission number to be packaged is obtained, since program is based on code building , therefore, obtaining the corresponding program to be packaged of mission number to be packaged is exactly that obtain mission number to be packaged corresponding wait be packaged The code of program.
Wherein, packaged service device obtains the corresponding program to be packaged of mission number to be packaged from code administration server Mode be:It sends and is packaged assignment instructions to code administration server, being packaged includes mission number to be packaged in instruction.
Since code administration server is stored with the corresponding program of subtask information, code administration server receives The packing assignment instructions, can be from the corresponding program of subtask information, and what lookup packing assignment instructions were included appoints wait be packaged It is to determine to be packaged the program to be packaged that assignment instructions are included, and will find wait be packaged that corresponding program to be packaged is numbered in business Program is sent to packaged service device, i.e., will be packaged the program to be packaged that assignment instructions are included and be sent to packaged service device, so that Packaged service device treats packing program and carries out packing deployment.
As a result, after receiving packing assignment instructions, it is sent to by the way that the program to be packaged that assignment instructions are included will be packaged The mode of packaged service device, so that packaged service device treats packing program and carries out packing deployment
Wherein, packaged service device treats packing program and carries out packing deployment, may include:
Based on default packetization rules, the code for treating packing program is packaged to obtain program bag to be tested, will be to be tested Program bag is deployed to testing service device.
Specifically, the code that packaged service device can treat packing program by strapping tool is packaged, illustratively, Strapping tool can be maven tool.
It is above-mentioned to treat being packaged the code of program and be packaged to obtain program bag to be tested based on default packetization rules, it can be with For:Type of service based on program to be packaged is packaged to obtain program bag to be tested.Specifically, based on default packetization rules, The code for treating packing program is packaged to obtain program bag to be tested, may include:
(1) type of service of program to be packaged is determined.
In general, program to be developed can be related to multiple business, such as:Program to be developed is enterprise management system, enterprise Management system includes:Press release business, meeting room management business, enterprises traffic flow, enterprises traffic flow is again Including submitting an expense account traffic flow, ask for leave traffic flow and procurement process business.Every kind of business is corresponding with type of service, due to identical The corresponding program of type of service generally have the characteristics that in exploitation similar or identical, therefore it is developed together, more conducively The operation of developer can also be improved development efficiency, therefore, can be according to type of service when developing program to be developed, will Program to be developed is divided into multiple programs, and the mark for then recording each program that program to be developed includes is corresponding with type of service Relationship.
In each program included by program to be developed, having the corresponding type of service of some programs is single type of service, Having the corresponding type of service of some programs is multi-service type, wherein single type of service refers to the corresponding type of service of program Only a kind of, multi-service type refers to that the corresponding type of service of program has at least two.
Such as:The corresponding type of service of the corresponding program of above-mentioned press release business is single type of service, enterprises The corresponding type of service of the corresponding degree of traffic flow is multi-service type.
Since program to be packaged can be the subprogram or whole programs in program to be developed, program to be packaged Corresponding type of service may be that single type of service is also likely to be multi-service type.
Due to for multi-service type wait be packaged for program, if by the corresponding multiple business class of the program to be packaged The code of type is integrally packaged and tests, if the certain type of business in multiple business type does not pass through test, even if other The business of type passes through test, and being somebody's turn to do program to be packaged also can not be online, therefore, is packaged treating the code for being packaged program When, need first to determine the type of service of program to be packaged, to carry out subsequent operation.
When developing program to be developed, it is previously stored with the mark and type of service of each program that program to be developed includes Corresponding relationship, accordingly, it is determined that the mode of the type of service of program to be packaged can be:Determine the mark of program to be packaged, base In the mark for each program that pre-stored program to be developed includes and the corresponding relationship of type of service, program to be packaged is determined Corresponding type of service.
Illustratively, the mark for each program that pre-stored program to be developed includes and the corresponding relationship of type of service It can be as shown in the table:
The mark of program Type of service
A Single type of service
B Multi-service type
(2):The type of service of program to be packaged be single type of service in the case where, by the code of program to be packaged into Whole be packaged of row obtains program bag to be tested.
In the case where determining the type of service of program to be packaged is single type of service, illustrate that the program to be packaged is corresponding Type of service only have one kind, at this point, the code of program to be packaged, which is carried out whole be packaged, obtains program bag to be tested.
(4):In the case where the type of service of program to be packaged is multi-service type, the code of program to be packaged is carried out Whole be packaged obtains target program packet, and the type of service for the business for including based on program to be packaged unpacks to target program packet Program bag to be tested is obtained, alternatively, the attribute information for the business for including based on program to be packaged unpacks to target program packet Obtain program bag to be tested.
In the case where determining the type of service of program to be packaged is multi-service type, illustrate that the program to be packaged includes There are many types of service of business, in order to avoid treating the online influence for being packaged program, first carries out the code of program to be packaged Whole be packaged obtains target program packet, then, is unpacked to obtain program bag to be tested to target program packet.
It should be noted that target program packet is unpacked to obtain there are many modes of program bag to be tested, including but It is not limited to following several:
First way:
The type of service for the business for including based on program to be packaged unpacks target program packet to obtain program to be tested Packet.
The type of service of the above-mentioned business for including based on program to be packaged is unpacked to obtain to be tested to target program packet Program bag can be:Program to be packaged includes that how many kinds of type of service is just split as how many program bags to be tested.Specially:
Determine the type of service for each business that program to be packaged includes;
The code of the business of type of service same in target program packet is split as a program bag to be tested.
When developing program to be developed, it is previously stored with the mark and each program of each program that program to be developed includes Including each business and business type of service corresponding relationship, accordingly, it is determined that each business that program to be packaged includes Type of service can be:Determine the mark of program to be packaged, each program for including based on pre-stored program to be developed The mark each business and business that include with each program type of service corresponding relationship, determine program bag to be packaged The type of service of each business included.
Illustratively, the mark for each program that pre-stored program to be developed includes and each program each of include The corresponding relationship of the type of service of business and business can be as shown in the table:
Since target program packet is obtained after the code wait be packaged program is carried out whole packing, journey to be packaged The business that sequence includes is exactly the business that target program packet includes, therefore, in the industry for each business that determining program to be packaged includes It, can be by target program packet after service type, that is, after the type of service that each business that target program packet includes has been determined In the code of business of same type of service be split as a program bag to be tested.
Such as:For the corresponding target program packet of program C to be packaged in upper table, due to the business of business M and business O Type is a, therefore, can be by the code of the code of the business M in the corresponding target program packet of program C to be packaged and business O Be split as a program bag to be tested, the code of business N be split as a program bag to be tested, altogether split obtain two it is to be measured Try program bag.
The above-mentioned process unpacked based on type of service is understood in order to clearer, below by specific srvice instance To be illustrated:
Such as:Assuming that program to be packaged is the corresponding program of enterprises traffic flow, then by the code of program to be packaged Whole be packaged obtains target program packet;
Since enterprises traffic flow includes reimbursement traffic flow, three kinds of industry of traffic flow and procurement process business of asking for leave Service type, accordingly, it is determined that each business that the type of service for each business that program to be packaged includes i.e. target program packet includes Type of service be:Submit an expense account traffic flow type, traffic flow type of asking for leave and procurement process type of service;
The code of the business of type of service same in target program packet, which is split as a program bag to be tested, is:Corresponding report Sell the program bag to be tested of traffic flow, the program bag to be tested of corresponding traffic flow of asking for leave and corresponding procurement process business to Test program package.
Thus, it is possible to the type of service for the business for including based on program to be packaged unpacks to target program packet, it will be same A kind of code of type of service is split as a packet, when testing, can individually be tested the packet, will not be to other Packet has an impact, and after test passes through, which can be individually online, avoids the code of multiple business type carrying out whole beat Bao Hou, certain generated business do not pass through test caused by program to be packaged integrally can not be online situation generation.
The second way:
The attribute information for the business for including based on program to be packaged unpacks target program packet to obtain program to be tested Packet.
The attribute information of the above-mentioned business for including based on program to be packaged is unpacked to obtain to be tested to target program packet Program bag, Ke Yiwei:
Determine the attribute information for the business that program to be packaged includes;
Based on attribute information, the correlation between each business is determined;
The code that correlation in target program packet is greater than the business of preset threshold is split as a program bag to be tested.
Due to each business that target program packet includes may not be it is self-existent, a business may be with other industry There are correlations between business, therefore, when unpacking to target program packet, the biggish business of correlation can be split into one A program bag to be tested.
In order to determine the correlation between each business, it is thus necessary to determine that the attribute information for the business that target program packet includes, Since target program packet is obtained after the code wait be packaged program is carried out whole packing, program to be packaged includes Business is exactly the business that target program packet includes, accordingly, it is determined that the attribute information for the business that target program packet includes i.e. true The attribute information for the business that fixed program to be packaged includes.During the present invention is implemented, the attribute information of business can be the business of business The realization function of type or business.
When developing program to be developed, it is previously stored with the mark and each program of each program that program to be developed includes Including each business and business attribute information corresponding relationship, accordingly, it is determined that the category for the business that program to be packaged includes Property can be:The mark for determining program to be packaged, the mark for each program for including based on pre-stored program to be developed with The corresponding relationship of the attribute information of each business and business that each program includes determines that program to be packaged each of includes The attribute information of business.
Illustratively, the mark for each program that pre-stored program to be developed includes and each program each of include The corresponding relationship of the attribute information of business and business can be as shown in the table:
After determining the attribute information of business, it is based on attribute information, determines the correlation between each business, it is exemplary , it is based on attribute information, determines the correlation between each business, Ke Yiwei:Between the attribute information for calculating each business Similarity.
Since the biggish business of correlation may have similar or identical feature, it is tested together, It is more advantageous to the operation of tester, can also be improved testing efficiency, therefore, after determining the correlation between each business, Correlation can be greater than to the code of the business of preset threshold as a program bag to be tested.
For the clearer process for understanding the above-mentioned attribute information based on business and unpacking, below by specific industry Pragmatic example is illustrated:
Such as:Assuming that the attribute information of business is type of service, it is assumed that program to be packaged is enterprises traffic flow pair The code of program to be packaged then integrally is packaged and obtains target program packet by the program answered;
Since enterprises traffic flow includes reimbursement traffic flow, three kinds of industry of traffic flow and procurement process business of asking for leave Service type, accordingly, it is determined that the attribute for the business that the attribute information for the business that program to be packaged includes i.e. target program packet includes is believed Breath is:Submit an expense account traffic flow type, traffic flow type of asking for leave and procurement process type of service;
Due to needing to submit an expense account buying money after buying, submit an expense account the correlation between traffic flow and procurement process business It is larger, and the correlation asked for leave between traffic flow and reimbursement traffic flow is smaller, ask for leave traffic flow and procurement process business Between correlation it is smaller, it is assumed that preset threshold 60%;
Assuming that being based on attribute information, determine that the correlation between each business is:Submit an expense account traffic flow and procurement process industry Correlation between business is 90%, and submitting an expense account the correlation between traffic flow and traffic flow of asking for leave is 40%, process of asking for leave industry Correlation between business and procurement process business is 30%;
The code that correlation in target program packet is greater than the business of preset threshold, which is split as a program bag to be tested, is: The program bag to be tested of corresponding reimbursement traffic flow and the program bag to be tested of procurement process business and corresponding traffic flow of asking for leave.
Thus, it is possible to be unpacked based on the attribute information of business to target program packet, by the business with correlation Code is split as a packet, is conducive to subsequent testing operation, testing efficiency can be improved.
After obtaining program bag to be measured, program bag to be tested can be deployed to testing service device.Testing service device is connecing It receives program bag to be tested and can treat test program package and tested.
It, can be to certain journeys in testing service device due to during program bag to be tested is deployed to testing service device Sequence is modified, and program that these are modified needs think highly of Qi Houcai in testing service and can come into force, meanwhile, by journey to be tested During sequence packet is deployed to testing service device, it is also possible to the certain functions being currently running in testing service device be caused to be lost Effect, therefore, in order to make program and the function of failure of failure caused by above-mentioned two situations come into force, after the completion of test, Testing service device can be restarted.
Again since testing service device may simultaneously test other program bags to be tested, if at this moment Restarting testing service device will lead to and can not test other programs to be tested, therefore, can restart test in idle timing Server, idle herein are testing service device using the less time, such as:Timing evening 18:00-24:Restart between 00 Testing service device.
The quantity of testing service device can be for one or multiple, due to being packaged when testing service device is one All program bags to be tested are deployed to the testing service device and tested by server, so that the load of the testing service device Larger, testing efficiency is lower, and therefore, in order to improve testing efficiency, it is multiple that testing service device, which can be set,.
It is above-mentioned that program bag to be tested is deployed to testing service device, Ke Yiwei when testing service device is multiple:Based on to The function of test program package is disposed, specifically, program bag to be tested is deployed to testing service device may include:
(A):Determine the corresponding objective function of program bag to be tested.
In general, program to be developed can be related to multiple business, and a function may be implemented in each or several business, because This can predefine the mark pass corresponding with function for each program that program to be developed includes when developing program to be developed System.
Illustratively, the corresponding relationship of the mark of each program that predetermined program to be developed includes and function can be with As shown in the table:
The mark of program Function
E Function R
F Function S
Since the content of the test for each function may be different, if different functions to be placed on to different tests Server is tested, and testing efficiency can be improved, and therefore, is preset different testing service devices and is carried out to different functions Test, that is, set the default corresponding relationship of function Yu testing service device.
Illustratively, preset function can be as shown in the table with the default corresponding relationship of testing service device:
Testing service device Function
Testing service device X Function R
Testing service device Y Function S
In order to which determination needs for program bag to be tested to be deployed to which testing service device is tested, it is thus necessary to determine that be measured The corresponding objective function of program bag is tried, since program bag to be tested is to treat to be packaged the code of program and be packaged, because This, determines that the corresponding objective function of program bag to be tested namely determines the corresponding objective function of program to be packaged.It determines to be measured The mode of the corresponding objective function of examination program bag can be:Determine the mark of the corresponding program to be packaged of program bag to be tested, base In the corresponding relationship of preset mark and function, the corresponding objective function of program bag to be tested is determined.
(B):According to the default corresponding relationship of function and testing service device, the corresponding testing service device of objective function is determined.
It, can be according to function and default pair of testing service device after the corresponding objective function of program bag to be tested has been determined It should be related to, determine the corresponding testing service device of objective function.
(C):Program bag to be tested is deployed to the corresponding testing service device of objective function.
After the corresponding testing service device of objective function has been determined, that is, the corresponding target function of the program bag to be tested is known Which can need to be tested in testing service device, at this point, program bag to be tested is deployed to the corresponding test of objective function Server, to be tested.
For the clearer process for understanding above-mentioned program bag to be tested and being deployed to testing service device, below by specific Srvice instance is illustrated:
Such as:Assuming that program to be developed is enterprise management system, it is assumed that predetermined program to be developed includes each The mark of program and the corresponding relationship of function are as shown in the table:
The mark of program Function
The mark J of the corresponding program of press release business Press release function
The mark K of the corresponding program of meeting room management business Meeting room management function
The mark L of the corresponding program of enterprises traffic flow Internal process function
Assuming that program bag to be tested is the program after being packaged to the code of the corresponding program of enterprises traffic flow Packet, it is determined that the corresponding program to be packaged of program to be tested is identified as L, since the corresponding function of L is internal process function, because This, determines that the corresponding objective function of program bag to be tested is internal process function;
Assuming that preset function and the default corresponding relationship of testing service device are as shown in the table:
Testing service device Function
Testing service device X Press release function
Testing service device Y Meeting room management function
Testing service device Z Internal process function
Then according to the default corresponding relationship of function and testing service device, determine that the i.e. internal process function of objective function is corresponding Testing service device is:Testing service device Z;
Program bag to be tested is deployed to the corresponding testing service device Z of objective function.
As a result, when testing service device is multiple, test deployment can be carried out based on the function of program bag to be tested, compared In in the related technology, there is only a testing service devices the case where, testing efficiency is improved, meanwhile, compared to being surveyed manually The mode for trying deployment improves test deployment efficiency.
Need program bag to be tested to be tested more due to working as, alternatively, when needing test function to be tested more, Mei Gegong It can only be tested by a testing service device, may cause operation slowly, further such that testing efficiency is lower, therefore, It includes multiple testing service device clusters that testing service device, which can be set, is surveyed by way of cluster to treat test program package Examination.
It is above-mentioned that program bag to be tested is deployed to testing service when testing service device includes multiple testing service device clusters Device may include:
Determine the corresponding objective function of program bag to be tested;
According to the default corresponding relationship of function and testing service device cluster, the corresponding testing service device collection of objective function is determined Group;
Program bag to be tested is deployed to the corresponding testing service device cluster of objective function.
In general, program to be developed can be related to multiple business, and a function may be implemented in each or several business, because This can predefine the mark pass corresponding with function for each program that program to be developed includes when developing program to be developed System.
Illustratively, the corresponding relationship of the mark of each program that predetermined program to be developed includes and function can be with As shown in the table:
The mark of program Function
E Function R
F Function S
Since the content of the test for each function may be different, if different functions to be placed on to different tests Server cluster is tested, and testing efficiency can be improved, and therefore, presets different testing service device clusters to different Function is tested, that is, sets the default corresponding relationship of function Yu testing service device cluster.
Illustratively, preset function can be as shown in the table with the default corresponding relationship of testing service device cluster:
Testing service device cluster Function
Testing service device cluster W Function R
Testing service device cluster U Function S
In order to which determination needs for program bag to be tested to be deployed to which testing service device cluster is tested, it is thus necessary to determine that The corresponding objective function of program bag to be tested, since program bag to be tested is to treat to be packaged the code of program and be packaged to obtain , accordingly, it is determined that the corresponding objective function of program bag to be tested namely determines the corresponding objective function of program to be packaged.It determines The mode of the corresponding objective function of program bag to be tested can be:Determine the mark of the corresponding program to be packaged of program bag to be tested Know, based on the corresponding relationship of preset mark and function, determines the corresponding objective function of program bag to be tested.
It, can be according to the pre- of function and testing service device cluster after the corresponding objective function of program bag to be tested has been determined If corresponding relationship, the corresponding testing service device cluster of objective function is determined.
After the corresponding testing service device cluster of objective function has been determined, that is, the corresponding mesh of the program bag to be tested is known Mark function needs are tested in which testing service device cluster, at this point, program bag to be tested is deployed to objective function pair The testing service device cluster answered, to be tested.
Due to generally will include a primary server in a testing service device cluster and multiple from server, primary server It is therefore, above-mentioned that program bag to be tested is deployed to the corresponding test clothes of objective function for being controlled from server multiple Business device cluster, Ke Yiwei:Program bag to be tested is deployed to the primary server in the corresponding testing service device cluster of objective function, So that primary server determines target from server, by program bag portion to be tested from multiple according to load balancing principle from server Administration is to target from server.
For the clearer process for understanding above-mentioned program bag to be tested and being deployed to testing service device cluster, below by tool The srvice instance of body is illustrated:
Such as:Assuming that program to be developed is enterprise management system, it is assumed that predetermined program to be developed includes each The mark of program and the corresponding relationship of function are as shown in the table:
The mark of program Function
The mark J of the corresponding program of press release business Press release function
The mark K of the corresponding program of meeting room management business Meeting room management function
The mark L of the corresponding program of enterprises traffic flow Internal process function
Assuming that program bag to be tested is the program after being packaged to the code of the corresponding program of enterprises traffic flow Packet, it is determined that the corresponding program to be packaged of program to be tested is identified as L, since the corresponding function of L is internal process function, because This, determines that the corresponding objective function of program bag to be tested is internal process function;
Assuming that preset function and the default corresponding relationship of testing service device cluster are as shown in the table:
Then according to the default corresponding relationship of function and testing service device cluster, objective function i.e. internal process function pair is determined The testing service device cluster answered is:Testing service device cluster V;
Program bag to be tested is deployed to the corresponding testing service device cluster V of objective function;
Assuming that testing service device cluster V includes main server-a, from server B and from server C, it is assumed that main server-a root According to load balancing principle from it is multiple from server determine targets from server be from server B, then it is above-mentioned by journey to be tested Sequence packet is deployed to the corresponding testing service device cluster V of objective function:Program bag to be tested is deployed to objective function pair The main server-a in testing service device cluster V answered, so that program bag to be tested is deployed to target from service by main server-a Device B.
As a result, when testing service device includes multiple testing service device clusters, a function can be made to pass through a test Server cluster is tested, this realize that treating test program package carries out test deployment by way of cluster, compared to The case where only one function is tested by a testing service device, improves testing efficiency.
Packaged service device is by treating the mode that the code of program is packaged that is packaged based on default packetization rules as a result, Program bag to be tested is obtained, and program bag to be tested is deployed to testing service device, has achieved the purpose that automation is packaged deployment, Without being packaged manually, reduce the workload for being packaged deployment, while reducing and expending the time, due to being automatic packaging portion Administration, reduces error rate when deployment, improves the efficiency for being packaged deployment.
Packaged service device can also receive code administration service after program bag to be tested is deployed to testing service device The corresponding page file of task to be packaged of device, is deployed to testing service device for page file.
Since the program to be developed developed needs to be shown in the form of the page, developing program to be developed When, it further includes page file that developer was developed, which not only includes the code of program,.Developer submits the generation for writing completion When code to code administration server, it is also necessary to submit and be directed to the corresponding page file of the code.
Code administration server receives the code for writing completion and corresponding page file that developer submits, and generates Task stores the corresponding relationship of the mission number of the task of generation and the code of program, store tasks number and page file Corresponding relationship.
Carry out be packaged deployment when, not only need to dispose the program bag after packing, it is also necessary to page file into Row deployment.Therefore, in order to dispose to page file, program bag to be tested is being deployed to testing service device by packaged service device Later, need to obtain the corresponding page file of task to be packaged.Wherein, the mode of the corresponding page file of task to be packaged is obtained The corresponding page file of task to be packaged that can be sent for reception code administration server.
Mission number and page file due to task to be packaged there are corresponding relationship, appoint to obtain wait be packaged It is engaged in corresponding page file, after program bag to be tested is deployed to testing service device, packaged service device can be to dematron It manages server and sends acquisition request, obtain the corresponding page file of which task to know code administration server, if Set the mission number that task to be packaged is carried in acquisition request.
Due to being stored with the corresponding relationship of mission number and page file in code administration server, code administration Server can determine task to be packaged according to the corresponding relationship of mission number and page file after receiving acquisition request The corresponding page file of mission number, and determining page file is sent to packaged service device.
Packaged service device receives the page file that code administration server is sent, that is, obtains the corresponding page of task to be packaged Face file.
Illustratively, page file may include HTML (HyperText Markup Language, hypertext markup language Speech) in file, CSS (Cascading Style Sheets, cascading style sheets) file or JS (Javascript, script) file At least one.
It, can be by page file portion in reception code administration server transmission after being packaged the corresponding page file of task It affixes one's name to testing service device.
As a result, while program bag to be tested is deployed to testing service device, page file is also deployed to test clothes Business device, in order to test page file.
Relative to above method embodiment, Fig. 6 is that a kind of structure of program creating device provided in an embodiment of the present invention is shown It is intended to, which is applied to code administration server, may include:
Module 601 is obtained, for obtaining development task information;
Division module 602 obtains multiple sons for dividing according to default division rule to the development task information Mission bit stream;
Receiving module 603 generates the son and appoints for receiving code of the developer based on the subtask message composition The corresponding program of information of being engaged in.
During the present invention is implemented, development task information is obtained, exploitation mission bit stream is divided according to default division rule, Multiple subtask information are obtained, code of the developer based on subtask message composition is received, it is corresponding to generate subtask information Program.In the present invention, after obtaining development task information, by way of according to default division rule to exploitation mission bit stream into Row divides, and avoids artificial division, shortens and divides the period, so that developer obtains the subtask information of itself faster, So that the time that developer starts exploitation is more early, code of the developer based on subtask message composition is then received, is generated The corresponding program of subtask information, shortens the development cycle.
In a kind of implementation of the invention, the division module 602 may include:
First pre-arranged code Schema information obtaining unit, for obtaining pre-arranged code Schema information;
First encoded hierarchy determination unit, the encoded hierarchy for including for determining the pre-arranged code Schema information;
First division unit divides the development task information, obtains multiple for being based on the encoded hierarchy Subtask information, wherein the corresponding sub- mission bit stream of an encoded hierarchy.
In a kind of implementation of the invention, the division module 602 may include:
First type of service determination unit, for determining the corresponding type of service of the development task information;
Second division unit divides the development task information, obtains multiple for being based on the type of service Subtask information.
In a kind of implementation of the invention, second division unit can be specifically used for:
In the case where type of service belongs to single type of service, the corresponding sub- mission bit stream of the type of service is determined;
In the case where type of service belongs to multi-service type, the corresponding sub- mission bit stream of the type of service is determined, or Person determines that each type of service that the type of service includes respectively corresponds a sub- mission bit stream, wherein the multi-service type Have at least two for type of service.
In a kind of implementation of the invention, the division module 602 may include:
Second pre-arranged code Schema information obtaining unit, for obtaining pre-arranged code Schema information;
Second encoded hierarchy determination unit, the encoded hierarchy for including for determining the pre-arranged code Schema information;
Third division unit divides the development task information, obtains multiple for being based on the encoded hierarchy Goal task information, wherein the corresponding goal task information of an encoded hierarchy;
Second type of service determination unit, for determining the corresponding type of service of each goal task information;
4th division unit, for dividing, obtaining to each goal task information based on identified type of service Multiple subtask information.
In a kind of implementation of the invention, described device can also include:
Command reception module, for receiving and being packaged assignment instructions, from the subtask information pair after the generation program In the program answered, determines the program to be packaged that the packing assignment instructions are included, the program to be packaged is sent to packing Server, so that the packaged service device carries out packing deployment to the program to be packaged.
The embodiment of the invention also provides a kind of electronic equipment, as shown in fig. 7, comprises processor 701 and memory 702;
Memory 702, for storing computer program;
Processor 701 when for executing the program stored on memory, realizes the journey for being applied to code administration server Sequence generation method, this method include:
Obtain development task information;
The development task information is divided according to default division rule, obtains multiple subtask information;
Code of the developer based on the subtask message composition is received, the corresponding journey of the subtask information is generated Sequence.
During the present invention is implemented, electronic equipment obtains development task information, according to default division rule to exploitation mission bit stream It is divided, obtains multiple subtask information, receive code of the developer based on subtask message composition, generate subtask letter Cease corresponding program.In the present invention, after obtaining development task information, exploitation is appointed by way of according to default division rule Business information is divided, and artificial division is avoided, and is shortened and is divided the period, so that the son that developer obtains itself faster is appointed Then information of being engaged in receives generation of the developer based on subtask message composition so that the time that developer starts exploitation is more early Code generates the corresponding program of subtask information, shortens the development cycle.
It is described that the development task information is drawn according to default division rule in a kind of implementation of the invention The step of dividing, obtaining multiple subtask information, may include:
Obtain pre-arranged code Schema information;
Determine the encoded hierarchy that the pre-arranged code Schema information includes;
Based on the encoded hierarchy, the development task information is divided, obtains multiple subtask information, wherein The corresponding sub- mission bit stream of one encoded hierarchy.
It is described that the development task information is drawn according to default division rule in a kind of implementation of the invention The step of dividing, obtaining multiple subtask information, may include:
Determine the corresponding type of service of the development task information;
Based on the type of service, the development task information is divided, obtains multiple subtask information.
It is described to be based on the type of service in a kind of implementation of the invention, the development task information is carried out It divides, the step of obtaining multiple subtask information, may include:
In the case where type of service belongs to single type of service, the corresponding sub- mission bit stream of the type of service is determined;
In the case where type of service belongs to multi-service type, the corresponding sub- mission bit stream of the type of service is determined, or Person determines that each type of service that the type of service includes respectively corresponds a sub- mission bit stream, wherein the multi-service type Have at least two for type of service.
It is described that the development task information is drawn according to default division rule in a kind of implementation of the invention The step of dividing, obtaining multiple subtask information, may include:
Obtain pre-arranged code Schema information;
Determine the encoded hierarchy that the pre-arranged code Schema information includes;
Based on the encoded hierarchy, the development task information is divided, obtains multiple goal task information, In, the corresponding goal task information of an encoded hierarchy;
Determine the corresponding type of service of each goal task information;
Based on identified type of service, each goal task information is divided, obtains multiple subtask information.
In a kind of implementation of the invention, the generation program the step of after, the method can also include:
It receives packing assignment instructions and determines packing assignment instructions institute from the corresponding program of the subtask information The program to be packaged is sent to packaged service device by the program to be packaged for including so that the packaged service device to it is described to It is packaged program and carries out packing deployment.
The memory that above-mentioned electronic equipment is mentioned may include random access memory (Random Access Memory, It RAM), also may include nonvolatile memory (Non-Volatile Memory, NVM), for example, at least a disk storage Device.Optionally, memory can also be that at least one is located remotely from the storage device of aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
The embodiment of the present invention also provides a kind of computer readable storage medium, storage in the computer readable storage medium There is computer program, the Program Generating side for being applied to code administration server is realized when the computer program is executed by processor Method, this method include:
Obtain development task information;
The development task information is divided according to default division rule, obtains multiple subtask information;
Code of the developer based on the subtask message composition is received, the corresponding journey of the subtask information is generated Sequence.
During the present invention is implemented, development task information is obtained when computer program is executed by processor, and is advised according to default division Then exploitation mission bit stream is divided, obtains multiple subtask information, receives developer based on subtask message composition Code generates the corresponding program of subtask information.In the present invention, after obtaining development task information, by according to default division Rule mode to exploitation mission bit stream divide, avoid artificial division, shorten divide the period so that developer compared with Then the fast subtask information for obtaining itself receives developer and is based on so that the time that developer starts exploitation is more early The code of subtask message composition generates the corresponding program of subtask information, shortens the development cycle.
It is described that the development task information is drawn according to default division rule in a kind of implementation of the invention The step of dividing, obtaining multiple subtask information, may include:
Obtain pre-arranged code Schema information;
Determine the encoded hierarchy that the pre-arranged code Schema information includes;
Based on the encoded hierarchy, the development task information is divided, obtains multiple subtask information, wherein The corresponding sub- mission bit stream of one encoded hierarchy.
It is described that the development task information is drawn according to default division rule in a kind of implementation of the invention The step of dividing, obtaining multiple subtask information, may include:
Determine the corresponding type of service of the development task information;
Based on the type of service, the development task information is divided, obtains multiple subtask information.
It is described to be based on the type of service in a kind of implementation of the invention, the development task information is carried out It divides, the step of obtaining multiple subtask information, may include:
In the case where type of service belongs to single type of service, the corresponding sub- mission bit stream of the type of service is determined;
In the case where type of service belongs to multi-service type, the corresponding sub- mission bit stream of the type of service is determined, or Person determines that each type of service that the type of service includes respectively corresponds a sub- mission bit stream, wherein the multi-service type Have at least two for type of service.
It is described that the development task information is drawn according to default division rule in a kind of implementation of the invention The step of dividing, obtaining multiple subtask information, may include:
Obtain pre-arranged code Schema information;
Determine the encoded hierarchy that the pre-arranged code Schema information includes;
Based on the encoded hierarchy, the development task information is divided, obtains multiple goal task information, In, the corresponding goal task information of an encoded hierarchy;
Determine the corresponding type of service of each goal task information;
Based on identified type of service, each goal task information is divided, obtains multiple subtask information.
In a kind of implementation of the invention, the generation program the step of after, the method can also include:
It receives packing assignment instructions and determines packing assignment instructions institute from the corresponding program of the subtask information The program to be packaged is sent to packaged service device by the program to be packaged for including so that the packaged service device to it is described to It is packaged program and carries out packing deployment.
Fig. 8 is the structural schematic diagram that program provided in an embodiment of the present invention is packaged deployment system, which includes dematron Manage server 801 and packaged service device 802, wherein
The code administration server 801, for obtaining development task information, according to default division rule to the exploitation Mission bit stream is divided, and multiple subtask information are obtained, and receives code of the developer based on the subtask message composition, The corresponding program of the subtask information is generated, receives and is packaged assignment instructions, from the corresponding program of the subtask information, really The fixed program to be packaged for being packaged assignment instructions and being included, is sent to packaged service device 802 for the program to be packaged;
The packaged service device 802 carries out packing portion to the program to be packaged for receiving the program to be packaged Administration.
During the present invention is implemented, code administration server obtains development task information, appoints according to default division rule to exploitation Business information is divided, and multiple subtask information are obtained, and receives code of the developer based on subtask message composition, generates son The corresponding program of mission bit stream receives and is packaged assignment instructions, from the corresponding program of subtask information, determines and is packaged assignment instructions Program to be packaged is sent to packaged service device by the program to be packaged for being included, and packaged service device is treated packing program and beaten Packet deployment.In the present invention, code administration server is after obtaining development task information, by way of according to default division rule Exploitation mission bit stream is divided, artificial division is avoided, shortens and divides the period, so that developer obtains certainly faster Then the subtask information of body receives developer and is based on subtask information so that the time that developer starts exploitation is more early The code write generates the corresponding program of subtask information, shortens the development cycle.And when receiving packing assignment instructions, The program to be packaged that assignment instructions are included will be packaged and be sent to packaged service device so that packaged service device treat be packaged program into Row is packaged deployment.
In an embodiment of the invention, the code administration server can be specifically used for:
Obtain pre-arranged code Schema information;
Determine the encoded hierarchy that the pre-arranged code Schema information includes;
Based on the encoded hierarchy, the development task information is divided, obtains multiple subtask information, wherein The corresponding sub- mission bit stream of one encoded hierarchy.
In an embodiment of the invention, the code administration server can be specifically used for:
Determine the corresponding type of service of the development task information;
Based on the type of service, the development task information is divided, obtains multiple subtask information.
In an embodiment of the invention, the code administration server can be specifically used for:
In the case where type of service belongs to single type of service, the corresponding sub- mission bit stream of the type of service is determined;
In the case where type of service belongs to multi-service type, the corresponding sub- mission bit stream of the type of service is determined, or Person determines that each type of service that the type of service includes respectively corresponds a sub- mission bit stream, wherein the multi-service type Have at least two for type of service.
In an embodiment of the invention, the code administration server can be specifically used for:
Obtain pre-arranged code Schema information;
Determine the encoded hierarchy that the pre-arranged code Schema information includes;
Based on the encoded hierarchy, the development task information is divided, obtains multiple goal task information, In, the corresponding goal task information of an encoded hierarchy;
Determine the corresponding type of service of each goal task information;
Based on identified type of service, each goal task information is divided, obtains multiple subtask information.
It in an embodiment of the invention, can also include testing service device;
The packaged service device 802, specifically for receiving the program to be packaged, based on default packetization rules, to described The code of program to be packaged is packaged to obtain program bag to be tested, and the program bag to be tested is deployed to testing service device;
The testing service device tests the program to be tested for receiving the program to be tested.
In an embodiment of the invention, the packaged service device 802 is also used to by the program bag to be tested It is deployed to after testing service device, the corresponding page text of the task to be packaged for receiving that the code administration server sends The page file is deployed to the testing service device by part;
The testing service device, is also used to receive the page file, tests the page file.
In an embodiment of the invention, the packaged service device 802, specifically for determining the program to be packaged Type of service;
In the case where the type of service of the program to be packaged is single type of service, by the generation of the program to be packaged Code carries out whole be packaged and obtains program bag to be tested;
In the case where the type of service of the program to be packaged is multi-service type, by the code of the program to be packaged It carries out whole be packaged and obtains target program packet, the type of service for the business for including based on the program to be packaged is to the target journey Sequence packet is unpacked to obtain program bag to be tested, alternatively, the attribute information for the business for including based on the program to be packaged is to institute Target program packet is stated to be unpacked to obtain program bag to be tested.
In an embodiment of the invention, the packaged service device 802, specifically for determining the program to be packaged Including each business type of service, by the code of the business of type of service same in target program packet be split as one it is to be measured Try program bag.
In an embodiment of the invention, the packaged service device 802, specifically for determining the program to be packaged Including business attribute information, be based on the attribute information, determine the correlation between each business, will be in target program packet The code that correlation is greater than the business of preset threshold is split as a program bag to be tested.
It in an embodiment of the invention, further include code library;
The packaged service device 802, be also used to obtain it is described corresponding after the code for being packaged program wait be packaged task, The code of the program to be packaged is sent to the code library;
The code library stores the code of the program to be packaged for receiving the code of the program to be packaged.
There is dependence between the code developed by developer, that is to say, that a certain developer is opened The code of hair, other developers may need to obtain the code, and be developed on the basis of the code, therefore, be packaged Server is obtaining corresponding after the code for being packaged program wait be packaged task, the code of program to be packaged can be sent to generation Code library, code library receive the code of program to be packaged, store the code of program to be packaged.Wherein, code library mentioned here Exactly rely on library.
As a result, in such a way that the code of program to be packaged is sent to code library, provided for exploitation use next time Code base.
In an embodiment of the invention, the code administration server is equipped with version management SVN system.
In an embodiment of the invention, the testing service device is multiple;
The packaged service device 802, specifically for determining the corresponding objective function of the program to be packaged, according to function with The default corresponding relationship of testing service device determines the corresponding testing service device of the objective function, by the program bag to be tested It is deployed to the corresponding testing service device of the objective function.
In an embodiment of the invention, the testing service device includes multiple testing service device clusters;
The packaged service device is specifically used for determining the corresponding objective function of the program bag to be tested, according to function with The default corresponding relationship of testing service device cluster determines the corresponding testing service device cluster of the objective function, will be described to be measured Examination program bag is deployed to the corresponding testing service device cluster of the objective function.
It in an embodiment of the invention, further include publisher server;
The packaged service device, is also used to after packing obtains program bag to be tested, and the program bag to be tested is sent To the publisher server;
The publisher server carries out production department to the program bag to be tested for receiving the program bag to be tested Administration.
In order to program bag is online, publisher server is additionally provided in the embodiment of the present invention, only due to developer sometimes It is not need to be tested, the purpose that can achieve Quick thread and quickly apply for the small change done compared with minor issue, this When, packaged service device, can be without test, directly after treating the code for being packaged program and being packaged to obtain program bag to be tested It connects and program bag to be tested is sent to publisher server, publisher server is receiving program bag to be tested, can be to be tested Program bag carries out production deployment.
This mode for not carrying out production deployment directly after tested, due to can achieve the purpose of Quick thread, can To be suitable for small application scene or to the higher environment of stability tolerance, such as:Intra-company's system.
Such as:Assuming that the code that packaged service device treats packing program is packaged to obtain program bag to be tested to be program bag A, then program bag A is sent to publisher server, publisher server receives journey after packing obtains program bag A by packaged service device Sequence packet A carries out production deployment to program bag A.
Packaged service device can be after packing obtains program bag to be tested, not after tested, directly by program to be tested as a result, Packet is sent to publisher server, to achieve the purpose that Quick thread and quickly apply.
It in an embodiment of the invention, further include publisher server;
The testing service device, the program bag for being also used to be successfully tested are deployed to the publisher server;
The publisher server, for receiving the program bag being successfully tested, and to the program bag being successfully tested Carry out production deployment.
In order to program bag is online, publisher server is additionally provided in the embodiment of the present invention, due to the journey that will be successfully tested Sequence packet is issued, it is possible to reduce the probability that program goes wrong, therefore, packaged service device treat be packaged program code into After row packing obtains program bag to be tested, program bag to be tested is sent to testing service device by packaged service device.
Testing service device is treated test program package and is tested, generate for program bag to be tested test index as a result, The test index result of generation is compared with the standard results that are successfully tested formulated according to project demands, if test index As a result be successfully tested standard results and meet, illustrate that test index result meets the requirement of project, be successfully tested at this time, determining should Program bag to be tested is the program bag being successfully tested, and the program bag that this is successfully tested by testing service device is sent to issuing service Device, publisher server receives the program bag being successfully tested, and carries out production deployment to the program bag being successfully tested, to update It is online.
If test index result is not met with standard results are successfully tested, illustrate test index result Non-Compliance purpose It is required that test crash at this time, then no longer carry out production deployment for the program bag of the test crash.
Such as:Assuming that the code that packaged service device treats packing program is packaged to obtain program bag to be tested to be program bag A, then program bag A is sent to testing service device after packing obtains program bag A by packaged service device;
Testing service device receives program bag A, tests program bag A, generates the test index knot for being directed to program bag A Fruit compares the test index result of generation with the standard results that are successfully tested formulated according to project demands;
Assuming that test index result meets with standard results are successfully tested, determine that program bag A is the program bag being successfully tested, The program bag A being successfully tested is sent to publisher server by testing service device;
Publisher server receives the program bag A being successfully tested, and carries out production deployment to the program bag A being successfully tested.
Server to be tested can be sent to test after packing obtains program bag to be tested by packaged service device as a result, The program bag being successfully tested is sent to publisher server by server, testing service device, ensure that the online stability of program.
Since when product is issued, publisher server needs for product to be distributed to multiple platforms, if publisher server is One, then the publisher server needs to be responsible for that product is distributed to all platforms, so that the load of the publisher server is larger, Treatment effeciency is lower, and therefore, in order to improve treatment effeciency, it is multiple that publisher server, which can be set,.
It is as a result, multiple modes by setting publisher server, improves processing speed.
In order to preferably understand the embodiment of the present invention, it is introduced below by a specific embodiment:
Such as:As shown in figure 9, it includes packaged service device 901, testing service device 902, task pipe that program, which is packaged deployment system, Manage server 903, code administration server 904, code library 905, publisher server 906 and database 907;
Deployment system is packaged by above procedure and carries out packing deployment, and test is disposed and the process of production deployment is:
1, multiple developers download from code library 905 relies on code, and code library is to place other developers to have opened The database of the source code of hair relies on code by the code that stores in code library;
2, multiple developers are compiled jointly based on project demands and task distribution and the dependence code downloaded Code, and the code for writing completion jointly is committed to code administration server 904, generate task;
3, demand of the administrative staff based on exploration project determines task to be packaged from task, sends management instruction and extremely appoints Business management server 903, task management server 903 receive the management instruction of administrative staff, generate mission number to be packaged, In, task to be packaged is carried in management instruction.
4, administrative staff send assignment instructions to packaged service device 901;
5, after packaged service device 901 receives the assignment instructions, assignment instructions is obtained from task management server 903 and are wrapped The mission number to be packaged contained shows mission number to be packaged at packing deployment interface wait be packaged in taskbar.
6, packaged service device 901 obtains the corresponding journey to be packaged of mission number to be packaged from code administration server 904 The code of sequence, based on default packetization rules, the code for treating packing program is packaged to obtain program bag to be tested;
7, program bag to be tested is deployed to testing service device 902, testing service device 902 is treated test program package and surveyed Examination generates the test index for program bag to be tested as a result, the test index result of generation is formulated with according to project demands The standard results that are successfully tested compare, if test index result meets with standard results are successfully tested, be successfully tested, really The fixed program bag to be tested is the program bag being successfully tested, if test index result is not met with standard results are successfully tested, The program bag of the test crash is then no longer carried out production deployment by test crash;
8, the code of program to be packaged is sent to code library 905 by packaged service device 901, and code library 905 is stored wait be packaged The code of program.
9, the record of packaged service device 901 includes that the compiling of the execution date, operational staff, executive condition of task to be packaged are beaten To database 907, database 907 stores the information and program to be tested that compiling is packaged for the information of packet and program bag to be tested Packet, wherein the information for compiling packing can be with logged;
10, the program bag being successfully tested is deployed to publisher server 906 by testing service device 902, and publisher server 906 connects The successful program bag of Acceptance Tests carries out production deployment to the program bag being successfully tested.
11, user access it is online after application.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (30)

1. a kind of program creating method, which is characterized in that it is applied to code administration server, the method includes:
Obtain development task information;
The development task information is divided according to default division rule, obtains multiple subtask information;
Code of the developer based on the subtask message composition is received, the corresponding program of the subtask information is generated.
2. the method according to claim 1, wherein described believe the development task according to default division rule The step of breath is divided, obtains multiple subtask information, including:
Obtain pre-arranged code Schema information;
Determine the encoded hierarchy that the pre-arranged code Schema information includes;
Based on the encoded hierarchy, the development task information is divided, obtains multiple subtask information, wherein one Encoded hierarchy corresponds to a sub- mission bit stream.
3. the method according to claim 1, wherein described believe the development task according to default division rule The step of breath is divided, obtains multiple subtask information, including:
Determine the corresponding type of service of the development task information;
Based on the type of service, the development task information is divided, obtains multiple subtask information.
4. according to the method described in claim 3, it is characterized in that, described be based on the type of service, to the development task The step of information is divided, and multiple subtask information are obtained, including:
In the case where type of service belongs to single type of service, the corresponding sub- mission bit stream of the type of service is determined;
In the case where type of service belongs to multi-service type, the corresponding sub- mission bit stream of the type of service is determined, alternatively, really Each type of service that the fixed type of service includes respectively corresponds a sub- mission bit stream, wherein the multi-service type is industry Service type has at least two.
5. the method according to claim 1, wherein described believe the development task according to default division rule The step of breath is divided, obtains multiple subtask information, including:
Obtain pre-arranged code Schema information;
Determine the encoded hierarchy that the pre-arranged code Schema information includes;
Based on the encoded hierarchy, the development task information is divided, obtains multiple goal task information, wherein one The corresponding goal task information of a encoded hierarchy;
Determine the corresponding type of service of each goal task information;
Based on identified type of service, each goal task information is divided, obtains multiple subtask information.
6. the method according to claim 1, wherein in the corresponding program of the generation subtask information After step, the method also includes:
It receives packing assignment instructions and determines that the packing assignment instructions are included from the corresponding program of the subtask information Program to be packaged, the program to be packaged is sent to packaged service device, so that the packaged service device is to described wait be packaged Program carries out packing deployment.
7. a kind of program creating device, which is characterized in that be applied to code administration server, described device includes:
Module is obtained, for obtaining development task information;
Division module obtains multiple subtask letters for dividing according to default division rule to the development task information Breath;
Receiving module generates the subtask information for receiving code of the developer based on the subtask message composition Corresponding program.
8. device according to claim 7, which is characterized in that the division module, including:
First pre-arranged code Schema information obtaining unit, for obtaining pre-arranged code Schema information;
First encoded hierarchy determination unit, the encoded hierarchy for including for determining the pre-arranged code Schema information;
First division unit divides the development task information, obtains multiple sons and appoint for being based on the encoded hierarchy Business information, wherein the corresponding sub- mission bit stream of an encoded hierarchy.
9. device according to claim 7, which is characterized in that the division module, including:
First type of service determination unit, for determining the corresponding type of service of the development task information;
Second division unit divides the development task information, obtains multiple sons and appoint for being based on the type of service Business information.
10. device according to claim 9, which is characterized in that second division unit is specifically used for:
In the case where type of service belongs to single type of service, the corresponding sub- mission bit stream of the type of service is determined;
In the case where type of service belongs to multi-service type, the corresponding sub- mission bit stream of the type of service is determined, alternatively, really Each type of service that the fixed type of service includes respectively corresponds a sub- mission bit stream, wherein the multi-service type is industry Service type has at least two.
11. device according to claim 7, which is characterized in that the division module, including:
Second pre-arranged code Schema information obtaining unit, for obtaining pre-arranged code Schema information;
Second encoded hierarchy determination unit, the encoded hierarchy for including for determining the pre-arranged code Schema information;
Third division unit divides the development task information, obtains multiple targets for being based on the encoded hierarchy Mission bit stream, wherein the corresponding goal task information of an encoded hierarchy;
Second type of service determination unit, for determining the corresponding type of service of each goal task information;
4th division unit, for dividing, obtaining multiple to each goal task information based on identified type of service Subtask information.
12. device according to claim 7, which is characterized in that described device further includes:
Command reception module is packaged assignment instructions for receiving after the generation program, corresponding from the subtask information In program, determines the program to be packaged that the packing assignment instructions are included, the program to be packaged is sent to packaged service Device, so that the packaged service device carries out packing deployment to the program to be packaged.
13. a kind of electronic equipment, which is characterized in that including processor and memory;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method and step of claim 1-6.
14. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium Program realizes claim 1-6 any method and step when the computer program is executed by processor.
15. a kind of program is packaged deployment system, which is characterized in that including code administration server and packaged service device;
The code administration server believes the development task according to default division rule for obtaining development task information Breath is divided, and multiple subtask information are obtained, and receives code of the developer based on the subtask message composition, generates institute The corresponding program of subtask information is stated, receives and is packaged assignment instructions, from the corresponding program of the subtask information, described in determination It is packaged the program to be packaged that assignment instructions are included, the program to be packaged is sent to packaged service device;
The packaged service device carries out packing deployment to the program to be packaged for receiving the program to be packaged.
16. program according to claim 15 is packaged deployment system, which is characterized in that the code administration services implement body For:
Obtain pre-arranged code Schema information;
Determine the encoded hierarchy that the pre-arranged code Schema information includes;
Based on the encoded hierarchy, the development task information is divided, obtains multiple subtask information, wherein one Encoded hierarchy corresponds to a sub- mission bit stream.
17. program according to claim 15 is packaged deployment system, which is characterized in that the code administration services implement body For:
Determine the corresponding type of service of the development task information;
Based on the type of service, the development task information is divided, obtains multiple subtask information.
18. program according to claim 17 is packaged deployment system, which is characterized in that the code administration services implement body For:
In the case where type of service belongs to single type of service, the corresponding sub- mission bit stream of the type of service is determined;
In the case where type of service belongs to multi-service type, the corresponding sub- mission bit stream of the type of service is determined, alternatively, really Each type of service that the fixed type of service includes respectively corresponds a sub- mission bit stream, wherein the multi-service type is industry Service type has at least two.
19. program according to claim 15 is packaged deployment system, which is characterized in that the code administration services implement body For:
Obtain pre-arranged code Schema information;
Determine the encoded hierarchy that the pre-arranged code Schema information includes;
Based on the encoded hierarchy, the development task information is divided, obtains multiple goal task information, wherein one The corresponding goal task information of a encoded hierarchy;
Determine the corresponding type of service of each goal task information;
Based on identified type of service, each goal task information is divided, obtains multiple subtask information.
20. program according to claim 15 is packaged deployment system, which is characterized in that further include testing service device;
The packaged service device, specifically for receiving the program to be packaged, based on default packetization rules, to the journey to be packaged The code of sequence is packaged to obtain program bag to be tested, and the program bag to be tested is deployed to testing service device;
The testing service device tests the program to be tested for receiving the program to be tested.
21. program according to claim 20 is packaged deployment system, which is characterized in that the packaged service device is also used to After the program bag to be tested is deployed to testing service device, the described wait beat of the code administration server transmission is received The page file is deployed to the testing service device by the corresponding page file of packet task;
The testing service device, is also used to receive the page file, tests the page file.
22. program according to claim 20 is packaged deployment system, which is characterized in that the packaged service device, it is specific to use In the type of service for determining the program to be packaged;
The type of service of the program to be packaged be single type of service in the case where, by the code of the program to be packaged into Whole be packaged of row obtains program bag to be tested;
In the case where the type of service of the program to be packaged is multi-service type, the code of the program to be packaged is carried out Whole be packaged obtains target program packet, and the type of service for the business for including based on the program to be packaged is to the target program packet It is unpacked to obtain program bag to be tested, alternatively, the attribute information for the business for including based on the program to be packaged is to the mesh Mark program bag is unpacked to obtain program bag to be tested.
23. program according to claim 23 is packaged deployment system, which is characterized in that the packaged service device, it is specific to use The type of service for each business that the program to be packaged described in determining includes, by the business of type of service same in target program packet Code be split as a program bag to be tested.
24. program according to claim 23 is packaged deployment system, which is characterized in that the packaged service device, it is specific to use The attribute information for the business that the program to be packaged described in determining includes is based on the attribute information, determines between each business The code that correlation in target program packet is greater than the business of preset threshold is split as a program bag to be tested by correlation.
25. program according to claim 20 is packaged deployment system, which is characterized in that further include code library;
The packaged service device, be also used to obtain it is described corresponding after the code for being packaged program wait be packaged task, will be described The code of program to be packaged is sent to the code library;
The code library stores the code of the program to be packaged for receiving the code of the program to be packaged.
26. program according to claim 15 is packaged deployment system, which is characterized in that the code administration server installation There is version management SVN system.
27. program according to claim 20 is packaged deployment system, which is characterized in that the testing service device is multiple;
The packaged service device takes specifically for determining the corresponding objective function of the program to be packaged according to function and test The default corresponding relationship of business device, determines the corresponding testing service device of the objective function, the program bag to be tested is deployed to The corresponding testing service device of the objective function.
28. program according to claim 20 is packaged deployment system, which is characterized in that the testing service device includes multiple Testing service device cluster;
The packaged service device is specifically used for determining the corresponding objective function of the program bag to be tested, according to function and test The default corresponding relationship of server cluster determines the corresponding testing service device cluster of the objective function, by the journey to be tested Sequence packet is deployed to the corresponding testing service device cluster of the objective function.
29. program according to claim 20 is packaged deployment system, which is characterized in that further include publisher server;
The testing service device, the program bag for being also used to be successfully tested are deployed to the publisher server;
The publisher server is carried out for receiving the program bag being successfully tested, and to the program bag being successfully tested Production deployment.
30. program according to claim 20 is packaged deployment system, which is characterized in that further include publisher server;
The packaged service device, is also used to after packing obtains program bag to be tested, and the program bag to be tested is sent to institute State publisher server;
The publisher server carries out production deployment to the program bag to be tested for receiving the program bag to be tested.
CN201810712583.9A 2018-06-29 2018-06-29 Program generation method, device and system, electronic equipment and storage medium Active CN108920139B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810712583.9A CN108920139B (en) 2018-06-29 2018-06-29 Program generation method, device and system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810712583.9A CN108920139B (en) 2018-06-29 2018-06-29 Program generation method, device and system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108920139A true CN108920139A (en) 2018-11-30
CN108920139B CN108920139B (en) 2023-02-07

Family

ID=64424533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810712583.9A Active CN108920139B (en) 2018-06-29 2018-06-29 Program generation method, device and system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108920139B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109800965A (en) * 2018-12-28 2019-05-24 广州亚信技术有限公司 Traffic flow processing method, device, computer equipment and storage medium
CN110795143A (en) * 2019-10-22 2020-02-14 中国工商银行股份有限公司 Method, apparatus, computing device, and medium for processing functional module
CN111026371A (en) * 2019-12-11 2020-04-17 上海米哈游网络科技股份有限公司 Game development method and device, electronic equipment and storage medium
CN111506315A (en) * 2019-01-31 2020-08-07 广州数控网络科技有限公司 Code deployment method for flexible digital control and digital control platform
CN112000316A (en) * 2020-08-25 2020-11-27 橙色云设计有限公司 Full-factor open type collaborative research and development system and method
CN113778842A (en) * 2020-08-25 2021-12-10 北京沃东天骏信息技术有限公司 Fault-tolerant test method and device, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060026655A1 (en) * 2004-07-30 2006-02-02 Perez Milton D System and method for managing, converting and displaying video content on a video-on-demand platform, including ads used for drill-down navigation and consumer-generated classified ads
CN104331294A (en) * 2014-11-05 2015-02-04 中国建设银行股份有限公司 Visual program generation method and device
CN105426197A (en) * 2015-12-30 2016-03-23 北京迪创伟业科技有限公司 Hierarchical design method for embedded product
CN105912461A (en) * 2016-04-05 2016-08-31 浪潮电子信息产业股份有限公司 Test method and system for software agility
CN106445556A (en) * 2016-10-18 2017-02-22 中国银行股份有限公司 Visualized code generation method and system thereof
CN107392766A (en) * 2017-07-25 2017-11-24 上海壹账通金融科技有限公司 Method for processing business, adapter and computer-readable recording medium
CN107748662A (en) * 2017-11-17 2018-03-02 深圳市泉眼网络科技有限公司 Application development method, terminal and computer-readable recording medium
CN107832042A (en) * 2017-11-16 2018-03-23 南京轩世琪源软件科技有限公司 One kind is based on embedded software development method
CN107943476A (en) * 2017-11-17 2018-04-20 南京轩世琪源软件科技有限公司 A kind of computer interlocking software development approach based on model-driven
CN107992291A (en) * 2017-11-16 2018-05-04 上海南潮信息科技有限公司 Ruff OS Internet of Things operating systems applied to built-in application program

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060026655A1 (en) * 2004-07-30 2006-02-02 Perez Milton D System and method for managing, converting and displaying video content on a video-on-demand platform, including ads used for drill-down navigation and consumer-generated classified ads
CN104331294A (en) * 2014-11-05 2015-02-04 中国建设银行股份有限公司 Visual program generation method and device
CN105426197A (en) * 2015-12-30 2016-03-23 北京迪创伟业科技有限公司 Hierarchical design method for embedded product
CN105912461A (en) * 2016-04-05 2016-08-31 浪潮电子信息产业股份有限公司 Test method and system for software agility
CN106445556A (en) * 2016-10-18 2017-02-22 中国银行股份有限公司 Visualized code generation method and system thereof
CN107392766A (en) * 2017-07-25 2017-11-24 上海壹账通金融科技有限公司 Method for processing business, adapter and computer-readable recording medium
CN107832042A (en) * 2017-11-16 2018-03-23 南京轩世琪源软件科技有限公司 One kind is based on embedded software development method
CN107992291A (en) * 2017-11-16 2018-05-04 上海南潮信息科技有限公司 Ruff OS Internet of Things operating systems applied to built-in application program
CN107748662A (en) * 2017-11-17 2018-03-02 深圳市泉眼网络科技有限公司 Application development method, terminal and computer-readable recording medium
CN107943476A (en) * 2017-11-17 2018-04-20 南京轩世琪源软件科技有限公司 A kind of computer interlocking software development approach based on model-driven

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YUEHUA DING 等: "A service-oriented exception handling method based on exception classification", 《PROCEEDINGS OF 2013 INTERNATIONAL CONFERENCE ON SENSOR NETWORK SECURITY TECHNOLOGY AND PRIVACY COMMUNICATION SYSTEM》 *
祝恩国 等: "用电信息采集***非结构化数据管理设计", 《电力***及其自动化学报》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109800965A (en) * 2018-12-28 2019-05-24 广州亚信技术有限公司 Traffic flow processing method, device, computer equipment and storage medium
CN109800965B (en) * 2018-12-28 2021-12-17 广州亚信技术有限公司 Process business processing method and device, computer equipment and storage medium
CN111506315A (en) * 2019-01-31 2020-08-07 广州数控网络科技有限公司 Code deployment method for flexible digital control and digital control platform
CN110795143A (en) * 2019-10-22 2020-02-14 中国工商银行股份有限公司 Method, apparatus, computing device, and medium for processing functional module
CN110795143B (en) * 2019-10-22 2023-11-07 中国工商银行股份有限公司 Method, apparatus, computing device, and medium for processing functional modules
CN111026371A (en) * 2019-12-11 2020-04-17 上海米哈游网络科技股份有限公司 Game development method and device, electronic equipment and storage medium
CN111026371B (en) * 2019-12-11 2023-09-29 上海米哈游网络科技股份有限公司 Game development method and device, electronic equipment and storage medium
CN112000316A (en) * 2020-08-25 2020-11-27 橙色云设计有限公司 Full-factor open type collaborative research and development system and method
CN113778842A (en) * 2020-08-25 2021-12-10 北京沃东天骏信息技术有限公司 Fault-tolerant test method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN108920139B (en) 2023-02-07

Similar Documents

Publication Publication Date Title
CN108920139A (en) A kind of program creating method, device, system, electronic equipment and storage medium
CN108897548A (en) Program bag production deployment method, apparatus, system, electronic equipment and storage medium
CN108897571A (en) Program is packaged dispositions method, device, system, electronic equipment and storage medium
Warneke et al. Nephele: efficient parallel data processing in the cloud
US7299382B2 (en) System and method for automatic test case generation
CN104520814B (en) System and method for configuring cloud computing systems
CN104541247B (en) System and method for adjusting cloud computing system
US6941546B2 (en) Method and apparatus for testing a software component using an abstraction matrix
CN108959086A (en) Program bag tests dispositions method, device, system, electronic equipment and storage medium
CN108415832A (en) Automatic interface testing method, device, equipment and storage medium
CN104298604B (en) Cloud service robustness testing system and method for testing
CN109656538A (en) Generation method, device, system, equipment and the medium of application program
US20170038919A1 (en) Event-driven data processing system
US20030097650A1 (en) Method and apparatus for testing software
CN107704395A (en) One kind is based on cloud platform automatic test implementation and system under Openstack
US20050223101A1 (en) Computer-implemented method, system and program product for resolving prerequisites for native applications utilizing an open service gateway initiative ( OSGi) framework
CN110532044A (en) A kind of big data batch processing method, device, electronic equipment and storage medium
Hudson et al. libEnsemble users manual
CN113946321A (en) Processing method of computing logic, electronic device and readable storage medium
CN108351766A (en) Slave mobile device creates and modification application
Goguen et al. Formal methods and social context in software development
Wang et al. MetaOJ: A massive distributed online judge system
CN108228197A (en) A kind of method and apparatus for installing software in the cluster
CN109885400A (en) Method and apparatus for sending instruction
CN112565369B (en) Intelligent contract implementation method, application service node, storage medium and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant