Embodiment
Referring to Fig. 4, Fig. 4 shows the flow diagram of the first sounding control method provided by the embodiments of the present application.
The sounding control method is used for the pressure value acted on screen by detection, and according to pressure value adjust automatically screen sounding
Volume, to promote the convenience of volume adjustment and reduce loss to volume key.In the particular embodiment, the sounding
Control method is applied to sounding controller 300 as shown in Figure 8 and the electronics dress configured with the sounding controller 300
Set 100 (Fig. 1 and Fig. 2).It will illustrate the detailed process of the present embodiment by taking electronic device as an example below, it will of course be understood that, this
Electronic device applied by embodiment can be smart phone, tablet computer, wearable electronic equipment etc., not do herein specific
It limits.It will be explained in detail below for process shown in Fig. 4, the sounding control method can specifically include following step
It is rapid:
Step S110: when the electronic device is in screen beep pattern, detection acts on the touch-control on the screen
Operation, wherein under the screen beep pattern, the screen vibration sounding is driven by the driver.
In the present embodiment, the screen of electronic device can be used for vibration sounding, and be suitable for the non-earphone of electronic device
Call mode, wherein non-earphone call mode includes hands-free mode and handset mode, is conversing, is broadcasting for playing electronic device
Put the voice signal issued when video.Wherein, in the present embodiment, when the electronic device is in non-headset mode
When, it can default and set screen beep pattern for the electronic device, can also voluntarily be chosen whether to be set as screen by user
Beep pattern does not do specific restriction herein.It should be understood that the electronic device can also include in addition to screen beep pattern
Speaker mode etc., wherein in loudspeaker mode, by loudspeaker vibration sounding.
As a kind of mode, whether screen sounding mould can be in when conversing or playing video to electronic device
Formula is detected, and specifically, can first determine whether electronic device is connected with earphone, wherein can be by checking that electronics fills
The state for the earphone connecting hole set judges, for example, returning to first state when the earphone connecting hole of electronic device connects earphone
Value returns to the second state value when the earphone in connecting hole is pulled out, can by detection first state value and the second state value
To determine whether Current electronic device is connected with earphone.As a kind of mode, android system is in earphone into and out connection
Broadcast can be all sent when hole, so, electronic device can determine whether to be connected with by way of monitoring the broadcast
Earphone, thus, it is possible to determine whether electronic device is in earphone call mode.Further, when determining that the electronic device is in
When non-earphone call mode, then the electronic device is in handset mode or hands-free mode, it is therefore contemplated that the electricity at this time
Sub-device is in screen beep pattern.
Alternatively, due to driving screen sounding therefore can by the driver under screen beep pattern
To judge whether the electronic device is in screen beep pattern by the state for detecting driver.Specifically, to the shape of driver
State is detected, wherein when detecting in running order driver and driving screen vibration, it is believed that the electronics dress
It sets in screen beep pattern.
Further, when the electronic device is in screen beep pattern, to the touch control operation acted on the screen
It is detected, wherein the touch control operation may include that single give directions hits, gives more directions and hit, singly refer to long-pressing, refer to long-pressing, weight, repeatedly more
Click, slide, duplication operation etc., wherein single give directions hits the operation for referring to and singly referring to and being clicked on the screen;Refer to more
Click the operation for referring to and referring to more and on the screen while being clicked;Singly refer to that long-pressing refers to and singly refers to that pressing on the screen is more than when presetting
It is long;Refer to that long-pressing refers to that referring to more while pressing on the screen is more than preset duration more;Weight refers to that pressing dynamics are more than on the screen
Default dynamics;It repeatedly clicks and refers to that number of clicks is more than preset times within a preset time;Slide refer on the screen into
Row sliding;Duplication operation refers to the operation that text information is copied to pasting boards in screen.
Step S120: the current pressure values of the touch control operation are obtained, and obtain the electricity based on the current pressure values
The current volume value of sub-device.
In the present embodiment, it when detecting the touch control operation acted on screen, is acted on screen for example, detecting
When pressing dynamics are more than default dynamics, the current of the touch control operation can be detected by being set to the pressure sensor below screen
Pressure value, it is possible to understand that, due to touch control operation current pressure values may real-time change, the pressure sensor is real-time
The current pressure values of the touch control operation are detected, to promote the accuracy of current pressure values acquisition.
Further, after obtaining the current pressure values, the electronic device and current is obtained based on the current pressure values
The corresponding current volume value of pressure value, wherein current volume value can be calculated by current pressure values in real time according to preset algorithm,
The corresponding relationship of multiple pressure values and multiple volume values can also be preset, and lookup and current pressure values from corresponding relationship
Corresponding current volume value etc..Specifically, the volume value that according to current pressure values, can adjust electronic device previous moment obtains
The current volume value, wherein the volume value of the previous moment can be the electronic device before obtaining current volume value
Volume value, wherein as a kind of mode, which is positively correlated with current volume value, i.e., current pressure values are bigger, then
The current volume value is bigger;Current pressure values are smaller, then the current volume value is smaller.
Step S130: the driver is controlled according to the current volume value and drives the screen vibration sounding.
In the present embodiment, after determining current volume value, driver driving screen vibration is controlled according to current volume value
Dynamic sounding.Specifically, when the current volume value is greater than the volume value of previous moment, then electronic device control driver increases
The volume of screen sounding, when the current volume value is equal to the volume value of previous moment, then electronic device control driver is protected
The volume for holding screen sounding, when the current volume value is less than the volume value of previous moment, then the electronic device controls driver
The volume for reducing screen sounding, so that the volume of electronic device is adjusted according to the touch control operation acted on screen, to promote sound
It measures the convenience adjusted and reduces the loss to volume key.
The first sounding control method provided by the embodiments of the present application, in the case where electronic device is in screen beep pattern, inspection
Survey the touch control operation acted on screen, wherein under screen beep pattern, screen vibration sounding is driven by driver, is obtained
The current pressure values of the touch control operation, and the current volume value based on current pressure values acquisition electronic device, according to current volume
It is worth control driver and drives screen vibration sounding, to acts on the pressure value on screen by detection, and certainly according to pressure value
The volume of dynamic adjustment screen sounding, to promote the convenience of volume adjustment and reduce the loss to volume key.
Referring to Fig. 5, Fig. 5 shows the flow diagram of second of sounding control method provided by the embodiments of the present application.
It will be explained in detail below for process shown in fig. 5, the method can specifically include following steps:
Step S210: when the electronic device is in screen beep pattern, detection acts on the touch-control on the screen
Operation, wherein under the screen beep pattern, the screen vibration sounding is driven by the driver.
Step S220: the current pressure values of the touch control operation are obtained.
Step S230: according to default mapping table, determine that the corresponding volume value of the current pressure values is target volume
Value, wherein include the corresponding relationship of pressure value and volume value in the default mapping table.
In the present embodiment, it is stored with default mapping table, includes pressure value and sound in the default mapping table
The corresponding relationship of magnitude, that is to say, that be included under different pressures value in mapping table, the different volumes of the electronic device
Value.
Specifically, according to the current pressure values, it is corresponding current pressure values can be found in default mapping table
Volume value, using the volume value found as target sound magnitude.
Step S240: using the target sound magnitude as the current volume value.
Further, using the target sound magnitude as current volume value, to obtain the corresponding current sound of the current pressure values
Magnitude.
Step S250: the driver is controlled according to the current volume value and drives the screen vibration sounding.
Second of sounding control method provided by the embodiments of the present application, when electronic device is in screen beep pattern, inspection
The touch control operation acted on screen is surveyed, the current pressure values of the touch control operation are obtained, according to default mapping relations, is determined current
The corresponding volume value of pressure value is target sound magnitude, wherein includes pair of pressure value and volume value in the default mapping table
It should be related to, using the target sound magnitude as current volume value, driver be controlled according to current volume value and drives screen vibration sounding,
Compared to the first sounding control method, present aspect can also preset and store the corresponding relationship of pressure value and volume value simultaneously
It saves, promotes the acquisition speed of volume value.
Referring to Fig. 6, Fig. 6 shows the flow diagram of the third sounding control method provided by the embodiments of the present application.
It will be explained in detail below for process shown in fig. 6, the method can specifically include following steps:
Step S310: when the electronic device is in screen beep pattern, detection acts on the touch-control on the screen
Operation, wherein under the screen beep pattern, the screen vibration sounding is driven by the driver.
Step S320: obtaining the current pressure values of the touch control operation, and detects the current touch-control position of the touch control operation
It sets.
Referring to Fig. 7, in the present embodiment, the screen includes the first sound-emanating areas A and the second sound-emanating areas B, wherein
The size relation and positional relationship of the first sound-emanating areas A and the second sound-emanating areas B it is not limited here, for example, this first hair
Sound area domain A can be located at the top of the second sound-emanating areas B, the lower section that can be located at the second sound-emanating areas B, can be located at the second hair
The left of sound area domain B can also be located at the lower section etc. of the second sound-emanating areas, meanwhile, the size of the first sound-emanating areas A can be with
Greater than the second sound-emanating areas B, the second sound-emanating areas B can be equal to, might be less that the second sound-emanating areas B, it is not limited here.
Meanwhile the driver has and the first vibration unit that the first sound-emanating areas is correspondingly arranged and corresponding with the second sound-emanating areas sets
The second vibration unit set, wherein the quantity of the first vibration unit and the second vibration unit is in the present embodiment without limitation.
Further, obtain the touch control operation pressure value when, while to the current position of touch of the touch control operation into
Row detection, it is possible to understand that, since the screen of the electronic device is touching display screen, which, which can detecte, acts on
Touch control operation on each position of screen, and the corresponding current position of touch for obtaining the touch control operation can as a kind of mode
To obtain the co-ordinate position information of each touch point of the touch control operation.
It should be understood that since screen includes the first sound-emanating areas and the second sound-emanating areas, the current touch-control position
It sets and is likely located at the first sound-emanating areas, is likely located at the second sound-emanating areas, it is also possible to while being located at the first sound-emanating areas and second
Sound-emanating areas etc., wherein as a kind of mode, obtain the co-ordinate position information of each touch point of the touch control operation first, so
The seat for the enclosing region for afterwards forming the co-ordinate position information of each touch point and the first sound-emanating areas and the second sound-emanating areas
Cursor position information compares, to obtain the enclosing region where each touch point, so as to obtain the current touch-control position
Set corresponding sound-emanating areas.
Further, as a kind of mode, when judging the current position of touch while being located at the first sound-emanating areas and second
When sound-emanating areas, the touch-control enclosing region of the available current touch control operation is calculated based on the touch-control enclosing region, is obtained
Take the center of the touch-control enclosing region, wherein the center is the touch-control center of current position of touch, then passes through
The mode that the touch-control center is overlapped with the co-ordinate position information of the first sound-emanating areas or the second sound-emanating areas is judged, to judge
The touch-control center is located at the first sound-emanating areas or the second sound-emanating areas.
Step S330: when the current position of touch is located at first sound-emanating areas, the current pressure values are based on
The volume value for increasing the electronic device obtains the current volume value.
As a kind of mode, when the current position of touch is located at first sound-emanating areas or current touch control operation
Touch-control center when being located at the first sound-emanating areas, then the volume value for increasing the electronic device based on the current pressure values obtains
Obtain current volume value, it is possible to understand that, in the present embodiment, first sound-emanating areas can be regarded as the key of " volume+", because
This, the touch control operation for acting on the first sound-emanating areas can be regarded as the volume that instruction increases the electronic device, then electronic device
Increase the volume of the electronic device according to the current volume value in response.
Further, as a kind of mode, when the current position of touch is located at the first sound-emanating areas or current touch-control
When the touch-control center of operation is located at the first sound-emanating areas, then increase first sound-emanating areas based on the current pressure values
Volume value obtains the current volume value, it is possible to understand that, at this point, the volume value of first sound-emanating areas increases, the second articulating region
The volume value in domain remains unchanged, and is changed with controlling the volume of corresponding sound-emanating areas according to the user's choice.
Step S340: when the current position of touch is located at second sound-emanating areas, the current pressure values are based on
The volume value for reducing the electronic device obtains the current volume value.
Alternatively, when the current position of touch is located at second sound-emanating areas, or current touch-control behaviour
When the touch-control center of work is located at second sound-emanating areas, then reduce the volume value of the electronic device based on the current pressure values
Obtain current volume value, it is possible to understand that, in the present embodiment, second sound-emanating areas can be regarded as the key of " volume-",
Therefore, the touch control operation for acting on the second sound-emanating areas can be regarded as the volume that instruction reduces the electronic device, then electronics fills
Set the volume for reducing the electronic device according to the current volume value in response.
Further, alternatively, when the current position of touch is located at the second sound-emanating areas, or current touching
When the touch-control center of control operation is located at the second sound-emanating areas, then reduce first sound-emanating areas based on the current pressure values
Volume value obtain current volume value, it is possible to understand that, at this point, the volume value of second sound-emanating areas reduces, the first articulating region
The volume value in domain remains unchanged, and is changed with controlling the volume of corresponding sound-emanating areas according to the user's choice.
Step S350: the driver is controlled according to the current volume value and drives the screen vibration sounding.
The third sounding control method provided by the embodiments of the present application, when electronic device is in screen beep pattern, inspection
The touch control operation acted on screen is surveyed, obtains the current pressure values of the touch control operation, and detect the current touching of the touch control operation
Position is controlled, when current position of touch is located at the first sound-emanating areas, the volume value for increasing electronic device based on current pressure values is obtained
Current volume value is obtained, when current position of touch is located at the second sound-emanating areas, reduces the sound of electronic device based on current pressure values
Magnitude obtains current volume value, controls driver according to current volume value and drives screen vibration sounding, thus compared to the first
Screen can also be divided into different sound-emanating areas and control to adjust volume respectively by sounding control method, this method, promoted and adjusted
The convenience of section.
Referring to Fig. 8, Fig. 8 shows the module frame chart of sounding controller 300 provided by the embodiments of the present application.The sounding
300 be applied to electronic device, the electronic device include the screen for capableing of vibration sounding, for drive the driver of screen sounding with
And the pressure sensor for detecting the pressure acted on the screen.It will be illustrated below for block diagram shown in Fig. 8, institute
Stating sounding controller 300 includes: touch control operation detection module 310, pressure value acquisition module 320 and sounding control module
330, in which:
Touch control operation detection module 310, for when the electronic device is in screen beep pattern, detection to act on institute
State the touch control operation on screen, wherein under the screen beep pattern, the screen vibration hair is driven by the driver
Sound.
Pressure value obtains module 320, for obtaining the current pressure values of the touch control operation, and is based on the current pressure
Value obtains the current volume value of the electronic device.Further, it includes: that pressure value obtains that the pressure value, which obtains module 320,
Submodule, target sound magnitude determine submodule and current volume value acquisition submodule, in which:
Pressure value acquisition submodule, for obtaining the current pressure values of the touch control operation.
Target sound magnitude determines submodule, for determining that the current pressure values are corresponding according to mapping table is preset
Volume value is target sound magnitude, wherein includes the corresponding relationship of pressure value and volume value in the default mapping table.
Current volume value acquisition submodule, for using the target sound magnitude as the current volume value.
Further, the screen include the first sound-emanating areas and the second sound-emanating areas, the driver have with it is described
The first vibration unit that first sound-emanating areas is correspondingly arranged and the second vibration unit being correspondingly arranged with the second sound-emanating areas, institute
It states pressure value and obtains module 320, further includes: position of touch detection module, touch-control center obtain module, touch-control center
Judgment module and current volume value obtain module, in which:
Position of touch detection module, for detecting the current position of touch of the touch control operation.
Touch-control center obtain module, for when the current position of touch simultaneously be located at first sound-emanating areas and
When second sound-emanating areas, the touch-control center of the current position of touch is obtained.
Touch-control center judgment module, for judging that the touch-control center is located at first sound-emanating areas or institute
State the second sound-emanating areas.
Current volume value obtains module, for being based on when the current position of touch is located at first sound-emanating areas
The volume value that the current pressure values increase the electronic device obtains the current volume value.
Current volume value obtains module, is also used to when the current position of touch is located at second sound-emanating areas, base
The current volume value is obtained in the volume value that the current pressure values reduce the electronic device.
Sounding control module 330 drives the screen to vibrate for controlling the driver according to the current volume value
Sounding.
In conclusion sounding control method, device, electronic device and storage medium provided by the embodiments of the present application, first
First in the case where electronic device is in screen beep pattern, detection acts on the touch control operation on screen, wherein in screen beep pattern
Under, screen vibration sounding is driven by driver, then obtains the current pressure values of the touch control operation, and obtain based on current pressure values
The current volume value of electronic device is obtained, driver is finally controlled according to current volume value and drives screen vibration sounding, to pass through
Detection acts on the pressure value on screen, and according to the volume of pressure value adjust automatically screen sounding, to promote volume adjustment
The loss of convenience and reduction to volume key.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight
Point explanation is all differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng
See the part explanation of embodiment of the method.For arbitrary processing mode described in embodiment of the method, in device reality
Apply in example can no longer be repeated in Installation practice by corresponding processing modules implement one by one.
A kind of electronic device provided by the present application is illustrated below in conjunction with Fig. 9.
Fig. 1, Fig. 2 and Fig. 9 are please referred to, is based on above-mentioned sounding control method, device, the embodiment of the present application provides one kind can
Execute the electronic device 100 of aforementioned sounding control method.Electronic device 100 includes capableing of the screen 120 of vibration sounding, for driving
Move the driver 131 of screen sounding, for detecting the pressure sensor 114G acted on screen, memory 104 and processing
Device 102, the screen 120, driver 131, pressure sensor 114G and memory 104 are couple to the processor 102.Wherein,
Memory 104 is stored with the program that can execute content in previous embodiment, and processor 102 can execute the memory 104
The program of storage.
Another electronic device provided by the present application is illustrated below in conjunction with Figure 10.
Fig. 1, Fig. 2 and Figure 10 are please referred to, based on above-mentioned sounding control method, device, the embodiment of the present application is also provided
A kind of electronic device 100.
Illustratively, electronic device 100 can be various types of calculating that are mobile or portable and executing wireless communication
Any one of machine system equipment (only illustratively shows a kind of form) in Fig. 1.Specifically, electronic device 100 can be with
For mobile phone or smart phone (for example, being based on iPhone TM, the phone based on Android TM), portable gaming device
(such as Nintendo DS TM, PlayStation Portable TM, Gameboy Advance TM, iPhone TM), knee
Laptop, PDA, portable Internet appliance, music player and data storage device, other handheld devices and such as
Wrist-watch, earphone, pendant, earphone etc., electronic device 100 can also for other wearable devices (for example, such as electronic glasses,
Electronics clothes, electronics bracelet, electronics necklace, electronics tatoo, the headset equipment (HMD) of electronic equipment or smartwatch).
Electronic device 100 can also be that any one of multiple electronic equipments, multiple electronic equipments include but is not limited to
Cellular phone, smart phone, other wireless telecom equipments, personal digital assistant, audio player, other media players, sound
Happy logger, video recorder, camera, other medium recorders, radio, Medical Devices, vehicle transport instrument, calculator, can
Program remote controler, pager, laptop computer, desktop computer, printer, netbook computer, personal digital assistant
(PDA), portable media player (PMP), Motion Picture Experts Group's (MPEG-1 or MPEG-2) audio layer 3 (MP3) play
Device, portable medical device and digital camera and combinations thereof.
In some cases, electronic device 100 can execute multiple functions and (for example, playing music, show video, storage
Picture and send and receive call).If desired, electronic device 100 can be such as cellular phone, media play
The portable device of device, other handheld devices, watch equipment, pendant equipment, receiver device or other compact portable equipment.
Please continue to refer to Fig. 1, electronic device 100 includes electronic body portion 10, and the electronic body portion 10 includes shell 12
And the screen 120 on the shell 12 is set.Metal can be used in the shell 12, such as steel, aluminium alloy are made.The present embodiment
In, the screen 120 generally includes display panel 111, may also comprise and carries out touch-control behaviour to the display panel 111 for responding
The circuit etc. of work.The display panel 111 can be a liquid crystal display panel (Liquid Crystal Display, LCD),
In some embodiments, the display panel 111 is a screen 109 simultaneously.
Please refer to Figure 10, in actual application scenarios, the electronic device 100 can be used as intelligent mobile phone terminal into
It exercises and uses, the electronic body portion 10 also typically includes one or more (only showing one in figure) processors in this case
102, memory 104, RF (Radio Frequency, radio frequency) module 106, voicefrequency circuit 110, sensor 114, input module
118, power module 122.It will appreciated by the skilled person that structure shown in Fig. 10 is only to illustrate, not to institute
The structure for stating electronic body portion 10 causes to limit.For example, the electronic body portion 10 may also include it is more than shown in Figure 10 or
The less component of person, or with the configuration different from shown in Figure 10.
It will appreciated by the skilled person that all other component belongs to for the processor 102
It is coupled between peripheral hardware, the processor 102 and these peripheral hardwares by multiple Peripheral Interfaces 124.The Peripheral Interface 124 can
Based on following standard implementation: Universal Asynchronous Receive/sending device (Universal Asynchronous Receiver/
Transmitter, UART), universal input/output (General Purpose Input Output, GPIO), serial peripheral connect
Mouthful (Serial Peripheral Interface, SPI), internal integrated circuit (Inter-Integrated Circuit,
I2C), but it is not limited to above-mentioned standard.In some instances, the Peripheral Interface 124 can only include bus;In other examples
In, the Peripheral Interface 124 may also include other elements, such as one or more controller, such as connecting the display
The display controller of panel 111 or storage control for connecting memory.In addition, these controllers can also be from described
It detaches, and is integrated in the processor 102 or in corresponding peripheral hardware in Peripheral Interface 124.
The memory 104 can be used for storing software program and module, and the processor 102 is stored in institute by operation
The software program and module in memory 104 are stated, thereby executing various function application and data processing.For example, memory
The corresponding software program of 104 storage sounding control methods provided by the above embodiment and module, processor 102 are operationally stated
When the corresponding software program of sounding control method and module that embodiment provides, sounding controlling party provided by the above embodiment is executed
Method.The memory 104 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic
Property storage device, flash memory or other non-volatile solid state memories.In some instances, the memory 104 can be further
Including the memory remotely located relative to the processor 102, these remote memories can be by being connected to the network to described
Electronic body portion 10 or the screen 120.The example of above-mentioned network include but is not limited to internet, intranet, local area network,
Mobile radio communication and combinations thereof.
The RF module 106 is used to receive and transmit electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, thus
It is communicated with communication network or other equipment.The RF module 106 may include various existing for executing these functions
Circuit element, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module
(SIM) card, memory etc..The RF module 106 can be carried out with various networks such as internet, intranet, wireless network
Communication is communicated by wireless network and other equipment.Above-mentioned wireless network may include cellular telephone networks, wireless
Local area network or Metropolitan Area Network (MAN).Various communication standards, agreement and technology can be used in above-mentioned wireless network, including but not limited to
Global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communication skill
Art (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (wideband code
Division multiple access, W-CDMA), Code Division Multiple Access (Code division access, CDMA), time-division
Multiple access technology (time division multiple access, TDMA), adopting wireless fidelity technology (Wireless, Fidelity,
WiFi) (such as American Institute of Electrical and Electronics Engineers's standard IEEE 802.10A, IEEE 802.11b, IEEE802.11g and/
Or IEEE 802.11n), the networking telephone (Voice over internet protocal, VoIP), worldwide interoperability for microwave accesses
It is (Worldwide Interoperability for Microwave Access, Wi-Max), other for mail, Instant Messenger
The agreement and any other suitable communications protocol of news and short message, or even may include that those are not developed currently yet
Agreement.
Voicefrequency circuit 110, earpiece 101, sound jack 103, microphone 105 provide user and the electronic body portion jointly
Audio interface between 10 or the screen 120.Specifically, the voicefrequency circuit 110 receives sound from the processor 102
Voice data is converted to electric signal by data, by electric signal transmission to the earpiece 101.The earpiece 101 converts electric signal
The sound wave that can be heard for human ear.The voicefrequency circuit 110 receives electric signal also from the microphone 105, and electric signal is converted
For voice data, and by data transmission in network telephony to the processor 102 to be further processed.Audio data can be from institute
It states at memory 104 or is obtained by the RF module 106.In addition, audio data also can store to the memory 104
In or sent by the RF module 106.
The sensor 114 is arranged in the electronic body portion 10 or in the screen 120, the sensor 114
Example includes but is not limited to: optical sensor, operation sensor, pressure sensor, gravity accelerometer and other biographies
Sensor.
Specifically, the sensor 114 can also include light sensor 114F, referring to Figure 10, in Figure 10 institute
In the embodiment shown, the light sensor 114F and the pressure sensor 114G are arranged adjacent to the display panel 111.Institute
State light sensor 114F can when there is object close to the screen 120, such as when the electronic body portion 10 is moved in one's ear,
The processor 102 closes display output.
As a kind of motion sensor, gravity accelerometer can detect in all directions (generally three axis) and accelerate
The size of degree can detect that size and the direction of gravity when static, can be used to identify the application of 100 posture of electronic device
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc..
In addition, the electronic body portion 10 can also configure other sensors such as gyroscope, barometer, hygrometer, thermometer, herein no longer
It repeats,
In the present embodiment, the input module 118 may include the screen 109 being arranged on the screen 120, described
Screen 109 collects the touch operation of user on it or nearby, and (for example user uses any suitable object such as finger, stylus
Or operation of the attachment on the screen 109 or near the screen 109), and driving is corresponding according to a pre-set procedure
Attachment device.Optionally, the screen 109 may include touch detecting apparatus and touch controller.Wherein, the touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to the touch controller;Institute
It states touch controller and receives touch information from the touch detecting apparatus, and the touch information is converted into contact coordinate, then
The processor 102 is given, and order that the processor 102 is sent can be received and executed.Furthermore, it is possible to using resistance
The multiple types such as formula, condenser type, infrared ray and surface acoustic wave realize the touch detection function of the screen 109.In addition to described
Screen 109, in other change embodiments, the input module 118 can also include other input equipments, such as key 107.
The key 107 for example may include the character keys for inputting character, and the control button for triggering control function.Institute
The example for stating control button includes " returning to main screen " key, power on/off key etc..
The information and the electronic body that the screen 120 is used to show information input by user, is supplied to user
The various graphical user interface in portion 10, these graphical user interface can be by figure, text, icon, number, video and it is any
Combination is to constitute, and in an example, the screen 109 may be disposed on the display panel 111 thus with the display surface
Plate 111 constitutes an entirety.
The power module 122 is used to provide power supply to the processor 102 and other each components.Specifically,
The power module 122 may include power-supply management system, one or more power supply (such as battery or alternating current), charging circuit,
Power-fail detection circuit, inverter, indicator of the power supply status and it is other arbitrarily with the electronic body portion 10 or the screen
The generation, management of electric power and the relevant component of distribution in curtain 120.
The electronic device 100 further includes locator 119, and the locator 119 is for determining 100 institute of electronic device
The physical location at place.In the present embodiment, the locator 119 realizes the positioning of the electronic device 100 using positioning service,
The positioning service, it should be understood that the location information of the electronic device 100 is obtained by specific location technology (as passed through
Latitude coordinate), it is marked on the electronic map by the technology or service of the position of positioning object.
It should be understood that above-mentioned electronic device 100 is not limited to intelligent mobile phone terminal, should refer to can moved
Computer equipment used in dynamic.Specifically, electronic device 100, refers to the mobile computer for being equipped with intelligent operating system
Equipment, electronic device 100 include but is not limited to smart phone, smartwatch, tablet computer, etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process or the method description described in other ways in flow chart or herein is construed as, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be by the application
Embodiment person of ordinary skill in the field understood.
The logic and/or step for indicating or describing in other ways herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
(such as computer based system, the system including processor other can be held from instruction for instruction execution system, device or equipment
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
Its suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.In addition, in each embodiment of the application
In each functional unit can integrate in a processing module, be also possible to each unit and physically exist alone, can also two
A or more than two units are integrated in a module.Above-mentioned integrated module both can take the form of hardware realization, can also
It is realized in the form of using software function module.If the integrated module realized in the form of software function module and as
Independent product when selling or using, also can store in a computer readable storage medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application
Type.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although
The application is described in detail with reference to the foregoing embodiments, those skilled in the art are when understanding: it still can be with
It modifies the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;And
These are modified or replaceed, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and
Range.