CN103279339B - A kind of code on-line system and method - Google Patents

A kind of code on-line system and method Download PDF

Info

Publication number
CN103279339B
CN103279339B CN201310140680.2A CN201310140680A CN103279339B CN 103279339 B CN103279339 B CN 103279339B CN 201310140680 A CN201310140680 A CN 201310140680A CN 103279339 B CN103279339 B CN 103279339B
Authority
CN
China
Prior art keywords
code
task
line
server
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310140680.2A
Other languages
Chinese (zh)
Other versions
CN103279339A (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.)
Sina Technology China Co Ltd
Original Assignee
Sina Technology China 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 Sina Technology China Co Ltd filed Critical Sina Technology China Co Ltd
Priority to CN201310140680.2A priority Critical patent/CN103279339B/en
Publication of CN103279339A publication Critical patent/CN103279339A/en
Application granted granted Critical
Publication of CN103279339B publication Critical patent/CN103279339B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of code on-line system and method, including: front-end server is according to the task attribute information of code on-line task, generate the task processing information of this code on-line task, and this task processing information generated is saved in database server;The task processing information of database server storage code on-line task;Each code file that version control server storage code on-line task is corresponding;Middle control machine server from database server according to this task processing information, from version control server, obtain the code file to be reached the standard grade that this code on-line task is corresponding, and code file to be reached the standard grade corresponding for this code on-line task obtained is distributed to service server.The scheme using the embodiment of the present invention to provide, improves the efficiency of code on-line.

Description

