CN110087012A - A kind of control method and electronic equipment of camera - Google Patents

A kind of control method and electronic equipment of camera Download PDF

Info

Publication number
CN110087012A
CN110087012A CN201910310356.8A CN201910310356A CN110087012A CN 110087012 A CN110087012 A CN 110087012A CN 201910310356 A CN201910310356 A CN 201910310356A CN 110087012 A CN110087012 A CN 110087012A
Authority
CN
China
Prior art keywords
electronic equipment
camera
video calling
user
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910310356.8A
Other languages
Chinese (zh)
Other versions
CN110087012B (en
Inventor
黎晶
郭东平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202011079446.XA priority Critical patent/CN112422874B/en
Priority to CN201910310356.8A priority patent/CN110087012B/en
Publication of CN110087012A publication Critical patent/CN110087012A/en
Application granted granted Critical
Publication of CN110087012B publication Critical patent/CN110087012B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/142Constructional details of the terminal equipment, e.g. arrangements of the camera and the display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices

Abstract

Embodiments herein provides the control method and electronic equipment of a kind of camera, is related to field of terminal technology, can avoid going up and down camera in video calling access failure, to improve the usage experience of user and the service life of camera.This method comprises: electronic equipment receives the video calling request from the first contact person;It is requested in response to the video calling, the first user interface is presented in electronic equipment, wherein when first user interface is presented, camera is contained in the shell;Electronic equipment detects that user receives the event of the video calling request;In response to the event, electronic equipment reaches the camera outside the shell out of described shell.

Description

A kind of control method and electronic equipment of camera
Technical field
This application involves field of terminal technology more particularly to the control methods and electronic equipment of a kind of camera.
Background technique
With the development of development of Mobile Internet technology, large-size screen monitors terminal is gradually received by user, and becomes a kind of trend.With Mobile phone is illustrated as electronic equipment, and the screen accounting of mobile phone refers to that the area of mobile phone display screen is opposite with Mobile telephone front panel area Ratio.When screen accounting is higher, the display area of mobile phone is bigger, and the display effect that user obtains is more preferably.
In order to improve the screen accounting of terminal as far as possible, some manufacturers are provided with lift camera in mobile phone.Such as Fig. 1 It is shown, it is provided with liftable panel 12 in mobile phone 11, is provided with the devices such as camera 13 on panel 12.It is needing using camera Scene under, mobile phone can rise panel 12 automatically and be shot.And in the case where not needing the scene using camera, mobile phone can be by panel 12 are retracted to interior of mobile phone, the bigger display screen of settable area on such Mobile telephone front panel.
Mobile phone 11 is in operation with Video chat function in application, asking if receiving the video calling that contact person sends It asks, then application can respond the interface that the video calling request call opens camera, and triggering mobile phone 11 rises on panel 12 automatically Camera 13.But user does not receive video calling request also at this time, and camera 13 rises the use that will affect user automatically Experience.In addition, if user refuses the request of this video calling, or do not answer video calling request, then mobile phone 11 can be automatic Camera 13 is withdrawn, stretching back and forth for camera 13 can reduce the service life of camera 13 and associated components.
Summary of the invention
A kind of control method and electronic equipment for being designed to provide camera of the application, can avoid in video calling Camera is gone up and down when access failure, to improve the usage experience of user and the service life of camera.
Above-mentioned target and other targets will be reached by the feature in independent claims.Further implementation exists It is embodied in dependent claims, the description and the appended drawings.
In a first aspect, providing a kind of control method of camera, this method can be in the electronic equipment with camera It realizes, wherein camera can be contained in the shell of electronic equipment or stretch out outside the shell.Above-mentioned control method specifically includes: Electronic equipment can receive the video calling request from the first contact person.It is used for example, electronic equipment can receive the first contact person The video calling request that another electronic equipment is sent.In another example the receivable application server forwarding of electronic equipment comes from first The video calling of contact person is requested.It is requested in response to above-mentioned video calling, the first user interface can be presented in electronic equipment.For example, First user interface can be interface 801 shown in Fig. 8.At this point, the camera of electronic equipment is contained in shell, do not stretch Out.After electronic equipment detects that user receives the event of video calling request, electronic equipment may be in response to the event, will take the photograph As head reaches outside shell out of shell.
As can be seen that not detecting that user receives the video calling after electronic equipment receives video calling request Before request, electronic equipment will not will be contained in the intracorporal camera of shell and stretch out.Only when electronic equipment detects that user receives After video calling request, electronic equipment can just rise camera.So, in video calling access failure, electronics is set The standby usage experience that not will pop up camera interference user, meanwhile, electronics is set if user does not answer the request of this video calling It is standby to reduce the pop-up of a camera, to improve the service life of lift camera.
It in one possible implementation, may include being requested for receiving video calling in above-mentioned first user interface First control (such as control 802 in Fig. 8), and the second control (such as control in Fig. 8 for refusing video calling request Part 803);So, electronic equipment detects that user receives the event that this video calling is requested and refers to: electronic equipment detects use Choose the operation of the first control in family.That is, illustrating user after electronic equipment detects that user chooses the first control The request of this video calling is received, then electronic equipment can reach camera outside shell out of shell.
In one possible implementation, the video calling from the first contact person is received in electronic equipment request it It afterwards, can also include: that electronic equipment calls audio manager to inquire current audio mode;So, electronic equipment detects use The event that family receives the request of this video calling refers to: electronic equipment inquires the event that the audio mode is call mode.? That is illustrating that user has received this video after it is call mode that electronic equipment, which inquires current audio mode, Call request, then electronic equipment can reach camera outside shell out of shell.
Illustratively, electronic equipment calls audio manager to inquire current audio mode, and can specifically include: electronics is set Standby getMode () function for calling audio manager to provide, the return value of the getMode () function is current audio mould Formula;Wherein, audio mode can be call mode MODE_IN_COMMUNICATION, ring tone modes MODE_RINGTONE, electricity One in words mode MODE_IN_CALL and general mode MODE_NORMAL.
In one possible implementation, the video calling from the first contact person is received in electronic equipment request it It afterwards, can also include: that electronic equipment obtains the communication signaling sent to server;So, electronic equipment detects that user receives The event of this video calling request refers to: electronic equipment inquires the thing that the first field in the communication signaling is the first value Part.That is, when electronic equipment inquire to server send communication signaling in the first field be the first value after, explanation User has received the request of this video calling, then electronic equipment can reach camera outside shell out of shell.
In one possible implementation, above-mentioned video calling request can be the first contact person in the first application and send 's;It so, can also include: electronic equipment before the event that electronic equipment detects that user receives video calling request Determine that the first application is preset vt applications.When the first application is preset vt applications, electronic equipment can Continue to test whether user receives the request of this video calling;Otherwise, illustrate that first applies the application permission without using camera, Then electronic equipment no longer needs to continue to test whether user receives the request of this video calling.
In one possible implementation, after electronic equipment reaches camera outside shell out of shell, electricity Second user interface can also be presented in sub- equipment, include that electronic equipment uses the collected figure of the camera in second user interface Picture.For example, can show interface 1201 as shown in figure 12 after electronic equipment stretches out camera.Certainly, electronic equipment can be with Also real-time display realizes this video call process in third user interface to the image that first contact person is sent.
In one possible implementation, camera is reached to the process outside shell in electronic equipment out of shell In, third user interface can also be presented in electronic equipment, for example, can show when electronic equipment stretches out camera as in Figure 11 (a) or (b) interface 1101 shown in.It may include prompt information in third user interface, the prompt information is for prompting user just Opening the camera.For example, the prompt information can be to prompt 1102 shown in (a) in Figure 11.
In one possible implementation, in above-mentioned second user interface can also include the first user images, first User images are the user images taken in the last shooting process.For example, first user images can be in Figure 11 (b) user images 1103 shown in.Alternatively, electronic equipment can also carry out the first user images the Fuzzy Processing such as to blur.This Sample, user's first user images within this period for waiting camera to rise may provide the user with more life-like vision and are in It is existing.Meanwhile first user images can be softer transition be this camera rise after collected user images, improve User's makes user experience.
In addition, the above method can equally be well applied to the electronic equipment for being equipped with non-lift formula camera, the embodiment of the present application Any restrictions are not done to this.
Second aspect, provides a kind of control method of camera, and this method can be in the electronic equipment with camera It realizes, wherein camera can be contained in the shell of electronic equipment or stretch out outside the shell.Above-mentioned control method specifically includes: Electronic equipment can receive the first connection in vt applications (such as application of the support video call function such as wechat, contact person) The video calling request that human hair is come;It is requested in response to above-mentioned video calling, the first user interface can be presented in electronic equipment.For example, First user interface can be interface 801 shown in Fig. 8.At this point, the camera of electronic equipment is contained in shell, do not stretch Out.Also, after receiving the video calling request that the first contact person sends, electronic equipment can call audio manager to provide GetMode () function, obtains the return value of getMode () function, which is also current audio mode.Wherein, should Audio mode is call mode MODE_IN_COMMUNICATION, ring tone modes MODE_RINGTONE, telephony mode MODE_ One in IN_CALL or general mode MODE_NORMAL.If the return value of getMode () function is call mode, say Bright user has received above-mentioned video calling request, then electronic equipment can reach camera outside shell out of shell.Meanwhile During stretching out camera out of shell, second user interface can be presented in electronic equipment, and electronic equipment can be used second User is prompted to stretch out camera in the interface of family.When camera out of shell it is fully extended to shell after, electronic equipment can Starting camera starts to acquire image, and acquired image is presented in real time in third user interface, realizes and first The video calling of contact person.
The third aspect provides a kind of electronic equipment, comprising: camera, the camera can be contained in the shell of electronic equipment In vivo or stretch out outside shell;Touch screen;One or more processors;Memory;Wherein, one or more is stored in the memory A computer program;Processor is coupled with camera, touch screen and memory, when electronic equipment operation, the processor One or more computer programs of memory storage are executed, so that electronic equipment executes camera described in any of the above embodiments Control method.
Fourth aspect provides a kind of computer storage medium, including computer instruction, when computer instruction is set in electronics When standby upper operation, so that electronic equipment executes the control method of the camera as described in any one of first aspect.
5th aspect, provides a kind of computer program product, when computer program product is run on an electronic device, So that electronic equipment executes the control method of the camera as described in any one of first aspect.
It is to be appreciated that electronic equipment described in the third aspect of above-mentioned offer, computer described in fourth aspect store Computer program product described in medium and the 5th aspect is used to execute corresponding method presented above, therefore, Attainable beneficial effect can refer to the beneficial effect in corresponding method presented above, details are not described herein again.
Detailed description of the invention
Fig. 1 is the schematic diagram for being provided with the electronic equipment of lift camera in the prior art;
Fig. 2 is a kind of configuration diagram of communication system provided by the embodiments of the present application;
Fig. 3 is the structural schematic diagram one of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 4 is the structural schematic diagram two of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 5 is the configuration diagram of a kind of electronic equipment internal operating system provided by the embodiments of the present application;
Fig. 6 is a kind of schematic diagram of a scenario one of camera control method provided by the embodiments of the present application;
Fig. 7 is a kind of schematic diagram of a scenario two of camera control method provided by the embodiments of the present application;
Fig. 8 is a kind of schematic diagram of a scenario three of camera control method provided by the embodiments of the present application;
Fig. 9 is a kind of schematic diagram of a scenario four of camera control method provided by the embodiments of the present application;
Figure 10 is a kind of schematic diagram of a scenario five of camera control method provided by the embodiments of the present application;
Figure 11 is a kind of schematic diagram of a scenario six of camera control method provided by the embodiments of the present application;
Figure 12 is a kind of schematic diagram of a scenario seven of camera control method provided by the embodiments of the present application.
Specific embodiment
Term used in following embodiment is intended merely to for the purpose of describing particular embodiments, and is not intended as pair The limitation of the application.As the description of the present application and it is used in the attached claims, odd number expression form " one It is a ", "an", " described ", " above-mentioned ", "the" and " this " be intended to also include such as " one or more " this expression-form, Unless hereinafter clearly there is opposite instruction thereon.It is also understood that in the following embodiment of the application, "at least one", " one or more " refer to one, two or more.Term "and/or", for describing the incidence relation of affiliated partner, table Show that there may be three kinds of relationships;For example, A and/or B, can indicate: individualism A exists simultaneously A and B, the feelings of individualism B Condition, wherein A, B can be odd number or plural number.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
The reference " one embodiment " described in the present specification or " some embodiments " etc. mean the one of the application It include special characteristic, structure or the feature in conjunction with embodiment description in a or multiple embodiments.As a result, in the present specification Difference occur sentence " in one embodiment ", " in some embodiments ", " in some other embodiment ", " In other embodiment " etc. it is uninevitable all referring to identical embodiment, mean " one or more but not all Embodiment ", only otherwise in addition especially emphasize.The terms "include", "comprise", " having " and their deformation are all Mean " including but not limited to ", only otherwise in addition especially emphasizes.
As shown in Fig. 2, providing a kind of communication system 100, which may include the first electronic equipment (example Such as electronic equipment 101) and the second electronic equipment (such as electronic equipment 102).
Illustratively, electronic equipment 101 can connect (example with electronic equipment 102 by one or more communication networks 104 It is such as wired or wireless).Above-mentioned communication network 104 can be local area network (local area networks, LAN), be also possible to wide Domain net (wide area networks, WAN), such as internet.Any of network communication can be used in the communication network 104 Agreement realizes that above-mentioned network communication protocol can be various wired or wireless communication agreements, such as Ethernet, general serial is total Line (universal serial bus, USB), firewire (FIREWIRE), global system for mobile communications (global system For mobile communications, GSM), general packet radio service (general packet radio service, GPRS), CDMA accesses (code division multiple access, CDMA), wideband code division multiple access (wideband Code division multiple access, WCDMA), time division CDMA (time-division code division Multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), bluetooth, Wireless Fidelity Voice communication (the voice over Internet of (wireless fidelity, Wi-Fi), NFC, internet protocol-based Protocol, VoIP), support network slice framework communication protocol or any other suitable communication protocol.Illustratively, exist In some embodiments, electronic equipment 101 can establish Wi-Fi connection by Wi-Fi agreement and electronic equipment 102.
In some embodiments, which can also include application server 105.Application server 105 can be with There is one or more.Application server 105 is used for through one or more communication networks 104 and electronic equipment 101, electronic equipment The application (application, APP) installed on 102 is communicated.
With the video calling APP citing with video call function, user A can be used the video in electronic equipment 101 logical It talks about APP and user B and carries out video calling.For example, user A can be invited in the video calling APP of electronic equipment 101 user B into Row video calling, in turn, electronic equipment 101 can send the video calling request for inviting user B to application server 105.The view The parameters such as mark (for example, pet name of user B, account) of the user B in video calling APP can be carried in frequency call request. So, application server 105 receive the video calling request after, can be requested according to video calling in user B in video calling Mark in APP determines that the recipient of this call request is user B, and inquiring with the associated electronic equipment of user B is electronics Equipment 102.In turn, the video calling request that electronic equipment 101 is sent can be transmitted to the electronics of user B by application server 105 Equipment 102.
If electronic equipment 102 detects that user B receives video calling request of this transmission of user A, electronics is set Standby 102 can continue through application server 105 is sent to electronic equipment 101 for collected voice and image in real time.Meanwhile electricity Collected voice and image can also be sent in real time electronic equipment 102 by application server 105 by sub- equipment 101, so that User A can carry out video calling with user B.
Certainly, application server 105 can also to the instruction or data that electronic equipment 101 or electronic equipment 102 are sent into The operation such as row identification authentication, secure cryptography, the embodiment of the present application do not do any restrictions to this.
In other embodiments, above system 100 can also include electronic equipment 103 (such as wearable device). Illustratively, electronic equipment 101 can connect (such as wired or wireless) with electronic equipment 103 by above-mentioned communication network 104.
Illustratively, the video calling APP with video call function can be installed in wearable device.So, it can wear Wearing equipment can receive the video calling request that each contact person sends in video calling APP.In another example user can also be can In wearable device invite video calling APP in one or more contact persons carry out video calling, the embodiment of the present application to this not Do any restrictions.
In some embodiments, the specific structure of electronic equipment 101, electronic equipment 102 and wearable device 103 can be with Be it is identical, be also possible to different.
The following present the electronic equipment for having video call function, for such electronic equipment user interface and For using the embodiment of such electronic equipment.In some embodiments, electronic equipment can be also all comprising other functions Such as the portable electronic device of personal digital assistant and/or music player functionality, such as mobile phone, tablet computer have wirelessly The wearable electronic (such as smartwatch) of communication function.The exemplary embodiment of portable electronic device includes but unlimited In carrying Or the portable electronic device of other operating systems.Above-mentioned portable electric Sub- equipment is also possible to other portable electronic devices, laptop computer (Laptop) etc..It is to be further understood that In some other embodiment, above-mentioned electronic equipment may not be portable electronic device, but desktop computer.
Illustratively, Fig. 3 shows the structural schematic diagram of electronic equipment 101.
Electronic equipment 101 may include processor 110, external memory interface 120, internal storage 121, general serial Bus (universal serial bus, USB) interface 130, charge management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio-frequency module 170, loudspeaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, key 190, motor 191, indicator 192, camera 193, display screen 194 and Subscriber Identity Module (subscriber identification module, SIM) card interface 195 Deng.Wherein sensor module 180 may include pressure sensor 180A, gyro sensor 180B, baroceptor 180C, magnetic Sensor 180D, acceleration transducer 180E, range sensor 180F, close to optical sensor 180G, fingerprint sensor 180H, temperature Spend sensor 180J, touch sensor 180K, ambient light sensor 180L, bone conduction sensor 180M etc..
It is understood that the structure of signal of the embodiment of the present invention does not constitute the specific restriction to electronic equipment 101.? In other embodiments of the application, electronic equipment 101 may include than illustrating more or fewer components, or the certain portions of combination Part perhaps splits certain components or different component layouts.The component of diagram can be with hardware, software or software and hardware Combination realize.
Processor 110 may include one or more processing units, such as: processor 110 may include application processor (application processor, AP), modem processor, graphics processor (graphics processing Unit, GPU), image-signal processor (image signal processor, ISP), controller, Video Codec, number Signal processor (digital signal processor, DSP), baseband processor and/or neural network processor (neural-network processing unit, NPU) etc..Wherein, different processing units can be independent device, It can integrate in one or more processors.
Controller can generate operating control signal according to instruction operation code and clock signal, complete instruction fetch and execution The control of instruction.
Memory can also be set in processor 110, for storing instruction and data.In some embodiments, processor Memory in 110 is cache memory.The memory can save the instruction that processor 110 is just used or is recycled Or data.If processor 110 needs to reuse the instruction or data, can be called directly from the memory.It avoids Repeated access, reduces the waiting time of processor 110, thus improves the efficiency of system.
In some embodiments, processor 110 may include one or more interfaces.Interface may include integrated circuit (inter-integrated circuit, I2C) interface, integrated circuit built-in audio (inter-integrated circuit Sound, I2S) interface, pulse code modulation (pulse code modulation, PCM) interface, universal asynchronous receiving-transmitting transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), universal input export (general-purpose Input/output, GPIO) interface, Subscriber Identity Module (subscriber identity module, SIM) interface, and/or Universal serial bus (universal serial bus, USB) interface etc..
I2C interface is a kind of bi-directional synchronization universal serial bus, including serial data line (serial data line, SDA) He Yigen serial time clock line (derail clock line, SCL).In some embodiments, processor 110 may include Multiple groups I2C bus.Processor 110 can by different I2C bus interface distinguish coupled with touch sensors 180K, charger, Flash lamp, camera 193 etc..Such as: processor 110 can make processor by I2C interface coupled with touch sensors 180K 110 are communicated with touch sensor 180K by I2C bus interface, realize the touch function of electronic equipment 101.
I2S interface can be used for voice communication.In some embodiments, processor 110 may include multiple groups I2S bus. Processor 110 can be coupled by I2S bus with audio-frequency module 170, be realized logical between processor 110 and audio-frequency module 170 Letter.In some embodiments, audio-frequency module 170 can transmit audio signal to wireless communication module 160 by I2S interface, real The function of now being received calls by bluetooth headset.
Pcm interface can be used for voice communication, by analog signal sampling, quantization and coding.In some embodiments, sound Frequency module 170 can be coupled with wireless communication module 160 by pcm bus interface.In some embodiments, audio-frequency module 170 Audio signal can also be transmitted to wireless communication module 160 by pcm interface, realize the function to receive calls by bluetooth headset Energy.The I2S interface and the pcm interface may be used to voice communication.
UART interface is a kind of Universal Serial Bus, is used for asynchronous communication.The bus can be bidirectional communications bus. The data that it will be transmitted are converted between serial communication and parallel communications.In some embodiments, UART interface usually by with In connection processor 110 and wireless communication module 160.Such as: processor 110 passes through UART interface and wireless communication module 160 In bluetooth module communication, realize Bluetooth function.In some embodiments, audio-frequency module 170 can be by UART interface to nothing Line communication module 160 transmits audio signal, realizes the function that music is played by bluetooth headset.
MIPI interface can be used to connect the peripheral components such as processor 110 and display screen 194, camera 193.MIPI connects Mouth includes camera serial line interface (camera serial interface, CSI), display screen serial line interface (display Serial interface, DSI) etc..In some embodiments, processor 110 and camera 193 are communicated by CSI interface, real The shooting function of existing electronic equipment 101.Processor 110 and display screen 194 realize electronic equipment 101 by DSI interface communication Display function.
GPIO interface can pass through software configuration.GPIO interface can be configured as control signal, may be alternatively configured as counting It is believed that number.In some embodiments, GPIO interface can be used for connecting processor 110 and camera 193, display screen 194, wirelessly Communication module 160, audio-frequency module 170, sensor module 180 etc..GPIO interface can be additionally configured to I2C interface, and I2S connects Mouthful, UART interface, MIPI interface etc..
It is understood that the interface connection relationship of each intermodule of signal of the embodiment of the present invention, only schematically illustrates, The structure qualification to electronic equipment 101 is not constituted.In other embodiments of the application, electronic equipment 101 can also be used The combination of different interface connection type or multiple interfaces connection type in above-described embodiment.
Charge management module 140 is used to receive charging input from charger.Wherein, charger can be wireless charger, It is also possible to wired charger.In the embodiment of some wired chargings, charge management module 140 can pass through usb 1 30 Receive the charging input of wired charger.In the embodiment of some wireless chargings, charge management module 140 can pass through electronics The Wireless charging coil of equipment 101 receives wireless charging input.While charge management module 140 is that battery 142 charges, may be used also To be power electronic equipment by power management module 141.
Power management module 141 is for connecting battery 142, charge management module 140 and processor 110.Power management mould Block 141 receives the input of battery 142 and/or charge management module 140, is processor 110, internal storage 121, display screen 194, the power supply such as camera 193 and wireless communication module 160.Power management module 141 can be also used for monitoring battery capacity, Circulating battery number, the parameters such as cell health state (electric leakage, impedance).In some other embodiment, power management module 141 Also it can be set in processor 110.In further embodiments, power management module 141 and charge management module 140 can also To be set in the same device.
The wireless communication function of electronic equipment 101 can pass through antenna 1, antenna 2, mobile communication module 150, wireless communication Module 160, modem processor and baseband processor etc. are realized.
Antenna 1 and antenna 2 electromagnetic wave signal for transmitting and receiving.Each antenna in electronic equipment 101 can be used for covering Cover single or multiple communication bands.Different antennas can also be multiplexed, to improve the utilization rate of antenna.Such as: it can be by antenna 1 It is multiplexed with the diversity antenna of WLAN.In other embodiments, antenna can be used in combination with tuning switch.
Mobile communication module 150, which can provide, applies wirelessly communicating on electronic equipment 101 including 2G/3G/4G/5G etc. Solution.Mobile communication module 150 may include one or more filters, switch, power amplifier, low noise amplification Device (low noise amplifier, LNA) etc..Mobile communication module 150 can receive electromagnetic wave by antenna 1, and to received Electromagnetic wave is filtered, and the processing such as amplification is sent to modem processor and is demodulated.Mobile communication module 150 can be with The modulated signal of modulated demodulation processor is amplified, switchs to electromagenetic wave radiation through antenna 1 and goes out.In some embodiments, At least partly functional module of mobile communication module 150 can be arranged in processor 110.In some embodiments, mobile At least partly functional module of communication module 150 can be arranged on the same device at least partly module of processor 110 In.
Modem processor may include modulator and demodulator.Wherein, modulator is used for low frequency base to be sent Band signal is modulated into high frequency signal.Demodulator is used to received electromagnetic wave signal being demodulated into low frequency baseband signal.Then solution Adjust device that the low frequency baseband signal that demodulation obtains is sent to baseband processor.Low frequency baseband signal is through baseband processor Afterwards, it is delivered to application processor.Application processor is defeated by audio frequency apparatus (being not limited to loudspeaker 170A, receiver 170B etc.) Voice signal out, or image or video are shown by display screen 194.In some embodiments, modem processor can be Independent device.In further embodiments, modem processor can be independently of processor 110, with mobile communication module 150 or other function module be arranged in the same device.
It includes WLAN (wireless that wireless communication module 160, which can be provided and be applied on electronic equipment 101, Local area networks, WLAN) (such as Wireless Fidelity (wireless fidelity, Wi-Fi) network), bluetooth (Bluetooth, BT), Global Navigation Satellite System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), the short distance wireless communication technology (near field communication, NFC) are red The solution of the wireless communications such as outer technology (infrared, IR).Wireless communication module 160 can be integrated one or more logical Believe one or more devices of processing module.Wireless communication module 160 receives electromagnetic wave via antenna 2, by electromagnetic wave signal tune Frequency and filtering processing, by treated, signal is sent to processor 110.Wireless communication module 160 can also be from processor 110 Signal to be sent is received, frequency modulation is carried out to it, is amplified, is switched to electromagenetic wave radiation through antenna 2 and go out.
In some embodiments, the antenna 1 of electronic equipment 101 and mobile communication module 150 couple, antenna 2 and channel radio Believe that module 160 couples, allowing electronic equipment 101, technology is communicated with network and other equipment by wireless communication.It is described Wireless communication technique may include global system for mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), CDMA access (code Division multiple access, CDMA), wideband code division multiple access (wideband code division multiple Access, WCDMA), time division CDMA (time-division code division multiple access, TD- SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM and/or IR technology etc..Institute Stating GNSS may include GPS (global positioning system, GPS), global navigational satellite system It unites (global navigation satellite system, GLONASS), Beidou satellite navigation system (beidou Navigation satellite system, BDS), quasi- zenith satellite system (quasi-zenith satellite System, QZSS) and/or satellite-based augmentation system (satellite based augmentation systems, SBAS).
Electronic equipment 101 realizes display function by GPU, display screen 194 and application processor etc..GPU is at image The microprocessor of reason connects display screen 194 and application processor.GPU is calculated for executing mathematics and geometry, is used for figure wash with watercolours Dye.Processor 110 may include one or more GPU, execute program instructions to generate or change display information.
Display screen 194 is for showing image, video etc..Display screen 194 includes display panel.Display panel can use liquid Crystal display screen (liquid crystal display, LCD), Organic Light Emitting Diode (organic light-emitting Diode, OLED), active matrix organic light-emitting diode or active-matrix organic light emitting diode (active-matrix Organic light emitting diode's, AMOLED), Flexible light-emitting diodes (flex light-emitting Diode, FLED), Miniled, MicroLed, Micro-oLed, light emitting diode with quantum dots (quantum dot light Emitting diodes, QLED) etc..In some embodiments, electronic equipment 101 may include one or more display screens 194.
Electronic equipment 101 can be by ISP, camera 193, Video Codec, GPU, display screen 194 and at It manages device etc. and realizes shooting function.
ISP is used to handle the data of the feedback of camera 193.For example, opening shutter when taking pictures, light is passed by camera lens It is delivered on camera photosensitive element, optical signal is converted to electric signal, and camera photosensitive element passes to the electric signal at ISP Reason, is converted into macroscopic image.ISP can also be to the noise of image, brightness, colour of skin progress algorithm optimization.ISP can be with Exposure to photographed scene, the parameter optimizations such as colour temperature.In some embodiments, ISP can be set in camera 193.
Camera 193 is for capturing still image or video.Object generates optical imagery by camera lens and projects photosensitive member Part.Photosensitive element can be charge-coupled device (charge coupled device, CCD) or complementary metal oxide is partly led Body (complementary metal-oxide-semiconductor, CMOS) phototransistor.Photosensitive element turns optical signal It changes electric signal into, electric signal is passed into ISP later and is converted into data image signal.Data image signal is output to DSP by ISP Working process.Data image signal is converted into the RGB of standard, the picture signal of the formats such as YUV by DSP.In some embodiments, Electronic equipment 101 may include one or more cameras 193.
Illustratively, Liftable type camera can be set by one or more cameras 193 in electronic equipment 101. It is the citing of above-mentioned electronic equipment 101 with mobile phone, as shown in figure 4, mobile phone may include display screen 194, shell 30 and photographic device 50 Equal components.Wherein, one or more cameras 193 are provided on photographic device 50.
As shown in figure 4, shell 30 is equipped with opening 31, shell 30 forms accommodating chamber (Fig. 4 for accommodating photographic device 50 In be not shown).Accommodating chamber is connected to opening 31.Photographic device 50 can actively be contained in accommodating chamber, and can pass through opening 31 stretch out or retract shell 30.
Photographic device 50 includes driving assembly (being not shown in Fig. 4) and camera 193.Driving assembly is for driving camera 193 stretch out by opening 31 or retract accommodating chamber.Illustratively, photographic device 50 can be used for obtaining mobile phone front side Scenery or portrait etc., i.e. camera 193 on photographic device 50 can be used as preposition photographic device and uses.In another example photographic device Camera 193 on 50 can also be used as the use of postposition photographic device, alternatively, camera 193 on photographic device 50 can also be with It is set as the photographic device of rotation type, the embodiment of the present application does not do any restrictions to this.
Digital signal processor, in addition to can handle data image signal, can also handle it for handling digital signal His digital signal.For example, digital signal processor is used to carry out Fu to frequency point energy when electronic equipment 101 is when frequency point selects In leaf transformation etc..
Video Codec is used for compression of digital video or decompression.Electronic equipment 101 can be supported one or more Video Codec.In this way, electronic equipment 101 can play or record the video of a variety of coded formats, and such as: dynamic image is special Family's group (moving picture experts group, MPEG) 1, MPEG2, mpeg 3, MPEG4 etc..
NPU is neural network (neural-network, NN) computation processor, by using for reference biological neural network structure, Such as transfer mode between human brain neuron is used for reference, it, can also continuous self study to input information fast processing.Pass through NPU The application such as intelligent cognition of electronic equipment 101 may be implemented, such as: image recognition, recognition of face, speech recognition, text understanding Deng.
External memory interface 120 can be used for connecting external memory card, such as Micro SD card, realize that extension electronics is set Standby 101 storage capacity.External memory card is communicated by external memory interface 120 with processor 110, realizes that data store function Energy.Such as by music, the files such as video are stored in external memory card.
Internal storage 121 can be used for storing one or more computer programs, the one or more computer program Including instruction.Processor 110 can be stored in the above-metioned instruction of internal storage 121 by running, so that electronic equipment 101 execute the method for contact person's intelligent recommendation provided in some embodiments of the application and various function application and data Processing etc..Internal storage 121 may include storing program area and storage data area.Wherein, storing program area can store operation System;The storing program area can also store one or more application program (such as picture library, contact person etc.) etc..Storage data area The data (such as photo, contact person etc.) etc. created in 101 use process of electronic equipment can be stored.In addition, internal storage 121 may include high-speed random access memory, can also include nonvolatile memory, such as one or more disk storages Device, flush memory device, generic flash memory (universal flash storage, UFS) etc..In further embodiments, Processor 110 is stored in the instruction of internal storage 121 by operation, and/or is stored in the memory being set in processor Instruction, come so that electronic equipment 101 executes the control method and various functions of camera provided in the embodiment of the present application Using and data processing.
Electronic equipment 101 can pass through audio-frequency module 170, loudspeaker 170A, receiver 170B, microphone 170C, earphone Interface 170D and application processor etc. realize audio-frequency function.Such as music, recording etc..
Audio-frequency module 170 is used to for digitized audio message to be converted into analog audio signal output, is also used for analogue audio frequency Input is converted to digital audio and video signals.Audio-frequency module 170 can be also used for audio-frequency signal coding and decoding.In some embodiments In, audio-frequency module 170 can be set in processor 110, or the partial function module of audio-frequency module 170 is set to processor In 110.
Loudspeaker 170A, also referred to as " loudspeaker ", for audio electrical signal to be converted to voice signal.Electronic equipment 101 can be with Music is listened to by loudspeaker 170A, or listens to hand-free call.
Receiver 170B, also referred to as " earpiece ", for audio electrical signal to be converted into voice signal.When electronic equipment 101 connects It answers a call or when voice messaging, it can be by the way that receiver 170B be answered voice close to human ear.
Microphone 170C, also referred to as " microphone ", " microphone ", for voice signal to be converted to electric signal.When making a phone call Or when sending voice messaging, voice signal can be input to microphone by mouth close to microphone 170C sounding by user 170C.One or more microphone 170C can be set in electronic equipment 101.In further embodiments, electronic equipment 101 can be with Two microphone 170C are set, in addition to collected sound signal, can also realize decrease of noise functions.In further embodiments, electronics Equipment 101 can also be arranged three, four or more microphone 170C, realize that collected sound signal, noise reduction can also identify sound Directional recording function etc. is realized in sound source.
Earphone interface 170D is for connecting wired earphone.Earphone interface 170D can be usb 1 30, be also possible to Opening mobile electronic device platform (open mobile terminal platform, OMTP) standard interface of 3.5mm, the U.S. Cellular telecommunication industrial association (cellular telecommunications industry association of the USA, CTIA) standard interface.
Sensor 180 may include pressure sensor 180A, gyro sensor 180B, baroceptor 180C, and magnetic passes Sensor 180D, acceleration transducer 180E, range sensor 180F, close to optical sensor 180G, fingerprint sensor 180H, temperature Sensor 180J, touch sensor 180K, ambient light sensor 180L, bone conduction sensor 180M etc..
Key 190 includes power button, volume key etc..Key 190 can be mechanical key.It is also possible to touch-key. Electronic equipment 101 can receive key-press input, generate key letter related with the user setting of electronic equipment 101 and function control Number input.
Motor 191 can produce vibration prompt.Motor 191 can be used for calling vibration prompt, can be used for touching vibration Dynamic feedback.For example, acting on the touch operation of different application (such as taking pictures, audio broadcasting etc.), different vibrations can be corresponded to Feedback effects.The touch operation of 194 different zones of display screen is acted on, motor 191 can also correspond to different vibrational feedback effects. Different application scenarios (such as: time alarm receives information, alarm clock, game etc.) different vibrational feedback effects can also be corresponded to Fruit.Touch vibrational feedback effect can also be supported customized.
Indicator 192 can be indicator light, can serve to indicate that charged state, electric quantity change can be used for instruction and disappear Breath, missed call, notice etc..
SIM card interface 195 is for connecting SIM card.SIM card can be by being inserted into SIM card interface 195, or from SIM card interface 195 extract, and realization is contacting and separating with electronic equipment 101.Electronic equipment 101 can support one or more SIM card interfaces, N For the positive integer greater than 1.SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc..The same SIM Card interface 195 can be inserted into multiple cards simultaneously.The type of multiple cards may be the same or different.SIM card interface 195 Different types of SIM card can also be compatible with.SIM card interface 195 can also be with compatible external storage card.Electronic equipment 101 passes through SIM Card and network interaction realize the functions such as call and data communication.In some embodiments, electronic equipment 101 uses eSIM, That is: embedded SIM card.ESIM card can cannot separate in electronic equipment 101 with electronic equipment 101.
The software systems of above-mentioned electronic equipment 101 can use layer architecture, event-driven framework, micronucleus framework, in incognito Business framework or cloud framework.The embodiment of the present application is by taking the android system of layer architecture as an example, exemplary illustration electronic equipment 101 Software configuration.
Fig. 5 is the software architecture diagram of electronic equipment 101 in some embodiments.
Software is divided into several layers by layer architecture, and each layer has clearly role and the division of labor.Pass through between layers Software interface communication.In some embodiments, android system is divided into four layers, from top to bottom respectively application layer, answered With process block rack-layer, (Android runtime) and system library and inner nuclear layer when Android is run.
Application layer may include one or more application program.
As shown in figure 5, application program may include call (alternatively referred to as phone or dialing), contact person is (alternatively referred to as logical News record or telephone directory), camera, picture library, calendar, map, navigation, bluetooth, music, video, the application programs such as short message (application, APP).
In some embodiments, the APP with video call function can be installed in application layer (can be described as video Converse APP).This kind of APP can be pre-set when electronic equipment 101 dispatches from the factory, and be also possible to provide in application market can Carry out the third-party application of video calling.For example, video calling APP can be above-mentioned call APP, short message APP or wechat APP Deng.For user when carrying out video calling using video calling APP and contact person, video calling APP can be collected by microphone Voice is sent to contact person in real time, while 193 acquired image of camera can also be sent to contact person in real time.
Application framework layer provides Application Programming Interface (application for the application program of application layer Programming interface, API) and programming framework.Application framework layer includes some functions predetermined.
As shown in figure 5, application framework layer may include camera service (camera service) and audio manager (audio manager)。
Wherein, camera service is a kind of system service that application framework layer each APP into application layer is provided (system service).Every interface that APP in application layer can call camera service to provide realizes that camera is relevant Function, such as open above-mentioned camera 193, close camera 193, shooting photo or recorded video etc..
In addition, above system service can also include power management services (power manager service, PMS), window Mouth management service (window manager service, WMS), bluetooth service (Bluetooth service), network management clothes Be engaged in (network management service, NMS) and input method management service (input manager service, IMS) etc..These system services can call at runtime in the APP in the running background of electronic equipment 101, application layer Corresponding application function is realized in relevant system service.
Above-mentioned audio manager can be used for accessing and the volume and audio mode of controlling electronic devices (such as mobile phone).Example Such as, the size of 101 volume of electronic equipment is adjusted in audio manager.In another example electronic equipment 101 is adjusted in audio manager Sound type (streamType).The sound type may include quarter-bell (STREAM_ALARM), music (STREAM_MUSIC), Telephone bell (STREAM_RING) etc..
In another example audio manager can also be used in the audio mode for managing and being arranged electronic equipment 101.Illustratively, on It may include following several for stating audio mode: ring tone modes (MODE_RINGTONE), and telephony mode (MODE_IN_CALL) is general Logical mode (MODE_NORMAL) and call mode (MODE_IN_COMMUNICATION).
Illustratively, when electronic equipment 101 receives the phone incoming call of other contact persons, audio manager can will be current Audio mode be set as ring tone modes, electronic equipment 101 is just in jingle bell at this time.When user is contacted using call APP with other When people converses, audio manager can set telephony mode for current audio mode.When electronic equipment 101 is carrying out video When call (such as IP video calling), audio manager can set call mode for current audio mode.Work as electronic equipment 101 without jingle bell, call or when carrying out video calling, and audio manager can set general mode for current audio mode.
In some embodiments, with the video call function citing in the APP that converses, when call APP receives a certain connection After the video calling request that human hair is come, the OpenCamera interface that call APP can call camera service to provide requests camera service Open the image that camera 193 acquires user.Camera service to webcam driver send open camera 193 instruction it Before, it can periodically request audio manager to inquire current audio mode.When detect current audio mode for call mould When formula, illustrate that user has received the request of this video calling.In turn, camera service can send to open to webcam driver and take the photograph As first 193 instruction.In response to the instruction, webcam driver can control photographic device 50 shown in Fig. 4 to stretch out by opening 31 Shell 30 exposes the camera 193 on photographic device 50, and begins to use the image of the acquisition user of camera 193, such as user Face etc..
That is, detecting that it is logical that user receives the video after electronic equipment 101 receives above-mentioned video calling request Before words request, electronic equipment 101 will not open the request of camera 193 in response to video calling APP and rise camera 193. Correspondingly, video calling APP can request electronic equipment 101 to rise camera 193 after receiving above-mentioned video calling request. At this point, electronic equipment 101 can first determine whether user receives the request of this video calling.If detecting that user receives Video calling request, then electronic equipment 101 can rise camera 193.So, in video calling access failure, electronics Equipment 101 not will pop up the usage experience that camera 193 interferes user, meanwhile, if user does not answer the request of this video calling Then electronic equipment 101 can reduce the pop-up of a camera 193, to improve the service life of lift camera 193.
It is understood that electronic equipment 101, which rises camera 193, can refer to that electronic equipment 101 passes through photographic device Camera 193 is extend out to outside shell 30 by the driving assembly driving camera 193 in 50 by opening 31 out of shell 30.Separately Outside, electronic equipment 101 can also open camera 193 when starting to rise camera 193 and start to acquire image.In addition, electronics Equipment 101 can also open camera 193 during rising camera 193 and start to acquire image.Certainly, electronic equipment 101 can also beat when no longer relatively moving between camera 193 and shell 30 after the fully extended shell 30 of camera 193 Camera 193 is opened to start to acquire image.Wherein, electronic equipment 101 is opened camera 193 and be can be and shows camera 193 and power on, The event of picture signal is generated to start camera 193 by camera lens and photosensitive element etc..
Certainly, if the not instead of lift camera 193 of camera 193 in electronic equipment 101, setting is set in electronics The above method can also be used in common camera, electronic equipment 101 on standby 101 shells, is detecting that it is logical that user receives the video It after words request, then opens camera and starts to capture picture material, rather than requested in the video calling for receiving contact person to send out Camera collection image is just opened afterwards.So, in video calling access failure, electronic equipment 101 will not open camera and adopt Collect the relevant picture material of user, so as to reduce the security risk of privacy of user leakage.
In addition, still as shown in figure 5, can also include active manager (activity in application framework layer manager).Active manager can be used for managing the life cycle of each application.It is run using usually in the form of activity In an operating system.For each activity, can all there be a corresponding application record in active manager (activity record), this activity record save the state of the activity of the application.Active manager This activity record be can use as mark, dispatch the activity process of application.
With above-mentioned video calling APP citing, when electronic equipment 101 runs video calling APP in application layer, video Call APP can be used as an activity and operate in top layer using stack.At this point, video calling APP can be used as foreground application with User's interaction.When video calling APP receives the video calling request that contact person sends, video calling APP can request above-mentioned Camera service opens camera 193 and acquires image.It, can first calling activity after camera service receives the request of video calling APP The special interface (such as activitymanagerEx interface) that manager provides is inquired and is located at the application for applying stack stack top (i.e. originally The application of camera 193 is opened in secondary request) it whether is preset video calling APP.For example, can be in advance by call APP and wechat APP is set as video calling APP, and camera APP is not preset video calling APP.So, it is beaten if inquiring this request The application for opening camera 193 is camera APP, then camera service can send the instruction for opening camera 193 to webcam driver, from And drive electronics 101 rise camera 193.
Correspondingly, if inquiring this request opens the application of camera 193 as call APP or wechat APP, camera Service can further inquire current audio mode from audio manager.When detect current audio mode be call mode When, illustrate that user has received the request of this video calling, then camera service can send to webcam driver and open camera 193 instruction avoids the liter in user's access failure video calling so that drive electronics 101 rise and open camera 193 It plays camera 193 and interferes the normal usage experience of user.
Certainly, application framework layer can also include window manager, Content Provider, view system, resource management Device, notification manager etc..
Wherein, window manager is for managing window writing routine.The available display screen size of window manager, judges whether Stateful column, lock-screen, screen printing etc..Content Provider is used to store and obtains data, and allow these data by Application program access.The data may include video, image, audio, the phone dialed and answered, and browse history and bookmark, Telephone directory etc..View system includes visible controls, such as the control of display text, shows the control etc. of picture.View system can For constructing application program.What display interface can be made of one or more views.E.g., including short massage notice icon is shown Show interface, may include the view for showing text and the view for showing picture.Resource manager provides various for application program Resource, such as localized strings, icon, picture, topology file, video file etc..Notification manager makes application program can To show notification information in status bar, can be used for conveying the message for informing type, it can be to disappear automatically after short stay, nothing Need user's interaction.For example notification manager be used to inform that downloading is completed, prompting message etc..Notification manager can also be to scheme Table or scroll bar textual form appear in the notice of system head status bar, for example, running background application program notice, It can also be the notice occurred in the form of dialog box on the screen.Such as text information is prompted in status bar, prompt tone is issued, Vibration of electronic equipment, indicator light flashing etc..
Android Runtime includes core library and virtual machine.Android runtime be responsible for Android system scheduling and Management.
Core library includes two parts: a part is the power function that java language needs to call, and another part is Android Core library.
Application layer and application framework layer operate in virtual machine.Virtual machine is by application layer and application program It is binary file that the java file of ccf layer, which executes,.Virtual machine is used to execute the management of Object Life Cycle, stack management, line Thread management, safety and the functions such as abnormal management and garbage reclamation.
System library may include multiple functional modules.Such as: surface manager (surface manager), media library (Media Libraries), three-dimensional graph process library (such as: OpenGL ES), 2D graphics engine (such as: SGL) etc..
Surface manager provides 2D and 3D figure layer for being managed to display subsystem for multiple application programs Fusion.
Media library supports a variety of common audios, video format playback and recording and static image file etc..Media library It can support a variety of audio/video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG etc..
Three-dimensional graph process library is for realizing 3-D graphic drawing, image rendering, synthesis and figure layer process etc..
2D graphics engine is the drawing engine that 2D draws.
Inner nuclear layer is the layer between hardware and software.Inner nuclear layer includes at least display driving, webcam driver, and audio is driven Dynamic, sensor driving etc., the embodiment of the present application does not do any restrictions to this.
It will be illustrated below using the mobile phone for being provided with lift camera as above-mentioned electronic equipment 101, in conjunction with attached drawing Elaborate the control method of camera provided in some embodiments of the application.
Illustratively, user can install the video with video calling (alternatively referred to as visual telephone) function in mobile phone Converse APP.User can add one or more contact persons (alternatively referred to as good friend) when using video calling APP, and record every Essential information of a contact person, such as name, phone, address, mailbox and the affiliated group of contact person etc..
It is above-mentioned video calling APP citing with contact person APP, as shown in fig. 6, detecting that user opens contact person APP's After operation, mobile phone can show contacts list interface 601, include one or more contact persons in the contacts list interface 601.
Wherein, each contact person corresponds to a contact information table 602, and contact information table 602 is storable in hand In the internal storage 121 or external memory 120 of machine.The connection is had recorded in the different field of the contact information table 602 The essential information of people, for example, the name of contact person, one or more telephone numbers, address, mailbox and affiliated group, society Friendship data etc..
With contact person Mike citing, after choosing contact person Mike in user contacts list interface 601 shown in Fig. 6, As shown in fig. 7, mobile phone can show the details interface 701 of contact person Mike.It may include Mike in details interface 701 in contact person The one or more information saved in information table 602.
Also, mobile phone can also show every communication that contact person APP supports contact person Mike in details interface 701 Function.For example, as shown in fig. 7, being provided with calling control 702, short message control 703 and video control in above-mentioned details interface 701 Part 704.If detecting that user chooses calling control 702, the telephone number that mobile phone can call Mike automatically realizes call function Energy.If detecting that user chooses short message control 703, mobile phone can jump to the short message editing interface with contact person Mike automatically Realize SMS function.If detecting that user chooses video control 704, it is logical that mobile phone can send video from trend contact person Mike Words request, to realize this video call function.
In further embodiments, oneself mobile phone also can be used to above-mentioned user (such as Peter) in contact person Mike Send video calling request.Illustratively, contact person Mike can be used above-mentioned electronic equipment 102 that Peter is invited to carry out video logical Words.After electronic equipment 102 detects the operation that user invites Peter to carry out video calling, it can send and invite to application server 105 Please Peter video calling video calling request.In turn, application server 105 can request the video calling to be sent to Peter Electronic equipment (such as mobile phone of Peter).
Illustratively, liter of the mobile phone of Peter before receiving the video calling request that contact person Mike is sent, in mobile phone Drop formula camera is in unrisen state.The mobile phone of user Peter receive the forwarding of application server 105 from contact person After the video calling request of Mike, the first user interface can be presented.For example, as shown in figure 8, mobile phone is received from contact person After the video calling request of Mike, mobile phone can show the first user interface 801 that video calling is carried out with contact person Mike.First It may include receiving the first control 802 of this video calling request, and refuse the request of this video calling in user interface 801 The second control 803.
Certainly, the first user interface that mobile phone is presented other than including the GUI that can see of user, can also include with it is upper Stating video calling requests presentation modes, the embodiment of the present application such as corresponding Ring Or Vibrate not to do any restrictions to this.
Still with the first user interface 801 shown in Fig. 8 citing, if mobile phone detects that user clicks the first user interface The first control 802 namely mobile phone in 801 detect that user receives the event of this video calling request, illustrate that user is ready Receive the request of this video calling.In response to the event (such as above-mentioned clicking operation), mobile phone can be passed to contact person Mike in real time Collected video (voice and image) is sent, in addition, mobile phone can be real-time reception and can play the view that contact person Mike sends Frequently.For example, voice and image that mobile phone can be sent by the electronic equipment 102 that application server 105 receives contact person Mike, and The collected voice of mobile phone and image are sent to the electronic equipment 102 of contact person Mike by application server 105.If detection The second control 803 in the first user interface 801 is clicked to user, illustrates that user is unwilling to receive the request of this video calling, Then in response to the event, mobile phone can send this view of refusal to the electronic equipment 102 of contact person Mike by application server 105 The message of frequency call, cancels the video calling of this and contact person Mike.
In addition, due to being needed when video calling using camera collection image, mobile phone is received from contact person After the video calling request of Mike, contact person APP can be to the camera service (camera service) in application framework layer Send camera call request.For example, the OpenCamera interface that contact person APP can call camera service to provide, to camera service Camera call request is sent, starts to acquire image to request camera service to rise the lift camera 193 in mobile phone.And or Person, after contact person APP detects that user clicks above-mentioned first control 802, contact person APP can send camera to camera service Call request, the embodiment of the present application do not do any restrictions to this.
Touch sensor 180K is generally integrated on the display screen 194 of mobile phone.So, touch sensor 180K detects use After the touch operation in the first user interface 801, touch screen produces corresponding touch event, and will be on the touch event at family Offer the contact person APP just in front stage operation.Contact person APP can be determined according to parameters such as the coordinates of touch point in touch event User specifically performs any operation out, and the camera service in application framework layer can not know use in the case where there is some cases Concrete operations of the family in the first user interface 801.
That is, in some embodiments, when camera service receives the camera call request that contact person APP is sent, It not can determine that whether user has received the request of this video calling.So, camera service receives what contact person APP was sent After camera call request, it can first determine whether user receives the request of this video calling.When camera service detects that user receives After the request of this video calling, the camera call request that contact person APP is sent can be responded, the lift camera of mobile phone is risen 193.Correspondingly, camera service is without rising if camera service does not detect that user receives the request of this video calling Lift camera 193 avoids rising the usage experience that camera 193 interferes user in video calling access failure.
In further embodiments, camera service, can be first before determining whether user receives the request of this video calling Determine that this sends whether the APP of camera call request is preset video calling APP.
Illustrative in some embodiments, portion can be stored in advance using white list, in application white list in mobile phone Using the application permission all having using camera.For example, this may include wechat, call, connection using the application in white list The application (namely preset video calling APP) of the support video call function such as people.
Illustratively, user installs in mobile phone or can authorize types of applications permission to the APP using when APP.If hand Machine examination measures user and authorizes application permission using camera to a certain APP, then the APP can be added to above-mentioned answer automatically by mobile phone With in white list.In another example if detecting that user authorizes the application permission using camera to a certain APP, mobile phone can be from answering With obtaining whether type belonging to the APP is video calling APP in market.If the APP belongs to video calling APP, mobile phone Automatically the APP can be added in above-mentioned application white list.
So, after the camera service in mobile phone receives the camera call request that a certain APP is sent, in order to avoid mobile phone Authorize the APP using camera in the state of video calling access failure, camera service can first call active manager (activity Manager) inquiry sends the title of the APP of this camera call request currently in the Apply Names of front stage operation.More than still Contact person APP citing is stated, camera service inquires the APP that this sends camera call request as that can inquire connection after contact person APP It is whether people APP is located in above-mentioned application white list.If contact person APP is located in above-mentioned application white list, illustrate to contact People APP (namely this sends the APP of camera call request) is preset video calling APP.If contact person APP is not above-mentioned Using in white list, then it represents that contact person APP is not preset video calling APP.
Certainly, in other embodiments, mobile phone can also be preset a using blacklist, in application blacklist Using being the application for being forbidden to use this application permission of camera.Camera service inquires this and sends camera call request After APP is contact person APP, it can continue to inquire whether the contact person APP is located at using in blacklist.If contact person APP is located at In above-mentioned application blacklist, then illustrating that this sends the contact person APP of camera call request is not preset video calling APP. If it is default that contact person APP, which not in above-mentioned application white list, illustrates that this sends the contact person APP of camera call request, Video calling APP.
In some embodiments, if the contact person APP for inquiring this request call camera is not that preset video is logical APP is talked about, and user has authorized the application permission that contact person APP uses camera, then the camera service in mobile phone can respond connection It is the camera call request that people APP is sent, instruction webcam driver will be housed in the intracorporal camera 193 of mobile phone shell and stretch out, and Camera 193 is opened to start to acquire image.
In further embodiments, if the contact person APP for inquiring this request call camera is that preset video is logical APP is talked about, then, if lift camera is risen in the camera call request that the contact person APP of camera service response at this time is sent 193, then it is possible that user goes back the request of access failure video calling, mobile phone just pops up the feelings that camera 193 acquires user images Condition.It so, in the embodiment of the present application, can before the camera service camera call request that this is sent in response contact person APP First whether detection user receives the event of this video calling request.When camera service detects that user receives this video calling After the event of request, the camera call request that contact person APP is sent can be responded, the lift camera 193 of mobile phone is risen.
In some embodiments, camera service detects that user receives the event that this video calling is requested and refers to: camera Service detection to the audio mode in audio manager (audio manager) be call mode (MODE_IN_ COMMUNICATION event).
Illustratively, the video calling still with shown in Fig. 8 from contact person Mike requests citing, if user is to first The first control 802 in user interface 801 performs clicking operation, the touch that the touch sensor 180K of mobile phone can will test Event is reported to contact person APP.Contact person APP can determine that user receives according to information such as the coordinates of touch point in touch event The video calling of this contact person Mike is requested.Due to needing to carry out interactive voice when carrying out video calling, contact person APP can call audio manager, set call mode (MODE_IN_COMMUNICATION) for current audio mode.Phase It answers, if not detecting that user receives the operation of this video calling request, audio manager can continue will be current Audio mode is set as general mode (MODE_NORMAL).
Certainly, if mobile phone has received other contact persons (such as contact person Sam) when showing the first user interface 801 Telephone call event, illustrate contact person Mike to user send video calling request while, contact person Sam is also being called The telephone number of user.If the priority that mobile phone pre-sets telephone event is higher than the priority of video calling event, After mobile phone receives the telephone call event of contact person Sam, audio manager can be called to set bell for current audio mode Sound pattern (MODE_RINGTONE).It is subsequent, if detecting that user receives this telephone call event of contact person Sam, Mobile phone can call audio manager to set telephony mode (MODE_IN_CALL) for current audio mode.
In the embodiment of the present application, as shown in figure 9, mobile phone receive the video calling from contact person Mike request after, Camera service in mobile phone can call audio manager to inquire current audio mode.For example, camera service can be with 50ms (milli Second) cycle polling audio manager.I.e. camera service can be every getMode () letter that 50ms calling audio manager provides Current audio mode is inquired in number, request.
Still as shown in figure 9, if inquiring current audio mode not is above-mentioned call mode, for example, when inquiring sound When frequency mode is above-mentioned ring tone modes, ring tone modes or general mode, illustrate that user receives what contact person Mike was sent not yet Video calling request.Correspondingly, namely detecting that user receives this if inquiring current audio mode is call mode The event of video calling request illustrates that user has received the video calling request that contact person Mike is sent.
In further embodiments, the camera service in mobile phone can register the service of monitoring to audio manager.When audio pipe Reason device listens to current audio mode from non-call pattern switching to illustrate that user has received this view after call mode Frequency call request, then audio manager actively can send instruction message to camera service, so that camera service disappears according to the instruction Cease the event that user receives the request of this video calling that can be detected.
In further embodiments, camera service detects that user receives the event that this video calling is requested and refers to: phase Field A is the first value in the communication signaling that machine service detection is sent to modem (modem) to application server 105 Event.
Illustratively, the video calling still with shown in Fig. 8 from contact person Mike requests citing, and mobile phone receives the view After frequency call request, the talking state of this video calling can be sent to application server 105 in real time by modem.Example Such as, mobile phone can send a communication signaling to server every 30ms, and instruction current talking state is carried in the communication signaling Field A.
For example, if mobile phone detects that user clicks the first control 802 in above-mentioned first user interface 801, hand Machine can set the first value for the field A in communication signaling, and the communication signaling is sent to application server 105.Using After server 105 receives the communication signaling that this mobile phone is sent, by the first value in parsing field A, use can be determined Family receives the video calling request of this contact person Mike.Correspondingly, if not detecting that user clicks the first user circle The first control 802 in face 801, mobile phone can set the second value for the field A in communication signaling, and the communication signaling is sent out Give application server 105.After application server 105 receives the communication signaling for carrying the second value, it may be determined that active user The request of this video calling is not received also.
In some embodiments of the application, as shown in Figure 10, mobile phone receives the video calling from contact person Mike and asks After asking, mobile phone can periodically obtain the communication signaling that modem is sent to application server 105, and parse word in communication signaling The specific value of section A.If parsing field A is above-mentioned second value, illustrate that user receives contact person Mike not yet and sends Video calling request.Correspondingly, namely detecting that user receives this view if parsing field A is above-mentioned first value The event of frequency call request illustrates that user has received the video calling request that contact person Mike is sent.
It is understood that other modes detection user, which can also be arranged, in those skilled in the art receives this video calling The event of request, the embodiment of the present application do not do any restrictions to this.For example, being requested receiving the video calling that contact person sends Afterwards, mobile phone can monitor the working condition of microphone in mobile phone.When detect microphone start to work or microphone collect user Voice when, namely detect user receive this video calling request event, mobile phone can determine this video calling request It has been be easily accepted by a user that, otherwise, mobile phone can determine that user does not receive the request of this video calling also.
The video calling request citing still sent with contact person Mike, if the camera service in mobile phone passes through the above method Determine that user does not receive video calling request also, then camera service does not need the camera that response contact person APP is sent temporarily Call request.At this point, camera service will not be risen the lift camera 193 in handset shell by webcam driver. Also, camera service can inquire whether user receives this video calling constantly in above-mentioned audio manager or modem Request.
That is, mobile phone will not image the lift in shell before user receives the request of this video calling First 193 rise, to improve user in the usage experience of video calling scene, also, are not switched on this video in user and lead to Before words request, mobile phone will not rise the camera 193 acquisition image, to reduce the risk that privacy of user is leaked.
In addition, mobile phone can continue to show shown in Fig. 8 when mobile phone determines that user does not receive the request of above-mentioned video calling also The first user interface 801.User can select to accept or reject in the first user interface 801 contact person Mike, and this sends Video calling request.If detecting that user refuses video calling request of this transmission of contact person Mike, alternatively, detecting this Secondary video calling request timed out, alternatively, detecting that contact person Mike cancels the request of this video calling, then contact person APP can be to Camera service, which is sent, cancels the message that this camera calls.In turn, camera service can stop determining whether user receives this view Frequency call request, without the retracted position of lift camera in adjustment handset shell.
In further embodiments, above-mentioned when camera service determines that user does not receive the request of above-mentioned video calling also First user interface 801 can also be updated.For example, mobile phone may be updated showing in status bar in the first user interface 801 when Between, signal strength and electricity etc..In another example before user receives above-mentioned video calling request, if mobile phone receives other The telephone call event of contact person (such as Sam), then the first user interface 801 can be updated to the incoming call of contact person Sam by mobile phone Interface.
The video calling request citing still sent with contact person Mike, if the camera service in mobile phone passes through the above method Determine that user has received the request of this video calling, then camera service can respond the camera tune of contact person APP transmission With request, pop instruction is sent to webcam driver.In response to the pop instruction, webcam driver can be driven in handset shell Driving assembly rises camera 193, and the camera 193 is begun to use to acquire image.
It can be seen that camera control method provided by the embodiments of the present application, this video calling can be answered in user and asked After asking, then the lift camera controlled in mobile phone rises.And before detecting that user answers video calling request, mobile phone The request rise camera that video calling APP opens camera will not be responded, to improve user under video calling scene Usage experience.
Illustratively, the whole process that mobile phone rises camera 193 needs to expend certain time.For example, rising camera 193 whole process takes around 1 second or so time.So, it as shown in (a) in Figure 11, is risen out of shell in mobile phone During camera 193, mobile phone, which can be shown, waits interface 1101.Waiting in interface 1101 may include prompt information 1102, with Prompt user is being that this video calling opens camera.
Or mobile phone can also store camera and take in the last shooting process (or video call process) User images, such as last frame picture of the mobile phone before closing camera.So, as shown in (b) in Figure 11, mobile phone exists When display waits interface 1101, it can also be shown in waiting interface 1101 collected before mobile phone the last time closes camera User images 1103.Alternatively, mobile phone can also be to user images 1103 when showing user images 1103 in waiting interface 1101 It carries out the Fuzzy Processing such as blurring.In this way, user's mobile phone within this period for waiting camera 193 to rise may provide the user with More life-like vision is presented.Meanwhile wait interface 1101 in user images 1103 can be softer transition be this Collected user images after camera 193 rises, that improves user makes user experience.
Certainly, when camera 193 rises, mobile phone can also show other texts, figure in above-mentioned waiting interface 1101 Piece, video or animated content, the embodiment of the present application do not do any restrictions to this.
The video calling request citing still sent with contact person Mike, when mobile phone is complete from handset shell by camera 193 After height-rise, the openable camera of mobile phone starts to acquire image.Alternatively, mobile phone can also be beaten during rising camera 193 Camera is opened to start to acquire image.As shown in figure 12, for camera 193 after rising completely in handset shell, mobile phone can be from above-mentioned Interface 1101 is waited to jump to second user interface 1201.Mobile phone can real-time display camera in second user interface 1201 193 acquired image contents 1202.Also, mobile phone can be sent real-time display contact person Mike in second user interface 1201 Picture material 1203.Meanwhile after user receives the request of this video calling, mobile phone can also be by the collected voice of microphone Content is sent to contact person Mike in real time, also, mobile phone can receive and play the voice content that contact person Mike is sent in real time, Realize this video call process.
In addition, be that camera control method provided by the present application is illustrated by taking lift camera as an example in above-described embodiment, It is understood that method described in above-described embodiment is equally applicable to be equipped with the mobile phone of non-lift formula camera.
For example, camera can be fixed on the front panel of mobile phone.So, mobile phone receives the view of contact person Mike transmission After frequency call request, above-mentioned first user interface 801 can also be presented, and determine whether user receives this video calling at this time Request.If it is determined that user does not receive the request of this video calling, then mobile phone can continue to show the first user interface 801, And the camera collection image on front panel will not be opened;When mobile phone determines that user receives the request of this video calling Afterwards, the camera on the openable front panel of mobile phone starts to acquire image.In this way, mobile phone will not be opened in video calling access failure Camera collects the relevant picture material of user, so as to reduce the security risk of privacy of user leakage.
Through the above description of the embodiments, it is apparent to those skilled in the art that, for description It is convenienct and succinct, only the example of the division of the above functional modules, in practical application, can according to need and will be upper It states function distribution to be completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, to complete All or part of function described above.The specific work process of the system, apparatus, and unit of foregoing description, before can referring to The corresponding process in embodiment of the method is stated, details are not described herein.
Each functional unit in each embodiment of the embodiment of the present application can integrate in one processing unit, can also be with It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
It is used in above embodiments, based on context, term " when ... " or " when ... after " can be interpreted to mean " if ... " or " ... it is rear " or " in response to determination ... " or " in response to detecting ... ".Similarly, based on context, phrase " when in determination ... " or " if detecting (condition or event stated) " can be interpreted to mean " if it is determined that ... " Or " in response to determination ... " or " when detecting (condition or event stated) " or " in response to detecting (the item stated Part or event) ".In addition, in the above-described embodiments, carrying out the entity in area part using such as first, second etc relational terms With another entity, and it is not intended to limit any actual relationship and sequence between these entities.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the embodiment of the present application Substantially all or part of the part that contributes to existing technology or the technical solution can be with software product in other words Form embody, which is stored in a storage medium, including some instructions use so that one Computer equipment (can be personal computer, server or the network equipment etc.) or processor execute each implementation of the application The all or part of the steps of example the method.And storage medium above-mentioned includes: flash memory, mobile hard disk, read-only storage The various media that can store program code such as device, random access memory, magnetic or disk.
It should be pointed out that a part of patent application document includes the content by copyright protection.In addition to patent Other than the patent document of office or the patent file content production copy of record, copyright owner retains copyright.

Claims (20)

1. a kind of control method of camera, the method realize that the camera can in the electronic equipment with camera It is contained in the shell of the electronic equipment or stretches out outside the shell, which is characterized in that the described method includes:
The electronic equipment receives the video calling request from the first contact person;
It is requested in response to the video calling, the first user interface is presented in the electronic equipment, wherein used being presented described first The camera is contained in the shell when interface of family;
The electronic equipment detects that user receives the event of the video calling request;
In response to the event, the electronic equipment reaches the camera outside the shell out of described shell.
2. the method according to claim 1, wherein including the first control and second in first user interface Control, first control are asked for receiving the video calling request, second control for refusing the video calling It asks;
Wherein, the user receives the event of the video calling request are as follows: user chooses the operation of first control.
3. the method according to claim 1, wherein receiving the view from the first contact person in the electronic equipment After frequency call request, further includes:
The electronic equipment calls audio manager to inquire current audio mode;
Wherein, the user receives the event of the video calling request are as follows: inquiring the audio mode is call mode Event.
4. according to the method described in claim 3, it is characterized in that, the electronic equipment calls audio manager to inquire currently Audio mode, comprising:
GetMode () function that the electronic equipment calls audio manager to provide, the return value of the getMode () function For current audio mode;
The current audio mode is one of following four audio mode: call mode MODE_IN_ COMMUNICATION, ring tone modes MODE_RINGTONE, telephony mode MODE_IN_CALL or general mode MODE_ NORMAL。
5. the method according to claim 1, wherein receiving the view from the first contact person in the electronic equipment After frequency call request, further includes:
The electronic equipment obtains the communication signaling sent to server;
Wherein, the user receives the event of the video calling request are as follows: inquiring the first field in the communication signaling is The event of first value.
6. method according to any one of claims 1-5, which is characterized in that the video calling request is the first application Described in the first contact person send;
Wherein, before the event that the electronic equipment detects that user receives the video calling request, comprising:
The electronic equipment determines that first application is preset vt applications.
7. method according to claim 1 to 6, which is characterized in that in the electronic equipment by the camera Except being reached out of described shell outside the shell, the method also includes:
Second user interface is presented in the electronic equipment, includes the collected figure of the camera in the second user interface Picture.
8. method according to any one of claims 1-7, which is characterized in that stretched out of described shell in the camera During being arrived outside the shell out, further includes:
Third user interface is presented in the electronic equipment, includes prompt information, the prompt information in the third user interface For prompting user opening the camera.
9. according to the method described in claim 8, it is characterized in that, further including the first user figure in the third user interface Picture, first user images are the user images taken in the last shooting process.
10. a kind of electronic equipment characterized by comprising
Camera, the camera can be contained in the shell of the electronic equipment or stretch out outside the shell;
Touch screen, the touch screen include display screen and touch sensor;
One or more processors;
Memory;
One or more computer programs are wherein stored in the memory, one or more of computer programs include referring to It enables, when described instruction is executed by the electronic equipment, so that the electronic equipment executes following steps:
Receive the video calling request from the first contact person;
It is requested in response to the video calling, the first user interface is presented, wherein described in when first user interface is presented Camera is contained in the shell;
Detect that user receives the event of the video calling request;
In response to the event, the camera is reached outside the shell out of described shell.
11. electronic equipment according to claim 10, which is characterized in that include the first control in first user interface With the second control, first control is for receiving the video calling request, and second control is for refusing the video Call request;
Wherein, the user receives the event of the video calling request are as follows: user chooses the operation of first control.
12. electronic equipment according to claim 10, which is characterized in that receive in the electronic equipment from the first connection After the video calling request of people, the electronic equipment is also used to execute:
Audio manager is called to inquire current audio mode;
Wherein, the user receives the event of the video calling request are as follows: inquiring the audio mode is call mode Event.
13. electronic equipment according to claim 12, which is characterized in that the electronic equipment calls audio manager inquiry Current audio mode, comprising:
The getMode () function for calling audio manager to provide, the return value of the getMode () function are current audio Mode;
Wherein, current audio mode is one of following four audio mode: call mode MODE_IN_ COMMUNICATION, ring tone modes MODE_RINGTONE, telephony mode MODE_IN_CALL and general mode MODE_ NORMAL。
14. electronic equipment according to claim 10, which is characterized in that receive in the electronic equipment from the first connection After the video calling request of people, the electronic equipment is also used to execute:
Obtain the communication signaling sent to server;
Wherein, the user receives the event of the video calling request are as follows: inquiring the first field in the communication signaling is The event of first value.
15. electronic equipment described in any one of 0-14 according to claim 1, which is characterized in that video calling request is What the first contact person described in the first application sent;
Wherein, before the event that the electronic equipment detects that user receives the video calling request, the electronic equipment It is also used to execute:
Determine that first application is preset vt applications.
16. electronic equipment described in any one of 0-15 according to claim 1, which is characterized in that in the electronic equipment by institute It states after camera reaches out of described shell outside the shell, the electronic equipment is also used to execute:
Second user interface is presented, includes the camera acquired image in the second user interface.
17. electronic equipment described in any one of 0-16 according to claim 1, which is characterized in that in the camera from described During being reached outside the shell in shell, the electronic equipment is also used to execute:
Third user interface is presented, includes prompt information in the third user interface, the prompt information is for prompting user Opening the camera.
18. electronic equipment according to claim 17, which is characterized in that further include the first use in the third user interface Family image, first user images are the user images taken in the last shooting process.
19. a kind of computer readable storage medium, instruction is stored in the computer readable storage medium, which is characterized in that When described instruction is run on an electronic device, so that the electronic equipment executes as claimed in any one of claims 1-9 wherein The control method of camera.
20. a kind of computer program product comprising instruction, which is characterized in that when the computer program product is in electronic equipment When upper operation, so that the electronic equipment executes the control method of camera as claimed in any one of claims 1-9 wherein.
CN201910310356.8A 2019-04-17 2019-04-17 Camera control method and electronic equipment Active CN110087012B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011079446.XA CN112422874B (en) 2019-04-17 2019-04-17 Camera control method and electronic equipment
CN201910310356.8A CN110087012B (en) 2019-04-17 2019-04-17 Camera control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910310356.8A CN110087012B (en) 2019-04-17 2019-04-17 Camera control method and electronic equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202011079446.XA Division CN112422874B (en) 2019-04-17 2019-04-17 Camera control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN110087012A true CN110087012A (en) 2019-08-02
CN110087012B CN110087012B (en) 2020-10-23

Family

ID=67415429

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202011079446.XA Active CN112422874B (en) 2019-04-17 2019-04-17 Camera control method and electronic equipment
CN201910310356.8A Active CN110087012B (en) 2019-04-17 2019-04-17 Camera control method and electronic equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202011079446.XA Active CN112422874B (en) 2019-04-17 2019-04-17 Camera control method and electronic equipment

Country Status (1)

Country Link
CN (2) CN112422874B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519511A (en) * 2019-08-12 2019-11-29 Oppo广东移动通信有限公司 Imaging apparatus control method, terminal, server and storage medium
CN110769394A (en) * 2019-09-18 2020-02-07 华为技术有限公司 Video call method and electronic equipment
CN111163278A (en) * 2019-12-30 2020-05-15 视联动力信息技术股份有限公司 Camera control method and device
CN111246059A (en) * 2020-01-09 2020-06-05 Oppo(重庆)智能科技有限公司 Control method and device for lifting camera module, electronic equipment and storage medium
CN112995565A (en) * 2019-12-17 2021-06-18 佛山市云米电器科技有限公司 Camera adjusting method of display device, display device and storage medium
CN113473064A (en) * 2021-08-23 2021-10-01 珠海格力电器股份有限公司 Video call image processing method and device, computer equipment and storage medium
CN114244989A (en) * 2021-12-22 2022-03-25 深圳市福日中诺电子科技有限公司 Control method of smart watch with lifting type rotary camera
EP4109891A4 (en) * 2020-03-18 2023-08-23 Huawei Technologies Co., Ltd. Device interaction method and electronic device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500912B (en) * 2022-02-23 2023-10-24 联想(北京)有限公司 Call processing method, electronic device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120249855A1 (en) * 2005-06-15 2012-10-04 Apple Inc. Image Capture Using Display Device as Light Source
US20140043424A1 (en) * 2012-08-09 2014-02-13 Samsung Electronics Co., Ltd. Video calling using a remote camera device to stream video to a local endpoint host acting as a proxy
CN107592492A (en) * 2017-09-06 2018-01-16 维沃移动通信有限公司 A kind of video flowing display methods and mobile terminal
CN108900770A (en) * 2018-07-17 2018-11-27 广东小天才科技有限公司 A kind of method, apparatus, smartwatch and the mobile terminal of the rotation of control camera
CN108924290A (en) * 2018-06-12 2018-11-30 Oppo广东移动通信有限公司 Camera control method, device, mobile terminal and computer-readable medium
CN108919883A (en) * 2018-05-31 2018-11-30 维沃移动通信有限公司 A kind of camera head protecting method and mobile terminal
CN109040351A (en) * 2018-06-12 2018-12-18 Oppo广东移动通信有限公司 Camera control method, device, mobile terminal and storage medium
CN109167894A (en) * 2018-06-15 2019-01-08 Oppo广东移动通信有限公司 Camera control method, device, mobile terminal and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120249855A1 (en) * 2005-06-15 2012-10-04 Apple Inc. Image Capture Using Display Device as Light Source
US20140043424A1 (en) * 2012-08-09 2014-02-13 Samsung Electronics Co., Ltd. Video calling using a remote camera device to stream video to a local endpoint host acting as a proxy
CN107592492A (en) * 2017-09-06 2018-01-16 维沃移动通信有限公司 A kind of video flowing display methods and mobile terminal
CN108919883A (en) * 2018-05-31 2018-11-30 维沃移动通信有限公司 A kind of camera head protecting method and mobile terminal
CN108924290A (en) * 2018-06-12 2018-11-30 Oppo广东移动通信有限公司 Camera control method, device, mobile terminal and computer-readable medium
CN109040351A (en) * 2018-06-12 2018-12-18 Oppo广东移动通信有限公司 Camera control method, device, mobile terminal and storage medium
CN109167894A (en) * 2018-06-15 2019-01-08 Oppo广东移动通信有限公司 Camera control method, device, mobile terminal and storage medium
CN108900770A (en) * 2018-07-17 2018-11-27 广东小天才科技有限公司 A kind of method, apparatus, smartwatch and the mobile terminal of the rotation of control camera

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021027629A1 (en) * 2019-08-12 2021-02-18 Oppo广东移动通信有限公司 Control method for image capturing device, terminal, server, and computer storage medium
CN110519511A (en) * 2019-08-12 2019-11-29 Oppo广东移动通信有限公司 Imaging apparatus control method, terminal, server and storage medium
CN110769394B (en) * 2019-09-18 2021-10-01 华为技术有限公司 Video call method and electronic equipment
CN110769394A (en) * 2019-09-18 2020-02-07 华为技术有限公司 Video call method and electronic equipment
CN112995565B (en) * 2019-12-17 2024-03-08 佛山市云米电器科技有限公司 Camera adjustment method of display device, display device and storage medium
CN112995565A (en) * 2019-12-17 2021-06-18 佛山市云米电器科技有限公司 Camera adjusting method of display device, display device and storage medium
CN111163278A (en) * 2019-12-30 2020-05-15 视联动力信息技术股份有限公司 Camera control method and device
CN111246059B (en) * 2020-01-09 2021-09-21 Oppo(重庆)智能科技有限公司 Control method and device for lifting camera module, electronic equipment and storage medium
CN111246059A (en) * 2020-01-09 2020-06-05 Oppo(重庆)智能科技有限公司 Control method and device for lifting camera module, electronic equipment and storage medium
EP4109891A4 (en) * 2020-03-18 2023-08-23 Huawei Technologies Co., Ltd. Device interaction method and electronic device
CN113473064A (en) * 2021-08-23 2021-10-01 珠海格力电器股份有限公司 Video call image processing method and device, computer equipment and storage medium
CN114244989A (en) * 2021-12-22 2022-03-25 深圳市福日中诺电子科技有限公司 Control method of smart watch with lifting type rotary camera
CN114244989B (en) * 2021-12-22 2024-04-16 深圳市福日中诺电子科技有限公司 Control method of intelligent watch with lifting rotary camera

Also Published As

Publication number Publication date
CN110087012B (en) 2020-10-23
CN112422874B (en) 2022-06-24
CN112422874A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN110138937B (en) Call method, device and system
CN110087012A (en) A kind of control method and electronic equipment of camera
CN110381197B (en) Method, device and system for processing audio data in many-to-one screen projection
JP7235871B2 (en) Data transmission method and electronic device
CN110381282A (en) A kind of display methods and relevant apparatus of the video calling applied to electronic equipment
CN110506416A (en) A kind of method and terminal of terminal switching camera
CN110114747A (en) A kind of notifier processes method and electronic equipment
CN111628916B (en) Method for cooperation of intelligent sound box and electronic equipment
CN109814767A (en) Message treatment method and relevant apparatus
CN112492193B (en) Method and equipment for processing callback stream
CN110198362B (en) Method and system for adding intelligent household equipment into contact
WO2021052204A1 (en) Address book-based device discovery method, audio and video communication method, and electronic device
CN112119641B (en) Method and device for realizing automatic translation through multiple TWS (time and frequency) earphones connected in forwarding mode
KR102558615B1 (en) Method and electronic device for presenting a video on an electronic device when there is an incoming call
WO2020150894A1 (en) Application-based incoming call display method and terminal device
CN109714463A (en) A kind of recommended method and electronic equipment of contact person
CN111835907A (en) Method, equipment and system for switching service across electronic equipment
WO2021031865A1 (en) Call method and apparatus
CN114115770A (en) Display control method and related device
CN112532508B (en) Video communication method and video communication device
US11792631B2 (en) Emergency call method and user terminal
WO2022152167A1 (en) Network selection method and device
CN110737916A (en) Communication terminal and processing method
CN114697438B (en) Method, device, equipment and storage medium for carrying out call by utilizing intelligent equipment
CN117785312A (en) Audio playing method, electronic device and storage medium

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210421

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Device Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.