CN113821428A - Cloud testing method and device, electronic equipment and computer storage medium - Google Patents

Cloud testing method and device, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN113821428A
CN113821428A CN202010560924.2A CN202010560924A CN113821428A CN 113821428 A CN113821428 A CN 113821428A CN 202010560924 A CN202010560924 A CN 202010560924A CN 113821428 A CN113821428 A CN 113821428A
Authority
CN
China
Prior art keywords
cloud
audio
machines
real
tested
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010560924.2A
Other languages
Chinese (zh)
Inventor
熊成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010560924.2A priority Critical patent/CN113821428A/en
Publication of CN113821428A publication Critical patent/CN113821428A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

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

Abstract

The embodiment of the invention provides a cloud testing method and device, electronic equipment and a computer storage medium. The cloud testing method comprises the following steps: controlling an audio program to be tested to play a target audio in a plurality of managed cloud real machines, and correspondingly acquiring a plurality of audio data; providing the plurality of audio data to perform an audio compatibility test on the plurality of real cloud machines based on the plurality of audio data. In the scheme of the embodiment of the invention, as the same audio program to be tested can be controlled to play the target audio in a plurality of cloud-to-real machines and a plurality of audio data are collected, the high-efficiency play control and data collection are realized. In addition, the audio compatibility test is carried out on the plurality of cloud real machines through the plurality of collected audio data, and efficient compatibility test is further achieved.

Description

