CN109408065A - A kind of code publishing tool - Google Patents

A kind of code publishing tool Download PDF

Info

Publication number
CN109408065A
CN109408065A CN201811188735.6A CN201811188735A CN109408065A CN 109408065 A CN109408065 A CN 109408065A CN 201811188735 A CN201811188735 A CN 201811188735A CN 109408065 A CN109408065 A CN 109408065A
Authority
CN
China
Prior art keywords
code
test
publication
released
module
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
Application number
CN201811188735.6A
Other languages
Chinese (zh)
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.)
Shanghai Mxchip Information Technology Co Ltd
Original Assignee
Shanghai Mxchip Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Mxchip Information Technology Co Ltd filed Critical Shanghai Mxchip Information Technology Co Ltd
Priority to CN201811188735.6A priority Critical patent/CN109408065A/en
Publication of CN109408065A publication Critical patent/CN109408065A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of code publishing tools, including code release module, test module, pre- release module and auditing module, chain is connected to corresponding display interface and corresponding script to modules respectively, modules are used for after the instruction generated after receiving triggering the corresponding button, execute corresponding operation;Wherein modules are only capable of the code after the completion of handling itself and are distributed in next module to handle, modules carry out code process according to the sequence of the pre- release module-auditing module of code release module-test module-, and the code that only auditing module of afterbody can pass through audit is issued.In the present invention, staff only needs through the corresponding button on triggering display interface, corresponding release processing can be performed in code publishing tool, business is simple, and the code of itself processing completion can be only distributed to the module of next stage by modules, and the publication that cannot bypass the immediate leadership, improve the integrity and reliability of code publication process.

Description

A kind of code publishing tool
Technical field
The present invention relates to code distribution technology fields, more particularly to a kind of code publishing tool.
Background technique
Current code issuing process is: the manual upload code of programmer to server-modification test environment configurations carry out Test-being issued in advance in simulated environment to code-such as audits-issues at the processes.But each portion of current publication process Point, it is required to after specific directive statement is manually entered by staff, corresponding operation can be carried out.For example, carry out When test, the test statement for needing staff's input specified, may include in the test statement test script catalogue or The contents such as test item.
Under such published method, staff needs to learn and recite the directive statement of each process, and business is complicated.One Denier staff forgets directive statement, then may result in issuing process and be unable to complete or complete not up to standard, cause to have A little problems will not be found, if these problems cause the product work of client abnormal, it is necessary to spend many moneys of company Source is gone to check, and brings loss to company if problem is serious, and reliability is low.For example, during code tester due to There can be a variety of test items, i.e., multinomial test be carried out to code, therefore it is easy to appear omit test item to staff , cause to test imperfect.Also, in the case where issuing process is incomplete, it may be necessary to staff does over again again, from And time operation cost is increased, reduce code efficiency for issuing.
Also, current published method process not enough standardizes, and whole flow process causes only in accordance with the conscious execution of staff The developer for executing various pieces, which may go beyond one's commission, executes the work of other parts, for example, carrying out pre-release staff The code after the completion of pre- publication may not be sent to next stage after the completion of pre- publication and audited, but be directly published to Main website, leading to the code finally issued, there may be problems, bring loss to company, reliability is low.
Therefore, how to provide that a kind of business is simple, code publishing tool of high reliablity is that those skilled in the art are current Problem to be solved.
Summary of the invention
The object of the present invention is to provide a kind of code publishing tool, staff only needs by triggering display interface Corresponding release processing operation can be performed in the corresponding button, code publishing tool, and business is simple, and issues each mould in process The code that block can only complete itself processing be distributed to the module of next stage, and the publication that cannot bypass the immediate leadership, and improve code and issue The integrity and reliability of process.
In order to solve the above technical problems, the present invention provides a kind of code publishing tools, comprising:
Code release module, code to be released for receiving input;The submission received on triggering code publication interface is pressed After the submission instruction generated after button, this code to be released inputted is sent to test module;
The test module receives the test on triggering test interface for caching the code to be released received After the test instruction generated after button, default test script is called to test the code to be released, and shows test knot Fruit;Receive trigger test on the test interface by generated after button first by instruction after, will currently test to Release code is sent to pre- release module;
The pre- release module receives the pre- hair on the pre- publication interface of triggering for caching the code to be released received After the pre- publication instruction generated after cloth button, default experience script is called to carry out pre- publication operation to the code to be released, and The pre- publication result of display;The pre- publication received on the triggering pre- publication interface passes through instruction by generate after button second Afterwards, current pre-release code to be released is sent to auditing module;
The auditing module for caching the code to be released received, and shows the code to be released that do not issue all Relevant information, after receiving the audit of input by instruction, the audit is sent out by the corresponding code to be released of instruction Cloth.
Preferably, multiple testing buttons are provided on the test interface, chain is connected to pair each testing button respectively The test script answered.
Preferably, the test module specifically includes:
First cache unit for caching the code to be released received, and shows the code to be released that do not test all Mark;
First choice trigger unit, for receiving the first choice instruction generated after triggering mark and triggering test interface Corresponding testing button after after the test instruction that generates, the survey is carried out to the corresponding code to be released of first choice instruction Examination instructs corresponding test, and shows test result;
First results management unit, for receiving generate after testing on the triggering test interface passes through button first After instruction, the code to be released currently tested is sent to the pre- release module.
Preferably, the pre- release module specifically includes:
Second cache unit for caching the code to be released received, and shows all not pre-release generations to be released The mark of code;
Second selection trigger unit, for receiving the second selection instruction generated after triggering mark and the pre- publication interface of triggering On pre- publication button after generate pre- publication instruction after, the corresponding code to be released of second selection instruction is sent out in advance Cloth, and show pre- publication result;
Second results management unit triggers pre- publication on the pre- publication interface by generating after button for receiving After second by instruction, current pre-release code to be released is sent to the auditing module.
Preferably, the code to be released is identified as code release number.
Preferably, the code release module, the test module, the pre- release module and the auditing module are equal Including authorization check unit;
The authorization check unit, for saving the user information with logon rights;Receiving the corresponding display of triggering When the triggering command generated after the button on interface, if being not presently within logging state, login interface is called to be shown;It connects The logging request for receiving input verifies the information in the logging request according to the user information saved, if verification passes through, allows User logs in.
Preferably, further includes:
Release code database, for saving the relevant information of the code after the completion of issuing;
Roll-back module, after receiving the rollback inputted in Data-entry windows on rollback interface instruction, according to described in The information that release code database saves, selection issue the rollback again and instruct corresponding code.
Preferably, the release code database, is also used to:
Save the relevant information for the code that the auditing module is received, publication is unfinished.
Preferably, the test result includes: code release number, code publisher, testing time and every test fortune The state that row is completed.
Preferably, the pre- publication result includes: code release number, code publisher, pre- publication time started, pre- publication End time, pre-release object host, pre- issued state and failure cause.
The present invention provides a kind of code publishing tool, including code release module, test module, pre- release module and Auditing module, each module correspond to chain and are connected to a display interface, are receiving the button touching on itself corresponding display interface After the corresponding instruction generated after hair, corresponding operation is executed.In the process, test module and pre- release module are receiving After corresponding instruction, preset script execution can be called to test and issue in advance operation accordingly;And code release module, test mould Code after the completion of processing can be only sent to next stage module by block, pre- release module.It can be seen that in the present invention, work Personnel do not need input directive statement, but only need to trigger corresponding button, and corresponding operation can be realized, staff's Business is simple, and due to the case where being provided with corresponding button on display interface, reducing omission publication operation appearance, protects The integrality for having demonstrate,proved issuing process is avoided as much as possible the case where doing over again appearance, improves code efficiency for issuing.Also, this hair Code after the completion of there is bright code publishing tool more perfect publication process, modules can only handle itself is sent out Cloth avoids the possibility that staff's leapfrog sends code, ensure that the code finally issued experienced completely to next module Code issue process, reduce code possibility of problems caused by omitting due to issuing process, improve code publication Reliability.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to institute in the prior art and embodiment Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of structural schematic diagram of code publishing tool provided by the invention.
Specific embodiment
Core of the invention is to provide a kind of code publishing tool, and staff only needs by triggering display interface Corresponding release processing operation can be performed in the corresponding button, code publishing tool, and business is simple, and issues each mould in process The code that block can only complete itself processing be distributed to the module of next stage, and the publication that cannot bypass the immediate leadership, and improve code and issue The integrity and reliability of process.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Shown in Figure 1 the present invention provides a kind of code publishing tool, Fig. 1 is a kind of code hair provided by the invention The structural schematic diagram of cloth tool.The code publishing tool includes:
Code release module 1, code to be released for receiving input;The submission received on triggering code publication interface is pressed After the submission instruction generated after button, this code to be released inputted is sent to test module 2;
Test module 2 receives life after the testing button on triggering test interface for caching the code to be released received At test instruction after, call default test script to treat release code and tested, and show test result;Triggering is received to survey After test on examination interface passes through instruction by generate after button first, the code to be released currently tested is sent to pre- hair Cloth module 3;
Pre- release module 3, for caching the code to be released received, the pre- publication received on the pre- publication interface of triggering is pressed After the pre- publication instruction generated after button, calls default experience script to treat release code and carry out pre- publication operation, and show pre- hair Cloth result;After pre- publication on the pre- publication interface of reception triggering passes through instruction by generate after button second, will currently it send out in advance The code to be released of cloth is sent to auditing module 4;
Auditing module 4 for caching the code to be released received, and shows the phase for the code to be released that do not issue all Information is closed, after receiving the audit of input by instruction, audit is issued by the corresponding code to be released of instruction.
Wherein, pre- publication refers to after the completion of code tester, before the formal publication of investment, needs code preset It experiences and carries out trial operation in environment, preset experience environment also known as experiences station, is the mould according to actual publication environment construction The case where quasi- scene, simulation code is issued in this scene, checks whether the case where publication failure occur and analysis failure is former Cause, such as do not connect host etc..Carry out it is pre-release the reason is that because when practical publication can there is a problem of it is various, perhaps More problems, which only pass through test, to be found out, and code is run in the experience environment of the practical publication environment of simulation Afterwards, then the case where being likely to occur when can find out many practical applications, to further be carried out to code perfect.It is pre-release Operating before the practical publication of code is an operation for having to carry out, in order to guarantee the reliability of code.
And audit, it refers to showing that the code can carry out practical hair after code has passed through test and pre- publication Substantially no longer there is problem in cloth, but since different companies needs are different, such as some companies are set with specific code Issuing time can not be issued in advance, if therefore code issue in advance after the completion of i.e. issued at once, will affect the normal of company Business arrangement causes damages, therefore needs to be audited before code publication, determines and carries out again after current code has allowed for publication Publication can guarantee the reliability of code publication in this way.
It is understood that code release module 1, test module 2, pre- release module 3 and the equal chain of auditing module 4 are connected to Corresponding display interface and corresponding script, pair generated after receiving the button triggering on itself corresponding display interface After should instructing, corresponding operation is executed.It can be seen that staff does not need input directive statement, but only needs in the present invention Corresponding button is triggered, corresponding operation can be realized, the business of staff is simple, and due to being provided on display interface Corresponding button, the operation button that staff triggers required for capable of being immediately seen, therefore, there is no need to staff on one's own account Memory come select input operational order, therefore reduce omission operation the case where appearance, ensure that the integrality of issuing process, It is avoided as much as possible the case where doing over again appearance, improves code efficiency for issuing.
Also, code publishing tool of the invention has more perfect publication process, and modules are issued according to code The sequence of the pre- release module 3- auditing module 4 of module 1- test module 2- is operated, and previous module will can be only in certainly Code after the completion of reason is distributed to next module, can not sequentially overturn, and also not can skip some module and sends code, and only Auditing module 4 can issue the code that audit passes through.It can be seen that such publication process avoids staff and gets over Grade sends the possibility of code, can guarantee that the code finally issued experienced complete code publication process, reduce due to hair Code possibility of problems caused by cloth process is omitted, improves the reliability of code publication.
Specifically, code input window or code path window, code can be set on code publication interface of the invention Input window is for directly inputting code to be released, the road that code path window can be saved for user's input code for user Diameter, subsequent code release module 1 can obtain previously stored code to be released according to the path.It is specifically defeated using which kind of mode Enter the code present invention to be released to be not construed as limiting.But due to code release number has more important meaning for code identification, Therefore code publication interface usually also needs to set version definition window, for inputting code to be released currently entered for user Version number.In addition, can also include following window on code publication interface: website updates (for inputting under code to be released The website that one stepping enters), code update reason, code publisher, code update reason etc..I.e. for a user, code is sent out The usage mode of cloth module 1 is: inputting corresponding content in each window at code publication interface, triggering is submitted and pressed later Button forms the code of a testing station version, and the code of the testing station version is sent to test module 2 later.Certainly, this hair How bright not restricted code publication interface is specifically arranged, as long as it can input generation to be released comprising submitting button and for user The window of code.
In a specific embodiment, multiple testing buttons are provided on test interface, each testing button links respectively There is corresponding test script.
Since different code needs test item to be tested very much, if a testing button is only arranged, and by whole needs If all the same test script is written in the part of test, then it will lead to each code and carried out whole test item surveys Examination, but therefore the test item that partial code may not need test whole it is long to will lead to the testing time in this way;And it will If same test script is written in whole test contents, when also resulting in test process confusion, and being checked according to test result, Also it is not easy to analyze the code segment for leading to mistake, brings difficulty to code amendment.Therefore, the present embodiment is by each test item It separates, multiple testing buttons, the corresponding test script of each testing button is respectively set, different test scripts corresponds to not Same test item, so that staff can test according to the customized suitable test item of selection of type of code, Avoid the waste of useless testing time;Also, the test result under this test mode is more targeted, more convenient work Make the error correction that personnel carry out code according to test result.For example, two testing buttons: interface can be set on test interface Testing button and web testing button.
User can be tested by clicking corresponding testing button, show test result later, user is according to test As a result pass through button to choose whether triggering test, user triggers test by testing the code meeting to be released passed through after button Pre- release module 3 is sent to, in addition, due to needing staff to learn that code tests whether to pass through, it is therefore desirable to test boundary Setting test does not show that test does not pass through if user triggers test not by button by button on face, returns to test and does not lead to The response crossed is to code release module 1, comprising not passing through the marking code of test (such as version in the unsanctioned response of the test Number etc.).Certainly, when test is toggled by button, the response that passes through of test can also be sent to code release module 1, It tests in the response passed through also comprising the marking code by test.Certainly, this is not limited by the present invention.
In addition, may also display the content of code to be released on test interface, for staff according to test result to its into Row analysis, certainly, what the present invention did not limited test interface is particularly shown content.
Wherein, the test result in the present invention includes: code release number, code publisher, testing time and every survey The state that trial operation is completed.Test result further includes the content and code operation result of every test.Certainly, the present invention is unlimited Determine the particular content that test result includes.
In a specific embodiment, test module 2 specifically includes:
First cache unit for caching the code to be released received, and shows the code to be released that do not test all Mark;
First choice trigger unit, for receiving the first choice instruction generated after triggering mark and triggering test interface Corresponding testing button after after the test instruction that generates, instruct corresponding code to be released to carry out test instruction pair first choice The test answered, and show test result;
First results management unit passes through for receiving the test on triggering test interface by generate after button first After instruction, the code to be released currently tested is sent to pre- release module 3.
It is understood that since test needs the regular hour, it, can when test module 2 not yet tests completion Multiple codes that the transmission of code release module 1 can be received, at this point, the code quantity that do not test in test module 2 will be more than One.Due to consideration that the problems such as power consumption, the usual synchronization of code tester only tests a code, therefore, this In the case of, it needs to cache these codes to be released first, is selected later for user according to the mark of each code to be released, Then selected code to be released is tested.It is manual not need user when needing to carry out code tester for this mode The mark of code to be released to be tested is thought in input, but is directly clicked from test interface, and work people is simplified The operation of member, does not need staff yet and goes to remember the mark of each code to be released, simplify the complexity of business.
In addition, publication result may include: code release number, code publisher, pre- publication time started, pre- publication knot in advance Beam time, pre-release object host (pre- distribution site in other words), pre- issued state and failure cause.Certainly, pre- publication It as a result also may include other content, this is not limited by the present invention.It is exemplified by Table 1, table 1 is a kind of pre- publication provided by the invention The results list.
A kind of pre- publication the results list provided by the invention of table 1
Wherein, publication result can be saved in table form in advance, can also be saved with other textual forms, this hair The bright preservation form for not limiting pre- publication result.
In another embodiment, pre- release module 3 specifically includes:
Second cache unit for caching the code to be released received, and shows all not pre-release generations to be released The mark of code;
Second selection trigger unit, for receiving the second selection instruction generated after triggering mark and the pre- publication interface of triggering On pre- publication button after generate pre- publication instruction after, code to be released corresponding to the second selection instruction is issued in advance, And show pre- publication result;
Second results management unit, for receive the pre- publication on the pre- publication interface of triggering by generated after button second After instruction, current pre-release code to be released is sent to auditing module 4.
It is understood that the regular hour is needed due to issuing in advance, it has not yet been issued in advance in pre- release module 3 Cheng Shi is likely to be received multiple codes of the transmission of test module 2, at this point, not pre-release code quantity is just in pre- release module 3 It can be more than one.Since code is issued in advance in the experience environment of the practical publication environment of simulation, in view of pre- hair The problems such as resource consumption that cloth experience environment can undertake, code is issued usual synchronization in advance and is only sent out in advance a code Therefore cloth in this case, needs to cache these codes to be released first, later for user according to each code to be released Mark is selected, and is then issued in advance to selected code to be released.This mode is issued in advance needing to carry out code When, it does not need user and is manually entered the mark for wanting pre-release code to be released, but directly carried out from pre- publication interface Click, simplifies the operation of staff, does not also need staff and goes to remember the mark of each code to be released, simplifies The complexity of business.
Specifically, can be set on publication interface in advance prerelease version window and pre- distribution site window and pre- publication by Button, the course of work of pre- release module 3 is as follows at this time:
Staff is received to trigger after prerelease version window after the first menu instructions for generating, can call version list with The form of drop-down menu is shown on publication interface in advance, is selected for staff, is received staff and is triggered the drop-down After the version selection instruction generated after version number in menu, pre- release module 3 can learn the selected version number of staff; After reception staff triggers the second menu instructions generated after pre- distribution site window, meeting call site list is with drop-down menu Form in advance publication interface on shown, for staff select, receive staff trigger in the drop-down menu After the website selection instruction generated after website, pre- release module 3 can learn the selected website of staff;Work is received later After making the pre- pre- publication instruction for issuing button generation of personnel's triggering, pre- release module 3 can be adjusted according to the version number that learn before With corresponding code information, the code information of the calling is issued later in advance on the website learnt before, completes pre- hair Cloth operation.
In a preferred embodiment, code to be released is identified as code release number.
It is understood that code release number is uniquely corresponding with code, code is every once to be uploaded, the version number of code It will increase a numerical value, also, code release number is also possible to carry the type of code, therefore, i.e. according to code release number Different code contents can be distinguished.
In an advantageous embodiment, code release module 1, test module 2, pre- release module 3 and auditing module 4 are equal Including authorization check unit;
Authorization check unit, for saving the user information with logon rights;Corresponding display interface is triggered receiving On button after generate triggering command when, if being not presently within logging state, login interface is called to be shown;It receives defeated The logging request entered allows user to step on according to the information in the user information verification logging request saved if verification passes through Record.
It is understood that in practical applications, publication, test, pre- publication and the audit of code are by different What department carried out, each department ought to only handle the action of oneself department, if having staff is trans-departmental to perform other If the content of department, since these staff may and not know about the job requirement of other departments, accordingly, it is possible to lead to it The content of trans-departmental execution affects normal code publication process.In order to avoid such case, need for the setting of each module Authorization check unit, avoid appearance between different departments privately trans-departmental processing work the case where, guarantee each of each code A process meets normal workflow, guarantees the normal publication of code.
Preferably, the code publishing tool further include:
Release code database, for saving the relevant information of the code after the completion of issuing;
Roll-back module, after receiving the rollback inputted in Data-entry windows on rollback interface instruction, according to described in The information that release code database saves, selection issue the rollback again and instruct corresponding code.
It is understood that code is after distribution, in fact it could happen that situations such as running undesirably, user may at this time Wish to restore to the code of version before, which becomes rolling back action.In order to realize the purpose of rollback, it is necessary first to save each The relevant information for the code that a publication is completed, relevant information here includes the content of code, code release number, in addition can also be wrapped Include the issuing time etc. of each code.Need to carry the version number for wanting the code rolled back in the rollback instruction of input, i.e., Want to roll back to the code of which version.In addition, in a preferred embodiment, can be recorded to rolling back action, save each The relevant information of rolling back action, wherein the relevant information of rolling back action includes rollback time started, rollback end time, rollback Version number, rollback state and rollback website etc. after preceding version number, rollback, or also may include the information such as responsible person.Here Rollback website refers to the website that code is issued, since code needs to be issued on website, it is therefore desirable to learn desired The website issued.In order to facilitate understanding, by taking table 2 as an example, table 2 is a kind of relevant information of rolling back action provided by the invention List.
A kind of list of relevant information of rolling back action provided by the invention of table 2
Wherein, the correlation of the rolling back action of the relevant information and subsequent preservation of the code saved in release code database Information can be saved in table form, can also be saved with other textual forms, the present invention does not limit both the above The preservation form of relevant information.
In addition, Data-entry windows are arranged using on rollback interface in the present embodiment, for staff from the window The mode of input rollback instruction in mouthful.In other embodiments, rollback version window can also be respectively set on rollback interface With rollback website window and rollback submitting button, the course of work of roll-back module is as follows at this time:
After receiving the third menu instructions generated after staff's triggering rollback version window, version list or less can be called It draws the form of menu to be shown on rollback interface, is selected for staff, receive staff and trigger the drop-down menu In version number after after the version selection instruction that generates, roll-back module can learn the selected version number of staff;Receive work Make personnel to trigger after rollback website window after the 4th menu instructions that generate, can call site list in the form of drop-down menu Rollback is shown on interface, is selected for staff, is received after staff triggers the website in the drop-down menu and is generated Website selection instruction after, roll-back module can learn the selected website of staff;Staff is received later to trigger back After the rollback submission instruction for rolling submitting button generation, roll-back module can call release code number according to the version number that learn before According to the code information that library saves, the code information of the calling is issued later again on the website learnt before, is completed Rolling back action.
Further, above-mentioned release code database, be also used to save the auditing module 4 it is received, publication do not complete Code relevant information.
It is understood that the code that publication here does not complete refers in issuing process or issues failure Code also saves the received relevant information for being in the code that in publication or publication fails of auditing module 4, Neng Goufang Continue staff after an action of the bowels to check and analyze according to these information.
In addition, also can be reserved for the characteristic information for having code in release code database, these information can be with the shape of list Formula saves, naturally it is also possible to which the form of text saves, and this is not limited by the present invention.This feature information includes the hair of each code Cloth state, submission time, audit time, issuing time, responsible person.Distribution site and version number etc..It certainly, also may include it His feature, for facilitating user to quickly understand the publication situation of each code.By taking table 3 as an example, table 3 is one kind provided by the invention Code characteristic information list.
A kind of code characteristic information list provided by the invention of table 3
Wherein, Django can be used to construct the background service of code publishing tool, Django python in the present invention A web framework.Version and rollback version etc. can be marked using Git.Operation maintenance personnel is allowed to write using Bootstrap Website backstage UI it is more professional.Using Rsync come synchronizing code to server (i.e. main website or host).Certainly, specific to use Which kind of writes language and authoring tool to realize each section content in the present invention, and this is not limited by the present invention.
Above several specific embodiments are only the preferred embodiment of the present invention, and above several specific embodiments can be with Any combination, the embodiment obtained after combination is also within protection scope of the present invention.It should be pointed out that for the art For those of ordinary skill, relevant speciality technical staff deduced out in the case where not departing from spirit of that invention and concept thereof other change Into and variation, should all be included in the protection scope of the present invention.
It should also be noted that, in the present specification, the terms "include", "comprise" or its any other variant are intended to contain Lid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.

