CN107864295A - Call control method, mobile terminal and computer-readable recording medium - Google Patents

Call control method, mobile terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107864295A
CN107864295A CN201711378293.7A CN201711378293A CN107864295A CN 107864295 A CN107864295 A CN 107864295A CN 201711378293 A CN201711378293 A CN 201711378293A CN 107864295 A CN107864295 A CN 107864295A
Authority
CN
China
Prior art keywords
mobile terminal
microphone
parameter
loudspeaker
default
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711378293.7A
Other languages
Chinese (zh)
Inventor
王英茂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711378293.7A priority Critical patent/CN107864295A/en
Publication of CN107864295A publication Critical patent/CN107864295A/en
Pending legal-status Critical Current

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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Abstract

The application is applied to technical field of mobile terminals, there is provided call control method, mobile terminal and computer-readable recording medium, including:When connecting phone, the movement locus of mobile terminal is detected;Detect whether the mobile terminal is blocked, determine occlusion detection result, wherein, the occlusion detection result indicates that the mobile terminal is blocked, or the mobile terminal is not blocked;According to the movement locus of the mobile terminal and the occlusion detection result, the parameter of sound-producing device and sound pick up equipment in the mobile terminal is set.User can be avoided to manually adjust the direction of mobile terminal, improve the efficiency to receive calls when user receives calls by the application.

Description

Call control method, mobile terminal and computer-readable recording medium
Technical field
The application belongs to technical field of mobile terminals, more particularly to call control method, mobile terminal and computer-readable Storage medium.
Background technology
With the development of the communication technology, the use of mobile terminal (such as mobile phone, tablet personal computer etc.) is increasingly popularized, can be with Other users are contacted using mobile terminal, facilitate the exchanges and communication between user.However, answered in user using mobile terminal During phone, it is understood that there may be mobile terminal is by by anti-situation, and now the possibly voice that can not hear peer user of this end subscriber, is needed After wanting this end subscriber that mobile terminal is become a full member manually, the voice of peer user can be just heard, is communicated with peer user.
Therefore, it is necessary to a kind of new technical scheme is proposed, to solve above-mentioned technical problem.
The content of the invention
In view of this, this application provides call control method, mobile terminal and computer-readable recording medium, with When family receives calls, avoid user from manually adjusting the direction of mobile terminal, improve the efficiency to receive calls.
The first aspect of the application provides a kind of call control method, including:
When connecting phone, the movement locus of mobile terminal is detected;
Detect whether the mobile terminal is blocked, determine occlusion detection result, wherein, the occlusion detection result instruction The mobile terminal is blocked, or the mobile terminal is not blocked;
According to the movement locus of the mobile terminal and the occlusion detection result, sounding in the mobile terminal is set to fill The parameter with sound pick up equipment is put, wherein, sound-producing device includes the loudspeaker positioned at the bottom of the mobile terminal in the mobile terminal , the sound pick up equipment in the mobile terminal is included positioned at first microphone on the top of the mobile terminal and positioned at the shifting The second microphone of the bottom of dynamic terminal, the top of the mobile terminal refers to the one end for being provided with receiver, the mobile terminal Bottom refer to the one end for being provided with loudspeaker.
The second aspect of the application provides a kind of mobile terminal, and the mobile terminal includes:
Track detection module, for when connecting phone, detecting the movement locus of mobile terminal;
Occlusion detection module, for detecting whether the mobile terminal is blocked, occlusion detection result is determined, wherein, institute State occlusion detection result and indicate that the mobile terminal is blocked, or the mobile terminal is not blocked;
First parameter setting module, for the movement locus according to the mobile terminal and the occlusion detection result, if The parameter of sound-producing device and sound pick up equipment in the mobile terminal is put, wherein, sound-producing device includes being located in the mobile terminal The loudspeaker of the bottom of the mobile terminal, the sound pick up equipment in the mobile terminal are included positioned at the top of the mobile terminal First microphone and the second microphone positioned at the bottom of the mobile terminal, the top of the mobile terminal, which refers to be provided with, listens One end of cylinder, the bottom of the mobile terminal refers to the one end for being provided with loudspeaker.
The third aspect of the application provides a kind of mobile terminal, including memory, processor and is stored in described deposit In reservoir and the computer program that can run on the processor, realized such as during computer program described in the computing device Described in above-mentioned first aspect the step of call control method.
The fourth aspect of the application provides a kind of computer-readable recording medium, and the computer-readable recording medium is deposited Computer program is contained, the call control method as described in above-mentioned first aspect is realized when the computer program is executed by processor The step of.
The 5th aspect of the application provides a kind of computer program product, and the computer program product includes computer Program, the call control method as described in above-mentioned first aspect is realized when the computer program is executed by one or more processors The step of.
Therefore application scheme detects the movement locus of mobile terminal, and detect mobile terminal when connecting phone Whether it is blocked, determines occlusion detection result, according to the movement locus of mobile terminal and occlusion detection result, mobile terminal is set The parameter of middle sound-producing device and sound pick up equipment.Application scheme by detect mobile terminal movement locus and mobile terminal whether It is blocked to set the parameter of sound-producing device and sound pick up equipment in mobile terminal, movement is adjusted eventually without user so as to may be implemented in In the case of the direction at end, ensure the normal talking of mobile terminal, and then improve the efficiency to receive calls.
Brief description of the drawings
, below will be to embodiment or description of the prior art in order to illustrate more clearly of the technical scheme in the embodiment of the present application In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description are only some of the application Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the implementation process schematic diagram for the call control method that the embodiment of the present application one provides;
Fig. 2 is the implementation process schematic diagram for the call control method that the embodiment of the present application two provides;
Fig. 3 is the schematic diagram for the mobile terminal that the embodiment of the present application three provides;
Fig. 4 is the schematic diagram for the mobile terminal that the embodiment of the present application four provides;
Fig. 5 is the schematic diagram for the mobile terminal that the embodiment of the present application five provides.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, thoroughly to understand the embodiment of the present application.However, it will be clear to one skilled in the art that there is no these specific The application can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details hinders the description of the present application.
It should be appreciated that ought be in this specification and in the appended claims in use, special described by the instruction of term " comprising " Sign, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, entirety, step, Operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this present specification is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the application.As used in present specification and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and appended claims is Refer to any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the mobile terminal described in the embodiment of the present application is including but not limited to such as with the sensitive table of touch Mobile phone, laptop computer or the tablet PC in face (for example, touch-screen display and/or touch pad) etc it is other Portable set.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but is had The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch pad).
In discussion below, the mobile terminal including display and touch sensitive surface is described.However, it should manage Solution, one or more of the other physical User that mobile terminal can include such as physical keyboard, mouse and/or control-rod connect Jaws equipment.
Mobile terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application Program, word-processing application, website establishment application program, disk imprinting application program, spreadsheet applications, game are answered With program, telephony application, videoconference application, email application, instant messaging applications, forging Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing should With program, digital music player application and/or video frequency player application program.
The various application programs that can be performed on mobile terminals can use at least one of such as touch sensitive surface Public physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quick Feel the corresponding information shown in the one or more functions and terminal on surface.So, terminal public physical structure (for example, Touch sensitive surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence in the present embodiment, each process Execution sequence should determine that the implementation process without tackling the embodiment of the present application forms any restriction with its function and internal logic.
In order to illustrate technical scheme described herein, illustrated below by specific embodiment.
It is the implementation process schematic diagram for the call control method that the embodiment of the present application one provides referring to Fig. 1, call control Method is applied to mobile terminal, and the call control method may comprise steps of as shown in the figure:
Step S101, when connecting phone, detect the movement locus of mobile terminal.
In the embodiment of the present application, when connecting phone, the acceleration transducer and gyro in mobile terminal can be passed through Instrument detects the movement locus of mobile terminal.Wherein, the movement locus include but is not limited to the top of the mobile terminal upward, Bottom turns downward, the top of mobile terminal down, bottom rotate upward, do not limit herein.
Wherein it is possible to realize that user moves by the acceleration transducer in mobile terminal, gyroscope and/or proximity transducer Perceive and confirm, carry out auto-pickup.Such as detect that mobile phone is moved in one direction, gyroscope is examined in acceleration transducer Measure mobile phone and occur that angle change rotates and/or proximity transducer is when detecting that mobile phone is blocked, control mobile phone auto-pickup electricity Words.It can also be received calls by operation of the user to physical button in mobile terminal, such as when detecting incoming call, if pre- If detected in the time the continuous N of user (wherein, N is integer more than 1, for example, 2) it is secondary volume key or power key are carried out by Pressure, then control mobile phone automatic call answering.
Step S102, detects whether the mobile terminal is blocked, and determines occlusion detection result.
Wherein, the occlusion detection result indicates that the mobile terminal is blocked, or the mobile terminal is not blocked.
In the embodiment of the present application, whether the screen that mobile terminal can be detected by proximity transducer is blocked, and is moving When the screen of dynamic terminal is blocked, the face of user is generally can be determined that close to mobile terminal, now mobile terminal may make Conversed with handset mode;When the screen of mobile terminal is not blocked, it generally can be determined that the face of user not close Mobile terminal, now mobile terminal conversed using handset mode, this end subscriber may be caused can not to hear peer user Voice, in order to ensure the normal talking of mobile terminal, mobile terminal can be now controlled to start hands-free mode, so as to ensure local terminal User hears the voice of peer user.
Step S103, according to the movement locus of the mobile terminal and the occlusion detection result, set described mobile whole The parameter of sound-producing device and sound pick up equipment in end.
Wherein, sound-producing device includes the loudspeaker positioned at the bottom of the mobile terminal, the movement in the mobile terminal Sound pick up equipment in terminal is included positioned at first microphone on the top of the mobile terminal and positioned at the bottom of the mobile terminal The second microphone at end, the top of the mobile terminal refer to the one end for being provided with receiver, and the bottom of the mobile terminal refers to It is provided with one end of loudspeaker.
Wherein, the receiver positioned at the top of the mobile terminal is generally used for the playback under handset mode, positioned at the shifting The loudspeaker of the bottom of dynamic terminal are generally used for playback in the handsfree mode, and the first microphone positioned at the top of mobile terminal is usual It is referred to as noise reduction microphone, for picking up environmental noise, the second microphone positioned at the bottom of mobile terminal is commonly known as led Microphone, for picking up the sound of this end subscriber.Can be by changing above-mentioned receiver, loudspeaker, the first microphone and the second Mike The parameter of wind controls it each to realize different functions.Such as the parameter of loudspeaker is arranged to realize to the ginseng of handset function Count, now the loudspeaker can serve as receiver use.
In the embodiment of the present application, movement locus that can be according to the mobile terminal and the occlusion detection result, set The parameter of loudspeaker, the first microphone positioned at the top of mobile terminal and positioned at the bottom of mobile terminal in the mobile terminal The parameter of second microphone, the i.e. parameter by setting loudspeaker, the first microphone and second microphone, thus it is possible to vary loudspeaker, The function of one microphone and second microphone, so as to realize in the case of without rotating mobile terminal manually, ensure mobile whole The normal talking at end.For example, detect the movement locus of mobile phone for top down, bottom rotates upward and mobile phone is blocked When, now mobile phone is likely to be at handstand state, it is possible to is used loudspeaker as receiver, the first microphone is used as pickup local terminal The main microphon of the sound at family uses, and second microphone uses as the noise reduction microphone of pickup noise, so as to avoid user's hand The direction of dynamic adjustment mobile terminal.
It is mobile whole to set whether application scheme is blocked by the movement locus and mobile terminal that detect mobile terminal The parameter of sound-producing device and sound pick up equipment in end, so as to it may be implemented in the direction without user's adjustment mobile terminal in the case of, Ensure the normal talking of mobile terminal, and then improve the efficiency to receive calls.
It is the implementation process schematic diagram for the call control method that the embodiment of the present application two provides referring to Fig. 2, call control Method is applied to mobile terminal, and the call control method may comprise steps of as shown in the figure:
Step S201, when connecting phone, detect the call mode of mobile terminal.
Wherein it is possible to realize that user moves by the acceleration transducer in mobile terminal, gyroscope and/or proximity transducer Perceive and confirm, carry out auto-pickup.Such as detect that mobile phone is moved in one direction, gyroscope is examined in acceleration transducer Measure mobile phone and occur that angle change rotates and/or proximity transducer is when detecting that mobile phone is blocked, control mobile phone auto-pickup electricity Words.It can also be received calls by operation of the user to physical button in mobile terminal, such as when detecting incoming call, if pre- If detected in the time the continuous N of user (wherein, N is integer more than 1, for example, 2) it is secondary volume key or power key are carried out by Pressure, then control mobile phone automatic call answering.
In the embodiment of the present application, the call mode includes but is not limited to handset mode and hands-free mode.Need to illustrate , before phone is connected, user can voluntarily set the call mode of mobile terminal, in order to ensure the secret of user's communication Property, handset mode is typically defaulted as, hands-free mode is opened in the hands-free icon in detecting user's click to dial interface.
Optionally, when connecting phone, if the call mode of the mobile terminal is hands-free mode, by the loudspeaker Parameter is arranged to default parametric loudspeaker, and the parameter of the second microphone is arranged to the second default microphone parameters, and described first The parameter of microphone is arranged to the first default microphone parameters.
In the embodiment of the present application, when connecting phone, if detecting the hands-free icon in user's click to dial interface, Hands-free mode is opened, and the parameter of loudspeaker is arranged to default parametric loudspeaker, the parameter of the second microphone is arranged to second Default microphone parameters, the parameter of first microphone are arranged to the first default microphone parameters.It should be noted that moving Can be that loudspeaker, the first microphone and second microphone set two parameters respectively in dynamic terminal, wherein, two parameters of loudspeaker Respectively default parametric loudspeaker and default receiver parameter, when loudspeaker are using default parametric loudspeaker, now loudspeaker are as normal Loudspeaker use, i.e., the other users of mobile terminal local environment can also hear the voice of peer user in playback, make in loudspeaker During with default receiver parameter, now loudspeaker use as receiver, i.e., in playback can only mobile terminal user oneself can hear pair The voice of end subscriber.Two parameters of the first microphone and second microphone are the first default microphone parameters and the second default wheat Gram wind parameter, wherein, the first microphone or second microphone use the first default microphone parameters, now the microphone conduct Noise reduction microphone uses, and is joined for picking up environmental noise, the first microphone or second microphone using the second default microphone Number, now the microphone uses as main microphon, for picking up the sound of this end subscriber.
Step S202, if the call mode of the mobile terminal is handset mode, detect the motion of the mobile terminal Track.
In the embodiment of the present application, when connecting phone, the acceleration transducer and gyro in mobile terminal can be passed through Instrument detects the movement locus of mobile terminal.Wherein, the movement locus include but is not limited to the top of the mobile terminal upward, Bottom turns downward, the top of mobile terminal down, bottom rotate upward, do not limit herein.
Step S203, detects whether the mobile terminal is blocked, and determines occlusion detection result.
Wherein, the occlusion detection result indicates that the mobile terminal is blocked, or the mobile terminal is not blocked.
In the embodiment of the present application, whether the screen that mobile terminal can be detected by proximity transducer is blocked, and is moving When the screen of dynamic terminal is blocked, the face of user is generally can be determined that close to mobile terminal, now mobile terminal may make Conversed with handset mode;When the screen of mobile terminal is not blocked, it generally can be determined that the face of user not close Mobile terminal, now mobile terminal conversed using handset mode, this end subscriber may be caused can not to hear peer user Voice, in order to ensure the normal talking of mobile terminal, mobile terminal can be now controlled to start hands-free mode, so as to ensure local terminal User hears the voice of peer user.
Step S204, if the movement locus of the mobile terminal is predetermined movement track, and the occlusion detection result is The mobile terminal is blocked, then the parameter of the loudspeaker is arranged into default receiver parameter, the parameter of the second microphone The first default microphone parameters are arranged to, the parameter of first microphone is arranged to the second default microphone parameters.
Wherein, the predetermined movement track can refer to the mobile terminal top down, bottom rotate upward, described When the movement locus of mobile terminal is predetermined movement track, it is possible to determine that mobile terminal is handstand state, and now user may take The anti-mobile terminal, when the screen of mobile terminal is blocked, the face of user is generally can be determined that close to mobile terminal, It can now be used by setting the parameters of loudspeaker, the first microphone and second microphone using loudspeaker as receiver, the second Mike Wind is used as noise reduction microphone, and the first microphone uses as main microphon, and handstand shape is in mobile terminal so as to realize During state, it can also ensure that user carries out normal talking under handset mode.
In the embodiment of the present application, if the movement locus of the mobile terminal is not predetermined movement track (such as the shifting The top of dynamic terminal is upward, bottom turns downward) and/or the result of blocking be not blocked for the mobile terminal, then can be with The parameter of the loudspeaker is arranged to default parametric loudspeaker, the parameter of the second microphone is arranged to the second default microphone ginseng Number, the parameter of first microphone are arranged to the first default microphone parameters, and the receiver positioned at the mobile terminal top can Still used as receiver.
It is mobile whole to set whether application scheme is blocked by the movement locus and mobile terminal that detect mobile terminal The parameter of sound-producing device and sound pick up equipment in end, so as to it may be implemented in the direction without user's adjustment mobile terminal in the case of, Ensure the normal talking of mobile terminal, and then improve the efficiency to receive calls.
Referring to Fig. 3, it is the schematic diagram for the mobile terminal that the embodiment of the present application three provides, for convenience of description, illustrate only The part related to the embodiment of the present application.
The mobile terminal includes:
Track detection module 31, for when connecting phone, detecting the movement locus of mobile terminal;
Occlusion detection module 32, for detecting whether the mobile terminal is blocked, occlusion detection result is determined, wherein, The occlusion detection result indicates that the mobile terminal is blocked, or the mobile terminal is not blocked;
First parameter setting module 33, for the movement locus according to the mobile terminal and the occlusion detection result, The parameter of sound-producing device and sound pick up equipment in the mobile terminal is set, wherein, sound-producing device includes position in the mobile terminal Loudspeaker in the bottom of the mobile terminal, the sound pick up equipment in the mobile terminal are included positioned at the top of the mobile terminal The first microphone and the second microphone positioned at the bottom of the mobile terminal, the top of the mobile terminal refer to be provided with One end of receiver, the bottom of the mobile terminal refer to the one end for being provided with loudspeaker.
Optionally, the mobile terminal also includes:
Mode detection module 34, for detecting the call mode of the mobile terminal.
Optionally, the track detection module 31 is specifically used for:
When connecting phone, if the call mode of the mobile terminal is handset mode, the mobile terminal is detected Movement locus;
First parameter setting module 33, if the movement locus specifically for the mobile terminal is predetermined movement track, and The occlusion detection result is that the mobile terminal is blocked, then the parameter of the loudspeaker is arranged into default receiver parameter, institute The parameter for stating second microphone is arranged to the first default microphone parameters, and the parameter of first microphone is arranged to second and preset Microphone parameters;
The mobile terminal also includes:
Second parameter setting module 35, for when connecting phone, if the call mode of the mobile terminal is hands-free mould Formula, then be arranged to default parametric loudspeaker by the parameter of the loudspeaker, and the parameter of the second microphone is arranged to the second default wheat Gram wind parameter, the parameter of first microphone are arranged to the first default microphone parameters.
The mobile terminal that the embodiment of the present application provides can be applied in preceding method embodiment one and embodiment two, details Referring to the description of above method embodiment one and embodiment two, will not be repeated here.
Fig. 4 is the schematic diagram for the mobile terminal that the embodiment of the present application four provides.The mobile terminal as depicted can wrap Include:One or more processors 401 (only show one) in figure;One or more input equipments 402 (one is only shown in figure), One or more output equipments 403 (one is only shown in figure) and memory 404.It is above-mentioned processor 401, input equipment 402, defeated Go out equipment 403 and memory 404 is connected by bus 405.Memory 404 is used for store instruction, and processor 401 is deposited for execution The instruction that reservoir 404 stores.Wherein:
The processor 401, for when connecting phone, detecting the movement locus of mobile terminal;Detect described mobile whole Whether end is blocked, and determines occlusion detection result, wherein, the occlusion detection result indicates that the mobile terminal is blocked, or Mobile terminal is not blocked described in person;According to the movement locus of the mobile terminal and the occlusion detection result, described in setting The parameter of sound-producing device and sound pick up equipment in mobile terminal, wherein, sound-producing device includes being located at the shifting in the mobile terminal The loudspeaker of the bottom of dynamic terminal, the sound pick up equipment in the mobile terminal include the first wheat positioned at the top of the mobile terminal Gram wind and the second microphone positioned at the bottom of the mobile terminal, the top of the mobile terminal refers to be provided with receiver one End, the bottom of the mobile terminal refers to the one end for being provided with loudspeaker.
Optionally, in the state of phone is connected, the processor 401 is additionally operable to:
Detect the call mode of the mobile terminal.
Optionally, the processor 401 is specifically used for:
When connecting phone, if the call mode of the mobile terminal is handset mode, the mobile terminal is detected Movement locus.
Optionally, the processor 401 is specifically used for:
If the movement locus of the mobile terminal is predetermined movement track, and the occlusion detection result is described mobile whole End is blocked, then the parameter of the loudspeaker is arranged into default receiver parameter, and the parameter of the second microphone is arranged to first Default microphone parameters, the parameter of first microphone are arranged to the second default microphone parameters.
Optionally, the processor 401 is additionally operable to:
When connecting phone, if the call mode of the mobile terminal is hands-free mode, the parameter of the loudspeaker is set Default parametric loudspeaker is set to, the parameter of the second microphone is arranged to the second default microphone parameters, first microphone Parameter be arranged to the first default microphone parameters.
It should be appreciated that in the embodiment of the present application, the processor 401 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 402 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint Directional information), microphone, data receiver interface etc..Output equipment 403 can include display (LCD etc.), loudspeaker, data Transmission interface etc..
The memory 404 can include read-only storage and random access memory, and to processor 401 provide instruction and Data.The a part of of memory 404 can also include nonvolatile RAM.For example, memory 404 can also be deposited Store up the information of device type.
In the specific implementation, processor 401, input equipment 402, the and of output equipment 403 described in the embodiment of the present application Memory 404 can perform the implementation described in the embodiment of the call control method of the embodiment of the present application offer, also may be used The implementation described in mobile terminal described in embodiment three is performed, will not be repeated here.
Fig. 5 is the schematic diagram for the mobile terminal that the embodiment of the present application five provides.As shown in figure 5, the mobile end of the embodiment End 5 includes:Processor 50, memory 51 and it is stored in the meter that can be run in the memory 51 and on the processor 50 Calculation machine program 52.The processor 50 is realized when performing the computer program 52 in above-mentioned each call control method embodiment The step of, such as the step S101 to S103 shown in Fig. 1.Or the processor 50 is real when performing the computer program 52 The function of each module/unit in existing above-mentioned each device embodiment, such as the function of module 31 to 35 shown in Fig. 3.
Exemplary, the computer program 52 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 51, and are performed by the processor 50, to complete the application.Described one Individual or multiple module/units can be the series of computation machine programmed instruction section that can complete specific function, and the instruction segment is used for Implementation procedure of the computer program 52 in the mobile terminal 5 is described.For example, the computer program 52 can be divided It is cut into track detection module, occlusion detection module, the first parameter setting module, mode detection module and the second parameter setting mould Block, each module concrete function are as follows:
Track detection module, for when connecting phone, detecting the movement locus of mobile terminal;
Occlusion detection module, for detecting whether the mobile terminal is blocked, occlusion detection result is determined, wherein, institute State occlusion detection result and indicate that the mobile terminal is blocked, or the mobile terminal is not blocked;
First parameter setting module, for the movement locus according to the mobile terminal and the occlusion detection result, if The parameter of sound-producing device and sound pick up equipment in the mobile terminal is put, wherein, sound-producing device includes being located in the mobile terminal The loudspeaker of the bottom of the mobile terminal, the sound pick up equipment in the mobile terminal are included positioned at the top of the mobile terminal First microphone and the second microphone positioned at the bottom of the mobile terminal, the top of the mobile terminal, which refers to be provided with, listens One end of cylinder, the bottom of the mobile terminal refers to the one end for being provided with loudspeaker.
Optionally, the mobile terminal also includes:
Mode detection module, for detecting the call mode of the mobile terminal.
Optionally, the track detection module is specifically used for:
When connecting phone, if the call mode of the mobile terminal is handset mode, the mobile terminal is detected Movement locus;
First parameter setting module, if the movement locus specifically for the mobile terminal is predetermined movement track, and institute State occlusion detection result to be blocked for the mobile terminal, then the parameter of the loudspeaker is arranged to default receiver parameter, it is described The parameter of second microphone is arranged to the first default microphone parameters, and the parameter of first microphone is arranged to the second default wheat Gram wind parameter;
The mobile terminal also includes:
Second parameter setting module, for when connecting phone, if the call mode of the mobile terminal is hands-free mode, The parameter of the loudspeaker is then arranged to default parametric loudspeaker, the parameter of the second microphone is arranged to the second default microphone Parameter, the parameter of first microphone are arranged to the first default microphone parameters.
The mobile terminal 5 can be that the calculating such as desktop PC, notebook, palm PC and cloud server are set It is standby.The mobile terminal may include, but be not limited only to, processor 50, memory 51.It will be understood by those skilled in the art that Fig. 5 The only example of mobile terminal 5, the restriction to mobile terminal 5 is not formed, can included than illustrating more or less portions Part, some parts or different parts are either combined, such as the mobile terminal can also include input-output equipment, net Network access device, bus etc..
Alleged processor 50 can be central processing unit CPU, can also be other general processors, Digital Signal Processing Device DSP, application-specific integrated circuit ASIC, ready-made programmable gate array FPGA either other PLDs, discrete gate or Transistor logic, discrete hardware components etc..General processor can be microprocessor or the processor can also be appointed What conventional processor etc..
The memory 51 can be the internal storage unit of the mobile terminal 5, such as the hard disk of mobile terminal 5 or interior Deposit.The memory 51 can also be the External memory equipment of the mobile terminal 5, such as be equipped with the mobile terminal 5 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, dodge Deposit card (Flash Card) etc..Further, the memory 51 can also both include the storage inside list of the mobile terminal 5 Member also includes External memory equipment.The memory 51 is used to store needed for the computer program and the mobile terminal Other programs and data.The memory 51 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used To be that unit is individually physically present, can also two or more units it is integrated in a unit, it is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.In addition, each function list Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Said system The specific work process of middle unit, module, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment The part of load, it may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed Scope of the present application.
In embodiment provided herein, it should be understood that disclosed mobile terminal and method, it can be passed through Its mode is realized.For example, mobile terminal embodiment described above is only schematical, for example, the module or list The division of member, only a kind of division of logic function can have an other dividing mode when actually realizing, for example, multiple units or Component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, show Show or the mutual coupling discussed or direct-coupling or communication connection can be by some interfaces, between device or unit Coupling or communication connection are connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and as independent production marketing or In use, it can be stored in a computer read/write memory medium.Based on such understanding, the application realizes above-mentioned implementation All or part of flow in example method, by computer program the hardware of correlation can also be instructed to complete, described meter Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer-readable medium It can include:Any entity or device, recording medium, USB flash disk, mobile hard disk, the magnetic of the computer program code can be carried Dish, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that described The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice Subtract, such as in some jurisdictions, electric carrier signal and electricity are not included according to legislation and patent practice, computer-readable medium Believe signal.
Embodiment described above is only to illustrate the technical scheme of the application, rather than its limitations;Although with reference to foregoing reality Example is applied the application is described in detail, it will be understood by those within the art that:It still can be to foregoing each Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is departed from the spirit and scope of each embodiment technical scheme of the application, all should Within the protection domain of the application.

Claims (10)

  1. A kind of 1. call control method, it is characterised in that including:
    When connecting phone, the movement locus of mobile terminal is detected;
    Detect whether the mobile terminal is blocked, determine occlusion detection result, wherein, described in the occlusion detection result instruction Mobile terminal is blocked, or the mobile terminal is not blocked;
    According to the movement locus of the mobile terminal and the occlusion detection result, set in the mobile terminal sound-producing device and The parameter of sound pick up equipment, wherein, sound-producing device includes the loudspeaker positioned at the bottom of the mobile terminal, institute in the mobile terminal Stating the sound pick up equipment in mobile terminal is included positioned at first microphone on the top of the mobile terminal and positioned at described mobile whole The second microphone of the bottom at end, the top of the mobile terminal refer to the one end for being provided with receiver, the bottom of the mobile terminal End refers to the one end for being provided with loudspeaker.
  2. 2. call control method as claimed in claim 1, it is characterised in that in the state of phone is connected, in addition to:
    Detect the call mode of the mobile terminal.
  3. 3. call control method as claimed in claim 2, it is characterised in that it is described when connecting phone, detect mobile terminal Movement locus include:
    When connecting phone, if the call mode of the mobile terminal is handset mode, the motion of the mobile terminal is detected Track.
  4. 4. call control method as claimed in claim 3, it is characterised in that the movement locus according to the mobile terminal With the occlusion detection result, the parameter of sound-producing device and sound pick up equipment in the mobile terminal is set to include:
    If the movement locus of the mobile terminal is predetermined movement track, and the occlusion detection result is the mobile terminal quilt Block, then the parameter of the loudspeaker is arranged to default receiver parameter, the parameter of the second microphone is arranged to first and preset Microphone parameters, the parameter of first microphone are arranged to the second default microphone parameters.
  5. 5. call control method as claimed in claim 2, it is characterised in that also include:
    When connecting phone, if the call mode of the mobile terminal is hands-free mode, the parameter of the loudspeaker is arranged to Default parametric loudspeaker, the parameter of the second microphone are arranged to the second default microphone parameters, the ginseng of first microphone Number is arranged to the first default microphone parameters.
  6. 6. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
    Track detection module, for when connecting phone, detecting the movement locus of mobile terminal;
    Occlusion detection module, for detecting whether the mobile terminal is blocked, occlusion detection result is determined, wherein, the screening Gear testing result indicates that the mobile terminal is blocked, or the mobile terminal is not blocked;
    First parameter setting module, for the movement locus according to the mobile terminal and the occlusion detection result, institute is set The parameter of sound-producing device and sound pick up equipment in mobile terminal is stated, wherein, sound-producing device is included positioned at described in the mobile terminal The loudspeaker of the bottom of mobile terminal, the sound pick up equipment in the mobile terminal include first positioned at the top of the mobile terminal Microphone and the second microphone positioned at the bottom of the mobile terminal, the top of the mobile terminal refer to be provided with receiver One end, the bottom of the mobile terminal refer to the one end for being provided with loudspeaker.
  7. 7. mobile terminal as claimed in claim 6, it is characterised in that the mobile terminal also includes:
    Mode detection module, for detecting the call mode of the mobile terminal.
  8. 8. mobile terminal as claimed in claim 7, it is characterised in that the track detection module is specifically used for:
    When connecting phone, if the call mode of the mobile terminal is handset mode, the motion of the mobile terminal is detected Track;
    First parameter setting module, if the movement locus specifically for the mobile terminal is predetermined movement track, and the screening Gear testing result is that the mobile terminal is blocked, then the parameter of the loudspeaker is arranged into default receiver parameter, described second The parameter of microphone is arranged to the first default microphone parameters, and the parameter of first microphone is arranged to the second default microphone Parameter;
    The mobile terminal also includes:
    Second parameter setting module, for when connecting phone, if the call mode of the mobile terminal is hands-free mode, inciting somebody to action The parameter of the loudspeaker is arranged to default parametric loudspeaker, and the parameter of the second microphone is arranged to the second default microphone ginseng Number, the parameter of first microphone are arranged to the first default microphone parameters.
  9. 9. a kind of mobile terminal, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, it is characterised in that realize such as claim 1 to 5 described in the computing device during computer program The step of any one call control method.
  10. 10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists In the step of realization call control method as described in any one of claim 1 to 5 when the computer program is executed by processor Suddenly.
CN201711378293.7A 2017-12-19 2017-12-19 Call control method, mobile terminal and computer-readable recording medium Pending CN107864295A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711378293.7A CN107864295A (en) 2017-12-19 2017-12-19 Call control method, mobile terminal and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711378293.7A CN107864295A (en) 2017-12-19 2017-12-19 Call control method, mobile terminal and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107864295A true CN107864295A (en) 2018-03-30

Family

ID=61707062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711378293.7A Pending CN107864295A (en) 2017-12-19 2017-12-19 Call control method, mobile terminal and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107864295A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108650595A (en) * 2018-07-24 2018-10-12 Oppo(重庆)智能科技有限公司 Plug-hole processing method and Related product
CN108924331A (en) * 2018-07-24 2018-11-30 Oppo(重庆)智能科技有限公司 Voice pick-up method and Related product
CN108965600A (en) * 2018-07-24 2018-12-07 Oppo(重庆)智能科技有限公司 Voice pick-up method and Related product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005120177A2 (en) * 2004-06-08 2005-12-22 Brother Kogyo Kabushiki Kaisha Audio communication device
CN103227863A (en) * 2013-04-05 2013-07-31 瑞声科技(南京)有限公司 System and method of automatically switching call direction and mobile terminal applying system
CN105554201A (en) * 2015-07-31 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Audio frequency circuit selection method, apparatus, and circuit, and hand-held terminal
CN105827790A (en) * 2014-08-15 2016-08-03 宏达国际电子股份有限公司 Mobile terminal and method for controlling answer modes of the mobile terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005120177A2 (en) * 2004-06-08 2005-12-22 Brother Kogyo Kabushiki Kaisha Audio communication device
CN103227863A (en) * 2013-04-05 2013-07-31 瑞声科技(南京)有限公司 System and method of automatically switching call direction and mobile terminal applying system
CN105827790A (en) * 2014-08-15 2016-08-03 宏达国际电子股份有限公司 Mobile terminal and method for controlling answer modes of the mobile terminal and storage medium
CN105554201A (en) * 2015-07-31 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Audio frequency circuit selection method, apparatus, and circuit, and hand-held terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108650595A (en) * 2018-07-24 2018-10-12 Oppo(重庆)智能科技有限公司 Plug-hole processing method and Related product
CN108924331A (en) * 2018-07-24 2018-11-30 Oppo(重庆)智能科技有限公司 Voice pick-up method and Related product
CN108965600A (en) * 2018-07-24 2018-12-07 Oppo(重庆)智能科技有限公司 Voice pick-up method and Related product
CN108650595B (en) * 2018-07-24 2020-07-17 Oppo(重庆)智能科技有限公司 Hole plugging processing method and device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
US8839129B2 (en) User interface for a communication device
CN109361994A (en) Speaker control method, mobile terminal and computer readable storage medium
CN108521521A (en) volume adjusting method, mobile terminal and computer readable storage medium
CN108038112A (en) Document handling method, mobile terminal and computer-readable recording medium
CN107864295A (en) Call control method, mobile terminal and computer-readable recording medium
CN107479806A (en) The method and terminal of a kind of changing interface
CN107508997A (en) Call control method, call control apparatus and mobile terminal
CN107197489A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN107613091A (en) A kind of method and terminal for establishing communication
CN107920162A (en) Control method, mobile terminal and the computer-readable recording medium of alarm clock
CN107484190A (en) Method for connecting network, mobile terminal and computer-readable recording medium
CN107729781A (en) The anti-lost method of mobile terminal, mobile terminal and computer-readable recording medium
CN107222898A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN108667588A (en) Carrier wave aggregation configuration method, relevant device and storage medium
CN108089970A (en) Predict method, terminal and the storage medium of remaining capacity up time
CN107295592A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN107506494A (en) Document handling method, mobile terminal and computer-readable recording medium
CN107318140A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN108021301A (en) A kind of volume adjusting method, terminal device and computer-readable recording medium
CN109298907A (en) Application program display methods, application program display device and terminal
CN108520186A (en) Record screen method, mobile terminal and computer readable storage medium
CN107332988A (en) Information processing method, mobile terminal and computer-readable recording medium
CN109062476A (en) Menu treating method, mobile terminal and the computer readable storage medium of application
CN106453835A (en) Method and terminal for switching answering modes
CN109547329A (en) The display methods and Related product of group information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180330

RJ01 Rejection of invention patent application after publication