A kind of code on-line system and method
Technical field
The present invention relates to the code on-line technical field in field of computer technology, particularly relate on a kind of code Wire system and method.
Background technology
Code on-line refers to code file is uploaded to service server, in order to install new on service server Business application, or on service server, update existing business application.
In actual applications, multiple service servers may run and have identical business application, work as pin When this business application is updated, need identical code file uploads to the plurality of business clothes respectively Business device.
For this situation, when using prior art to carry out code on-line process, need artificial soft by ftp Part or rsync push command mode, and code file uploads to central server, more artificial in center service Use distribution command on device, respectively this code file is sent in each service server.
So, use code on-line scheme of the prior art, need technical professional to complete, when needing When code file to be reached the standard grade is more, and when the service server that needs are reached the standard grade is more, exist error-prone, Inefficient problem.
Summary of the invention
The embodiment of the present invention provides a kind of code on-line system and method, in order to solve present in prior art Carry out inefficient problem during code on-line.
The embodiment of the present invention provides a kind of code on-line system, including: front-end server, database server, Version control server and middle control machine server, wherein:
Described front-end server, for obtaining the task attribute information of code on-line task, and according to described Business attribute information generates the task processing information of described code on-line task, and at the described task that will generate Reason information is saved in described database server, and described task processing information includes described code on-line task The fileinfo of corresponding code file to be reached the standard grade;
Described database server, for storing the task processing information of code on-line task;
Described version control server, for storing each code file that code on-line task is corresponding;
Described middle control machine server, for obtaining described task processing information from described database server, And according to the literary composition of code file to be reached the standard grade corresponding to the described code on-line task in described task processing information Part information, obtains code the to be reached the standard grade literary composition that described code on-line task is corresponding from described version control server Part, and code file to be reached the standard grade corresponding for the described code on-line task obtained is distributed to business service Device.
The embodiment of the present invention also provides for a kind of code on-line method, including:
Front-end server obtains the task attribute information of code on-line task, and according to described task attribute information Generate the task processing information of described code on-line task, and the described task processing information generated is preserved In described database server, described task processing information includes described corresponding the treating of code on-line task The fileinfo of line code file, each code file corresponding to described code on-line task is in Version Control service Device stores;
Middle control machine server obtains described task processing information from described database server, and according to described The fileinfo of the code file to be reached the standard grade that described code on-line task in task processing information is corresponding, from institute State and version control server obtains the code file to be reached the standard grade that described code on-line task is corresponding, and will obtain Code file to be reached the standard grade corresponding to the described code on-line task that takes is distributed to service server.
Beneficial effect of the present invention includes:
In the scheme that the embodiment of the present invention provides, when needs carry out code on-line, submit to and include task attribute The code on-line task of information and after uploading each code file that this code on-line task is corresponding, front end takes Business device will generate the task processing information of this code on-line task according to this task attribute information, and will generate This task processing information be saved in database server, and task processing information includes that this code on-line is appointed The fileinfo of the code file to be reached the standard grade that business is corresponding, in version control server, storage has code on-line task Corresponding each code file;Accordingly, middle control machine server obtains the process of this task from database server Information, and according to the literary composition of code file to be reached the standard grade corresponding to this code on-line task in this task processing information Part information, obtains the code file to be reached the standard grade that this code on-line task is corresponding from version control server, with And code file to be reached the standard grade corresponding for this code on-line task obtained is distributed to service server.Thus not Need manually code file to be sent to service server again, but by front-end server and middle control machine server By performing code on-line task, automatically code file to be reached the standard grade is distributed to service server, such that it is able to Quickly finish the batch processing of code file distribution, improve the efficiency of code on-line.
Other features and advantage will illustrate in the following description, and, partly from explanation Book becomes apparent, or understands by implementing the application.The purpose of the application and other advantages can Realize by structure specifically noted in the description write, claims and accompanying drawing and obtain ?.
Accompanying drawing explanation
Accompanying drawing is for providing a further understanding of the present invention, and constitutes a part for description, with this Bright embodiment is used for explaining the present invention together, is not intended that limitation of the present invention.In the accompanying drawings:
The structural representation of the code on-line system that Fig. 1 provides for the embodiment of the present invention;
The flow chart of the code on-line method that Fig. 2 provides for the embodiment of the present invention.
Detailed description of the invention
In order to provide the implementation improving the efficiency carrying out code on-line, embodiments provide one The preferred embodiments of the present invention are illustrated by code on-line system and method below in conjunction with Figure of description, Should be appreciated that preferred embodiment described herein is merely to illustrate and explains the present invention, be not used to limit The present invention.And in the case of not conflicting, the embodiment in the application and the feature in embodiment can phases Combination mutually.
The embodiment of the present invention provides a kind of code on-line system, as it is shown in figure 1, include: front-end server 11, Database server 12, version control server 13 and middle control machine server 14, wherein:
Front-end server 11, for obtaining the task attribute information of code on-line task, and belongs to according to this task Property information generate the task processing information of this code on-line task, and this task processing information that will generate is protected Be stored in database server 12, this task processing information include this code on-line task corresponding wait reach the standard grade The fileinfo of code file;
Database server 12, for storing the task processing information of code on-line task;
Version control server 13, for storing each code file that code on-line task is corresponding;
Middle control machine server 14, for obtaining this task processing information, and root from database server 12 According to the fileinfo of code file to be reached the standard grade corresponding to this code on-line task in this task processing information, from Version control server 13 obtains the code file to be reached the standard grade that this code on-line task is corresponding, and will obtain Code file to be reached the standard grade corresponding to this code on-line task of taking is distributed to service server 15.
Wherein, code on-line task can be submitted on front-end server 11 by user, and user also may be used To upload to store on version control server 13 by each code file corresponding for this code on-line task, Each code file corresponding for this code on-line task can also be uploaded to front-end server 11, and be taken by front end Each code file corresponding for this code on-line task is saved in version control server 13 by business device 11.
Middle control machine server 14 can the code on-line task of storage in the monitoring database server 12 in cycle Task processing information, when find exist need code on-line task to be processed time, i.e. trigger according to this code The task of this code on-line task is processed by the task processing information of task of reaching the standard grade.
In the embodiment of the present invention, further, front-end server 11, when generating task processing information, has Body can send fileinfo to version control server 13 and obtain request, and fileinfo obtains in request and takes Fileinfo with each code file corresponding to this code on-line task;
Version control server 13, is additionally operable to after receiving this document information acquisition request, according to this document The fileinfo of each code file that this code on-line task of carrying in information acquisition request is corresponding, with acquisition The fileinfo of each code file corresponding to last code on-line task, determine this code on-line task pair The code file that each code file corresponding from last code on-line task in each code file answered is different Fileinfo, and forward end server 11 return fileinfo obtain response, fileinfo obtain response In carry the fileinfo of this different code file;
Front-end server 11 receives this document acquisition of information response that this version control server 13 returns, and The fileinfo carried in being responded by this document acquisition of information is defined as corresponding the treating of this code on-line task The fileinfo of line code file, the fileinfo of this different code file will be defined as this code on-line The fileinfo of the code file to be reached the standard grade that task is corresponding.
Thus when each code file that this code on-line task is corresponding is corresponding with last code on-line task Each code file in, when there is identical code file, determine differential file, i.e. this code on-line The generation that each code file corresponding from last code on-line task in each code file that task is corresponding is different Code file, and using this differential file as code file to be reached the standard grade corresponding to this code on-line task, make Obtain the follow-up distribution that i.e. can carry out code file only for this differential file, for this code on-line task The code literary composition that each code file corresponding with last code on-line task in corresponding each code file is identical Part, this code on-line task need not again be distributed when processing, and then saves network transmission resource, And improve the efficiency of code on-line.
In the embodiment of the present invention, when for known multiple service servers 15, needing when carrying out code on-line Will be by when code file of reaching the standard grade is distributed to wherein partial service server 15, front-end server 11 is all right Task attribute information according to this code on-line task, determines the service server that this code on-line task is corresponding The server info of 15, as one of the task processing information of this code on-line task;
Accordingly, middle control machine server 14 can be according to this code on-line task in this task processing information The server info of corresponding service server 15, reaches the standard grade corresponding for this code on-line task obtained waiting Code file, is distributed to service server corresponding to this code on-line task 15.
And when for known multiple service servers 15, needing when carrying out code on-line will code be reached the standard grade When file is all distributed to the plurality of service server 15, then the task processing information that front-end server 11 generates In, it is not necessary to include the server info of service server 15 corresponding to this code on-line task.
In the embodiment of the present invention, further, it is also possible to the task status of this code on-line task is supervised Control, is specifically as follows:
Front-end server 11, when generating task processing information, also generates the task shape of this code on-line task State information, as one of the described task processing information of this code on-line task, the task status now generated Information is unfinished state information;
Accordingly, middle control machine server 14 can also process obtaining this task from database server 12 After information, when the task status information determined in this task processing information is unfinished state information, trigger Process to this code on-line task;And at code to be reached the standard grade corresponding to this code on-line task that will obtain After file distributing is to service server 15, in change database server 12, this code on-line of storage is appointed Task status information in the task processing information of business is completion status information.
Further, front-end server 11 can also work as this generation monitoring in database server 12 storage Code reach the standard grade task task processing information in task status information for completion status information time, point out this generation Code task of reaching the standard grade completes.
In the embodiment of the present invention, further, this code on-line can also appointed by front-end server 11 In the processing procedure of business, according to the current completed process progress letter processing operation generation and showing correspondence Breath, enables a user to understand in real time the process progress of this code on-line task.Such as, getting After the task attribute information of code on-line task, generate corresponding process progress msg, generate this code After the task processing information of task of reaching the standard grade, generate corresponding process progress msg, and different generating The process progress msg of correspondence can be generated respectively after task processing information.
In the embodiment of the present invention, middle control machine server 14 according to task processing information to code on-line task When processing, can be based on needing to distribute each service server 15 of code file to be reached the standard grade, by a generation The code task of reaching the standard grade splits into multiple code on-line subtask, and appoints by performing the plurality of code on-line respectively Business, completes the process to this code on-line task, specifically can be such that
Middle control machine server 14 is obtaining this corresponding treating of code on-line task from version control server 13 After code file of reaching the standard grade, for needing to distribute each service server 15 of this code file to be reached the standard grade, set up The code on-line subtask the most corresponding with each service server 15, by performing code on-line subtask, This code file to be reached the standard grade is distributed to service server corresponding to this code on-line subtask 15.
In the embodiment of the present invention, after this this code on-line task has been processed, when needs are to this Code on-line carries out rollback process, i.e. needs the partial code file access pattern of business application for make before Code file time, can complete in the following way:
Front-end server 11 is completed code before needs are reached the standard grade again in this this code on-line task During each code file corresponding to task of reaching the standard grade, for this completed code on-line task, re-establish new generation Code is reached the standard grade task, and task that this fresh code is reached the standard grade according to the task identical with this this code on-line task at Reason mode carries out task process.I.e. being equivalent to for this completed code on-line task, it is right again to have carried out Answering of task processes.
In the embodiment of the present invention, on version control server 13, can be soft by operation code version management Part SVN(Subversion), each code file that storage code on-line task is corresponding, and be middle control machine clothes Business device 14 provides code file, and such as, middle control machine server 14 is taken from Version Control by SVN order Obtaining code file on business device 13, specifically may be used in code file storage address on version control server 13 Think SVN address.
Based on same inventive concept, according to the code on-line system of the above embodiment of the present invention offer, correspondingly, Another embodiment of the present invention additionally provides a kind of code on-line method, as in figure 2 it is shown, specifically include following place Reason step:
Step 201, each code file corresponding to code on-line task to be processed will be needed to store Version Control In server.
In this step, specifically by user, each code file corresponding for this code on-line task can be uploaded to version Store on this control server, it is also possible to each code file corresponding for this code on-line task is uploaded to Front-end server, and by front-end server, each code file corresponding for this code on-line task is saved in version Control in server.
Wherein, it is corresponding that each code file that code on-line task is corresponding can be present in this code on-line task A file bag in.
Step 202, front-end server obtain the task attribute information of the code on-line task that user submits to.
When user submits code on-line task on front-end server, this code on-line task can be submitted to simultaneously Task attribute information, task attribute information can include each code file corresponding to this code on-line task Fileinfo, follow-up can be using this each code file all as the code to be reached the standard grade that this code on-line task is corresponding File, it is also possible to select partial code file from this each code file according to preset strategy, as this code The code file to be reached the standard grade that task of reaching the standard grade is corresponding.Wherein, the fileinfo of each code file can be each code The file name information of file, it is also possible to be each code file storage address letter on version control server Breath, now needs each code file to be stored in version control server in advance.
Task attribute information can also include the server letter of service server corresponding to this code on-line task Breath;And when running multiple business application on a service server, it is also possible to include on this code The application message of the service application that line task is corresponding;And the merit that this code on-line task is corresponding can also be included Information can be described, the description letter of the function after i.e. this code on-line completes, business application increased Breath.
When the fileinfo of each code file corresponding to code on-line task is not that each code file is in version control During storage address information in control server, this step and above-mentioned steps 201 do not have strict sequencing.
Step 203, front-end server, according to the task attribute information of this code on-line task obtained, generate The task processing information of this code on-line task.
Wherein, task processing information includes the file letter of code file to be reached the standard grade corresponding to this code on-line task Breath;Further, task processing information can also include: the service server that this code on-line task is corresponding Server info, the task status information of this code on-line task, in this step, this task status information is Unfinished state information.
In the embodiment of the present invention, the code file to be reached the standard grade that this code on-line task is corresponding, can be this code Each code file that task of reaching the standard grade is corresponding, it is also possible to determine each code file that this code on-line task is corresponding In the different code file of each code file corresponding from last code on-line task, the code different by this File is as code file to be reached the standard grade corresponding to this code on-line task, the then file of this different code file Information is the fileinfo of code file to be reached the standard grade corresponding to this code on-line task.
Now, front-end server can send fileinfo to version control server and obtain request, and file is believed This code on-line task that breath obtains in the task attribute information carrying this code on-line task in request is corresponding The fileinfo of each code file;
Version control server, please according to this document acquisition of information after receiving this document information acquisition request The fileinfo of each code file that this code on-line task of carrying in asking is corresponding, with generation last time obtained Code is reached the standard grade the fileinfo of each code file corresponding to task, determines each code that this code on-line task is corresponding The fileinfo of the code file that each code file corresponding from last code on-line task in file is different, And forward end server returns fileinfo and obtains response, fileinfo obtains in response and carries this different generation The fileinfo of code file;
Front-end server receives this document acquisition of information response that this version control server returns, and by this article The fileinfo carried in the response of part acquisition of information is defined as the code to be reached the standard grade that this code on-line task is corresponding The fileinfo of file, the fileinfo of this different code file will be defined as this code on-line task pair The fileinfo of the code file to be reached the standard grade answered.
The task processing information of generation is saved in database server by step 204, front-end server.
Further, the partial task attribute information of code on-line task can also also be preserved by front-end server In database server.
For the various task processing information related in above-mentioned steps 203 and task attribute information, the most permissible Using the mode of following Tables 1 and 2, the task of storing code on-line task in database server processes Information:
Table 1
In above-mentioned table 1, a corresponding code on-line task of task ID, the generation that a task ID is corresponding Code file can include multiple code file, wherein, function information can also be respectively with each code file Corresponding functional circuit information.
Table 2
In above-mentioned table 2, task ID can corresponding multiple code files ID to be reached the standard grade, wait to reach the standard grade for one The corresponding code file to be reached the standard grade of code file ID.
The fileinfo of code file and the fileinfo of code file to be reached the standard grade in table 2 in above-mentioned table 1, can For the code file obtaining correspondence in version control server.
Step 205, middle control machine server obtain task processing information from database server.
In this step, middle control machine server can be with each code on-line of storage in cycle monitoring database server , there is, when determining, the code on-line that task status information is unfinished state information in the task status information of task During task, trigger the process to this code on-line task.
Step 206, middle control machine server are reached the standard grade according to treating in the task processing information of this code on-line task The fileinfo of code file, obtain from version control server this code on-line task corresponding wait reach the standard grade Code file.
Step 207, middle control machine server are obtaining this code on-line task correspondence from version control server Code file to be reached the standard grade after, for needing to distribute each service server of this code file to be reached the standard grade, build The vertical code on-line subtask the most corresponding with each service server.
Concrete, the task processing information of each code on-line subtask set up can be saved in data base's clothes In business device, such as, as shown in table 3 below:
Table 3
Wherein, the code file to be reached the standard grade that table 3 neutron task ID is corresponding, appointing belonging to the ID of this subtask The code file to be reached the standard grade that business ID is corresponding.
In step 208, main control computer server based on data storehouse server, this code on-line task of storage is each The task processing information of code on-line subtask, performs each subtask, specifically can be such that
Successively for the code on-line subtask that task status information is unfinished state information, by this code The code file to be reached the standard grade that line subtask is corresponding, is distributed to the business service that this code on-line subtask is corresponding Device.
Step 209, after completing the process of a code on-line subtask, by data base storage should The task status information of code on-line subtask changes to completion status information, when for a code on-line After all code on-line subtasks that task includes all have processed, i.e. one code on-line task includes The task status information of all code on-line subtasks be completion status information time, change database service In device, the task status information of this code on-line task of storage is completion status information.
In step 210, front-end server cycle monitoring database server, the code on-line task of storage appoints Task status information in business process information, when monitoring this task status information for completion status information Time, point out this code on-line task to complete.
Further, front-end server can also be in the processing procedure to this code on-line task, according to working as The front completed process progress msg processing operation generation and showing correspondence, enables a user to real-time Understand the process progress of this code on-line task.Such as, believe in the task attribute getting code on-line task After breath, generate corresponding process progress msg, generate this code on-line task task processing information it After, generate corresponding process progress msg, and can distinguish after generating different task processing information Generate corresponding process progress msg.
Use the such scheme that the embodiment of the present invention provides, it is no longer necessary to manually code file is sent to business Server, user only needs to submit the code on-line task including task attribute information to, and uploads this code Each code file that task of reaching the standard grade is corresponding, then by front-end server and middle control machine server by performing code Reach the standard grade task, automatically code file to be reached the standard grade is distributed to service server, such that it is able to quickly finish generation The batch processing of code file distributing, improves the efficiency of code on-line.
In sum, the scheme that the embodiment of the present invention provides, including: front-end server obtains code on-line and appoints The task attribute information of business, and the task process letter of this code on-line task is generated according to this task attribute information Breath, and this task processing information generated is saved in database server, this task processing information bag Include the fileinfo of code file to be reached the standard grade corresponding to this code on-line task;Database server stores this generation Code is reached the standard grade the task processing information of task;Version control server stores each generation that this code on-line task is corresponding Code file;Middle control machine server obtains this task processing information from database server, and according to this task The fileinfo of the code file to be reached the standard grade that this code on-line task in process information is corresponding, from Version Control Server obtains in the code file to be reached the standard grade that this code on-line task is corresponding, and this code that will obtain Code file to be reached the standard grade corresponding to line task is distributed to service server.Use the side that the embodiment of the present invention provides Case, improves the efficiency of code on-line.
The function of each server in the code on-line system that embodiments herein is provided can be by calculating Machine program realizes.Those skilled in the art are it should be appreciated that above-mentioned Module Division mode is only numerous mould One in block dividing mode, if being divided into other modules or not dividing module, if code on-line system In each server there is above-mentioned functions, all should be within the protection domain of the application.
The application is with reference to method, equipment (system) and the computer program product according to the embodiment of the present application The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention Bright spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention and Within the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. a code on-line system, it is characterised in that including: front-end server, database server, Version control server and middle control machine server, wherein:
Described front-end server, for obtaining the task attribute information of code on-line task, and according to described Business attribute information generates the task processing information of described code on-line task, and at the described task that will generate Reason information is saved in described database server, and described task processing information includes described code on-line task The fileinfo of corresponding code file to be reached the standard grade;
Described database server, for storing the task processing information of code on-line task;
Described version control server, for storing each code file that code on-line task is corresponding;
Described middle control machine server, for obtaining described task processing information from described database server, And according to the literary composition of code file to be reached the standard grade corresponding to the described code on-line task in described task processing information Part information, obtains code the to be reached the standard grade literary composition that described code on-line task is corresponding from described version control server Part, and code file to be reached the standard grade corresponding for the described code on-line task obtained is distributed to business service Device.
2. the system as claimed in claim 1, it is characterised in that described front-end server, specifically for Sending fileinfo to described version control server and obtain request, described fileinfo obtains in request and carries The fileinfo of each code file that described code on-line task is corresponding;And receive described Version Control service The fileinfo that device returns obtains response, and it is true that described fileinfo is obtained the fileinfo carried in response It is set to the fileinfo of code file to be reached the standard grade corresponding to described code on-line task;
Described version control server, is additionally operable to after receiving the acquisition request of described fileinfo, according to institute State fileinfo and obtain the file letter of each code file corresponding to the described code on-line task carried in request Breath, the fileinfo of each code file corresponding with the last code on-line task obtained, determine described generation Code is reached the standard grade each code literary composition corresponding with described last code on-line task in each code file corresponding to task The fileinfo of the code file that part is different, and return described fileinfo acquisition sound to described front-end server Should, described fileinfo obtains the fileinfo carrying described different code file in response.
3. the system as claimed in claim 1, it is characterised in that described front-end server, is additionally operable to root According to the described task attribute information of described code on-line task, determine the business that described code on-line task is corresponding The server info of server, as one of the described task processing information of described code on-line task;
Described middle control machine server, specifically for appointing according to the described code on-line in described task processing information The server info of the service server that business is corresponding, reaches the standard grade corresponding for the described code on-line task obtained waiting Code file, is distributed to the service server that described code on-line task is corresponding.
4. the system as claimed in claim 1, it is characterised in that described front-end server, is additionally operable to raw Become the task status information of described code on-line task, and described task status information is unfinished state letter Breath, as one of the described task processing information of described code on-line task;
Described middle control machine server, is additionally operable to obtaining described task process letter from described database server After breath, when the task status information determined in described task processing information is unfinished state information, trigger Process to described code on-line task;And by obtain described code on-line task corresponding wait reach the standard grade After code file is distributed to service server, change on the described code stored in described database server Task status information in the task processing information of line task is completion status information.
5. system as claimed in claim 4, it is characterised in that described front-end server, is additionally operable to work as Monitor appointing in the task processing information of the described code on-line task of storage in described database server Business status information be completion status information time, point out described code on-line task to complete.
6. system as claimed in claim 5, it is characterised in that described front-end server, is additionally operable to In processing procedure to described code on-line task, according to current completed process operation generate and show right The process progress msg answered.
7. the system as claimed in claim 1, it is characterised in that described middle control machine server, specifically uses Version control server described in Yu Cong obtains the code file to be reached the standard grade that described code on-line task is corresponding Afterwards, for needing each service server of code file to be reached the standard grade described in distribution, set up and each business service The code on-line subtask that device is the most corresponding, by performing code on-line subtask, by described code to be reached the standard grade File distributing gives the service server that this code on-line subtask is corresponding.
8. the system as claimed in claim 1, it is characterised in that described front-end server, is additionally operable to work as Need each code that completed code on-line task is corresponding before described code on-line task of again reaching the standard grade During file, for this completed code on-line task, re-establish fresh code and reach the standard grade task, and to described Fresh code task of reaching the standard grade carries out task process according to the task processing mode identical with described code on-line task.
9. the system as claimed in claim 1, it is characterised in that described front-end server, is additionally operable to connect Receive each code file that the described code on-line task uploaded of user is corresponding, and by described code on-line task pair The each code file answered is saved in described version control server;Or
Described version control server, is additionally operable to receive corresponding each of the described code on-line task uploaded of user Code file.
10. a code on-line method, it is characterised in that including:
Front-end server obtains the task attribute information of code on-line task, and according to described task attribute information Generate the task processing information of described code on-line task, and the described task processing information generated is preserved In database server, described task processing information includes the generation to be reached the standard grade that described code on-line task is corresponding The fileinfo of code file, each code file corresponding to described code on-line task is in version control server Store;
Middle control machine server obtains described task processing information from described database server, and according to described The fileinfo of the code file to be reached the standard grade that described code on-line task in task processing information is corresponding, from institute State and version control server obtains the code file to be reached the standard grade that described code on-line task is corresponding, and will obtain Code file to be reached the standard grade corresponding to the described code on-line task that takes is distributed to service server.
CN201310140680.2A 2013-04-22 2013-04-22 A kind of code on-line system and method Active CN103279339B (en)

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 CN103279339A (en) 2013-09-04
CN103279339B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107896171B (en) * 2017-11-14 2020-11-24 北京思特奇信息技术股份有限公司 Code on-line testing method and system
CN109271387B (en) * 2018-09-28 2021-10-15 创新先进技术有限公司 Rule issuing method and device for database

Citations (5)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN103279339A (en) 2013-09-04

Similar Documents

Publication Publication Date Title
CN102456031B (en) A kind of Map Reduce system and the method processing data stream
CN103229487A (en) Partition balance method, device and server in distributed storage system
CN104468174A (en) Method and device for cluster servers to execute task
CN105184501A (en) Efficient asynchronous order processing method
CN110489437A (en) Distributed transaction processing method, device, computer equipment and storage medium
CN110334919B (en) Production line resource matching method and device
CN104601664A (en) Cloud computing platform resource management and virtual machine dispatching control system
CN114202027B (en) Method for generating execution configuration information, method and device for model training
CN110866687A (en) Task allocation method and device
CN106020959A (en) Data migration method and device
CN106251071A (en) A kind of cloud workflow implementing method supporting multiple engine
CN104317604A (en) Program code generating method and device
CN103279339B (en) A kind of code on-line system and method
CN105450684A (en) Cloud computing resource scheduling method and system
CN109746405A (en) Slab roller-way autocontrol method, device, terminal device and storage medium
CN111782404A (en) Data processing method and related equipment
CN110046638A (en) Fusion method, device and the equipment of multi-platform data
CN109144846B (en) Test method and device for testing server
CN113269424B (en) Robot cluster task allocation method, system, equipment and storage medium
CN110868435B (en) Bare metal server scheduling method and device and storage medium
US9575487B2 (en) Computer program, method, and system for optimized kit nesting
CN105593814A (en) Method, apparatus and system for home management device virtualization
CN103744880B (en) A kind of DNA data managing methods and system based on cloud computing
CN105141691A (en) System and method for automatically expanding virtual machine cluster under cloud computing
CN106294445A (en) The method and device stored based on the data across machine room Hadoop cluster

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

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.

TR01 Transfer of patent right