CN103279339A - Code on-line system and method - Google Patents
Code on-line system and method Download PDFInfo
- Publication number
- CN103279339A CN103279339A CN2013101406802A CN201310140680A CN103279339A CN 103279339 A CN103279339 A CN 103279339A CN 2013101406802 A CN2013101406802 A CN 2013101406802A CN 201310140680 A CN201310140680 A CN 201310140680A CN 103279339 A CN103279339 A CN 103279339A
- Authority
- CN
- China
- Prior art keywords
- task
- code
- standard grade
- server
- reach
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a code on-line system and method. The method comprises the steps that a former server generates task processing information of a code on-line task according to task attribute information of the code on-line task, and the former server stores the generated task processing information into a database server; the database server stores the task processing information of the code on-line task; a version control server stores code files which correspond to the code on-line task; a center control machine server obtains the code files to be on-line from the version control server according to the task processing information in the database server, and the center control machine server distributes the code files to be on-line to a service server, wherein the code files correspond to the code on-line task. By the adoption of the scheme, the code on-line efficiency is improved.
Description
Technical field
The present invention relates to code in the field of computer technology technical field of reaching the standard grade, relate in particular to a kind of code system and method for reaching the standard grade.
Background technology
Code is reached the standard grade and is referred to code file is uploaded to service server, in order at service server new business application is installed, perhaps upgrades existing business application at service server.
In actual applications, may move identical business application on a plurality of service servers, when upgrading at this business application, the identical code file need be uploaded to this a plurality of service servers respectively.
At this situation, adopting prior art to carry out code reaches the standard grade when handling, need artificial by ftp software or rsync propelling movement command mode, code file is uploaded to central server, manually use distribution command at central server again, respectively this code file is sent in each service server.
So, adopt the code of the prior art scheme of reaching the standard grade, need the technical professional to finish, the code file of reaching the standard grade when needs more for a long time, and when the service server that need reach the standard grade more for a long time, exist and easily make mistakes inefficient problem.
Summary of the invention
The embodiment of the invention provides a kind of code system and method for reaching the standard grade, in order to solve exist in the prior art carry out the efficient lower problem of code when reaching the standard grade.
The embodiment of the invention provides wire system on a kind of code, comprising: front-end server, database server, version control server and middle control machine server, wherein:
Described front-end server, be used for obtaining the reach the standard grade task attribute information of task of code, and generate the reach the standard grade task process information of task of described code according to described task attribute information, and the described task process information that will generate is saved in the described database server, and what described task process information comprised that described code reaches the standard grade the task correspondence waits to reach the standard grade the fileinfo of code file;
Described database server is used for the reach the standard grade task process information of task of storage code;
Described version control server is used for reach the standard grade each code file of task correspondence of storage code;
Control machine server in described, be used for obtaining described task process information from described database server, and wait to reach the standard grade the fileinfo of code file according to what the described code in the described task process information was reached the standard grade the task correspondence, from described version control server, obtain the described code code file to be reached the standard grade of task correspondence of reaching the standard grade, and the reach the standard grade code file to be reached the standard grade of task correspondence of the described code that will obtain is distributed to service server.
The embodiment of the invention also provides a kind of code loading method, comprising:
Front-end server obtains the reach the standard grade task attribute information of task of code, and generate the reach the standard grade task process information of task of described code according to described task attribute information, and the described task process information that will generate is saved in the described database server, what described task process information comprised that described code reaches the standard grade the task correspondence waits to reach the standard grade the fileinfo of code file, and reach the standard grade each code file of task correspondence of described code is stored in version control server;
Middle control machine server obtains described task process information from described database server, and wait to reach the standard grade the fileinfo of code file according to what the described code in the described task process information was reached the standard grade the task correspondence, from described version control server, obtain the described code code file to be reached the standard grade of task correspondence of reaching the standard grade, and the reach the standard grade code file to be reached the standard grade of task correspondence of the described code that will obtain is distributed to service server.
Beneficial effect of the present invention comprises:
In the scheme that the embodiment of the invention provides, carry out code when reaching the standard grade at needs, submission comprises reach the standard grade task and upload this code and reach the standard grade after each code file of task correspondence of the code of task attribute information, front-end server will generate the reach the standard grade task process information of task of this code according to this task attribute information, and this task process information that will generate is saved in the database server, and what the task process information comprised that this code reaches the standard grade the task correspondence waits to reach the standard grade the fileinfo of code file, stores reach the standard grade each code file of task correspondence of code in the version control server; Accordingly, middle control machine server obtains this task process information from database server, and wait to reach the standard grade the fileinfo of code file according to what this code in this task process information was reached the standard grade the task correspondence, from version control server, obtain this code code file to be reached the standard grade of task correspondence of reaching the standard grade, and the reach the standard grade code file to be reached the standard grade of task correspondence of this code that will obtain is distributed to service server.Thereby no longer need manually code file to be sent to service server, but by front-end server and middle control machine server by the run time version task of reaching the standard grade, automatically code file to be reached the standard grade is distributed to service server, thereby the batch processing of completion code file distributing has improved the efficient that code is reached the standard grade fast.
The application's further feature and advantage will be set forth in the following description, and, partly from instructions, become apparent, perhaps understand by implementing the application.The application's purpose and other advantages can realize and obtain by specifically noted structure in the instructions of writing, claims and accompanying drawing.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of instructions, is used from explanation the present invention with the embodiment of the invention one, is not construed as limiting the invention.In the accompanying drawings:
The structural representation of wire system on the code that Fig. 1 provides for the embodiment of the invention;
The process flow diagram of the code loading method that Fig. 2 provides for the embodiment of the invention.
Embodiment
Improve the implementation carry out the efficient that code reaches the standard grade in order to provide, the embodiment of the invention provides a kind of code system and method for reaching the standard grade, below in conjunction with Figure of description the preferred embodiments of the present invention are described, be to be understood that, preferred embodiment described herein only is used for description and interpretation the present invention, and is not used in restriction the present invention.And under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
The embodiment of the invention provides wire system on a kind of code, as shown in Figure 1, comprising: front-end server 11, database server 12, version control server 13 and middle control machine server 14, wherein:
Front-end server 11, be used for obtaining the reach the standard grade task attribute information of task of code, and generate the reach the standard grade task process information of task of this code according to this task attribute information, and this task process information that will generate is saved in the database server 12, and what this task process information comprised that this code reaches the standard grade the task correspondence waits to reach the standard grade the fileinfo of code file;
Middle control machine server 14, be used for obtaining this task process information from database server 12, and wait to reach the standard grade the fileinfo of code file according to what this code in this task process information was reached the standard grade the task correspondence, from version control server 13, obtain this code code file to be reached the standard grade of task correspondence of reaching the standard grade, and the reach the standard grade code file to be reached the standard grade of task correspondence of this code that will obtain is distributed to service server 15.
Wherein, the code task of reaching the standard grade can be submitted at front-end server 11 by the user, this code can also be reached the standard grade each code file of task correspondence of user uploads on the version control server 13 and stores, each code file of the task correspondence of also this code can being reached the standard grade uploads to front-end server 11, and by front-end server 11 reach the standard grade each code file of task correspondence of this code is saved in the version control server 13.
In control machine server 14 can the monitoring database server 12 in cycle in the reach the standard grade task process information of task of the code of storage, when the code of find to exist need handling is reached the standard grade task, namely trigger according to the reach the standard grade task process information of task of this code the reach the standard grade task of task of this code is handled.
In the embodiment of the invention, further, front-end server 11 specifically can send fileinfos to version control server 13 and obtain request when generating the task process information, and fileinfo obtains and carries the reach the standard grade fileinfo of each code file of task correspondence of this code in the request;
This document information that front-end server 11 these version control servers 13 of reception return is obtained response, and wait to reach the standard grade the fileinfo of code file with what this document information obtained that the fileinfo that carries in the response is defined as that this code reaches the standard grade the task correspondence, what the fileinfo that is about to this different code file was defined as that this code reaches the standard grade the task correspondence waits to reach the standard grade the fileinfo of code file.
Thereby when reach the standard grade each code file and the last code of task correspondence of this code reached the standard grade in corresponding each code file of task, when having identical code file, determine differential file, be that this code is reached the standard grade in each code file of task correspondence and the last code different code file of each corresponding code file of task of reaching the standard grade, and with this differential file as the reach the standard grade code file to be reached the standard grade of task correspondence of this code, make and follow-uply can namely only carry out the distribution of code file at this differential file, reach the standard grade in each code file of task correspondence and the last code identical code file of each corresponding code file of task of reaching the standard grade for this code, this code task of reaching the standard grade does not need to distribute again when handling, and then saved network transmission resource, and improved the efficient that code is reached the standard grade.
In the embodiment of the invention, when at known a plurality of service servers 15, carrying out code when needing will code file be reached the standard grade to be distributed to wherein partial service server 15 when reaching the standard grade, front-end server 11 can also be according to the reach the standard grade task attribute information of task of this code, determine the reach the standard grade server info of task corresponding service server 15 of this code, one of task process information of the task of reaching the standard grade as this code;
Accordingly, in control machine server 14 can be according to the reach the standard grade server info of task corresponding service server 15 of this code in this task process information, with the reach the standard grade code file to be reached the standard grade of task correspondence of this code that obtains, be distributed to this code task corresponding service server 15 of reaching the standard grade.
And work as at known a plurality of service servers 15, need to wait to reach the standard grade code file when reaching the standard grade when all being distributed to this a plurality of service server 15 carrying out code, then in the task process information that front-end server 11 generates, do not need to comprise the reach the standard grade server info of task corresponding service server 15 of this code.
In the embodiment of the invention, further, can also monitor the reach the standard grade task status of task of this code, be specifically as follows:
Front-end server 11 also generates the reach the standard grade task status information of task of this code when generating the task process information, one of described task process information of the task of reaching the standard grade as this code, and the task status information that generate this moment is unfinished state information;
Accordingly, middle control machine server 14 can also be after obtaining this task process information from database server 12, when the task status information in determining this task process information is unfinished state information, triggers this code task handling of reaching the standard grade; And reach the standard grade after the code file to be reached the standard grade of task correspondence is distributed to service server 15 at this code that will obtain, the task status information that this code of storage is reached the standard grade in the task process information of task in the change database server 12 is completion status information.
Further, front-end server 11 can also be worked as this code that monitors in the database server 12 storage and be reached the standard grade task status information in the task process information of task during for completion status information, points out this code task of reaching the standard grade to finish.
In the embodiment of the invention, further, front-end server 11 can also be in task handling process that this code is reached the standard grade, and generates and shows corresponding processing progress msg according to current completed processing operation, thereby make the user can understand this code task handling progress of reaching the standard grade in real time.For example, reach the standard grade after the task attribute information of task getting access to code, generate corresponding processing progress msg, reach the standard grade after the task process information of task generating this code, generate corresponding processing progress msg, and after generating different task process informations, can generate corresponding processing progress msg respectively.
In the embodiment of the invention, middle control machine server 14 is when handling the code task of reaching the standard grade according to the task process information, can be based on needs distributions wait to reach the standard grade each service server 15 of code file, a code task of reaching the standard grade is split into a plurality of codes subtask of reaching the standard grade, and by carrying out these a plurality of codes subtask of reaching the standard grade respectively, finish this code task handling of reaching the standard grade, specifically can be as follows:
In control machine server 14 wait to reach the standard grade after the code file what obtain from version control server 13 that this code reaches the standard grade the task correspondence, each service server 15 of distributing this code file of waiting to reach the standard grade at needs, set up and each service server 15 corresponding code subtask of reaching the standard grade respectively, by the run time version subtask of reaching the standard grade, this code file to be reached the standard grade is distributed to this code subtask corresponding service server 15 of reaching the standard grade.
In the embodiment of the invention, after this this code task of reaching the standard grade is finished dealing with, when needs this code is reached the standard grade and to carry out rollback and handle, when namely needing code file that partial code file with business application uses before reverting to, can finish in the following way:
When front-end server 11 is reached the standard grade each code file of task correspondence at before this this code the is reached the standard grade task completed code of need reaching the standard grade again, at this completed code task of reaching the standard grade, rebulid the fresh code task of reaching the standard grade, and this fresh code is reached the standard grade task according to carrying out task and handle with this this code identical task processing mode of task of reaching the standard grade.Namely be equivalent at this completed code task of reaching the standard grade, carried out corresponding task again and handled.
In the embodiment of the invention, on the version control server 13, can pass through operation code version management software SVN(Subversion), reach the standard grade each code file of task correspondence of storage code, and provide code file for middle control machine server 14, for example, middle control machine server 14 obtains code file by the SVN order from version control server 13, and the memory address of code file on version control server 13 is specifically as follows the SVN address.
Based on same inventive concept, wire system on the code that provides according to the above embodiment of the present invention, correspondingly, another embodiment of the present invention also provides a kind of code loading method, as shown in Figure 2, specifically comprises following treatment step:
Each code file of task correspondence of reaching the standard grade step 201, the code that will need to handle stores in the version control server.
In this step, specifically can reach the standard grade each code file of task correspondence of this code be uploaded on the version control server and stores by the user, each code file of the task correspondence of also this code can being reached the standard grade uploads to front-end server, and by front-end server reach the standard grade each code file of task correspondence of this code is saved in the version control server.
Wherein, reach the standard grade each code file of task correspondence of code can be to be present in this code to reach the standard grade in the file bag of task correspondence.
Step 202, front-end server obtain the reach the standard grade task attribute information of task of code that the user submits to.
When the user submits to code to reach the standard grade task at front-end server, can submit the reach the standard grade task attribute information of task of this code simultaneously to, task attribute information can comprise the reach the standard grade fileinfo of each code file of task correspondence of this code, follow-up can be with this each code file all as the reach the standard grade code file to be reached the standard grade of task correspondence of this code, also can from this each code file, select the part code file according to preset strategy, as the reach the standard grade code file to be reached the standard grade of task correspondence of this code.Wherein, the fileinfo of each code file can be the file name information of each code file, also can be the storage address information of each code file on version control server, needs this moment in advance each code file to be stored in the version control server.
Task attribute information can also comprise the reach the standard grade server info of task corresponding service server of this code; And when operation on service server during a plurality of business application, can also comprise the reach the standard grade application message of task corresponding service application of this code; And can also comprise the reach the standard grade functional description information of task correspondence of this code, the descriptor of the function that increases for business application after namely this code is reached the standard grade and finished.
Reach the standard grade the fileinfo of each code file of task correspondence when not being the storage address information of each code file on version control server when code, and this step does not have strict sequencing with above-mentioned steps 201.
Step 203, front-end server be according to the reach the standard grade task attribute information of task of this code that obtains, and generates the reach the standard grade task process information of task of this code.
What wherein, the task process information comprised that this code reaches the standard grade the task correspondence waits to reach the standard grade the fileinfo of code file; Further, the task process information can also comprise: the reach the standard grade task status information of task of the reach the standard grade server info of task corresponding service server of this code, this code, this task status information is unfinished state information in this step.
In the embodiment of the invention, the reach the standard grade code file to be reached the standard grade of task correspondence of this code, can be reach the standard grade each code file of task correspondence of this code, also can determine this code reaches the standard grade in each code file of task correspondence and the last code different code file of each corresponding code file of task of reaching the standard grade, the code file that this is different is as the reach the standard grade code file to be reached the standard grade of task correspondence of this code, and what then the fileinfo of this different code file was that this code reaches the standard grade the task correspondence waits to reach the standard grade the fileinfo of code file.
At this moment, front-end server can send fileinfo to version control server and obtain request, and fileinfo obtains and carries this code reach the standard grade fileinfo of each code file of task correspondence of this code in the task attribute information of task of reaching the standard grade in the request;
Version control server is after receiving this document information acquisition request, according to the reach the standard grade fileinfo of each code file of task correspondence of this code that carries in this document information acquisition request, with the reach the standard grade fileinfo of each corresponding code file of task of the last code that obtains, determine that this code reaches the standard grade in each code file of task correspondence and the reach the standard grade fileinfo of the different code file of each corresponding code file of task of last code, and forward end server backspace file information obtains response, and fileinfo obtains the fileinfo that carries this different code file in the response;
Front-end server receives this document information that this version control server returns and obtains response, and wait to reach the standard grade the fileinfo of code file with what this document information obtained that the fileinfo that carries in the response is defined as that this code reaches the standard grade the task correspondence, what the fileinfo that is about to this different code file was defined as that this code reaches the standard grade the task correspondence waits to reach the standard grade the fileinfo of code file.
Step 204, front-end server are saved in the task process information that generates in the database server.
Further, also code can the be reached the standard grade part task attribute information of task of front-end server also is saved in the database server.
Various task process informations and task attribute information at relating in the above-mentioned steps 203 specifically can adopt the mode as following table 1 and table 2, the storage code task process information of task of reaching the standard grade in database server:
Table 1
In the above-mentioned table 1, the corresponding code of task ID task of reaching the standard grade, the code file of a task ID correspondence can comprise a plurality of code files, wherein, function information also can be respectively the functional description information corresponding with each code file.
Table 2
In the above-mentioned table 2, task ID can corresponding a plurality of code file ID that wait to reach the standard grade, the corresponding code file to be reached the standard grade of the code file ID that waits to reach the standard grade.
Wait in the fileinfo of code file and the table 2 in the above-mentioned table 1 the to reach the standard grade fileinfo of code file can be used for obtaining corresponding code file at version control server.
Step 205, middle control machine server obtain the task process information from database server.
In this step, in the reach the standard grade task status information of task of each code of storing in can the cycle monitoring database server of control machine server, be the code of unfinished state information when reaching the standard grade task when determining to exist task status information, trigger this code task handling of reaching the standard grade.
Step 206, middle control machine server be according to this code reach the standard grade fileinfo of code file for the treatment of in the task process information of task of reaching the standard grade, and obtains the reach the standard grade code file to be reached the standard grade of task correspondence of this code from version control server.
Step 207, middle control machine server are waited to reach the standard grade after the code file what obtain from version control server that this code reaches the standard grade the task correspondence, distribute each service server of this code file of waiting to reach the standard grade at needs, set up and each service server corresponding code subtask of reaching the standard grade respectively.
Concrete, the task process information of the subtask of each code of setting up can being reached the standard grade is saved in the database server, and is for example, as shown in table 3 below:
Table 3
Wherein, the code file to be reached the standard grade of table 3 neutron task ID correspondence is the code file to be reached the standard grade of the task ID correspondence under the ID of this subtask.
Step 208, main control computer server are carried out each subtask according to this code of storing in the database server reach the standard grade task process information of subtask of each code of task of reaching the standard grade, specifically can be as follows:
Be the code of the unfinished state information subtask of reaching the standard grade at task status information successively, with the reach the standard grade code file to be reached the standard grade of subtask correspondence of this code, be distributed to this code subtask corresponding service server of reaching the standard grade.
Step 209, reach the standard grade after the processing of subtask finishing a code, the reach the standard grade task status information of subtask of this code of storing in the database is changed to completion status information, when all codes that comprise at a code task of reaching the standard grade are reached the standard grade after the subtask all finishes dealing with, namely all codes of comprising of code task of reaching the standard grade are reached the standard grade the task status information of subtask when being completion status information, and the reach the standard grade task status information of task of this code of storing in the change database server is completion status information.
The code of storing in step 210, the front-end server cycle monitoring database server task status information in the task process information of task of reaching the standard grade when monitoring this task status information for completion status information, points out this code task of reaching the standard grade to finish.
Further, front-end server can also be in task handling process that this code is reached the standard grade, and generates and shows corresponding processing progress msg according to current completed processing operation, thereby make the user can understand this code task handling progress of reaching the standard grade in real time.For example, reach the standard grade after the task attribute information of task getting access to code, generate corresponding processing progress msg, reach the standard grade after the task process information of task generating this code, generate corresponding processing progress msg, and after generating different task process informations, can generate corresponding processing progress msg respectively.
The such scheme that adopts the embodiment of the invention to provide, no longer need manually code file to be sent to service server, the user only needs to submit to the code that the comprises task attribute information task of reaching the standard grade, and upload reach the standard grade each code file of task correspondence of this code, then by front-end server and middle control machine server by the run time version task of reaching the standard grade, automatically code file to be reached the standard grade is distributed to service server, thereby the batch processing of completion code file distributing has improved the efficient that code is reached the standard grade fast.
In sum, the scheme that the embodiment of the invention provides, comprise: front-end server obtains the reach the standard grade task attribute information of task of code, and generate the reach the standard grade task process information of task of this code according to this task attribute information, and this task process information that will generate is saved in the database server, and what this task process information comprised that this code reaches the standard grade the task correspondence waits to reach the standard grade the fileinfo of code file; The reach the standard grade task process information of task of this code of database server stores; Version control server is stored reach the standard grade each code file of task correspondence of this code; Middle control machine server obtains this task process information from database server, and wait to reach the standard grade the fileinfo of code file according to what this code in this task process information was reached the standard grade the task correspondence, from version control server, obtain this code code file to be reached the standard grade of task correspondence of reaching the standard grade, and the reach the standard grade code file to be reached the standard grade of task correspondence of this code that will obtain is distributed to service server.The scheme that adopts the embodiment of the invention to provide has improved the efficient that code is reached the standard grade.
The function of each server on the code that the application's embodiment provides in the wire system can realize by computer program.Those skilled in the art should be understood that; above-mentioned Module Division mode only is a kind of in numerous Module Division modes; if be divided into other modules or do not divide module, as long as each server in the wire system has above-mentioned functions on the code, all should be within the application's protection domain.
The application is that reference is described according to process flow diagram and/or the block scheme of method, equipment (system) and the computer program of the embodiment of the present application.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block scheme and/or square frame and process flow diagram and/or the block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computing machine or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded on computing machine or other programmable data processing device, make and carry out the sequence of operations step producing computer implemented processing at computing machine or other programmable devices, thereby be provided for being implemented in the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame in the instruction that computing machine or other programmable devices are carried out.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.
Claims (10)
1. wire system on the code is characterized in that, comprising: front-end server, database server, version control server and middle control machine server, wherein:
Described front-end server, be used for obtaining the reach the standard grade task attribute information of task of code, and generate the reach the standard grade task process information of task of described code according to described task attribute information, and the described task process information that will generate is saved in the described database server, and what described task process information comprised that described code reaches the standard grade the task correspondence waits to reach the standard grade the fileinfo of code file;
Described database server is used for the reach the standard grade task process information of task of storage code;
Described version control server is used for reach the standard grade each code file of task correspondence of storage code;
Control machine server in described, be used for obtaining described task process information from described database server, and wait to reach the standard grade the fileinfo of code file according to what the described code in the described task process information was reached the standard grade the task correspondence, from described version control server, obtain the described code code file to be reached the standard grade of task correspondence of reaching the standard grade, and the reach the standard grade code file to be reached the standard grade of task correspondence of the described code that will obtain is distributed to service server.
2. the system as claimed in claim 1, it is characterized in that, described front-end server concrete be used for sending fileinfo to described version control server and obtain request, and described fileinfo obtains and carries the reach the standard grade fileinfo of each code file of task correspondence of described code in the request; And receive the fileinfo that described version control server returns and obtain response, and wait to reach the standard grade the fileinfo of code file with what described fileinfo obtained that the fileinfo that carries in the response is defined as that described code reaches the standard grade the task correspondence;
Described version control server, also be used for receiving after described fileinfo obtains request, obtain the reach the standard grade fileinfo of each code file of task correspondence of the described code that carries in the request according to described fileinfo, with the reach the standard grade fileinfo of each corresponding code file of task of the last code that obtains, determine that described code reaches the standard grade in each code file of task correspondence and the reach the standard grade fileinfo of the different code file of each corresponding code file of task of described last code, and return described fileinfo to described front-end server and obtain response, described fileinfo obtains the fileinfo that carries described different code file in the response.
3. the system as claimed in claim 1, it is characterized in that, described front-end server, also be used for according to the reach the standard grade described task attribute information of task of described code, determine the reach the standard grade server info of task corresponding service server of described code, one of described task process information of the task of reaching the standard grade as described code;
Control machine server in described, concrete server info for the task corresponding service server of reaching the standard grade according to the described code of described task process information, with the reach the standard grade code file to be reached the standard grade of task correspondence of the described code that obtains, be distributed to the described code task corresponding service server of reaching the standard grade.
4. the system as claimed in claim 1, it is characterized in that described front-end server also be used for to generate the reach the standard grade task status information of task of described code, and described task status information is unfinished state information, one of described task process information of the task of reaching the standard grade as described code;
Control machine server in described also is used for after obtaining described task process information from described database server, when the task status information in determining described task process information is unfinished state information, triggers the described code task handling of reaching the standard grade; And reach the standard grade after the code file to be reached the standard grade of task correspondence is distributed to service server at the described code that will obtain, change the task status information that the described code of storing in the described database server reaches the standard grade in the task process information of task and be completion status information.
5. system as claimed in claim 4, it is characterized in that, described front-end server, also be used for reaching the standard grade task status information in the task process information of task during for completion status information when monitoring described code that described database server stores, point out the described code task of reaching the standard grade to finish.
6. system as claimed in claim 5 is characterized in that, described front-end server also is used in task handling process that described code is reached the standard grade, and generates and show the processing progress msg of correspondence according to current completed processing operation.
7. the system as claimed in claim 1, it is characterized in that, control machine server in described, concrete being used for waits to reach the standard grade after the code file what obtain from described version control server that described code reaches the standard grade the task correspondence, each service server at the described code file of waiting to reach the standard grade of needs distributions, set up and each service server corresponding code subtask of reaching the standard grade respectively, by the run time version subtask of reaching the standard grade, code file described to be reached the standard grade is distributed to this code subtask corresponding service server of reaching the standard grade.
8. the system as claimed in claim 1, it is characterized in that, described front-end server, also be used for when before described code the is reached the standard grade task completed code of need reaching the standard grade is again reached the standard grade each code file of task correspondence, at this completed code task of reaching the standard grade, rebulid the fresh code task of reaching the standard grade, and described fresh code is reached the standard grade task according to carrying out task and handle with the described code identical task processing mode of task of reaching the standard grade.
9. the system as claimed in claim 1, it is characterized in that, described front-end server also be used for to receive reach the standard grade each code file of task correspondence of described code that the user uploads, and reach the standard grade each code file of task correspondence of described code is saved in the described version control server; Perhaps
Described version control server also be used for to receive reach the standard grade each code file of task correspondence of described code that the user uploads.
10. a code loading method is characterized in that, comprising:
Front-end server obtains the reach the standard grade task attribute information of task of code, and generate the reach the standard grade task process information of task of described code according to described task attribute information, and the described task process information that will generate is saved in the described database server, what described task process information comprised that described code reaches the standard grade the task correspondence waits to reach the standard grade the fileinfo of code file, and reach the standard grade each code file of task correspondence of described code is stored in version control server;
Middle control machine server obtains described task process information from described database server, and wait to reach the standard grade the fileinfo of code file according to what the described code in the described task process information was reached the standard grade the task correspondence, from described version control server, obtain the described code code file to be reached the standard grade of task correspondence of reaching the standard grade, and the reach the standard grade code file to be reached the standard grade of task correspondence of the described code that will obtain is distributed to service server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310140680.2A CN103279339B (en) | 2013-04-22 | 2013-04-22 | A kind of code on-line system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310140680.2A CN103279339B (en) | 2013-04-22 | 2013-04-22 | A kind of code on-line system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103279339A true CN103279339A (en) | 2013-09-04 |
CN103279339B CN103279339B (en) | 2016-08-10 |
Family
ID=49061879
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310140680.2A Active CN103279339B (en) | 2013-04-22 | 2013-04-22 | A kind of code on-line system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103279339B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107896171A (en) * | 2017-11-14 | 2018-04-10 | 北京思特奇信息技术股份有限公司 | A kind of code on-line method of testing and system |
CN109271387A (en) * | 2018-09-28 | 2019-01-25 | 阿里巴巴集团控股有限公司 | A kind of regular dissemination method and device of database |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1997045786A1 (en) * | 1996-05-24 | 1997-12-04 | V-Cast, Inc. | Client-server system for delivery of on-line information |
EP0989713A2 (en) * | 1998-09-24 | 2000-03-29 | Siemens Aktiengesellschaft | Software update for webphones |
CN101477467A (en) * | 2008-12-08 | 2009-07-08 | 山东浪潮齐鲁软件产业股份有限公司 | Project code releasing method |
CN101764849A (en) * | 2010-01-19 | 2010-06-30 | 深圳市同洲电子股份有限公司 | Digital TV front-end server, method and device for establishing catalog organization structure |
CN102035892A (en) * | 2010-12-23 | 2011-04-27 | 中科方德软件有限公司 | System and method for automatically releasing operating system version and automatically updating software package |
-
2013
- 2013-04-22 CN CN201310140680.2A patent/CN103279339B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1997045786A1 (en) * | 1996-05-24 | 1997-12-04 | V-Cast, Inc. | Client-server system for delivery of on-line information |
EP0989713A2 (en) * | 1998-09-24 | 2000-03-29 | Siemens Aktiengesellschaft | Software update for webphones |
CN101477467A (en) * | 2008-12-08 | 2009-07-08 | 山东浪潮齐鲁软件产业股份有限公司 | Project code releasing method |
CN101764849A (en) * | 2010-01-19 | 2010-06-30 | 深圳市同洲电子股份有限公司 | Digital TV front-end server, method and device for establishing catalog organization structure |
CN102035892A (en) * | 2010-12-23 | 2011-04-27 | 中科方德软件有限公司 | System and method for automatically releasing operating system version and automatically updating software package |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107896171A (en) * | 2017-11-14 | 2018-04-10 | 北京思特奇信息技术股份有限公司 | A kind of code on-line method of testing and system |
CN107896171B (en) * | 2017-11-14 | 2020-11-24 | 北京思特奇信息技术股份有限公司 | Code on-line testing method and system |
CN109271387A (en) * | 2018-09-28 | 2019-01-25 | 阿里巴巴集团控股有限公司 | A kind of regular dissemination method and device of database |
CN109271387B (en) * | 2018-09-28 | 2021-10-15 | 创新先进技术有限公司 | Rule issuing method and device for database |
Also Published As
Publication number | Publication date |
---|---|
CN103279339B (en) | 2016-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11762697B2 (en) | Method and apparatus for scheduling resource for deep learning framework | |
EP3636390B1 (en) | Robot cluster scheduling system | |
CN111897638B (en) | Distributed task scheduling method and system | |
CN104506620A (en) | Extensible automatic computing service platform and construction method for same | |
CN103064745B (en) | A kind of method and system of task matching process | |
CN107704310B (en) | Method, device and equipment for realizing container cluster management | |
CN110347515B (en) | Resource optimization allocation method suitable for edge computing environment | |
CN110597634B (en) | Data processing method and device and computer readable storage medium | |
CN103049330A (en) | Method and system for scheduling trusteeship distribution task | |
US11481711B2 (en) | System and method for modifying capacity for new facilities | |
CN103634379A (en) | Management method for distributed storage space and distributed storage system | |
US11194623B2 (en) | Resource scheduling method and related apparatus | |
CN103973803A (en) | Cloud resource distribution system and method, and computer readable record medium of stored program | |
CN104461710A (en) | Method and device for processing tasks | |
CN110806928A (en) | Job submitting method and system | |
CN105450684A (en) | Cloud computing resource scheduling method and system | |
CN103257896A (en) | Max-D job scheduling method under cloud environment | |
US9575487B2 (en) | Computer program, method, and system for optimized kit nesting | |
CN103279339A (en) | Code on-line system and method | |
CN112711522B (en) | Cloud testing method and system based on docker and electronic equipment | |
CN104346380A (en) | Data sequencing method and system on basis of MapReduce model | |
CN105933136A (en) | Resource scheduling method and system | |
CN110750362A (en) | Method and apparatus for analyzing biological information, and storage medium | |
CN107526632A (en) | Process pool extending method and device | |
CN105828421A (en) | Terminal and terminal power saving method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230411 Address after: Room 501-502, 5/F, Sina Headquarters Scientific Research Building, Block N-1 and N-2, Zhongguancun Software Park, Dongbei Wangxi Road, Haidian District, Beijing, 100193 Patentee after: Sina Technology (China) Co.,Ltd. Address before: 100080, International Building, No. 58 West Fourth Ring Road, Haidian District, Beijing, 20 floor Patentee before: Sina.com Technology (China) Co.,Ltd. |