CN101593126A - A kind of distributed precompiler dissemination method as a result and system - Google Patents
A kind of distributed precompiler dissemination method as a result and system Download PDFInfo
- Publication number
- CN101593126A CN101593126A CNA2009101084107A CN200910108410A CN101593126A CN 101593126 A CN101593126 A CN 101593126A CN A2009101084107 A CNA2009101084107 A CN A2009101084107A CN 200910108410 A CN200910108410 A CN 200910108410A CN 101593126 A CN101593126 A CN 101593126A
- Authority
- CN
- China
- Prior art keywords
- precompile
- result
- source code
- server
- client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
The invention discloses a kind of distributed precompiler dissemination method as a result and system, described method comprises: the precompile server obtains the precompile source code, and precompile source code and precompile task are distributed to the precompile client; The precompile server obtain that the precompile client returns according to the precompile result of precompile task to the precompile source code; Extract the key point information among the described precompile result, issue by webpage.The present invention obtains the precompile result that the precompile client is carried out according to its task and to the precompile source code by the precompile server, from the precompile result, extract key point information, issue by webpage, thereby can make developer and translator and compiler in time understand the precompile result, help improving precompiler reliability.
Description
Technical field
The present invention relates to distributed precompile, specifically, relate to a kind of distributed precompiler dissemination method as a result and system.
Background technology
Radio communication resident roughly similar embedded software system on a series of hardware can occur along with the development of hardware technology.Because to relate to software huge, need the multi-person synergy exploitation, cause so naturally that code has more intense coupling between a plurality of developers.Owing to need precompiler file too much, use a machine serial precompile, the duration of its precompile process will be very long, influence the generation of application version, corresponding, can use the precompile that walk abreast of many machines, thus the formation speed of raising application version.
Because the early development personnel may be in office, a plurality of strange land, in the precompile process, to the file that does not compile out, detailed error reason can't be understood by translator and compiler, is inconvenient to notify relevant developer; The developer revises source code in the precompile process simultaneously, also is inconvenient to notify translator and compiler to recompilate.Owing to the interchange between translator and compiler and the developer is not smooth, may cause precompile occurring and pass through, and final compiling generates the situation that the BIN file does not pass through, generate thereby have a strong impact on version, the test of later release is issued bring great risk.
Summary of the invention
The invention provides a kind of distributed precompiler dissemination method as a result and device, can improve precompiler reliability.
In order to solve the problems of the technologies described above, the present invention has adopted following technical scheme:
A kind of distributed precompiler dissemination method as a result comprises:
A, precompile server obtain the precompile source code, and precompile source code and precompile task are distributed to the precompile client;
B, precompile server obtain the precompile result that described precompile client is returned, and extract the key point information among the described precompile result, issue by webpage.
Among a kind of embodiment of said method, described key point information is mistake and the warning information among the precompile result.
Among a kind of embodiment of said method, described precompile client is carried out precompile according to its precompile task of receiving to corresponding precompile source code, and the precompile result is returned to described precompile server.
Among a kind of embodiment of said method, also comprise: precompile server issue precompile source code lastest imformation is to described webpage.
Among a kind of embodiment of said method, issue is provided with note or mail reminder to the precompile server to the result.
The invention also discloses a kind of distributed precompiler delivery system as a result, comprising:
The precompile server is used to obtain the precompile source code, and precompile source code and precompile task are distributed to the precompile client;
The precompile client is used for according to described precompile task described precompile source code being carried out precompile, returns the precompile result to the precompile server;
Described precompile server also is used to obtain the precompile result that the precompile client is returned, and extracts the key point information among the described precompile result, issues by webpage.
The present invention obtains the precompile result that the precompile client is carried out according to its task and to the precompile source code by the precompile server, from the precompile result, extract key point information, issue by webpage, thereby can make developer and translator and compiler in time understand the precompile result, help improving precompiler reliability.
Description of drawings
The description that Fig. 1 is exemplary the block diagram of delivery system as a result of the present invention;
The description that Fig. 2 is exemplary result of the present invention issue flow process.
Embodiment
Below in conjunction with accompanying drawing the specific embodiment of the present invention is elaborated.
Below the exemplary precompile process with the cdma wireless communication system is described embodiments of the invention.As shown in Figure 1, among the figure exemplary description delivery system as a result of the present invention, comprising: source code storehouse, precompile server (hereinafter referred server), precompile client (hereinafter referred client), precompile result issue end.This system is a distributed frame, and precompile is by illustrated a plurality of client parallel processings.
As shown in Figure 2, the delivery system main flow process of carrying out result issue is as a result:
The precompile server obtains the precompile source code, and precompile source code and precompile task are distributed to the precompile client;
The precompile client is carried out precompile according to described precompile task to described precompile source code, returns the precompile result to the precompile server;
The precompile server obtains the precompile result that the precompile client is returned, and extracts the key point information among the described precompile result, issues by webpage.
In the compilation process, need precompiler source code to be placed on uniformly in the source code storehouse.Server is downloaded the precompile source code from the source code storehouse, it is distributed to each client.In addition, server is distributed to each client with precompile task (which part source code is the indication client compile).
Client is carried out precompile according to its precompile task that is assigned to corresponding precompile source code, then, precompile result (for example, real-time) is returned to server.Certainly, owing to be the multi-client structure, also can set client and carry out the result according to predetermined grade or order and return.For example, some client is set priority, preferentially obtain its precompile result.In addition, the precompile result also can be obtained by the server mode of taking the initiative except initiatively returning (is passive mode for server) after being finished by client, for example, can set timing, the server cycle after each timing arrives, initiatively obtain the precompile result to client.
Server is behind the precompile result that (with active or passive mode) acquisition client is returned, extract key point information wherein, it is issued end by the precompile result issue, webpage issue form is adopted in issue, is promptly issued precompile result's key point information by the WEB server.
The webpage issue of key point information can be adopted the snapshots of web pages form issue that key point information is generated HTML (HyperTextMark-up Language, HTML (Hypertext Markup Language)) document form.This will help checking the real-time progress of compiling.On the other hand, key point information mainly refers to mistake and warning information among the precompile result.From practical application, for normal compiling information, generally do not need to be concerned about, because not influencing version usually, it does not generate.Therefore, only issue mistake and warning information, will help minimizing information issue amount, simultaneously, for webpage viewer (for example, translator and compiler, developer), it also can obtain paying close attention to content rapidly.Certainly, according to demand, other information also can be taked the same manner issue, for example compilation time, compiling data volume or the like information.
Webpage releases news, except the key point information that comprises the precompile result, can also comprise the source code lastest imformation, general, the developer may upgrade source code based on reasons such as source code optimization or source code error exception, and server need be synchronized to client with the source code after upgrading on the one hand; On the other hand, the source code lastest imformation can be published on the webpage, so that the webpage viewer knows.
In time to understand webpage content distributed for the webpage viewer, and server can adopt note or mail reminder mode that the webpage viewer is pointed out, and for example, after source code upgrades, sends SMS Tip and inform that translator and compiler in time carry out precompile to the source code that upgrades.And for example, after the key point information issue, send the prompting mail and inform that the developer in time checks key point information, with the indication according to key point information, makes amendment to source code.In addition, can also be set in and not receive when reminding short message or mail are replied, carry out the transmission once more of reminding short message or mail.
Below embodiments of the invention are further elaborated.
Source code upgrades Operation Log and has shown more news of current source code in the snapshots of web pages mode, and detail operations information is provided, and in time understands the current source code situation that is compiled to make things convenient for translator and compiler and developer.
Can pass through multi-person synergy development management software (for example ClearCase, SVN, CVS etc.) source code management is provided.Server is downloaded a up-to-date source code from the source code storehouse, as precompiler basic version when precompile.Basic version can provide version number, download time, the size of all source files and last update time information such as inventory and generate html file, and issue by webpage.Relevant html file can be browsed to understand above-mentioned information by browser by developer or translator and compiler.
Server is distributed to basic version on the client.Translator and compiler can browse the situation of compiling, estimation compilation time roughly by browser.
After obtaining the source code basic version, client is according to the task start precompile of server-assignment.Compile error can occur in the precompile process, these compile errors all will record among the precompile result, and then client returns to server with the precompile result.In the precompile process, can the snapshot mode show the situation of current all compilings, and the compiling key point information is provided, make things convenient for all developers to understand oneself relevant module compiles situation.
Server receives client compiling information (mainly promptly referring to the precompile result that client is returned in this article), and in most cases, compiling information all is normal.In the precompile process, compiling information is analyzed, filtered out the normal information of not paying close attention to, extract key point information and produce HTML according to key point (for example compile error that occurs in the compilation process compiles alarm etc.).Generate the mistake and the warning information of the precompile process appearance of each module (client) at last in the mode of snapshot, issue by the WEB server.The developer can be simply by browsing mistake and the warning information that is separated, and do not need to pay close attention to a large amount of normal compilation information.Translator and compiler also can be by browsing the situation of grasping each module compiles.
Server has when unusual in the compiling result, can make the developer in time to learn by mail and way of short messages proactive notification developer; Certainly also can check that the webpage mode learns unusual compiling result by the developer.The developer can be synchronized in the source code storehouse after the compile error correction.
Write down the corresponding lastest imformation of developer in the source code storehouse.Because the strong relevance between the source code, other developers understand if desired, then must manual operations read these lastest imformations.In order to reduce manually-operated, can be by the source code in regular hour granularity (for example 10 minutes) the regular update source code storehouse to server.Server then is synchronized to client with it when source code has renewal in detecting the source code storehouse.The essential information that source code upgrades can comprise developer that lists of documents title, time, file size, submission are revised or the like, and this essential information generation html file is carried out the WEB issue.By regular update operation as above, client can determine to recompilate the task of distribution according to the variation that source code takes place.The snapshot that generates in the renewal process can simply be checked by browser by translator and compiler, thereby understands the situation and the progress of source code compiling.
The invention has the advantages that: by the abundant form of expression of WEB and the characteristics of the simple and easy use of browser, provide a kind of to the develop software presentation mode of precompile process of many people distributed collaborative, thereby made things convenient for the interchange between developer and the translator and compiler, helped improving precompiler reliability.Whole process from recompiling that source code upgrades, to the issue of key point information, all is that robotization is handled, and has reduced the mistake that manual operations brings.Above-mentioned method, mode that can template program is fixed, thereby can reduce the precompile step of version, shortens precompiler process, improves the quality that application version generates.
Above content be in conjunction with concrete preferred implementation to further describing that the present invention did, but this example of just lifting for ease of understanding should not think that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can make various possible being equal to and change or replacement, these changes or replacement all should belong to protection scope of the present invention.
Claims (10)
1. a distributed precompiler dissemination method as a result is characterized in that, comprising:
A, precompile server obtain the precompile source code, and precompile source code and precompile task are distributed to the precompile client;
B, precompile server obtain the precompile result that described precompile client is returned, and extract the key point information among the described precompile result, issue by webpage.
2. the method for claim 1 is characterized in that, described key point information is mistake and the warning information among the precompile result.
3. the method for claim 1 is characterized in that, described precompile client is carried out precompile according to its precompile task of receiving to corresponding precompile source code, and the precompile result is returned to described precompile server.
4. as the arbitrary described method of claim 1 to 3, it is characterized in that, also comprise: precompile server issue precompile source code lastest imformation is to described webpage.
5. method as claimed in claim 4 is characterized in that, issue is provided with note or mail reminder to the precompile server to the result.
6. a distributed precompiler delivery system as a result is characterized in that, comprising:
The precompile server is used to obtain the precompile source code, and precompile source code and precompile task are distributed to the precompile client;
The precompile client is used for according to described precompile task described precompile source code being carried out precompile, returns the precompile result to the precompile server;
Described precompile server also is used to obtain the precompile result that the precompile client is returned, and extracts the key point information among the described precompile result, issues by webpage.
7. system as claimed in claim 6 is characterized in that, described key point information is mistake and the warning information among the precompile result.
8. system as claimed in claim 6 is characterized in that, described key point information is by the issue of snapshots of web pages form.
9. as the arbitrary described system of claim 6 to 8, it is characterized in that the precompile server also is used to issue precompile source code lastest imformation to described webpage.
10. system as claimed in claim 9 is characterized in that, issue also is provided with note or mail reminder to the precompile server to the result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2009101084107A CN101593126A (en) | 2009-06-30 | 2009-06-30 | A kind of distributed precompiler dissemination method as a result and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2009101084107A CN101593126A (en) | 2009-06-30 | 2009-06-30 | A kind of distributed precompiler dissemination method as a result and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101593126A true CN101593126A (en) | 2009-12-02 |
Family
ID=41407795
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2009101084107A Pending CN101593126A (en) | 2009-06-30 | 2009-06-30 | A kind of distributed precompiler dissemination method as a result and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101593126A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105224333A (en) * | 2015-10-16 | 2016-01-06 | 中国工商银行股份有限公司 | Large machine object code rapid generation and system |
CN105302672A (en) * | 2015-11-19 | 2016-02-03 | 中国建设银行股份有限公司 | Data processing method and system applied to web page snapshots |
CN106055376A (en) * | 2016-06-03 | 2016-10-26 | 北京奇虎科技有限公司 | Method and system for achieving IOS distributed compilation signature |
CN109271166A (en) * | 2018-09-20 | 2019-01-25 | 摩尔元数(厦门)科技有限公司 | A kind of method and platform for realizing compiled online at the end Web |
-
2009
- 2009-06-30 CN CNA2009101084107A patent/CN101593126A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105224333A (en) * | 2015-10-16 | 2016-01-06 | 中国工商银行股份有限公司 | Large machine object code rapid generation and system |
CN105224333B (en) * | 2015-10-16 | 2018-09-07 | 中国工商银行股份有限公司 | Big machine object code rapid generation and system |
CN105302672A (en) * | 2015-11-19 | 2016-02-03 | 中国建设银行股份有限公司 | Data processing method and system applied to web page snapshots |
CN105302672B (en) * | 2015-11-19 | 2018-11-02 | 中国建设银行股份有限公司 | Data processing method and system applied to snapshots of web pages |
CN106055376A (en) * | 2016-06-03 | 2016-10-26 | 北京奇虎科技有限公司 | Method and system for achieving IOS distributed compilation signature |
CN109271166A (en) * | 2018-09-20 | 2019-01-25 | 摩尔元数(厦门)科技有限公司 | A kind of method and platform for realizing compiled online at the end Web |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101976188B (en) | OpenApi data automatic loading system oriented to AJAX protocol | |
Zhou et al. | API deprecation: a retrospective analysis and detection method for code examples on the web | |
CN101127655B (en) | Method and system for integrating existing www systems | |
CN102663062B (en) | Method and device for processing invalid links in search result | |
CN103092608B (en) | The generation of the client of collecting device information and operation method, server and equipment | |
CN102667664B (en) | For the energy ezpenditure optimization of WEB application | |
US20120192153A1 (en) | Method and system for providing a testing framework | |
CN106445484A (en) | Method and system for realizing data tracking through software development kit | |
CN103428076A (en) | Method and device for transmitting information to multi-type terminals or applications | |
CN105354037A (en) | Modularized software developing method and software developing device | |
CN105608382B (en) | Software maintenance method and software issue determination method and its corresponding device | |
CN102195804A (en) | Automatic updating method of software and system thereof | |
CN102014016A (en) | System and method for testing defects of network protocol | |
CN103034716A (en) | Subscribing method and device for page content | |
CN103248524B (en) | Based on test data edition control method, the Apparatus and system of flexible test technology | |
CN104517181B (en) | Enterprise content management system and method for nuclear power station | |
CN103577568A (en) | Cross-platform mobile safety comprehensive information aggregation system and method adopting same | |
CN104965764A (en) | Static resource processing method and apparatus | |
CN103577599A (en) | Method and device for storing local data through mobile terminal | |
CN106371874A (en) | Plug-in data loading method and equipment | |
CN103853543A (en) | Method used for quickly constructing forms in enterprise information system development process | |
CN101441647A (en) | Automatic updating method and system of patent legal state in enterprise patent database | |
CN103036970A (en) | Method and system for page frame content subscription | |
CN103345532A (en) | Method and device for extracting webpage information | |
CN102262684A (en) | Method and device for generating webpage page of mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20091202 |