Claims (10)

1. a kind of code publishing tool characterized by comprising
Code release module, code to be released for receiving input;After receiving the submitting button on triggering code publication interface After the submission instruction of generation, this code to be released inputted is sent to test module;
The test module receives the testing button on triggering test interface for caching the code to be released received After the test instruction generated afterwards, default test script is called to test the code to be released, and show test result;It connects Receive trigger the test on the test interface by generated after button first by instruction after, the generation to be released that will currently test Code is sent to pre- release module;
The pre- release module, for caching the code to be released received, the pre- publication received on the pre- publication interface of triggering is pressed After the pre- publication instruction generated after button, default experience script is called to carry out pre- publication operation to the code to be released, and show Pre- publication result;Receive pre- publication on the triggering pre- publication interface by generate after button second by instruction after, will Current pre-release code to be released is sent to auditing module;
The auditing module for caching the code to be released received, and shows the phase for the code to be released that do not issue all Information is closed, after receiving the audit of input by instruction, the audit is issued by the corresponding code to be released of instruction.
2. code publishing tool according to claim 1, which is characterized in that be provided with multiple tests on the test interface Button, chain is connected to corresponding test script to each testing button respectively.
3. code publishing tool according to claim 1 or 2, which is characterized in that the test module specifically includes:
First cache unit for caching the code to be released received, and shows the mark for the code to be released that do not test all Know;
First choice trigger unit, for receiving the phase on the first choice instruction generated after triggering mark and triggering test interface After answering the test generated after testing button to instruct, the test is carried out to the corresponding code to be released of first choice instruction and is referred to Corresponding test is enabled, and shows test result;
First results management unit passes through for receiving the test on the triggering test interface by generate after button first After instruction, the code to be released currently tested is sent to the pre- release module.
4. code publishing tool according to claim 3, which is characterized in that the pre- release module specifically includes:
Second cache unit for caching the code to be released received, and shows whole not pre-release codes to be released Mark;
Second selection trigger unit, for receiving on the second selection instruction generated after triggering mark and the pre- publication interface of triggering After the pre- publication instruction generated after pre- publication button, the corresponding code to be released of second selection instruction is issued in advance, And show pre- publication result;
Second results management unit, for receive trigger the pre- publication on the pre- publication interface by generate after button second After instruction, current pre-release code to be released is sent to the auditing module.
5. code publishing tool according to claim 4, which is characterized in that the code to be released is identified as code version This number.
6. code publishing tool according to claim 1, which is characterized in that the code release module, the test mould Block, the pre- release module and the auditing module include authorization check unit;
The authorization check unit, for saving the user information with logon rights;Corresponding display interface is triggered receiving On button after generate triggering command when, if being not presently within logging state, login interface is called to be shown;It receives defeated The logging request entered verifies the information in the logging request according to the user information saved, if verification passes through, allows user It logs in.
7. code publishing tool according to claim 1, which is characterized in that further include:
Release code database, for saving the relevant information of the code after the completion of issuing;
Roll-back module, after receiving the rollback inputted in Data-entry windows on rollback interface instruction, according to the publication The information that code database saves, selection issue the rollback again and instruct corresponding code.
8. code publishing tool according to claim 7, which is characterized in that the release code database is also used to:
Save the relevant information for the code that the auditing module is received, publication is unfinished.
9. code publishing tool according to claim 1, which is characterized in that the test result include: code release number, The state that code publisher, testing time and every test run are completed.
10. code publishing tool according to claim 1, which is characterized in that the pre- publication result includes: code release Number, code publisher, pre- publication time started, pre- publication end time, pre-release object host, pre- issued state and mistake Lose reason.
CN201811188735.6A 2018-10-12 2018-10-12 A kind of code publishing tool Pending CN109408065A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811188735.6A CN109408065A (en) 2018-10-12 2018-10-12 A kind of code publishing tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811188735.6A CN109408065A (en) 2018-10-12 2018-10-12 A kind of code publishing tool

Publications (1)

Publication Number Publication Date
CN109408065A true CN109408065A (en) 2019-03-01

Family

ID=65467847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811188735.6A Pending CN109408065A (en) 2018-10-12 2018-10-12 A kind of code publishing tool

Country Status (1)

Country Link
CN (1) CN109408065A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096284A (en) * 2019-04-19 2019-08-06 北京金山云网络技术有限公司 A kind of method, apparatus, electronic equipment and the storage medium of visualization publication software
CN110187914A (en) * 2019-05-23 2019-08-30 杭州火小二科技有限公司 Application and development method, system and device
CN110275826A (en) * 2019-05-20 2019-09-24 平安普惠企业管理有限公司 Automated testing method, device and computer readable storage medium
CN110865934A (en) * 2019-10-08 2020-03-06 北京百度网讯科技有限公司 Code verification method and device, electronic equipment and readable storage medium
CN111324530A (en) * 2020-02-03 2020-06-23 京东数字科技控股有限公司 Pre-issuance testing method, device, equipment and storage medium
CN111782197A (en) * 2020-08-03 2020-10-16 网易(杭州)网络有限公司 Resource publishing method and device
CN111984268A (en) * 2020-08-20 2020-11-24 第四范式(北京)技术有限公司 Application publishing method and application publishing platform
CN113094066A (en) * 2021-03-16 2021-07-09 北京优奥创思科技发展有限公司 Multi-server code publishing method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473076A (en) * 2013-09-25 2013-12-25 中国联合网络通信集团有限公司 Issuing method and issuing system for code version
CN104809019A (en) * 2015-05-19 2015-07-29 郑州悉知信息技术有限公司 Web page code publishing method and system
CN105786495A (en) * 2016-02-24 2016-07-20 中国联合网络通信集团有限公司 Software issuing system, method and system
CN106293811A (en) * 2016-07-28 2017-01-04 北京中电普华信息技术有限公司 A kind of packing and issuing method and device automatically
CN106775602A (en) * 2015-11-20 2017-05-31 北京国双科技有限公司 A kind of code dissemination method and device
CN107315687A (en) * 2017-06-29 2017-11-03 环球智达科技(北京)有限公司 Code method for automatically releasing
CN107402765A (en) * 2017-07-27 2017-11-28 郑州云海信息技术有限公司 A kind of code inspection dissemination method and system
CN107463362A (en) * 2016-06-03 2017-12-12 北京京东尚科信息技术有限公司 The method and system of lasting deployment based on multiple Jenkins

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473076A (en) * 2013-09-25 2013-12-25 中国联合网络通信集团有限公司 Issuing method and issuing system for code version
CN104809019A (en) * 2015-05-19 2015-07-29 郑州悉知信息技术有限公司 Web page code publishing method and system
CN106775602A (en) * 2015-11-20 2017-05-31 北京国双科技有限公司 A kind of code dissemination method and device
CN105786495A (en) * 2016-02-24 2016-07-20 中国联合网络通信集团有限公司 Software issuing system, method and system
CN107463362A (en) * 2016-06-03 2017-12-12 北京京东尚科信息技术有限公司 The method and system of lasting deployment based on multiple Jenkins
CN106293811A (en) * 2016-07-28 2017-01-04 北京中电普华信息技术有限公司 A kind of packing and issuing method and device automatically
CN107315687A (en) * 2017-06-29 2017-11-03 环球智达科技(北京)有限公司 Code method for automatically releasing
CN107402765A (en) * 2017-07-27 2017-11-28 郑州云海信息技术有限公司 A kind of code inspection dissemination method and system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096284A (en) * 2019-04-19 2019-08-06 北京金山云网络技术有限公司 A kind of method, apparatus, electronic equipment and the storage medium of visualization publication software
CN110096284B (en) * 2019-04-19 2023-06-02 北京金山云网络技术有限公司 Method and device for visually releasing software, electronic equipment and storage medium
CN110275826A (en) * 2019-05-20 2019-09-24 平安普惠企业管理有限公司 Automated testing method, device and computer readable storage medium
CN110187914B (en) * 2019-05-23 2023-05-26 杭州火小二科技有限公司 Application development method, system and device
CN110187914A (en) * 2019-05-23 2019-08-30 杭州火小二科技有限公司 Application and development method, system and device
CN110865934A (en) * 2019-10-08 2020-03-06 北京百度网讯科技有限公司 Code verification method and device, electronic equipment and readable storage medium
CN110865934B (en) * 2019-10-08 2023-10-27 北京百度网讯科技有限公司 Code verification method, device, electronic equipment and readable storage medium
CN111324530A (en) * 2020-02-03 2020-06-23 京东数字科技控股有限公司 Pre-issuance testing method, device, equipment and storage medium
CN111324530B (en) * 2020-02-03 2023-12-05 京东科技控股股份有限公司 Prefire testing method, prefire testing device, prefire testing equipment and storage medium
CN111782197A (en) * 2020-08-03 2020-10-16 网易(杭州)网络有限公司 Resource publishing method and device
CN111782197B (en) * 2020-08-03 2023-12-29 网易(杭州)网络有限公司 Resource release method and device
CN111984268A (en) * 2020-08-20 2020-11-24 第四范式(北京)技术有限公司 Application publishing method and application publishing platform
CN113094066A (en) * 2021-03-16 2021-07-09 北京优奥创思科技发展有限公司 Multi-server code publishing method and system
CN113094066B (en) * 2021-03-16 2024-03-26 北京优奥创思科技发展有限公司 Multi-server code release method and system

Similar Documents

Publication Publication Date Title
CN109408065A (en) A kind of code publishing tool
US10127141B2 (en) Electronic technology resource evaluation system
US10114738B2 (en) Method and system for automatic generation of test script
US9836710B2 (en) Resource planning for data protection validation
EP2778929B1 (en) Test script generation system
US8104020B2 (en) Method and system to automate software testing using sniffer side and browser side recording and a toolbar interface
CN104021080B (en) Automatic testing system based on custom scripts
US10176079B2 (en) Identification of elements of currently-executing component script
CN108959068A (en) Software interface test method, equipment and storage medium
US20090271351A1 (en) Rules engine test harness
US20140181793A1 (en) Method of automatically testing different software applications for defects
KR20210049033A (en) Method for fault injection, device, electronic equipment and storage medium
CN104123219A (en) Method and device for testing software
CN107832207A (en) Interface performance test method, apparatus, storage medium and computer equipment
US11507497B2 (en) Methods and systems for automated testing using browser extension
US11138097B2 (en) Automated web testing framework for generating and maintaining test scripts
US10990359B2 (en) Use and advancements of assistive technology in automation for the visually-impaired workforce
CN110716853A (en) Test script recording method, application program testing method and related device
CN109712037B (en) Intelligent law enforcement system based on standardized panoramic business process
CN102053903A (en) Method and system for storing and querying scene data for on-line operation programs
US20100064178A1 (en) World-Readiness and Globalization Testing Assemblies
CN106897207A (en) Ui testing method and apparatus
CN107729019A (en) Method, apparatus, equipment and the computer-readable storage medium of version deployment
CN111538659B (en) Interface testing method, system, electronic equipment and storage medium of business scene
JP2017016507A (en) Test management system and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190301