CN108924308A - Call method, device, storage medium and the terminal of camera - Google Patents

Call method, device, storage medium and the terminal of camera Download PDF

Info

Publication number
CN108924308A
CN108924308A CN201810797465.2A CN201810797465A CN108924308A CN 108924308 A CN108924308 A CN 108924308A CN 201810797465 A CN201810797465 A CN 201810797465A CN 108924308 A CN108924308 A CN 108924308A
Authority
CN
China
Prior art keywords
camera
external
call request
applications
front camera
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810797465.2A
Other languages
Chinese (zh)
Inventor
彭益章
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810797465.2A priority Critical patent/CN108924308A/en
Publication of CN108924308A publication Critical patent/CN108924308A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the present application discloses call method, device, storage medium and the terminal of a kind of camera, and this method includes:The front camera call request of triggering is detected first;Then, when detecting front camera call request, judge whether to be inserted into external camera;If being inserted into external camera, then the front camera call request is responded by camera applications, built-in camera used at present can be substituted by external camera, and by judging whether that front camera call request can more accurately be responded by being inserted into external camera, improve resource utilization ratio.

Description

Call method, device, storage medium and the terminal of camera
Technical field
The invention relates to the call method of technical field of mobile terminals more particularly to camera, device, storages to be situated between Matter and terminal.
Background technique
With the continuous development of mobile terminal, the application program installed in mobile terminal is more and more, almost every movement Terminal is each equipped with camera function.When using preposition camera function, need by mobile terminal screen on the shell before Set camera.
But under the development trend shielded comprehensively, while screen accounting is higher and higher, front camera seems to become resistance The obstruction for hindering screen accounting to further increase.In order to maximize the display area of screen, " fringe screen " is either " before underlying Set camera " etc. change front camera is in screen or the scheme of screen periphery position is also come into being.But no matter fringe Screen or underlying front camera, still can occupy screen space, and front camera is caused to occupy screen space, system resource benefit It is low with rate.
Summary of the invention
The purpose of the embodiment of the present application is to provide call method, device, storage medium and the terminal of a kind of camera, can be with Improve mobile terminal resource utilization rate.
In a first aspect, the embodiment of the present application provides a kind of call method of camera, including:
Detect the front camera call request of triggering;
When detecting front camera call request, judge whether to be inserted into external camera;
If being inserted into external camera, the front camera call request is responded by camera applications.
Second aspect, the embodiment of the present application provide a kind of calling device of camera, including:
Detection module, for detecting the front camera call request of triggering;
Judgment module, for judging whether to be inserted into when the detection module detects front camera call request External camera;
Respond module is responded if being inserted into external camera for judgment module judgement by camera applications The front camera call request.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence realizes the call method of the camera as shown in first aspect when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of terminal, including memory, and processor and storage are on a memory And the computer program that can be run in processor, the processor are realized as shown in first aspect when executing the computer program Camera call method.
The invocation scheme of the camera provided in the embodiment of the present application, the front camera calling for detecting triggering first are asked It asks;Then, when detecting front camera call request, judge whether to be inserted into external camera;If be inserted into external Camera then responds the front camera call request by camera applications, and can be substituted by external camera makes at present Built-in camera, and asked by judging whether that insertion external camera can more accurately respond front camera calling It asks, improves resource utilization ratio.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of the call method of camera provided by the embodiments of the present application;
Fig. 2 is the flow diagram of the call method of another camera provided by the embodiments of the present application;
Fig. 3 is the flow diagram of the call method of another camera provided by the embodiments of the present application;
Fig. 4 is the flow diagram of the call method of another camera provided by the embodiments of the present application;
Fig. 5 is the flow diagram of the call method of another camera provided by the embodiments of the present application;
Fig. 6 is the flow diagram of the call method of another camera provided by the embodiments of the present application;
Fig. 7 is a kind of structural schematic diagram of the calling device of camera provided by the embodiments of the present application;
Fig. 8 is a kind of structural schematic diagram of mobile terminal provided by the embodiments of the present application.
Specific embodiment
Further illustrate the technical solution of the application below with reference to the accompanying drawings and specific embodiments.It is understood that It is that specific embodiment described herein is used only for explaining the application, rather than the restriction to the application.It further needs exist for illustrating , part relevant to the application is illustrated only for ease of description, in attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing or method described as flow chart.Although each step is described as the processing of sequence by flow chart, many of these Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation The processing can be terminated when completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with Corresponding to method, function, regulation, subroutine, subprogram etc..
With the continuous development of mobile terminal, the application program installed in mobile terminal is more and more, almost every movement Terminal is each equipped with camera function.When using preposition camera function, need by mobile terminal screen on the shell before Set camera.But under the development trend shielded comprehensively, while screen accounting is higher and higher, front camera seems to become resistance The obstruction for hindering screen accounting to further increase.In order to maximize the display area of screen, " fringe screen " is either " before underlying Set camera " etc. change front camera is in screen or the scheme of screen periphery position is also come into being.But no matter fringe Screen or underlying front camera, still can occupy screen space, and front camera is caused to occupy screen space, system resource benefit It is low with rate.
The embodiment of the present application provides a kind of call method of camera, and setting USB connects on side at the top of the mobile terminal Mouthful, and external camera is connected by USB interface.When needing to carry out self-timer, insertion external camera can carry out preposition shooting. And then in no setting is required on the side of shell where screen built-in camera, resource utilization ratio is improved.Meanwhile it is outer in insertion After setting camera, when detecting triggering front camera call request, judge whether to be inserted into external camera, it is outer when being inserted into When setting camera, front camera call request is responded.Concrete scheme is as follows:
Fig. 1 is the flow diagram of the call method of camera provided by the embodiments of the present application, and this method is used to use position The case where setting camera replacement front camera, this method can be executed by mobile terminal, which can be intelligence Mobile phone, tablet computer, wearable device, laptop etc., this method specifically comprises the following steps:
The front camera call request that step 110, detection trigger.
When user start in the application with camera function it is preposition take pictures or carry out video communication when, triggering preposition is taken the photograph As head call request.Application with camera function can be camera applications, or instant messaging application.
Step 120, when detecting front camera call request, judge whether to be inserted into external camera.
At least one USB interface is set on the upper end side of mobile terminal, is connected by USB interface and external camera It connects.Optionally, USB interface is USB Type-C interface.It can be determined whether insertion external equipment by detecting USB interface voltage. Due to the equipment that external camera is user's insertion, user can be inserted into suitable equipment according to use demand, therefore usually When being inserted into external equipment, external equipment is external camera.
When being inserted into external camera, step 130 is executed.If being not inserted into external camera, 140 are thened follow the steps.
If step 130 has been inserted into external camera, front camera call request is responded by camera applications.
When being inserted into external camera, in camera applications or in camera function interface, preposition shooting is shown Picture.
If step 140 is not inserted into external camera, prompt information is exported.
If being not inserted into external camera, prompt information is exported, prompt information can be " being not inserted into position camera ".
USB interface is set on side at the top of the mobile terminal, and external camera is connected by USB interface.When need into When row self-timer, insertion external camera can carry out preposition shooting.And then that no setting is required on the side of shell where screen is built-in Camera improves resource utilization ratio.Meanwhile after being inserted into external camera, front camera calling is triggered when detecting When request, judge whether to be inserted into external camera, when being inserted into external camera, responds front camera call request.
The embodiment of the present application provides a kind of call method of camera, and setting USB connects on side at the top of the mobile terminal Mouthful, and external camera is connected by USB interface.When needing to carry out self-timer, insertion external camera can carry out preposition shooting. The front camera call request of triggering is detected first;Then, when detecting front camera call request, judge whether It is inserted into external camera;If being inserted into external camera, the front camera call request is responded by camera applications, Built-in camera used at present can be substituted by external camera, and by judging whether that insertion external camera can be more Add accurately response front camera call request, improves resource utilization ratio.It is being not necessarily on the side of shell where screen Built-in camera is set, resource utilization ratio is improved.Meanwhile after being inserted into external camera, taken the photograph when detecting that triggering is preposition When as head call request, judge whether to be inserted into external camera, when being inserted into external camera, response front camera is called Request improves resource utilization ratio.
In addition, screen shape is regular round rectangle, relative to the abnormity screen of " fringe screen " scheme, third party is not needed Developer does any additional adaptation work, can reduce the compatibility issue of third-party application.Compared to " fringe screen " scheme Abnormity screen, can thoroughly remove " fringe " part by the external front camera of interface, screen accounting is higher.Front camera position In mobile phone center of top, compared to the scheme of " underlying front camera ", when carrying out the operation such as video calling and self-timer, interaction More preferably experienced naturally, user can be brought.Meanwhile the USB Type-C additionally opened up at the top of mobile terminal connects Mouthful, it can be not only used for access external camera, wired earphone can also be accessed.Especially 3.5mm earpiece holes are cancelled at present Become a kind of trend, future customer can also use top when mobile phone is charged the phone using the USB Type-C interface of bottom The USB Type-C interface connection earphone in portion listens to music, kills two birds with one stone.
" fringe screen " for actual effect, can improve to a certain extent screen and account for as a kind of " abnormity shields " comprehensively Than giving user outstanding visual experience.Front camera may remain in the center of top of mobile phone simultaneously, in video calling With can guarantee good user experience when self-timer.But " fringe screen " also has the shortcomings that its is inevitable:" 1. fringe screen " Screen shape is simultaneously irregular, and the width of " the fringe screen " of different vendor, thickness equidimension are all not quite similar, this gives third-party application Adaptation bring additional expense.2. " fringe screen " checks picture or broadcasting 21:When 9 film, inevitably To partial occlusion is had in display, user's viewing experience is influenced.The embodiment of the present application connects external camera using USB interface, It can be avoided and built-in camera is set in screen cover, screen display content is blocked in elimination, improves user's viewing experience.Into one Step, do not need the adaptation cost that can reduce third-party application by way of fringe screen.
" underlying front camera " does not need additional adaptation, while screen accounts for although can guarantee the regular of display screen It is more outstanding than " fringe screen " than that can also accomplish, but front camera is placed on " chin " of mobile phone bottom, it is regarding Meeting exception is awkward when frequency is conversed, unnatural;When user carries out self-timer, satisfied effect is also hardly resulted in due to angle. The user experience of entirety is simultaneously bad.By the way that USB interface is arranged on the top of screen side, it can be realized side's setting on the screen and take the photograph As head, so that it is more anxious naturally, optimization shooting effect to take pictures.
Fig. 2 is the flow diagram of the call method of another camera provided by the embodiments of the present application, as to above-mentioned The further explanation of embodiment, including:
Step 210, when external camera access when, start camera applications.
In one implementation, the inactive camera applications of user.Before starting camera applications, it is inserted into external camera shooting Head.After being inserted into external camera, external camera is identified and is accessed.Start camera applications when being successfully accessed.
Step 220, triggering front camera call request.
The front camera call request that step 230, detection trigger.
Step 240, when detecting front camera call request, judge whether to be inserted into external camera.
If step 250 has been inserted into external camera, front camera call request is responded by camera applications.
If step 260 is not inserted into external camera, prompt information is exported.
The call method of camera provided by the embodiments of the present application, can when external camera is inserted into mobile terminal, Automatic starting camera applications, and then user is avoided to manually boot camera applications, improve operating efficiency.
Fig. 3 is the flow diagram of the call method of another camera provided by the embodiments of the present application, as to above-mentioned The further explanation of embodiment, including:
Step 310, when external camera access when, start camera applications.
Step 320 starts preposition camera function in camera applications.
Mobile terminal is equipped with the camera built in back, and front camera is external camera.When insertion front camera When, camera applications are switched into preposition camera function.
Step 330, triggering front camera call request
The front camera call request that step 340, detection trigger.
Step 350, when detecting front camera call request, judge whether to be inserted into external camera.
If step 360 has been inserted into external camera, front camera call request is responded by camera applications.
If step 370 is not inserted into external camera, prompt information is exported.
The call method of camera provided by the embodiments of the present application, can when external camera is inserted into mobile terminal, Automatic starting camera applications simultaneously switch to preposition photographing mode in camera applications, and then user's manual switching is avoided to take pictures mould Formula improves operating efficiency.
Fig. 4 is the flow diagram of the call method of another camera provided by the embodiments of the present application, as to above-mentioned The further explanation of embodiment, including:
The front camera call request that step 410, detection trigger.
Step 420, when detecting front camera call request, judge whether to be inserted into external camera.
If step 430 has been inserted into external camera, front camera call request is responded by camera applications.
If step 440 is not inserted into external camera, prompt information is exported.
Step 450, when external camera extract when, close camera applications.
When user extracts external camera, indicates that user does not need to shoot, camera applications are automatically closed at this time.Into One step, camera applications can be started when being inserted into external camera and switch to preamble pattern, while recorded starting camera and answering The target application of used time front stage operation.When closing camera applications, restore the target application.
The call method of camera provided by the embodiments of the present application, can be when external camera extracts mobile terminal, certainly Camera applications are closed in dynamic starting, improve operating efficiency.
Fig. 5 is the flow diagram of the call method of another camera provided by the embodiments of the present application, as to above-mentioned The further explanation of embodiment, including:
If step 510 detects the operation for switching to preposition photographing mode in camera applications, front camera is triggered Call request.
Preposition photographing mode further includes Video chat mode.
The front camera call request that step 520, detection trigger.
Step 530, when detecting front camera call request, judge whether to be inserted into external camera.
If step 540 has been inserted into external camera, front camera call request is responded by camera applications.
If step 550 is not inserted into external camera, prompt information is exported.
The call method of camera provided by the embodiments of the present application can identify external camera shooting when switching to preposition shooting Head improves operating efficiency.
Fig. 6 is the flow diagram of the call method of another camera provided by the embodiments of the present application, as to above-mentioned The further explanation of embodiment, including:
Step 610, when detecting that preset interface is inserted into external equipment, use default webcam driver to identify external camera shooting Head.
Preset interface is the interface being arranged on the side of screen top.When the interface detects external equipment access, make External equipment is identified with default webcam driver.
The front camera call request that step 620, detection trigger.
Step 630, when detecting front camera call request, judge whether to be inserted into external camera.
If step 640 has been inserted into external camera, front camera call request is responded by camera applications.
If step 650 is not inserted into external camera, prompt information is exported.
External camera can be the production of mobile terminal production firm, and mobile terminal is built-in with external camera when dispatching from the factory Driver.The call method of camera provided by the embodiments of the present application can identify external take the photograph according to default driver As head, operating efficiency is improved.
Fig. 7 is a kind of structural schematic diagram of the calling device of camera provided by the embodiments of the present application.As shown in fig. 7, should Device includes:Detection module 710, judgment module 720, respond module 730 and trigger module 740.
Detection module 710, for detecting the front camera call request of triggering;
Judgment module 720, for judging whether when the detection module 710 detects front camera call request It has been inserted into external camera;
Respond module 730 is answered if being inserted into external camera for the judgment module 720 judgement by camera With the response front camera call request.
It further, further include trigger module 740, trigger module 740 is used for:
When external camera access, start camera applications;
Trigger front camera call request.
Further, trigger module 740 is used for:
Start camera applications;
Start preposition camera function in the camera applications.
Further, respond module 730 is used for:
When the external camera is extracted, camera applications are closed.
Further, respond module 730 is used for:
If being not inserted into external camera, prompt information is exported.
Further, trigger module 740 is used for:
If detecting the operation for switching to preposition photographing mode in camera applications, triggers front camera calling and ask It asks.
Further, detection module 710 is used for:
When detecting that preset interface is inserted into external equipment, external camera is identified using default webcam driver.
The embodiment of the present application provides a kind of calling device of camera, and setting USB connects on side at the top of the mobile terminal Mouthful, and external camera is connected by USB interface.When needing to carry out self-timer, insertion external camera can carry out preposition shooting. The front camera call request of triggering is detected first;Then, when detecting front camera call request, judge whether It is inserted into external camera;If being inserted into external camera, the front camera call request is responded by camera applications, Built-in camera used at present can be substituted by external camera, and by judging whether that insertion external camera can be more Add accurately response front camera call request, improves resource utilization ratio.It is being not necessarily on the side of shell where screen Built-in camera is set, resource utilization ratio is improved.Meanwhile after being inserted into external camera, taken the photograph when detecting that triggering is preposition When as head call request, judge whether to be inserted into external camera, when being inserted into external camera, response front camera is called Request improves resource utilization ratio.
Method provided by the aforementioned all embodiments of the application can be performed in above-mentioned apparatus, and it is corresponding to have the execution above method Functional module and beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to the aforementioned all implementations of the application Method provided by example.
Fig. 8 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application.As shown in figure 8, the terminal can be with Including:Shell (not shown), memory 801, central processing unit (Central Processing Unit, CPU) 802 are (again Claim processor, hereinafter referred to as CPU), the computer program, the circuit that are stored on memory 801 and can be run on processor 802 Plate (not shown) and power circuit (not shown).The circuit board is placed in the space interior that the shell surrounds; The CPU802 and the memory 801 are arranged on the circuit board;The power circuit, for for each of the terminal Circuit or device power supply;The memory 801, for storing executable program code;The CPU802 described in reading by depositing The executable program code stored in reservoir 801 runs program corresponding with the executable program code.
The terminal further includes:Peripheral Interface 803, RF (Radio Frequency, radio frequency) circuit 805, voicefrequency circuit 806, loudspeaker 811, power management chip 808, input/output (I/O) subsystem 809, touch screen 812, other input/controls Equipment 810 and outside port 804, these components are communicated by one or more communication bus or signal wire 807.
It should be understood that graphic terminal 800 is only an example of terminal, and terminal device 800 can be with With than shown in the drawings more or less component, two or more components can be combined, or can have Different component configurations.Various parts shown in the drawings can include one or more signal processings and/or dedicated integrated It is realized in the combination of hardware, software or hardware and software including circuit.
Just provided in this embodiment below to be described in detail for a kind of terminal device, the terminal device is with intelligent hand For machine.
Memory 801, the memory 801 can be accessed by CPU802, Peripheral Interface 803 etc., and the memory 801 can It can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory, Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU802 and deposited by Peripheral Interface 803, the Peripheral Interface 803 Reservoir 801.
I/O subsystem 809, the I/O subsystem 809 can be by the input/output peripherals in equipment, such as touch screen 812 With other input/control devicess 810, it is connected to Peripheral Interface 803.I/O subsystem 809 may include 8091 He of display controller For controlling one or more input controllers 8092 of other input/control devicess 810.Wherein, one or more input controls Device 8092 processed receives electric signal from other input/control devicess 810 or sends electric signal to other input/control devicess 810, Other input/control devicess 810 may include physical button (push button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole clicks idler wheel.It is worth noting that input controller 8092 can with it is following any one connect:Keyboard, infrared port, The indicating equipment of USB interface and such as mouse.
Wherein, according to the working principle of touch screen and transmission information medium classification, touch screen 812 can for resistance-type, Capacitor induction type, infrared-type or surface acoustic wave type.Classify according to mounting means, touch screen 812 can be:It is external hanging type, built-in Formula or monoblock type.Classify according to technical principle, touch screen 812 can be:Vector pressure sensing technology touch screen, resistive technologies touching Touch screen, capacitance technology touch screen, infrared technology touch screen or surface acoustic wave technique touch screen.
Touch screen 812, the touch screen 812 are the input interface and output interface between user terminal and user, can It is shown to user depending on output, visual output may include figure, text, icon, video etc..Optionally, touch screen 812 is by user The electric signal (electric signal of such as contact surface) triggered on touch screen curtain, is sent to processor 802.
Display controller 8091 in I/O subsystem 809 receives electric signal from touch screen 812 or sends out to touch screen 812 Electric signals.Touch screen 812 detects the contact on touch screen, and the contact that display controller 8091 will test is converted to and is shown The interaction of user interface object on touch screen 812, i.e. realization human-computer interaction, the user interface being shown on touch screen 812 Object can be the icon of running game, the icon for being networked to corresponding network etc..It is worth noting that equipment can also include light Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or formed by touch screen.
RF circuit 805 is mainly used for establishing the communication of intelligent sound box Yu wireless network (i.e. network side), realizes intelligent sound box Data receiver and transmission with wireless network.Such as transmitting-receiving short message, Email etc..
Voicefrequency circuit 806 is mainly used for receiving audio data from Peripheral Interface 803, which is converted to telecommunications Number, and the electric signal is sent to loudspeaker 811.
Loudspeaker 811 is reduced to for intelligent sound box to be passed through RF circuit 805 from the received voice signal of wireless network Sound simultaneously plays the sound to user.
Power management chip 808, the hardware for being connected by CPU802, I/O subsystem and Peripheral Interface are powered And power management.
In the present embodiment, central processing unit 802 is used for:
Detect the front camera call request of triggering;
When detecting front camera call request, judge whether to be inserted into external camera;
If being inserted into external camera, the front camera call request is responded by camera applications.
Further, before the front camera call request of detection triggering, further include:
When external camera access, start camera applications;
Trigger front camera call request.
Further, the starting camera applications, including:
Start camera applications;
Start preposition camera function in the camera applications.
Further, further include:
When the external camera is extracted, camera applications are closed.
Further, after judging whether to be inserted into external camera, further include:
If being not inserted into external camera, prompt information is exported.
Further, before the front camera call request of detection triggering, including:
If detecting the operation for switching to preposition photographing mode in camera applications, triggers front camera calling and ask It asks.
Further, before the front camera call request of detection triggering, including:
When detecting that preset interface is inserted into external equipment, external camera is identified using default webcam driver.
The embodiment of the present application also provides a kind of storage medium comprising terminal device executable instruction, and the terminal device can It executes instruction when being executed by terminal device processor for executing a kind of call method of camera, this method includes:
Detect the front camera call request of triggering;
When detecting front camera call request, judge whether to be inserted into external camera;
If being inserted into external camera, the front camera call request is responded by camera applications.
Further, before the front camera call request of detection triggering, further include:
When external camera access, start camera applications;
Trigger front camera call request.
Further, the starting camera applications, including:
Start camera applications;
Start preposition camera function in the camera applications.
Further, further include:
When the external camera is extracted, camera applications are closed.
Further, after judging whether to be inserted into external camera, further include:
If being not inserted into external camera, prompt information is exported.
Further, before the front camera call request of detection triggering, including:
If detecting the operation for switching to preposition photographing mode in camera applications, triggers front camera calling and ask It asks.
Further, before the front camera call request of detection triggering, including:
When detecting that preset interface is inserted into external equipment, external camera is identified using default webcam driver.
The computer storage medium of the embodiment of the present application, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes:Tool There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with one or more programming languages or combinations thereof come write for execute the application operation computer Program code, programming language include object oriented program language-such as Java, Smalltalk, C++, are also wrapped Include conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete Ground executes on the user computer, partly executes on the user computer, executing as an independent software package, partially existing Part executes on the remote computer or executes on a remote computer or server completely on subscriber computer.It is being related to In the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or wide area Net (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as utilize ISP To be connected by internet).
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present application The call operation for the camera that executable instruction is not limited to the described above can also be performed provided by the application any embodiment Relevant operation in the call method of camera.
Note that above are only the preferred embodiment and institute's application technology principle of the application.It will be appreciated by those skilled in the art that The application is not limited to specific embodiment described here, be able to carry out for a person skilled in the art it is various it is apparent variation, The protection scope readjusted and substituted without departing from the application.Therefore, although being carried out by above embodiments to the application It is described in further detail, but the application is not limited only to above embodiments, in the case where not departing from the application design, also It may include more other equivalent embodiments, and scope of the present application is determined by the scope of the appended claims.

Claims (10)

1. a kind of call method of camera, which is characterized in that including:
Detect the front camera call request of triggering;
When detecting front camera call request, judge whether to be inserted into external camera;
If being inserted into external camera, the front camera call request is responded by camera applications.
2. the call method of camera according to claim 1, which is characterized in that in the front camera tune of detection triggering Before request, further include:
When external camera access, start camera applications;
Trigger front camera call request.
3. the call method of camera according to claim 2, which is characterized in that the starting camera applications, including:
Start camera applications;
Start preposition camera function in the camera applications.
4. the call method of camera according to claim 1, which is characterized in that further include:
When the external camera is extracted, camera applications are closed.
5. the call method of camera according to claim 1, which is characterized in that judging whether to be inserted into external camera shooting After head, further include:
If being not inserted into external camera, prompt information is exported.
6. the call method of camera according to claim 1, which is characterized in that in the front camera tune of detection triggering Before request, including:
If detecting the operation for switching to preposition photographing mode in camera applications, front camera call request is triggered.
7. the call method of camera according to claim 1, which is characterized in that in the front camera tune of detection triggering Before request, including:
When detecting that preset interface is inserted into external equipment, external camera is identified using default webcam driver.
8. a kind of calling device of camera, which is characterized in that including:
Detection module, for detecting the front camera call request of triggering;
Judgment module, for judging whether to be inserted into external when the detection module detects front camera call request Camera;
Respond module, if being inserted into external camera for judgment module judgement, by described in camera applications response Front camera call request.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The call method of the camera as described in any in claim 1-7 is realized when row.
10. a kind of terminal, including memory, processor and storage are on a memory and can be in the computer journey of processor operation Sequence, which is characterized in that the processor realizes camera as claimed in claim 1 when executing the computer program Call method.
CN201810797465.2A 2018-07-19 2018-07-19 Call method, device, storage medium and the terminal of camera Pending CN108924308A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810797465.2A CN108924308A (en) 2018-07-19 2018-07-19 Call method, device, storage medium and the terminal of camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810797465.2A CN108924308A (en) 2018-07-19 2018-07-19 Call method, device, storage medium and the terminal of camera

Publications (1)

Publication Number Publication Date
CN108924308A true CN108924308A (en) 2018-11-30

Family

ID=64415189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810797465.2A Pending CN108924308A (en) 2018-07-19 2018-07-19 Call method, device, storage medium and the terminal of camera

Country Status (1)

Country Link
CN (1) CN108924308A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112653839A (en) * 2020-12-17 2021-04-13 青岛以萨数据技术有限公司 External camera image acquisition and identification method and system based on android
CN113014792A (en) * 2019-12-20 2021-06-22 青岛海信移动通信技术股份有限公司 Terminal equipment and camera resource sharing method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559150A (en) * 2013-11-08 2014-02-05 深圳市道通科技有限公司 Realizing method and device for external camera of host, and mobile terminal
CN104065880A (en) * 2014-06-05 2014-09-24 惠州Tcl移动通信有限公司 Processing method and system for automatically taking pictures based on eye tracking technology
US20140370873A1 (en) * 2013-06-13 2014-12-18 Samsung Electronics Co., Ltd. Method for performing function in call mode and portable electronic device for implementing the method
CN107465870A (en) * 2017-07-31 2017-12-12 广东天波信息技术股份有限公司 The replacement method and system of external camera

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140370873A1 (en) * 2013-06-13 2014-12-18 Samsung Electronics Co., Ltd. Method for performing function in call mode and portable electronic device for implementing the method
CN103559150A (en) * 2013-11-08 2014-02-05 深圳市道通科技有限公司 Realizing method and device for external camera of host, and mobile terminal
CN104065880A (en) * 2014-06-05 2014-09-24 惠州Tcl移动通信有限公司 Processing method and system for automatically taking pictures based on eye tracking technology
CN107465870A (en) * 2017-07-31 2017-12-12 广东天波信息技术股份有限公司 The replacement method and system of external camera

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113014792A (en) * 2019-12-20 2021-06-22 青岛海信移动通信技术股份有限公司 Terminal equipment and camera resource sharing method
CN112653839A (en) * 2020-12-17 2021-04-13 青岛以萨数据技术有限公司 External camera image acquisition and identification method and system based on android

Similar Documents

Publication Publication Date Title
CN107484231B (en) Screen parameter adjusting method, device, terminal and computer readable storage medium
CN106598630A (en) Key control method and apparatus, and terminal
CN108323239A (en) Recording, playback method, record screen terminal and the playback terminal of film recording
US20190138200A1 (en) Information processing method and device
EP3780676A1 (en) Method for automatically switching sim cards, and electronic apparatus
CN107835033A (en) Control method, device, terminal device and the storage medium of antenna tuning switch
CN106095401A (en) Informing message treatment method and device
CN108024128A (en) Control method, device, terminal device and the storage medium that Bluetooth music plays
CN109040524A (en) Artifact eliminating method, device, storage medium and terminal
CN108710515A (en) Using preloading method, apparatus, storage medium and terminal
CN108924375B (en) Ringtone volume processing method and device, storage medium and terminal
CN109766054B (en) Touch screen device and control method and medium thereof
CN109089043A (en) Shoot image pre-processing method, device, storage medium and mobile terminal
CN109542380A (en) Control method, device, storage medium and the terminal of display pattern
CN108718271A (en) Processing method, device, storage medium and the terminal of good friend's request
CN108536488A (en) Using starting guide method, apparatus, storage medium and terminal device
CN112256181A (en) Interaction processing method and device, computer equipment and storage medium
CN108924308A (en) Call method, device, storage medium and the terminal of camera
CN108196664A (en) screen display method, device, storage medium and terminal
JP2022505897A (en) How to lock touch operations and electronic devices
CN108287605A (en) charge control method, device, terminal device and storage medium
WO2019080738A1 (en) Game application program control method and device
CN108960213A (en) Method for tracking target, device, storage medium and terminal
CN106919460A (en) A kind of method for controlling broadcast transmission, device and mobile terminal
CN109743445B (en) Application icon adjusting method and device, storage medium and electronic equipment

Legal Events

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

Application publication date: 20181130