Live broadcast test method, apparatus and device, and storage medium

Through the method of sending live test requests to the live broadcast end and receiving verification test data, the problem of insufficient stability of live broadcast tests and frequent updates of test logic in the prior art is solved, and more efficient and reliable live broadcast tests are achieved.

CN120238664APending Publication Date: 2025-07-01BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311865122.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

The existing live broadcast testing scheme is insufficient in stability, and with the update of live broadcast applications, the testing logic needs to be updated frequently, resulting in high costs.

Method used

The live test request is sent to the live broadcast terminal through the test terminal, so that the live broadcast terminal can perform the corresponding live broadcast test operation, and receive and verify the test data returned by the live broadcast terminal to obtain the test results.

Benefits of technology

Improve the stability and reliability of live testing, reduce the need for frequent updates of test logic due to application updates, and thus reduce costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120238664A_ABST
    Figure CN120238664A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a live broadcast test method and device, equipment and a storage medium. Sending a live broadcast test request to a live broadcast end, so that the live broadcast end executes a corresponding live broadcast test operation based on the live broadcast test request; and receiving live broadcast test data returned by the live broadcast end, and verifying the live broadcast test data to obtain a live broadcast test result. According to the live broadcast test method provided by the embodiment of the invention, the live broadcast scene is tested in a mode that the test end sends the live broadcast test request to the live broadcast end, and the stability and reliability of the live broadcast test can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of live broadcast technology, and in particular, to a live broadcast test method, apparatus, device, and storage medium. Background Art

[0002] In the test of the live broadcast scenario, since it is necessary to test the process of the host starting the broadcast and the process of the audience entering the live broadcast of the host, it is necessary to cooperate with multiple machines to complete the test of the entire live broadcast scenario. The existing test solutions have insufficient stability, and with the update of the live broadcast application program, the test logic also needs to be updated frequently, resulting in high costs. Summary of the Invention

[0003] Embodiments of the present disclosure provide a live broadcast test method, apparatus, device, and storage medium. By sending a test request through a remote call interface, the test of the live broadcast scenario can be realized, which can improve the stability and reliability of the live broadcast test.

[0004] In a first aspect, an embodiment of the present disclosure provides a live broadcast test method, which is executed by a test end and includes:

[0005] Sending a live broadcast test request to a live broadcast end, so that the live broadcast end performs corresponding live broadcast test operations based on the live broadcast test request;

[0006] Receiving the live broadcast test data returned by the live broadcast end, and verifying the live broadcast test data to obtain a live broadcast test result.

[0007] In a second aspect, an embodiment of the present disclosure further provides a live broadcast test method, which is executed by a live broadcast end and includes:

[0008] Receiving a live broadcast test request sent by a test end, and performing corresponding live broadcast test operations according to the live broadcast test request;

[0009] Obtaining live broadcast test data during the execution of the live broadcast test operations;

[0010] Sending the live broadcast test data to the test end, so that the test end verifies the live broadcast test data to obtain a test result.

[0011] In a third aspect, an embodiment of the present disclosure further provides a live broadcast test apparatus, which is arranged in a test end and includes:

[0012] A live broadcast test request sending module, configured to send a live broadcast test request to a live broadcast end, so that the live broadcast end performs corresponding live broadcast test operations based on the live broadcast test request;

[0013] A live test result acquisition module, configured to receive the live test data returned by the live end, and verify the live test data to obtain a live test result.

[0014] Fourthly, an embodiment of the present disclosure further provides a live test device, which is disposed in the live end and includes:

[0015] A live test request receiving module, configured to receive a live test request sent by the test end, and perform corresponding live test operations according to the live test request;

[0016] A live test data acquisition module, configured to acquire live test data during the execution of the live test operation;

[0017] A live test data sending module, configured to send the live test data to the test end, so that the test end verifies the live test data to obtain a test result.

[0018] Fifthly, an embodiment of the present disclosure provides an electronic device, which includes:

[0019] One or more processors;

[0020] A storage device, configured to store one or more programs,

[0021] When the one or more programs are executed by the one or more processors, the one or more processors implement the live test method as described in the embodiments of the present disclosure.

[0022] Sixthly, an embodiment of the present disclosure provides a storage medium containing computer-executable instructions, and the computer-executable instructions are used to execute the live test method as described in the embodiments of the present disclosure when executed by a computer processor.

[0023] Embodiments of the present disclosure disclose a live test method, device, equipment and storage medium. The method includes: sending a live test request to the live end, so that the live end performs corresponding live test operations based on the live test request; receiving the live test data returned by the live end, and verifying the live test data to obtain a live test result. The live test method provided by the embodiments of the present disclosure can improve the stability and reliability of live test by using the method of sending a live test request from the test end to the live end to implement the test of the live scenario. Description of the Drawings

[0024] Combined with the drawings and referring to the following specific embodiments, the above and other features, advantages and aspects of the embodiments of the present disclosure will become more obvious. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic, and the original components and elements are not necessarily drawn to scale.

[0025] Figure 1 is a schematic structural diagram of a live broadcast test system provided by an embodiment of the present disclosure;

[0026] Figure 2 is a schematic flowchart of a live broadcast test method provided by an embodiment of the present disclosure;

[0027] Figure 3 is a signaling schematic diagram of a live broadcast test process provided by an embodiment of the present disclosure;

[0028] Figure 4 is a signaling schematic diagram of a live broadcast test process provided by an embodiment of the present disclosure;

[0029] Figure 5 is a schematic flowchart of a live broadcast test method provided by an embodiment of the present disclosure;

[0030] Figure 6 is a schematic structural diagram of a live broadcast test device provided by an embodiment of the present disclosure;

[0031] Figure 7 is a schematic structural diagram of a live broadcast test device provided by an embodiment of the present disclosure;

[0032] Figure 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. Detailed implementation manners

[0033] Hereinafter, embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not used to limit the protection scope of the present disclosure.

[0034] It should be understood that the steps recited in the method embodiments of the present disclosure can be executed in a different order and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this regard.

[0035] As used herein, the term "including" and its variants are open-ended, that is, "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0036] It should be noted that the concepts such as "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependent relationships.

[0037] It should be noted that the modifications of "one" and "multiple" mentioned in this disclosure are illustrative rather than restrictive. Those skilled in the art should understand that unless otherwise clearly specified in the context, it should be understood as "one or more".

[0038] The names of the messages or information exchanged between multiple devices in the embodiments of this disclosure are only for illustrative purposes, and are not used to limit the scope of these messages or information.

[0039] It can be understood that before using the technical solutions disclosed in the embodiments of this disclosure, the types, usage scopes, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0040] For example, when responding to receiving an active request from the user, a prompt message is sent to the user to clearly prompt the user that the operation requested by the user will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, an application program, a server, or a storage medium that executes the operations of the technical solutions of this disclosure according to the prompt message.

[0041] As an optional but non-limiting implementation manner, the way of sending a prompt message to the user in response to receiving an active request from the user can be, for example, in the form of a pop-up window, and the prompt message can be presented in text in the pop-up window. In addition, the pop-up window can also carry selection controls for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0042] It can be understood that the above process of notifying and obtaining the user's authorization is only illustrative and does not constitute a limitation on the implementation manner of this disclosure. Other ways that meet relevant laws and regulations can also be applied to the implementation manner of this disclosure.

[0043] It can be understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) should comply with the requirements of corresponding laws, regulations and related provisions.

[0044] Figure 1 is a schematic structural diagram of a live broadcast test system in the embodiments of this disclosure, as Figure 1As shown in the figure, the system includes: a test terminal, at least one live broadcast terminal, and a server. The test terminal and the live broadcast terminal perform data interaction through a Remote Procedure Call (RPC) interface.

[0045] Among them, the test terminal is used for writing test scripts and is the requester of the RPC interface. It sends a live broadcast test request to the live broadcast terminal by scheduling the RPC interface of the live broadcast terminal, causing the live broadcast terminal to perform live broadcast test operations, such as creating a live broadcast room, entering a live broadcast room, etc. The live broadcast terminal can be understood as a terminal that installs and runs a live broadcast application program and provides live broadcast test capabilities as the responder to the live broadcast test request. In this embodiment, a test library is included in the live broadcast terminal. This test library is applied in the test scenario. An RPC interface can be implemented in this test library, and this RPC interface is automatically started when the live broadcast APP is started. In addition, live broadcast test codes corresponding to the live broadcast test requests are registered in the test library, and corresponding test operations can be executed by calling these live broadcast test codes, such as starting a live broadcast operation, entering a live broadcast room, etc. The server is used to receive the live broadcast test requests sent by the test terminal and the data requests sent by the live broadcast terminal, and realizes the test of the live broadcast scenario by sending live broadcast data to the live broadcast terminal.

[0046] Figure 2 It is a schematic flowchart of a live broadcast test method provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the situation of testing a live broadcast scenario. This method can be executed by a live broadcast test device, and this device can be implemented in the form of software and / or hardware. Optionally, it is implemented by an electronic device, and this electronic device can be a mobile terminal, a PC terminal, a server, etc. This electronic device can be understood as the test terminal.

[0047] As Figure 1 shown, the method includes:

[0048] S110, sending a live broadcast test request to the live broadcast terminal, so that the live broadcast terminal performs corresponding live broadcast test operations based on the live broadcast test request.

[0049] Among them, the live broadcast terminal can include a host terminal and / or an audience terminal. The live broadcast test request can include test requests related to the live broadcast operation process, such as a live broadcast start test request, a request to enter a live broadcast room, a view component operation request, etc. In this embodiment, the process of the test terminal sending a live broadcast test request to the live broadcast terminal can be: first, call the RPC interface pre-configured in the live broadcast terminal, and then send the live broadcast test request to the live broadcast terminal through the RPC interface. After receiving the live broadcast test request, the live broadcast terminal calls the live broadcast test code corresponding to the live broadcast test request from the pre-created test library, and then runs this live broadcast test code to perform the corresponding live broadcast test operation.

[0050] Optionally, the process of sending a live test request to the live broadcast end and enabling the live broadcast end to perform corresponding live test operations based on the live test request can be as follows: sending a live broadcast start test request to the host end, enabling the host end to perform a live broadcast start operation according to the live broadcast start test request; receiving the live broadcast start success information and the live broadcast room identifier returned by the host end, and generating a request to enter the live broadcast room based on the live broadcast room identifier; sending the request to enter the live broadcast room to the viewer end, enabling the viewer end to enter the live broadcast room according to the request to enter the live broadcast room.

[0051] Among them, the live broadcast start operation may include operations such as creating a live broadcast room and starting a live broadcast. In this embodiment, the test end first sends a live broadcast start test request to the host end through the RPC interface. The host end calls the live broadcast start test code according to the live broadcast start test request, executes the live broadcast start operation by running the live broadcast start test code, and sends the live broadcast start success information and the live broadcast room identifier to the test end. After receiving the live broadcast start success information and the live broadcast room identifier, the test end generates a request to enter the live broadcast room based on the live broadcast room identifier, and sends the request to enter the live broadcast room to at least one viewer end. The at least one viewer end runs the corresponding request to enter the live broadcast room test code according to the received request to enter the live broadcast room, performs the operation of entering the live broadcast room, and returns the information of successfully entering the live broadcast room to the test end. Exemplarily, Figure 3 is a signaling schematic diagram of a live test process in this embodiment. As Figure 3 described, the process is as follows: 1. The test end sends a live broadcast start test request to the host end; 2. The host end returns the live broadcast start success information and the live broadcast room identifier to the test end; 3. The test end sends a request to enter the live broadcast room carrying the live broadcast room identifier to viewer end 1 and viewer end 2; 4. Viewer end 1 returns the information of successfully entering the live broadcast room to the test end; 5. Viewer end 2 returns the information of successfully entering the live broadcast room to the test end. In the live test method of this embodiment, a request to enter the live broadcast room is sent to the viewer end after the host end successfully starts the live broadcast to ensure the timing during multi-machine cooperation testing.

[0052] Optionally, after receiving the live broadcast start success information and the live broadcast room identifier returned by the host end, the following steps are further included: sequentially sending view component operation requests to the live broadcast end according to a set order, enabling the live broadcast end to operate the corresponding view components in sequence according to the view component operation requests; or sending a view component operation request to the live broadcast end, enabling the live broadcast end to call the view component automatic operation logic according to the view component operation request, and operating the corresponding view components in sequence according to the view component automatic operation logic.

[0053] In this embodiment, a corresponding view component test script can be created at the test end according to the trigger operations on the view components during the live broadcast process. Then, according to the operation sequence of each view component (which can also be called the operation link), the view component test scripts are run in sequence to generate view component operation requests, and these view component operation requests are sent to the live broadcast end in the operation sequence, so that the live broadcast end operates the corresponding view components according to the view component operation requests in sequence, thereby realizing the test of the view component operations.

[0054] In this embodiment, the view component automatic operation logic can also be generated in the live broadcast end according to the positions of the view components on the operation link during the live broadcast process. After receiving the view component operation request sent by the test end, the live broadcast end calls the view component automatic operation logic to operate the corresponding view components in sequence.

[0055] Optionally, after receiving the successful live broadcast start information and the live broadcast room identifier returned by the host end, the following steps are further included: sending a message test request to the server end, so that the server end sends live broadcast messages to the live broadcast end according to the message test request to perform the test of the message volume.

[0056] Among them, the message test request carries the live broadcast room identifier. After receiving the message test request, the server end sends a large number of live broadcast messages to the live broadcast room corresponding to the live broadcast room identifier to test the message volume tolerance of the live broadcast room.

[0057] Optionally, after sending a request to enter the live broadcast room to the viewer end, so that the viewer end enters the live broadcast room according to the request to enter the live broadcast room, the following steps are further included: sending a request to close the live broadcast to the host end, so that the host end closes the live broadcast according to the request to close the live broadcast; sending a request to exit the live broadcast room to the viewer end, so that the viewer end exits the live broadcast room according to the request to exit the live broadcast room.

[0058] In this embodiment, the function of closing the live broadcast is tested by sending a request to close the live broadcast to the host end, and the function of exiting the live broadcast is tested by sending a request to exit the live broadcast to the viewer end.

[0059] S120, receiving the live broadcast test data returned by the live broadcast end, and verifying the live broadcast test data to obtain the live broadcast test result.

[0060] Among them, the live test data may include the live service data and / or live performance data corresponding to the live end during the execution of the live test operation. The live service data may include the service data generated during the live test, for example, the interaction data in the live room, specifically, the number of likes in the live room, etc.; the live performance data may be the data reflecting the live performance, for example, the memory utilization rate, etc. In this embodiment, the live end may determine the live service data and live performance data during the live test process, and store the determined live service data and live performance data.

[0061] Specifically, the process of receiving the live test data returned by the live end may be: the test end sends a test data request to the live end, the live end queries the live test data according to the test data request, and sends the queried live test data to the test end. After receiving the live test data, the test end verifies the live test data to obtain the live test result. In this embodiment, the verification method of the live test data is not limited.

[0062] Exemplarily, Figure 4 is a signaling schematic diagram of a live test process in an embodiment of the present disclosure. As Figure 4 described, the process is as follows: 1. The test end sends a start live test request to the host end; 2. The host end returns a start live success message and the live room identifier to the test end; 3. The test end sends an enter live room request carrying the live room identifier to the viewer end 1 and the viewer end 2; 4. The viewer end 1 and the viewer end 2 return an enter live room success message to the test end; 5. The test end sends a view component operation request to the host end, the viewer end 1, and the viewer end 2 respectively; 6. The test end sends a message test request to the server end; 7. The server end sends a live message to the host end according to the message test request; 8. The host end, the viewer end 1, and the viewer end 2 determine the live test data during the entire live test process; 9. The test end sends a close live request to the host end; 10. The test end sends an exit live request to the viewer end 1 and the viewer end 2; 11. The test end sends a live test data request to the host end, the viewer end 1, and the viewer end 2 respectively; 12. The host end, the viewer end 1, and the viewer end 2 return the live test data to the test end; 13. The test end verifies the live test data to obtain the test result.

[0063] The technical solution of the embodiment of the present disclosure sends a live test request to the live end, so that the live end performs corresponding live test operations based on the live test request; receives the live test data returned by the live end, and verifies the live test data to obtain the live test result. The live test method provided by the embodiment of the present disclosure can realize the test of the live scene by using the method of the test end sending a live test request to the live end, which can improve the stability and reliability of the live test.

[0064] Figure 5The flowchart of a live broadcast test method provided by an embodiment of the present disclosure is applicable to the situation of testing a live broadcast scenario. This method can be executed by a live broadcast test device, which can be implemented in the form of software and / or hardware. Optionally, it is implemented through an electronic device, which can be a mobile terminal, a PC terminal, a server, etc. This electronic device can be understood as the host end or the viewer end. As Figure 5 shown, the method includes the following steps:

[0065] S210, receive a live broadcast test request sent by a test end, and perform corresponding live broadcast test operations according to the live broadcast test request.

[0066] Among them, the live broadcast end can receive the live broadcast test request through an RPC interface. The live broadcast test request can include test requests related to the live broadcast operation process, such as a start broadcast test request, a request to enter the live broadcast room, a view component operation request, etc. The process of performing corresponding live broadcast test operations according to the live broadcast test request can refer to the above embodiment and will not be elaborated here.

[0067] Specifically, if the live broadcast end is the host end, the manner of receiving the live broadcast test request sent by the test end and performing corresponding live broadcast test operations can be: receiving the start broadcast test request sent by the test end, and performing a start broadcast operation according to the start broadcast test request; returning start broadcast success information and the live broadcast room identifier to the test end. The specific process refers to the above embodiment and will not be elaborated here.

[0068] Specifically, if the live broadcast end is the viewer end, the process of receiving the live broadcast test request sent by the test end and performing corresponding live broadcast test operations can be: receiving the request to enter the live broadcast room sent by the test end; among them, the request to enter the live broadcast room carries the live broadcast room identifier; entering the live broadcast room according to the request to enter the live broadcast room.

[0069] Specifically, the process of receiving the live broadcast test request sent by the test end and performing corresponding live broadcast test operations can be: receiving the view component operation requests sent by the test end in a set order, and operating the corresponding view components in sequence according to the view component operation requests; or; receiving the view component operation request sent by the test end, calling the view component automatic operation logic according to the view component operation request, and operating the corresponding view components in sequence according to the view component automatic operation logic.

[0070] S220, obtain live broadcast test data during the process of performing live broadcast test operations.

[0071] Among them, the live broadcast test data includes live broadcast service data and / or live broadcast performance data.

[0072] S230, send the live test data to the test end, so that the test end verifies the live test data and obtains the test result.

[0073] The technical solution of this embodiment is to receive the live test request sent by the test end and perform corresponding live test operations according to the live test request; obtain the live test data during the execution of the live test operations; send the live test data to the test end, so that the test end verifies the live test data and obtains the test result. The live test method provided by the embodiments of the present disclosure can improve the stability and reliability of live test by using the method of the test end sending a live test request to the live end to implement the test of the live scenario.

[0074] Figure 6 It is a schematic structural diagram of a live test device provided by the embodiments of the present disclosure. The device is set in the test end and includes:

[0075] The live test request sending module 310 is used to send a live test request to the live end, so that the live end performs corresponding live test operations based on the live test request;

[0076] The live test result obtaining module 320 is used to receive the live test data returned by the live end and verify the live test data to obtain the live test result.

[0077] Optionally, the live test request sending module 310 is further used for:

[0078] Send a live broadcast start test request to the host end, so that the host end performs a live broadcast start operation according to the live broadcast start test request;

[0079] Receive the live broadcast start success information and the live broadcast room identifier returned by the host end, and generate a request to enter the live broadcast room according to the live broadcast room identifier;

[0080] Send a request to enter the live broadcast room to the viewer end, so that the viewer end enters the live broadcast room according to the request to enter the live broadcast room.

[0081] Optionally, the live test request sending module 310 is further used for:

[0082] Send view component operation requests to the live end in a set order, so that the live end operates the corresponding view components in sequence according to the view component operation requests; or,

[0083] Send a view component operation request to the live end, so that the live end calls the view component automatic operation logic according to the view component operation request and operates the corresponding view components in sequence according to the view component automatic operation logic.

[0084] Optionally, the live test request sending module 310 is further used for:

[0085] Send a live stream closing request to the host end, so that the host end closes the live stream according to the live stream closing request;

[0086] Send a request to exit the live stream room to the viewer end, so that the viewer end exits the live stream room according to the request to exit the live stream room.

[0087] Optionally, the live stream test request sending module 310 is further configured to:

[0088] Send a message test request to the server end, so that the server end sends a live stream message to the live stream end according to the message test request for message volume testing.

[0089] Figure 7 It is a schematic structural diagram of a live stream test device provided by an embodiment of the present disclosure. The device is arranged in the live stream end and includes:

[0090] The live stream test request receiving module 410 is configured to receive a live stream test request sent by the test end and perform corresponding live stream test operations according to the live stream test request;

[0091] The live stream test data acquisition module 420 is configured to acquire live stream test data during the execution of the live stream test operation;

[0092] The live stream test data sending module 430 is configured to send the live stream test data to the test end, so that the test end verifies the live stream test data to obtain a test result.

[0093] Optionally, if the live stream end is the host end, the live stream test request receiving module 410 is further configured to:

[0094] Receive a live stream start test request sent by the test end and perform a live stream start operation according to the live stream start test request;

[0095] Return a live stream start success message and a live stream room identifier to the test end.

[0096] Optionally, if the live stream end is the viewer end, the live stream test request receiving module 410 is further configured to:

[0097] Receive a request to enter the live stream room sent by the test end; wherein, the request to enter the live stream room carries a live stream room identifier;

[0098] Enter the live stream room according to the request to enter the live stream room.

[0099] Optionally, the live stream test request receiving module 410 is further configured to:

[0100] Receive view component operation requests sequentially sent by the test end in a set order and operate the corresponding view components sequentially according to the view component operation requests; or;

[0101] Receive the view component operation request sent by the test end, call the view component automatic operation logic according to the view component operation request, and operate the corresponding view components in sequence according to the view component automatic operation logic.

[0102] The live test device provided by the embodiments of the present disclosure can execute the live test method provided by any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects for executing the method.

[0103] It should be noted that the various units and modules included in the above device are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of the functional units are only for the convenience of mutual distinction and do not limit the protection scope of the embodiments of the present disclosure.

[0104] Figure 8 It is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. The following refers to Figure 8 , which shows a schematic structural diagram of an electronic device 500 suitable for implementing the embodiments of the present disclosure (such as Figure 8 the terminal device or server in). The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), in-vehicle terminals (such as in-vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The electronic device shown is only an example and should not bring any limitation to the functions and usage scope of the embodiments of the present disclosure.

[0105] As Figure 8 shown, the electronic device 500 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 502 or the program loaded from the storage device 508 into the random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. The editing / output (I / O) interface 505 is also connected to the bus 504.

[0106] Typically, the following devices can be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 can allow the electronic device 500 to communicate with other devices wirelessly or wiredly to exchange data. Although Figure 8 the electronic device 500 with various devices is shown, it should be understood that it is not required to implement or have all the shown devices. More or fewer devices can be alternatively implemented or had.

[0107] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program codes for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above functions defined in the method of the embodiment of the present disclosure are executed.

[0108] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only for illustrative purposes and are not used to limit the scope of these messages or information.

[0109] The electronic device provided in the embodiment of the present disclosure and the live test method provided in the above embodiment belong to the same inventive concept. The technical details not described in detail in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0110] The embodiment of the present disclosure provides a computer storage medium, on which a computer program is stored, and when the program is executed by a processor, the live test method provided in the above embodiment is implemented.

[0111] It should be noted that the computer-readable medium described above can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program, which can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, the computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0112] In some embodiments, the client and the server can communicate using any currently known or future-developed network protocol such as HTTP (HyperText Transfer Protocol), and can be interconnected with digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include local area networks ("LANs"), wide area networks ("WANs"), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future-developed networks.

[0113] The above computer-readable medium can be included in the above electronic device; or it can exist separately without being assembled into the electronic device.

[0114] The above computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device is caused to:

[0115] The above computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to: send a live test request to a live end, causing the live end to perform corresponding live test operations based on the live test request; receive live test data returned by the live end, and verify the live test data to obtain a live test result.

[0116] Alternatively, the above computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to: receive a live test request sent by a test end, and perform corresponding live test operations according to the live test request; obtain live test data during the execution of the live test operations; send the live test data to the test end, causing the test end to verify the live test data to obtain a test result.

[0117] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or combinations thereof. The programming languages include, but are not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., by using an Internet service provider to connect through the Internet).

[0118] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing a specified logical function. It should also be noted that, in some alternative implementations, the functions marked in the blocks may occur in a different order than marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combinations of blocks in the block diagram and / or flowchart, may be implemented by a dedicated hardware-based system for performing the specified functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions.

[0119] The units involved in the embodiments of the present disclosure can be implemented in software or in hardware. Among them, the name of a unit does not constitute a limitation on the unit itself in some cases. For example, the first acquisition unit can also be described as "the unit for acquiring at least two Internet protocol addresses".

[0120] The functions described above herein can be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that can be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), and the like.

[0121] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0122] The above description is only a preferred embodiment of the present disclosure and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, and should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosure concept. For example, the technical solutions formed by mutually replacing the above features with the (but not limited to) technical features having similar functions disclosed in the present disclosure.

[0123] Moreover, although the operations are depicted in a particular order, this should not be construed as requiring that the operations be performed in the particular order shown or in sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, although several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the present disclosure. Certain features that are described in the context of separate embodiments may also be implemented in combination in a single embodiment. Conversely, the various features that are described in the context of a single embodiment may also be implemented separately or in any suitable subcombination in multiple embodiments.

[0124] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. On the contrary, the specific features and acts described above are merely example forms of implementing the claims.

Claims

1. A live broadcast testing method, characterized in that, The method is executed by the test end and includes: Sending a live test request to the live end, so that the live end performs corresponding live test operations based on the live test request; Receiving the live test data returned by the live end and verifying the live test data to obtain a live test result.

2. The method according to claim 1, characterized in that Sending a live test request to the live end, so that the live end performs corresponding live test operations based on the live test request, including: Sending a live broadcast start test request to the host end, so that the host end performs a live broadcast start operation according to the live broadcast start test request; Receiving the live broadcast start success information and the live room identifier returned by the host end, and generating an access live room request according to the live room identifier; Sending the access live room request to the viewer end, so that the viewer end enters the live room according to the access live room request.

3. The method according to claim 2, wherein After receiving the live broadcast start success information and the live room identifier returned by the host end, it further includes: Sequentially sending view component operation requests to the live end in a set order, so that the live end operates corresponding view components in sequence according to the view component operation requests; or Sending a view component operation request to the live end, so that the live end calls the view component automatic operation logic according to the view component operation request and operates corresponding view components in sequence according to the view component automatic operation logic.

4. The method according to claim 2, wherein After sending the access live room request to the viewer end, so that the viewer end enters the live room according to the access live room request, it further includes: Sending a live broadcast close request to the host end, so that the host end closes the live broadcast according to the live broadcast close request; Sending a live room exit request to the viewer end, so that the viewer end exits the live room according to the live room exit request.

5. The method according to claim 2, characterized in that, After receiving the live broadcast start success information and the live room identifier returned by the host end, it further includes: Sending a message test request to the server end, so that the server end sends a live message to the live end according to the message test request for message volume testing.

6. A live broadcast testing method, characterized in that, The method is executed by the live end and includes: Receiving the live test request sent by the test end and performing corresponding live test operations according to the live test request; Obtaining the live test data during the execution of the live test operations; Sending the live test data to the test end, so that the test end verifies the live test data to obtain a test result.

7. The method according to claim 6, characterized in that, If the live end is the host end, receiving the live test request sent by the test end and performing corresponding live test operations according to the live test request, including: Receiving the live broadcast start test request sent by the test end and performing a live broadcast start operation according to the live broadcast start test request; Returning the live broadcast start success information and the live room identifier to the test end.

8. The method according to claim 7, characterized in that If the live end is the viewer end, receiving the live test request sent by the test end and performing corresponding live test operations according to the live test request, including: Receiving the access live room request sent by the test end; wherein, the access live room request carries the live room identifier; Entering the live room according to the access live room request.

9. The method according to claim 6, wherein Receive the live test request sent by the test end, and perform corresponding live test operations according to the live test request, including: Receive the view component operation requests sent by the test end in a set order, and operate the corresponding view components in sequence according to the view component operation requests; or; Receive the view component operation request sent by the test end, call the view component automatic operation logic according to the view component operation request, and operate the corresponding view components in sequence according to the view component automatic operation logic.

10. A live broadcast testing device, characterized in that, The device is set in the test end and includes: A live test request sending module, configured to send a live test request to the live end, so that the live end performs corresponding live test operations based on the live test request; A live test result obtaining module, configured to receive the live test data returned by the live end, and verify the live test data to obtain a live test result.

11. A live broadcast testing device, characterized in that, The device is set in the live end and includes: A live test request receiving module, configured to receive the live test request sent by the test end, and perform corresponding live test operations according to the live test request; A live test data obtaining module, configured to obtain the live test data during the execution of the live test operation; A live test data sending module, configured to send the live test data to the test end, so that the test end verifies the live test data to obtain a test result.

12. An electronic device, characterized in that, The electronic device includes: One or more processors; A storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the live test method according to any one of claims 1-9.

13. A storage medium containing computer-executable instructions, where the computer-executable instructions are used to execute the live test method according to any one of claims 1-9 when executed by a computer processor.