CN107678969A - Beta version dissemination method, device, Version Control equipment and test machine - Google Patents

Beta version dissemination method, device, Version Control equipment and test machine Download PDF

Info

Publication number
CN107678969A
CN107678969A CN201710972364.XA CN201710972364A CN107678969A CN 107678969 A CN107678969 A CN 107678969A CN 201710972364 A CN201710972364 A CN 201710972364A CN 107678969 A CN107678969 A CN 107678969A
Authority
CN
China
Prior art keywords
issue
parameter
target detection
version
detection machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710972364.XA
Other languages
Chinese (zh)
Other versions
CN107678969B (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.)
Alibaba China Co Ltd
Original Assignee
Guangdong Shenma Search 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 Guangdong Shenma Search Technology Co Ltd filed Critical Guangdong Shenma Search Technology Co Ltd
Priority to CN201710972364.XA priority Critical patent/CN107678969B/en
Publication of CN107678969A publication Critical patent/CN107678969A/en
Application granted granted Critical
Publication of CN107678969B publication Critical patent/CN107678969B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/368Test management for test version control, e.g. updating test cases to a new software version

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention provides a kind of beta version dissemination method, device, Version Control equipment and test machine.The present invention is by Version Control device after issue parameter corresponding to the new beta version file and download link is obtained, redaction including the issue parameter and the download link is sent to the target detection machine according to the issue parameter and issues instruction, to trigger the target detection machine when being connected to the redaction issue instruction, according to the issue parameter and download link operation predetermined system service, so as to when the target detection machine runs the predetermined system service, it is automatically performed the issue of the new beta version file, realize the automatic issue to new beta version file, complete to issue without developer's remote control target detection machine, simplify the issuing process of new beta version file, reduce the workload of developer, and improve efficiency for issuing.

Description

Beta version dissemination method, device, Version Control equipment and test machine
Technical field
The present invention relates to software testing technology field, more particularly to a kind of beta version dissemination method, device, Version Control Equipment and test machine.
Background technology
With abundant, the complexity more and more higher of Software Development of software product function.Big-and-middle-sized software product Completed it is generally necessary to be developed by multiple programmers.Development environment, collection can be typically related in the life cycle of conventional software exploitation Into test environment and production environment.Each developer completes the programming of portion of program code in the development environment of local, will be complete Into program code be submitted to the version control systems such as Gitlab, version control system collects the program generation that each programmer submits Code, and the program code after collecting is submitted to the integration tools such as Jenkins, compiled by integration tool according to current program code Generation executable file is translated, and executable file packing is generated into new beta version file, and new beta version file Download link.The download link of new beta version file is shown to front end page by integration tool, so that developer checks. Then by developer by hand by new beta version file distribution to test machine.
In order to protect the safety of test machine, the access rights for often setting test machine are only to pass through default springboard machine ability Access, developer must first log into springboard machine, then sign in test machine by springboard machine.In order to protect the peace of test machine Entirely, the checking information such as the login password of usual springboard machine or login string code usually requires to carry out the cycle with a shorter cycle Property dynamic renewal, for example, it is per minute renewal login password.In the time that beta version renewal needs commonly greater than one The cycle of springboard machine checking information renewal, therefore, it is necessary to repeatedly log in springboard machine and survey in beta version issuing process is carried out Test-run a machine.
Existing beta version dissemination method, it is by developer after download link is seen, is signed in by springboard machine Test machine with corresponding test environment, remote control test machine complete the issue of new beta version by procedure below:Root New beta version file is downloaded from integration tool according to download link, the beta version file of download is deployed to test machine respectively On corresponding catalogue under, and restart corresponding service manually after the completion of deployment, completed after server resets success new The issue of beta version.The issue of beta version is manually completed by each developer, operating process is very cumbersome, into beta version Efficiency for issuing it is low.
The content of the invention
The present invention provides a kind of beta version dissemination method, device, Version Control equipment and test machine, to solve by each Developer manually completes the issue of beta version, and operating process is very cumbersome, into beta version efficiency for issuing it is low the problem of.
The first aspect of the invention is to provide a kind of beta version dissemination method, including:
Newest program code is being compiled as executable file and executable file packing is generated into new test After the download link of version file and the new beta version file, Version Control device obtains the new beta version Issue parameter corresponding to file, the issue parameter comprise at least the test environment parameter of target detection machine;
The Version Control device sends redaction issue instruction according to the issue parameter to the target detection machine, described Redaction issue instruction includes the issue parameter and download link, with trigger the target detection machine be connected to it is described newly During version issue instruction, predetermined system service is run according to the issue parameter and the download link, so as in the target When test machine runs the predetermined system service, the issue of the new beta version file is automatically performed.
The second aspect of the invention is to provide a kind of beta version dissemination method, including:
Target detection machine receives redaction issue instruction, and the redaction issue instruction includes issuing parameter and new test The download link of version file, the issue parameter comprise at least the test environment parameter of the target detection machine;
When being connected to the redaction issue instruction, the target detection machine is according to the issue parameter and the download chain Operation predetermined system service is connect, so as to be automatically performed the new beta version file when running the predetermined system service Issue.
The third aspect of the invention is to provide a kind of beta version distributing device, including:
Acquisition module, for newest program code to be compiled as into executable file and is beating the executable file After bag generates the download link of new beta version file and the new beta version file, Version Control device obtains institute Issue parameter corresponding to new beta version file is stated, the test environment that the issue parameter comprises at least target detection machine is joined Number;
Release module, redaction is sent to the target detection machine according to the issue parameter for the Version Control device Issue instruction, the redaction issue instruction includes the issue parameter and the download link, to trigger the target detection Machine runs predetermined system service when being connected to the redaction issue instruction according to the issue parameter and the download link, So as to when the target detection machine runs the predetermined system service, be automatically performed the hair of the new beta version file Cloth.
The fourth aspect of the invention is to provide a kind of beta version distributing device, including:
Receiving module, redaction issue instruction is received for target detection machine, the redaction issue instruction includes issue The download link of parameter and new beta version file, the issue parameter comprise at least the test environment of the target detection machine Parameter;
Release module, for when being connected to the redaction issue instruction, the target detection machine to be joined according to the issue Number and download link operation predetermined system service, so as to run be automatically performed during predetermined system service it is described new The issue of beta version file.
The fifth aspect of the invention is to provide a kind of Version Control equipment, including:Memory, processor;
Memory;For storing the memory of the processor-executable instruction;
Wherein, the processor is configured as:Above-mentioned offer on one side is provided when performing the executable instruction Beta version dissemination method.
The sixth aspect of the invention is to provide a kind of test machine, including:Memory, processor;
Memory;For storing the memory of the processor-executable instruction;
Wherein, the processor is configured as:Realize that above-mentioned second aspect provides when performing the executable instruction Beta version dissemination method.
Beta version dissemination method, device, Version Control equipment and test machine provided by the invention, pass through Version Control device After obtaining issuing parameter and download link corresponding to the new beta version file, according to the issue parameter to described Target detection machine sends the redaction including the issue parameter and the download link and issues instruction, is surveyed with triggering the target Test-run a machine is when being connected to the redaction issue instruction, according to the issue parameter and download link operation predetermined system clothes Business, so as to when the target detection machine runs the predetermined system service, be automatically performed the new beta version file Issue, realizes the automatic issue to new beta version file, completes to send out without developer's remote control target detection machine Cloth, the issuing process of new beta version file is simplified, reduces the workload of developer, and improve issue effect Rate.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the present invention Example, and for explaining principle of the invention together with specification.
Fig. 1 is the flow chart for the beta version dissemination method that the embodiment of the present invention one provides;
Fig. 2 is the beta version dissemination method flow chart that the embodiment of the present invention two provides;
Fig. 3 is the flow chart for the beta version dissemination method that the embodiment of the present invention three provides;
Fig. 4 is the structural representation for the beta version distributing device that the embodiment of the present invention four provides;
Fig. 5 is the structural representation for the beta version distributing device that the embodiment of the present invention five provides;
Fig. 6 is the structural representation for the beta version distributing device that the embodiment of the present invention six provides;
Fig. 7 is the structural representation for the Version Control equipment that the embodiment of the present invention seven provides;
Fig. 8 is the structural representation for the test machine that the embodiment of the present invention provides.
Pass through above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the present invention, will hereinafter be described in more detail.These accompanying drawings It is not intended to limit the scope of present inventive concept by any mode with word description, but is by reference to specific embodiment Those skilled in the art illustrate idea of the invention.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
Noun involved in the present invention is explained first:
Software test:Refer to the process of a kind of correctness, integrality, security and quality for being used for promoting identification software. In other words, software test is the examination & verification between a kind of reality output and anticipated output or comparison procedure.The warp of software test Allusion quotation defines:Program is operated under the conditions of defined, with discovery procedure mistake, weighs software quality, and to its whether The process that design requirement is assessed can be met.
Beta version:Refer to, typically only in software supplier's internal operation, not external disclosure, be served only for developer oneself Product is tested, checks product with the presence or absence of defect, mistake, checking product function and specification, user's manual whether one The version of the software product of cause.
Beta version file:Refer to the compressed package generated after the file destination packing by a certain beta version of software product File.
System service (system services):Refer to program, routine or the process for performing appointing system function, so as to Support other programs.
Version Control device:Refer to the computer equipment where the integration tools such as Jenkins.
These specific embodiments can be combined with each other below, may be at certain for same or analogous concept or process Repeated no more in a little embodiments.Below in conjunction with accompanying drawing, embodiments of the invention are described.
Embodiment one
Fig. 1 is the flow chart for the beta version dissemination method that the embodiment of the present invention one provides.The embodiment of the present invention is for existing There is the issue for manually completing beta version in technology by each developer, operating process is very cumbersome, into the issue of beta version The problem of efficiency is low, there is provided beta version dissemination method.As shown in figure 1, this method comprises the following steps that:
Step S101, newest program code is being compiled as executable file and generated executable file packing new Beta version file and new beta version file download link after, Version Control device obtains new beta version herein Issue parameter corresponding to part, issue parameter comprise at least the test environment parameter of target detection machine.
In actual applications, it will usually by the newest program code compiling generation executable file of software product, and will Executable file packing generates new beta version file.When issuing new beta version file, first have to new test Version file is decompressed, and obtains executable file;Then executable file is deployed under the corresponding catalogue of target detection machine; And corresponding service is restarted after the completion of deployment, the issue of new beta version is completed after server resets success.
In the present embodiment, issue parameter refers to soft corresponding to new beta version file corresponding to new beta version file Part product issue be need issue parameter, including at least the software product corresponding to new beta version file to be released Required test environment parameter.It that is to say, issue parameter comprises at least the test environment parameter of target detection machine.Generally, no With the issue environment difference that is applicable of software product, therefore when testing software product, it is necessary to by software product pair The new beta version file distribution answered is on the target detection machine with corresponding test environment.In order to ensure to software product Proper testing, in the present embodiment, obtain test environment parameter corresponding to new beta version file to be released first, then New beta version file distribution is carried out to target detection machine according to issue parameter.
In addition, issue parameter is additionally may included in the deployment catalogue ginseng needed in the issuing process of new beta version file Number.
Specifically, Version Control device, which obtains issue parameter corresponding to new beta version file, can specifically use such as lower section Formula is realized:
Version Control device has prestored the issue parameter of each software product, obtains the new beta version stored herein The issue parameter of software product corresponding to part, issue parameter corresponding to new beta version file is just obtained.Or version control Device processed provides information input area to developer, what reception developer or post staff inputted in the information input area Issue parameter.Or Version Control device sends issue parameter acquiring request from default configuration server, issue parameter acquiring please Asking includes the mark of software product corresponding to new beta version file, so that default configuration server is anti-to Version Control device Present issue parameter corresponding to new beta version file.
Step S102, Version Control device sends redaction issue instruction, redaction according to issue parameter to target detection machine Issue instruction includes issuing parameter and download link, to trigger target detection machine when being connected to redaction issue instruction, according to hair Cloth parameter and download link operation predetermined system service, so as to which target detection machine is when running predetermined system service, it is automatically performed The issue of new beta version file.
Wherein, predetermined system service is the issue parameter according to software product by technical staff, in corresponding target detection The executable program write in advance on machine.When target detection machine runs predetermined system service operation, following issue is automatically performed The process of new beta version file:
Target detection machine downloads new beta version file from Version Control device according to download link, by the beta version of download This document is decompressed to default first catalogue;Then target detection machine obtains deployment catalogue ginseng corresponding to new beta version file Number, the executable file in default first catalogue obtained after decompression is deployed on target detection machine and disposes catalogue parameter Under corresponding second catalogue;System service corresponding to preset service mark is restarted after the completion of deployment, success is restarted in system service The issue of new beta version is completed afterwards.
Wherein, the mark of system service restarted is needed when preset service mark can be beta version file distribution, can To be preset by technical staff according to actual conditions.For example, it is assumed that need to restart Tomcat clothes during beta version file distribution Business, and be configured on current goal test machine be entitled Tomcat7.exe system service, then can be by default clothes Business flag is " Tomcat7.exe " or " Tomcat7 ".
The embodiment of the present invention is obtaining issuing parameter and download corresponding to new beta version file by Version Control device After link, the redaction including issue parameter and download link is sent to target detection machine according to issue parameter and issues instruction, To trigger target detection machine when being connected to redaction issue instruction, according to issue parameter and download link operation predetermined system clothes Business, so as in the operation predetermined system service of target detection machine, be automatically performed the issue of new beta version file, realize pair The automatic issue of new beta version file, complete to issue without developer's remote control target detection machine, simplify new The issuing process of beta version file, reduces the workload of developer, and improves efficiency for issuing.
Embodiment two
Fig. 2 is the beta version dissemination method flow chart that the embodiment of the present invention two provides.On the basis of above-described embodiment one On, Version Control device obtains issue parameter corresponding to new beta version file in the present embodiment, including:Version Control device passes through Preset plug-in provides information input area, so that user inputs issue parameter by information input area, issue parameter is at least wrapped Include the test environment parameter and deployment catalogue parameter of target detection machine;Version Control device receives the issue parameter of user's input.Such as Shown in Fig. 2, this method comprises the following steps that:
Step S201, newest program code is being compiled as executable file and generated executable file packing new Beta version file and new beta version file download link after, Version Control device provide information input area, So that user inputs issue parameter by information input area, issue parameter comprises at least the test environment parameter of target detection machine With deployment catalogue parameter.
In the prior art, newest program code is being compiled as executable file and executable file is being packed to give birth to After the download link of Cheng Xin beta version file and new beta version file, Version Control device by browser to Family shows download link so that user carries out the issue of new beta version file according to download link manually.
In the present embodiment, it can show that the display interface of download link above carries to user by browser in Version Control device For information input area, so that user inputs issue parameter by information input area.
For example, the selective listing of existing test environment can be provided on display interface, so that user therefrom selects, often The corresponding test environment parameter of the value of individual list items.The Publish button is provided on display interface.User is corresponding to selection After test environment, Version Control can be submitted to by test environment parameter corresponding to the list items of selection by clicking on the Publish button Device.
Alternatively, newest program code is being compiled as executable file and is generating executable file packing newly After the download link of beta version file and new beta version file, Version Control device correspondingly stores new beta version File and download link, when in use Version Control device can directly obtain the new beta version file and its right of this storage The download link answered.
Step S202, Version Control device receives the issue parameter of user's input.
Step S203, Version Control device sends redaction issue instruction, redaction according to issue parameter to target detection machine Issue instruction includes issuing parameter and download link, to trigger target detection machine when being connected to redaction issue instruction, according to hair Cloth parameter and download link operation predetermined system service, so as in the operation predetermined system service of target detection machine, be automatically performed The issue of new beta version file.
In the present embodiment, Version Control device sends redaction issue instruction according to issue parameter to target detection machine, specifically Any one following mode can be used to realize:
(1) redaction issue instruction is sent to preassigned center test machine by the center test machine Version Control device, So that in test environment information and redaction the issue instruction that center test machine is disposed according to each test machine prestored Issue parameter determine target detection machine, and send redaction issue instruction to target detection machine.
This implementation (1) is applied to situations below:Center test machine is uniquely can be with version control in each test machine The equipment that device processed is communicated, other test machines can not be communicated with Version Control device, and center test machine can be each with other Test machine is communicated;Also, Version Control device does not prestore the test environment information that each test machine is disposed, center test Machine has prestored the test environment information that each test machine is disposed.Only possess and center for example, setting Version Control device The authority that test machine is communicated, without the authority to be communicated with other test machines, center test machine prestores The situation for the test environment information that each test machine is disposed.
(2) Version Control device obtains the test environment information that each test machine prestored is disposed;Version Control device root The test environment information and issue parameter disposed according to each test machine, determine target detection machine;Version Control device is surveyed to target Test-run a machine sends redaction issue instruction.
This implementation (2) is applied to situations below:Version Control device can be communicated with all test machines, and And Version Control device has prestored the test environment information that each test machine is disposed.
Alternatively, in the step, download link corresponding to new beta version file can be that Version Control device directly obtains Download link corresponding to the new beta version file of this storage taken;Or or Version Control device by browsing The download link shown by display interface that device plug-in unit captures from display interface.
The embodiments of the invention provide the information input area for inputting issue parameter so that user is according to being actually needed Current desired issue parameter, the feelings often to be changed suitable for the issue parameter of software product are inputted in information input area Condition.
Embodiment three
Fig. 3 is the flow chart for the beta version dissemination method that the embodiment of the present invention three provides.The embodiment of the present invention is for existing There is the issue for manually completing beta version in technology by each developer, operating process is very cumbersome, into the issue of beta version The problem of efficiency is low, there is provided beta version dissemination method.As shown in figure 3, this method comprises the following steps that:
Step S301, target detection machine receive redaction issue instruction, redaction issue instruction include issue parameter and newly Beta version file download link, issue parameter comprise at least target detection machine test environment parameter.
Wherein, it can be preassigned center test machine or version that target detection machine, which receives redaction issue instruction, The redaction issue instruction that controller is sent.
In actual applications, it will usually can be held the newest program code compiling generation of software product by Version Control device Style of writing part, and executable file packing is generated into new beta version file.When issuing new beta version file, target is surveyed Test-run a machine will download new beta version file from Version Control device, and new beta version file is decompressed, can perform File;Then executable file is deployed under the corresponding catalogue of target detection machine;And corresponding clothes are restarted after the completion of deployment Business, the issue of new beta version is completed after server resets success.
In the present embodiment, issue parameter refers to soft corresponding to new beta version file corresponding to new beta version file Part product issue be need issue parameter, including at least the software product corresponding to new beta version file to be released Required test environment parameter.It that is to say, issue parameter comprises at least the test environment parameter of target detection machine.Generally, no With the issue environment difference that is applicable of software product, therefore when testing software product, it is necessary to by software product pair The new beta version file distribution answered is on the target detection machine with corresponding test environment.In order to ensure to software product Proper testing, in the present embodiment, obtain test environment parameter corresponding to new beta version file to be released first, then New beta version file distribution is carried out to target detection machine according to issue parameter.In addition, issue parameter is additionally may included in The deployment catalogue parameter needed in the issuing process of new beta version file.
In the present embodiment, target detection machine receives the new of preassigned center test machine or Version Control device transmission Version issue instruction, receive redaction issue instruction after, can get redaction issue instruction in issue parameter and The download link of new beta version file, so as to can subsequently download new beta version file, and root according to download link New beta version file is issued according to issue parameter.
Alternatively, it can be that user is defeated in the information input area that Version Control device is provided by preset plug-in to issue parameter The issue parameter entered so that user is applied to according to being actually needed in the current desired issue parameter of information input area input The situation that the issue parameter of software product often changes.
Step S302, when being connected to redaction issue instruction, target detection machine is run according to issue parameter and download link Predetermined system service, so as to run the issue that new beta version file is automatically performed during predetermined system service.
Wherein, predetermined system service is the issue parameter according to software product by technical staff, in corresponding target detection The executable program write in advance on machine.
In the present embodiment, when target detection machine runs predetermined system service operation, the new test of following issue is automatically performed The process of version file:
Target detection machine downloads new beta version file from Version Control device according to download link, by the beta version of download This document is decompressed to default first catalogue;Then target detection machine obtains deployment catalogue ginseng corresponding to new beta version file Number, the executable file in default first catalogue obtained after decompression is deployed on target detection machine and disposes catalogue parameter Under corresponding second catalogue;System service corresponding to preset service mark is restarted after the completion of deployment, success is restarted in system service The issue of new beta version is completed afterwards.
Wherein, the mark of system service restarted is needed when preset service mark can be beta version file distribution, can To be preset by technical staff according to actual conditions.For example, it is assumed that need to restart Tomcat clothes during beta version file distribution Business, and be configured on current goal test machine be entitled Tomcat7.exe system service, then can be by default clothes Business flag is " Tomcat7.exe " or " Tomcat7 ".
The embodiment of the present invention is obtaining issuing parameter and download corresponding to new beta version file by Version Control device After link, the redaction including issue parameter and download link is sent to target detection machine according to issue parameter and issues instruction. Target detection machine runs predetermined system service when being connected to redaction issue instruction according to issue parameter and download link, so as to In the operation predetermined system service of target detection machine, the issue of new beta version file is automatically performed, is realized to new survey The automatic issue of test run this document, complete to issue without developer's remote control target detection machine, simplify new beta version The issuing process of this document, reduces the workload of developer, and improves efficiency for issuing.
Example IV
Fig. 4 is the structural representation for the beta version distributing device that the embodiment of the present invention four provides.The embodiment of the present invention carries The beta version distributing device of confession can perform the beta version dissemination method handling process of the offer of above-described embodiment one.Such as Fig. 4 Shown, the device 40 includes:Acquisition module 401 and release module 402.
Specifically, acquisition module 401 is used to newest program code being compiled as executable file and by executable text After part packing generates the download link of new beta version file and new beta version file, Version Control device obtains new Beta version file corresponding to issue parameter, issue parameter comprise at least target detection machine test environment parameter.
Release module 402 is used for Version Control device and sends redaction issue instruction to target detection machine according to issue parameter, Redaction issue instruction includes issuing parameter and download link, to trigger target detection machine when being connected to redaction issue instruction, According to issue parameter and download link operation predetermined system service, so that in the operation predetermined system service of target detection machine, from The dynamic issue for completing new beta version file.
Device provided in an embodiment of the present invention can be specifically used for performing the embodiment of the method that above-described embodiment one is provided, Here is omitted for concrete function.
The embodiment of the present invention is obtaining issuing parameter and download corresponding to new beta version file by Version Control device After link, the redaction including issue parameter and download link is sent to target detection machine according to issue parameter and issues instruction, To trigger target detection machine when being connected to redaction issue instruction, according to issue parameter and download link operation predetermined system clothes Business, so as in the operation predetermined system service of target detection machine, be automatically performed the issue of new beta version file, realize pair The automatic issue of new beta version file, complete to issue without developer's remote control target detection machine, simplify new The issuing process of beta version file, reduces the workload of developer, and improves efficiency for issuing.
Embodiment five
Fig. 5 is the structural representation for the beta version distributing device that the embodiment of the present invention five provides.In above-described embodiment four On the basis of, in the present embodiment, as shown in figure 5, acquisition module 401 includes:Input area submodule 4011 and receiving submodule 4012。
Wherein, input area submodule 4011 is used for Version Control device offer information input area, so that user passes through letter Cease input area input issue parameter.
Receiving submodule 4012 is used for the issue parameter that Version Control device receives user's input.
Alternatively, release module includes:First issue submodule.
First issue submodule is used for Version Control device and redaction issue instruction is sent into preassigned center test Machine, so that test environment information and redaction the issue instruction that center test machine is disposed according to each test machine prestored In issue parameter determine target detection machine, and send redaction issue instruction to target detection machine.
Alternatively, release module includes:Acquisition submodule, determination sub-module and the second issue submodule.
Wherein, acquisition submodule is used for the test environment letter that each test machine that the acquisition of Version Control device prestores is disposed Breath.
Determination sub-module is used for the test environment information and issue parameter that Version Control device is disposed according to each test machine, Determine target detection machine.
Second issue submodule is used for Version Control device and sends redaction issue instruction to target detection machine.
Device provided in an embodiment of the present invention can be specifically used for performing the embodiment of the method that above-described embodiment two is provided, Here is omitted for concrete function.
The embodiments of the invention provide the information input area for inputting issue parameter so that user is according to being actually needed Current desired issue parameter, the feelings often to be changed suitable for the issue parameter of software product are inputted in information input area Condition.
Embodiment six
Fig. 6 is the structural representation for the beta version distributing device that the embodiment of the present invention six provides.The embodiment of the present invention carries The beta version distributing device of confession can perform the beta version dissemination method handling process of the offer of above-described embodiment three.Such as Fig. 6 Shown, the device 60 includes:Receiving module 601 and release module 602.
Specifically, receiving module 601 is used for the reception redaction issue instruction of target detection machine, and redaction issue instruction includes Parameter and the download link of new beta version file are issued, the test environment that issue parameter comprises at least target detection machine is joined Number;
Release module 602 is used for when being connected to redaction issue instruction, and target detection machine is according to issue parameter and downloads chain Operation predetermined system service is connect, so as to run the issue that new beta version file is automatically performed during predetermined system service.
Alternatively, target detection machine receive redaction issue instruction can be preassigned center test machine or The redaction issue instruction that Version Control device is sent.
Alternatively, it is that user inputs in the information input area that Version Control device is provided by preset plug-in to issue parameter Issue parameter.
Device provided in an embodiment of the present invention can be specifically used for performing the embodiment of the method that above-described embodiment three is provided, Here is omitted for concrete function.
The embodiment of the present invention is obtaining issuing parameter and download corresponding to new beta version file by Version Control device After link, the redaction including issue parameter and download link is sent to target detection machine according to issue parameter and issues instruction. Target detection machine runs predetermined system service when being connected to redaction issue instruction according to issue parameter and download link, so as to In the operation predetermined system service of target detection machine, the issue of new beta version file is automatically performed, is realized to new survey The automatic issue of test run this document, complete to issue without developer's remote control target detection machine, simplify new beta version The issuing process of this document, reduces the workload of developer, and improves efficiency for issuing.
Embodiment seven
Fig. 7 is the structural representation for the Version Control equipment that the embodiment of the present invention seven provides.As shown in fig. 7, the version control Control equipment 70 includes:Processor 701, memory 702.
Wherein, memory 702 is used for the memory for storing processor-executable instruction.
Wherein, processor 701 is configured as:Above-described embodiment one or the institute of embodiment two are realized when performing executable instruction The beta version dissemination method of offer.
The embodiment of the present invention is obtaining issuing parameter and download corresponding to new beta version file by Version Control device After link, the redaction including issue parameter and download link is sent to target detection machine according to issue parameter and issues instruction, To trigger target detection machine when being connected to redaction issue instruction, according to issue parameter and download link operation predetermined system clothes Business, so as in the operation predetermined system service of target detection machine, be automatically performed the issue of new beta version file, realize pair The automatic issue of new beta version file, complete to issue without developer's remote control target detection machine, simplify new The issuing process of beta version file, reduces the workload of developer, and improves efficiency for issuing.
Embodiment eight
Fig. 8 is the structural representation for the test machine that the embodiment of the present invention provides.As shown in figure 8, the test machine 80 includes: Processor 801, memory 802.
Wherein, memory 802 is used for the memory for storing processor-executable instruction.
Wherein, processor 801 is configured as:The test that above-described embodiment three is provided is realized when performing executable instruction Version dissemination method.
The embodiment of the present invention is obtaining issuing parameter and download corresponding to new beta version file by Version Control device After link, the redaction including issue parameter and download link is sent to target detection machine according to issue parameter and issues instruction. Target detection machine runs predetermined system service when being connected to redaction issue instruction according to issue parameter and download link, so as to In the operation predetermined system service of target detection machine, the issue of new beta version file is automatically performed, is realized to new survey The automatic issue of test run this document, complete to issue without developer's remote control target detection machine, simplify new beta version The issuing process of this document, reduces the workload of developer, and improves efficiency for issuing.
In several embodiments provided by the present invention, it should be understood that disclosed apparatus and method, it can be passed through Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed Mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical by some interfaces, device or unit Letter connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in one and computer-readable deposit In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are causing a computer It is each that equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform the present invention The part steps of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various Can be with the medium of store program codes.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module Division progress for example, in practical application, can be complete by different functional modules by above-mentioned function distribution as needed Into the internal structure of device being divided into different functional modules, to complete all or part of function described above.On The specific work process of the device of description is stated, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
Those skilled in the art will readily occur to the present invention its after considering specification and putting into practice invention disclosed herein Its embodiment.It is contemplated that cover the present invention any modification, purposes or adaptations, these modifications, purposes or Person's adaptations follow the general principle of the present invention and including undocumented common knowledges in the art of the invention Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claims are pointed out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present invention is only limited by appended claims System.

Claims (14)

  1. A kind of 1. beta version dissemination method, it is characterised in that including:
    Newest program code is being compiled as executable file and executable file packing is generated into new beta version After the download link of file and the new beta version file, Version Control device obtains the new beta version file Corresponding issue parameter, the issue parameter comprise at least the test environment parameter of target detection machine;
    The Version Control device sends redaction issue instruction, the new edition according to the issue parameter to the target detection machine This issue instruction includes the issue parameter and the download link, and the redaction is being connected to trigger the target detection machine During issue instruction, predetermined system service is run according to the issue parameter and the download link, so as in the target detection When machine runs the predetermined system service, the issue of the new beta version file is automatically performed.
  2. 2. according to the method for claim 1, it is characterised in that the Version Control device obtains the new beta version herein Issue parameter corresponding to part, including:
    The Version Control device provides information input area, joins so that user inputs the issue by described information input area Number;
    The Version Control device receives the issue parameter of user's input.
  3. 3. method according to claim 1 or 2, it is characterised in that the Version Control device according to it is described issue parameter to The target detection machine sends redaction issue instruction, including:
    Redaction issue instruction is sent to preassigned center test machine by the Version Control device, so that the center Test environment information and the redaction that test machine is disposed according to each test machine prestored issue the institute in instruction State issue parameter and determine the target detection machine, and the redaction issue instruction is sent to the target detection machine.
  4. 4. method according to claim 1 or 2, it is characterised in that the Version Control device according to it is described issue parameter to The target detection machine sends redaction issue instruction, including:
    The Version Control device obtains the test environment information that each test machine prestored is disposed;
    The test environment information and the issue parameter that the Version Control device is disposed according to each test machine, determine institute State target detection machine;
    The Version Control device sends the redaction issue instruction to the target detection machine.
  5. A kind of 5. beta version dissemination method, it is characterised in that including:
    Target detection machine receives redaction issue instruction, and the redaction issue instruction includes issuing parameter and new beta version The download link of file, the issue parameter comprise at least the test environment parameter of the target detection machine;
    When being connected to the redaction issue instruction, the target detection machine is transported according to the issue parameter and the download link Row predetermined system service, so as to run the hair that the new beta version file is automatically performed during the predetermined system service Cloth.
  6. 6. according to the method for claim 5, it is characterised in that the target detection machine receives redaction issue instruction, bag Include:
    The target detection machine receives the redaction issue that preassigned center test machine or Version Control device are sent and referred to Order.
  7. 7. the method according to claim 5 or 6, it is characterised in that
    The issue parameter is that user joins in the issue that the information input area that Version Control device is provided by preset plug-in inputs Number.
  8. A kind of 8. beta version distributing device, it is characterised in that including:
    Acquisition module, for newest program code to be compiled as executable file and the executable file is packed to give birth to After the download link of Cheng Xin beta version file and the new beta version file, Version Control device obtains described new Beta version file corresponding to issue parameter, it is described issue parameter comprise at least target detection machine test environment parameter;
    Release module, redaction issue is sent to the target detection machine according to the issue parameter for the Version Control device Instruction, the redaction issue instruction include the issue parameter and the download link, existed with triggering the target detection machine When being connected to the redaction issue instruction, predetermined system service is run according to the issue parameter and the download link, so as to When the target detection machine runs the predetermined system service, the issue of the new beta version file is automatically performed.
  9. 9. device according to claim 8, it is characterised in that the acquisition module includes:
    Input area submodule, information input area is provided for the Version Control device, so that user is defeated by described information Enter region and input the issue parameter;
    Receiving submodule, the issue parameter of user's input is received for the Version Control device.
  10. 10. device according to claim 8 or claim 9, it is characterised in that the release module includes:
    First issue submodule, redaction issue instruction is sent to preassigned center for the Version Control device Test machine, so that test environment information that the center test machine is disposed according to each test machine prestored and described new The issue parameter in version issue instruction determines the target detection machine, and sends the new edition to the target detection machine This issue instructs.
  11. 11. device according to claim 8 or claim 9, it is characterised in that the release module includes:
    Acquisition submodule, the test environment information that each test machine prestored for Version Control device acquisition is disposed;
    Determination sub-module, the test environment information disposed for the Version Control device according to each test machine and described Parameter is issued, determines the target detection machine;
    Second issue submodule, the redaction issue instruction is sent to the target detection machine for the Version Control device.
  12. A kind of 12. beta version distributing device, it is characterised in that including:
    Receiving module, redaction issue instruction is received for target detection machine, the redaction issue instruction includes issuing parameter With the download link of new beta version file, the test environment that the issue parameter comprises at least the target detection machine is joined Number;
    Release module, for when being connected to redaction issue instruction, the target detection machine according to the issue parameter and The download link runs predetermined system service, so as to be automatically performed the new test when running the predetermined system service The issue of version file.
  13. 13. a kind of Version Control equipment, including:Memory, processor;
    Memory:For storing the memory of the processor-executable instruction;
    Wherein, the processor is configured as:Any one of the claims 1-4 institutes are realized when performing the executable instruction The beta version dissemination method stated.
  14. 14. a kind of test machine, including:Memory, processor;
    Memory:For storing the memory of the processor-executable instruction;
    Wherein, the processor is configured as:Any one of the claims 5-7 institutes are realized when performing the executable instruction The beta version dissemination method stated.
CN201710972364.XA 2017-10-18 2017-10-18 Test version release method and device, version control equipment and test machine Active CN107678969B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710972364.XA CN107678969B (en) 2017-10-18 2017-10-18 Test version release method and device, version control equipment and test machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710972364.XA CN107678969B (en) 2017-10-18 2017-10-18 Test version release method and device, version control equipment and test machine

Publications (2)

Publication Number Publication Date
CN107678969A true CN107678969A (en) 2018-02-09
CN107678969B CN107678969B (en) 2021-04-02

Family

ID=61141355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710972364.XA Active CN107678969B (en) 2017-10-18 2017-10-18 Test version release method and device, version control equipment and test machine

Country Status (1)

Country Link
CN (1) CN107678969B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338926A (en) * 2018-12-18 2020-06-26 北京奇虎科技有限公司 Patch testing method and device and electronic equipment
CN113395235A (en) * 2020-03-12 2021-09-14 阿里巴巴集团控股有限公司 IoT system remote testing method, system and equipment
CN115408047A (en) * 2022-08-11 2022-11-29 北京大氪信息科技有限公司 Version release method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530137A (en) * 2013-11-05 2014-01-22 中国联合网络通信集团有限公司 Java web application deploying method and device
CN104536899A (en) * 2015-01-20 2015-04-22 成都益联科创科技有限公司 Software deploying and maintaining method based on intelligent cluster
CN104834602A (en) * 2015-05-20 2015-08-12 广州华多网络科技有限公司 Program issuing method, device and system
CN105373401A (en) * 2015-10-27 2016-03-02 上海钢富电子商务有限公司 Method and system for automatically releasing software package
CN105978709A (en) * 2016-04-27 2016-09-28 天脉聚源(北京)传媒科技有限公司 Application upgrading method and device thereof
US9639350B2 (en) * 2014-12-15 2017-05-02 Red Hat, Inc. Tagging non-upstream source code
CN107193582A (en) * 2017-04-06 2017-09-22 百度在线网络技术(北京)有限公司 Dissemination method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530137A (en) * 2013-11-05 2014-01-22 中国联合网络通信集团有限公司 Java web application deploying method and device
US9639350B2 (en) * 2014-12-15 2017-05-02 Red Hat, Inc. Tagging non-upstream source code
CN104536899A (en) * 2015-01-20 2015-04-22 成都益联科创科技有限公司 Software deploying and maintaining method based on intelligent cluster
CN104834602A (en) * 2015-05-20 2015-08-12 广州华多网络科技有限公司 Program issuing method, device and system
CN105373401A (en) * 2015-10-27 2016-03-02 上海钢富电子商务有限公司 Method and system for automatically releasing software package
CN105978709A (en) * 2016-04-27 2016-09-28 天脉聚源(北京)传媒科技有限公司 Application upgrading method and device thereof
CN107193582A (en) * 2017-04-06 2017-09-22 百度在线网络技术(北京)有限公司 Dissemination method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
追极: "使用jekins自动构建部署java maven项目(jdk1.7+tomcat7.0+jenkins2.19.3)", 《HTTPS://WWW.CNBLOGS.COM/HDWANG/P/6081994.HTML》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338926A (en) * 2018-12-18 2020-06-26 北京奇虎科技有限公司 Patch testing method and device and electronic equipment
CN113395235A (en) * 2020-03-12 2021-09-14 阿里巴巴集团控股有限公司 IoT system remote testing method, system and equipment
CN113395235B (en) * 2020-03-12 2023-04-04 阿里巴巴集团控股有限公司 IoT system remote testing method, system and equipment
CN115408047A (en) * 2022-08-11 2022-11-29 北京大氪信息科技有限公司 Version release method and device and electronic equipment

