CN107317973A - A kind of information processing method and device, computer installation and readable storage medium storing program for executing - Google Patents
A kind of information processing method and device, computer installation and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN107317973A CN107317973A CN201710706713.3A CN201710706713A CN107317973A CN 107317973 A CN107317973 A CN 107317973A CN 201710706713 A CN201710706713 A CN 201710706713A CN 107317973 A CN107317973 A CN 107317973A
- Authority
- CN
- China
- Prior art keywords
- image information
- layer
- intermediate layer
- photographing instruction
- application layer
- 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
Links
- 230000010365 information processing Effects 0.000 title claims description 20
- 238000003672 processing method Methods 0.000 title claims description 19
- 238000009434 installation Methods 0.000 title claims description 11
- 238000000034 method Methods 0.000 claims description 38
- 238000004590 computer program Methods 0.000 claims description 19
- 230000006870 function Effects 0.000 description 7
- 230000000694 effects Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000003760 hair shine Effects 0.000 description 3
- 230000001965 increasing effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000004549 pulsed laser deposition Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a kind of information processing method and device, computer installation and readable storage medium storing program for executing, wherein, methods described, which is applied to one, includes the terminal of at least one camera, wherein, the operating system of the terminal includes application layer, intermediate layer and system layer, including:The system layer receives the first photographing instruction that the application layer is sent through the intermediate layer, and at least one described camera of control gathers the first image information;Described first image information is stored to the intermediate layer;Change the state in the intermediate layer, so that the application layer can send the second photographing instruction to the intermediate layer, wherein, the photographing instructions different from first photographing instruction that second photographing instruction is taken pictures particularly at least one described camera of control.Taken pictures slow-footed technical problem for solving existing terminal, improve speed of taking pictures.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of information processing method and device, computer installation and can
Read storage medium.
Background technology
Terminal is existing take pictures during, application layer send photographing instruction to intermediate layer, picture number is obtained by intermediate layer
According to corresponding algorithms library is transferred to, view data is sent back to intermediate layer after algorithms library processing, intermediate layer is again the figure after processing
As data send application layer to, so that application layer can be shown to corresponding view data, then, application layer could be received
Next photographing instruction.Once terminal receives next photographing instruction, above-mentioned processing procedure is repeated.That is, terminal is in sound
Should be next time before photographing instruction, it is necessary to etc. after the completion of the view data that is obtained of photographing instruction before terminal-pair handled,
Photographing instruction next time can be responded.
For giving a concrete illustration, when user's using terminal carries out double photographing operation, such as, when the 0th
Carve and carry out first time photographing operation, second of photographing operation is carried out during 0.5s, wherein, first time photographing operation is corresponding whole
Handling duration of taking pictures is 2.8s.Although that is, user has carried out second of photographing operation in 0.5s, to wait
The photographing instruction that second of photographing operation is obtained could be handled after 2.3s.
It can be seen that, in the prior art, there is slow-footed technical problem of taking pictures.
The content of the invention
The embodiment of the present invention provides a kind of information processing method and device, computer installation and readable storage medium storing program for executing, is used for
Solve existing terminal to take pictures slow-footed technical problem, improve speed of taking pictures.
On the one hand, the embodiments of the invention provide a kind of information processing method, at least one camera is included applied to one
Terminal, wherein, the operating system of the terminal includes application layer, intermediate layer and system layer, and methods described includes:
The system layer receives the first photographing instruction that the application layer is sent through the intermediate layer, control described at least one
Individual camera gathers the first image information;
Described first image information is stored to the intermediate layer;
The state in the intermediate layer is changed, so that the application layer can send the second photographing instruction to the centre
Layer, wherein, second photographing instruction shines particularly for what at least one described camera of control was taken pictures with the first count
The different photographing instruction of instruction.
Alternatively, methods described also includes:
Obtain the first control operation for showing the corresponding image of taking pictures of first photographing instruction;
The intermediate layer sends at least part described first image information to the application layer;
Show at least part described first image information.
Alternatively, after display at least part described first image information, methods described also includes:
After through the intermediate layer, the system layer is handled at least part described first image information with it is described
The second different image information of first image information is sent to the application layer;
At least part described first image information of display is switched into second image information.
Alternatively, it is described to handle at least part described first image information the system layer through the intermediate layer
Second image informations different from described first image information afterwards are sent to the application layer, including:
Image procossing is carried out at least part described first image information using the algorithms library in the system layer, institute is obtained
State the second image information;
Second image information is sent to the application layer through the intermediate layer.
Alternatively, including:
In the queue that described first image information is stored in the intermediate layer;
The state in the intermediate layer is changed, so that the intermediate layer can receive second photographing instruction, and the system
System layer can take out described first image information from the queue, and described first image information is handled.
On the other hand, the embodiment of the present invention additionally provides a kind of information processor, is taken the photograph applied to one including at least one
As the terminal of head, wherein, the operating system of the terminal includes application layer, intermediate layer and system layer, including:
Receiving module, for receiving the first photographing instruction, wherein, first photographing instruction is specially that the system layer connects
Receive the photographing instruction for being used to control at least one described camera to take pictures that the application layer is sent through the intermediate layer;
Control module, for controlling at least one described camera to gather the first image information;
Memory module, for described first image information to be stored to the intermediate layer;
Processing module, the state for changing the intermediate layer, so that the application layer can send out the second photographing instruction
Deliver to the intermediate layer, wherein, second photographing instruction taken pictures particularly at least one described camera of control with
The different photographing instruction of first photographing instruction.
Alternatively, described device also includes:
Module is obtained, for obtaining the first control operation, wherein, first control operation is described particularly for display
The control operation of the corresponding image of taking pictures of first photographing instruction;
First sending module, at least part described first image information to be sent to the application through the intermediate layer
Layer;
Display module, for showing at least part described first image information.
Alternatively, after display at least part described first image information, described device also includes:
Second sending module, for entering the system layer at least part described first image information through the intermediate layer
Second image informations different from described first image information after row processing are sent to the application layer;
Handover module, at least part described first image information of display to be switched into second image information.
On the other hand, the embodiment of the present invention additionally provides a kind of computer installation, and the computer installation includes processor,
The step of processor is used to realize information processing method as described above when performing the computer program stored in memory.
On the other hand, the embodiment of the present invention additionally provides a kind of computer-readable recording medium, is stored thereon with computer
Program, it is characterised in that the step of computer program realizes information processing method as described above when being executed by processor.
Said one or multiple technical schemes in the embodiment of the present invention, are at least imitated with following one or more technologies
Really:
In the technical scheme of the embodiment of the present invention, the system layer receives what the application layer was sent through the intermediate layer
First photographing instruction, at least one described camera of control gathers the first image information;By described first image information store to
The intermediate layer;The state in the intermediate layer is changed, so that the application layer can send the second photographing instruction in described
Interbed, wherein, second photographing instruction is particularly at least one described camera of control is taking pictures and the first count
According to the different photographing instructions of instruction.That is, application layer sends photographing instruction, intermediate layer obtains image information and deposited
Storage, then, layer state in the middle of change notify application layer to continue to send photographing instruction next time, now, system layer can be simultaneously
Row obtains image information from intermediate layer and handled.After waiting system layer processing the need for existing, application layer could continue
Send for photographing instruction next time, effectively shorten waiting time, improve speed of taking pictures.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, embodiment will be described below
In required for the accompanying drawing that uses be briefly described, it should be apparent that, drawings in the following description are only some of the present invention
Embodiment.
Fig. 1 is a kind of method flow diagram of the information processing method provided in the embodiment of the present invention one;
Fig. 2 is the method flow shown in a kind of information processing method for providing to image in the embodiment of the present invention one
Figure;
The step flow chart that Fig. 3 is step S203 in a kind of information processing method for providing in the embodiment of the present invention one;
The step flow chart that Fig. 4 is step S301 in a kind of information processing method for providing in the embodiment of the present invention one;
Fig. 5 is the step flow chart in a kind of information processing method for providing in the embodiment of the present invention one;
Fig. 6 is a kind of structural representation of the information processor provided in the embodiment of the present invention two.
Embodiment
The embodiment of the present invention provides a kind of information processing method and device, computer installation and readable storage medium storing program for executing, is used for
Solve existing terminal to take pictures slow-footed technical problem, improve speed of taking pictures.
Technical scheme in the embodiment of the present invention is solves above-mentioned technical problem, and general thought is as follows:
A kind of information processing method, includes the terminal of at least one camera applied to one, wherein, the operation of the terminal
System includes application layer, intermediate layer and system layer, and methods described includes:
The system layer receives the first photographing instruction that the application layer is sent through the intermediate layer, control described at least one
Individual camera gathers the first image information;
Described first image information is stored to the intermediate layer;
The state in the intermediate layer is changed, so that the application layer can send the second photographing instruction to the centre
Layer, wherein, second photographing instruction shines particularly for what at least one described camera of control was taken pictures with the first count
The different photographing instruction of instruction.
In the technical scheme of the embodiment of the present invention, the system layer receives what the application layer was sent through the intermediate layer
First photographing instruction, at least one described camera of control gathers the first image information;By described first image information store to
The intermediate layer;The state in the intermediate layer is changed, so that the application layer can send the second photographing instruction in described
Interbed, wherein, second photographing instruction is particularly at least one described camera of control is taking pictures and the first count
According to the different photographing instructions of instruction.That is, application layer sends photographing instruction, intermediate layer obtains image information and deposited
Storage, then, layer state in the middle of change notify application layer to continue to send photographing instruction next time, now, system layer can be simultaneously
Row obtains image information from intermediate layer and handled.After waiting system layer processing the need for existing, application layer could continue
Send for photographing instruction next time, effectively shorten waiting time, improve speed of taking pictures.
In order to be better understood from above-mentioned technical proposal, below by accompanying drawing and specific embodiment to technical solution of the present invention
It is described in detail, it should be understood that the specific features in the embodiment of the present invention and embodiment are to the detailed of technical solution of the present invention
Thin explanation, rather than the restriction to technical solution of the present invention, in the case where not conflicting, the embodiment of the present invention and embodiment
In technical characteristic can be combined with each other.
In embodiments of the present invention, the terminal is specifically as follows tablet personal computer, can also be notebook computer, can be with
For smart mobile phone, etc., just do not repeat one by one herein.
Embodiment one
Fig. 1 is refer to, the embodiment of the present invention one provides a kind of information processing method, taken the photograph applied to one including at least one
As the terminal of head, wherein, the operating system of the terminal includes application layer, intermediate layer and system layer, and methods described includes:
S101:The system layer receives the first photographing instruction that the application layer is sent through the intermediate layer, and control is described
At least one camera gathers the first image information;
S102:Described first image information is stored to the intermediate layer;
S103:The state in the intermediate layer is changed, so that the application layer can send the second photographing instruction to described
Intermediate layer, wherein, second photographing instruction taken pictures particularly at least one described camera of control with described first
The different photographing instruction of photographing instruction.
Specific to the present invention, in the operating system of the terminal, including application layer, intermediate layer and system layer.The end
The intermediary interface provided by intermediate layer described in each application call in the application layer is provided.The terminal passes through the centre
The intermediary interface of layer calls corresponding hardware module interface in the system layer.The system layer is adjusted according to the hardware module interface
Handled with the hardware module of matching, such as camera.The terminal obtains described by the intermediary interface in the intermediate layer
The processing information (such as, image information) of the hardware module for the matching that system layer is returned.
In addition, in embodiments of the present invention, the terminal includes at least one camera, can be monocular specifically
Camera, can also be many mesh cameras, such as, two cameras, three cameras, etc..Wherein, binocular camera is specific
A colour imagery shot and a black and white camera can be included, can also be and taken the photograph including a focal length camera and a short focus
As head, it can also be including a colour imagery shot and another colour imagery shot, just do not repeat one by one herein.
In embodiments of the present invention, before step S101, methods described also includes:
The application layer receives the first photographing instruction for controlling at least one described camera to take pictures.Such as, use
After this application program of the camera of the family startup terminal, the terminal receives the user and passes through the camera application program pair
After the control operation that current scene is taken pictures, the application layer receives photographing instruction corresponding with the control operation, and then
At least one described camera of control is taken pictures to current scene.
In specific implementation process, step S101 to step S103 to implement process as follows:
First, the application layer sends first photographing instruction to the intermediate layer, and the intermediate layer is by described
One photographing instruction is sent to the system layer, and the system layer receives first photographing instruction.And then at least one described in controlling
Individual camera gathers the first image information.It is described when at least one described camera is a camera specific to the present invention
First image information is that camera collection obtains original image information.It is multiple cameras at least one described camera
When, described first image information is the set for the original image information that each camera gathers acquisition respectively.Then, by described
One image information is stored to the intermediate layer, such as, is stored into data queue memory.Then, the shape in the intermediate layer is changed
State so that the application layer can will be different from first photographing instruction for control that at least one described camera takes pictures
The second photographing instruction send to the intermediate layer.
In specific implementation process, step S103 can be specifically to store described first image information in the intermediate layer
Afterwards, the application layer can send another photographing instruction different from first photographing instruction at once, such as, and second count, which shines, to be referred to
Order.When can also be that first photographing instruction is sent to the system layer by the intermediate layer, the application layer sends different
In another photographing instruction of first photographing instruction.It can also be and be sent to first photographing instruction in the intermediate layer
After the system layer, the application layer sends another photographing instruction different from first photographing instruction.Certainly, this area
Technical staff, can also be according to the state that the intermediate layer is changed the need for specific so that the application layer can be by institute
State the second photographing instruction to send to the intermediate layer, just differ one has been illustrated herein.
In addition, in embodiments of the present invention, during user is continuously taken pictures using the terminal, due to described
Terminal need not wait the system layer to handle described first image information, and by the information after processing through the intermediate layer
Send to the application layer, so, the speed of taking pictures of the terminal is drastically increased, Consumer's Experience is improved.
In embodiments of the present invention, in order to improve preview speed of the user to image of currently taking pictures, Fig. 2 is refer to, it is described
Method also includes:
S201:Obtain the first control operation for showing the corresponding image of taking pictures of first photographing instruction;
S202:The intermediate layer sends at least part described first image information to the application layer;
S203:Show at least part described first image information.
In specific implementation process, step S201 to step S203 to implement process as follows:
First, the first control operation for showing the corresponding image of taking pictures of first photographing instruction is obtained.Wherein, institute
It can be specifically the image after being handled through the system layer to state the corresponding image of taking pictures of the first photographing instruction, can also be camera
Shoot the undressed original image obtained.Then, the intermediate layer by least part described first image information send to
The application layer.Wherein, it is many mesh cameras at least one described camera, described first image information is each camera
When gathering the set of the multiple images information obtained, the intermediate layer can be by any one figure in the set of above-mentioned image information
As information is sent to the application layer, the intermediate layer can also be equal by each image information in the set of above-mentioned image information
Send to the application layer, the intermediate layer can also be pre- according to certain by the multiple images information in above-mentioned image information set
If rule is sent to the application layer.That is, the intermediate detection is taken pictures to browsing of carrying out in shooting process of user
During first control operation of image, at least part described first image information is sent to described and answered by the intermediate layer
With layer.Then, at least part described first image information is shown by the display screen of the terminal, such as, described at least one
When individual camera specially includes the binocular camera of main camera and secondary camera, wherein, main camera can be taken the photograph for colour
As head, secondary camera can be black and white camera, and the described first image information that binocular camera collection is obtained is specially each
Individual camera gathers the original image information of acquisition, and two original image informations are obtained altogether.In the intermediate layer by above-mentioned two
When individual original image information is sent to the application layer, the display screen of the terminal can show that main camera gathers acquisition
Original image information, or the secondary camera of display gather the original image information of acquisition.That is, in the present invention, when
When at least one described camera is many mesh cameras, include for what the application layer was received described in multiple images information
During the first image information, choosing is one of to be shown.Certainly, for those skilled in the art, in specific implementation
During, situation about being shown to some image information in the parts of images information in described first image information, specifically
Determined according to the actual use situation of user, just differ one has been illustrated herein.
In addition, in embodiments of the present invention, at least partly described first figure is shown to step S203 by step S201
As information, i.e., it need not wait after the system layer handled at least part described first image information, just can be direct
The original image information handled without the system layer is shown, the image consequently facilitating user's horse back preview is currently taken pictures,
It further ensure that the experience of taking pictures of user.
In embodiments of the present invention, in order to ensure the terminal better image display effect, Fig. 3 is refer to, in step
S203:Show after at least part described first image information, methods described also includes:
S301:After through the intermediate layer, the system layer is handled at least part described first image information with
The second different image information of described first image information is sent to the application layer;
S302:At least part described first image information of display is switched into second image information.
In specific implementation process, step S301 to step S302 to implement process as follows:
During user's preview image, display at least part described first image information after, the system layer from
The intermediate layer obtains at least part described first image information and handled, and the system layer believes the image after processing
Breath is sent to the intermediate layer, is further sent by the intermediate layer to the application layer.Then, by least part of display
Described first image information switches to second image information.Such as, it is many mesh cameras at least one described camera,
Described first image information is to include the first original image information that colour imagery shot collection is obtained, and the collection of black and white camera
When obtaining the second original image information, during user's horse back preview present image, the terminal shows undressed
One original image information.Treat the system layer described first image information is carried out all first original image informations as will be described with
Second original image information carries out image synthesis and obtained after composograph, and the terminal is by first original image information
Switch to composograph.For another example, it is monocular cam at least one described camera, described first image information only includes
During one original image information, the undressed original image information is directly displayed in user's preview, the system layer is treated
The original image information is removed after the processing such as noise, image enhaucament, obtains the image after the processing of preferable display effect
Information.Then, undressed original image information is replaced with the image information after the processing of better images effect.Namely
Say, in user's previews, directly display undressed original image information, treat the system layer to the original image
After information is handled, untreated original image is replaced with the image after processing, preview speed is not only increased, and greatly
Improve Consumer's Experience.
In embodiments of the present invention, Fig. 4, step S301 be refer to:Through the intermediate layer by the system layer at least portion
Second image informations different from described first image information after point described first image information is handled are sent to described
Application layer, including:
S401:Image procossing is carried out at least part described first image information using the algorithms library in the system layer,
Obtain second image information;
S402:Second image information is sent to the application layer through the intermediate layer.
In specific implementation process, step S401 to step S402 to implement process as follows:
First, at least part described first image information such as remove using the algorithms library in the system layer and made an uproar
The processing such as sound, enhancing, recovery, segmentation, extraction feature.Finally obtain second image information.With at least one described shooting
Head be binocular camera exemplified by, the image collected is synthesized using the preset algorithm in the algorithms library, finally
The image pixel information that two cameras of fusion are obtained, obtains the second image letter more more preferable than single camera shooting effect
Breath.Then, the system layer sends second image information to the intermediate layer, and the intermediate layer is by second image
Information is sent to the application layer.
In embodiments of the present invention, Fig. 5 is refer to, the specific implementation process of described information processing method includes:
S501:In the queue that described first image information is stored in the intermediate layer;
S502:The state in the intermediate layer is changed, so that the intermediate layer can receive second photographing instruction, and institute
Stating system layer can take out described first image information from the queue, and described first image information is handled.
In specific implementation process, step S501 to S502 to implement process as follows:
For step S102:Described first image information is stored to the intermediate layer, specifically can be by described
One image information is stored in the queue in the intermediate layer.The queue can be by the not application layer and the system in the same time
The information that system layer is sent is stored.Then, the state in the intermediate layer is changed, so that the intermediate layer can receive described the
Two photographing instructions, and the system layer can take out described first image information from the queue, and to first figure
As information is handled, and then it ensure that the algorithms library is carried out to pending image information (such as, the first image information)
While processing, additionally it is possible to receive next photographing instruction, the processing speed of taking pictures of the terminal is further increasing, is improved
Consumer's Experience.
Embodiment two
Based on the inventive concept same with the embodiment of the present invention one, the embodiment of the present invention additionally provides a kind of information processing apparatus
Put, include the terminal of at least one camera applied to one, wherein, the operating system of the terminal includes application layer, centre
Layer and system layer, the specific implementation of the information processor can be found in the description of embodiment of the method part, repeat part and no longer go to live in the household of one's in-laws on getting married
State, as shown in fig. 6, including:
Receiving module 10, for receiving the first photographing instruction, wherein, first photographing instruction is specially the system layer
Receive the photographing instruction for being used to control at least one described camera to take pictures that the application layer is sent through the intermediate layer;
Control module 20, for controlling at least one described camera to gather the first image information;
Memory module 30, for described first image information to be stored to the intermediate layer;
Processing module 40, the state for changing the intermediate layer, so that the application layer can be by the second photographing instruction
Send to the intermediate layer, wherein, second photographing instruction is taken pictures particularly at least one described camera of control
The photographing instruction different from first photographing instruction.
In embodiments of the present invention, described device also includes:
Module is obtained, for obtaining the first control operation, wherein, first control operation is described particularly for display
The control operation of the corresponding image of taking pictures of first photographing instruction;
First sending module, at least part described first image information to be sent to the application through the intermediate layer
Layer;
Display module, for showing at least part described first image information.
In embodiments of the present invention, after display at least part described first image information, described device is also wrapped
Include:
Second sending module, for entering the system layer at least part described first image information through the intermediate layer
Second image informations different from described first image information after row processing are sent to the application layer;
Handover module, at least part described first image information of display to be switched into second image information.
In embodiments of the present invention, second sending module specifically for:
Image procossing is carried out at least part described first image information using the algorithms library in the system layer, institute is obtained
State the second image information;
Second image information is sent to the application layer through the intermediate layer.
In the present invention is implemented, memory module 30 is used for the queue that described first image information is stored in the intermediate layer
In;
Processing module 40 is used for the state for changing the intermediate layer, so that the intermediate layer can receive the second count and shine
Instruct, and the system layer can take out described first image information from the queue, and to described first image information
Handled.
The another aspect of the embodiment of the present invention provides a kind of computer installation, and the computer installation includes processor,
The step in the embodiment of the method described in above-mentioned each side, such as Fig. 1 are realized described in the computing device during computer program
Shown method and step.Or, each list in above-mentioned each device embodiment is realized described in the computing device during computer program
The function of member.
Exemplary, the computer program can be divided into one or more module/units, one or many
Individual module/unit is stored in the memory, and by the computing device, to complete the present invention.It is one or many
Individual module/unit can complete the series of computation machine programmed instruction section of specific function, and the instruction segment is used to describe institute
State implementation procedure of the computer program in the searcher/terminal device.For example, the computer program can be divided
Into receiving module, control module, memory module, processing module, each module concrete function is as follows:The receiving module, for connecing
The first photographing instruction is received, wherein, first photographing instruction is specially that the system layer receives the application layer through the centre
The photographing instruction for being used to control at least one described camera to take pictures of layer transmission;The control module, for control it is described extremely
A few camera gathers the first image information;The memory module, for described first image information to be stored in described
Interbed;The processing module, the state for changing the intermediate layer, so that the application layer can send out the second photographing instruction
Deliver to the intermediate layer, wherein, second photographing instruction taken pictures particularly at least one described camera of control with
The different photographing instruction of first photographing instruction.
The terminal can be the computing devices such as desktop PC, notebook, palm PC and cloud server.It is described
Terminal may include, but be not limited only to, processor, memory.It will be understood by those skilled in the art that the schematic diagram is only branch
The example of device/terminal device is paid, the restriction to the terminal is not constituted, can be included than illustrating more or less portions
Part, either combines some parts or different parts, such as described terminal can also include input-output equipment, network and connect
Enter equipment etc..
The processor can be CPU (Central Processing Unit, CPU), can also be it
His general processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng the processor is the control centre of the terminal, utilizes various interfaces and the various pieces of the whole terminal of connection.
The memory can be used for storing the computer program and/or module, and the processor is by running or performing
The computer program and/or module being stored in the memory, and the data being stored in memory are called, realize described
The various functions of terminal.The memory can mainly include storing program area and storage data field, wherein, storing program area can be deposited
Application program (such as sound-playing function, image player function etc.) needed for storage operating system, at least one function etc.;Storage
Data field can be stored uses created data (such as voice data, phone directory etc.) etc. according to mobile phone.In addition, memory can
So that including high-speed random access memory, nonvolatile memory, such as hard disk, internal memory, plug-in type hard disk, intelligence can also be included
Can storage card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash
Card), at least one disk memory, flush memory device or other volatile solid-state parts.
The another aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, including instruction, refers to when described
When order is run on computers so that the computer performs the method described in above-mentioned each side.
If the integrated module/unit of the terminal is realized using in the form of SFU software functional unit and is used as independent product pin
Sell or in use, can be stored in a computer read/write memory medium.Understood based on such, the present invention realizes above-mentioned
All or part of flow in embodiment method, can also instruct the hardware of correlation to complete by computer program, described
Computer program can be stored in a computer-readable recording medium, the computer program, can be real when being executed by processor
The step of each existing above-mentioned embodiment of the method.Wherein, the computer program includes computer program code, the computer journey
Sequence code can be source code form, object identification code form, executable file or some intermediate forms etc..It is described computer-readable
Medium can include:Any entity or device of the computer program code can be carried, it is recording medium, USB flash disk, mobile hard
Disk, magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory
(RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..Need explanation
It is that the content that the computer-readable medium is included can be fitted according to legislation in jurisdiction and the requirement of patent practice
When increase and decrease, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier wave letter
Number and telecommunication signal.
In the technical scheme of the embodiment of the present invention, the system layer receives what the application layer was sent through the intermediate layer
First photographing instruction, at least one described camera of control gathers the first image information;By described first image information store to
The intermediate layer;The state in the intermediate layer is changed, so that the application layer can send the second photographing instruction in described
Interbed, wherein, second photographing instruction is particularly at least one described camera of control is taking pictures and the first count
According to the different photographing instructions of instruction.That is, application layer sends photographing instruction, intermediate layer obtains image information and deposited
Storage, then, layer state in the middle of change notify application layer to continue to send photographing instruction next time, now, system layer can be simultaneously
Row obtains image information from intermediate layer and handled.After waiting system layer processing the need for existing, application layer could continue
Send for photographing instruction next time, effectively shorten waiting time, improve speed of taking pictures.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described
Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (10)
1. a kind of information processing method, includes the terminal of at least one camera applied to one, wherein, the operation system of the terminal
System includes application layer, intermediate layer and system layer, it is characterised in that methods described includes:
The system layer receives the first photographing instruction that the application layer is sent through the intermediate layer, and at least one is taken the photograph described in control
As head gathers the first image information;
Described first image information is stored to the intermediate layer;
The state in the intermediate layer is changed, so that the application layer can send the second photographing instruction to the intermediate layer, its
In, second photographing instruction particularly at least one described camera of control take pictures with first photographing instruction not
Same photographing instruction.
2. the method as described in claim 1, it is characterised in that methods described also includes:
Obtain the first control operation for showing the corresponding image of taking pictures of first photographing instruction;
The intermediate layer sends at least part described first image information to the application layer;
Show at least part described first image information.
3. method as claimed in claim 2, it is characterised in that display at least part described first image information it
Afterwards, methods described also includes:
After through the intermediate layer, the system layer is handled at least part described first image information with described first
The second different image information of image information is sent to the application layer;
At least part described first image information of display is switched into second image information.
4. method as claimed in claim 3, it is characterised in that it is described through the intermediate layer by the system layer at least partly
Described first image information handled after second image informations different from described first image information send to it is described should
With layer, including:
Image procossing is carried out at least part described first image information using the algorithms library in the system layer, described the is obtained
Two image informations;
Second image information is sent to the application layer through the intermediate layer.
5. the method as described in any claims of claim 1-4, it is characterised in that including:
In the queue that described first image information is stored in the intermediate layer;
The state in the intermediate layer is changed, so that the intermediate layer can receive second photographing instruction, and the system layer
Described first image information can be taken out from the queue, and described first image information is handled.
6. a kind of information processor, includes the terminal of at least one camera applied to one, wherein, the operation system of the terminal
System includes application layer, intermediate layer and system layer, it is characterised in that including:
Receiving module, for receiving the first photographing instruction, wherein, first photographing instruction is specially that the system layer receives institute
State the photographing instruction for being used to control at least one described camera to take pictures that application layer is sent through the intermediate layer;
Control module, for controlling at least one described camera to gather the first image information;
Memory module, for described first image information to be stored to the intermediate layer;
Processing module, the state for changing the intermediate layer so that the application layer the second photographing instruction can be sent to
The intermediate layer, wherein, second photographing instruction taken pictures particularly at least one described camera of control with it is described
The different photographing instruction of first photographing instruction.
7. device as claimed in claim 6, it is characterised in that described device also includes:
Module is obtained, for obtaining the first control operation, wherein, first control operation is particularly for display described first
The control operation of the corresponding image of taking pictures of photographing instruction;
First sending module, at least part described first image information to be sent to the application layer through the intermediate layer;
Display module, for showing at least part described first image information.
8. device as claimed in claim 7, it is characterised in that display at least part described first image information it
Afterwards, described device also includes:
Second sending module, for through the intermediate layer by the system layer at least part described first image information at
Second image informations different from described first image information after reason are sent to the application layer;
Handover module, at least part described first image information of display to be switched into second image information.
9. a kind of computer installation, it is characterised in that the computer installation includes processor, the processor is deposited for execution
The information processing method as described in any one claim in claim 1-5 is realized during the computer program stored in reservoir
The step of.
10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program
The step of information processing method as described in any one claim in claim 1-5 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710706713.3A CN107317973A (en) | 2017-08-17 | 2017-08-17 | A kind of information processing method and device, computer installation and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710706713.3A CN107317973A (en) | 2017-08-17 | 2017-08-17 | A kind of information processing method and device, computer installation and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107317973A true CN107317973A (en) | 2017-11-03 |
Family
ID=60177059
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710706713.3A Pending CN107317973A (en) | 2017-08-17 | 2017-08-17 | A kind of information processing method and device, computer installation and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107317973A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109525888A (en) * | 2018-09-28 | 2019-03-26 | Oppo广东移动通信有限公司 | Image display method, image display device, electronic apparatus, and storage medium |
CN112672046A (en) * | 2020-12-18 | 2021-04-16 | 闻泰通讯股份有限公司 | Storage method and device for continuous shooting image, electronic equipment and storage medium |
CN112954222A (en) * | 2019-11-07 | 2021-06-11 | 维沃移动通信有限公司 | Continuous shooting method and electronic equipment |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101262484A (en) * | 2008-03-27 | 2008-09-10 | 北京中星微电子有限公司 | A method and device for processing real time video data on Windows platform |
CN101369256A (en) * | 2007-08-15 | 2009-02-18 | 德信无线通讯科技(北京)有限公司 | Method for implementing full screen preview |
CN101783889A (en) * | 2010-02-05 | 2010-07-21 | 北京水晶石数字科技有限公司 | Real-time matting and video monitoring and collecting method |
CN101833520A (en) * | 2009-03-11 | 2010-09-15 | 凹凸电子(武汉)有限公司 | Method for simultaneously utilizing one camera by computer system and a plurality of application programs |
CN201898582U (en) * | 2010-11-26 | 2011-07-13 | 中航华东光电有限公司 | Stereoscopic video acquisition and display system |
CN102375730A (en) * | 2010-08-19 | 2012-03-14 | 北京韩美智恒科技有限公司 | Photographic data processing device and method |
CN102640486A (en) * | 2009-10-27 | 2012-08-15 | Nec卡西欧移动通信株式会社 | Image capture device and image capture method |
CN102694950A (en) * | 2012-05-28 | 2012-09-26 | 深圳市兴鼎业科技有限公司 | Method and system for shooting and storage of files |
CN103327278A (en) * | 2013-07-10 | 2013-09-25 | 亿览在线网络技术(北京)有限公司 | Real time sharing method and device of images |
CN105052126A (en) * | 2013-03-15 | 2015-11-11 | 佳能株式会社 | Imaging apparatus and imaging apparatus control method |
CN105144700A (en) * | 2013-03-15 | 2015-12-09 | 佳能株式会社 | Image processing apparatus and image processing method |
CN106101548A (en) * | 2016-07-08 | 2016-11-09 | 北京国电通网络技术有限公司 | A kind of method and apparatus of cloud terminal processes camera video data |
-
2017
- 2017-08-17 CN CN201710706713.3A patent/CN107317973A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101369256A (en) * | 2007-08-15 | 2009-02-18 | 德信无线通讯科技(北京)有限公司 | Method for implementing full screen preview |
CN101262484A (en) * | 2008-03-27 | 2008-09-10 | 北京中星微电子有限公司 | A method and device for processing real time video data on Windows platform |
CN101833520A (en) * | 2009-03-11 | 2010-09-15 | 凹凸电子(武汉)有限公司 | Method for simultaneously utilizing one camera by computer system and a plurality of application programs |
CN102640486A (en) * | 2009-10-27 | 2012-08-15 | Nec卡西欧移动通信株式会社 | Image capture device and image capture method |
CN101783889A (en) * | 2010-02-05 | 2010-07-21 | 北京水晶石数字科技有限公司 | Real-time matting and video monitoring and collecting method |
CN102375730A (en) * | 2010-08-19 | 2012-03-14 | 北京韩美智恒科技有限公司 | Photographic data processing device and method |
CN201898582U (en) * | 2010-11-26 | 2011-07-13 | 中航华东光电有限公司 | Stereoscopic video acquisition and display system |
CN102694950A (en) * | 2012-05-28 | 2012-09-26 | 深圳市兴鼎业科技有限公司 | Method and system for shooting and storage of files |
CN105052126A (en) * | 2013-03-15 | 2015-11-11 | 佳能株式会社 | Imaging apparatus and imaging apparatus control method |
CN105144700A (en) * | 2013-03-15 | 2015-12-09 | 佳能株式会社 | Image processing apparatus and image processing method |
CN103327278A (en) * | 2013-07-10 | 2013-09-25 | 亿览在线网络技术(北京)有限公司 | Real time sharing method and device of images |
CN106101548A (en) * | 2016-07-08 | 2016-11-09 | 北京国电通网络技术有限公司 | A kind of method and apparatus of cloud terminal processes camera video data |
Non-Patent Citations (1)
Title |
---|
刘红保: "Android系统下Camera子系统的设计、实现与优化", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109525888A (en) * | 2018-09-28 | 2019-03-26 | Oppo广东移动通信有限公司 | Image display method, image display device, electronic apparatus, and storage medium |
CN112954222A (en) * | 2019-11-07 | 2021-06-11 | 维沃移动通信有限公司 | Continuous shooting method and electronic equipment |
CN112672046A (en) * | 2020-12-18 | 2021-04-16 | 闻泰通讯股份有限公司 | Storage method and device for continuous shooting image, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7226851B2 (en) | Image processing method, apparatus and device | |
CN109255346A (en) | Reading method, device and electronic equipment | |
CN115176456B (en) | Content operation method, device, terminal and storage medium | |
CN114612987B (en) | Expression recognition method and device | |
CN106572305A (en) | Image shooting method, image processing method, apparatuses and electronic device | |
CN109120862A (en) | High dynamic range image acquisition method and device and mobile terminal | |
CN111833285B (en) | Image processing method, image processing device and terminal equipment | |
CN107317973A (en) | A kind of information processing method and device, computer installation and readable storage medium storing program for executing | |
CN106815803B (en) | Picture processing method and device | |
CN104509092A (en) | Storyboards for capturing images | |
CN105701762B (en) | Picture processing method and electronic equipment | |
US9064349B2 (en) | Computer-implemented image composition method and apparatus using the same | |
CN116934577A (en) | Method, device, equipment and medium for generating style image | |
CN112954212B (en) | Video generation method, device and equipment | |
CN109729231B (en) | A document scanning method, device and equipment | |
CN110266955A (en) | Image processing method, device, electronic device, and storage medium | |
CN107800961A (en) | A kind of lossless amplification picture method and device, terminal and readable storage medium storing program for executing | |
CN108174084A (en) | panoramic video processing method and terminal device | |
CN114390197B (en) | Shooting method and device, electronic equipment and readable storage medium | |
CN112115811A (en) | Image processing method and device based on privacy protection and electronic equipment | |
CN112163993A (en) | Image processing method, device, equipment and storage medium | |
CN110536087A (en) | Electronic equipment and its motion profile picture synthesis method, device and embedded equipment | |
CN109726632A (en) | Background recommended method and Related product | |
CN111510746B (en) | Media resource delivery method and device, storage medium and electronic device | |
CN114756425B (en) | Intelligent monitoring method, device, electronic device and computer readable 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171103 |