CN103929544B - A kind of method and system realizing pc end and mobile terminal automatic recording - Google Patents

A kind of method and system realizing pc end and mobile terminal automatic recording Download PDF

Info

Publication number
CN103929544B
CN103929544B CN201410182273.2A CN201410182273A CN103929544B CN 103929544 B CN103929544 B CN 103929544B CN 201410182273 A CN201410182273 A CN 201410182273A CN 103929544 B CN103929544 B CN 103929544B
Authority
CN
China
Prior art keywords
mobile terminal
audio file
instruction
interactive module
sign
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.)
Expired - Fee Related
Application number
CN201410182273.2A
Other languages
Chinese (zh)
Other versions
CN103929544A (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 Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410182273.2A priority Critical patent/CN103929544B/en
Publication of CN103929544A publication Critical patent/CN103929544A/en
Application granted granted Critical
Publication of CN103929544B publication Critical patent/CN103929544B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of method and system realizing pc end and mobile terminal automatic recording, by method and system of the present invention, pc end can realize automatic displaying audio file and start and terminate to send corresponding state to mobile terminal at each audio file, mobile terminal can be monitored and receive pc and hold the recording request sended over, realize automatic recording, automatically terminate and automatically preserve, it is simple to operate, convenient and practical, the audio file made is conducive to be recorded on mobile terminal by the mode of above-mentioned automatic recording, and then detect for more accurate phonetic recognization rate, and the time of phonetic recognization rate detection can be saved and raise the efficiency.In addition, there are the application such as voice assistant in each mobile terminal manufacturer, and the present invention has the powerful market vitality.

Description

A kind of method and system realizing pc end and mobile terminal automatic recording
Technical field
The present invention relates to moving communicating field, more particularly, relate to a kind of method and system realizing pc end and mobile terminal automatic recording.
Background technology
Along with the development of mobile communication technology, mobile terminal (as mobile phone) has become people and to have lived an indispensable part, and along with the continuous lifting of mobile terminal performance, the software and hardware test of mobile terminal is more and more tending towards specialized and automation.
Wherein, speech recognition is the function that each cell phone manufacturer all can be built-in, in tested speech discrimination, the common method of current employing faces toward mobile phone excuse language for artificial and manually go pc to hold displaying audio file, cause complex operation like this, inefficiency, adds the time that phonetic recognization rate detects.
Summary of the invention
The object of the invention is to overcome above-mentioned defect of the prior art, provide a kind of and realize pc end and the method and system of mobile terminal automatic recording, which save the time of phonetic recognization rate detection and improve efficiency.
For achieving the above object, technical scheme provided by the invention is as follows: a kind of method realizing pc end and mobile terminal automatic recording, comprises the following steps:
S1, set up pc end with mobile terminal between connection;
S2, when pc end prepare displaying audio file time, then send sign on to mobile terminal, after mobile terminal resolves the sign on received, transmitter ready instruction is held to pc;
After S3, pc end resolves the ready instruction received, displaying audio file, and again send sign on to mobile terminal, after mobile terminal resolves the sign on received, start recording;
S4, when an audio file finishes playing, pc end sends END instruction to mobile terminal, after mobile terminal resolves the END instruction received, and the recording file of preservation generation and initialization application data, and transmitter ready instruction is held to pc again;
S5, pc end judges that whether in addition current next audio file needs to play, if having, then returns and performs step S2, if do not have, then provide prompting.
As preferably, in step s 2, while pc end sends sign on to mobile terminal, also send the name data of audio file to mobile terminal, after mobile terminal resolves the name data of the audio file received, obtain audio file name.
As preferably, described pc end is that adb is connected with the connected mode between mobile terminal.
As preferably, described pc end sends instruction and data to mobile terminal by the forms of broadcasting.
Present invention also offers a kind of system realizing pc end and mobile terminal automatic recording, described pc end is connected with communication of mobile terminal, and described pc end comprises:
Pc interactive module, for when pc end prepares displaying audio file, then sends sign on to mobile terminal; Sign on is again sent to mobile terminal while displaying audio file; When an audio file finishes playing, then send END instruction to mobile terminal; And, receive and resolve the ready instruction that mobile terminal sends over;
Playing module, for resolve the ready instruction that receives first in pc interactive module after, displaying audio file;
Judge module, for again resolve the ready instruction that receives in pc interactive module after, judges currently whether also have next audio file to need to play, if have, then make pc interactive module when pc end prepares displaying audio file, send sign on to mobile terminal, if no, then provide prompting.
Described mobile terminal comprises:
Monitor interactive module, for receiving and resolve the sign on and END instruction that pc interactive module sends over, and after resolving the sign on received first, transmitter ready instruction is held to pc; And transmitter ready instruction is held to pc again after initialization application data;
Recording module, for after monitoring interactive module resolves the sign on received again, records;
Module is preserved in recording, for after monitoring interactive module resolves the END instruction received, preserves the recording file generated, and initialization application data.
As preferably, described pc interactive module also for when pc end prepares displaying audio file, also sends the name data of audio file to mobile terminal; Described monitoring interactive module also for receiving and resolve the name data of the audio file that pc interactive module sends over, and after the name data of resolving the audio file received, obtains audio file name.
As preferably, described pc end is that adb is connected with the connected mode between mobile terminal.
As preferably, described pc interactive module sends instruction and data to monitoring interactive module by the forms of broadcasting.
As preferably, described mobile terminal comprises mobile phone or panel computer.
Compared with prior art, beneficial effect of the present invention is:
By method and system of the present invention, pc end can realize automatic displaying audio file and start and terminate to send corresponding state to mobile terminal at each audio file, mobile terminal can be monitored and receive pc and hold the recording request sended over, realize automatic recording, automatically terminate and automatically preserve, it is simple to operate, convenient and practical, the audio file made is conducive to be recorded on mobile terminal by the mode of above-mentioned automatic recording, and then detect for more accurate phonetic recognization rate, and the time of phonetic recognization rate detection can be saved and raise the efficiency.In addition, there are the application such as voice assistant in each mobile terminal manufacturer, and the present invention has the powerful market vitality.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram realizing pc end and mobile terminal automatic recording that the embodiment of the present invention one provides;
Fig. 2 is the structured flowchart realizing the system of pc end and mobile terminal automatic recording that the embodiment of the present invention two provides.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment one
Embodiments of the invention one provide a kind of method realizing pc end and mobile terminal automatic recording, concrete, mobile terminal is provided with recording application, after this recording application is opened, constantly run to monitor after pc holds the instruction that sends and receive the instruction of pc end on backstage, call a series of method to realize automatic recording and to preserve.Pc end is provided with audio frequency and plays application, and this audio frequency is play application and can be realized automatic displaying audio file and start and terminate to send corresponding state to mobile terminal at each audio file.Below in conjunction with accompanying drawing, the present embodiment is described in detail.Fig. 1 is the method flow diagram of the embodiment of the present invention one, please refer to Fig. 1, and the method for the embodiment of the present invention comprises the following steps:
Step S1, set up pc end with mobile terminal between connection;
In this enforcement, pc end is that adb is connected with the connected mode between mobile terminal.Wherein, the full name of adb is AndroidDebugBridge, and namely Android debugs bridge, and it mainly plays the effect of debugging bridge.Therefore, it is exactly connect the bridge that mobile terminal that android system is housed hold with pc that adb connects, and utilizes adb connection that user can be allowed comprehensively to operate mobile terminal on pc holds.Certainly, also can adopt other connected modes, non-enforcement is limited.
Step S2, when pc end prepare displaying audio file time, then send sign on to mobile terminal, after mobile terminal resolves the sign on received, transmitter ready instruction is held to pc;
Concrete, pc end sends instruction and data to mobile terminal by the forms of broadcasting.Can prepare to play when pc end starts after audio frequency plays application the audio file be stored in pc end.
In preferably implementing one, the name data of audio file is also sent to mobile terminal while pc end sends sign on to mobile terminal, after mobile terminal resolves the name data of the audio file received, obtain audio file name, it is conducive to the recording operation of mobile terminal to audio file.
After step S3, pc end resolves the ready instruction received, displaying audio file, and again send sign on to mobile terminal, after mobile terminal resolves the sign on received, start recording;
Step S4, when an audio file finishes playing, pc end sends END instruction to mobile terminal, after mobile terminal resolves the END instruction received, and the recording file of preservation generation and initialization application data, and transmitter ready instruction is held to pc again;
Step S5, pc end judges that whether in addition current next audio file needs to play, if having, then returns and performs step S2, if do not have, then provide prompting.
Embodiment two
Embodiments of the invention two provide a kind of system realizing pc end and mobile terminal automatic recording, please refer to Fig. 2, connect between pc end 1 and mobile terminal 2, and its connected mode is that adb connects.
In this enforcement, pc end 1 comprises Pc interactive module 11, playing module 12 and judge module 13, wherein, pc interactive module 11, playing module 12 and judge module 13 can be arranged on an audio frequency and play in application, and this audio frequency is play application and can be realized automatic displaying audio file and start and terminate to send corresponding state to mobile terminal 2 at each audio file.Below in conjunction with accompanying drawing, each module is described in detail.
Pc interactive module 11 for when pc end 1 prepares displaying audio file, then sends sign on to mobile terminal 2; Sign on is again sent to mobile terminal 2 while displaying audio file; When an audio file finishes playing, then send END instruction to mobile terminal 2; And, receive and resolve the ready instruction that mobile terminal 2 sends over.
Playing module 12 for after resolve the ready instruction that receives first in pc interactive module 11, displaying audio file.
Judge module 13 is for after again resolving the ready instruction that receives in pc interactive module 11, judge that whether in addition current next audio file needs to play, if have, then make pc interactive module 11 when pc end 1 prepares displaying audio file, send sign on to mobile terminal 2, if no, then provide prompting.
In this enforcement, mobile terminal 2 comprises monitors interactive module 21, recording module 22 and recording preservation module 23.Wherein, monitoring interactive module 21, recording module 22 and recording preservation module 23 can be arranged in a recording application, after this recording application is opened, constantly run after the instruction of monitoring the pc instruction that sends of end 1 and receiving pc end 1, to call a series of method to realize automatic recording and to preserve on backstage.Below in conjunction with accompanying drawing, each module is described in detail.
Monitor interactive module 21, for receiving and resolve the sign on and END instruction that pc interactive module 11 sends over, and after resolving the sign on received first, transmitter ready instruction holds 1 to pc; And transmitter ready instruction holds 1 to pc again after initialization application data;
Recording module 22, for after monitoring interactive module 21 resolves the sign on received again, records;
Module 23 is preserved in recording, for after monitoring interactive module 21 resolves the END instruction received, preserves the recording file generated, and initialization application data.
Concrete, described pc interactive module 11 sends instruction and data to monitoring interactive module 21 by the forms of broadcasting.
In preferably implementing one, pc interactive module 11 also for when pc end 1 prepares displaying audio file, also sends the name data of audio file to mobile terminal 2; Described monitoring interactive module 21 also for receiving and resolve the name data of the audio file that pc interactive module 11 sends over, and after the name data of resolving the audio file received, obtains audio file name.
It should be noted that, a kind of system realizing pc end and mobile terminal automatic recording that above-described embodiment provides, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by system is divided into different functional modules, to complete all or part of function described above.In addition, mobile terminal can be mobile phone, panel computer or other mobile terminal devices.
One of ordinary skill in the art will appreciate that all or part of step realized in above-described embodiment method is that the hardware that can carry out instruction relevant by program has come, described program can be stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk, CD etc.
In sum, pc end can realize automatic displaying audio file and start and terminate to send corresponding state to mobile terminal at each audio file, mobile terminal can be monitored and receive pc and hold the recording request sended over, realize automatic recording, automatically terminate and automatically preserve, it is simple to operate, convenient and practical, the audio file made is conducive to be recorded on mobile terminal by the mode of above-mentioned automatic recording, and then detect for more accurate phonetic recognization rate, and the time of phonetic recognization rate detection can be saved and raise the efficiency.In addition, there are the application such as voice assistant in each mobile terminal manufacturer, and the present invention has the powerful market vitality.
Above-described embodiment is the present invention's preferably execution mode; but embodiments of the present invention are not restricted to the described embodiments; change, the modification done under other any does not deviate from Spirit Essence of the present invention and principle, substitute, combine, simplify; all should be the substitute mode of equivalence, be included within protection scope of the present invention.

Claims (9)

1. realize a method for pc end and mobile terminal automatic recording, it is characterized in that, the method comprises the following steps:
S1, set up pc end with mobile terminal between connection;
S2, when pc end prepare displaying audio file time, then send sign on to mobile terminal, after mobile terminal resolves the sign on received, transmitter ready instruction is held to pc;
After S3, pc end resolves the ready instruction received, displaying audio file, and again send sign on to mobile terminal, after mobile terminal resolves the sign on received, start recording;
S4, when an audio file finishes playing, pc end sends END instruction to mobile terminal, after mobile terminal resolves the END instruction received, and the recording file of preservation generation and initialization application data, and transmitter ready instruction is held to pc again;
S5, pc end judges that whether in addition current next audio file needs to play, if having, then returns and performs step S2, if do not have, then provide prompting.
2. the method realizing pc end and mobile terminal automatic recording according to claim 1, it is characterized in that, in step s 2, the name data of audio file is also sent to mobile terminal while pc end sends sign on to mobile terminal, after mobile terminal resolves the name data of the audio file received, obtain audio file name.
3. the method realizing pc end and mobile terminal automatic recording according to claim 1, is characterized in that, described pc end is that adb is connected with the connected mode between mobile terminal.
4. the method realizing pc end and mobile terminal automatic recording according to claim 2, is characterized in that, described pc end sends instruction and data to mobile terminal by the forms of broadcasting.
5. realize pc end and a system for mobile terminal automatic recording, it is characterized in that, described pc end is connected with communication of mobile terminal, and described pc end comprises:
Pc interactive module, for when pc end prepares displaying audio file, then sends sign on to mobile terminal; Sign on is again sent to mobile terminal while displaying audio file; When an audio file finishes playing, then send END instruction to mobile terminal; And, receive and resolve the ready instruction that mobile terminal sends over;
Playing module, for resolve the ready instruction that receives first in pc interactive module after, displaying audio file;
Judge module, for again resolve the ready instruction that receives in pc interactive module after, judges currently whether also have next audio file to need to play, if have, then make pc interactive module when pc end prepares displaying audio file, send sign on to mobile terminal, if no, then provide prompting;
Described mobile terminal comprises:
Monitor interactive module, for receiving and resolve the sign on and END instruction that pc interactive module sends over, and after resolving the sign on received first, transmitter ready instruction is held to pc; And transmitter ready instruction is held to pc again after initialization application data;
Recording module, for after monitoring interactive module resolves the sign on received again, records;
Module is preserved in recording, for after monitoring interactive module resolves the END instruction received, preserves the recording file generated, and initialization application data.
6. the system realizing pc end and mobile terminal automatic recording according to claim 5, is characterized in that, described pc interactive module also for when pc end prepares displaying audio file, also sends the name data of audio file to mobile terminal;
Described monitoring interactive module also for receiving and resolve the name data of the audio file that pc interactive module sends over, and after the name data of resolving the audio file received, obtains audio file name.
7. the system realizing pc end and mobile terminal automatic recording according to claim 5, is characterized in that, described pc end is that adb is connected with the connected mode between mobile terminal.
8. the system realizing pc end and mobile terminal automatic recording according to claim 6, is characterized in that, described pc interactive module sends instruction and data to monitoring interactive module by the forms of broadcasting.
9. the system realizing pc end and mobile terminal automatic recording according to claim 5, it is characterized in that, described mobile terminal comprises mobile phone or panel computer.
CN201410182273.2A 2014-04-30 2014-04-30 A kind of method and system realizing pc end and mobile terminal automatic recording Expired - Fee Related CN103929544B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410182273.2A CN103929544B (en) 2014-04-30 2014-04-30 A kind of method and system realizing pc end and mobile terminal automatic recording

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410182273.2A CN103929544B (en) 2014-04-30 2014-04-30 A kind of method and system realizing pc end and mobile terminal automatic recording

Publications (2)

Publication Number Publication Date
CN103929544A CN103929544A (en) 2014-07-16
CN103929544B true CN103929544B (en) 2016-02-10

Family

ID=51147615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410182273.2A Expired - Fee Related CN103929544B (en) 2014-04-30 2014-04-30 A kind of method and system realizing pc end and mobile terminal automatic recording

Country Status (1)

Country Link
CN (1) CN103929544B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109195090B (en) * 2018-09-05 2021-01-22 苏州思必驰信息科技有限公司 Method and system for testing electroacoustic parameters of microphone in product
CN109195089B (en) * 2018-09-05 2021-02-12 苏州思必驰信息科技有限公司 Method and system for testing electroacoustic parameters of loudspeaker in product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778361A (en) * 2009-02-12 2010-07-14 浙江金之路信息科技有限公司 FPGA (Field Programmable Gata Array)-based module for sending PCM (Pulse Code Modulation) voice data stream as well as system and method for real-time exchange
CN102063908A (en) * 2010-10-15 2011-05-18 上海华勤通讯技术有限公司 Audio data transmission method between PC and mobile phone
CN102938811A (en) * 2012-10-15 2013-02-20 华南理工大学 Household mobile phone communication system based on voice recognition
CN103607492A (en) * 2013-08-26 2014-02-26 上海斐讯数据通信技术有限公司 Test system and test method for functions of mobile phone mainboard

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778361A (en) * 2009-02-12 2010-07-14 浙江金之路信息科技有限公司 FPGA (Field Programmable Gata Array)-based module for sending PCM (Pulse Code Modulation) voice data stream as well as system and method for real-time exchange
CN102063908A (en) * 2010-10-15 2011-05-18 上海华勤通讯技术有限公司 Audio data transmission method between PC and mobile phone
CN102938811A (en) * 2012-10-15 2013-02-20 华南理工大学 Household mobile phone communication system based on voice recognition
CN103607492A (en) * 2013-08-26 2014-02-26 上海斐讯数据通信技术有限公司 Test system and test method for functions of mobile phone mainboard

Also Published As

Publication number Publication date
CN103929544A (en) 2014-07-16

Similar Documents

Publication Publication Date Title
CN107516510B (en) Automatic voice testing method and device for intelligent equipment
CN108564966B (en) Voice test method and device with storage function
CN103019913B (en) A kind of mobile terminal and hardware anomalies reminding method, system
CN104538042A (en) Intelligent voice test system and method for terminal
CN105487966A (en) Program testing method, device and system
CN104267924A (en) Mobile terminal and audio processing method thereof
CN105975063B (en) A kind of method and apparatus controlling intelligent terminal
CN104008047A (en) Intelligent terminal program testing method and system
CN104853081A (en) Breakpoint filming method, device and mobile terminal
CN105259459A (en) Automatic quality inspection method, apparatus and device for electronic equipment
CN112416775B (en) Software automatic test method and device based on artificial intelligence and electronic equipment
CN103049192A (en) Method and device for opening application programs
CN105260080A (en) Method and device for realizing voice control operation on display screen of mobile terminal
CN103929544B (en) A kind of method and system realizing pc end and mobile terminal automatic recording
CN109510636A (en) Receive test method, device, medium and the equipment of FM signal function
CN108738059B (en) WIFI module testing method and device
CN106708688B (en) Module test method and terminal
CN111432060B (en) Method and device for testing mobile phone audio module and storage medium
CN102638756A (en) Mobile terminal voice frequency test method, test device and mobile terminal
CN204440902U (en) Terminal intelligent tone testing system
CN103454579B (en) A kind of method of testing of chip digital interface and system
CN105357353B (en) Noise-reduction method and device
CN108538313B (en) Voice quality testing method and device, calling terminal and corpus playing device
CN103383658B (en) Remember the method and server of mobile terminal operation
CN104200826A (en) Audio signal playing method for mobile terminal and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160210

CF01 Termination of patent right due to non-payment of annual fee