CN115835271A - Method and apparatus for audio testing - Google Patents
Method and apparatus for audio testing Download PDFInfo
- Publication number
- CN115835271A CN115835271A CN202211361405.9A CN202211361405A CN115835271A CN 115835271 A CN115835271 A CN 115835271A CN 202211361405 A CN202211361405 A CN 202211361405A CN 115835271 A CN115835271 A CN 115835271A
- Authority
- CN
- China
- Prior art keywords
- test
- audio
- audio test
- thread
- function
- 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
Links
Images
Landscapes
- Telephone Function (AREA)
Abstract
The application aims to provide a method and equipment for audio testing. Compared with the prior art, this application is through receiving the audio test request that produces line tool end and send, and be based on audio test request opens audio test thread, in order to pass through audio test thread carries out audio test function, then will audio test function's test result send to produce line tool end has reduced through this kind of mode and has produced line test time, has improved production efficiency.
Description
Technical Field
The application relates to the field of intelligent terminal testing, in particular to a technology for audio testing.
Background
Before production and delivery, intelligent terminals, such as smart phones, involve testing various functions, and can be packaged and delivered after the testing is successful. The function testing time of the production line is directly related to the production efficiency and labor cost of the product. The SmartPA test and calibration mainly comprise mobile phone audio test, audio parameter calibration and other tests, and the SmartPA test and calibration consumes more time compared with other test items. In a traditional mobile phone production test, a SmartPA test and calibration are generally used as a single item to be tested, so that each mobile phone consumes a certain test time before leaving a factory.
Disclosure of Invention
The application aims to provide a method and equipment for audio testing, so that the production line testing time is reduced, and the production efficiency is improved.
According to one aspect of the application, a method for audio testing at a smart terminal is provided, wherein the method comprises:
receiving an audio test request sent by a production line tool end;
starting an audio test thread based on the audio test request so as to execute an audio test function through the audio test thread;
and sending the test result of the audio test function to the production line tool end.
Optionally, after receiving the audio test request sent by the production line tool end, the method further includes:
determining a function interface for executing a charging test;
wherein the starting of an audio test thread based on the audio test request to execute an audio test function by the audio test thread comprises:
and starting an audio test thread at an entrance of a charging test function based on the audio test request so as to execute the audio test function through the audio test thread.
Optionally, the determining a function interface for performing the charging test includes:
and matching based on the attribute information of the intelligent terminal to determine a function interface for executing the charging test.
According to another aspect of the present application, there is also provided a method for audio testing at a production line tool end, wherein the method comprises:
sending an audio test request to the intelligent terminal;
and receiving a test result returned by the intelligent terminal based on the test request, wherein the test result is determined based on that the intelligent terminal starts an audio test thread and executes an audio test function through the audio test thread.
Optionally, wherein the method further comprises:
and counting all the test results to present the counted test results.
According to yet another aspect of the present application, there is also provided a computer readable medium having computer readable instructions stored thereon, the computer readable instructions being executable by a processor to implement the operations of the method as described above.
Compared with the prior art, this application is through receiving the audio test request that produces line tool end and send, and be based on audio test request opens the audio test thread, in order to pass through audio test thread execution audio test function, then will the test result of audio test function send to produce line tool end has reduced through this kind of mode and has produced line test time, has improved production efficiency.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments thereof, made with reference to the following drawings:
FIG. 1 illustrates a flow diagram of a method for audio testing according to one aspect of the subject application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present invention is described in further detail below with reference to the attached drawing figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
To further illustrate the technical means and effects adopted by the present application, the following description is given for clarity and complete description of the technical solutions of the present application with reference to the accompanying drawings and preferred embodiments.
FIG. 1 illustrates a flow chart of a method for audio testing provided in one aspect of the present application. The method of the embodiment can be realized by the mutual cooperation of the intelligent terminal 1 and the tool end 2 of the production line. The method comprises the following steps:
s11, the production line tool end 2 sends an audio test request to the intelligent terminal 1, and correspondingly, the intelligent terminal 1 receives the audio test request sent by the production line tool end 2;
s12, the intelligent terminal 1 starts an audio test thread based on the audio test request so as to execute an audio test function through the audio test thread;
s13, the intelligent terminal 1 sends the test result of the audio test function to the production line tool end 2, and correspondingly, the production line tool end 2 receives the test result returned by the intelligent terminal based on the test request.
In this embodiment, the smart terminal includes a device produced on a production line, for example, including but not limited to any mobile electronic product capable of human-computer interaction with a user, such as a smart phone, a tablet computer, and the like; the production line tool end comprises equipment capable of carrying out production line test, for example, the equipment comprises but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud formed by a plurality of servers; here, the Cloud is formed by a large number of computers or network servers based on Cloud Computing (Cloud Computing), where Cloud Computing is one of distributed Computing, and a virtual supercomputer is formed by a group of loosely coupled computers, or the tool end of the production line includes a software tool and the like loaded on a test device of the production line, and herein, without being limited in particular, the intelligent terminal and the tool end of the production line can be connected through a network.
In the step S11, the production line tool end 2 sends an audio test request to the intelligent terminal 1, and accordingly, the intelligent terminal 1 receives the audio test request sent by the production line tool end 2, where the production line tool end 2 does not directly perform audio test, but sends an audio test request to the terminal device 1 to request the intelligent terminal 1 to perform audio test. Specifically, produce line tool end 2 and can carry out usb serial communication with intelligent terminal 1 and be connected, intelligent terminal 1 receives the serial port command of producing line tool end 2, just can carry out corresponding operation.
Continuing in this embodiment, in step S12, the intelligent terminal 1 starts an audio test thread based on the audio test request, so as to execute an audio test function through the audio test thread. Specifically, after receiving the request, the intelligent terminal 1 starts an audio test thread and executes an audio test function.
In this embodiment, in step S13, the intelligent terminal 1 sends the test result of the audio test function to the production line tool end 2, and accordingly, the production line tool end 2 receives the test result returned by the intelligent terminal 1 based on the test request.
Preferably, wherein the method further comprises: s14 (not shown) counts all the test results to present the counted test results. In this embodiment, the production line tool end 2 may collect and present the test results of all the tested intelligent terminals, so that the user can visually obtain the test results.
Preferably, after the step S11, the method further comprises: s15 (not shown) determines a function interface to perform the charging test; wherein the step S12 includes: and starting an audio test thread at an inlet of a charging test function based on the audio test request so as to execute the audio test function through the audio test thread. In this embodiment, by starting the audio test thread at the entrance of the charging test function based on the audio test request, the parallel execution with the charging test can be realized in this way, and the execution efficiency is improved. Specifically, since the audio test item is a time-consuming test function, it needs to be executed in an independent thread; at the entry to the charging test function, a new thread is created, dedicated to executing the audio test item.
Preferably, wherein the step S15 includes: and matching based on the attribute information of the intelligent terminal to determine a function interface for executing the charging test. Here, the attribute information is used to distinguish different intelligent terminals, for example, since the names of the function interfaces defined by different mobile phone brands may be different, the function interfaces may be matched according to different mobile phone brands to determine the function interface of the charging test.
Compared with the prior art, this application receives the audio test request that produces line tool end and send, and is based on audio test request opens audio test thread, in order to pass through audio test thread carries out audio test function, then will audio test function's test result send to produce line tool end has reduced through this kind of mode and has produced line test time, has improved production efficiency.
Furthermore, the embodiment of the present application also provides a computer readable medium, on which computer readable instructions are stored, and the computer readable instructions can be executed by a processor to implement the foregoing method.
The embodiment of the present application further provides an intelligent terminal for audio testing, wherein, the intelligent terminal includes:
one or more processors; and
a memory having computer readable instructions stored thereon that, when executed, cause the processor to perform the operations of the foregoing method.
For example, the computer readable instructions, when executed, cause the one or more processors to: receiving an audio test request sent by a production line tool end; starting an audio test thread based on the audio test request so as to execute an audio test function through the audio test thread; and sending the test result of the audio test function to the production line tool end.
In addition, this application embodiment still provides a produce line tool end for audio test, wherein, this equipment includes:
one or more processors; and
a memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the foregoing method.
For example, the computer readable instructions, when executed, cause the one or more processors to: sending an audio test request to the intelligent terminal;
and receiving a test result returned by the intelligent terminal based on the test request, wherein the test result is determined based on that the intelligent terminal starts an audio test thread and executes an audio test function through the audio test thread.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not to denote any particular order.
Claims (8)
1. A method for audio testing at a smart terminal, wherein the method comprises:
receiving an audio test request sent by a production line tool end;
starting an audio test thread based on the audio test request so as to execute an audio test function through the audio test thread;
and sending the test result of the audio test function to the production line tool end.
2. The method of claim 1, wherein after the step AA, the method further comprises:
determining a function interface for executing a charging test;
wherein the starting of an audio test thread based on the audio test request to execute an audio test function by the audio test thread comprises:
and starting an audio test thread at an inlet of a charging test function based on the audio test request so as to execute the audio test function through the audio test thread.
3. The method of claim 2, wherein the determining a functional interface to perform a charging test comprises:
and matching based on the attribute information of the intelligent terminal to determine a function interface for executing the charging test.
4. A method for audio testing at a line tool end, wherein the method comprises:
sending an audio test request to the intelligent terminal;
and receiving a test result returned by the intelligent terminal based on the test request, wherein the test result is determined based on that the intelligent terminal starts an audio test thread and executes an audio test function through the audio test thread.
5. The method of claim 4, wherein the method further comprises:
and counting all the test results to present the counted test results.
6. A computer readable medium having computer readable instructions stored thereon which are executable by a processor to implement the method of any one of claims 1 to 5.
7. A smart terminal for audio testing, wherein the smart terminal comprises:
one or more processors; and
a memory storing computer readable instructions that, when executed, cause the processor to perform the operations of the method of any of claims 1 to 3.
8. A production line tool end for audio testing, wherein the production line tool end comprises:
one or more processors; and
a memory having computer readable instructions stored thereon that, when executed, cause the processor to perform the operations of the method of any of claims 4 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211361405.9A CN115835271A (en) | 2022-11-02 | 2022-11-02 | Method and apparatus for audio testing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211361405.9A CN115835271A (en) | 2022-11-02 | 2022-11-02 | Method and apparatus for audio testing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115835271A true CN115835271A (en) | 2023-03-21 |
Family
ID=85526225
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211361405.9A Pending CN115835271A (en) | 2022-11-02 | 2022-11-02 | Method and apparatus for audio testing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115835271A (en) |
-
2022
- 2022-11-02 CN CN202211361405.9A patent/CN115835271A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019227641A1 (en) | Application testing method, apparatus, terminal device and medium | |
CN112948234B (en) | Interface test method and device and electronic equipment | |
CN110515795A (en) | A kind of monitoring method of big data component, device, electronic equipment | |
CN110795464B (en) | Method, device, terminal and storage medium for checking field of object marker data | |
CN115827436A (en) | Data processing method, device, equipment and storage medium | |
CN111314535A (en) | Method and equipment for recording quality inspection process of mobile phone | |
CN110580212B (en) | Data export method and device of application program, electronic equipment and storage medium | |
CN110704686B (en) | Quality detection method and device for semi-structured data, storage medium and equipment | |
CN112000589A (en) | Data writing method, data reading device and electronic equipment | |
CN115835271A (en) | Method and apparatus for audio testing | |
WO2022188417A1 (en) | Data processing method and apparatus, device, and storage medium | |
CN112988604B (en) | Object testing method, testing system, electronic device and readable storage medium | |
CN112379967B (en) | Simulator detection method, device, equipment and medium | |
CN111651177B (en) | Number writing method, device and computer readable medium based on android platform | |
CN111880078A (en) | Method and equipment for automated instruction testing | |
CN114356870A (en) | Cross-device data sharing method and related devices | |
CN113760696A (en) | Program problem positioning method and device, electronic equipment and storage medium | |
CN111796731A (en) | Method and equipment for automatically arranging icons | |
CN110677919B (en) | Method and equipment for sharing and determining income based on wireless access point | |
CN113434508B (en) | Method and apparatus for storing information | |
CN117130946A (en) | Test scene generation method and device, electronic equipment and readable storage medium | |
CN116643920A (en) | Product backup strategy determining method and device, storage medium and electronic equipment | |
CN116483793A (en) | Log tracking method, device, electronic equipment and computer readable storage medium | |
CN116627778A (en) | Service system performance monitoring method and device, computer equipment and storage medium | |
CN115269347A (en) | Storage performance testing method, device, medium and electronic equipment |
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 |