CN105847575A - Device and method for calling recorder - Google Patents

Device and method for calling recorder Download PDF

Info

Publication number
CN105847575A
CN105847575A CN201610269891.XA CN201610269891A CN105847575A CN 105847575 A CN105847575 A CN 105847575A CN 201610269891 A CN201610269891 A CN 201610269891A CN 105847575 A CN105847575 A CN 105847575A
Authority
CN
China
Prior art keywords
recorder
recording
application
custom interface
recorded
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.)
Granted
Application number
CN201610269891.XA
Other languages
Chinese (zh)
Other versions
CN105847575B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610269891.XA priority Critical patent/CN105847575B/en
Publication of CN105847575A publication Critical patent/CN105847575A/en
Application granted granted Critical
Publication of CN105847575B publication Critical patent/CN105847575B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The present invention discloses a device and method for calling a recorder. The device comprises a customization interface module configured to display a customization interface corresponding to the application and being interactive with the recorder when the calling of the recorder is applied; a recording module configured to receive a recording instruction and send the recording instruction to the recorder through the customization interface, wherein the recorder responses to the recording instruction and starting to record; and a sending module configured to send the recording data obtained by the recorder to the application. According to the invention, the customization interface is configured to separate the direction relation between the recorder and other applications, so that the coupling between other applications and the recorder is reduced.

Description

Call the apparatus and method of recorder
Technical field
The present invention relates to technical field of mobile terminals, particularly relate to a kind of apparatus and method calling recorder.
Background technology
In the mobile Internet epoch, along with popularizing of intelligent terminal, the sound-recording function of terminal more comes More intelligent, other application are varied with the interactive mode of recorder, add when such as making small video Recording resource is added when adding recording file, transmission mail when recording, transmission note.
But, the application mutual with recorder, need to rely on the bag name of recorder, need transmission recording The information such as file duration, size, bit rate, the difference of interactive mode, cause intermodule maintenance cost Increase with complexity.Additionally, the method for calling of this coupling, it is impossible to call third party's recorder of installation Application.
Therefore, how to solve the situation that recorder couples with other module height, just become one to need solution Problem.
Summary of the invention
Present invention is primarily targeted at a kind of apparatus and method calling recorder of proposition, it is intended to reduce record The degree of coupling between sound machine and other application.
For achieving the above object, a kind of device calling recorder that the present invention provides, including: customization circle Face mould block, for when application call recorder, shows be used for and described recording corresponding with described application The Custom Interface that machine is mutual;Recording module, for receiving record command by described Custom Interface and sending To described recorder, described recorder responds described record command and starts recording;Sending module, is used for The information that the recording data obtained recorded by described recorder is sent to described application.
Alternatively, aforesaid device, also include: recorder control module, for when described recorder just When playing out, stop the ongoing broadcasting of described recorder;For entering when described recorder During row recording, stop and preserving the ongoing recording of described recorder;For not opening when described recorder Time dynamic, start described recorder.
Alternatively, aforesaid device, also include: select module, for being received by described Custom Interface Selection recording data instructs;Search module, one or more for search that described recorder recorded The information of recording data also returns to described application.
Alternatively, aforesaid device, described lookup module by advance for described application configuration be used for search The implicit expression code of recording data, searches one or more recording datas that described recorder has been recorded.
Alternatively, aforesaid device, described Custom Interface module preserves described user or cancels and preserves institute After stating recording data, exit described Custom Interface and enter the application interface of described application.
Alternatively, aforesaid device, also include: after described Custom Interface module exits described Custom Interface, Described recorder by as described in user start, then allow described user to enter application circle of described recorder Face.
For achieving the above object, present invention also offers a kind of method calling recorder, including: answering With when calling recorder, what display was corresponding with described application is used for the Custom Interface mutual with described recorder; Receiving record command by described Custom Interface and be sent to described recorder, the response of described recorder is described Record command also starts recording;The information that described recorder is recorded the recording data obtained is sent to described Application.
Alternatively, aforesaid method, record when described recorder is received described record command , also include: when described recorder plays out, stop described recorder ongoing before Play;When described recorder is recorded, stop and preserving the ongoing record of described recorder Sound;When described recorder is not actuated, start described recorder.
Alternatively, aforesaid method, also include: received by described Custom Interface and select recording data to refer to Order;Search the information of one or more recording datas that described recorder has been recorded and return to described answering With.
Alternatively, aforesaid method, search one or more recording datas that described recorder has been recorded Information and return to described application, specifically include: by advance for described application configuration be used for search record The implicit expression code of sound data, searches one or more recording datas that described recorder has been recorded.
Alternatively, aforesaid method, also include: preserve described user or cancel the described recording number of preservation According to rear, exit described Custom Interface and enter the application interface of described application.
Alternatively, aforesaid method, also include: after exiting described Custom Interface, such as described recorder Started by described user, then allow described user to enter the application interface of described recorder.
According to above technical scheme, recorder calling device that the present invention proposes and method at least have with Lower advantage:
According to technical scheme, when application call recorder, it is not necessary to be directly entered recorder Application interface, but entering recorder is the Custom Interface that application is arranged, application need not know recorder The information such as bag name, only need to be by Custom Interface transmission instruction, then this command adapted thereto is passed to by Custom Interface Recorder is also operated;According to technical scheme, Custom Interface separated recorder and other The directly contact of application, reduces other application and coupling between recorder.
Accompanying drawing explanation
Fig. 1 is one the optional hardware architecture diagram of mobile terminal realizing each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the block diagram of the device calling recorder according to one embodiment of the present of invention;
Fig. 4 is the block diagram of the device calling recorder according to one embodiment of the present of invention;
Fig. 5 is the schematic diagram of the device calling recorder according to one embodiment of the present of invention;
Fig. 6 is the block diagram of the device calling recorder according to one embodiment of the present of invention;
Fig. 7 A is the schematic diagram of the device calling recorder according to one embodiment of the present of invention;
Fig. 7 B is the schematic diagram of the device calling recorder according to one embodiment of the present of invention;
Fig. 8 is the flow chart of the method calling recorder according to one embodiment of the present of invention;
Fig. 9 is the flow chart of the method calling recorder according to one embodiment of the present of invention;
Figure 10 is the flow chart of the method calling recorder according to one embodiment of the present of invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, do referring to the drawings further Explanation.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit Determine the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description In, use the suffix being used for representing such as " module ", " parts " or " unit " of element only for having It is beneficial to the explanation of the present invention, itself does not has specific meaning.Therefore, " module " can mix with " parts " Close ground to use.
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include (individual digital helps for such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA Reason), PAD (panel computer), PMP (portable media player), the mobile end of guider etc. The fixed terminal of end and such as numeral TV, desk computer etc..Hereinafter it is assumed that terminal is mobile whole End.However, it will be understood by those skilled in the art that, in addition to being used in particular for the element of mobile purpose, Structure according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is one the optional hardware configuration signal of mobile terminal that can realize each embodiment of the present invention Figure.
Mobile terminal 100 can include wireless communication unit 110, A/V (audio/video) input block 120, User input unit 130, output unit 150, memorizer 160, interface unit 170, controller 180 and electricity Source unit 190 etc..Fig. 1 shows the mobile terminal with various assembly, it should be understood that also The most not realistic execute all assemblies illustrated.Can alternatively implement more or less of assembly.Will be below Describe the element of mobile terminal in detail.
Wireless communication unit 110 generally includes one or more assembly, and it allows mobile terminal 100 with wireless Radio communication between communication system or network.Such as, wireless communication unit can include mobile communication In module 112, wireless Internet module 113, short range communication module 114 and positional information module 115 at least One.
Mobile communication module 112 send radio signals to base station (such as, access point, node B etc.), In exterior terminal and server at least one and/or receive from it radio signal.Such radio Signal can include voice call signal, video calling signal or according to text and/or Multimedia Message The various types of data sent and/or receive.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can internal or Externally it is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (nothing Line LAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (at a high speed Downlink packets accesses) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology Including bluetoothTM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybeeTM Etc..
Positional information module 115 is the module of positional information for checking or obtain mobile terminal.Position is believed The typical case of breath module is GPS (global positioning system).According to current technology, GPS module 115 calculates From the range information of three or more satellites and correct time information and for the Information application calculated Triangulation, thus according to longitude, latitude and highly accurately calculating three-dimensional current location information.When Before, use three satellites and by using other one for calculating the method for position and temporal information Satellite corrects the position and the error of temporal information calculated.Additionally, GPS module 115 can be by real time Ground Continuous plus current location information calculates velocity information.
A/V input block 120 is used for receiving audio or video signal.A/V input block 120 can include phase Machine 121 and mike 1220, camera 121 is caught by image in Video Capture pattern or image capture mode The view data of the static images or video that obtain device acquisition processes.Picture frame after process can show Show on display unit 151.Picture frame after camera 121 processes can be stored in memorizer 160 (or other Storage medium) in or be transmitted via wireless communication unit 110, can carry according to the structure of mobile terminal For two or more cameras 1210.Mike 122 can be known at telephone calling model, logging mode, voice Other pattern etc. operational mode receives sound (voice data) via mike, and can be by such sound Sound is processed as voice data.Audio frequency (voice) data after process can turn in the case of telephone calling model It is changed to be sent to the form output of mobile communication base station via mobile communication module 112.Mike 122 can Eliminate (or suppression) algorithm with the various types of noises of enforcement and in reception and send audio frequency letter to eliminate (or suppression) The noise produced during number or interference.
It is mobile to control that user input unit 130 can generate key input data according to the order of user's input The various operations of terminal.User input unit 130 allows user to input various types of information, and permissible Including keyboard, metal dome, touch pad (such as, detection due to touched and cause resistance, pressure, electricity The sensitive component of change held etc.), roller, rocking bar etc..Especially, when touch pad as a layer When being superimposed upon on display unit 151, touch screen can be formed.
Interface unit 170 is used as at least one external device (ED) and is connected connecing of can passing through with mobile terminal 100 Mouthful.Such as, external device (ED) can include wired or wireless head-band earphone port, external power source (or battery Charger) port, wired or wireless FPDP, memory card port, for connect there is identification module The port of device, audio frequency input/output (I/O) port, video i/o port, ear port etc..Identify mould Block can be that storage is for verifying that user uses the various information of mobile terminal 100 and can include user Identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc..It addition, The device (hereinafter referred to as " identifying device ") with identification module can be to take the form of smart card, therefore, knows Other device can be connected with mobile terminal 100 via port or other attachment means.Interface unit 170 is permissible For receiving from the input (such as, data message, electric power etc.) of external device (ED) and defeated by receive Enter to be transferred to the one or more elements in mobile terminal 100 or may be used in mobile terminal and outside Data are transmitted between device.
It addition, when mobile terminal 100 is connected with external base, interface unit 170 can serve as allowing to lead to Cross it provide the path of mobile terminal 100 by electric power from base or can serve as allowing to input from base Various command signals be transferred to the path of mobile terminal by it.Various command signals from base input Or electric power may serve as identifying whether mobile terminal is accurately fitted within the signal on base.Output is single Unit 150 be configured to vision, audio frequency and/or tactile manner provide output signal (such as, audio signal, Video signal, alarm signal, vibration signal etc.).
Output unit 150 can include display unit 151, dio Output Modules 152 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, mobile terminal is worked as 100 when being in telephone calling model, display unit 151 can show and call or other communicate (such as, civilian This information receiving and transmitting, multimedia file download etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151 Can show capture image and/or the image of reception, illustrate video or image and the UI of correlation function or GUI etc..
Meanwhile, when display unit 151 and touch pad the most superposed on one another to form touch screen time, aobvious Show that unit 151 can serve as input equipment and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexibility show Show at least one in device, three-dimensional (3D) display etc..Some in these display may be constructed such that Transparence is to allow user to watch from outside, and this is properly termed as transparent display, typical transparent display Can for example, TOLED (transparent organic light emitting diode) display etc..According to the specific enforcement wanted Mode, mobile terminal 100 can include two or more display units (or other display device), such as, Mobile terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can For detecting touch input pressure and touch input position and touch input area.
Dio Output Modules 152 can be in call signal at mobile terminal and receive pattern, call mode, note Time under the isotypes such as record pattern, speech recognition mode, broadcast reception mode, wireless communication unit 110 is connect Receive or in memorizer 160 storage voice data transducing audio signal and be output as sound.And And, the audio frequency that dio Output Modules 152 can provide relevant to the specific function of mobile terminal 100 execution is defeated Go out (such as, call signal receives sound, message sink sound etc.).Dio Output Modules 152 can wrap Include speaker, buzzer etc..
Memorizer 160 can store the process performed by controller 180 and control the software program etc. of operation Deng, or can temporarily store oneself through output maybe will export data (such as, telephone directory, message, Still image, video etc.).And, memorizer 160 can store about when touch is applied to touch screen The vibration of the various modes of output and the data of audio signal.
Memorizer 160 can include the storage medium of at least one type, described storage medium include flash memory, Hard disk, multimedia card, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device (RAM), static random-access memory (SRAM), read only memory (ROM), electrically erasable Read only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, light Dish etc..And, mobile terminal 100 can be connected the storage function performing memorizer 160 with by network Network storage device cooperation.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs and voice Control that call, data communication, video calling etc. are relevant and process.Controller 180 can perform pattern Identifying processing, with the handwriting input performed on the touchscreen or picture are drawn input be identified as character or Image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides behaviour Make the suitable electric power needed for each element and assembly.
Various embodiment described herein can be to use such as computer software, hardware or its any group The computer-readable medium closed is implemented.Implementing for hardware, embodiment described herein can pass through Use application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, control Device, microcontroller, microprocessor, it is designed to perform in the electronic unit of function described herein extremely Few one is implemented, and in some cases, such embodiment can be implemented in controller 180.Right Implementing in software, the embodiment of such as process or function can perform at least one function or behaviour with permission The single software module made is implemented.Software code can be by writing with any suitable programming language Software application (or program) is implemented, and software code can be stored in memorizer 160 and by controlling Device 180 performs.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will describe Various types of mobile terminals of such as folded form, board-type, oscillating-type, slide type mobile terminal etc. In slide type mobile terminal as example.Therefore, the present invention can be applied to any kind of mobile whole End, and it is not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 100 may be constructed such that and utilizes via frame or packet transmission data The most wired and wireless communication system and satellite-based communication system operate.
The communication system being wherein operable to according to the mobile terminal of the present invention is described referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.Such as, by communication system The air interface that system uses includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) move lead to UMTS (UMTS) (especially, Long Term Evolution (LTE)), the whole world Communication system (GSM) etc..As non-limiting example, explained below relates to cdma communication system, but It is that such teaching is equally applicable to other type of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to Interface is formed with Public Switched Telephony Network (PSTN) 290.MSC280 is also structured to and can be via returning Journey circuit is couple to the BSC275 of base station 270 and forms interface.If the interface that back haul link can be known according to Ganji In any one construct, described interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system as shown in Figure 2 can include multiple BSC2750.
Each BS270 can service one or more subregion (or region), by multidirectional antenna or sensing certain party To antenna cover each subregion radially away from BS270.Or, each subregion can be by for dividing Two or more antennas that collection receives cover.Each BS270 may be constructed such that support multiple frequencies distribution, And the distribution of each frequency has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as base station Transceiver subsystem (BTS) or other equivalent terms.In this case, term " base station " can be used In broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ". Or, each subregion of specific BS270 can be referred to as multiple cellular station.
As shown in Figure 2, broadcast singal is sent in system the shifting operated by broadcsting transmitter (BT) 295 Dynamic terminal 100.In fig. 2 it is shown that several global positioning systems (GPS) satellite 300.Satellite 300 helps Position at least one in multiple mobile terminal 100.
In fig. 2, depict multiple satellite 300, it is understood that be, it is possible to use any number of defend Star obtains useful location information.GPS module 115 is generally configured to and satellite 300 as shown in Figure 1 Coordinate the location information wanted with acquisition.Substitute GPS tracking technique or outside GPS tracking technique, can To use other technology of the position that can follow the tracks of mobile terminal.It addition, at least one gps satellite 300 can Optionally or additionally to process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives from various mobile terminals 100 Reverse link signal.Mobile terminal 100 generally participates in call, information receiving and transmitting communicates with other type of.Special The each reverse link signal determining base station 270 reception is processed in specific BS270.The data obtained It is forwarded to the BSC275 being correlated with.BSC provides call resource distribution and the soft handover included between BS270 The mobile management function of the coordination of process.The data received also are routed to MSC280 by BSC275, its Extra route service for forming interface with PSTN290 is provided.Similarly, PSTN290 with MSC280 forms interface, MSC Yu BSC275 forms interface, and BSC275 correspondingly controls BS270 Forward link signals to be sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, propose apparatus of the present invention and method each Embodiment.
As it is shown on figure 3, first embodiment of the invention proposes a kind of device calling recorder, including:
Custom Interface module 310, for when application call recorder, show with apply corresponding for The Custom Interface that recorder is mutual.In the present embodiment, different from prior art, other apply tune When using recorder, display is not the application interface of recorder, but customization circle corresponding with this application Face;In the present embodiment, to application type do not limit, its can be specifically camera, note, The programs such as mail.
Recording module 320, for receiving record command by Custom Interface and being sent to recorder, recorder Response record command also starts recording.In the present embodiment, applications requires no knowledge about the phase of recorder Pass information, then have only to send an instruction to Custom Interface, when the recorder in mobile terminal occurs During change, it is not necessary to revise the command information of other application, it is seen that the coupling between recorder and other application Conjunction reduces;Specifically, can arrange record button on Custom Interface, then user clicks on record button Recording can be started, and save button is set on Custom Interface, then after user clicks on save button i.e. The recording file of recording can be preserved, and the information (this information can use Uri) of recording file is fed back to Application.
Sending module 330, is sent to application for recorder is recorded the information of the recording data obtained.
According to the technical scheme of the present embodiment, when application call recorder, it is not necessary to be directly entered recorder Application interface, but enter recorder be application arrange Custom Interface, application need not know recorder The information such as bag name, only need to be by Custom Interface transmission instruction, then this command adapted thereto is transmitted by Custom Interface To recorder and be operated, Custom Interface has separated the direct contact of recorder and other application, reduces Other application and coupling between recorder.
As shown in Figure 4, second embodiment of the invention proposes a kind of device calling recorder, including:
Custom Interface module 410, for when application call recorder, show with apply corresponding for The Custom Interface that recorder is mutual.
Recording module 420, for receiving record command by Custom Interface and being sent to recorder, recorder Response record command also starts recording.
Sending module 430, is sent to application for recorder is recorded the information of the recording data obtained.
Select module 440, select recording data to instruct for being received by Custom Interface.
Search module 450, for searching the information of one or more recording datas that recorder has been recorded also Return to application.
Specifically, module 450 is searched by advance for the implicit expression generation for searching recording data of application configuration Code, searches one or more recording datas that recorder has been recorded.In the present embodiment, with Android As a example by the mobile terminal of platform, in the activity that configuration file manifest.xml is Custom Interface of recorder (activity) add:
Which kind of recorder no matter currently used in mobile terminal is, as long as on adding in its configuration file State implicit expression code, then this recorder can be called to obtain its recording data recorded, it is seen that recording The coupling that machine is applied with other is substantially reduced.
Such as, apply as camera, then camera needs to select to record recording file during making short-sighted frequency Time, eject the option of " selection music ", under this option, have " my file " and " professional recording machine " Etc. optional, based on above-mentioned intent-filter implicit expression code, choosing " professional recording machine " jumps to recorder The interface customized for it, choose record file as " music file " return, or click on record button open Begin new recording.Similarly, when note, mail need the recording file that use recorder has been recorded, all Recorder can be started based on aforesaid intent implicit expression code, and jump to the boundary that recorder is its customization Face, selects recording file to return, or click record button starts new recording.
Custom Interface module 410, after user preserves or cancels preservation recording data, exits Custom Interface also Enter the application interface of application.According to technical scheme, user clicks on cancellation button or retrogressing is pressed Key (back button), does not the most preserve recording and is withdrawn into application interface;Main interface buttons can also be clicked on (home button), does not the most preserve recording and is withdrawn into main interface (home interface), the skill of the present embodiment The flow process of art scheme is as shown in Figure 5.
According to the technical scheme of the present embodiment, when the application call recorder that mobile terminal is built-in, redirect To the interface that recorder is its customization, after selecting to have recorded file or recording preservation, return the information of recording file (can be specifically the Uri of recording file, i.e. URL) gives application, the technology of the present embodiment In scheme, implicit expression code is make use of to greatly reduce coupling between recorder with other application.
As shown in Figure 6, third embodiment of the invention proposes a kind of device calling recorder, including:
Custom Interface module 610, for when application call recorder, show with apply corresponding for The Custom Interface that recorder is mutual.
Recorder control module 620, for when recorder plays out, stops recorder and enters The broadcasting of row;For when recorder is recorded, stop and preserving the ongoing record of recorder Sound;For when recorder is not actuated, start recorder, the flow process of the present embodiment technical scheme such as Fig. 7 A Shown in.According to the technical scheme of the present embodiment, when recorder is first play on backstage or recorded, mobile whole When holding built-in application to recall recorder recording, the response of recorder such as the example below:
1) the short-sighted frequency of camera recording:
Camera jumps to the interface that recorder is its customization, clicks on record button and starts recording: now, as Really recorder is activated, then when recorder is when playing, stop playing;When recorder is in recording, The file recorded is preserved and starts new recording;After recording completes, user clicks on recording save button Time, return the information (can be Uri) of recording file to application.The camera short-sighted frequency need to recording file Asking typically: file format requirements is MP3, file duration requires that this demand is permissible for less than 30 seconds Specified by Custom Interface.
2) note call recorder recording:
The flow process that short breath calls recorder is similar to camera, is file size to the demand of recording file: no More than 300K, it can be specified by Custom Interface.
3) mail will be recorded as adnexa:
When Email adds adnexa, having recorder selective, mail calls flow process and the phase of recorder Machine, note are similar, and it requires that recording file duration is defined to 5 minutes temporarily, and this requirement is by corresponding customization Interface specifies.
Recording module 630, for receiving record command by Custom Interface and being sent to recorder, recorder Response record command also starts recording.
Sending module 640, is sent to application for recorder is recorded the information of the recording data obtained.
Select module 650, select recording data to instruct for being received by Custom Interface.
Search module 660, for searching the information of one or more recording datas that recorder has been recorded also Return to application.
After Custom Interface module 610 exits Custom Interface, as recorder is most likely initiated by a user, then allow to use Family enters the application interface of recorder, and the flow process of the technical scheme of the present embodiment is as shown in Figure 7 B.In this reality Execute in example, when user click on home key, back key or long press home key time, abandon the literary composition recorded Part, and exit Custom Interface;When recorder recording is first called in the application that mobile terminal is built-in, and user presses again When recorder icon enters professional recording machine, then flow process is as follows:
User clicks on recording save button, then return the information (such as Uri) of recording file;When user's point Hit home key, back key or long when pressing home key, then abandon the file recorded, and exit customization Interface;Then, owner interface of recording is jumped to.
According to the technical scheme of the present embodiment, the process of application call recorder and user enable recorder Process will not clash, thus ensures that recorder can normally be operated.
As shown in Figure 8, fourth embodiment of the invention proposes a kind of method calling recorder, including:
Step 810, when application call recorder, shows corresponding with application for mutual with recorder Custom Interface.In the present embodiment, different from prior art, during other application call recorders, Show is not the application interface of recorder, but the Custom Interface corresponding with this application;In this enforcement In example, not limiting the type of application, it can be specifically the programs such as camera, note, mail.
Step 820, receives record command by Custom Interface and is sent to recorder, recorder response recording Instruct and start recording.In the present embodiment, applications requires no knowledge about the relevant information of recorder, Then have only to send an instruction to Custom Interface, when the recorder in mobile terminal changes, Need not revise the command information of other application, it is seen that the coupling between recorder and other application reduces; Specifically, can arrange record button on Custom Interface, then user clicks on record button and can start record Sound, and save button is set on Custom Interface, then can preserve recording after user clicks on save button Recording file, and the information (this information can use Uri) of recording file is fed back to application.
Step 830, the information that recorder is recorded the recording data obtained is sent to application.
According to the technical scheme of the present embodiment, when application call recorder, it is not necessary to be directly entered recorder Application interface, but enter recorder be application arrange Custom Interface, application need not know recorder The information such as bag name, only need to be by Custom Interface transmission instruction, then this command adapted thereto is transmitted by Custom Interface To recorder and be operated, Custom Interface has separated the direct contact of recorder and other application, reduces Other application and coupling between recorder.
As it is shown in figure 9, fifth embodiment of the invention proposes a kind of method calling recorder, including:
Step 910, when application call recorder, shows corresponding with application for mutual with recorder Custom Interface.
Step 920, receives record command by Custom Interface and is sent to recorder, recorder response recording Instruct and start recording.
Step 930, the information that recorder is recorded the recording data obtained is sent to application.
Step 940, is received by Custom Interface and selects recording data to instruct.
Step 950, searches the information of one or more recording datas that recorder has been recorded and returns to answer With.
Specifically, can be by advance for the implicit expression code for searching recording data of application configuration, lookup One or more recording datas that recorder has been recorded.In the present embodiment, with the shifting of Android platform As a example by dynamic terminal, in the activity that configuration file manifest.xml is Custom Interface of recorder (activity) Add:
Which kind of recorder no matter currently used in mobile terminal is, as long as on adding in its configuration file State implicit expression code, then this recorder can be called to obtain its recording data recorded, it is seen that recording The coupling that machine is applied with other is substantially reduced.
Such as, apply as camera, then camera needs to select to record recording file during making short-sighted frequency Time, eject the option of " selection music ", under this option, have " my file " and " professional recording machine " Etc. optional, based on above-mentioned intent-filter implicit expression code, choosing " professional recording machine " jumps to recorder The interface customized for it, choose record file as " music file " return, or click on record button open Begin new recording.Similarly, when note, mail need the recording file that use recorder has been recorded, all Recorder can be started based on aforesaid intent implicit expression code, and jump to the boundary that recorder is its customization Face, selects recording file to return, or click record button starts new recording.
Optionally, after user preserves or cancels preservation recording data, exit Custom Interface and enter application Application interface.According to technical scheme, user clicks on cancellation button or Reverse keys (back Button), the most do not preserve recording and be withdrawn into application interface;(home presses can also to click on main interface buttons Key), the most do not preserve recording and be withdrawn into main interface (home interface), the stream of the technical scheme of the present embodiment Journey is as shown in Figure 5.
According to the technical scheme of the present embodiment, when the application call recorder that mobile terminal is built-in, redirect To the interface that recorder is its customization, after selecting to have recorded file or recording preservation, return the information of recording file (can be specifically the Uri of recording file, i.e. URL) gives application, the technology of the present embodiment In scheme, implicit expression code is make use of to greatly reduce coupling between recorder with other application.
As shown in Figure 10, sixth embodiment of the invention proposes a kind of method calling recorder, including:
Step 1010, when application call recorder, shows corresponding with application for mutual with recorder Custom Interface.
Step 1020, when recorder plays out, stops the ongoing broadcasting of recorder;When When recorder is recorded, stop and preserving the ongoing recording of recorder;When recorder does not opens Time dynamic, starting recorder, the flow process of the technical scheme of the present embodiment is as shown in Figure 7 A.According to the present embodiment Technical scheme, when recorder is first play on backstage or during recording, the built-in application of mobile terminal recalls During recorder recording, the response of recorder such as the example below:
1) the short-sighted frequency of camera recording:
Camera jumps to the interface that recorder is its customization, clicks on record button and starts recording: now, as Really recorder is activated, then when recorder is when playing, stop playing;When recorder is in recording, The file recorded is preserved and starts new recording;After recording completes, user clicks on recording save button Time, return the information (can be Uri) of recording file to application.The camera short-sighted frequency need to recording file Asking typically: file format requirements is MP3, file duration requires that this demand is permissible for less than 30 seconds Specified by Custom Interface.
2) note call recorder recording:
The flow process that short breath calls recorder is similar to camera, is file size to the demand of recording file: no More than 300K, it can be specified by Custom Interface.
3) mail will be recorded as adnexa:
When Email adds adnexa, having recorder selective, mail calls flow process and the phase of recorder Machine, note are similar, and it requires that recording file duration is defined to 5 minutes temporarily, and this requirement is by corresponding customization Interface specifies.
Step 1030, receives record command by Custom Interface and is sent to recorder, recorder response record Sound instructs and starts recording.
Step 1040, the information that recorder is recorded the recording data obtained is sent to application.
Step 1050, is received by Custom Interface and selects recording data to instruct.
Step 1060, searches the information of one or more recording datas that recorder has been recorded and returns to Application.
Step 1070, after exiting Custom Interface, as recorder is most likely initiated by a user, then allows user to enter The application interface of recorder, the flow process of the technical scheme of the present embodiment is as shown in Figure 7 B.In the present embodiment, When user click on home key, back key or long press home key time, abandon the file recorded, and move back Go out Custom Interface;When recorder recording is first called in the application that mobile terminal is built-in, and user presses recorder figure again When mark enters professional recording machine, then flow process is as follows:
User clicks on recording save button, then return the information (such as Uri) of recording file;When user's point Hit home key, back key or long when pressing home key, then abandon the file recorded, and exit customization Interface;Then, owner interface of recording is jumped to.
According to the technical scheme of the present embodiment, the process of application call recorder and user enable recorder Process will not clash, thus ensures that recorder can normally be operated.
It should be noted that in this article, term " include ", " comprising " or its any other variant Be intended to comprising of nonexcludability so that include the process of a series of key element, method, article or Person's device not only includes those key elements, but also includes other key elements being not expressly set out, or also Including the key element intrinsic for this process, method, article or device.In the feelings not having more restriction Under condition, statement " including ... " key element limited, it is not excluded that include this key element process, Method, article or device there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-mentioned Embodiment method can add the mode of required general hardware platform by software and realize, naturally it is also possible to logical Cross hardware, but a lot of in the case of the former is more preferably embodiment.Based on such understanding, the present invention's The part that prior art is contributed by technical scheme the most in other words can be with the form body of software product Revealing to come, this computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, light Dish) in, including some instructions with so that a station terminal equipment (can be mobile phone, computer, service Device, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every Utilize equivalent structure or equivalence flow process conversion that description of the invention and accompanying drawing content made, or directly or Connect and be used in other relevant technical fields, be the most in like manner included in the scope of patent protection of the present invention.

Claims (10)

1. the device calling recorder, it is characterised in that including:
Custom Interface module, for when application call recorder, shows and corresponding being used for of described application The Custom Interface mutual with described recorder;
Recording module, for receiving record command by described Custom Interface and being sent to described recorder, Described recorder responds described record command and starts recording;
Sending module, is sent to described answering for described recorder is recorded the information of the recording data obtained With.
Device the most according to claim 1, it is characterised in that also include:
Recorder control module, for when described recorder plays out, stops described recorder Ongoing broadcasting;For when described recorder is recorded, stop and preserving described recording The ongoing recording of machine;For when described recorder is not actuated, starting described recorder.
Device the most according to claim 1, it is characterised in that also include:
Select module, select recording data to instruct for being received by described Custom Interface;
Search module, for searching the information of one or more recording datas that described recorder has been recorded And return to described application.
Device the most according to claim 3, it is characterised in that
Described lookup module by advance for described application configuration for searching the implicit expression code of recording data, Search one or more recording datas that described recorder has been recorded.
Device the most according to claim 1, it is characterised in that
Described Custom Interface module, after described user preserves or cancels the described recording data of preservation, exits institute State Custom Interface and enter the application interface of described application.
Device the most according to claim 5, it is characterised in that also include:
After described Custom Interface module exits described Custom Interface, described recorder by as described in user open Dynamic, then allow described user to enter the application interface of described recorder.
7. the method calling recorder, it is characterised in that including:
When application call recorder, being used for that display is corresponding with described application is mutual with described recorder Custom Interface;
Receiving record command by described Custom Interface and be sent to described recorder, described recorder responds Described record command also starts recording;
The information that the recording data obtained recorded by described recorder is sent to described application.
Method the most according to claim 7, it is characterised in that described recorder is being received institute Before recording when stating record command, also include:
When described recorder plays out, stop the ongoing broadcasting of described recorder;
When described recorder is recorded, stop and preserving the ongoing recording of described recorder;
When described recorder is not actuated, start described recorder.
Method the most according to claim 7, it is characterised in that also include:
Being received by described Custom Interface selects recording data to instruct;
Search the information of one or more recording datas that described recorder has been recorded and return to described answering With.
Method the most according to claim 9, it is characterised in that search described recorder and recorded The information of one or more recording datas that becomes also returns to described application, specifically includes:
By in advance for described application configuration for searching the implicit expression code of recording data, search described recording One or more recording datas that machine has been recorded.
CN201610269891.XA 2016-04-27 2016-04-27 Device and method for calling recorder Active CN105847575B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610269891.XA CN105847575B (en) 2016-04-27 2016-04-27 Device and method for calling recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610269891.XA CN105847575B (en) 2016-04-27 2016-04-27 Device and method for calling recorder

Publications (2)

Publication Number Publication Date
CN105847575A true CN105847575A (en) 2016-08-10
CN105847575B CN105847575B (en) 2020-03-13

Family

ID=56589304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610269891.XA Active CN105847575B (en) 2016-04-27 2016-04-27 Device and method for calling recorder

Country Status (1)

Country Link
CN (1) CN105847575B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106658168A (en) * 2016-12-27 2017-05-10 努比亚技术有限公司 Audio copying method and device, and terminal
CN112071338A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 Recording control method and device and display equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667227A (en) * 2009-09-11 2010-03-10 深圳市五巨科技有限公司 Method for setting game music and device
CN103067911A (en) * 2012-12-17 2013-04-24 中国联合网络通信集团有限公司 Method and equipment used for controlling hardware module
CN103731444A (en) * 2012-10-11 2014-04-16 北京睿思汇通移动科技有限公司 Method for starting boundless communication, sharing and notification through mobile terminal browser
CN105094808A (en) * 2015-06-26 2015-11-25 努比亚技术有限公司 Control device and method
US9323310B2 (en) * 2012-09-19 2016-04-26 Sony Corporation Mobile client device, operation method, and recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667227A (en) * 2009-09-11 2010-03-10 深圳市五巨科技有限公司 Method for setting game music and device
US9323310B2 (en) * 2012-09-19 2016-04-26 Sony Corporation Mobile client device, operation method, and recording medium
CN103731444A (en) * 2012-10-11 2014-04-16 北京睿思汇通移动科技有限公司 Method for starting boundless communication, sharing and notification through mobile terminal browser
CN103067911A (en) * 2012-12-17 2013-04-24 中国联合网络通信集团有限公司 Method and equipment used for controlling hardware module
CN105094808A (en) * 2015-06-26 2015-11-25 努比亚技术有限公司 Control device and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106658168A (en) * 2016-12-27 2017-05-10 努比亚技术有限公司 Audio copying method and device, and terminal
CN112071338A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 Recording control method and device and display equipment

Also Published As

Publication number Publication date
CN105847575B (en) 2020-03-13

Similar Documents

Publication Publication Date Title
CN104932817B (en) The method and apparatus of terminal side frame induction interaction
CN106130734A (en) The control method of mobile terminal and control device
CN105653729A (en) Device and method for indexing sound recording file
CN106131322A (en) Dual-screen mobile terminal plays the method and device of sound
CN105357367B (en) Recognition by pressing keys device and method based on pressure sensor
CN106155695A (en) The removing control device and method of background application
CN106033570A (en) Mobile payment device and method
CN105760057A (en) Screenshot device and method
CN106304037A (en) The management method of virtual SIM card and device
CN105915718A (en) Device and method for voice playing
CN106126065A (en) A kind of mobile terminal and double screen method for information display thereof
CN106302651A (en) The social sharing method of picture and there is the terminal of picture social activity share system
CN106249989A (en) Social networking application program icon aligning method during a kind of sharing contents and mobile terminal
CN106101455A (en) Page jump management method, device and terminal
CN105892803A (en) Quick setting method for setting items and mobile terminal
CN104951514A (en) Audio playing method and device
CN105897995A (en) Contact person information adding method and apparatus
CN106028090A (en) Mobile terminal and video recording method thereof
CN105744059A (en) Application starting device and method
CN104780278B (en) Route generation method based on communication data and device
CN105975500A (en) Data processing method, data statistical system and backstage management system
CN105898080A (en) Alarm clock reminding method and device
CN105260096B (en) A kind of method and mobile terminal controlling user's operation
CN104915230B (en) application control method and device
CN104735259B (en) Mobile terminal acquisition parameters method to set up, device and mobile terminal

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