Cloud testing method and device, electronic equipment and computer storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a cloud testing method and device, electronic equipment and a computer storage medium.
Background
The openness of embedded operating systems, such as the android operating system, makes customization of the operating system, and at the same time makes fragmentation of such embedded operating systems more severe. Since audio decoding chips used in embedded devices in which embedded operating systems are installed are often different, it is necessary to perform an audio compatibility test.
Generally, when an audio compatibility test is performed on an embedded device, a to-be-tested packet is installed first, then a corresponding function is turned on to play sound, and whether the sound is normal or not is manually determined. However, the above-described test method is inefficient.
Disclosure of Invention
Embodiments of the present invention provide a cloud testing method, a cloud testing apparatus, an electronic device, and a computer storage medium, so as to solve or alleviate the above problems.
According to a first aspect of the embodiments of the present invention, there is provided a cloud testing method, including: controlling an audio program to be tested to play a target audio in a plurality of managed cloud real machines, and correspondingly acquiring a plurality of audio data; providing the plurality of audio data to perform an audio compatibility test on the plurality of real cloud machines based on the plurality of audio data.
According to a second aspect of the embodiments of the present invention, there is provided a cloud testing method, including: controlling an audio program to be tested to play target audio in a plurality of cloud real machines so as to correspondingly acquire a plurality of audio data; and carrying out audio compatibility test on the plurality of cloud real machines based on the acquired plurality of audio data.
According to a third aspect of the embodiments of the present invention, there is provided a cloud testing method, including: sending a connection configuration instruction according to connection configuration operation in a test interface of a cloud real machine platform, wherein the connection configuration instruction indicates a plurality of cloud real machines managed by the cloud real machine platform to establish near field communication connection with a communication component; and sending a test trigger instruction according to the test trigger operation in the test interface, wherein the test trigger instruction is used for controlling an audio program to be tested to play a target audio in the plurality of cloud real machines, and correspondingly acquiring a plurality of audio data through the near field communication connection so as to perform audio compatibility test.
According to a fourth aspect of the embodiments of the present invention, there is provided a cloud testing apparatus, including: the first sending module is used for sending a connection configuration instruction according to connection configuration operation in a test interface of a cloud real machine platform, wherein the connection configuration instruction indicates a plurality of cloud real machines managed by the cloud real machine platform to establish near field communication connection with a communication component; and the second sending module is used for sending a test trigger instruction according to the test trigger operation in the test interface, wherein the test trigger instruction is used for controlling an audio program to be tested to play a target audio in the plurality of cloud-to-real machines, and correspondingly acquiring a plurality of audio data through the near field communication connection so as to perform audio compatibility test.
According to a fifth aspect of the embodiments of the present invention, there is provided a cloud testing apparatus, including: the control module is used for controlling the audio program to be tested to play the target audio in the managed plurality of cloud real machines and correspondingly acquiring a plurality of audio data; the providing module is used for providing the audio data so as to carry out audio compatibility test on the cloud real machines based on the audio data.
According to a sixth aspect of the embodiments of the present invention, there is provided a cloud testing apparatus, including: the control module is used for controlling the audio program to be tested to play the target audio in the plurality of real cloud machines so as to correspondingly acquire a plurality of audio data; and the testing module is used for carrying out audio compatibility testing on the plurality of cloud real machines based on the acquired audio data.
According to a seventh aspect of embodiments of the present invention, there is provided an electronic apparatus, the apparatus including: one or more processors; a computer readable medium configured to store one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out the method of the first or second aspect.
According to an eighth aspect of embodiments of the present invention, there is provided a computer readable medium, on which a computer program is stored, which when executed by a processor, implements a method according to the first or second aspect.
In the scheme of the embodiment of the invention, as the same audio program to be tested can be controlled to play the target audio in a plurality of cloud-to-real machines and a plurality of audio data are collected, the high-efficiency play control and data collection are realized. In addition, the audio compatibility test is carried out on the plurality of cloud real machines through the plurality of collected audio data, and efficient compatibility test is further achieved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present invention, and it is also possible for a person skilled in the art to obtain other drawings based on the drawings.
Fig. 1 is a schematic diagram of a cloud real machine service network architecture to which the cloud testing method and apparatus according to an embodiment of the present invention are applied;
FIG. 2A is a schematic flow chart diagram of a cloud testing method according to another embodiment of the present invention;
FIG. 2B is a schematic diagram of a cloud testing method according to another embodiment of the invention;
FIG. 2C is a schematic flow chart diagram of a cloud testing method according to another embodiment of the present invention;
FIG. 3A is a schematic flow chart diagram of a cloud testing method according to another embodiment of the present invention;
FIG. 3B is a schematic diagram of a cloud testing method according to another embodiment of the invention;
FIG. 4A is a schematic diagram of a cloud testing method according to another embodiment of the invention;
FIG. 4B is a schematic diagram of a cloud testing method according to another embodiment of the invention;
FIG. 5 is a schematic diagram of a cloud testing method according to another embodiment of the invention;
FIG. 6 is a schematic diagram of a cloud testing method according to another embodiment of the invention;
FIG. 7 is a schematic block diagram of a cloud testing apparatus according to another embodiment of the present invention;
FIG. 8A is a schematic block diagram of a cloud testing apparatus according to another embodiment of the present invention;
FIG. 8B is a schematic block diagram of a cloud testing apparatus according to another embodiment of the present invention;
FIG. 9 is a schematic block diagram of an electronic device of another embodiment of the present invention;
fig. 10 is a hardware configuration of an electronic device according to another embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments of the present invention shall fall within the scope of the protection of the embodiments of the present invention.
The following further describes specific implementation of the embodiments of the present invention with reference to the drawings. Fig. 1 is a schematic diagram of a cloud real machine service network architecture to which the cloud testing method and apparatus according to an embodiment of the present invention are applied. As shown in fig. 1, the cloud live machine service network architecture includes a cloud live machine service platform server 20, and an execution node 31 and an execution node 32 managed by the cloud live machine service platform server 20. The user 10 may access the cloud real machine service platform server 20 through a web client, an App client, etc. to further access, for example, the cloud real machines 311,312,313, and 314 managed by the execution node 31 and the plurality of cloud real machines 312, 322,323, and 324 managed by the execution node 32.
In this example, the cloud live machine service platform includes a file storage module 21, a message management module 22, a web service module, and a websocket service module 24. Wherein the user 10 may operate in a web client, such as on a web page, in an operation, such as for selecting a matching cloud server, etc., through the web client's ability to invoke a web services module through a transport layer protocol, such as the http protocol. The cloud real machine refers to a remote terminal device for testing, for example, an object to be tested is a piece of application software, and a test target is to detect the running condition of the application software in intelligent terminals of different manufacturers and different models. In addition, cloud-enabled machines may include, but are not limited to, embedded devices such as cell phones, platform computers, desktop devices such as PCs, and the like. The embedded devices described above may be configured with the same or different underlying operating environments. For example, the same or different embedded operating systems, or different versions of the same embedded operating system, may be configured. For example, chips with specific functionality from the same vendor or different vendors may be configured with the same or different processor architectures. The above-described fax machine may also be installed with the same or different applications, or different versions of the same application, such as a test release or release, etc. The above-mentioned application program may be stored in the file storage module 21 accordingly, for example, metadata of the application program is stored in the file storage module 21, and the file storage module is associated with a storage medium such as an object-oriented storage medium. The file storage module 21 may pull the corresponding object file from the object-oriented storage medium upon receiving the access request. The message management module 22 may be an intermediary connecting the above-mentioned cloud terminal and the cloud terminal service platform server 20, and is configured to process messages such as operation of a screen of the cloud terminal and state change of the mobile phone. For example, before the user 10 establishes a connection with the cloud-enabled machine through the web client, the capability of the web service module 23 (e.g., as an http proxy) may be invoked to access the corresponding data. For example, after the user 10 establishes a connection with a cloud host through a web client, the user may access corresponding data by calling the capability of the websocket service module 24 (e.g., as a websocket proxy), or receive data such as a video stream pushed by the websocket service module 24.
In this example, the web client includes a client for interacting with the server via a web page, such as a browser in a computer, and the user operation based on the web client may be a conventional web page operation, such as a web page operation implemented via a mouse, a keyboard, and other input devices. The App client comprises an application program installed in a smart terminal, the smart terminal comprises a smart phone, a tablet, a portable wearable device and the like, for example, an App pre-installed in an android phone, and the operation of the user based on the App client can be conventional smart terminal operation, for example, gesture operation such as sliding, touch clicking and the like. The server may be implemented by an independent server, or may be implemented by a server cluster formed by a plurality of servers.
In one example, for user interface testing, the App client may be configured to receive a new screen image, and update the screen image of the target cloud reality machine displayed through its user interface according to the new screen image. The web client may be configured to receive the new screen image, and update the screen image of the target cloud server displayed through the web page according to the new screen image. Before receiving an operation instruction for setting software in a target cloud real machine through an App client, the App client is required to select one of the multiple cloud real machines as the target cloud real machine to participate in current software testing and acquire a screen image of the target cloud real machine, and a user can perform any conventional cloud real machine operation according to the screen image of the target cloud real machine displayed by the App client, such as software installation, software uninstallation, theme change and the like. In addition, the user 10 may also perform other tests, such as compatibility tests, through the web client. It should be understood that the network architecture shown in fig. 1 is merely an example of a cloud-live service platform, and in other examples, other network architectures may be adopted, and tests may be performed based on other test types or test purposes, etc.
Fig. 2A is a schematic flow chart of a cloud testing method according to another embodiment of the present invention. The cloud testing method of fig. 2A may be performed by any suitable electronic device having data processing capabilities, including but not limited to: servers, mobile terminals (e.g., cell phones, PADs, etc.), and PC (personal computer such as desktop) machines, etc. Preferably, the cloud testing method of the present invention is executed by a PC server, and the method includes:
210: and controlling the audio program to be tested to play the target audio in the managed plurality of cloud real machines, and correspondingly acquiring a plurality of audio data.
It should be appreciated that the cloud testing method of the present invention is performed by an execution node that manages a plurality of cloud live machines. The execution node may be physically implemented as a server device or a PC. The execution node may be implemented by a single host or may be implemented by a distributed device or cluster of devices. For example, the execution node may be connected with a plurality of cloud computers in a wired or wireless manner. Such wired connections include, but are not limited to, connections such as USB ports, external bus connections, and the like. The wireless connections described above include, but are not limited to, near field communication connections such as wireless local area network connections, end-to-end connections.
The audio program to be tested can be installed into the plurality of cloud real machines through the execution nodes by the cloud real machine service platform. For example, a user may implement an operation of a cloud-live-machine service platform server through a web client or the like to control an execution node to install an audio program to be tested. The testing task, for example, at least one program installation task, can be created at the cloud live machine service platform server side. For example, the audio programs to be tested may be installed in the plurality of real cloud machines respectively based on a plurality of program installation tasks, or the audio programs to be tested may be installed in the plurality of real cloud machines in batch based on a single program installation task.
The audio program to be tested can be started through the execution node through the cloud real-time service platform. For example, the execution node may control to start the audio program to be tested in the cloud terminal in response to a start instruction of the audio program to be tested issued at the client. For example, the start instruction described above may be input by the user at the client after the installation of the audio program to be tested is completed. For example, the start instruction may be input at the time of creating the program installation task, and the client may perform manual or automatic issuing after the program installation is completed.
The target audio can be installed into the plurality of cloud live machines through the cloud live machine service platform via the execution node. For example, the user may upload the target audio to a storage module or a storage node (e.g., an object-oriented storage node) corresponding to the cloud-live-machine service platform service end via the client, and the execution node may pull the target audio from the storage module or the storage node in response to an instruction input by the client or an instruction automatically issued by the test task. It should be understood that the target audio and the application to be tested may be stored in the same physical node or logical node, or may be stored in different logical nodes, and further, the target audio and the application to be tested may be stored in different or the same directories under the same logical node. For example, the target audio and the application to be tested may be stored in association with each other in the storage module or the storage node described above. The target audio may be saved to multiple cloud-live machines based on the same audio saving task of the client. The target audio may also be saved to a plurality of cloud computers based on a plurality of audio saving tasks of the client, respectively.
In one example, the audio program to be tested may include storage directory information and identification information of the target audio, and the pulling of the target audio may be triggered after the installation of the audio program to be tested is completed. In another example, the audio program to be tested may not include information about the target audio, and an audio saving task is created by the client to store it in the corresponding cloud real machine. It should be appreciated that in one example, the storage module may be located in the same physical or logical node as the cloud live machine service platform server and store the corresponding file in that node. In another example, the storage module may be located in the same physical node or the same logical node as the cloud live machine service platform server, the storage module may be configured to store metadata, and the node storing the file data corresponding to the cloud data may be located in a different physical node or a different logical node from the cloud live machine service platform server. It should also be understood that the target audio installed in the plurality of teleporters may be the same audio or different audio. Preferably, the multiple audios installed into the multiple teleporters are associated based on the same audio, e.g., the multiple audios may be different or the same part of the same audio. For example, the multiple audios may be audio of the same coding type and/or the same compression ratio as the same audio.
The audio capture herein may be performed after the audio program to be tested is started, and in one example, an audio capture task may be created at the client. The method can respond to an audio acquisition instruction issued by the client, and control the execution node to perform audio acquisition on the plurality of cloud real machines managed by the execution node. In another example, the execution node may automatically perform audio capture after starting the audio program to be tested.
It should also be understood that the audio program to be tested may be a module such as an audio playing module, an audio encoder of a video playing module, an audio decoder; but may also be an audio playback program, a video playback program, an audio service client application program, a video service client application program, and the like.
220: providing a plurality of audio data to perform an audio compatibility test on the plurality of real cloud machines based on the plurality of audio data.
It should be appreciated that the plurality of audio data may be sent to the cloud camera service platform server (e.g., based on a full duplex transport layer communication connection). The plurality of audio data may also be returned in response to an instruction from the cloud-live platform server (e.g., based on a half-duplex transport layer communication connection such as HTTP).
In addition, the audio compatibility test of the plurality of real cloud machines based on the plurality of audio data can be executed at the service end of the real cloud machine service platform. For example, the audio compatibility test described above may be performed by creating a compatibility test task.
The plurality of audio data may be audio data of each of the plurality of video objects, or may be a plurality of audio data of the target video object. Performing an audio compatibility test on the plurality of real cloud machines based on the plurality of audio data may perform an audio compatibility test on the plurality of audio data of the one or more video objects.
In addition, for cloud testing based on the cloud real machine service platform, a testing task can be created at the service end through the client, and the testing task comprises at least one task of a program installation subtask, a program starting subtask, an audio acquisition subtask and a compatibility testing subtask. The compatibility test task may include audio acquisition result comparison processing. The compatibility testing task may also include generating a visual test report to be presented. The visual test report may be presented at a cloud and real-machine service platform front-end, such as a web client.
In the scheme of the embodiment of the invention, as the same audio program to be tested can be controlled to play the target audio in a plurality of cloud-to-real machines and a plurality of audio data are collected, the high-efficiency play control and data collection are realized. In addition, the audio compatibility test is carried out on the plurality of cloud real machines through the plurality of collected audio data, and efficient compatibility test is further achieved.
In another implementation manner of the present invention, controlling an audio program to be tested to play a target audio in a plurality of managed cloud-to-live machines, and accordingly acquiring a plurality of audio data includes: when the audio program to be tested is controlled to play the target audio in the plurality of cloud real machines, a plurality of audio data are correspondingly acquired through the external sound cards configured for the plurality of cloud real machines. Because a plurality of audio data are collected through the external sound card, the influence of audio components inside the cloud-real machine on the collection process is avoided, and reliable collection is realized.
For example, the external sound cards of the plurality of cloud-real machine configurations may be at least one target external sound card. The at least one target external sound card may be managed by the execution node. For example, the at least one target external sound card may be configured inside the execution node and connected to the execution node by means of, for example, an external bus. For example, the at least one target external sound card may be configured external to the execution node and connected to the execution node, such as by wireless communication. In addition, at least one target external sound card can be connected with a plurality of cloud real machines in a wired or wireless mode. For example, the target external sound cards may be connected to the cloud computers through the speaker interfaces. Therefore, the external sound card is connected with the real cloud computer through the loudspeaker interface, so that convenient audio acquisition connection is realized without changing software configuration or hardware configuration of the real cloud computer.
In one example, the external sound card may be a single external sound card, and the single external sound card is used to perform audio acquisition on a plurality of cloud-to-real machines to obtain a plurality of audio data respectively. For example, a single external sound card may perform parallel audio acquisition processing on multiple cloud-real machines. For example, a single external sound card may perform serial audio acquisition processing on multiple cloud-enabled machines. Furthermore, the collected plurality of audio data may be stored in a memory space of the executing node in association with the respective identification.
In another example, the external sound card may be a plurality of target external sound cards. For example, the multiple target external sound cards may perform parallel audio acquisition processing on multiple cloud-real machines. Furthermore, the collected plurality of audio data may be stored in a memory space of the executing node in association with the respective identification.
In another implementation manner of the present invention, controlling an audio program to be tested to play a target audio in a plurality of managed cloud-to-live machines, and accordingly acquiring a plurality of audio data includes: establishing near field communication connections with the managed plurality of cloud-to-live machines; when the audio program to be tested is controlled to play the target audio in the plurality of cloud real machines, a plurality of audio data are correspondingly collected through near field communication connection. Because a plurality of audio data are collected through near field communication connection, the audio collection is carried out by fully utilizing the near field communication function of the real cloud machine, and the space limitation caused by wiring is avoided.
For example, near field communication connections include, but are not limited to, Radio Frequency Identification (RFID) connections, Bluetooth (Bluetooth) connections, ZigBee (ZigBee) connections, infrared connections, Wi-Fi connections, and the like.
For example, the executing node may be equipped with at least one near field communication component, i.e. at least one near field communication component may be managed by the executing node. For example, the at least one near field communication component may be configured inside the execution node and connected with the execution node by means of, for example, an external bus. For example, the at least one near field communication component may be configured externally to the execution node and connected with the execution node, such as by wireless communication. Further, near field communication components include, but are not limited to, radio frequency identification transceivers, Bluetooth transceivers, Violet transceivers, infrared transceivers, wireless local area network access (or wireless high fidelity) transceivers, and the like.
In one example, the near field communication component may be a single near field communication component, and the single near field communication component is configured to perform audio acquisition on a plurality of cloud-live machines, so as to obtain a plurality of audio data respectively. For example, a single near field communication component may perform parallel audio capture processing for multiple real-world clouds. For example, a single near field communication component may perform serial audio capture processing for multiple real cloud machines. Furthermore, the collected plurality of audio data may be stored in a memory space of the executing node in association with the respective identification.
In another implementation of the present invention, establishing near field communication connections with a plurality of managed cloud-enabled machines comprises: determining at least one locally installed near field communication component; establishing near field communication connections with a plurality of cloud-to-live machines, respectively, based on the at least one near field communication component. Due to the fact that the independent near field communication component is adopted to assist audio collection, management of the cloud reality machine cannot be interfered.
In another example, the external sound card may be a plurality of near field communication components. For example, multiple near field communication components may perform parallel audio capture processing for multiple real-world clouds. Furthermore, the collected plurality of audio data may be stored in a memory space of the executing node in association with the respective identification.
In another implementation manner of the present invention, at least one near field communication component is a plurality of near field communication components, wherein establishing a near field communication connection with a plurality of cloud-to-live machines based on the near field communication components respectively includes: and respectively sending communication connection control instructions to the plurality of real cloud machines, wherein the communication connection control instructions instruct the plurality of real cloud machines to respectively perform near field communication connection with the plurality of near field communication components. Because the plurality of near field communication components are respectively connected with the plurality of real cloud machines in a near field communication mode, the phenomenon of signal interference or data congestion is avoided. In addition, the control instruction indicates that the plurality of real cloud machines are respectively in near field communication connection with the plurality of near field communication components, so that the data transceiving capacity of the real cloud machines is fully utilized to realize the connection of the near field communication, the configuration requirement of the near field communication components is reduced, and the cost of the near field communication components is saved.
In another implementation manner of the present invention, a plurality of real cloud machines are respectively configured with a bluetooth communication trigger function, and respectively send a communication connection control instruction to the plurality of real cloud machines, including: and respectively sending Bluetooth audio output instructions to the plurality of cloud real machines, wherein the Bluetooth audio output instructions indicate the plurality of cloud real machines to respectively send Bluetooth hotspot access requests to the plurality of near field communication components. Because the Bluetooth audio output instruction indicates the plurality of real cloud machines to respectively send the Bluetooth hotspot access requests to the plurality of near field communication components, the simulation of Bluetooth audio output by the Bluetooth hotspots is realized, and the self capacity of the real cloud machines is fully utilized to realize effective audio acquisition.
In another implementation manner of the present invention, controlling an audio program to be tested to play a target audio in a plurality of managed cloud-to-live machines, and accordingly acquiring a plurality of audio data, further includes: and storing each audio data in association with the identification of the corresponding cloud reality machine. Because each audio data is stored in association with the corresponding identification of the real cloud computer, the process of performing compatibility test based on a plurality of audio data is simplified.
In another implementation manner of the present invention, the audio program to be tested includes a start command call interface, and controls the audio program to be tested to play the target audio in the managed multiple cloud-to-live machines, including: the input starting command is forwarded to the plurality of real cloud machines, the starting command calling interface is called, and the audio program to be tested installed in the plurality of real cloud machines is started so as to control the plurality of real cloud machines to play the target audio. The audio program to be tested comprises the starting command calling interface, and the interface is called through the input starting command, so that the efficient starting process of the plurality of cloud real machines is realized.
In another implementation of the invention, the method further comprises: and installing the acquired audio program to be tested into a plurality of cloud real machines. The audio program to be tested can be installed in the plurality of cloud real machines in batches, so that the installation process of the audio program to be tested is simplified, and the compatibility test efficiency is improved.
In another implementation manner of the present invention, the audio program to be tested includes a file name and a storage directory of a target audio, and the controlling the audio program to be tested to play the target audio in the managed multiple cloud-to-live machines includes: running the audio program to be tested, and determining the target audio based on the file name and the saved directory; and playing the saved target audio in the plurality of real cloud machines. The audio program to be tested comprises the file name and the storage directory of the target audio, so that the target audio can be determined conveniently when the audio program to be tested is operated, and automatic playing is realized, and the audio acquisition efficiency is further improved.
Fig. 2B is a schematic diagram of a cloud testing method according to another embodiment of the present invention. As shown, in this example, three cloud computers are shown, but this is merely exemplary, and in other examples, more or fewer cloud computers may be shown.
In step 201, the execution node controls the target audio to be played in the plurality of real cloud machines. For example, multiple teleporters may be controlled to play the target audio serially. And a plurality of cloud real machines can be controlled to play the target audio in parallel.
In step 202, the execution node collects audio data played in a plurality of cloud-live machines. For example, the plurality of audio data may be collected via a wired connection or a wireless connection. The wired connection mode comprises wired connection of an external sound card comprising an external loudspeaker interface of the cloud and real machine. The wireless connection mode comprises that equipment utilizing Bluetooth hotspots is in audio output wireless connection with the cloud real machine.
In step 203, the execution node returns the collected audio data to the server for compatibility testing. For example, a plurality of audio data may be sent to a cloud live machine service platform server (e.g., based on a full duplex transport layer communication connection). The plurality of audio data may also be returned in response to an instruction from the cloud-live platform server (e.g., based on a half-duplex transport layer communication connection such as HTTP).
Fig. 2C is a schematic flow chart of a cloud testing method according to another embodiment of the present invention. The cloud testing method of fig. 2C, comprising:
230: sending a connection configuration instruction according to connection configuration operation in a test interface of a cloud real machine platform, wherein the connection configuration instruction indicates a plurality of cloud real machines managed by the cloud real machine platform to establish near field communication connection with a communication component.
240: and sending a test trigger instruction according to the test trigger operation in the test interface, wherein the test trigger instruction is used for controlling an audio program to be tested to play a target audio in the plurality of cloud real machines, and correspondingly acquiring a plurality of audio data through the near field communication connection so as to perform audio compatibility test.
In the scheme of the embodiment of the invention, as the same audio program to be tested can be controlled to play the target audio in a plurality of cloud-to-real machines and a plurality of audio data are collected through near field communication connection, high-efficiency play control and data collection are realized. In addition, the audio compatibility test is carried out on the plurality of cloud real machines through the plurality of collected audio data, and efficient compatibility test is further achieved.
For example, near field communication connections include, but are not limited to, radio frequency identification (RF ID) connections, Bluetooth (B l bluetooth) connections, ZigBee (Z I gBee) connections, infrared connections, Wi-F I connections, and the like.
The plurality of audio data may be audio data of each of the plurality of video objects, or may be a plurality of audio data of the target video object. Performing an audio compatibility test on the plurality of real cloud machines based on the plurality of audio data may perform an audio compatibility test on the plurality of audio data of the one or more video objects.
Fig. 3A is a schematic flow chart of a cloud testing method according to another embodiment of the present invention. The cloud testing method of fig. 3A may be performed by any suitable electronic device having data processing capabilities, including but not limited to: server, mobile terminal (such as mobile phone, PAD, etc.), PC, etc. Preferably, the cloud testing method of the present invention is executed by a PC server, and the method includes:
310: and controlling the audio program to be tested to play the target audio in the plurality of cloud real machines so as to correspondingly collect a plurality of audio data.
It should be understood that the cloud testing method of the invention can be executed by a cloud real machine service platform server side. The server can be physically implemented as a server device or a PC. The server can be realized by a single host, or by distributed devices or device clusters. For example, the server may be connected with at least one execution node in a wired or wireless manner. Such wired connections include, but are not limited to, the internet, external bus connections, and the like. The wireless connections described above include, but are not limited to, near field communication connections such as wireless local area network connections, end-to-end connections.
In addition, the audio program to be tested can be installed into a plurality of cloud real machines through the execution nodes by the cloud real machine service platform. For example, a user may implement an operation of a cloud-live-machine service platform server through a web client or the like to control an execution node to install an audio program to be tested. The testing task, for example, at least one program installation task, can be created at the cloud live machine service platform server side. For example, the audio programs to be tested may be installed in the plurality of real cloud machines respectively based on a plurality of program installation tasks, or the audio programs to be tested may be installed in the plurality of real cloud machines in batch based on a single program installation task.
The audio program to be tested can be started through the execution node through the cloud real-time service platform. For example, the execution node may control to start the audio program to be tested in the cloud terminal in response to a start instruction of the audio program to be tested issued at the client. For example, the start instruction described above may be input by the user at the client after the installation of the audio program to be tested is completed. For example, the start instruction may be input at the time of creating the program installation task, and the client may perform manual or automatic issuing after the program installation is completed.
The target audio can be installed into the plurality of cloud live machines through the cloud live machine service platform via the execution node. For example, the user may upload the target audio to a storage module or a storage node (e.g., an object-oriented storage node) corresponding to the cloud-live-machine service platform service end via the client, and the execution node may pull the target audio from the storage module or the storage node in response to an instruction input by the client or an instruction automatically issued by the test task. It should be understood that the target audio and the application to be tested may be stored in the same physical node or logical node, or may be stored in different logical nodes, and further, the target audio and the application to be tested may be stored in different or the same directories under the same logical node. For example, the target audio and the application to be tested may be stored in association with each other in the storage module or the storage node described above. The target audio may be saved to multiple cloud-live machines based on the same audio saving task of the client. The target audio may also be saved to a plurality of cloud computers based on a plurality of audio saving tasks of the client, respectively.
320: and carrying out audio compatibility test on the plurality of cloud real machines based on the acquired plurality of audio data.
It should be understood that the audio compatibility test on the plurality of real cloud machines based on the plurality of audio data may be performed at the service end of the real cloud machine service platform. For example, the audio compatibility test described above may be performed by creating a compatibility test task.
In addition, for cloud testing based on the cloud real machine service platform, a testing task can be created at the service end through the client, and the testing task comprises at least one task of a program installation subtask, a program starting subtask, an audio acquisition subtask and a compatibility testing subtask. The compatibility test task may include audio acquisition result comparison processing. The compatibility testing task may also include generating a visual test report to be presented. The visual test report may be presented at a cloud and real-machine service platform front-end, such as a web client.
In the scheme of the embodiment of the invention, as the same audio program to be tested can be controlled to play the target audio in a plurality of cloud-to-real machines and a plurality of audio data are collected, the high-efficiency play control and data collection are realized. In addition, the audio compatibility test is carried out on the plurality of cloud real machines through the plurality of collected audio data, and efficient compatibility test is further achieved.
In another implementation manner of the present invention, performing an audio compatibility test on a plurality of cloud-to-live machines based on a plurality of acquired audio data includes: respectively generating a plurality of audio parameter visualization data based on the plurality of audio data; and comparing the plurality of audio parameter visual data to determine the compatibility test results of the plurality of cloud real machines. The audio parameter visual data can reflect auditory factors of a user, and the audio parameter visual data are compared to determine compatibility test results of the plurality of cloud real machines, so that the problem that an audio judgment standard which is difficult to quantify is adopted is avoided, namely, a reliable test result is obtained by adopting comparison processing, and the efficiency of compatibility test is improved.
For example, the audio parameter visualization data may be an audio oscillogram or an audio spectrogram.
In another implementation of the invention, the method further comprises: and generating a visual test report based on the compatibility test results of the plurality of cloud real machines, and sending the visual test report. Because the visual test report is convenient for users such as testers to read and analyze and is beneficial to further debugging, the debugging efficiency is improved when a plurality of cloud real machines are subjected to compatibility testing.
In another implementation manner of the present invention, the audio program to be tested includes a start command call interface, where controlling the audio program to be tested to play the target audio in the plurality of cloud computers includes: and controlling the audio program to be tested to play the target audio in the plurality of cloud real machines based on the starting command configured for the starting command calling interface. The audio program to be tested comprises the starting command calling interface, and the audio program to be tested is controlled to play the target audio in the plurality of cloud real machines based on the starting command, so that the audio program to be tested is quickly started in the plurality of cloud real machines, namely, the program starting efficiency is improved.
Fig. 3B is a schematic diagram of a cloud testing method according to another embodiment of the present invention. As shown, in this example, three cloud computers are shown, but this is merely exemplary, and in other examples, more or fewer cloud computers may be shown.
In step 301, the execution node controls the target audio to be played in the plurality of real cloud machines. For example, the server may control the execution node to execute the audio playback control described above. For example, multiple teleporters may be controlled to play the target audio serially. And a plurality of cloud real machines can be controlled to play the target audio in parallel.
In step 302, the execution node collects audio data played in a plurality of cloud-real machines. For example, the server may control the execution node to perform the above-described audio acquisition control. For example, the plurality of audio data may be collected via a wired connection or a wireless connection. The wired connection mode comprises wired connection of an external sound card comprising an external loudspeaker interface of the cloud and real machine. The wireless connection mode comprises that equipment utilizing Bluetooth hotspots is in audio output wireless connection with the cloud real machine.
In step 303, the server obtains a plurality of collected audio data from the execution node. For example, a plurality of audio data may be sent to a cloud live machine service platform server (e.g., based on a full duplex transport layer communication connection). The plurality of audio data may also be returned in response to an instruction from the cloud-live platform server (e.g., based on a half-duplex transport layer communication connection such as HTTP).
In step 304, the server performs a compatibility test based on the plurality of audio data. For example, an audio compatibility test may be performed by comparing the generated audio parameter visualization data. For example, the audio parameter visualization data may be an audio oscillogram or an audio spectrogram.
Fig. 4A is a schematic diagram of a cloud testing method according to another embodiment of the present invention. As shown in the figure, in this example, an interaction flow between a cloud live-machine service platform client, a server, an execution node managed by the server, and at least one cloud live-machine managed by the execution node is shown. It should be understood that each step in the flow may be implemented as a single step or as multiple sub-steps. The interaction between different interaction objects may include at least one of direct transmission, forwarding, responding, proxy service, and the like.
In step 410, a user performs installation of an audio program to be tested on a cloud-enabled machine through a client (e.g., a web client).
In step 420, the user executes the start of the audio program to be tested to the cloud real machine through the client.
In step 430, the execution node performs audio capture processing on the cloud truth machine.
In step 440, the executing node returns the collected audio to the server.
In step 450, the server performs an audio compatibility test. For example, after testing is complete, a visual test report may be generated and presented to the client.
Fig. 4B is a schematic diagram of a cloud testing method according to another embodiment of the present invention. As shown in the figure, in this example, an interaction flow between a cloud live-machine service platform client, a server, an execution node managed by the server, and at least one cloud live-machine managed by the execution node is shown. It should be understood that each step in the flow may be implemented as a single step or as multiple sub-steps. The interaction between different interaction objects may include at least one of direct transmission, forwarding, responding, proxy service, and the like.
In step 401, a user sends a program installation request to a server through a client
In step 402, the server sends an installation instruction of the audio program to be tested to the execution node.
In step 403, the executing node pulls the audio program to be tested from the server (e.g., storage module) in response to the installation instruction.
In step 404, the execution node installs the audio program to be tested into the cloud real machine.
Fig. 5 is a schematic diagram of a cloud testing method according to another embodiment of the present invention. As shown in the figure, in this example, an interaction flow between a service end of a cloud live-machine service platform, an execution node managed by the service end, and at least one cloud live-machine managed by the execution node is shown. It should be understood that each step in the flow may be implemented as a single step or as multiple sub-steps. The interaction between different interaction objects may include at least one of direct transmission, forwarding, responding, proxy service, and the like.
In step 501, the execution node sends a near field communication connection instruction to the cloud host.
In step 502, the fax machine sends a near field communication connection request to the execution node in response to the near field communication connection instruction.
In step 503, the executing node establishes a connection in response to the near field communication connection request.
In step 504, the executing node sends a notification of the completion of the near field communication connection to the server.
Fig. 6 is a schematic diagram of a cloud testing method according to another embodiment of the present invention. As shown in the figure, in this example, an interaction flow between a cloud live-machine service platform client, a server, an execution node managed by the server, and at least one cloud live-machine managed by the execution node is shown. It should be understood that each step in the flow may be implemented as a single step or as multiple sub-steps. The interaction between different interaction objects may include at least one of direct transmission, forwarding, responding, proxy service, and the like.
In step 601, a user creates a task of an audio program to be tested at a server through a client. For example, the task may include installation, start-up, etc. of the audio program to be tested. The task may also include the acquisition process of audio.
In step 602, the server installs the audio program to be tested into the cloud computer.
In step 603, the user triggers a start command of the audio program to be tested through the client. The start command may be entered into the task by the client, for example, when creating the audio program to be tested.
In step 604, the server responds to the start command to control the start of the audio program to be tested in the cloud-real machine.
Fig. 7 is a schematic block diagram of a cloud testing apparatus according to another embodiment of the present invention. The cloud test apparatus of fig. 7 includes:
the control module 710 controls the audio program to be tested to play the target audio in the managed multiple cloud-real machines, and accordingly collects multiple audio data.
A providing module 720 provides a plurality of audio data to perform an audio compatibility test on the plurality of real cloud machines based on the plurality of audio data.
In the scheme of the embodiment of the invention, as the same audio program to be tested can be controlled to play the target audio in a plurality of cloud-to-real machines and a plurality of audio data are collected, the high-efficiency play control and data collection are realized. In addition, the audio compatibility test is carried out on the plurality of cloud real machines through the plurality of collected audio data, and efficient compatibility test is further achieved.
In another implementation manner of the present invention, the control module is specifically configured to: when the audio program to be tested is controlled to play the target audio in the plurality of cloud real machines, a plurality of audio data are correspondingly acquired through the external sound cards configured for the plurality of cloud real machines.
In another implementation manner of the present invention, the control module is specifically configured to: establishing near field communication connections with the managed plurality of cloud-to-live machines; when the audio program to be tested is controlled to play the target audio in the plurality of cloud real machines, a plurality of audio data are correspondingly collected through near field communication connection.
In another implementation manner of the present invention, the control module is specifically configured to: determining at least one locally installed near field communication component; establishing near field communication connections with a plurality of cloud-to-live machines, respectively, based on the at least one near field communication component.
In another implementation manner of the present invention, the at least one near field communication component is a plurality of near field communication components, wherein the control module is specifically configured to: and respectively sending communication connection control instructions to the plurality of real cloud machines, wherein the communication connection control instructions instruct the plurality of real cloud machines to respectively perform near field communication connection with the plurality of near field communication components.
In another implementation manner of the present invention, the plurality of real cloud machines are respectively configured with a bluetooth communication trigger function, and the control module is specifically configured to: and respectively sending Bluetooth audio output instructions to the plurality of cloud real machines, wherein the Bluetooth audio output instructions indicate the plurality of cloud real machines to respectively send Bluetooth hotspot access requests to the plurality of near field communication components.
In another implementation of the present invention, the control module is further configured to: and storing each audio data in association with the identification of the corresponding cloud reality machine.
In another implementation manner of the present invention, the audio program to be tested includes a start command calling interface, and the control module is specifically configured to: the input starting command is forwarded to the plurality of real cloud machines, the starting command calling interface is called, and the audio program to be tested installed in the plurality of real cloud machines is started so as to control the plurality of real cloud machines to play the target audio.
In another implementation manner of the present invention, the apparatus further includes an installation module, which installs the acquired audio program to be tested into a plurality of cloud computers.
In another implementation manner of the present invention, the audio program to be tested includes a file name and a storage directory of the target audio, and the control module is specifically configured to: running the audio program to be tested, and determining the target audio based on the file name and the saved directory; and playing the saved target audio in the plurality of real cloud machines.
The apparatus of this embodiment is used to implement the corresponding method in the foregoing method embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described herein again. In addition, the functional implementation of each module in the apparatus of this embodiment can refer to the description of the corresponding part in the foregoing method embodiment, and is not described herein again.
Fig. 8A is a schematic block diagram of a cloud testing apparatus according to another embodiment of the present invention. The cloud test apparatus of fig. 8A includes:
the control module 810 controls the audio program to be tested to play the target audio in the plurality of real cloud machines so as to collect a plurality of audio data accordingly.
The testing module 820 performs audio compatibility testing on the plurality of cloud-real machines based on the obtained plurality of audio data.
In the scheme of the embodiment of the invention, as the same audio program to be tested can be controlled to play the target audio in a plurality of cloud-to-real machines and a plurality of audio data are collected, the high-efficiency play control and data collection are realized. In addition, the audio compatibility test is carried out on the plurality of cloud real machines through the plurality of collected audio data, and efficient compatibility test is further achieved.
In another implementation manner of the present invention, the test module is specifically configured to: respectively generating a plurality of audio parameter visualization data based on the plurality of audio data; and comparing the plurality of audio parameter visual data to determine the compatibility test results of the plurality of cloud real machines.
In another implementation of the present invention, the test module is further configured to: and generating a visual test report based on the compatibility test results of the plurality of cloud real machines, and sending the visual test report.
In another implementation manner of the present invention, the audio program to be tested includes a start command calling interface, wherein the control module is specifically configured to: and controlling the audio program to be tested to play the target audio in the plurality of cloud real machines based on the starting command configured for the starting command calling interface.
The apparatus of this embodiment is used to implement the corresponding method in the foregoing method embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described herein again. In addition, the functional implementation of each module in the apparatus of this embodiment can refer to the description of the corresponding part in the foregoing method embodiment, and is not described herein again.
Fig. 8B is a schematic block diagram of a cloud testing apparatus according to another embodiment of the present invention. The cloud test apparatus of fig. 8B includes:
the first sending module 830 is configured to send a connection configuration instruction according to a connection configuration operation in a test interface of a cloud real machine platform, where the connection configuration instruction instructs a plurality of cloud real machines managed by the cloud real machine platform to establish near field communication connection with a communication component;
the second sending module 840 sends a test trigger instruction according to the test trigger operation in the test interface, where the test trigger instruction is used to control an audio program to be tested to play a target audio in the multiple cloud and reality machines, and correspondingly collects multiple audio data through the near field communication connection, so as to perform an audio compatibility test.
In the scheme of the embodiment of the invention, as the same audio program to be tested can be controlled to play the target audio in a plurality of cloud-to-real machines and a plurality of audio data are collected through near field communication connection, high-efficiency play control and data collection are realized. In addition, the audio compatibility test is carried out on the plurality of cloud real machines through the plurality of collected audio data, and efficient compatibility test is further achieved.
The apparatus of this embodiment is used to implement the corresponding method in the foregoing method embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described herein again. In addition, the functional implementation of each module in the apparatus of this embodiment can refer to the description of the corresponding part in the foregoing method embodiment, and is not described herein again.
Fig. 9 is a schematic structural diagram of an electronic device according to another embodiment of the invention; the electronic device may include:
one or more processors 901;
a computer-readable medium 902, which may be configured to store one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the methods as described in the embodiments above.
Fig. 10 is a hardware configuration of an electronic apparatus according to another embodiment of the present invention; as shown in fig. 10, the hardware structure of the electronic device may include: a processor 1001, a communication interface 1002, a computer-readable medium 1003, and a communication bus 1004;
wherein the processor 1001, the communication interface 1002, and the computer readable medium 1003 complete communication with each other through the communication bus 1004;
alternatively, the communication interface 1002 may be an interface of a communication module;
the processor 1001 may be specifically configured to: controlling an audio program to be tested to play a target audio in a plurality of managed cloud real machines, and correspondingly acquiring a plurality of audio data; providing the plurality of audio data for audio compatibility testing of the plurality of fax machines based on the plurality of audio data, or,
controlling an audio program to be tested to play target audio in a plurality of cloud real machines so as to correspondingly acquire a plurality of audio data; and carrying out audio compatibility test on the plurality of cloud real machines based on the acquired plurality of audio data.
The Processor 1001 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The computer-readable medium 1003 may be, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code configured to perform the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium. The computer program performs the above-described functions defined in the method of the present invention when executed by a Central Processing Unit (CPU). It should be noted that the computer readable medium of the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access storage media (RAM), a read-only storage media (ROM), an erasable programmable read-only storage media (EPROM or flash memory), an optical fiber, a portable compact disc read-only storage media (CD-ROM), an optical storage media piece, a magnetic storage media piece, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code configured to carry out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may operate over any of a variety of networks: including a Local Area Network (LAN) or a Wide Area Network (WAN) -to the user's computer, or alternatively, to an external computer (e.g., through the internet using an internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions configured to implement the specified logical function(s). In the above embodiments, specific precedence relationships are provided, but these precedence relationships are only exemplary, and in particular implementations, the steps may be fewer, more, or the execution order may be modified. That is, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The names of these modules do not in some cases constitute a limitation of the module itself.
As another aspect, the present invention also provides a computer-readable medium on which a computer program is stored, which when executed by a processor implements the method as described in the above embodiments.
As another aspect, the present invention also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: controlling an audio program to be tested to play a target audio in a plurality of managed cloud real machines, and correspondingly acquiring a plurality of audio data; providing the plurality of audio data for audio compatibility testing of the plurality of fax machines based on the plurality of audio data, or,
controlling an audio program to be tested to play target audio in a plurality of cloud real machines so as to correspondingly acquire a plurality of audio data; and carrying out audio compatibility test on the plurality of cloud real machines based on the acquired plurality of audio data.
The expressions "first", "second", "said first" or "said second" used in various embodiments of the present disclosure may modify various components regardless of order and/or importance, but these expressions do not limit the respective components. The above description is only configured for the purpose of distinguishing elements from other elements. For example, the first user equipment and the second user equipment represent different user equipment, although both are user equipment. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of the present disclosure.
When an element (e.g., a first element) is referred to as being "operably or communicatively coupled" or "connected" (operably or communicatively) to "another element (e.g., a second element) or" connected "to another element (e.g., a second element), it is understood that the element is directly connected to the other element or the element is indirectly connected to the other element via yet another element (e.g., a third element). In contrast, it is understood that when an element (e.g., a first element) is referred to as being "directly connected" or "directly coupled" to another element (a second element), no element (e.g., a third element) is interposed therebetween.
The foregoing description is only exemplary of the preferred embodiments of the invention and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention according to the present invention is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the scope of the invention as defined by the appended claims. For example, the above features and (but not limited to) features having similar functions disclosed in the present invention are mutually replaced to form the technical solution.

Claims (20)

1. A cloud testing method, comprising:
controlling an audio program to be tested to play a target audio in a plurality of managed cloud real machines, and correspondingly acquiring a plurality of audio data;
providing the plurality of audio data to perform an audio compatibility test on the plurality of real cloud machines based on the plurality of audio data.
2. The method of claim 1, wherein the controlling the audio program to be tested to play the target audio in the managed plurality of telephonists, respectively collecting a plurality of audio data comprises:
when the audio program to be tested is controlled to play the target audio in the plurality of real cloud machines, a plurality of audio data are correspondingly acquired through the external sound cards configured for the plurality of real cloud machines.
3. The method of claim 1, wherein the controlling the audio program to be tested to play the target audio in the managed plurality of telephonists, respectively collecting a plurality of audio data comprises:
establishing near field communication connections with the managed plurality of cloud-to-live machines;
and correspondingly acquiring a plurality of audio data through the near field communication connection when the audio program to be tested is controlled to play the target audio in the plurality of real cloud machines.
4. The method of claim 3, wherein the establishing a near field communication connection with the managed plurality of cloud-to-live machines comprises:
determining at least one locally installed near field communication component;
establishing near field communication connections with the plurality of real cloud machines, respectively, based on the at least one near field communication component.
5. The method of claim 4, wherein the at least one near field communication component is a plurality of near field communication components, wherein,
the establishing of the near field communication connection with the plurality of real cloud machines respectively based on the near field communication component includes:
and respectively sending communication connection control instructions to the plurality of real cloud machines, wherein the communication connection control instructions indicate the plurality of real cloud machines to be respectively connected with the plurality of near field communication components in a near field communication mode.
6. The method of claim 5, wherein the plurality of cloud-to-live machines are each configured with a Bluetooth communication trigger function,
the to a plurality of real machines of cloud send communication connection control command respectively, include:
and respectively sending Bluetooth audio output instructions to the plurality of real cloud machines, wherein the Bluetooth audio output instructions indicate that the plurality of real cloud machines respectively send Bluetooth hotspot access requests to the plurality of near field communication components.
7. The method of claim 3, wherein the controlling the audio program to be tested to play the target audio in the managed plurality of telephonists, respectively collecting a plurality of audio data, further comprises:
and storing each audio data in association with the identification of the corresponding cloud reality machine.
8. The method of claim 1, wherein the audio program to be tested includes a start command call interface,
the control audio program to be tested plays target audio in a plurality of managed real cloud machines, and the control audio program comprises the following steps:
the input starting command is forwarded to the plurality of real cloud machines, the starting command calling interface is called, and the audio program to be tested installed in the plurality of real cloud machines is started so as to control the plurality of real cloud machines to play the target audio.
9. The method of claim 1, wherein the method further comprises:
and installing the acquired audio program to be tested into the plurality of cloud real machines.
10. The method of claim 9, wherein the audio program to be tested includes a file name and a saved directory of the target audio, and the controlling the audio program to be tested to play the target audio in the managed plurality of cloud-to-live machines comprises:
running the audio program to be tested, and determining the target audio based on the file name and the saved directory;
and playing the saved target audio in the plurality of real cloud machines.
11. A cloud testing method, comprising:
controlling an audio program to be tested to play target audio in a plurality of cloud real machines so as to correspondingly acquire a plurality of audio data;
and carrying out audio compatibility test on the plurality of cloud real machines based on the acquired plurality of audio data.
12. The method of claim 11, wherein the performing an audio compatibility test on the plurality of cloud-to-live machines based on the obtained plurality of audio data comprises:
generating a plurality of audio parameter visualization data based on the plurality of audio data, respectively;
and comparing the plurality of audio parameter visual data, and determining the compatibility test results of the plurality of cloud real machines.
13. The method of claim 12, wherein the method further comprises:
generating a visual test report based on the compatibility test results of the plurality of cloud real machines, and sending the visual test report.
14. The method of claim 11, wherein the audio program to be tested includes a start command call interface, wherein,
the control audio program to be tested plays target audio in a plurality of cloud real machines, and the control method comprises the following steps:
and controlling the audio program to be tested to play the target audio in the plurality of cloud real machines based on the starting command configured for the starting command calling interface.
15. A cloud testing method, comprising:
sending a connection configuration instruction according to connection configuration operation in a test interface of a cloud real machine platform, wherein the connection configuration instruction indicates a plurality of cloud real machines managed by the cloud real machine platform to establish near field communication connection with a communication component;
and sending a test trigger instruction according to the test trigger operation in the test interface, wherein the test trigger instruction is used for controlling an audio program to be tested to play a target audio in the plurality of cloud real machines, and correspondingly acquiring a plurality of audio data through the near field communication connection so as to perform audio compatibility test.
16. A cloud testing apparatus, comprising:
the first sending module is used for sending a connection configuration instruction according to connection configuration operation in a test interface of a cloud real machine platform, wherein the connection configuration instruction indicates a plurality of cloud real machines managed by the cloud real machine platform to establish near field communication connection with a communication component;
and the second sending module is used for sending a test trigger instruction according to the test trigger operation in the test interface, wherein the test trigger instruction is used for controlling an audio program to be tested to play a target audio in the plurality of cloud-to-real machines, and correspondingly acquiring a plurality of audio data through the near field communication connection so as to perform audio compatibility test.
17. A cloud testing apparatus, comprising:
the control module is used for controlling the audio program to be tested to play the target audio in the managed plurality of cloud real machines and correspondingly acquiring a plurality of audio data;
the providing module is used for providing the audio data so as to carry out audio compatibility test on the cloud real machines based on the audio data.
18. A cloud testing apparatus, comprising:
the control module is used for controlling the audio program to be tested to play the target audio in the plurality of real cloud machines so as to correspondingly acquire a plurality of audio data;
and the testing module is used for carrying out audio compatibility testing on the plurality of cloud real machines based on the acquired audio data.
19. An electronic device, the device comprising:
one or more processors;
a computer readable medium configured to store one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-15.
20. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 15.
CN202010560924.2A 2020-06-18 2020-06-18 Cloud testing method and device, electronic equipment and computer storage medium Pending CN113821428A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010560924.2A CN113821428A (en) 2020-06-18 2020-06-18 Cloud testing method and device, electronic equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010560924.2A CN113821428A (en) 2020-06-18 2020-06-18 Cloud testing method and device, electronic equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN113821428A true CN113821428A (en) 2021-12-21

Family

ID=78911898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010560924.2A Pending CN113821428A (en) 2020-06-18 2020-06-18 Cloud testing method and device, electronic equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN113821428A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115988234A (en) * 2022-12-05 2023-04-18 中信银行股份有限公司 Audio and video processing method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115988234A (en) * 2022-12-05 2023-04-18 中信银行股份有限公司 Audio and video processing method and system

Similar Documents

Publication Publication Date Title
CN104063305B (en) The method for testing pressure of intelligent terminal software, device and system
US11360737B2 (en) Method and apparatus for providing speech service
WO2014169565A1 (en) Terminal testing method and device
CN107045475B (en) Test method and device
CN110493028A (en) A kind of clustered deploy(ment) method, system, device and computer readable storage medium
CN112799891B (en) iOS device testing method, device, system, storage medium and computer device
US11740997B2 (en) Method and apparatus for debugging a device
CN111064626B (en) Configuration updating method, device, server and readable storage medium
CN113422794A (en) Traffic recording and playback processing method and device and electronic equipment
CN113672441B (en) Method and device for testing intelligent equipment
US20230214243A1 (en) One-machine multi-control method, apparatus, system and electronic device
WO2022267635A1 (en) Method and apparatus for data exchange
CN111625381A (en) Method, device and equipment for reproducing running scene of application program and storage medium
WO2022228156A1 (en) Policy orchestration processing method, apparatus, device and system and storage medium
CN108170585A (en) log processing method, device, terminal device and storage medium
JP2017068530A (en) Program and remote conference method
CN113821428A (en) Cloud testing method and device, electronic equipment and computer storage medium
CN107231275B (en) Method for connection configuration of user equipment and household equipment
CN113032224A (en) Information acquisition method and device, electronic equipment and readable storage medium
CN111767176A (en) Method and device for remotely controlling terminal equipment
CN114285774B (en) Flow recording method and device, electronic equipment and storage medium
CN108170576A (en) log processing method, device, terminal device and storage medium
CN115422058A (en) Method and device for testing face recognition application
CN113810448A (en) Cloud service method, deployment method, device, electronic equipment and storage medium
CN109271310B (en) Development testing method and device for network function of mobile application program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination