Data processing method, device and computer equipment

Through the collaboration between the client and the remote server, full-link testing is performed, which solves the problem of incomplete testing in traditional testing solutions and improves testing efficiency.

CN114867056BActive Publication Date: 2025-10-03ALIBABA (CHINA) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210302798.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-25
Publication Date
2025-10-03
Estimated Expiration
2042-03-25

AI Technical Summary

Technical Problem

In the testing of multi-terminal applications, traditional testing solutions lead to incomplete testing and low testing efficiency.

Method used

Through the collaboration between the client and the remote server, full-link functional and performance testing is performed, including creating isolation between the test link and the application link, using control instructions and test instructions to perform operations on the remote server and obtain response results, thereby achieving full-link testing.

Benefits of technology

It achieves full-link testing between the client and the remote server, improves the comprehensiveness and efficiency of the test, and reduces the time required for multi-side testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114867056B_ABST
    Figure CN114867056B_ABST
Patent Text Reader

Abstract

The present invention discloses a data processing method, apparatus, and computer device. The method comprises: receiving a test operation; in response to the test operation, obtaining a target test item corresponding to the test operation; and, based on the synergy between a client and a remote server, testing the target test item to obtain a test result. The present invention addresses the technical problem of incomplete testing and low test efficiency in related technologies when testing between a client and a remote server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computers, and in particular to a data processing method, apparatus, and computer equipment. Background Art

[0002] In the testing of multi-terminal applications, because it involves terminals, protocols, and clouds, according to traditional testing solutions, step-by-step functional or performance testing is performed from the client or server side through some manual execution or automated scripts. However, there is a problem of low testing efficiency due to incomplete testing.

[0003] To address the above-mentioned problems, no effective solutions have been proposed so far. Summary of the Invention

[0004] The embodiments of the present invention provide a data processing method, apparatus and computer equipment to at least solve the technical problem of low testing efficiency caused by incomplete testing when testing between a client and a remote server in related technologies.

[0005] According to one aspect of an embodiment of the present invention, a data processing method is provided, comprising: receiving a test operation; obtaining a target test item corresponding to the test operation in response to the test operation; and testing the target test item based on the collaboration between a client and a remote server to obtain a test result.

[0006] Optionally, the target test item is tested based on the collaboration between the client and the remote server to obtain a test result, including: determining a control instruction corresponding to the target test item; sending the control instruction to the remote server, wherein the remote server is used to execute the target operation corresponding to the control instruction to obtain an operation response result; based on the operation response result, the target test item is tested to obtain the test result.

[0007] Optionally, the target test item is tested based on the collaboration between the client and the remote server to obtain a test result, including: determining a test instruction corresponding to the target test item; sending the test instruction to the remote server, wherein the test instruction is used to instruct the remote server to test the target test item; receiving a test result returned by the remote server, wherein the test result is a result obtained by the remote server by testing the target test item based on the test instruction.

[0008] Optionally, before testing the target test item based on the synergy between the client and the remote server and obtaining the test results, it also includes: creating a test link, wherein the test link includes: a first test end corresponding to the client, a second test end corresponding to the remote server, and a test channel between the client and the remote server, and the test link is isolated from the application link that performs application processing.

[0009] According to one aspect of an embodiment of the present invention, a data processing method is provided, comprising: determining a target test item; and testing the target test item based on the synergy between a remote server and a client to obtain a test result.

[0010] Optionally, the target test item is tested based on the collaboration between the remote server and the client to obtain a test result, including: receiving a control instruction corresponding to the target test item sent by the client; executing a target operation corresponding to the control instruction to obtain an operation response result; and sending the operation response result to the client, for the client to test the target test item based on the operation response result to obtain the test result.

[0011] Optionally, the target test item is tested based on the collaboration between the remote server and the client to obtain the test result, including: receiving a test instruction sent by the client; responding to the test instruction, the target test item is tested to obtain the test result; and sending the test result to the client.

[0012] According to one aspect of an embodiment of the present invention, a data processing method is provided, including: receiving a test operation for a cloud desktop; in response to the test operation, obtaining a target test item corresponding to the test operation for the cloud desktop; based on the synergy between a client and a remote server, testing the target test item to obtain a test result for the cloud desktop.

[0013] Optionally, based on the synergy between the client and the remote server, the target test item is tested to obtain a test result for the cloud desktop, including: when the target test item is multimedia data stream switching, obtaining a multimedia data stream switching instruction for switching multimedia stream data on the cloud desktop; sending the multimedia data stream switching instruction to the remote server, wherein the multimedia data stream switching instruction is used to instruct the remote server to switch from the current multimedia data stream to the target multimedia data stream to obtain a switching result; based on the switching result, obtaining a test result of multimedia stream data switching on the cloud desktop.

[0014] Optionally, based on the synergy between the client and the remote server, the target test item is tested to obtain a test result for the cloud desktop, including: when the target test item is to control the application on the cloud desktop, obtaining a control instruction for controlling the application on the cloud desktop on the cloud desktop; sending the control instruction to the remote server, wherein the control instruction is used to instruct the remote server to control the application on the cloud desktop to obtain a control result; based on the control result, obtaining a test result of the cloud desktop controlling the application on the cloud desktop.

[0015] According to one aspect of an embodiment of the present invention, a data processing device is provided, including: a first receiving module for receiving a test operation; a first acquisition module for acquiring a target test item corresponding to the test operation in response to the test operation; and a first testing module for testing the target test item based on the collaboration between a client and a remote server to obtain a test result.

[0016] According to one aspect of an embodiment of the present invention, a data processing device is provided, including: a determination module for determining a target test item; and a second testing module for testing the target test item based on the collaboration between a remote server and a client to obtain a test result.

[0017] According to one aspect of an embodiment of the present invention, a data processing device is provided, including: a second receiving module for receiving a test operation for a cloud desktop; a second acquisition module for obtaining a target test item corresponding to the test operation for the cloud desktop in response to the test operation; and a third testing module for testing the target test item based on the synergy between the client and the remote server to obtain a test result for the cloud desktop.

[0018] According to one aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned data processing methods.

[0019] According to one aspect of an embodiment of the present invention, a computer device is provided, comprising: a memory and a processor, wherein the memory stores a computer program; the processor is configured to execute the computer program stored in the memory, wherein when the computer program is executed, the processor executes any one of the above-described data processing methods.

[0020] In an embodiment of the present invention, by receiving and responding to a test operation, obtaining the target test item corresponding to the test operation, and based on the synergy between the client and the remote server, testing the target test item to obtain a test result. Because the test is based on the synergy between the client and the remote server, the target test item can be tested for the entire link between the client and the remote server, thereby solving the technical problem of low test efficiency caused by incomplete testing when testing between the client and the remote server in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0022] Figure 1 A hardware structure block diagram of a computer terminal for implementing a data processing method is shown;

[0023] Figure 2 is a flow chart of a data processing method 1 according to embodiment 1 of the present invention;

[0024] Figure 3 is a flow chart of a second data processing method according to embodiment 1 of the present invention;

[0025] Figure 4 is a flow chart of a data processing method 3 according to embodiment 1 of the present invention;

[0026] Figure 5 This is a schematic diagram of a test link created in a test method for a cloud-integrated streaming product provided in an optional embodiment of the present invention;

[0027] Figure 6 This is a schematic diagram of multiple modules in a test link created in a test method for a cloud-integrated streaming product provided in an optional embodiment of the present invention;

[0028] Figure 7 This is a flowchart for implementing a test function in a test method for a cloud-integrated streaming product provided in an optional embodiment of the present invention;

[0029] Figure 8 is a structural block diagram of a data processing device 1 provided according to embodiment 2 of the present invention;

[0030] Figure 9 is a structural block diagram of a data processing device 2 provided according to embodiment 3 of the present invention;

[0031] Figure 10 is a structural block diagram of a data processing device 3 provided according to embodiment 3 of the present invention;

[0032] Figure 11 is a device block diagram of a terminal according to an embodiment of the present invention;

[0033] Figure 12 The figure is a device block diagram of a server according to an embodiment of the present invention. DETAILED DESCRIPTION

[0034] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.

[0035] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0036] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following interpretations:

[0037] Cloud desktop: also known as desktop virtualization or cloud computer, is a new model to replace traditional computers;

[0038] Cloud application: An application that interacts between the terminal and the service (cloud). Terminal operations are synchronized with the cloud, and terminal data is retained through cloud backup while occupying local space.

[0039] Example 1

[0040] According to an embodiment of the present invention, a method embodiment of data processing is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0041] The method embodiment provided in Example 1 of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 FIG1 shows a hardware structure block diagram of a computer terminal (or mobile device) for implementing a data processing method. Figure 1 As shown, the computer terminal 10 (or mobile device) may include one or more processors (shown as 102a, 102b, ..., 102n in the figure, and the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission device for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It will be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components than shown, or with Figure 1 Different configurations shown.

[0042] It should be noted that the one or more processors and / or other data processing circuits described above may generally be referred to herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuitry may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10 (or mobile device). As described in the embodiments of the present application, the data processing circuitry serves as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0043] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the data processing method in the embodiment of the present invention. The processor executes the software programs and modules stored in the memory 104 to perform various functional applications and data processing, that is, to implement the data processing method of the application described above. The memory 104 may include a high-speed random access memory and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely located relative to the processor, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0044] The transmission device is used to receive or send data via a network. Specific examples of the aforementioned network may include a wireless network provided by the communications provider of the computer terminal 10. In one embodiment, the transmission device includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, the transmission device may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0045] Under the above operating environment, this application provides Figure 2 The data processing method shown. Figure 2 is a flow chart of a data processing method 1 according to embodiment 1 of the present invention. Figure 2 As shown, the method includes the following steps:

[0046] Step S202, receiving a test operation;

[0047] Step S204, in response to the test operation, obtaining a target test item corresponding to the test operation;

[0048] Step S206: Based on the cooperation between the client and the remote server, the target test item is tested to obtain a test result.

[0049] Through the above steps, the client receives and responds to the test operation, obtains the target test item corresponding to the test operation, and tests the target test item based on the synergy between the client and the remote server to obtain the test result. Because the test is based on the synergy between the client and the remote server, the target test item can be tested for the entire link between the client and the remote server, thereby solving the technical problem of low test efficiency caused by incomplete testing when testing between the client and the remote server in related technologies.

[0050] As an optional embodiment, a test operation is received, wherein the test operation can be a test operation in which a user operating on a client selects a target test item for testing. After receiving the test operation, in response to the test operation, the target test item corresponding to the test operation is obtained to test the selected target test item. There are multiple target test items. For example, they can be divided into network performance parameter tests, control remote application tests, multimedia data stream switching tests, and the like, based on major categories. Multiple test items are included in multiple major categories. For example, in network performance parameter tests, the test includes tests of parameters such as bandwidth, delay, and frame rate; in control remote application tests, the test includes tests of opening or closing remote applications (cloud applications), using various functions of remote applications, and the like; in multimedia data stream switching tests, the test includes tests of switching stream types, switching parameters in media data streams, and the like. By receiving and responding to the test operation, the target test item corresponding to the test operation is obtained, and the target test item is tested, so that the test results of the target test item can be obtained in a targeted manner.

[0051] As an optional embodiment, based on the synergy between the client and the remote server, the target test items are tested and the test results are obtained. That is, full-link functional and performance testing is deployed and run on the remote server and the client to achieve the effect of simultaneously covering the entire link of cloud-integrated products such as cloud desktops / cloud applications. Moreover, by completing full-link functional and performance testing, the test is comprehensive, reducing the time spent on multi-sided testing required for comprehensive testing in related technologies, thereby improving test efficiency.

[0052] As an optional embodiment, before testing the target test item and obtaining the test results based on the synergy between the client and the remote server, a test link can be created. The test link includes a first test end corresponding to the client, a second test end corresponding to the remote server, and a test channel between the client and the remote server. The test link is isolated from the application link that performs application processing. By establishing a separate test link, the test link and the application link are separated without affecting the functionality and performance of the application side.

[0053] As an optional embodiment, in the collaborative test between the client and the remote server, the control instruction corresponding to the target test item can be determined first, and the control instruction can be sent to the remote server. The remote server performs the target operation corresponding to the control instruction and obtains the operation response result. Then, the client can test the target test item based on the operation response result and obtain the test result. That is, the client obtains the test result based on the operation response result returned by the remote server. For example, in the test of network performance parameters including bandwidth, delay, frame rate and other parameters, the client obtains the test result of the performance of the remote server based on the operation response result returned by the remote server, such as the parameter value. That is, a method is implemented in which the client obtains the test result based on the operation response result obtained by the remote server in the full-link function and performance test.

[0054] As an optional embodiment, in the collaborative test between the client and the remote server, a test instruction corresponding to the target test item can also be determined; the test instruction is sent to the remote server, the remote server receives the test instruction and tests the target test item to obtain the test result, and sends the test result to the client, and the client receives the test result obtained by the remote server based on the test instruction for testing the target test item. That is, the remote server can directly obtain the test result and then send the test result to the client. For example, in the switching of parameters in the streaming media data stream in the multimedia data stream switching test, such as the test of resolution switching, the remote server can obtain the test result of whether the resolution switching is successful, and the client can directly receive this test result. That is, a method in which the client directly receives the test result obtained by the remote server in the full-link function and performance test is realized.

[0055] Figure 3 is a flow chart of a second data processing method according to embodiment 1 of the present invention. Figure 3 As shown, the method includes the following steps:

[0056] Step S302, determining target test items;

[0057] Step S304: Based on the cooperation between the remote server and the client, the target test item is tested to obtain a test result.

[0058] Through the above steps, the remote server side uses the determined target test items and, based on the synergy between the client and the remote server, tests the target test items to obtain test results. Because the test is based on the synergy between the client and the remote server, the target test items can be tested for the entire link between the client and the remote server, thereby resolving the technical problem of incomplete testing and low test efficiency caused by related technologies when testing between the client and the remote server.

[0059] As an optional embodiment, the target test item is determined, wherein the determination of the target test item can be by receiving the target test item corresponding to the test operation obtained by the client based on the test operation. There are many types of target test items. For example, they can be divided into network performance parameter tests, remote application control tests, multimedia data stream switching tests, and the like. The multiple major categories contain multiple test items. For example, in the network performance parameter test, the test includes parameters such as bandwidth, delay, and frame rate; in the remote application control test, the test includes opening or closing the remote application, using various functions of the remote application, etc.; in the multimedia data stream switching test, the test includes switching of stream types, switching of parameters in the media data stream, etc. By determining the target test item and testing the target test item, the test results of the target test item can be obtained in a targeted manner.

[0060] As an optional embodiment, in the collaborative test between the client and the remote server, a control instruction corresponding to the target test item sent by the client is received; the target operation corresponding to the control instruction is executed to obtain an operation response result; the operation response result is sent to the client, and the client tests the target test item based on the operation response result to obtain a test result. That is, the client obtains the test result based on the operation response result returned by the remote server. For example, in the test of network performance parameters including bandwidth, delay, frame rate and other parameters, the client obtains the test result of the performance of the remote server based on the operation response result returned by the remote server, such as the parameter value. That is, a method is implemented in which the client obtains the test result based on the operation response result obtained by the remote server in the full-link function and performance test.

[0061] As an optional embodiment, in the collaborative test between the client and the remote server, a test instruction sent by the client is received, and in response to the test instruction, the target test item is tested to obtain the test result; the test result is sent to the client. That is, the remote server can directly obtain the test result and then send the test result to the client. For example, in the multimedia data stream switching test, the switching of parameters in the streaming media data stream, such as the resolution switching test, the remote server can obtain the test result of whether the resolution switching is successful, and the client can directly receive this test result. That is, a method in which the client directly receives the test result obtained by the remote server in the full-link function and performance test is realized.

[0062] Figure 4 : is a flow chart of a data processing method 3 according to embodiment 1 of the present invention. Figure 4 As shown, the method includes the following steps:

[0063] Step S402: receiving a test operation for the cloud desktop;

[0064] Step S404: In response to the test operation, obtaining a target test item corresponding to the test operation on the cloud desktop;

[0065] Step S406: Based on the synergy between the client and the remote server, the target test item is tested to obtain a test result for the cloud desktop.

[0066] Through the above steps, for the client side, in the scenario of testing the cloud desktop, by receiving and responding to the test operation for the cloud desktop, the target test item corresponding to the test operation for the cloud desktop is obtained, and based on the synergy between the client and the remote server, the target test item is tested to obtain the test result for the cloud desktop. Because the test is based on the synergy between the client and the remote server, it is possible to perform the test of the target test item on the entire link between the client and the remote server, thereby solving the technical problem of low test efficiency caused by incomplete testing when testing between the client and the remote server in related technologies.

[0067] As an optional embodiment, a test operation for a cloud desktop is received, wherein the test operation can be a test operation in which a user operating on a client selects a target test item to test the cloud desktop. After receiving the test operation for the cloud desktop, in response to the test operation for the cloud desktop, the target test item corresponding to the test operation for the cloud desktop is obtained to test the selected target test item. There are multiple target test items. For example, they can be divided into control remote application tests, multimedia data stream switching tests, and the like by major categories. There are multiple test items in multiple major categories. For example, in the control remote application test, the test includes opening or closing the remote application (cloud application) on the cloud desktop, using multiple functions of the remote application, etc.; in the multimedia data stream switching test, the test includes switching of the stream type on the cloud desktop, etc. By receiving and responding to the test operation for the cloud desktop, the target test item corresponding to the test operation for the cloud desktop is obtained, and the target test item is tested, so that the test results of the target test items corresponding to the test operation for the cloud desktop can be obtained in a targeted manner.

[0068] The following are examples of the above target test items:

[0069] 1) When the target test item is multimedia data stream switching, the client obtains a multimedia data stream switching instruction for switching multimedia data streams on the cloud desktop. For example, the multimedia data stream switching instruction can indicate switching the image stream to a video stream. The multimedia data stream switching instruction is sent to the remote server. The remote server receives and responds to the multimedia data stream switching instruction. The remote server switches the current multimedia data stream to the target multimedia data stream, that is, switches the image stream to the video stream, and obtains a switching result. The switching result can be a successful switching result or an unsuccessful switching result. The client can then obtain a test result of switching multimedia data streams on the cloud desktop based on the switching result. It should be noted that if the switching result is unsuccessful, it may be a test result caused by the remote server side; if the switching result is successful, it may be a test result of successful testing or a test result caused by the client side. That is, it can be understood that the remote server successfully executed the operation, and the client did not successfully execute the subsequent operation. That is, it is possible to obtain the test result of multimedia data stream switching corresponding to the test operation of the cloud desktop in a targeted manner.

[0070] 2) When the target test item is to control the application on the cloud desktop, the client obtains the control instruction for controlling the application on the cloud desktop on the cloud desktop. For example, the control instruction can indicate to open or close a specific application on the cloud desktop. The control instruction is sent to the remote server. The remote server receives and responds to the control instruction. The remote server controls the application on the cloud desktop and obtains a control result, wherein the control result can be a control result of successful control or a control result of unsuccessful control. The client can then obtain the test result of the cloud desktop controlling the application on the cloud desktop based on the control result. It should be noted that when the control result is unsuccessful control, it may be a test result caused by the remote server side; when the control result is successful control, it may be a test result of successful test or a test result caused by the client side. That is, it can be understood that the remote server successfully executed the operation, and the client did not successfully execute the subsequent operation. That is, it is possible to obtain the test result of controlling the application on the cloud desktop corresponding to the test operation on the cloud desktop in a targeted manner.

[0071] It should be noted that the target test items mentioned above are only examples, and there are more target item tests that can be performed and are also applicable to this application.

[0072] As an optional embodiment, based on the synergy between the client and the remote server, the target test items are tested to obtain test results for the cloud desktop. That is, full-link functional and performance testing is deployed and run on the remote server and the client to achieve the effect of simultaneously covering the complete link of the cloud desktop's cloud-integrated product. By completing full-link functional and performance testing, the test is comprehensive, reducing the time consumed by multi-sided testing required for comprehensive testing in related technologies, thereby improving test efficiency.

[0073] Based on the above embodiment and optional embodiment, an optional implementation manner is provided, which is described in detail below.

[0074] In an optional embodiment of the present invention, a testing method for a cloud-integrated streaming product is provided, which can be deployed and run on both the cloud and the terminal to complete full-link functional and performance testing, thereby achieving the effect of simultaneously covering the complete link of cloud-integrated products such as cloud desktops / cloud applications. The optional embodiment of the present invention is described in detail below.

[0075] Figure 5 Schematic diagram of a test link created in a test method for a cloud-integrated streaming product provided in an optional embodiment of the present invention, such as Figure 5 As shown, in an optional embodiment of the present invention, a test channel is added, and a test server and a test client are created at the same time to split the test link from the application link without affecting the function and performance of the application side.

[0076] Figure 6 Schematic diagram of multiple modules in a test link created in a test method for a cloud-integrated streaming product provided in an optional embodiment of the present invention, such as Figure 6 As shown, the test client includes a client test module and a server collaboration module; the test server includes a server test module, a control module, and a client collaboration module; the test channel serves as a transmission channel for test instructions / data so that multiple modules can work together to achieve full-link functional and performance testing.

[0077] Figure 7 This is a flow chart of implementing the test function in the test method of the cloud-integrated streaming product provided by an optional embodiment of the present invention, such as Figure 7 As shown, the testing method for the cloud-integrated streaming product provided by the optional embodiment of the present invention is divided into two parts. The first part is the client-side test alone, and the second part is the client-server collaborative test. When testing alone on the client side, the client starts the test program, that is, receives the test operation, obtains the test result based on the test operation, and outputs the test result. The method provided by the optional embodiment of the present invention is mainly introduced in the second part. The steps of the client-server collaborative test are specifically described below:

[0078] S1, the client starts the test program and receives the test operation;

[0079] S2, the client obtains the target test item corresponding to the test operation and determines the control instruction or test instruction corresponding to the target test item;

[0080] S3, sending the control command or test command to the cloud (the same as the remote server mentioned above) through the test channel;

[0081] S4, the cloud receives the control instruction or test instruction, processes the instruction and obtains the operation response result or test result data;

[0082] S5, sending the operation response result or test result data to the client through the test channel;

[0083] S6: The client outputs the test result based on the received operation response result or test result data, and ends the test.

[0084] By creating a new test module, you can test a variety of test items. The following example illustrates this:

[0085] 1) Network performance parameter test, where network performance parameters include various parameters, such as bandwidth, delay, frame rate, etc.

[0086] It should be noted that when testing network performance parameters, network performance parameters can be tested in various situations, such as network performance parameters when switching multimedia data streams, network performance parameters when opening or closing remote applications, etc., which are not limited here.

[0087] 2) Control remote application test, wherein controlling remote application may include opening or closing remote application, using various functions of remote application, such as peripheral function, watermark function, cutting function, etc. in remote design application.

[0088] 3) Multimedia data stream switching test, where multimedia data stream switching may include switching of stream types, for example, switching from video stream to image stream; or switching of parameters in the media data stream, for example, switching of video stream resolution, etc.

[0089] Through the above optional implementation, the following beneficial effects can be achieved:

[0090] 1) Provides a single-end testing method with full-link coverage, allowing the end-side to quickly control the capabilities and configuration of remote servers (cloud), enabling end-cloud collaborative integrated testing and completing full-link automated testing at low cost and high efficiency.

[0091] 2) The test link and application link are separated without affecting the functions and performance of the application side.

[0092] It should be noted that for the aforementioned method embodiments, for simplicity of description, they are all expressed as a series of action combinations. However, those skilled in the art should be aware that the present invention is not limited by the order of the actions described, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0093] Through the description of the above embodiments, those skilled in the art can clearly understand that the data processing method according to the above embodiments can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a computer-readable storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of various embodiments of the present invention.

[0094] Example 2

[0095] According to an embodiment of the present invention, there is also provided a device 1 for implementing the above data processing method. Figure 8 : is a structural block diagram of a data processing device 1 provided according to embodiment 2 of the present invention, as shown in FIG. Figure 8 As shown, the device includes: a first receiving module 802, a first obtaining module 804 and a first testing module 806. The device is described below.

[0096] The first receiving module 802 is used to receive a test operation; the first acquisition module 804 is connected to the above-mentioned first receiving module 802, and is used to respond to the test operation and obtain the target test item corresponding to the test operation; the first testing module 806 is connected to the above-mentioned first acquisition module 804, and is used to test the target test item based on the collaboration between the client and the remote server to obtain the test result.

[0097] It should be noted that the first receiving module 802, the first obtaining module 804, and the first testing module 806 correspond to steps S202 to S206 in Example 1. The examples and application scenarios implemented by the multiple modules and the corresponding steps are the same, but are not limited to the contents disclosed in Example 1. It should be noted that the above modules, as part of the device, can be run in the computer terminal 10 provided in Example 1.

[0098] Example 3

[0099] According to an embodiment of the present invention, a second apparatus for implementing the above data processing method is also provided. Figure 9 : is a structural block diagram of a data processing device 2 provided according to embodiment 3 of the present invention, as shown in FIG. Figure 9 As shown, the device includes: a determination module 902 and a second testing module 904. The device is described below.

[0100] The determination module 902 is used to determine the target test item; the second test module 904 is connected to the determination module 902 and is used to test the target test item based on the synergy between the remote server and the client to obtain the test result.

[0101] It should be noted that the determination module 902 and the second test module 904 correspond to steps S302 to S304 in Example 1. The examples and application scenarios implemented by the two modules and the corresponding steps are the same, but are not limited to the contents disclosed in Example 1. It should be noted that the above modules, as part of the device, can be run in the computer terminal 10 provided in Example 1.

[0102] Example 4

[0103] According to an embodiment of the present invention, a third apparatus for implementing the above data processing method is also provided. Figure 10 : is a structural block diagram of a data processing device 3 provided according to embodiment 4 of the present invention, as shown in FIG. Figure 10 As shown, the device includes: a second receiving module 1002, a second obtaining module 1004 and a third testing module 1006. The device is described below.

[0104] The second receiving module 1002 is used to receive the test operation for the cloud desktop; the second acquisition module 1004 is connected to the above-mentioned second receiving module 1002, and is used to respond to the test operation and obtain the target test item corresponding to the test operation for the cloud desktop; the third testing module 1006 is connected to the above-mentioned second acquisition module 1004, and is used to test the target test item based on the synergy between the client and the remote server to obtain the test results for the cloud desktop.

[0105] It should be noted that the second receiving module 1002, the second obtaining module 1004, and the third testing module 1006 correspond to steps S402 to S406 in Example 1. The examples and application scenarios implemented by the modules and the corresponding steps are the same, but are not limited to the contents disclosed in Example 1. It should be noted that the modules described above, as part of the device, can be run in the computer terminal 10 provided in Example 1.

[0106] Example 5

[0107] The embodiment of the present invention can provide a computer terminal, which can be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the computer terminal can also be replaced by a terminal device such as a mobile terminal.

[0108] Optionally, in this embodiment, the computer terminal may be located in at least one network device among a plurality of network devices of a computer network.

[0109] In this embodiment, the computer terminal can execute the program codes of the following steps in the data processing method of the application program: data processing.

[0110] Optionally, Figure 11 1 is a block diagram of a terminal according to an embodiment of the present invention. Figure 11 As shown, the computer terminal may include: one or more (only one is shown in the figure) processors 111, a memory 112, etc.

[0111] Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the data processing method and device in the embodiments of the present invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned data processing method. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely located relative to the processor, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0112] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: receive a test operation; in response to the test operation, obtain the target test item corresponding to the test operation; based on the collaboration between the client and the remote server, test the target test item to obtain the test result.

[0113] Optionally, the above-mentioned processor can also execute the program code of the following steps: based on the synergy between the client and the remote server, testing the target test item to obtain the test results, including: determining the control instruction corresponding to the target test item; sending the control instruction to the remote server, wherein the remote server is used to execute the target operation corresponding to the control instruction to obtain the operation response result; based on the operation response result, testing the target test item to obtain the test result.

[0114] Optionally, the above-mentioned processor can also execute the program code of the following steps: based on the synergy between the client and the remote server, testing the target test item to obtain the test result, including: determining the test instruction corresponding to the target test item; sending the test instruction to the remote server, wherein the test instruction is used to instruct the remote server to test the target test item; receiving the test result returned by the remote server, wherein the test result is the result obtained by the remote server testing the target test item based on the test instruction.

[0115] Optionally, the above-mentioned processor can also execute the program code of the following steps: before testing the target test item based on the synergy between the client and the remote server and obtaining the test results, it also includes: creating a test link, wherein the test link includes: a first test end corresponding to the client, a second test end corresponding to the remote server, and a test channel between the client and the remote server, and the test link is isolated from the application link that performs application processing.

[0116] The processor can call the information and applications stored in the memory through the transmission device to perform the following steps: receive a test operation for the cloud desktop; in response to the test operation, obtain the target test item corresponding to the test operation for the cloud desktop; based on the synergy between the client and the remote server, test the target test item to obtain the test result for the cloud desktop.

[0117] Optionally, the above-mentioned processor can also execute the program code of the following steps: based on the synergy between the client and the remote server, the target test item is tested to obtain the test results for the cloud desktop, including: when the target test item is multimedia data stream switching, obtaining a multimedia data stream switching instruction for switching multimedia stream data on the cloud desktop; sending the multimedia data stream switching instruction to the remote server, wherein the multimedia data stream switching instruction is used to instruct the remote server to switch from the current multimedia data stream to the target multimedia data stream to obtain a switching result; based on the switching result, obtaining the test result of multimedia stream data switching on the cloud desktop.

[0118] Optionally, the processor may also execute the program code of the following steps: based on the synergy between the client and the remote server, testing the target test item to obtain a test result for the cloud desktop, including: when the target test item is to control the application on the cloud desktop, obtaining a control instruction for controlling the application on the cloud desktop on the cloud desktop; sending the control instruction to the remote server, wherein the control instruction is used to instruct the remote server to control the application on the cloud desktop to obtain a control result; based on the control result, obtaining a test result of the cloud desktop controlling the application on the cloud desktop.

[0119] An embodiment of the present invention may provide a server, Figure 12 : is a structural block diagram of a server according to an embodiment of the present invention. Figure 12 As shown, the server 120 may include: one or more (only one is shown in the figure) processing components 121, a memory 122 for executing instructions, a power supply component 123 for providing power, a network interface 124 for communicating with an external network, and an I / O input and output interface 125 for transmitting data with the outside; wherein, the processing component 121 is configured to execute instructions to implement any of the above data processing methods.

[0120] The processing component can call the information and application programs stored in the memory through the transmission device to perform the following steps: determine the target test items; based on the cooperation between the remote server and the client, test the target test items to obtain test results.

[0121] Optionally, the above-mentioned processing component can also execute the program code of the following steps: based on the synergy between the remote server and the client, test the target test item and obtain the test results, including: receiving the control instruction corresponding to the target test item sent by the client; executing the target operation corresponding to the control instruction to obtain the operation response result; sending the operation response result to the client, for the client to test the target test item based on the operation response result to obtain the test result.

[0122] Optionally, the above-mentioned processing component can also execute the program code of the following steps: based on the collaboration between the remote server and the client, test the target test item and obtain the test results, including: receiving the test instructions sent by the client; responding to the test instructions, testing the target test item and obtaining the test results; and sending the test results to the client.

[0123] It can be understood by those skilled in the art that Figure 11 , Figure 12 The structure shown is for illustration only. For example, the terminal may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a handheld computer, a mobile Internet device (MID), a PAD, or other terminal devices. Figure 11 , Figure 12 It does not limit the structure of the above electronic device. Figure 11 , Figure 12 More or fewer components (such as network interfaces, display devices, etc.) shown in, or with Figure 11 , Figure 12 Different configurations shown.

[0124] A person skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0125] Example 6

[0126] The embodiment of the present invention further provides a computer-readable storage medium. Optionally, in this embodiment, the computer-readable storage medium can be used to store the program code executed by the data processing method provided in the first embodiment.

[0127] Optionally, in this embodiment, the computer-readable storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.

[0128] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: receiving a test operation; obtaining a target test item corresponding to the test operation in response to the test operation; and testing the target test item based on the synergy between the client and the remote server to obtain a test result.

[0129] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: based on the synergy between the client and the remote server, testing the target test item to obtain a test result, including: determining a control instruction corresponding to the target test item; sending the control instruction to the remote server, wherein the remote server is used to execute the target operation corresponding to the control instruction to obtain an operation response result; based on the operation response result, testing the target test item to obtain a test result.

[0130] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: based on the synergy between the client and the remote server, testing the target test item to obtain a test result, including: determining a test instruction corresponding to the target test item; sending the test instruction to the remote server, wherein the test instruction is used to instruct the remote server to test the target test item; receiving the test result returned by the remote server, wherein the test result is a result obtained by the remote server by testing the target test item based on the test instruction.

[0131] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: before testing the target test item based on the synergy between the client and the remote server and obtaining the test results, it also includes: creating a test link, wherein the test link includes: a first test end corresponding to the client, a second test end corresponding to the remote server, and a test channel between the client and the remote server, and the test link is isolated from the application link that performs application processing.

[0132] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: determining a target test item; and testing the target test item based on the collaboration between the remote server and the client to obtain a test result.

[0133] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: based on the synergy between the remote server and the client, testing the target test item to obtain a test result, including: receiving a control instruction corresponding to the target test item sent by the client; executing a target operation corresponding to the control instruction to obtain an operation response result; and sending the operation response result to the client, for the client to test the target test item based on the operation response result to obtain a test result.

[0134] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: based on the collaboration between the remote server and the client, testing the target test item to obtain test results, including: receiving a test instruction sent by the client; responding to the test instruction, testing the target test item to obtain test results; and sending the test results to the client.

[0135] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: receiving a test operation for the cloud desktop; in response to the test operation, obtaining a target test item corresponding to the test operation for the cloud desktop; based on the synergy between the client and the remote server, testing the target test item to obtain a test result for the cloud desktop.

[0136] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: based on the synergy between the client and the remote server, testing the target test item to obtain a test result for the cloud desktop, including: when the target test item is multimedia data stream switching, obtaining a multimedia data stream switching instruction for switching multimedia stream data on the cloud desktop; sending the multimedia data stream switching instruction to the remote server, wherein the multimedia data stream switching instruction is used to instruct the remote server to switch from the current multimedia data stream to the target multimedia data stream to obtain a switching result; based on the switching result, obtaining a test result for switching multimedia stream data on the cloud desktop.

[0137] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: based on the synergy between the client and the remote server, testing the target test item to obtain a test result for the cloud desktop, including: when the target test item is to control the application on the cloud desktop, obtaining a control instruction for controlling the application on the cloud desktop on the cloud desktop; sending the control instruction to the remote server, wherein the control instruction is used to instruct the remote server to control the application on the cloud desktop to obtain a control result; based on the control result, obtaining a test result of the cloud desktop controlling the application on the cloud desktop.

[0138] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.

[0139] In the above embodiments of the present invention, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0140] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0141] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0142] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0143] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a computer-readable storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned computer-readable storage medium includes: various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0144] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.

Claims

1. A data processing method, characterized in that: include: Receive test operation; In response to the test operation, obtaining a target test item corresponding to the test operation; Based on the synergy between the client and the remote server, the target test item is tested to obtain a test result; Before testing the target test item based on the synergy between the client and the remote server and obtaining the test result, the method further includes: creating a test link, wherein the test link includes a test channel between the client and the remote server, and the test link is isolated from an application link that performs application processing; Among them, the target test item is tested based on the synergy between the client and the remote server, and the test results are obtained, including: executing the test of the target test item according to the test link between the client and the remote server, and obtaining the test results to achieve full-link function and performance testing.

2. The method according to claim 1, characterized in that The step of testing the target test item based on the synergy between the client and the remote server to obtain the test result includes: Determining a control instruction corresponding to the target test item; Sending the control instruction to a remote server, wherein the remote server is configured to execute a target operation corresponding to the control instruction and obtain an operation response result; Based on the operation response result, the target test item is tested to obtain the test result.

3. The method according to claim 1, characterized in that The step of testing the target test item based on the synergy between the client and the remote server to obtain the test result includes: Determining a test instruction corresponding to the target test item; Sending the test instruction to the remote server, wherein the test instruction is used to instruct the remote server to test the target test item; Receive a test result returned by the remote server, wherein the test result is a result obtained by the remote server testing the target test item based on the test instruction.

4. The method according to any one of claims 1 to 3, characterized in that The test link further includes: a first test end corresponding to the client, and a second test end corresponding to the remote server.

5. A data processing method, characterized in that: include: Determine target test items; Based on the synergy between the remote server and the client, the target test item is tested to obtain a test result; Before testing the target test item based on the synergy between the client and the remote server and obtaining the test result, the method further includes: creating a test link, wherein the test link includes a test channel between the client and the remote server, and the test link is isolated from an application link that performs application processing; Among them, the target test item is tested based on the synergy between the client and the remote server, and the test results are obtained, including: executing the test of the target test item according to the test link between the client and the remote server, and obtaining the test results to achieve full-link function and performance testing.

6. The method according to claim 5, characterized in that The test of the target test item based on the synergy between the remote server and the client to obtain the test result includes: receiving a control instruction corresponding to the target test item sent by the client; Executing a target operation corresponding to the control instruction to obtain an operation response result; The operation response result is sent to the client, so that the client can test the target test item based on the operation response result to obtain the test result.

7. The method according to claim 5 or 6, characterized in that The test of the target test item based on the synergy between the remote server and the client to obtain the test result includes: receiving a test instruction sent by the client; In response to the test instruction, testing the target test item to obtain a test result; The test result is sent to the client.

8. A data processing method, characterized in that: include: Receive test operations for cloud desktops; In response to the test operation, obtaining a target test item corresponding to the test operation for the cloud desktop; Based on the synergy between the client and the remote server, the target test item is tested to obtain a test result for the cloud desktop; Before testing the target test item based on the synergy between the client and the remote server and obtaining the test result, the method further includes: creating a test link, wherein the test link includes a test channel between the client and the remote server, and the test link is isolated from an application link that performs application processing; Among them, the target test item is tested based on the synergy between the client and the remote server, and the test results are obtained, including: executing the test of the target test item according to the test link between the client and the remote server, and obtaining the test results to achieve full-link function and performance testing.

9. The method according to claim 8, characterized in that The test of the target test item based on the synergy between the client and the remote server to obtain the test result for the cloud desktop includes: When the target test item is multimedia data stream switching, obtaining a multimedia data stream switching instruction for switching multimedia stream data on the cloud desktop; Sending the multimedia data stream switching instruction to the remote server, wherein the multimedia data stream switching instruction is used to instruct the remote server to switch from the current multimedia data stream to the target multimedia data stream, and obtaining a switching result; Based on the switching result, a test result of switching multimedia stream data on the cloud desktop is obtained.

10. The method according to claim 8, characterized in that The test of the target test item based on the synergy between the client and the remote server to obtain the test result for the cloud desktop includes: In a case where the target test item is controlling an application on the cloud desktop, obtaining a control instruction for controlling the application on the cloud desktop on the cloud desktop; Sending the control instruction to the remote server, wherein the control instruction is used to instruct the remote server to control the application on the cloud desktop to obtain a control result; Based on the control result, a test result of the cloud desktop controlling the application on the cloud desktop is obtained.

11. A data processing device, characterized in that: include: A first receiving module, configured to receive a test operation; A first acquisition module, configured to acquire, in response to the test operation, a target test item corresponding to the test operation; A first testing module is configured to test the target test item based on the synergy between the client and the remote server to obtain a test result; wherein the first test module is further configured to create a test link, wherein the test link comprises: a test channel between the client and the remote server, the test link being isolated from an application link that performs application processing; Among them, the first test module is also used to perform the test of the target test item based on the test link between the client and the remote server, and obtain the test result to achieve full-link function and performance testing.

12. A data processing device, characterized in that: include: A determination module, used to determine target test items; A second testing module is configured to test the target test item based on the synergy between the remote server and the client to obtain a test result; wherein the second test module is further configured to create a test link, wherein the test link comprises: a test channel between the client and the remote server, the test link being isolated from an application link that performs application processing; Among them, the second test module is also used to perform the test of the target test item based on the test link between the client and the remote server, and obtain the test result to achieve full-link function and performance testing.

13. A data processing device, characterized in that: include: A second receiving module is used to receive a test operation for the cloud desktop; A second acquisition module is configured to acquire, in response to the test operation, a target test item corresponding to the test operation for the cloud desktop; A third testing module is configured to test the target test item based on the synergy between the client and the remote server to obtain a test result for the cloud desktop; wherein the third test module is further configured to create a test link, wherein the test link comprises: a test channel between the client and the remote server, the test link being isolated from an application link that performs application processing; Among them, the third test module is also used to perform the test of the target test item based on the test link between the client and the remote server, and obtain the test result to achieve full-link function and performance testing.

14. A computer device, characterized in that: include: memory and processor, The memory stores a computer program; The processor is configured to execute a computer program stored in the memory, and when the computer program is run, the processor is enabled to execute the data processing method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Cloud-based test system and method

    CN102880532A