CN109362015B - Volume test method, control end device, storage medium and volume test system - Google Patents

Volume test method, control end device, storage medium and volume test system Download PDF

Info

Publication number
CN109362015B
CN109362015B CN201811049368.1A CN201811049368A CN109362015B CN 109362015 B CN109362015 B CN 109362015B CN 201811049368 A CN201811049368 A CN 201811049368A CN 109362015 B CN109362015 B CN 109362015B
Authority
CN
China
Prior art keywords
volume
test
information
equipment
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.)
Active
Application number
CN201811049368.1A
Other languages
Chinese (zh)
Other versions
CN109362015A (en
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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201811049368.1A priority Critical patent/CN109362015B/en
Publication of CN109362015A publication Critical patent/CN109362015A/en
Application granted granted Critical
Publication of CN109362015B publication Critical patent/CN109362015B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention is suitable for the technical field of computers, and provides a volume test method, control end equipment, a storage medium and a volume test system, wherein the method comprises the following steps: after a first communication connection with the tested equipment and a second communication connection with the volume testing equipment are established, according to preset configuration information, first testing information is interacted between the first communication connection and the tested equipment, and second testing information is interacted between the second communication connection and the volume testing equipment, so that the tested equipment and the volume testing equipment are triggered to execute corresponding volume testing actions. Therefore, the volume testing action of the tested device and the volume testing device can be controlled to be automatically executed, the volume testing device, the tested device and result recording do not need to be operated manually, the volume testing efficiency is improved, and the accuracy and the reliability of the testing result are ensured.

Description

Volume test method, control end device, storage medium and volume test system
Technical Field
The invention belongs to the technical field of computers, and particularly relates to a volume test method, control end equipment, a storage medium and a volume test system.
Background
At present, when testing the external volume of electronic products such as smart phones, flat panels and the like in the industry, the relevant play function of tested equipment is generally manually opened, sound sources are clicked one by one to play, meanwhile, a sound level meter is manually opened to test the volume, data are manually recorded after each sound source is tested, and the whole process needs higher manual participation degree, so that the volume testing efficiency is lower, and errors are easy to occur.
Disclosure of Invention
The invention aims to provide a volume test method, a control end device, a storage medium and a volume test system, and aims to solve the problems of low volume test efficiency and high error rate in the prior art.
In one aspect, the present invention provides a volume testing method, including the following steps:
establishing a first communication connection with the tested equipment and a second communication connection with the volume testing equipment;
according to preset configuration information, based on first test information interacted between the first communication connection and the tested equipment, and based on second test information interacted between the second communication connection and the volume test equipment, the tested equipment and the volume test equipment are triggered to execute corresponding volume test actions.
In another aspect, the present invention provides a control end device, which includes a memory and a processor, and the processor implements the steps in the method when executing the computer program stored in the memory.
In another aspect, the present invention also provides a computer readable storage medium, which stores a computer program, which when executed by a processor implements the steps in the method as described above.
In another aspect, the present invention further provides a volume testing system, including: the control terminal device and the volume test device are provided.
After establishing the first communication connection with the tested equipment and the second communication connection with the volume testing equipment, the invention interacts the first testing information with the tested equipment based on the first communication connection according to the preset configuration information and interacts the second testing information with the volume testing equipment based on the second communication connection so as to trigger the tested equipment and the volume testing equipment to execute the corresponding volume testing action. Therefore, the volume testing action of the tested device and the volume testing device can be controlled to be automatically executed, the volume testing device, the tested device and result recording do not need to be operated manually, the volume testing efficiency is improved, and the accuracy and the reliability of the testing result are ensured.
Drawings
Fig. 1 is a flowchart illustrating an implementation of a volume testing method according to an embodiment of the present invention;
FIG. 2 is a schematic view of a notebook text file according to a second embodiment of the present invention;
fig. 3 is a flowchart related to a volume testing method according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a control-side device according to a fifth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a volume testing system according to a seventh embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The following detailed description of specific implementations of the present invention is provided in conjunction with specific embodiments:
the first embodiment is as follows:
fig. 1 shows an implementation process of a volume testing method according to an embodiment of the present invention, where the volume testing method is used to test the volume of an electronic product such as a smart phone or a tablet computer. For convenience of illustration, only the parts related to the embodiments of the present invention are shown, and detailed as follows:
in step S101, a first communication connection with the device under test and a second communication connection with the volume testing device are established.
In this embodiment, when the physical structure preparation before the communication connection between the device to be tested and the volume testing device is made in a wired or wireless manner, a communication connection, or referred to as a communication link, needs to be established between the device to be tested and the volume testing device depending on a corresponding communication protocol, and a communication handshake needs to be performed between the device to be tested and the volume testing device based on the communication protocol. Based on the communication connection, instructions and data can be transmitted. The wired mode may be connection through a Universal Serial Bus (USB) connection line, a Serial line, or the like, and the Wireless mode may be connection through bluetooth, Wireless Fidelity (WiFi), or the like.
In step S102, according to preset configuration information, based on the first test information exchanged between the first communication connection and the device under test, and based on the second test information exchanged between the second communication connection and the volume test device, the device under test and the volume test device are triggered to execute a corresponding volume test action.
In this embodiment, the configuration information may indicate: which tested device plays which volume test file when and which volume test device plays volume collection when, like this, can carry out corresponding control to tested device and volume test device according to configuration information, realize that tested device, volume test device are controlled collaborative work. In the above configuration information, the information for controlling the device under test and the information for controlling the volume testing device may be directly related or indirectly related, for example: the volume acquisition can be performed by the volume test device aiming at the playing at the same time when the tested device starts to play the volume test file 1, and the corresponding acquisition result is recorded, and the implementation of the process can be realized by performing corresponding related configuration on the tested device and the volume test device, for example: the time for sending the control instruction to the tested device and the volume testing device and the time for triggering the tested device and the volume testing device to act are synchronous, so that the direct correlation is realized; or, the device to be tested may be set to start playing the volume test file 1 at 15: 00/8/15/2018, and the volume test device may start volume acquisition at 15: 00/8/15/2018, and may synchronize at absolute time, but the time for configuring the device to be tested and the volume test device or sending the control instruction may not be synchronized, so that the indirect correlation is achieved. The volume test file can be stored in the tested equipment in advance through network downloading or local transfer and other modes, and can also be sent to the tested equipment before test information is interacted, and playing software capable of playing the volume test file needs to be loaded in advance in the tested equipment. The sound volume test file is preferably a sound volume test file with a simpler sound track, so that the test result of the tested device is more accurate, and the comparison between the test result of different tested devices and the reference sample is more accurate and reliable.
By implementing the embodiment, the tested device and the volume testing device can be controlled to automatically execute the volume testing action without manually participating in the operation of the volume testing device, the tested device and the result record, so that the volume testing efficiency is improved, and the accuracy and the reliability of the testing result are ensured.
Example two:
the embodiment further provides the following contents on the basis of the first embodiment:
the configuration information includes: volume test file playing time sequence information and volume acquisition time sequence information, wherein the volume acquisition time sequence information is related to the volume test file playing time sequence information, and the two are related mainly as follows: the volume test file playing of the tested device can be synchronous with the volume acquisition of the volume test device, and the correlation can be realized by adopting the direct correlation or the indirect correlation.
Correspondingly, in step S102, interacting the first test information specifically includes the following steps:
sending a first test instruction for triggering the tested device to play the volume test file according to the volume test file playing time sequence information to the tested device, wherein the type of the first test instruction can be set according to an operating system of the tested device, for example: when the operating system of the device to be tested is an Android system, the first test instruction type may be an Android test Bridge (ADB) instruction, and when the operating system of the device to be tested is an apple ios system, the first test instruction type may be an ios instruction; interacting the second test information, specifically comprising the following steps: and sending a second test instruction for triggering the volume test equipment to carry out playing volume acquisition according to the volume acquisition time sequence information to the volume test equipment, and receiving a playing volume acquisition result from the volume test equipment, wherein if the volume test equipment supports a serial port, the second test instruction type can be a serial port instruction. The configuration information may include information related to a volume test file, such as: volume test file identification information, duration information, genre information, and play order information, which may be related to each other and exist in a relational table, as shown in fig. 2, a note text file including 6 audio files and 3 video files is listed as part of configuration information, and the file name and play duration are labeled.
By implementing the embodiment, the accurate synchronization of the playing of the volume test file and the volume acquisition of the volume test equipment by the tested equipment is realized, the problem that the accurate synchronization cannot be realized due to manual operation is avoided, the test error caused by the manual operation can be eliminated as far as possible, and particularly, the advantages can be more highlighted when the playing time of the volume test file is short.
Example three:
the present embodiment further provides the following contents on the basis of the first or second embodiment:
the following steps are also included between step S101 and step S102 as shown in fig. 3:
in step S301, initialization information is interacted with the device under test based on the first communication connection to trigger the device under test to set the device playback volume at an initial level specified by the initialization information and enter a mute operation state.
In this embodiment, since the device under test has several device playing volume levels, here, in order to perform the volume test subsequently, the device playing volume initial level of the device under test needs to be specified and debugged in advance. In order to subsequently determine whether the volume test environment is qualified, the device under test needs to enter a mute working state.
In step S302, based on the second communication connection and the interactive debugging information between the volume testing device, the volume testing device is triggered to collect the real-time environment volume when the device under test is in the mute operation state.
In step S303, a real-time environment volume acquisition result is obtained from the volume test device.
In step S304, it is determined whether the volume test environment is qualified according to the comparison result between the acquired real-time environment volume acquisition result and the preset environment volume nominal value, if so, step S305 is executed, otherwise, step S306 is executed.
In this embodiment, when the preset environment volume nominal value is in a high standard requirement, it may indicate that the environment is in a mute state, and in other cases, it may indicate that noise exists in the environment, but the noise volume is small and negligible or does not affect the test result.
In step S305, the subsequent first test information and the second test information are interacted to perform the volume test (i.e., step S102).
In step S306, the volume test environment is replaced or the ambient noise is eliminated.
In this embodiment, when there is a higher standard requirement for the test environment and the volume test environment is not satisfactory, the volume test environment needs to be replaced, for example: switching from an environment in which noise that may affect the test results is present, to a sound-proof booth in which there is little ambient noise, or performing a corresponding ambient noise isolation treatment, such as: and arranging a sound insulation wall and the like.
By implementing the embodiment, before the volume test process is really entered, whether the volume test environment meets the volume test requirement can be judged, so that the volume test environment which can meet the volume test requirement and does not cost higher cost can be found or constructed.
It should be understood that in other embodiments, the soundproof room can be configured to meet the volume test requirement to shield the ambient noise.
Example four:
on the basis of the third embodiment, the present embodiment further provides the following contents:
in step S303, a plurality of real-time environment volume acquisition results at different time points within a predetermined duration are obtained from the volume testing device, and the real-time environment volume acquisition results are acquired at different time points within the predetermined duration.
In this embodiment, correspondingly, also include:
and judging whether the volume acquisition results of the plurality of real-time environments are basically kept at the same level, if so, inputting the volume acquisition results of the playing and the volume acquisition results of the real-time environments into the data processing model for denoising treatment, and obtaining the final volume test result of the tested equipment.
In this embodiment, the data processing model is a denoising processing model, and the main purpose is to eliminate the environmental noise from the playing volume acquisition result, so as to restore the real volume of the device under test.
When the volume acquisition results of a plurality of real-time environments are not basically kept at the same level, but the fluctuation range is large, the indication that an ideal test result can not be obtained through denoising processing is provided. Then, the test environment may need to be replaced at this time.
Example five:
fig. 4 shows a structure of a control end device provided in a fifth embodiment of the present invention, and for convenience of description, only a part related to the embodiment of the present invention is shown.
The control-side device of the embodiment of the present invention includes a processor 401 and a memory 402, and when the processor 401 executes a computer program 403 stored in the memory 402, the steps in the above-described method embodiments are implemented, for example, steps S101 to S102 shown in fig. 1.
The steps implemented when the processor 401 in the control end device executes the computer program 403 to implement the above methods can refer to the description of the foregoing method embodiments, and are not described herein again.
Of course, the control end device of this embodiment may further include other modules, for example: the system comprises a mouse, a keyboard and other human-computer interaction modules convenient for user operation, a network module for remote communication with a server and the like.
Example six:
in an embodiment of the present invention, a computer-readable storage medium is provided, which stores a computer program that, when executed by a processor, implements the steps of the above-described method embodiments, for example, steps S101 to S102 shown in fig. 1.
The computer readable storage medium of the embodiments of the present invention may include any entity or device capable of carrying computer program code, a recording medium, such as a ROM/RAM, a magnetic disk, an optical disk, a flash memory, or the like.
Example seven:
fig. 5 shows a structure of a volume test system according to a seventh embodiment of the present invention, and for convenience of description, only the portions related to the embodiment of the present invention are shown.
The volume test system of the embodiment of the invention comprises: the control end device 501 and the volume test device 502 are used for performing a volume test on the device to be tested 503. The control end device 501, the audio test device 502, and the device under test 503 may be connected in a wired or wireless manner. The volume testing device 502 may specifically be a sound level meter, and the device under test 503 may specifically be a smartphone or a tablet computer. The control end device 501 and the volume test device 502 may be connected by a serial port line or a bluetooth, and the control end device 501 and the device to be tested 503 may be connected by a USB connection line or a bluetooth.
It should be noted that the volume testing system may be configured for the multi-volume testing apparatus 502 and/or the multi-device under test 503, and specifically, when performing control, a testing priority or an order may be set, and testing may be performed sequentially or simultaneously.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (9)

1. A method for testing volume, the method comprising the steps of:
establishing a first communication connection with the tested equipment and a second communication connection with the volume testing equipment;
according to preset configuration information, based on first test information interacted between the first communication connection and the tested equipment, and based on second test information interacted between the second communication connection and the volume test equipment, triggering the tested equipment and the volume test equipment to execute corresponding volume test actions, wherein the configuration information comprises related information of a volume test file, the related information comprises volume test file identification information, duration information, type information and playing sequence information, and the related information is stored in a relation table;
after the first communication connection and the second communication connection are established and before the first test information and the second test information are interacted, the method further comprises the following steps:
based on the initialization information exchanged between the first communication connection and the tested device, triggering the tested device to set the device playing volume at the initial level specified by the initialization information and enter a mute working state;
based on the interactive debugging information between the second communication connection and the volume testing equipment, triggering the volume testing equipment to collect the real-time environment volume of the tested equipment in a mute working state;
obtaining a real-time environment volume acquisition result from the volume test equipment;
judging whether the volume test environment is qualified or not according to the comparison result of the acquired real-time environment volume acquisition result and the preset environment volume nominal value,
and if the first test information and the second test information are qualified, interacting the first test information and the second test information.
2. The method of claim 1, wherein the configuration information comprises: volume test file playing timing information and volume collection timing information, the volume collection timing information being related to the volume test file playing timing information,
interacting the first test information, specifically comprising the following steps:
sending a first test instruction for triggering the tested device to play the volume test file according to the volume test file playing time sequence information to the tested device,
interacting the second test information, specifically comprising the following steps:
sending a second test instruction for triggering the volume test equipment to carry out playing volume acquisition according to the volume acquisition time sequence information to the volume test equipment;
and receiving a playing volume acquisition result from the volume test equipment.
3. The method of claim 1, wherein obtaining a real-time ambient volume acquisition result comprises the steps of:
obtaining a number of real-time ambient volume acquisitions at different points in time within a predetermined duration from the volume testing device,
the method further comprises the following steps:
determining whether a number of the real-time ambient volume acquisition results remain at substantially the same level,
and if so, inputting the playing volume acquisition result and each real-time environment volume acquisition result into a data processing model for denoising to obtain a final volume test result of the tested equipment.
4. A control end device comprising a memory and a processor, wherein the processor implements the steps of the method according to any one of claims 1 to 3 when executing the computer program stored in the memory.
5. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3.
6. A volume testing system, comprising: the control-side device of claim 4 and the volume testing device.
7. The system of claim 6, wherein the control end device is connected with the volume testing device and the device to be tested in a wired or wireless mode.
8. The system of claim 6, wherein the volume testing device is a sound level meter and the device under test is a smartphone or tablet.
9. The system of claim 7, wherein the control end device is connected with the volume testing device through a serial port line or a Bluetooth, and the control end device is connected with the device to be tested through a USB (universal serial bus) connecting line or a Bluetooth.
CN201811049368.1A 2018-09-10 2018-09-10 Volume test method, control end device, storage medium and volume test system Active CN109362015B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811049368.1A CN109362015B (en) 2018-09-10 2018-09-10 Volume test method, control end device, storage medium and volume test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811049368.1A CN109362015B (en) 2018-09-10 2018-09-10 Volume test method, control end device, storage medium and volume test system

Publications (2)

Publication Number Publication Date
CN109362015A CN109362015A (en) 2019-02-19
CN109362015B true CN109362015B (en) 2021-06-22

Family

ID=65350766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811049368.1A Active CN109362015B (en) 2018-09-10 2018-09-10 Volume test method, control end device, storage medium and volume test system

Country Status (1)

Country Link
CN (1) CN109362015B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113543006B (en) * 2021-06-30 2024-01-12 深圳市豪恩声学股份有限公司 Earphone testing method and device, electronic equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267646A (en) * 2008-04-25 2008-09-17 深圳华为通信技术有限公司 Method, device and system for a measuring terminal device to prompt volume
CN201984810U (en) * 2011-03-08 2011-09-21 公安部第一研究所 Testing equipment for objectively evaluating speech quality of pickup system
CN107403627A (en) * 2017-08-16 2017-11-28 歌尔科技有限公司 Sound source calibration system and method
CN107870851A (en) * 2017-11-29 2018-04-03 广州品唯软件有限公司 Application performance test method, apparatus, computer-readable recording medium and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7564979B2 (en) * 2005-01-08 2009-07-21 Robert Swartz Listener specific audio reproduction system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267646A (en) * 2008-04-25 2008-09-17 深圳华为通信技术有限公司 Method, device and system for a measuring terminal device to prompt volume
CN201984810U (en) * 2011-03-08 2011-09-21 公安部第一研究所 Testing equipment for objectively evaluating speech quality of pickup system
CN107403627A (en) * 2017-08-16 2017-11-28 歌尔科技有限公司 Sound source calibration system and method
CN107870851A (en) * 2017-11-29 2018-04-03 广州品唯软件有限公司 Application performance test method, apparatus, computer-readable recording medium and system

Also Published As

Publication number Publication date
CN109362015A (en) 2019-02-19

Similar Documents

Publication Publication Date Title
CN104679631B (en) Method of testing and system for the equipment based on android system
CN104281520B (en) Tracking and method, the apparatus and system of debugging
CN110032507B (en) Application program testing method, device and system, electronic equipment and storage medium
CN104461903B (en) The method and apparatus of test client based on browser
CN105099811A (en) Interface testing method and device
CN107562637B (en) Method, device, system and storage medium for software testing
CN105338110A (en) Remote debugging method, platform and server
CN110493812B (en) Distribution network test processing method, device and system, processor and master control equipment
WO2014079267A1 (en) Automatic test method, device and system for infrared remote control device
CN113672441B (en) Method and device for testing intelligent equipment
CN110837474A (en) Script recording method, device, terminal and storage medium
WO2007061241A1 (en) Error test method for mobile communication terminals
CN109362015B (en) Volume test method, control end device, storage medium and volume test system
CN108282542A (en) Remote operation method and device for test equipment
KR20150025106A (en) Verification apparatus, terminal device, system, method and computer-readable medium for monitoring of application verification result
CN112882953A (en) Automatic demonstration method and system for application program based on android debugging bridge
KR101472012B1 (en) Network simulator based on software
KR100585577B1 (en) Test method for mobile communication terminals based on auto-making of test scenario file
CN111949538A (en) Data analysis method, equipment and system
US20130021911A1 (en) Wireless synchronization testing
CN107144751B (en) Multi-channel vector network parameter analysis system and method
CN104008043A (en) Method for testing across terminals and to-be-tested terminals and testing terminal
CN113691799A (en) Live stream interaction control method and corresponding device, equipment and medium
US10165313B1 (en) Testing set top appliance boxes
CN109995607B (en) Method for testing flow overhead, terminal, server and computer storage medium

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
GR01 Patent grant
GR01 Patent grant