Also Published As

Publication number Publication date
CN107678969B (en) 2021-04-02

Similar Documents

Publication Publication Date Title
CN107579848A (en) The method that common recognition node is dynamically changed in practical Byzantine failure tolerance common recognition mechanism
EP3047372B1 (en) Computer-aided development of native mobile application code
CN107465548A (en) The dispositions method and device of code
WO2012154501A2 (en) Hybrid web container for cross-platform mobile applications
CN107168749A (en) A kind of Compilation Method, device, equipment and computer-readable recording medium
CN107678969A (en) Beta version dissemination method, device, Version Control equipment and test machine
US11023365B2 (en) Systems and methods for automated provisioning of a virtual mainframe test environment
CN105450476A (en) Regression test system and test method
CN110633200A (en) Method and device for testing intelligent contracts
CN110532182B (en) Automatic testing method and device for virtualization platform
US8117042B2 (en) Communication and interface support system
CN107844410A (en) The adjustment method and device of a kind of distributed cluster system
CN111695876A (en) Approval process processing method, device, equipment and storage medium
CN110727575B (en) Information processing method, system, device and storage medium
CN114328223A (en) Information testing method, device, equipment and storage medium
US20150135015A1 (en) Cloud auto-test system, method and non-transitory computer readable storage medium of the same
EP3336689B1 (en) Imposing a common build system for services from disparate sources
CN109408092A (en) Method and device, storage medium and the electronic equipment of front end version publication
CN112015715A (en) Industrial Internet data management service testing method and system
KR101739854B1 (en) Computational science open platform, test system and method
JP7268759B2 (en) TEST DATA GENERATION DEVICE, TEST DATA GENERATION METHOD, AND PROGRAM
CN105871927B (en) The automatic logging method and device at micro- end
JP7294609B2 (en) Program, Method, and Device for Supporting Software Operation Scenario Generation
JP7277694B2 (en) Information processing device, its control method and program
JP7102783B2 (en) System management equipment, system management methods, and programs

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
TA01 Transfer of patent application right

Effective date of registration: 20200417

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping square B radio tower 13 layer self unit 01

Applicant before: GUANGZHOU SHENMA MOBILE INFORMATION TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant