CN104834602B - A kind of program dissemination method, device and program delivery system - Google Patents
A kind of program dissemination method, device and program delivery system Download PDFInfo
- Publication number
- CN104834602B CN104834602B CN201510263400.6A CN201510263400A CN104834602B CN 104834602 B CN104834602 B CN 104834602B CN 201510263400 A CN201510263400 A CN 201510263400A CN 104834602 B CN104834602 B CN 104834602B
- Authority
- CN
- China
- Prior art keywords
- test
- program
- host
- platform
- report
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 238000012360 testing method Methods 0.000 claims abstract description 519
- 238000012790 confirmation Methods 0.000 claims abstract description 29
- 238000012545 processing Methods 0.000 claims abstract description 19
- 230000008569 process Effects 0.000 claims description 33
- 230000005540 biological transmission Effects 0.000 claims description 11
- 230000005856 abnormality Effects 0.000 claims description 8
- 238000005516 engineering process Methods 0.000 claims description 3
- 238000012544 monitoring process Methods 0.000 claims description 3
- 238000012795 verification Methods 0.000 claims 3
- 238000010586 diagram Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 8
- 230000002159 abnormal effect Effects 0.000 description 6
- 230000018109 developmental process Effects 0.000 description 4
- 230000008140 language development Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 230000008933 bodily movement Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000011056 performance test Methods 0.000 description 2
- 238000010200 validation analysis Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000003542 behavioural effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000011990 functional testing Methods 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The embodiment of the invention discloses a kind of program dissemination methods, it include: the network address that automatic test platform obtains test host, and test instruction is sent to the test host according to the network address, the test instruction is used to indicate the test host and at least one test case is called to test local program to be released, generates after the completion of test and reports test report;The test report is written in database by the automatic test platform, and after receiving the access request for requesting the test report, shows the test report;When the automatic test platform receives the instruction of the confirmation to the test report, instruction program distribution platform carries out online processing to the program to be released.The embodiment of the invention also discloses a kind of program distributing device and program delivery systems.Using the present invention, the efficiency for issuing of program is improved.
Description
Technical field
The present invention relates to computer field more particularly to a kind of program dissemination methods, device and program delivery system.
Background technique
In order to which whether the program of test development reaches expected demand, tester can develop test case and carry out to program
Test.Test case (Test Case) is that the behavioral activity of software test is done to a scientific tissue to conclude, it is therefore an objective to energy
It is enough that the behavior of software test is converted to manageable mode;Simultaneously test case be also by the method that specifically quantifies of test it
One, different classes of software, test case is different.Different from such as system, tool, control, Games Software, management software
The more different trend of user demand.
In current testing scheme, the atomic operation function or API that tester is provided by testing tool are developed
Meet the test case of different testing requirements, such as unit testing, integration testing, interface testing or performance test, tests host
After running test case, when tester checks that test result parameters are met the requirements, tester's program load again
It is carried out into program distribution platform online.It is found by the applicant that current program dissemination method there is a problem of it is inefficient.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of program dissemination method, device and program delivery system, on solving
State the inefficient problem of program dissemination method existing in the prior art.
On the one hand, the embodiment of the invention provides a kind of program dissemination methods, comprising:
Automatic test platform obtains the network address of test host, and according to the network address to the test host
It sends and tests instruction, the test instruction is used to indicate the test host and calls at least one test case to the pending of local
Cloth program is tested, and is generated after the completion of test and is reported test report;
The test report is written in database by the automatic test platform, and is being received for requesting
After the access request for stating test report, the test report is shown;
When receive the confirmation to the test report instruction when, instruction program distribution platform to the program to be released into
The online processing of row.
On the other hand, the embodiment of the invention also provides a kind of program distributing devices, comprising:
Sending module, for obtaining the network address of test host, and according to the network address to the test host
It sends and tests instruction, the test instruction is used to indicate the test host and calls at least one test case to the pending of local
Cloth program is tested, and is generated after the completion of test and is reported test report;
Display module connects for the test report to be written in database, and in the automatic test platform
After receiving the access request for requesting the test report, the test report is shown;
Indicating module, when the confirmation for generating after receiving to the confirmation at least twice of the test report instructs,
Instruction program distribution platform carries out online processing to the program to be released.
Another aspect, the embodiment of the invention provides a kind of program delivery systems, comprising: dynamicization test platform, test master
Machine and program distribution platform;Wherein,
The automatic test platform obtains the network address of the test host, and according to the network address to described
It tests host and sends test instruction;
When the test host receives the test instruction of automatic test platform transmission, at least one test case is called
Release process is treated to be tested;
After the completion of test, the test host reports the test report of generation to the automatic test platform;
The test report is written in database by the automatic test platform, and is being received for requesting
After the access request for stating test report, the test report is shown;
When the confirmation instruction generated after receiving to test report confirmation, the automatic test platform indicates institute
It states program distribution platform and online processing is carried out to the program to be released.
Compared with the existing technology, the embodiment of the present invention: automatic test platform is according to the network of the test host of acquisition
Location sends test instruction to test host, and instruction test host is according to preconfigured Test Strategy to local journey to be released
Sequence is tested, and the test report of Self -adaptive is sent at least two-stage affirmant and confirmed by automatic test platform,
After being identified through, instruction program distribution platform treats release process and carries out online processing.Program test and online process are carried out
Seamless interfacing can improve the efficiency of program publication, it is ensured that the quality of program publication.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram of program delivery system provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of program dissemination method provided in an embodiment of the present invention;
Fig. 3 is a kind of another flow diagram of program dissemination method provided in an embodiment of the present invention;
Fig. 4 is a kind of interaction schematic diagram of program dissemination method provided in an embodiment of the present invention;
Fig. 5 is the interface display diagram of the test case of test host provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of program distributing device provided in an embodiment of the present invention;
Fig. 7 is a kind of another structural schematic diagram of program distributing device provided in an embodiment of the present invention;
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
It is a kind of structural schematic diagram of program delivery system provided in an embodiment of the present invention referring to Fig. 1, implements in the present invention
In example, described program delivery system includes program distribution platform, automatic test platform, more test hosts, test assignment team
Store the mark of multiple programs to be released in column, automatic test program can according in test assignment queue put in order according to
Secondary release process for the treatment of is tested, stored in configuration management center program to be released configuration parameter (such as server address,
Version information, hsrdware requirements information etc.), so as to program distribution platform be published to according to configuration parameter frame program to be released it is specified
On server;Automatic test platform is used to control test host, to complete the test process of program to be released;Program
Program to be released for being published to specified server by distribution platform;Test host carries out function for treating release process
Test is tested in host and is equipped with program to be released, after treating release process and carrying out functional test, generates test report.Its
In, test host can be various types of terminal devices, such as smart phone, desktop computer, laptop, plate electricity
Brain etc. specifically can dispose different types of terminal device according to the running environment of program to be released;
The working principle of the program delivery system of the embodiment of the present invention is as follows: automatic test platform obtains test host
Network address, and test instruction is sent to test host according to network address;Wherein, the quantity for testing host is at least one,
It can be according to the quantity of configuration test host as needed;Test host receives the test instruction of automatic test platform transmission
When, it calls at least one test case to treat release process and is tested;After the completion of test, host is tested to automatic test
Platform reports the test report of generation, and test report is for indicating the corresponding test result of each test case;Automatic test
Test report is written in database by platform, and after receiving the access request for requesting the test report, is shown
Show test report;Wherein it is possible to by remotely-or locally accessing the test report in database;It is true to test report when receiving
When the confirmation instruction generated after recognizing, automatic test platform instruction program distribution platform treats release process and carries out online processing,
Program to be released is published on specified server by program distribution platform according to configuration parameter.Wherein, program to be released is taking
When running on business device, program distribution platform counts the online quality information and abnormality alarming information of program to be released, by uplink matter
Amount information and abnormality alarming information are notified to automatic test platform.Automatic test platform has been achieved and program publication is flat
The seamless interfacing of platform, it is ensured that the efficiency of program publication.Meanwhile automatic test platform monitors the uplink matter of program to be released at any time
Information and abnormality alarming information are measured, release process is treated and improves and test.
Referring to fig. 2, it is a kind of flow diagram of program dissemination method provided in an embodiment of the present invention, implements in the present invention
In example, which comprises
S101, automatic test platform obtain the network address of test host, and according to the network address to the survey
It tries host and sends test instruction, the test instruction is used to indicate the test host and calls at least one test case to pending
Cloth program is tested, and is generated after the completion of test and is reported test report.
Specifically, automatic test platform manages an at least test host, host is locally-installed journey to be released for test
Sequence when test host is linked into automatic test platform, is assigned a network address, and automatic test platform obtains test master
The network address of machine sends test instruction to test host by the instruction of network address, and test instruction is used to indicate test master
Machine calls at least one test case to test locally-installed program to be released, is running at least one test case
Afterwards, test report is reported to automatic test platform.
The test report is written in database, and is used for receiving by S102, the automatic test platform
After the access request for requesting the test report, the test report is shown.
S103, when receive the confirmation to the test report instruction when, instruction program distribution platform is to described to be released
Program carries out online processing.
Implement the embodiment of the present invention, automatic test platform according to acquisition test host network address, to test
Host sends test instruction, and instruction test host surveys local program to be released according to preconfigured Test Strategy
The test report of Self -adaptive is sent at least two-stage affirmant and confirmed, is being identified through by examination, automatic test platform
Afterwards, instruction program distribution platform treats release process and carries out online processing.Program test and online process are subjected to seamless interfacing,
The efficiency of program publication can be improved, it is ensured that the quality of program publication.
It is a kind of another flow diagram of program dissemination method provided in an embodiment of the present invention, in the present invention referring to Fig. 3
In embodiment, which comprises
S201, after receiving the connection request of test host, it is and described after the identity for verifying the test host is legal
Test host establishes the long connection of transmission control protocol TCP.
Specifically, test center can manage more test hosts simultaneously, the type for testing host can be mobile terminal
Or desktop terminal, it tests on host and program to be released is installed, before the test of release process is treated in test host execution, test
Host, which needs to establish with automatic test platform, to be communicated to connect, and specific connection procedure may is that test host is surveyed to automation
Examination platform initiates the connection request, carries account information and hardware identifier (such as MAC Address) in connection request, controls host in data
Inquire that account information whether there is and whether account information and hardware identifier match in library, if two conditions are all satisfied,
Determine that the identity of test host is legal, automatic test platform and test host establish TCP long connection, and TCP long connection can make
Interface channel between test host and automatic test platform always exists, and does not need when having communication request again again
Establish connection communication.
In our embodiment, automatic test platform can also be legal using the bodily movement of practising Wushu of other modes validation test host
Property, details are not described herein again.
When S202, the automatic test platform receive the test assignment mark that described program distribution platform is sent, inquiry
The test assignment identifies associated program description information, and described program description information includes installing the survey of the program to be released
The network address of host is tried, and test instruction is sent to the test host according to the network address.
Specifically, test host can generate the survey of program to be released after program to be released is successfully mounted on test host
Task identification is tried, test assignment mark indicates the unique identification that the task of program to be released is tested on test host, and test is appointed
Business mark can be using letter and/or string representation.The test assignment mark of generation is sent to program publication by test host
Platform.Program distribution platform, which needs to treat release process before needing to issue program to be released, to be tested, program distribution platform
Automatic test platform is provided with communication interface, program distribution platform passes through communication interface for the test assignment of program to be released
Mark is sent to automatic test platform, and automatic test platform receives the test assignment mark of program distribution platform transmission
When, inquiry test assignment identifies associated program description information, and program description information is used to indicate the attribute letter of program to be released
The attribute information for testing host for ceasing and installing program to be released, when program description information includes: program author, program creation
Between, the test network address (such as IP address or MAC Address) of host, installation path.
Automatic test platform sends test instruction to test host according to the network address inquired, and test instruction is used for
Instruction test host calls at least one test case to locally-installed program to be tested according to preset Test Strategy
It is tested, the Test Strategy for testing host includes test language, test-types and the test path used, and test host is being surveyed
The case where exiting is interrupted there is no exception during examination, test report is generated after the completion of test, tests host to automation
Test platform returns to test report.If test host is abnormal during the test and interrupts when exiting, test host will
Test report will not be generated, then automatic test platform will not receive the test report of test host return yet.
Whether S203, the automatic test platform receive the test that the test host reports in preset duration
Report.
Specifically, the execution time of each test case be it is fixed, after automatic test platform chooses test case,
It is determined always to execute the time according to the execution time of each test case, preset duration can be set by total execution time
(such as 30 groupings).Start to calculate when testing and starting and execute the time, automatic test platform does not receive in preset duration
The test report that host returns is tested, determines that test host is abnormal during executing the test case of selection and is interrupted
It exits, executes S205 at this time;If automatic test platform does not receive the test report that test host returns in preset duration
It accuses, determines that test host test is normal, execute S204 herein.
The test report is written in database by S204, the automatic test platform.
Specifically, the test report received is written in database by automatic test platform, test report includes surveying
Try one of case data, test total time-consuming, successfully tested rate, the packet name of program to be tested, current state or a variety of.
S205, determine described at least one test case test process in be abnormal, and display indicate test hair
The prompt information of raw mistake.
It is moved back specifically, test host some test case during implementation of test cases is abnormal to cause to interrupt
Out, show that the prompt information of mistake occurs for test on test host, prompt information can be indicated with error message code.
S206, when the automatic test platform receives the access request for requesting the test report, in net
The test report is shown on page.
Specifically, the corresponding test report mark of each test report in database, when the database of test center connects
When receiving the access request for request for test report, access request can carry test report mark, retrieval test report mark
Corresponding test report in the database can show test report in the Web page of front end.
When S207, the confirmation instruction generated after receiving to the confirmation at least twice of the test report, instruction program
Distribution platform carries out online processing to the program to be released.
Specifically, the test report that generates of test host can could be formal online after multistage confirmation, such as pass through
Second level confirmation, constant current journey may is that automatic test platform by test report by way of Email to test report really
It is sent to first terminal, is sent out by way of Email after the confirmation instruction for receiving first terminal, then by test report
Second terminal is given, and so on, after all terminals are to confirmation instruction is sent, the publication of automatic test platform instruction program
Platform treats release process and carries out online processing.
S208, acquisition simultaneously show the online of the program to be released that described program distribution platform counts in preset duration
Quality information and abnormality alarming information;Wherein, the online quality information includes online rollback rate.
Specifically, program distribution platform can count program to be released in preset duration after program to be released is online
Online rollback rate, online rollback rate are equal to program rollback total degree divided by the online total degree of program, and online rollback rate is for measuring
Program issues quality, and online rollback rate can be shown using modes such as pie chart, line chart or histograms.Automatic test platform obtains
It is generated in the online quality information and program operation process to be released of the program to be released of program fetch distribution platform statistics different
Normal warning information is treated release process according to abnormality alarming information and online quality information and is improved.Wherein, automatic test
Platform can show the seniority among brothers and sisters of each development group online rollback rate in preset duration when showing online quality information, can
Program development quality is improved to monitor development group.
Referring to fig. 4, it is a kind of interaction schematic diagram of program dissemination method provided in an embodiment of the present invention, implements in the present invention
In example, which comprises
TCP long connection is established between S301, automatic test platform and test host.
Specifically, test center can manage more test hosts simultaneously, the type for testing host can be mobile terminal
Or desktop terminal, it tests on host and program to be released is installed, before the test of release process is treated in test host execution, test
Host, which needs to establish with automatic test platform, to be communicated to connect, and specific connection procedure may is that test host is surveyed to automation
Examination platform initiates the connection request, carries account information and hardware identifier (such as MAC Address) in connection request, controls host in data
Inquire that account information whether there is and whether account information and hardware identifier match in library, if two conditions are all satisfied,
Determine that the identity of test host is legal, automatic test platform and test host establish TCP long connection, and TCP long connection can make
Interface channel between test host and automatic test platform always exists, and does not need when having communication request again again
Establish connection communication.
In our embodiment, automatic test platform can also be legal using the bodily movement of practising Wushu of other modes validation test host
Property, details are not described herein again.
Program to be released is installed on S302, test host, generates test assignment mark.
Specifically, test host can generate the survey of program to be released after program to be released is successfully mounted on test host
Task identification is tried, test assignment mark indicates the unique identification that the task of program to be released is tested on test host, and test is appointed
Business mark can be using letter and/or string representation.
Test assignment mark is sent to program distribution platform by S303, test host.
Test assignment mark is sent to automatic test platform by S304, program distribution platform.
Wherein, program distribution platform is needed to treat release process before needing to issue program to be released and be tested, program
Distribution platform and automatic test platform are provided with communication interface, and program distribution platform passes through communication interface for program to be released
Test assignment mark is sent to automatic test platform.
S305, automatic test platform inquiry test assignment identify associated program description information, program description packet
Include the network address of the test host of installation program to be released.
Wherein, when automatic test platform receives the test assignment mark of program distribution platform transmission, inquiry test is appointed
Business identifies associated program description information, and program description information is used to indicate the attribute information of program to be released and installs to be released
The attribute information of the test host of program, program description information include: program author, program creation time, the net for testing host
Network address (such as IP address or MAC Address), installation path.
S306, automatic test platform send test instruction to test host according to network address.
S307, at least one test case is called to test local program to be released.
Specifically, test host carries out path scanning according to preset path, local all test cases are scanned
Test case set is generated, selects specified test case to treat from test case set according to the additional driving parameter of configuration
Release process is tested, additional that parameter is driven to be not required item, when additionally driving parameter is defaulted as sky, tests Selection of chiller
All test cases are tested in test case set.It wherein, include different test languages and survey in test case set
Try the test case of type.
Illustratively, it is swept from preset path root/unittest after test host receives test instruction referring to Fig. 5
5 files including test case are described, store the test-types for there are different test languages in 4 files respectively, c is indicated
The test case of c language development, go indicate the test case of go language development, and java indicates that the test of java language development is used
Example, py indicate the test case of py language development, include the test case of different test-types in each file, such as wrap
Include one of unit testing, interface testing, integration testing and performance test or a variety of.Host is tested according to the additional drive of configuration
Dynamic parameter selects at least one test case to treat release process to be tested from 4 files.
Wherein, the fingerprint value (such as MD5 value) for testing each test case of Framework computing, according to preparatory fingerprint value and meter
Obtained fingerprint value is compared to judge whether test case changes, if the fingerprint value of the two is equal, shows to survey
There is no change, test hosts can call directly the test case, if the fingerprint value of the two is unequal, show for example on probation
Test case changes, and test host can not call the test case.
S308, test are completed, and are tested host to automatic test platform and are reported test report.
Wherein, test host interrupts the case where exiting there is no abnormal during the test, generates after the completion of test
Test report, test host return to test report to automatic test platform.If test host occurs different during the test
When normal and interruption is exited, test host will not generate test report, then automatic test platform will not receive test yet
The test report that host returns.
S309, reception simultaneously show test report.
Specifically, automatic test platform receives test report, test report is shown in automatic test platform as needed
It accuses, or test report is pushed in specified equipment and is shown.
S310, receive to the test report at least twice confirm after generate confirmation instruction.
Specifically, the test report that test host generates needs after confirming at least twice, ability is formal online, determines
Process may is that test report is sent to the first affirmant by automatic test platform by way of Email, connecing
After the confirmation instruction for receiving the first affirmant, then test report is sent to the second affirmant by way of Email, according to
Secondary to analogize, after all affirmants are identified through, automatic test platform instruction program distribution platform treats release process
Carry out online processing.Under normal circumstances, test report needs to confirm by two-stage and developer's confirmation confirms with project manager,
After the confirmation instruction generated after receiving the two to test report confirmation, online processing is carried out treating release process.
S311, instruction program to be released carry out online processing.
Implement the embodiment of the present invention, automatic test platform according to acquisition test host network address, to test
Host sends test instruction, and instruction test host surveys local program to be released according to preconfigured Test Strategy
Examination, the test report of Self -adaptive is carried out multistage confirmation by automatic test platform, and after being identified through, instruction program publication is flat
Platform treats release process and carries out online processing.Program test and online process are subjected to seamless interfacing, program publication can be improved
Efficiency, it is ensured that the quality of program publication.
It is a kind of structural schematic diagram of the distributing device of program provided in an embodiment of the present invention referring to Fig. 6, of the invention real
It applies in example, described program distributing device includes sending module 10, display module 20 and indicating module 30, wherein
Sending module 10 for obtaining the network address of test host, and is led according to the network address to the test
Machine sends test instruction, the test instruction be used to indicate the test host call at least one test case to it is local to
Release process is tested, and is generated after the completion of test and is reported test report.
Display module 20, for the test report to be written in database, and in the automatic test platform
After receiving the access request for requesting the test report, the test report is shown.
Indicating module 30, when the confirmation for generating after receiving to test report confirmation instructs, instruction program
Distribution platform carries out online processing to the program to be released.
The embodiment of the present invention and embodiment of the method one are based on same design, and bring technical effect is also identical, specific mistake
Journey please refers to the description of embodiment of the method one, and details are not described herein again.
It further, is a kind of another structural representation of program distributing device provided in an embodiment of the present invention referring to Fig. 7
Figure, in embodiments of the present invention, it includes: sending module 10, display module 20 and indicating module that the distributing device of described program, which removes,
Except 30, further includes: link block 40 and monitoring module 50, wherein
Link block 40, for receiving the connection request of the test host, in the identity for verifying the test host
After legal, the long connection of transmission control protocol TCP is established with the test host.
Monitoring module 50, for obtaining and showing that it is described to be released that described program distribution platform counts in preset duration
The online quality information and abnormality alarming information of program;Wherein, the online quality information includes online rollback rate.
Optionally, it when the sending module 20 is used to receive the test assignment mark of described program distribution platform transmission, looks into
It askes the test assignment and identifies associated program description information, described program description information includes the installation program to be released
Test the network address of host.
Optionally, further includes: timeout treatment module, if for not receiving the test host in preset duration
The test report of report is determined and is abnormal in the test process of at least one test case, and display indicates test hair
The prompt information of raw mistake.
The embodiment of the present invention and embodiment of the method two are based on same design, and bring technical effect is also identical, specific mistake
Journey please refers to the description of embodiment of the method two, and details are not described herein again.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
Above disclosed is only a preferred embodiment of the present invention, cannot limit the power of the present invention with this certainly
Sharp range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and weighs according to the present invention
Benefit requires made equivalent variations, still belongs to the scope covered by the invention.
Claims (8)
1. a kind of application issued method characterized by comprising
Automatic test platform obtains the network address of test host, and is sent according to the network address to the test host
Test instruction, the test instruction are used to indicate the test host and call at least one test case to local journey to be released
Sequence is tested, and is generated after the completion of test and is reported test report, wherein the test host uses each test of calculating
The fingerprint value and preparatory fingerprint value of example are compared, if equal, the test host calls directly the test case,
To test the program to be released;
The test report is written in database by the automatic test platform, and is being received for requesting the survey
After the access request for trying report, the test report is shown;
When receiving the instruction of the confirmation to the test report, the automatic test platform instruction program distribution platform is to institute
It states program to be released and carries out online processing;
The automatic test platform obtains the network address of test host, and according to the network address to the test host
It sends before testing instruction, further includes:
The automatic test platform receives the connection request of the test host, closes in the identity for verifying the test host
After method, the long connection of transmission control protocol TCP is established with the test host, the connection request carries account information and hardware mark
Know, the legal verification condition of identity of the test host includes that the account information exists and the account information and described
Hardware identifier matching.
2. the method as described in claim 1, which is characterized in that the automatic test platform is with obtaining the network of test host
Location includes:
When the automatic test platform receives the test assignment mark that described program distribution platform is sent, inquires the test and appoint
Business identifies associated program description information, and described program description information includes the net of the test host of the installation program to be released
Network address.
3. method according to claim 1 or 2, which is characterized in that described to work as at least two received to the test report
When the confirmation instruction generated after secondary confirmation, after instruction program distribution platform carries out online processing to the program to be released, also
Include:
The automatic test platform obtain and show that described program distribution platform counts in preset duration it is described to be released
The online quality information and abnormality alarming information of program;Wherein, the online quality information includes online rollback rate.
4. a kind of program distributing device characterized by comprising
Sending module for obtaining the network address of test host, and is sent according to the network address to the test host
Test instruction, the test instruction are used to indicate the test host and call at least one test case to local journey to be released
Sequence is tested, and is generated after the completion of test and is reported test report, wherein the test host uses each test of calculating
The fingerprint value and preparatory fingerprint value of example are compared, if equal, the test host calls directly the test case,
To test the program to be released;
Display module for the test report to be written in database, and is being received for requesting the test to be reported
After the access request of announcement, the test report is shown;
Indicating module, when the confirmation for generating after receiving to test report confirmation instructs, instruction program publication is flat
Platform carries out online processing to the program to be released;Further include:
Link block, for receiving the connection request of the test host, after the identity for verifying the test host is legal,
The long connection of transmission control protocol TCP is established with the test host, the connection request carries account information and hardware identifier, institute
The legal verification condition of identity for stating test host includes that the account information exists and the account information and the hardware
Mark matching.
5. distributing device as claimed in claim 4, which is characterized in that the sending module is flat for receiving described program publication
When the test assignment mark that platform is sent, inquires the test assignment and identify associated program description information, described program description letter
Breath includes the network address for installing the test host of the program to be released.
6. distributing device as described in claim 4 or 5, which is characterized in that further include:
Monitoring module, for obtaining and showing the program to be released that described program distribution platform counts in preset duration
Online quality information and abnormality alarming information;Wherein, the online quality information includes online rollback rate.
7. a kind of program delivery system characterized by comprising automatic test platform, test host and program distribution platform;
Wherein,
The automatic test platform obtains the network address of the test host, and according to the network address to the test
Host sends test instruction;
When the test host receives the test instruction of automatic test platform transmission, at least one test case is called to treat
Release process is tested, wherein the test host is by the fingerprint value and preparatory fingerprint value of each test case of calculating
It is compared, if equal, the test host calls directly the test case, to test the program to be released;
After the completion of test, the test host reports the test report of generation to the automatic test platform;
The test report is written in database by the automatic test platform, and is being received for requesting the survey
After the access request for trying report, the test report is shown;
When the confirmation instruction generated after receiving to test report confirmation, the automatic test platform indicates the journey
Sequence distribution platform carries out online processing to the program to be released;
The automatic test platform obtains the network address of test host, and according to the network address to the test host
It sends before testing instruction, further includes:
The automatic test platform receives the connection request of the test host, closes in the identity for verifying the test host
After method, the long connection of transmission control protocol TCP is established with the test host, the connection request carries account information and hardware mark
Know, the legal verification condition of identity of the test host includes that the account information exists and the account information and described
Hardware identifier matching.
8. system as claimed in claim 7, which is characterized in that described to call at least one test case to the to be released of local
Program carries out test
The test host scans local Test cases technology test case set in specified path;
The test host calls at least one test case to local according to configuration information from the test case set
Program to be released is tested.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510263400.6A CN104834602B (en) | 2015-05-20 | 2015-05-20 | A kind of program dissemination method, device and program delivery system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510263400.6A CN104834602B (en) | 2015-05-20 | 2015-05-20 | A kind of program dissemination method, device and program delivery system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104834602A CN104834602A (en) | 2015-08-12 |
CN104834602B true CN104834602B (en) | 2019-02-22 |
Family
ID=53812507
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510263400.6A Active CN104834602B (en) | 2015-05-20 | 2015-05-20 | A kind of program dissemination method, device and program delivery system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104834602B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105389259B (en) * | 2015-12-11 | 2018-06-22 | 广州华多网络科技有限公司 | A kind of method, apparatus and system for carrying out Application testing |
CN106250314B (en) * | 2016-08-04 | 2019-05-28 | 合一网络技术(北京)有限公司 | A kind of test data acquisition methods and system |
CN107295142A (en) * | 2017-07-25 | 2017-10-24 | 北京小米移动软件有限公司 | terminal processing method, device and server |
CN107368421A (en) * | 2017-07-28 | 2017-11-21 | 北京深思数盾科技股份有限公司 | The method and system of automatic test interface program |
CN107656742A (en) * | 2017-09-27 | 2018-02-02 | 北京奇虎科技有限公司 | A kind of software product dissemination method and device |
CN107678969B (en) * | 2017-10-18 | 2021-04-02 | 阿里巴巴(中国)有限公司 | Test version release method and device, version control equipment and test machine |
CN109240994A (en) * | 2018-08-01 | 2019-01-18 | 北京奇虎科技有限公司 | A kind of document handling method and device |
CN109558146A (en) * | 2018-11-12 | 2019-04-02 | 泰康保险集团股份有限公司 | Application issued method, apparatus and storage medium |
CN111176961B (en) * | 2019-12-05 | 2022-03-29 | 腾讯科技(深圳)有限公司 | Application program testing method and device and storage medium |
CN111737145B (en) * | 2020-07-21 | 2020-12-22 | 北京志翔科技股份有限公司 | Automatic testing method and device |
CN113521751B (en) * | 2021-07-27 | 2023-11-14 | 腾讯科技(深圳)有限公司 | Operation test method and device, storage medium and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7793269B2 (en) * | 2005-02-15 | 2010-09-07 | Ebay Inc. | Parallel software testing based on a normalized configuration |
CN102437998A (en) * | 2010-09-29 | 2012-05-02 | 中兴通讯股份有限公司 | Application store system and method by utilizing same to develop |
CN102710753A (en) * | 2012-05-15 | 2012-10-03 | 华为技术有限公司 | Method, device and system for publishing Internet application |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8677315B1 (en) * | 2011-09-26 | 2014-03-18 | Amazon Technologies, Inc. | Continuous deployment system for software development |
-
2015
- 2015-05-20 CN CN201510263400.6A patent/CN104834602B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7793269B2 (en) * | 2005-02-15 | 2010-09-07 | Ebay Inc. | Parallel software testing based on a normalized configuration |
CN102437998A (en) * | 2010-09-29 | 2012-05-02 | 中兴通讯股份有限公司 | Application store system and method by utilizing same to develop |
CN102710753A (en) * | 2012-05-15 | 2012-10-03 | 华为技术有限公司 | Method, device and system for publishing Internet application |
Also Published As
Publication number | Publication date |
---|---|
CN104834602A (en) | 2015-08-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104834602B (en) | A kind of program dissemination method, device and program delivery system | |
CN104410543B (en) | Automated testing method and system based on cloud resource | |
CN104683180B (en) | A kind of method for monitoring performance, system and application server | |
CN108762803A (en) | A kind of configuring management method, device, terminal device and storage medium | |
CN111124850A (en) | MQTT server performance testing method, system, computer equipment and storage medium | |
CN110912776B (en) | Automatic fuzzy test method and device for entity router management protocol | |
CN108509333A (en) | Adjustment method and device | |
CN106155812A (en) | Method, device, system and the electronic equipment of a kind of resource management to fictitious host computer | |
CN108984179B (en) | Linux compiling processing method and device | |
EP2629205A1 (en) | Multi-entity test case execution workflow | |
CN108206830A (en) | Vulnerability scanning method, apparatus, computer equipment and storage medium | |
CN111400167A (en) | Redfish service compliance verification method, device, equipment and medium | |
CN109040255B (en) | Internet of things equipment access method, device, equipment and storage medium | |
CN110750453B (en) | HTML 5-based intelligent mobile terminal testing method, system, server and storage medium | |
US11874728B2 (en) | Software application diagnostic aid | |
CN110908708B (en) | Code release method, device and system | |
CN111966556A (en) | Performance pressure measurement method and device, server and computer readable storage medium | |
CN111654411A (en) | Inspection method and related device | |
CN104636250B (en) | Cloud automatic test system and method | |
CN110070444A (en) | A kind of block chain transaction flow management method and relevant apparatus | |
JP7039652B2 (en) | Abnormal server service processing method and equipment | |
KR20150030297A (en) | Verification apparatus, terminal device, system, method and computer-readable medium for verifying application | |
CN109428788A (en) | Function test method and system | |
US20140237480A1 (en) | Method, processing modules and system for executing an executable code | |
CN109245941B (en) | Service compensation method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 510000, Guangdong Province, Guangzhou, Panyu District Town, Huambo business district, Wanda Plaza, block B1, 28 floor Applicant after: Guangzhou Huaduo Network Technology Co., Ltd. Address before: 510655, Guangzhou, Whampoa Avenue, No. 2, creative industrial park, building 3-08, Applicant before: Guangzhou Huaduo Network Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |