CN104834602A - Program issuing method, device and system - Google Patents
Program issuing method, device and system Download PDFInfo
- Publication number
- CN104834602A CN104834602A CN201510263400.6A CN201510263400A CN104834602A CN 104834602 A CN104834602 A CN 104834602A CN 201510263400 A CN201510263400 A CN 201510263400A CN 104834602 A CN104834602 A CN 104834602A
- Authority
- CN
- China
- Prior art keywords
- test
- program
- platform
- host
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000012360 testing method Methods 0.000 claims abstract description 545
- 238000012790 confirmation Methods 0.000 claims abstract description 33
- 238000012545 processing Methods 0.000 claims abstract description 20
- 230000002159 abnormal effect Effects 0.000 claims description 11
- 230000005540 biological transmission Effects 0.000 claims description 3
- 238000012544 monitoring process Methods 0.000 claims description 3
- 238000004891 communication Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 10
- 230000005856 abnormality Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 210000001503 joint Anatomy 0.000 description 3
- 238000011161 development Methods 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
- 238000004590 computer program Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The embodiment of the invention discloses a program issuing method. The method includes the steps that a network address of a test host is obtained through an automatic test platform, a test instruction is sent to the test host according to the network address, the test instruction is used for indicating the test host to call at last one test case to test a local program to be issued, and a test report is generated and reported after testing; the automatic test platform writes the test report into a database and displays the test report after receiving an access request used for requesting for the test report; when the automatic test platform receives a confirmation instruction of the test report, the automatic test platform indicates a program issuing platform to carry out online processing on the program to be issued. The embodiment of the invention further discloses a program issuing device and a program issuing system. By means of the program issuing method, device and system, program issuing efficiency is improved.
Description
Technical Field
The present invention relates to the field of computers, and in particular, to a program distribution method, apparatus, and system.
Background
In order to test whether the developed program meets the expected requirements, a tester develops test cases to test the program. The Test Case (Test Case) is a scientific organization summary of the behavior activity of the software Test, and aims to convert the behavior of the software Test into a manageable mode; meanwhile, the test case is also one of methods for specifically quantifying the test, and the test cases are different for different types of software. Unlike software such as systems, tools, controls, games, etc., the user requirements for management software are more diverse.
In the current test scheme, a tester develops test cases meeting different test requirements, such as unit test, integration test, interface test or performance test, through an atomic operation function or API provided by a test tool, and after the test case is run by a test host, when the tester checks that various parameters of a test result meet the requirements, the tester loads a program into a program release platform for online. The applicant finds that the current program issuing method has the problem of low efficiency.
Disclosure of Invention
In view of this, embodiments of the present invention provide a program distribution method, an apparatus and a program distribution system, so as to solve the problem of low efficiency of the program distribution method in the foregoing prior art.
In one aspect, an embodiment of the present invention provides a program publishing method, including:
the method comprises the steps that an automatic test platform obtains a network address of a test host and sends a test instruction to the test host according to the network address, wherein the test instruction is used for indicating the test host to call at least one test case to test a local program to be issued, and a test report is generated and reported after the test is finished;
the automatic test platform writes the test report into a database, and displays the test report after receiving an access request for requesting the test report;
and when a confirmation instruction of the test report is received, indicating a program issuing platform to perform online processing on the program to be issued.
On the other hand, an embodiment of the present invention further provides a program issuing apparatus, including:
the sending module is used for acquiring a network address of a test host, sending a test instruction to the test host according to the network address, wherein the test instruction is used for instructing the test host to call at least one test case to test a local program to be issued, and generating and reporting a test report after the test is finished;
the display module is used for writing the test report into a database and displaying the test report after the automatic test platform receives an access request for requesting the test report;
and the indicating module is used for indicating the program issuing platform to perform online processing on the program to be issued when receiving a confirmation instruction generated after at least two times of confirmation of the test report.
In another aspect, an embodiment of the present invention provides a program distribution system, including: the system comprises a dynamic test platform, a test host and a program release platform; wherein,
the automatic test platform acquires a network address of the test host and sends a test instruction to the test host according to the network address;
when the test host receives a test instruction sent by the automatic test platform, calling at least one test case to test a program to be issued;
after the test is finished, the test host reports the generated test report to the automatic test platform;
the automatic test platform writes the test report into a database, and displays the test report after receiving an access request for requesting the test report;
and when a confirmation instruction generated after the test report is confirmed is received, the automatic test platform instructs the program issuing platform to perform online processing on the program to be issued.
Compared with the prior art, the embodiment of the invention comprises the following steps: the automatic test platform sends a test instruction to the test host according to the acquired network address of the test host, instructs the test host to test a local program to be issued according to a pre-configured test strategy, sends a test report generated by the test to at least two levels of confirmers for confirmation, and instructs the program issuing platform to perform online processing on the program to be issued after the confirmation is passed. The program test and the online process are in seamless butt joint, so that the program issuing efficiency can be improved, and the program issuing quality can be ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a program issuing system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a program issuing method according to an embodiment of the present invention;
fig. 3 is another schematic flow chart of a program issuing method according to an embodiment of the present invention;
fig. 4 is an interaction diagram of a program publishing method according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating an interface of a test case of the test host according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a program issuing apparatus according to an embodiment of the present invention;
fig. 7 is another schematic structural diagram of a program issuing apparatus according to an embodiment of the present invention;
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a schematic structural diagram of a program publishing system according to an embodiment of the present invention is provided, in the embodiment of the present invention, the program publishing system includes a program publishing platform, an automatic testing platform, and a plurality of testing hosts, where a plurality of identifiers of programs to be published are stored in a testing task queue, the automatic testing program may sequentially test the programs to be published according to an arrangement order in the testing task queue, and configuration parameters (e.g., server addresses, version information, hardware requirement information, etc.) of the programs to be published are stored in a configuration management center, so that the program publishing platform publishes the programs to be published to a designated server according to a configuration parameter frame; the automatic test platform is used for controlling the test host to complete the test process of the program to be issued; the program publishing platform is used for publishing the program to be published to a specified server; the test host is used for performing function test on the program to be issued, the program to be issued is installed in the test host, and a test report is generated after the function test is performed on the program to be issued. The test host can be various types of terminal equipment, such as a smart phone, a desktop computer, a notebook computer, a tablet computer and the like, and different types of terminal equipment can be deployed specifically according to the running environment of the program to be released;
the working principle of the program issuing system of the embodiment of the invention is as follows: the automatic test platform acquires a network address of the test host and sends a test instruction to the test host according to the network address; the number of the test hosts is at least one, and the number of the test hosts can be configured according to needs; when the test host receives a test instruction sent by the automatic test platform, calling at least one test case to test the program to be issued; after the test is finished, the test host reports the generated test report to the automatic test platform, wherein the test report is used for representing the test result corresponding to each test case; the automatic test platform writes the test report into a database, and displays the test report after receiving an access request for requesting the test report; wherein the test report in the database can be accessed remotely or locally; when a confirmation instruction generated after the test report is confirmed is received, the automatic test platform instructs the program issuing platform to perform online processing on the program to be issued, and the program issuing platform issues the program to be issued to a specified server according to the configuration parameters. When the program to be released runs on the server, the program releasing platform counts the online quality information and the abnormal alarm information of the program to be released, and notifies the automatic testing platform of the uplink quality information and the abnormal alarm information. Therefore, seamless connection of the automatic testing platform and the program issuing platform is realized, and the program issuing efficiency is ensured. Meanwhile, the automatic test platform monitors the uplink quality information and the abnormal alarm information of the program to be issued at any time, and improves and tests the program to be issued.
Referring to fig. 2, a flowchart of a program publishing method provided in an embodiment of the present invention is shown, where in the embodiment of the present invention, the method includes:
s101, an automatic test platform acquires a network address of a test host, sends a test instruction to the test host according to the network address, the test instruction is used for instructing the test host to call at least one test case to test a program to be issued, and generates and reports a test report after the test is completed.
Specifically, the automatic test platform manages at least one test host, a program to be issued is locally installed on the test host, a network address is allocated when the test host is connected to the automatic test platform, the automatic test platform acquires the network address of the test host, a test instruction is sent to the test host through indication of the network address, the test instruction is used for indicating the test host to call at least one test case to test the locally installed program to be issued, and after the at least one test case is operated, a test report is reported to the automatic test platform.
S102, the automatic test platform writes the test report into a database, and displays the test report after receiving an access request for requesting the test report.
S103, when receiving a confirmation instruction of the test report, indicating a program issuing platform to perform online processing on the program to be issued.
By implementing the embodiment of the invention, the automatic test platform sends the test instruction to the test host according to the acquired network address of the test host, instructs the test host to test the local program to be issued according to the pre-configured test strategy, sends the test report generated by the test to at least two stages of confirmers for confirmation, and instructs the program issuing platform to perform online processing on the program to be issued after the confirmation passes. The program test and the online process are in seamless butt joint, so that the program issuing efficiency can be improved, and the program issuing quality can be ensured.
Referring to fig. 3, another flow diagram of a program publishing method according to an embodiment of the present invention is shown, where in the embodiment of the present invention, the method includes:
s201, after receiving a connection request of a test host, and after verifying that the identity of the test host is legal, establishing long connection of a Transmission Control Protocol (TCP) with the test host.
Specifically, the test center can manage a plurality of test hosts simultaneously, the type of the test host can be a mobile terminal or a desktop terminal, a program to be issued is installed on the test host, before the test host executes a test on the program to be issued, the test host needs to establish communication connection with the automatic test platform, and the specific connection process can be as follows: the test host initiates a connection request to the automatic test platform, the connection request carries account information and hardware identification (such as MAC address), the control host inquires whether the account information exists in a database and whether the account information is matched with the hardware identification, if the two conditions are met, the identity of the test host is determined to be legal, the automatic test platform and the test host establish TCP long connection, the TCP long connection can enable a connection channel between the test host and the automatic test platform to exist all the time, and connection communication does not need to be reestablished when a communication request exists.
In this embodiment, the automated testing platform may also verify the legitimacy of the testing host by using other methods, which are not described herein again.
S202, when receiving a test task identifier sent by the program release platform, the automatic test platform queries program description information associated with the test task identifier, wherein the program description information comprises a network address of a test host for installing the program to be released, and sends a test instruction to the test host according to the network address.
Specifically, after the program to be issued is successfully installed on the test host, the test host generates a test task identifier of the program to be issued, where the test task identifier represents a unique identifier of a task testing the program to be issued on the test host, and the test task identifier may be represented by letters and/or character strings. And the test host sends the generated test task identifier to the program release platform. The program issuing platform needs to test the program to be issued before the program to be issued needs to be issued, the program issuing platform and the automatic testing platform are provided with communication interfaces, the program issuing platform sends a test task identifier of the program to be issued to the automatic testing platform through the communication interfaces, when the automatic testing platform receives the test task identifier sent by the program issuing platform, program description information related to the test task identifier is inquired, the program description information is used for representing attribute information of the program to be issued and attribute information of a testing host machine for installing the program to be issued, and the program description information comprises: program author, program creation time, network address (e.g., IP address or MAC address) of test host, installation path.
The automatic test platform sends a test instruction to the test host according to the inquired network address, the test instruction is used for indicating the test host to call at least one test case to test a program to be tested which is locally installed according to a preset test strategy, the test strategy of the test host comprises an adopted test language, a test type and a test path, the test host does not have the condition of interruption and exit due to abnormality in the test process, a test report is generated after the test is completed, and the test host returns the test report to the automatic test platform. If the test host computer does not generate the test report when the test host computer is interrupted and exits due to the occurrence of the abnormality in the test process, the automatic test platform cannot receive the test report returned by the test host computer.
S203, whether the automatic test platform receives the test report reported by the test host within a preset time length or not is judged.
Specifically, the execution time of each test case is fixed, and after the automatic test platform selects a test case, the total execution time is determined according to the execution time of each test case, and the total execution time may be set to a preset duration (for example, 30 groups). When the test starts, the execution time starts to be calculated, the automatic test platform does not receive a test report returned by the test host within a preset time length, and the test host is determined to be abnormal and interrupted to exit in the process of executing the selected test case, and then S205 is executed; if the automated testing platform does not receive the test report returned by the testing host machine within the preset time length, it is determined that the testing host machine tests normally, and S204 is executed here.
And S204, writing the test report into a database by the automatic test platform.
Specifically, the automatic test platform writes the received test report into the database, where the test report includes one or more of test case data, total test time, test success rate, package name of the program to be tested, and current state.
S205, determining that an abnormality occurs in the test process of the at least one test case, and displaying prompt information indicating that a test error occurs.
Specifically, when a test case is abnormal in the process of executing the test case by the test host, the test case is interrupted and exits, and prompt information of test error is displayed on the test host, wherein the prompt information can be represented by an error information code.
S206, when the automatic test platform receives an access request for requesting the test report, displaying the test report on a webpage.
Specifically, each test report in the database corresponds to one test report identifier, when the database of the test center receives an access request for requesting a test report, the access request can carry the test report identifier, the test report corresponding to the test report identifier in the database is retrieved, and the test report can be displayed on a front-end Web page.
And S207, when a confirmation instruction generated after at least two times of confirmation of the test report is received, indicating a program issuing platform to perform online processing on the program to be issued.
Specifically, the test report generated by the test host may be formally brought online after being subjected to multi-level confirmation, for example, through secondary confirmation, the determination process of the test report may be: the automatic test platform sends the test report to the first terminal in an electronic mail mode, after receiving a confirmation instruction of the first terminal, the test report is sent to the second terminal in an electronic mail mode, and the like, and when all the terminals send the confirmation instruction, the automatic test platform instructs the program issuing platform to perform online processing on the program to be issued.
S208, acquiring and displaying the online quality information and the abnormal alarm information of the program to be issued, which are counted by the program issuing platform within a preset time length; wherein the online quality information comprises an online backspacing rate.
Specifically, after the program to be released is on line, the program release platform may count an on-line rollback rate of the program to be released within a preset time period, where the on-line rollback rate is equal to the total program rollback times divided by the total program upload times, and the on-line rollback rate is used to measure program release quality, and may be displayed in a pie chart, a line chart, or a bar chart. The automatic testing platform obtains online quality information of the program to be issued counted by the program issuing platform and abnormal alarm information generated in the running process of the program to be issued, and improves the program to be issued according to the abnormal alarm information and the online quality information. When the automatic testing platform displays the online quality information, the ranking of the online rollback rate of each development group in the preset time can be displayed, and the development groups can be monitored to improve the program development quality.
Referring to fig. 4, an interaction diagram of a program publishing method provided in an embodiment of the present invention is shown, where in the embodiment of the present invention, the method includes:
s301, TCP long connection is established between the automatic test platform and the test host.
Specifically, the test center can manage a plurality of test hosts simultaneously, the type of the test host can be a mobile terminal or a desktop terminal, a program to be issued is installed on the test host, before the test host executes a test on the program to be issued, the test host needs to establish communication connection with the automatic test platform, and the specific connection process can be as follows: the test host initiates a connection request to the automatic test platform, the connection request carries account information and hardware identification (such as MAC address), the control host inquires whether the account information exists in a database and whether the account information is matched with the hardware identification, if the two conditions are met, the identity of the test host is determined to be legal, the automatic test platform and the test host establish TCP long connection, the TCP long connection can enable a connection channel between the test host and the automatic test platform to exist all the time, and connection communication does not need to be reestablished when a communication request exists.
In this embodiment, the automated testing platform may also verify the legitimacy of the testing host by using other methods, which are not described herein again.
S302, installing a program to be issued on the test host computer, and generating a test task identifier.
Specifically, after the program to be issued is successfully installed on the test host, the test host generates a test task identifier of the program to be issued, where the test task identifier represents a unique identifier of a task testing the program to be issued on the test host, and the test task identifier may be represented by letters and/or character strings.
And S303, the test host sends the test task identifier to the program release platform.
And S304, the program release platform sends the test task identifier to the automatic test platform.
The program issuing platform and the automatic testing platform are provided with communication interfaces, and the program issuing platform sends a testing task identifier of the program to be issued to the automatic testing platform through the communication interfaces.
S305, the automatic test platform inquires program description information associated with the test task identifier, wherein the program description information comprises a network address of a test host for installing a program to be issued.
When receiving a test task identifier sent by a program release platform, an automatic test platform queries program description information associated with the test task identifier, wherein the program description information is used for representing attribute information of a program to be released and attribute information of a test host for installing the program to be released, and the program description information comprises: program author, program creation time, network address (e.g., IP address or MAC address) of test host, installation path.
S306, the automatic test platform sends a test instruction to the test host according to the network address.
S307, calling at least one test case to test the local program to be issued.
Specifically, the test host scans a path according to a preset path, scans all local test cases to generate a test case set, selects a specified test case from the test case set according to configured additional driving parameters to test a program to be issued, the additional driving parameters are not necessary, and when the additional driving parameters are empty by default, the test host selects all the test cases in the test case set to test. The test case set comprises test cases of different test languages and test types.
For example, referring to fig. 5, after receiving a test instruction, the test host scans 5 folders including test cases from the preset path root/unit test, where 4 folders store test types of different test languages, c represents a test case developed in c language, go represents a test case developed in go language, java represents a test case developed in java language, and py represents a test case developed in py language, where each folder includes test cases of different test types, for example, one or more of unit test, interface test, integration test, and performance test. And the test host selects at least one test case from the 4 folders according to the configured additional drive parameters to test the program to be issued.
The test host calculates a fingerprint value (for example, an MD5 value) of each test case, compares the fingerprint value with the calculated fingerprint value according to a preset fingerprint value to judge whether the test case is changed, if the fingerprint values of the test case and the test case are equal, the test case is not changed, the test host can directly call the test case, and if the fingerprint values of the test case and the test case are not equal, the test case is changed, and the test host cannot call the test case.
And S308, after the test is finished, the test host reports a test report to the automatic test platform.
The test host generates a test report after the test is finished, and returns the test report to the automatic test platform. If the test host computer does not generate the test report when the test host computer is interrupted and exits due to the occurrence of the abnormality in the test process, the automatic test platform cannot receive the test report returned by the test host computer.
And S309, receiving and displaying the test report.
Specifically, the automatic test platform receives the test report, and displays the test report on the automatic test platform according to needs, or pushes the test report to a designated device for display.
S310, receiving a confirmation instruction generated after at least two confirmations of the test report.
Specifically, the test report generated by the test host needs to be formally on-line after at least two confirmations, and the determined procedure may be: the automatic test platform sends the test report to a first affirmator in an electronic mail mode, after receiving the affirmation instruction of the first affirmator, the test report is sent to a second affirmator in an electronic mail mode, and the like, and when all the affirmators are affirmed to pass, the automatic test platform indicates the program issuing platform to perform online processing on the program to be issued. Generally, a test report needs to pass through two-stage confirmation, developer confirmation and project manager confirmation, and after receiving confirmation instructions generated after the two confirmation to the test report, the test report is subjected to online processing on a program to be issued.
And S311, indicating the program to be issued to perform online processing.
According to the embodiment of the invention, the automatic test platform sends a test instruction to the test host according to the acquired network address of the test host, instructs the test host to test the local program to be issued according to the pre-configured test strategy, performs multi-stage confirmation on the test report generated by the test by the automatic test platform, and instructs the program issuing platform to perform online processing on the program to be issued after the confirmation is passed. The program test and the online process are in seamless butt joint, so that the program issuing efficiency can be improved, and the program issuing quality can be ensured.
Referring to fig. 6, a schematic structural diagram of a program issuing apparatus according to an embodiment of the present invention is provided, in the embodiment of the present invention, the program issuing apparatus includes a sending module 10, a display module 20, and an indication module 30, wherein,
the sending module 10 is configured to obtain a network address of a test host, send a test instruction to the test host according to the network address, where the test instruction is used to instruct the test host to call at least one test case to test a local program to be issued, and generate and report a test report after the test is completed.
And the display module 20 is configured to write the test report into a database, and display the test report after the automated test platform receives an access request for requesting the test report.
And the indicating module 30 is configured to instruct the program issuing platform to perform online processing on the program to be issued when receiving a confirmation instruction generated after the test report is confirmed.
The embodiments of the present invention and the first method embodiment are based on the same concept, and the technical effects brought by the embodiments are also the same.
Further, referring to fig. 7, another schematic structural diagram of a program issuing device according to an embodiment of the present invention is provided, in the embodiment of the present invention, the program issuing device includes: besides the sending module 10, the display module 20 and the indication module 30, the present invention further includes: a connection module 40 and a monitoring module 50, wherein,
and the connection module 40 is configured to receive the connection request of the test host, and establish a TCP long connection with the test host after verifying that the identity of the test host is legal.
The monitoring module 50 is configured to acquire and display the online quality information and the abnormal warning information of the program to be distributed, which are counted by the program distribution platform within a preset time period; wherein the online quality information comprises an online backspacing rate.
Optionally, the sending module 20 is configured to query program description information associated with the test task identifier when receiving the test task identifier sent by the program publishing platform, where the program description information includes a network address of a test host where the program to be published is installed.
Optionally, the method further includes: and the overtime processing module is used for determining that an abnormality occurs in the test process of the at least one test case if the test report reported by the test host is not received within a preset time length, and displaying prompt information indicating that a test error occurs.
The embodiment of the present invention and the second method embodiment are based on the same concept, and the technical effects brought by the embodiment are also the same, and for the specific process, reference is made to the description of the second method embodiment, which is not repeated herein.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. An application program issuing method, characterized by comprising:
the method comprises the steps that an automatic test platform obtains a network address of a test host and sends a test instruction to the test host according to the network address, wherein the test instruction is used for indicating the test host to call at least one test case to test a local program to be issued, and a test report is generated and reported after the test is finished;
the automatic test platform writes the test report into a database, and displays the test report after receiving an access request for requesting the test report;
and when a confirmation instruction of the test report is received, the automatic test platform instructs a program issuing platform to perform online processing on the program to be issued.
2. The method of claim 1, wherein the automated test platform obtaining a network address of a test host comprises:
and when receiving the test task identifier sent by the program release platform, the automatic test platform inquires program description information associated with the test task identifier, wherein the program description information comprises a network address of a test host for installing the program to be released.
3. The method of claim 1, wherein before the automated test platform obtains a network address of a test host and sends a test command to the test host according to the network address, the method further comprises:
and the automatic test platform receives the connection request of the test host, and establishes a Transmission Control Protocol (TCP) long connection with the test host after verifying that the identity of the test host is legal.
4. The method according to any one of claims 1 to 3, wherein, after instructing the program issuing platform to perform online processing on the program to be issued when receiving a confirmation instruction generated after at least two confirmations of the test report, the method further comprises:
the automatic testing platform acquires and displays the online quality information and the abnormal warning information of the program to be issued, which are counted by the program issuing platform within a preset time length; wherein the online quality information comprises an online backspacing rate.
5. A program issuing apparatus characterized by comprising:
the sending module is used for acquiring a network address of a test host, sending a test instruction to the test host according to the network address, wherein the test instruction is used for instructing the test host to call at least one test case to test a local program to be issued, and generating and reporting a test report after the test is finished;
the display module is used for writing the test report into a database and displaying the test report after the automatic test platform receives an access request for requesting the test report;
and the indicating module is used for indicating the program issuing platform to perform online processing on the program to be issued when receiving a confirmation instruction generated after the test report is confirmed.
6. The issuing apparatus according to claim 5, wherein the sending module is configured to query program description information associated with the test task identifier when receiving the test task identifier sent by the program issuing platform, where the program description information includes a network address of a test host where the program to be issued is installed.
7. The issuing device according to claim 5, characterized by further comprising:
and the connection module is used for receiving the connection request of the test host and establishing long Transmission Control Protocol (TCP) connection with the test host after verifying that the identity of the test host is legal.
8. The distribution apparatus according to any one of claims 5 to 7, further comprising:
the monitoring module is used for acquiring and displaying the online quality information and the abnormal alarm information of the program to be issued, which are counted by the program issuing platform within a preset time length; wherein the online quality information comprises an online backspacing rate.
9. A program distribution system, comprising: the system comprises an automatic test platform, a test host and a program release platform; wherein,
the automatic test platform acquires a network address of the test host and sends a test instruction to the test host according to the network address;
when the test host receives a test instruction sent by the automatic test platform, calling at least one test case to test a program to be issued;
after the test is finished, the test host reports the generated test report to the automatic test platform;
the automatic test platform writes the test report into a database, and displays the test report after receiving an access request for requesting the test report;
and when a confirmation instruction generated after the test report is confirmed is received, the automatic test platform instructs the program issuing platform to perform online processing on the program to be issued.
10. The method of claim 9, wherein invoking at least one test case to test a local program to be issued comprises:
the test host scans local test cases in a specified path to generate a test case set;
and the test host calls at least one test case from the test case set according to the configuration information to test the local program to be issued.
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 true CN104834602A (en) | 2015-08-12 |
CN104834602B 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) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105389259A (en) * | 2015-12-11 | 2016-03-09 | 广州华多网络科技有限公司 | Method, apparatus and system for performing application testing |
CN106250314A (en) * | 2016-08-04 | 2016-12-21 | 合网络技术(北京)有限公司 | A kind of test data capture method 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 |
CN107678969A (en) * | 2017-10-18 | 2018-02-09 | 广东神马搜索科技有限公司 | Beta version dissemination method, 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 |
CN111176961A (en) * | 2019-12-05 | 2020-05-19 | 腾讯科技(深圳)有限公司 | Application program testing method and device and storage medium |
CN111737145A (en) * | 2020-07-21 | 2020-10-02 | 北京志翔科技股份有限公司 | Automatic testing method and device |
CN113521751A (en) * | 2021-07-27 | 2021-10-22 | 腾讯科技(深圳)有限公司 | Operation test method and device, storage medium and electronic equipment |
Citations (4)
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 |
US20140189641A1 (en) * | 2011-09-26 | 2014-07-03 | Amazon Technologies, Inc. | Continuous deployment system for software development |
-
2015
- 2015-05-20 CN CN201510263400.6A patent/CN104834602B/en active Active
Patent Citations (4)
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 |
US20140189641A1 (en) * | 2011-09-26 | 2014-07-03 | Amazon Technologies, Inc. | Continuous deployment system for software development |
CN102710753A (en) * | 2012-05-15 | 2012-10-03 | 华为技术有限公司 | Method, device and system for publishing Internet application |
Cited By (15)
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 |
CN105389259A (en) * | 2015-12-11 | 2016-03-09 | 广州华多网络科技有限公司 | Method, apparatus and system for performing application testing |
CN106250314B (en) * | 2016-08-04 | 2019-05-28 | 合一网络技术(北京)有限公司 | A kind of test data acquisition methods and system |
CN106250314A (en) * | 2016-08-04 | 2016-12-21 | 合网络技术(北京)有限公司 | A kind of test data capture method 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 |
CN107678969A (en) * | 2017-10-18 | 2018-02-09 | 广东神马搜索科技有限公司 | Beta version dissemination method, 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 |
CN111176961A (en) * | 2019-12-05 | 2020-05-19 | 腾讯科技(深圳)有限公司 | Application program testing method and device and storage medium |
CN111176961B (en) * | 2019-12-05 | 2022-03-29 | 腾讯科技(深圳)有限公司 | Application program testing method and device and storage medium |
CN111737145A (en) * | 2020-07-21 | 2020-10-02 | 北京志翔科技股份有限公司 | Automatic testing method and device |
CN113521751A (en) * | 2021-07-27 | 2021-10-22 | 腾讯科技(深圳)有限公司 | Operation test method and device, storage medium and electronic equipment |
CN113521751B (en) * | 2021-07-27 | 2023-11-14 | 腾讯科技(深圳)有限公司 | Operation test method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104834602B (en) | 2019-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104834602B (en) | A kind of program dissemination method, device and program delivery system | |
CN109543891B (en) | Method and apparatus for establishing capacity prediction model, and computer-readable storage medium | |
CN110011875B (en) | Dial testing method, device, equipment and computer readable storage medium | |
CN109977012B (en) | Joint debugging test method, device, equipment and computer readable storage medium of system | |
CN107800783B (en) | Method and device for remotely monitoring server | |
CN107045475B (en) | Test method and device | |
CN110267215B (en) | Data detection method, equipment and storage medium | |
CN108200132A (en) | Resource acquiring method, device, equipment and computer readable storage medium | |
CN111666217A (en) | Method and apparatus for testing code | |
CN104951380A (en) | Test method and system used for testing on-line products | |
CN112269591A (en) | Version release method, device, equipment and storage medium | |
CN109408104B (en) | Method and device for acquiring game integration information | |
CN109274533B (en) | Web service fault positioning device and method based on rule engine | |
CN107168846A (en) | The monitoring method and device of electronic equipment | |
US20090083747A1 (en) | Method for managing application programs by utilizing redundancy and load balance | |
CN115509714A (en) | Task processing method and device, electronic equipment and storage medium | |
CN115714816A (en) | Data center resource supply method and device, electronic equipment and storage medium | |
CN115190293A (en) | Dial testing method and device, electronic equipment and computer storage medium | |
CN114968508A (en) | Task processing method, device, equipment and storage medium | |
CN110362464B (en) | Software analysis method and equipment | |
CN111190725B (en) | Task processing method, device, storage medium and server | |
CN114691486A (en) | Program debugging method and device and computer equipment | |
CN113342634A (en) | Software quality evaluation method and device | |
CN116737428B (en) | Air quality mode operation stability checking method and device and electronic equipment | |
JP2013232035A (en) | Information processing system, information processing device, information processing method, and program |
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 |
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. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |