CN106504777B - A kind of processing method and mobile terminal of recording data - Google Patents

A kind of processing method and mobile terminal of recording data Download PDF

Info

Publication number
CN106504777B
CN106504777B CN201611055573.XA CN201611055573A CN106504777B CN 106504777 B CN106504777 B CN 106504777B CN 201611055573 A CN201611055573 A CN 201611055573A CN 106504777 B CN106504777 B CN 106504777B
Authority
CN
China
Prior art keywords
application program
audio data
recording
sound collection
collection equipment
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
CN201611055573.XA
Other languages
Chinese (zh)
Other versions
CN106504777A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201611055573.XA priority Critical patent/CN106504777B/en
Publication of CN106504777A publication Critical patent/CN106504777A/en
Application granted granted Critical
Publication of CN106504777B publication Critical patent/CN106504777B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/10537Audio or video recording
    • G11B2020/10546Audio or video recording specifically adapted for audio data

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment provides a kind of processing method of recording data and mobile terminals, wherein this method comprises: responding the record command of the first application program in sound collection equipment, during carrying out audio data collecting, monitor whether that the second application program sends record command;When having monitored that the second application program sends record command, according to sound collection equipment audio data collected, it obtains and meets the first recording data that the recording reception of the first application program requires, and meet the second recording data for receiving and requiring of recording of the second application program;First recording data is sent to the first application program, and the second recording data is sent to the second application program.The embodiment of the present invention can make mobile terminal support multiple application programs while record, and promote user experience.

Description

A kind of processing method and mobile terminal of recording data
Technical field
The present invention relates to electronic technology field, in particular to the processing method and mobile terminal of a kind of recording data.
Background technique
General mobile terminal all supports the function of sound recording at present, but operating system universal at present all only supports one Application program carries out sound recording, and when wanting recording if any other applications, then the recording before needing to cut off just can be carried out Recording is brought many constant to user.
In conclusion mobile terminal can not be supported multiple applications by the support for the audio system for being placed in operating system at present Program is recorded simultaneously, influences user experience.
Summary of the invention
The processing method and mobile terminal for being designed to provide a kind of recording data of the embodiment of the present invention, it is intended to solve to move The problem of dynamic terminal can not support multiple application programs while record, influence user experience.
In order to achieve the above object, the embodiment provides a kind of processing methods of recording data, comprising:
The record command of the first application program is responded in sound collection equipment, during carrying out audio data collecting, monitoring Whether there is the second application program to send record command;
When having monitored that the second application program sends record command, according to sound collection equipment audio number collected According to the recording that acquisition meets the first application program receives the first desired recording data, and meets the record of the second application program Sound receives the second desired recording data;
First recording data is sent to the first application program, and the second recording data is sent to second using journey Sequence.
The embodiments of the present invention also provide a kind of mobile terminals, comprising:
Monitoring modular carries out audio data and adopts for responding the record command of the first application program in sound collection equipment During collection, monitor whether that the second application program sends record command, and record when having monitored that the second application program is sent When instruction, triggering first obtains module;
First obtains module, for the triggering according to monitoring modular, according to sound collection equipment audio data collected, It obtains and meets the recording of the first application program and receive the first desired recording data, and meet the recording of the second application program and connect Receive the second desired recording data;
Sending module for the first recording data to be sent to the first application program, and the second recording data is sent To the second application program.
Above scheme of the invention is include at least the following beneficial effects:
In an embodiment of the present invention, it by responding the record command of the first application program in sound collection equipment, carries out It during audio data collecting, has monitored whether that the second application program sends record command, and has worked as and monitored that second applies journey When sequence sends record command, according to sound collection equipment audio data collected, the recording for meeting the first application program is obtained The first desired recording data is received, and meets the second recording data that the recording reception of the second application program requires, and will First recording data is sent to the first application program, and the second recording data is sent to the second application program, solves shifting The problem of dynamic terminal can not support multiple application programs while record, influence user experience, having reached enables mobile terminal to support Multiple application programs are recorded simultaneously, promote the effect of user experience.
Detailed description of the invention
Fig. 1 is the flow chart of the processing method of recording data in first embodiment of the invention;
Fig. 2 is the flow chart of the processing method of recording data in second embodiment of the invention;
Fig. 3 is one of the structural schematic diagram of mobile terminal in third embodiment of the invention;
Fig. 4 is the second structural representation of mobile terminal in third embodiment of the invention;
Fig. 5 is the structural schematic diagram of mobile terminal in fourth embodiment of the invention;
Fig. 6 is the structural schematic diagram of mobile terminal in fifth embodiment of the invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
First embodiment
As shown in Figure 1, the first embodiment of the present invention provides a kind of processing method of recording data, this method comprises:
Step 101, the record command that the first application program is responded in sound collection equipment, carries out the phase of audio data collecting Between, monitor whether that the second application program sends record command.
Wherein, above sound acquisition equipment can be the microphone of mobile terminal, and the mobile terminal can be intelligent hand The equipment such as machine, tablet computer.In addition, above-mentioned first application program and the second application program can be any two in mobile terminal The application program for having sound-recording function.
Step 102, collected according to sound collection equipment when having monitored that the second application program sends record command Audio data obtains and meets the first recording data that the recording reception of the first application program requires, and meets second using journey The recording of sequence receives the second desired recording data.
Wherein, the record command of above-mentioned first application program and the record command of the second application program include being used to indicate The first instruction that recording starts, and it is used to indicate the second instruction of End of Tape, therefore the recording of above-mentioned first application program Instruction and the record command of the second application program can indicate the respective recording beginning and ending time.And since sound collection equipment is adopted Format, sample rate and the sound channel of the audio data of collection all may be fixed, while the first application program applies journey with second The recording beginning and ending time of sequence may also be different, therefore to meet the recording of the first application program and the second application program requirement, need The first recording data and the second recording data are obtained according to sound collection equipment audio data collected.
And in the first embodiment of the present invention, the specific implementation of above-mentioned steps 102 can be with are as follows: in audio data Interception meets the audio data of the recording beginning and ending time of the record command of the first application program, obtains the first recording data;And Interception meets the audio data of the recording beginning and ending time of the record command of the second application program in audio data, obtains the second record Sound data.
In addition, if not monitored, the second application program sends record command, it is determined that only has first to answer in mobile terminal Sound recording is carried out with program, and so that the first application program is completed sound in such a way that current application program carries out sound recording Recording.
Step 103, the first recording data is sent to the first application program, and the second recording data is sent to second Application program.
Wherein, in the first embodiment of the present invention, if when the recording start-stop of the first application program and the second application program Between it is different, then send the time of the first recording data to the first application program, send the second recording number with to the second application program According to time it is also different, so that it is guaranteed that meeting the recording requirement of the first application program and the second application program.
As it can be seen that in the first embodiment of the present invention, by the recording for responding the first application program in sound collection equipment Instruction during carrying out audio data collecting, has monitored whether that the second application program sends record command, and when having monitored the When two application programs send record command, according to sound collection equipment audio data collected, acquisition meets first using journey The recording of sequence receives the first desired recording data, and meets the second recording number that the recording reception of the second application program requires According to, and the first recording data is sent to the first application program, and the second recording data is sent to the second application program, it solves The problem of mobile terminal of having determined can not support multiple application programs while record, influence user experience, having reached makes mobile terminal Multiple application programs can be supported to record simultaneously, promote the effect of user experience.
Second embodiment
As shown in Fig. 2, the second embodiment of the present invention provides a kind of processing method of recording data, this method comprises:
Step 201, the record command that the first application program is responded in sound collection equipment, carries out the phase of audio data collecting Between, monitor whether that the second application program sends record command.
Wherein, above sound acquisition equipment can be the microphone of mobile terminal, and the mobile terminal can be intelligent hand The equipment such as machine, tablet computer.In addition, above-mentioned first application program and the second application program can be any two in mobile terminal The application program for having sound-recording function.
Step 202, when having monitored that the second application program sends record command, obtain what the first application program was supported The second audio data format that first audio data format and the second application program are supported.
Wherein, the record command of above-mentioned first application program and the record command of the second application program include being used to indicate The first instruction that recording starts, and it is used to indicate the second instruction of End of Tape, therefore the recording of above-mentioned first application program Instruction and the record command of the second application program can indicate the respective recording beginning and ending time.
And in the second embodiment of the present invention, due to the format of sound collection equipment audio data collected, sampling Rate and sound channel all may be it is fixed, cause the format of sound collection equipment audio data collected not necessarily to meet first The second audio data format that the first audio data format and the second application program that application program is supported are supported, because This is the recording requirement for meeting the first application program and the second application program, needs to obtain the first audio data format and second Audio data format.
Step 203, the first record is obtained according to the first audio data format and sound collection equipment audio data collected Sound data, while the second recording number is obtained according to second audio data format and sound collection equipment audio data collected According to.
Wherein, it in the second embodiment of the present invention, is acquired according to the first audio data format with sound collection equipment Audio data obtain the first recording data specific implementation are as follows: if the lattice of sound collection equipment audio data collected Formula and the first audio data format be not identical, then according to the first audio data format, to sound collection equipment audio collected Data carry out conversion process, obtain the first recording data;Alternatively, if the format of sound collection equipment audio data collected with First audio data format is identical, then using sound collection equipment audio data collected as the first recording data, thus really Protect the recording requirement that the first recording data got meets the first application program.
Similarly, the second recording number is obtained according to second audio data format and sound collection equipment audio data collected According to specific implementation are as follows: if the format of sound collection equipment audio data collected and second audio data format not phase Together, then according to second audio data format, conversion process is carried out to sound collection equipment audio data collected, obtains second Recording data;Alternatively, if the format of sound collection equipment audio data collected is identical as second audio data format, it will Sound collection equipment audio data collected is as the second recording data, so that it is guaranteed that the second recording data got meets The recording requirement of second application program.
It should be noted that in the second embodiment of the present invention, to further ensure that the first application program is answered with second It should also be tied with the recording requirement of program when obtaining the first recording data according to sound collection equipment audio data collected Close the recording beginning and ending time of the first application program, it is ensured that the beginning and ending time of the first recording data got and the first application program The recording beginning and ending time it is identical;Similarly, when obtaining the second recording data according to sound collection equipment audio data collected, It also should be in conjunction with the recording beginning and ending time of the second application program, it is ensured that the beginning and ending time of the second recording data got answers with second It is identical with the recording beginning and ending time of program.
Step 204, the first recording data is sent to the first application program, and the second recording data is sent to second Application program.
Wherein, in the second embodiment of the present invention, the specific implementations of above-mentioned steps 204 can be with are as follows: answers first When being reached with the first End of Tape time of the record command of program, the first recording data is sent to the first application program;With And in the second End of Tape time arrival of the record command of the second application program, the second recording data is sent to second and is answered With program, so that it is guaranteed that the recording requirement of the first application program and the second application program.
Wherein, in the second embodiment of the present invention, after having executed above-mentioned steps 201, the above method further include: When having monitored that the second application program sends record command, when obtaining the first End of Tape of the record command of the first application program Between and the second application program record command the second End of Tape time, and by the first End of Tape time and second recording tie The time finally reached in the beam time is determined as the end time that sound collection equipment carries out audio data collecting, so that After the first End of Tape time and the second End of Tape time all reach, sound collection equipment can be closed in time.
As an example, in the second embodiment of the present invention, the executing subject of the above method can be mobile terminal In one recording process, when receiving the record command of the first application program, driving sound collection equipment carry out audio number It according to acquisition, and has monitored whether that the second application program sends record command, has referred to when having monitored that the second application program sends to record When enabling, connection is established with the second application program, and according to the audio data read from sound collection equipment, obtain above-mentioned first Recording data and the second recording data, and the first recording data is sent to the first application program, and by the second recording data It is sent to the second application program.Wherein, when above-mentioned recording process finds the End of Tape time arrival of any application program, just It will disconnect the connection with the application program, and when all reaching the End of Tape time of all application programs, close above sound Acquire equipment.
In the second embodiment of the present invention, by responding the record command of the first application program in sound collection equipment, During carrying out audio data collecting, monitor whether that the second application program sends record command, and work as and monitored that second answers When sending record command with program, the first audio data format and second that the first application program of acquisition is supported is using journey The second audio data format that sequence is supported, and then according to the first audio data format, second audio data format and sound Equipment audio data collected is acquired, obtains and meets the first recording data that the recording reception of the first application program requires, with And meet the second recording data that the recording reception of the second application program requires, and the first recording data is sent to the first application Program, and the second recording data is sent to the second application program, multiple application programs can not be supported by solving mobile terminal The problem of recording simultaneously, influencing user experience, having reached enables mobile terminal to support multiple application programs while recording, and is promoted and is used The effect of family experience.
3rd embodiment
As shown in Fig. 3~Fig. 4, the third embodiment of the present invention provides a kind of mobile terminal, the mobile terminal 300 packet Include: monitoring modular 301, first obtains module 302 and sending module 303, and first obtains module 302 and monitoring modular 301 And sending module 303 connects.
Wherein, monitoring modular 301 carry out sound for responding the record command of the first application program in sound collection equipment During frequency is according to acquisition, monitor whether that the second application program sends record command, and work as and monitored the second application program When sending record command, triggering first obtains module 302;
Wherein, above sound acquisition equipment can be the microphone in mobile terminal 300, and the mobile terminal 300 can be with For equipment such as smart phone, tablet computers.
First obtains module 302, for the triggering according to monitoring modular 301, according to sound collection equipment sound collected Frequency evidence obtains and meets the first recording data that the recording reception of the first application program requires, and meets the second application program Recording receive require the second recording data;
Sending module 303 for the first recording data to be sent to the first application program, and the second recording data is sent out It send to the second application program.
Optionally, above-mentioned mobile terminal further includes the second acquisition module 304 and determining module 305 interconnected.
Wherein, second module 304 is obtained, for obtaining the when having monitored that the second application program sends record command Second End of Tape of the record command of the first End of Tape time and the second application program of the record command of one application program Time;
Determining module 305, the time for will finally be reached in the first End of Tape time and the second End of Tape time, It is determined as the end time that sound collection equipment carries out audio data collecting.
Optionally, above-mentioned first acquisition module 302 includes: the first acquisition submodule 3021 and the second acquisition submodule 3022。
Wherein, the first acquisition submodule 3021 refers to for the recording that interception meets the first application program in audio data The audio data of the recording beginning and ending time of order, obtains the first recording data;
Second acquisition submodule 3022, for intercepting the record for meeting the record command of the second application program in audio data The audio data of sound beginning and ending time obtains the second recording data.
Optionally, above-mentioned first acquisition module 302 includes that third acquisition submodule 3023 and the 4th interconnected obtains Submodule 3024.
Wherein, third acquisition submodule 3023, the first audio data format supported for obtaining the first application program, And the second second audio data format supported of application program;
4th acquisition submodule 3024, for according to the first audio data format and sound collection equipment audio collected The first recording data of data acquisition, while being obtained according to second audio data format and sound collection equipment audio data collected Take the second recording data.
Optionally, above-mentioned 4th acquisition submodule 3024 includes: first acquisition unit 30241 or second acquisition unit 30242。
Wherein, first acquisition unit 30241, if the format and first for sound collection equipment audio data collected Audio data format is not identical, then according to the first audio data format, carries out to sound collection equipment audio data collected Conversion process obtains the first recording data;
Second acquisition unit 30242, if format and the first audio for sound collection equipment audio data collected Data format is identical, then using sound collection equipment audio data collected as the first recording data.
Optionally, the 4th acquisition submodule 3024 includes: third acquiring unit 30243 or the 4th acquiring unit 30244.
Wherein, third acquiring unit 30243, if the format and second for sound collection equipment audio data collected Audio data format is not identical, then according to second audio data format, carries out to sound collection equipment audio data collected Conversion process obtains the second recording data;
4th acquiring unit 30244, if format and the second audio for sound collection equipment audio data collected Data format is identical, then using sound collection equipment audio data collected as the second recording data.
Optionally, above-mentioned sending module 303 includes: the first sending submodule 3031 and the second sending submodule 3032.
Wherein, the first sending submodule 3031, in the first End of Tape of the record command of the first application program Between when reaching, the first recording data is sent to the first application program;
Second sending submodule 3032, the second End of Tape time for the record command in the second application program reach When, the second recording data is sent to the second application program.
In the third embodiment of the present invention, mobile terminal passes through the record in sound collection equipment the first application program of response Sound instruction during carrying out audio data collecting, has monitored whether that the second application program sends record command, and work as and monitored When second application program sends record command, according to sound collection equipment audio data collected, acquisition meets the first application The recording of program receives the first desired recording data, and meets the second recording that the recording reception of the second application program requires Data, and the first recording data is sent to the first application program, and the second recording data is sent to the second application program, Solves the problem of mobile terminal can not support multiple application programs while record, influence user experience, having reached makes movement eventually End can support multiple application programs to record simultaneously, promote the effect of user experience.
It should be noted that the mobile terminal that third embodiment of the invention provides is the processing side using above-mentioned recording data The mobile terminal of method, i.e., all embodiments of the processing method of above-mentioned recording data are suitable for the mobile terminal, and can reach To the same or similar beneficial effect.
Fourth embodiment
As shown in figure 5, the fourth embodiment of the present invention provides a kind of mobile terminal, which includes: at least One processor 501, memory 502, at least one network interface 504 and other users interface 503.In mobile terminal 500 Various components are coupled by bus system 505.It is understood that bus system 505 is for realizing the company between these components Connect letter.Bus system 505 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.But It is that various buses are all designated as bus system 505 in Fig. 5 for the sake of clear explanation.
Wherein, user interface 503 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synch link DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 502 of system and method described herein is intended to include but is not limited to these and arbitrarily its It is suitble to the memory of type.
In some embodiments, memory 502 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 5021 and application program 5022.
Wherein, operating system 5021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 5022 includes various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 5022.
In embodiments of the present invention, by the program or instruction of calling memory 502 to store, specifically, can be application The program or instruction stored in program 5022, processor 501 are used to respond the recording of the first application program in sound collection equipment Instruction during carrying out audio data collecting, has monitored whether that the second application program sends record command;When having monitored second When application program sends record command, according to sound collection equipment audio data collected, acquisition meets the first application program Recording receive require the first recording data, and meet the second application program recording receive require second recording number According to;First recording data is sent to the first application program, and the second recording data is sent to the second application program.
The method that the embodiments of the present invention disclose can be applied in processor 501, or be realized by processor 501. Processor 501 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processing Device 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at The step of memory 502, processor 501 reads the information in memory 502, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or It is realized outside processor.
Optionally, reason device 501 is also used to: when having monitored that the second application program sends record command, being obtained first and is answered With the second End of Tape time of the record command of the first End of Tape time and the second application program of the record command of program; The time that will finally reach in first End of Tape time and the second End of Tape time is determined as sound collection equipment and carries out sound Frequency according to acquisition end time.
Optionally, processor 501 is also used to: interception meets the record of the record command of the first application program in audio data The audio data of sound beginning and ending time obtains the first recording data;Interception meets the recording of the second application program in audio data The audio data of the recording beginning and ending time of instruction, obtains the second recording data.
Optionally, processor 501 is also used to: the first audio data format that the first application program is supported is obtained, and The second audio data format that second application program is supported;It is acquired according to the first audio data format with sound collection equipment Audio data obtain the first recording data, while according to second audio data format and sound collection equipment audio collected The second recording data of data acquisition.
Optionally, processor 501 is also used to: if the format and the first audio of sound collection equipment audio data collected Data format is not identical, then according to the first audio data format, converts to sound collection equipment audio data collected Processing obtains the first recording data;Alternatively, if the format and the first audio data of sound collection equipment audio data collected Format is identical, then using sound collection equipment audio data collected as the first recording data.
Optionally, processor 501 is also used to: if the format and the second audio of sound collection equipment audio data collected Data format is not identical, then according to second audio data format, converts to sound collection equipment audio data collected Processing obtains the second recording data;Alternatively, if the format and second audio data of sound collection equipment audio data collected Format is identical, then using sound collection equipment audio data collected as the second recording data.
Optionally, processor 501 is also used to: being reached in the first End of Tape time of the record command of the first application program When, the first recording data is sent to the first application program;In the second End of Tape of the record command of the second application program Between when reaching, the second recording data is sent to the second application program.
Mobile terminal 500 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.
In the fourth embodiment of the present invention, mobile terminal passes through the record in sound collection equipment the first application program of response Sound instruction during carrying out audio data collecting, has monitored whether that the second application program sends record command, and work as and monitored When second application program sends record command, according to sound collection equipment audio data collected, acquisition meets the first application The recording of program receives the first desired recording data, and meets the second recording that the recording reception of the second application program requires Data, and the first recording data is sent to the first application program, and the second recording data is sent to the second application program, Solves the problem of mobile terminal can not support multiple application programs while record, influence user experience, having reached makes movement eventually End can support multiple application programs to record simultaneously, promote the effect of user experience.
5th embodiment
As shown in fig. 6, the fifth embodiment of the present invention provides a kind of mobile terminal, which can be hand Machine, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal 600 in Fig. 6 includes radio frequency (Radio Frequency, RF) circuit 610, memory 620, input Unit 630, display unit 640, processor 660, voicefrequency circuit 670, WiFi (Wireless Fidelity) module 680 and electricity Source 690.
Wherein, input unit 630 can be used for receiving the number or character information of user's input, and generation and mobile terminal The related signal input of 600 user setting and function control.Specifically, in the embodiment of the present invention, which can To include touch panel 631.Touch panel 631, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses the operations of any suitable object or attachment on touch panel 631 such as finger, stylus), and according to preparatory The formula of setting drives corresponding attachment device.Optionally, touch panel 631 may include touch detecting apparatus and touch controller Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, The processor 660 is given again, and can be received order that processor 660 is sent and be executed.Furthermore, it is possible to using resistance-type, The multiple types such as condenser type, infrared ray and surface acoustic wave realize touch panel 631.In addition to touch panel 631, input unit 630 can also include other input equipments 632, other input equipments 632 can include but is not limited to physical keyboard, function key One of (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 640 can be used for showing information input by user or be supplied to the information and movement of user The various menu interfaces of terminal 600.Display unit 640 may include display panel 641, optionally, can use LCD or organic hair The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 641.
It should be noted that touch panel 631 can cover display panel 641, touch display screen is formed, when the touch display screen is examined After measuring touch operation on it or nearby, processor 660 is sent to determine the type of touch event, is followed by subsequent processing device 660 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example, Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 660 is the control centre of mobile terminal 600, utilizes various interfaces and connection whole mobile phone Various pieces, by running or executing the software program and/or module that are stored in first memory 621, and calling storage Data in second memory 622 execute the various functions and processing data of mobile terminal 600, thus to mobile terminal 600 Carry out integral monitoring.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/ Or the data in the second memory 622, the recording that processor 660 is used to respond the first application program in sound collection equipment refer to It enables, during carrying out audio data collecting, has monitored whether that the second application program sends record command;When having monitored that second answers When sending record command with program, according to sound collection equipment audio data collected, acquisition meets the first application program Recording receives the first desired recording data, and meets the second recording data that the recording reception of the second application program requires; First recording data is sent to the first application program, and the second recording data is sent to the second application program.
Optionally, processor 660 is also used to: when having monitored that the second application program sends record command, obtaining first When the second End of Tape of the record command of the first End of Tape time and the second application program of the record command of application program Between;The time that will finally be reached in first End of Tape time and the second End of Tape time, be determined as sound collection equipment into The end time of row audio data collecting.
Optionally, processor 660 is also used to: interception meets the record of the record command of the first application program in audio data The audio data of sound beginning and ending time obtains the first recording data;Interception meets the recording of the second application program in audio data The audio data of the recording beginning and ending time of instruction, obtains the second recording data.
Optionally, processor 660 is also used to: the first audio data format that the first application program is supported is obtained, and The second audio data format that second application program is supported;It is acquired according to the first audio data format with sound collection equipment Audio data obtain the first recording data, while according to second audio data format and sound collection equipment audio collected The second recording data of data acquisition.
Optionally, processor 660 is also used to: if the format and the first audio of sound collection equipment audio data collected Data format is not identical, then according to the first audio data format, converts to sound collection equipment audio data collected Processing obtains the first recording data;Alternatively, if the format and the first audio data of sound collection equipment audio data collected Format is identical, then using sound collection equipment audio data collected as the first recording data.
Optionally, processor 660 is also used to: if the format and the second audio of sound collection equipment audio data collected Data format is not identical, then according to second audio data format, converts to sound collection equipment audio data collected Processing obtains the second recording data;Alternatively, if the format and second audio data of sound collection equipment audio data collected Format is identical, then using sound collection equipment audio data collected as the second recording data.
Optionally, processor 660 is also used to: being reached in the first End of Tape time of the record command of the first application program When, the first recording data is sent to the first application program;In the second End of Tape of the record command of the second application program Between when reaching, the second recording data is sent to the second application program.
As it can be seen that mobile terminal is by applying journey in sound collection equipment response first in the fifth embodiment of the present invention The record command of sequence during carrying out audio data collecting, has monitored whether that the second application program sends record command, and when prison When having measured the second application program and sending record command, according to sound collection equipment audio data collected, acquisition meets the The recording of one application program receives the first desired recording data, and meets the recording of the second application program and receive the required Two recording datas, and the first recording data is sent to the first application program, and the second recording data is sent to second and is answered With program, solves the problem of mobile terminal can not support multiple application programs while record, influence user experience, having reached makes Mobile terminal can support multiple application programs while record, and promote the effect of user experience.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (14)

1. a kind of processing method of recording data characterized by comprising
The record command of the first application program is responded in sound collection equipment, during carrying out audio data collecting, is monitored whether There is the second application program to send record command;
When having monitored that the second application program sends record command, according to sound collection equipment audio number collected According to the recording that acquisition meets the first application program receives the first desired recording data, and meets the record of the second application program Sound receives the second desired recording data;
First recording data is sent to first application program, and second recording data is sent to described Second application program;
Wherein, the record command of first application program and the record command of second application program include being used to indicate The first instruction that recording starts, and it is used to indicate the second instruction of End of Tape.
2. the method according to claim 1, wherein the method also includes:
When having monitored that the second application program sends record command, the first of the record command of first application program is obtained The second End of Tape time of the record command of End of Tape time and second application program;
The time that will finally reach in the first End of Tape time and the second End of Tape time, it is determined as the sound Sound acquires the end time that equipment carries out audio data collecting.
3. the method according to claim 1, wherein described according to sound collection equipment audio collected Data obtain and meet the first recording data that the recording reception of the first application program requires, and meet the second application program Recording receives the step of the second desired recording data, comprising:
Interception meets the audio number of the recording beginning and ending time of the record command of first application program in the audio data According to acquisition first recording data;
Interception meets the audio number of the recording beginning and ending time of the record command of second application program in the audio data According to acquisition second recording data.
4. the method according to claim 1, wherein described according to sound collection equipment audio collected Data obtain and meet the first recording data that the recording reception of the first application program requires, and meet the second application program Recording receives the step of the second desired recording data, comprising:
It obtains the first audio data format that first application program is supported and second application program is supported Second audio data format;
First record is obtained according to the first audio data format and sound collection equipment audio data collected Sound data, while according to the second audio data format and sound collection equipment audio data acquisition collected Second recording data.
5. according to the method described in claim 4, it is characterized in that, described according to the first audio data format and the sound Sound acquires the step of equipment audio data collected obtains first recording data, comprising:
If the format and the first audio data format of the sound collection equipment audio data collected be not identical, root According to the first audio data format, conversion process is carried out to sound collection equipment audio data collected, obtains institute State the first recording data;Or
If the format of the sound collection equipment audio data collected is identical as the first audio data format, by institute Sound collection equipment audio data collected is stated as first recording data.
6. according to the method described in claim 4, it is characterized in that, described according to the second audio data format and the sound Sound acquires the step of equipment audio data collected obtains second recording data, comprising:
If the format and the second audio data format of the sound collection equipment audio data collected be not identical, root According to the second audio data format, conversion process is carried out to sound collection equipment audio data collected, obtains institute State the second recording data;Or
If the format of the sound collection equipment audio data collected is identical as the second audio data format, by institute Sound collection equipment audio data collected is stated as second recording data.
7. the method according to claim 1, wherein described be sent to described first for first recording data Application program, and the step of second recording data is sent to second application program, comprising:
When reaching the first End of Tape time of the record command of first application program, first recording data is sent out It send to first application program;
When reaching the second End of Tape time of the record command of second application program, second recording data is sent out It send to second application program.
8. a kind of mobile terminal characterized by comprising
Monitoring modular carries out audio data collecting for responding the record command of the first application program in sound collection equipment Period has monitored whether that the second application program sends record command, and has worked as and monitored that the second application program sends record command When, triggering first obtains module;
First obtains module, for the triggering according to the monitoring modular, according to sound collection equipment audio collected Data obtain and meet the first recording data that the recording reception of the first application program requires, and meet the second application program Recording receives the second desired recording data;
Sending module for first recording data to be sent to first application program, and described second is recorded Data are sent to second application program;
Wherein, the record command of first application program and the record command of second application program include being used to indicate The first instruction that recording starts, and it is used to indicate the second instruction of End of Tape.
9. mobile terminal according to claim 8, which is characterized in that the mobile terminal further include:
Second obtains module, applies journey for when having monitored that the second application program sends record command, obtaining described first The second End of Tape time of the record command of the first End of Tape time and second application program of the record command of sequence;
Determining module, for by finally reached in the first End of Tape time and the second End of Tape time when Between, it is determined as the end time that the sound collection equipment carries out audio data collecting.
10. mobile terminal according to claim 8, which is characterized in that described first, which obtains module, includes:
First acquisition submodule, for intercepting the record for meeting the record command of first application program in the audio data The audio data of sound beginning and ending time obtains first recording data;
Second acquisition submodule, for intercepting the record for meeting the record command of second application program in the audio data The audio data of sound beginning and ending time obtains second recording data.
11. mobile terminal according to claim 8, which is characterized in that described first, which obtains module, includes:
Third acquisition submodule, for obtaining the first audio data format that first application program is supported and described The second audio data format that second application program is supported;
4th acquisition submodule, for according to the first audio data format and sound collection equipment audio collected First recording data described in data acquisition, while being acquired according to the second audio data format with the sound collection equipment Audio data obtain second recording data.
12. mobile terminal according to claim 11, which is characterized in that the 4th acquisition submodule includes:
First acquisition unit, if format and the first audio number for sound collection equipment audio data collected It is not identical according to format, then according to the first audio data format, to sound collection equipment audio data collected into Row conversion process obtains first recording data;Or
Second acquisition unit, if format and the first audio number for sound collection equipment audio data collected It is identical according to format, then using sound collection equipment audio data collected as first recording data.
13. mobile terminal according to claim 11, which is characterized in that the 4th acquisition submodule includes:
Third acquiring unit, if format and the second audio number for sound collection equipment audio data collected It is not identical according to format, then according to the second audio data format, to sound collection equipment audio data collected into Row conversion process obtains second recording data;Or
4th acquiring unit, if format and the second audio number for sound collection equipment audio data collected It is identical according to format, then using sound collection equipment audio data collected as second recording data.
14. mobile terminal according to claim 8, which is characterized in that the sending module includes:
First sending submodule, when the first End of Tape time for the record command in first application program reaches, First recording data is sent to first application program;
Second sending submodule, when the second End of Tape time for the record command in second application program reaches, Second recording data is sent to second application program.
CN201611055573.XA 2016-11-25 2016-11-25 A kind of processing method and mobile terminal of recording data Active CN106504777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611055573.XA CN106504777B (en) 2016-11-25 2016-11-25 A kind of processing method and mobile terminal of recording data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611055573.XA CN106504777B (en) 2016-11-25 2016-11-25 A kind of processing method and mobile terminal of recording data

Publications (2)

Publication Number Publication Date
CN106504777A CN106504777A (en) 2017-03-15
CN106504777B true CN106504777B (en) 2019-05-17

Family

ID=58329000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611055573.XA Active CN106504777B (en) 2016-11-25 2016-11-25 A kind of processing method and mobile terminal of recording data

Country Status (1)

Country Link
CN (1) CN106504777B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108021675B (en) * 2017-12-07 2021-11-09 北京慧听科技有限公司 Automatic segmentation and alignment method for multi-equipment recording
CN109976696B (en) * 2017-12-28 2022-05-10 深圳市优必选科技有限公司 Method and device for acquiring audio data, equipment and computer-readable storage medium
CN109976697A (en) * 2017-12-28 2019-07-05 深圳市优必选科技有限公司 Obtain method and device, the equipment, computer readable storage medium of audio data
CN110704202B (en) * 2018-07-10 2022-08-05 深圳市优必选科技有限公司 Multimedia recording data sharing method and terminal equipment
CN110704201A (en) * 2018-07-10 2020-01-17 深圳市优必选科技有限公司 Multimedia data sharing method and terminal equipment
CN111209121B (en) * 2018-11-22 2023-05-23 深圳市优必选科技有限公司 Recording method of application program, terminal equipment and medium
CN109413215A (en) * 2018-12-24 2019-03-01 苏州思必驰信息科技有限公司 Method of data synchronization and system for sound pick-up outfit and user terminal
CN110113494B (en) * 2019-05-05 2021-01-29 Oppo广东移动通信有限公司 Recording method and related device
CN112071338A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 Recording control method and device and display equipment
CN111506439B (en) * 2020-04-08 2024-04-09 北京兰格云商科技有限公司 Data acquisition method and device, storage medium and mobile terminal
CN113870912A (en) * 2021-09-02 2021-12-31 中科创达软件股份有限公司 Recording method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002374487A (en) * 2001-06-14 2002-12-26 Victor Co Of Japan Ltd Recording method
CN101420543A (en) * 2008-12-05 2009-04-29 天津三星电子显示器有限公司 Method for voice controlling television and television therewith
CN101465900A (en) * 2007-12-21 2009-06-24 深圳市东进通讯技术股份有限公司 Telephone sound-recording system and implementing method thereof
CN201374053Y (en) * 2008-12-09 2009-12-30 北京歌尔泰克科技有限公司 Bidirectional sound separating and collecting device of computer
CN103248775A (en) * 2012-11-16 2013-08-14 佳都新太科技股份有限公司 Implementation scheme based on IP Internet doubling recording

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012209624A (en) * 2011-03-29 2012-10-25 Sony Corp Satellite broadcast receiver, satellite broadcast receiving method, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002374487A (en) * 2001-06-14 2002-12-26 Victor Co Of Japan Ltd Recording method
CN101465900A (en) * 2007-12-21 2009-06-24 深圳市东进通讯技术股份有限公司 Telephone sound-recording system and implementing method thereof
CN101420543A (en) * 2008-12-05 2009-04-29 天津三星电子显示器有限公司 Method for voice controlling television and television therewith
CN201374053Y (en) * 2008-12-09 2009-12-30 北京歌尔泰克科技有限公司 Bidirectional sound separating and collecting device of computer
CN103248775A (en) * 2012-11-16 2013-08-14 佳都新太科技股份有限公司 Implementation scheme based on IP Internet doubling recording

Also Published As

Publication number Publication date
CN106504777A (en) 2017-03-15

Similar Documents

Publication Publication Date Title
CN106504777B (en) A kind of processing method and mobile terminal of recording data
CN106843654B (en) A kind of method and mobile terminal of terminal multi-job operation
CN106844067B (en) A kind of processing method and mobile terminal of content
CN106570372B (en) A kind of the starting method and mobile terminal of application program
CN106780685B (en) A kind of generation method and terminal of dynamic picture
CN106293332B (en) A kind of processing method and mobile terminal of singlehanded positioning application
CN106528160B (en) A kind of application program image target adding method and terminal
CN106681711A (en) Method for content sharing under split screen mode and mobile terminal
CN103279269B (en) Data interactive method between a kind of application program and device, terminal device
CN106325753B (en) A kind of display methods and mobile terminal of payment interface
CN106055232B (en) A kind of processing method and mobile terminal of message
CN105208015A (en) Application multi-account login processing method and device and terminal device
CN106648857B (en) A kind of open method and mobile terminal of the OTG function of mobile terminal
CN106210231B (en) A kind of method and mobile terminal of information processing
CN106502697B (en) A kind of method for sorting and mobile terminal of desktop application icon
CN106959797B (en) A kind of setting method and mobile terminal notifying footmark
CN107819922B (en) A kind of relaying method of adjustment, wireless headset and the mobile terminal of wireless headset
CN105893130B (en) A kind of processing method and mobile terminal of application program for mobile terminal
CN107194907B (en) A kind of screenshot synthetic method and mobile terminal
CN106375576B (en) A kind of voice-frequency channel control method and mobile terminal
CN106776871A (en) The storage method and mobile terminal of a kind of multimedia file
CN106648242B (en) A kind of control method and mobile terminal of touch control operation
CN106027786B (en) A kind of lookup method and mobile terminal of record list
CN108268395A (en) A kind of method and mobile terminal of data communication
CN106528326B (en) A kind of switching method and mobile terminal of baseband chip software

Legal Events

Date Code Title Description
C06 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