CN105245778A - Camera rotation control method and camera rotation control device - Google Patents
Camera rotation control method and camera rotation control device Download PDFInfo
- Publication number
- CN105245778A CN105245778A CN201510642168.7A CN201510642168A CN105245778A CN 105245778 A CN105245778 A CN 105245778A CN 201510642168 A CN201510642168 A CN 201510642168A CN 105245778 A CN105245778 A CN 105245778A
- Authority
- CN
- China
- Prior art keywords
- camera
- mobile terminal
- instruction
- view data
- rotate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Studio Devices (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a camera rotation control method and a camera rotation control device, belonging to the field of smart home. The camera rotation control method comprises the following steps of: after successfully connecting with a camera, receiving image data acquired by the camera, and displaying a corresponding picture according to the image data; receiving a sliding track generated while sliding in the displayed picture, and generating a rotation instruction, wherein the rotation instruction is used for indicating the camera to rotate according to the sliding track; and transmitting the rotation instruction to the camera, wherein the rotation instruction is used for triggering the camera to rotate a photographing view angle of the camera according to the sliding track indicated by the rotation instruction. The method and the device solve the problem that the image data acquired through the fixed photographing view angle of the camera is finite and cannot meet the photographing requirement of users; and the method and the device realize the effect that the photographing view angle of the camera is expanded, and the users can use a mobile terminal to control the camera to rotate to a needed photographing view angle.
Description
Technical field
The disclosure relates to Smart Home field, particularly a kind of camera method of controlling rotation and device.
Background technology
In Modern Smart Home life, increasing user needs the situation monitoring family when going out, and at this moment will use and carry out remote monitoring by camera.
The mode of common remote monitoring normally installation one camera at home, user utilizes mobile phone to be connected with this camera.Camera can be sent to this mobile phone by taking the image obtained in shooting visual angle, takes the image obtained show by mobile phone to camera.
Summary of the invention
The view data that the shooting visual angle fixed to solve camera collects is limited, can not meet the problem of the shooting demand of user, and the disclosure provides a kind of camera method of controlling rotation and device.Described technical scheme is as follows:
According to the first aspect of disclosure embodiment, provide a kind of camera method of controlling rotation, be applied in mobile terminal, described method comprises:
After successfully connecting with camera, receive the view data that described camera collection arrives;
According to described view data display respective picture;
The sliding trace produced when sliding in the described picture being received in display, generate rotate instruction, described rotate instruction is used to indicate described camera and rotates according to described sliding trace;
Described rotate instruction is sent to described camera, and described rotate instruction to rotate the shooting visual angle of described camera according to the described sliding trace indicated by described rotate instruction for triggering described camera.
The camera method of controlling rotation that disclosure first aspect provides, connected by mobile terminal and camera, the view data that display camera collection arrives, mobile terminal sends rotate instruction to camera, controls camera according to rotate instruction rotary taking visual angle; Because camera can rotate to different shooting visual angle according to different rotate instructions, therefore solve the view data that shooting visual angle that camera fixes collects limited, the problem of the shooting demand of user can not be met; Reach the shooting visual angle expanding camera, user can utilize mobile terminal to control the effect of camera rotation to required shooting visual angle.
Optionally, described method also comprises:
Interface for display frame shows pivot controls;
When described pivot controls is triggered according to the first triggering mode, generation turns clockwise instruction, the instruction that turns clockwise described in generation is sent to described camera, described in the instruction that turns clockwise be used to indicate described camera and turn clockwise the shooting visual angle of described camera;
When described pivot controls is triggered according to the second triggering mode, generation is rotated counterclockwise instruction, be rotated counterclockwise instruction and be sent to described camera described in generation, described in be rotated counterclockwise instruction and be used to indicate the shooting visual angle that described camera is rotated counterclockwise described camera;
Wherein, described first triggering mode is the one that lasting triggering scheduled duration or triggering duration are less than in described scheduled duration, and described second triggering mode is the another kind that the described scheduled duration of lasting triggering or described triggering duration are less than in described scheduled duration.
The optional camera method of controlling rotation that disclosure first aspect provides, by triggering the triggering duration of pivot controls, generation turns clockwise instruction and be rotated counterclockwise instruction, rotate according to the direction of carrying out clockwise or counterclockwise to control camera, owing to only needing a pivot controls, the rotation that can realize both direction controls, and therefore while achieving rotation abundantization, simplifies display frame.
Optionally, described method also comprises:
After the described rotate instruction of generation, if described mobile terminal shows according to high definition display mode, then SD display mode is switched to continue to show the view data obtained from described camera.
The optional camera method of controlling rotation that disclosure first aspect provides, by before sending rotate instruction to camera, high definition display mode is switched to SD display mode, thus avoids because freely spending poor situation when camera rotates and causes mobile terminal to show image.
Optionally, described according to described view data display respective picture, comprising:
When described view data is unpressed data, according to high definition display mode, described view data is shown;
When described view data is the data after compression, according to predetermined decompression mode, described view data is decompressed, according to SD display mode, the data obtained after decompression are shown.
The optional camera method of controlling rotation that disclosure first aspect provides, unpressed view data is shown according to high definition display mode, according to the view data after the compression of SD pattern Explicit solutions, therefore most suitable display mode can be selected to show the view data of different-format, make while satisfied broadcasting fluency, to ensure definition at the image of mobile terminal display as much as possible.
According to the second aspect of disclosure embodiment, provide a kind of camera method of controlling rotation, be applied in camera, described method comprises:
The rotate instruction that mobile terminal receive sends, described rotate instruction generates after described mobile terminal collects the sliding trace of user;
The shooting visual angle of described camera is rotated according to the sliding trace indicated by described rotate instruction.
The optional camera method of controlling rotation that disclosure second aspect provides, by sliding trace rotary taking visual angle indicated in the rotate instruction that sends according to mobile terminal; Owing to synchronously can select the shooting visual angle of camera according to the sliding trace of mobile terminal place user, can ensure that the picture in the shooting visual angle that camera changes is transferred into mobile terminal, therefore solve the view data that shooting visual angle that camera fixes collects limited, the problem of the shooting demand of user can not be met; Reach the shooting visual angle expanding camera, user can utilize mobile terminal to control the effect of camera rotation to required shooting visual angle.
Optionally, described method also comprises:
When rotating the shooting visual angle of described camera, by Real-time Collection to view data compress;
View data after compression is sent to described mobile terminal, and the view data after described compression shows described view data according to SD display mode for triggering described mobile terminal.
The optional camera method of controlling rotation that disclosure second aspect provides, when rotating camera shooting visual angle, to Real-time Collection to view data compress, and the view data after compression is sent to mobile terminal, thus can ensure that the picture collected when rotating camera can be shown by smoothness at mobile terminal place.
Optionally, described method also comprises:
Receive the high definition instruction that described mobile terminal sends, the described view data collected is sent to described mobile terminal in real time, described high definition instruction is that described mobile terminal is sent to described camera when selecting high definition display mode;
Receive the SD instruction that described mobile terminal sends, the described view data collected is compressed, view data after described compression is sent to described mobile terminal, and described SD instruction is that described mobile terminal is sent to described camera when selecting SD display mode.
The optional camera method of controlling rotation that disclosure second aspect provides, by the instruction sent according to mobile terminal, determine whether that the view data to being sent to this mobile terminal is compressed, ensure that the view data being sent to mobile terminal can show according to the display mode of the needs of user.
Optionally, described method also comprises:
Receive the instruction that turns clockwise that described mobile terminal sends, the shooting visual angle of the described camera that turns clockwise according to predetermined rotary speed;
What receive the transmission of described mobile terminal is rotated counterclockwise instruction, is rotated counterclockwise the shooting visual angle of described camera according to predetermined rotary speed.
The optional camera method of controlling rotation that disclosure second aspect provides, by the difference of rotate instruction sent according to mobile terminal, carries out the rotation of different directions, thus make camera collection to picture meet the demand of user.
According to the third aspect of disclosure embodiment, provide a kind of camera rotating control assembly, be applied in mobile terminal, described device comprises:
Receiver module, is configured to when successfully connecting with camera, receives the view data that described camera collection arrives;
First display module, is configured to according to described view data display respective picture;
First generation module, the sliding trace produced when sliding in the described picture being configured to be received in display, generate rotate instruction, described rotate instruction is used to indicate described camera and rotates according to described sliding trace;
Sending module, the described rotate instruction be configured to described first generation module generates is sent to described camera, and described rotate instruction to rotate the shooting visual angle of described camera according to the described sliding trace indicated by described rotate instruction for triggering described camera.
The camera rotating control assembly that the disclosure third aspect provides, connected by mobile terminal and camera, the view data that display camera collection arrives, mobile terminal sends rotate instruction to camera, controls camera according to rotate instruction rotary taking visual angle; Because camera can rotate to different shooting visual angle according to different rotate instructions, therefore solve the view data that shooting visual angle that camera fixes collects limited, the problem of the shooting demand of user can not be met; Reach the shooting visual angle expanding camera, user can utilize mobile terminal to control the effect of camera rotation to required shooting visual angle.
Optionally, described device also comprises:
Second display module, is configured to show pivot controls on the interface for display frame;
Second generation module, be configured to when the described pivot controls of described second display module display is triggered according to the first triggering mode, generation turns clockwise instruction, the instruction that turns clockwise described in generation is sent to described camera, described in the instruction that turns clockwise be used to indicate described camera and turn clockwise the shooting visual angle of described camera;
3rd generation module, be configured to when the described pivot controls of described second display module display is triggered according to the second triggering mode, generation is rotated counterclockwise instruction, be rotated counterclockwise instruction and be sent to described camera described in generation, described in be rotated counterclockwise instruction and be used to indicate the shooting visual angle that described camera is rotated counterclockwise described camera;
Wherein, described first triggering mode is the one that lasting triggering scheduled duration or triggering duration are less than in described scheduled duration, and described second triggering mode is the another kind that the described scheduled duration of lasting triggering or described triggering duration are less than in described scheduled duration.
The optional camera rotating control assembly that the disclosure third aspect provides, by triggering the triggering duration of pivot controls, generation turns clockwise instruction and be rotated counterclockwise instruction, rotate according to the direction of carrying out clockwise or counterclockwise to control camera, owing to only needing a pivot controls, the rotation that can realize both direction controls, and therefore while achieving rotation abundantization, simplifies display frame.
Optionally, described device also comprises:
Handover module, is configured to after described first generation module generates described rotate instruction, when described mobile terminal shows according to high definition display mode, switches to SD display mode to continue to show the view data obtained from described camera.
The optional camera rotating control assembly that the disclosure third aspect provides, by before sending rotate instruction to camera, high definition display mode is switched to SD display mode, thus avoids because freely spending poor situation when camera rotates and causes mobile terminal to show image.
Optionally, described receiver module, comprising:
First display sub-module, is configured to, when the described view data that described receiver module receives is unpressed data, show described view data according to high definition display mode;
Second display sub-module, be configured to when the described view data that described receiver module receives is the data after compression, according to predetermined decompression mode, described view data is decompressed, according to SD display mode, the data obtained after decompression are shown.
The optional camera rotating control assembly that the disclosure third aspect provides, unpressed view data is shown according to high definition display mode, according to the view data after the compression of SD pattern Explicit solutions, therefore most suitable display mode can be selected to show the view data of different-format, make while satisfied broadcasting fluency, to ensure definition at the image of mobile terminal display as much as possible.
According to the fourth aspect of disclosure embodiment, provide a kind of camera rotating control assembly, be applied in camera, described device comprises:
First receiver module, be configured to the rotate instruction that mobile terminal receive sends, described rotate instruction generates after described mobile terminal collects the sliding trace of user;
First rotary module, the sliding trace indicated by described rotate instruction being configured to receive according to described first receiver module rotates the shooting visual angle of described camera.
The optional camera rotating control assembly that disclosure fourth aspect provides, by sliding trace rotary taking visual angle indicated in the rotate instruction that sends according to mobile terminal; Owing to synchronously can select the shooting visual angle of camera according to the sliding trace of mobile terminal place user, can ensure that the picture in the shooting visual angle that camera changes is transferred into mobile terminal, therefore solve the view data that shooting visual angle that camera fixes collects limited, the problem of the shooting demand of user can not be met; Reach the shooting visual angle expanding camera, user can utilize mobile terminal to control the effect of camera rotation to required shooting visual angle.
Optionally, described device also comprises:
Compression module, is configured to when rotating the shooting visual angle of described camera, by Real-time Collection to view data compress;
First sending module, be configured to the view data after by described compression module compression and be sent to described mobile terminal, the view data after described compression shows described view data according to SD display mode for triggering described mobile terminal.
The optional camera rotating control assembly that disclosure fourth aspect provides, when rotating camera shooting visual angle, to Real-time Collection to view data compress, and the view data after compression is sent to mobile terminal, thus can ensure that the picture collected when rotating camera can be shown by smoothness at mobile terminal place.
Optionally, described device also comprises:
Second sending module, be configured to the high definition instruction receiving the transmission of described mobile terminal, the described view data collected is sent to described mobile terminal in real time, and described high definition instruction is that described mobile terminal is sent to described camera when selecting high definition display mode;
3rd sending module, be configured to the SD instruction receiving the transmission of described mobile terminal, the described view data collected is compressed, view data after described compression is sent to described mobile terminal, and described SD instruction is that described mobile terminal is sent to described camera when selecting SD display mode.
The optional camera rotating control assembly that disclosure fourth aspect provides, by the instruction sent according to mobile terminal, determine whether that the view data to being sent to this mobile terminal is compressed, ensure that the view data being sent to mobile terminal can show according to the display mode of the needs of user.
Optionally, described device also comprises:
Second rotary module, is configured to the instruction that turns clockwise receiving the transmission of described mobile terminal, the shooting visual angle of the described camera that turns clockwise according to predetermined rotary speed;
3rd rotary module, is configured to receive that described mobile terminal sends is rotated counterclockwise instruction, is rotated counterclockwise the shooting visual angle of described camera according to predetermined rotary speed.
The optional camera rotating control assembly that disclosure fourth aspect provides, by the difference of rotate instruction sent according to mobile terminal, carries out the rotation of different directions, thus make camera collection to picture meet the demand of user.
According to the 5th aspect of disclosure embodiment, provide a kind of camera rotation control system, described system comprises mobile terminal and camera:
Described mobile terminal comprises the camera rotating control assembly described in the third aspect and the various optional implementation of the third aspect;
Described camera comprises the camera rotating control assembly described in fourth aspect and the various optional implementation of fourth aspect.
According to the 6th aspect of disclosure embodiment, provide a kind of camera rotating control assembly, be applied in mobile terminal, described device comprises:
Processor;
For storing the memory of described processor executable;
Wherein, described processor is configured to:
After successfully connecting with camera, receive the view data that described camera collection arrives;
According to described view data display respective picture;
The sliding trace produced when sliding in the described picture being received in display, generate rotate instruction, described rotate instruction is used to indicate described camera and rotates according to described sliding trace;
Described rotate instruction is sent to described camera, and described rotate instruction to rotate the shooting visual angle of described camera according to the described sliding trace indicated by described rotate instruction for triggering described camera.
According to the 7th aspect of disclosure embodiment, provide a kind of camera rotating control assembly, be applied in camera, described device comprises:
Processor;
For storing the memory of described processor executable;
Wherein, described processor is configured to:
The rotate instruction that mobile terminal receive sends, described rotate instruction generates after described mobile terminal collects the sliding trace of user;
The shooting visual angle of described camera is rotated according to the sliding trace indicated by described rotate instruction.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.
Fig. 1 is the schematic diagram of the implementation environment involved by a kind of camera method of controlling rotation according to exemplary partial embodiment;
Fig. 2 is the flow chart of a kind of camera method of controlling rotation according to an exemplary embodiment;
Fig. 3 is the flow chart of a kind of camera method of controlling rotation according to an exemplary embodiment;
Fig. 4 A is the flow chart of a kind of camera method of controlling rotation according to another exemplary embodiment;
Fig. 4 B is the flow chart of the mobile terminal according to an exemplary embodiment according to the view data display respective picture of two kinds of versions;
Fig. 4 C is the schematic diagram of the corresponding relation of the moving direction of the direction of rotation of camera according to an exemplary embodiment and the view data shown by mobile terminal;
Fig. 4 D is the schematic diagram of a kind of camera method of controlling rotation according to an exemplary embodiment;
Fig. 5 A is the flow chart of a kind of camera method of controlling rotation according to another exemplary embodiment;
Fig. 5 B is that a kind of camera according to an exemplary embodiment turns clockwise the schematic diagram of control method;
Fig. 5 C is the schematic diagram that a kind of camera according to an exemplary embodiment is rotated counterclockwise control method;
Fig. 6 A is the block diagram of a kind of camera rotating control assembly according to an exemplary embodiment;
Fig. 6 B is the block diagram of a kind of camera rotating control assembly according to another exemplary embodiment;
Fig. 7 A is the block diagram of a kind of camera rotating control assembly according to an exemplary embodiment;
Fig. 7 B is the block diagram of a kind of camera rotating control assembly according to another exemplary embodiment;
Fig. 8 is the block diagram of a kind of camera rotation control system according to an exemplary embodiment;
Fig. 9 is a kind of block diagram for controlling camera rotation according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the schematic diagram of the implementation environment involved by a kind of camera method of controlling rotation according to exemplary partial embodiment, and as shown in Figure 1, this implementation environment can comprise mobile terminal 110, camera 120 and Cloud Server 130.
Mobile terminal 110 can be smart mobile phone, panel computer, intelligent television, pocket computer on knee and desktop computer etc.
Camera 120 can pass through wireless network (such as Wi-Fi (English full name: Wireless-Fidelity, Chinese full name: Wireless Fidelity) or the wireless network mode such as bluetooth) connect with mobile terminal 110, also can be connected by Cloud Server 130 and mobile terminal 110.
Cloud Server 130 can information between transfer mobile terminal 110 and camera 120, such as the rotate instruction that mobile terminal 110 sends can be transmitted to camera 120, the view data that camera 120 collects can also be transmitted to mobile terminal 110.
Fig. 2 is the flow chart of a kind of camera method of controlling rotation according to an exemplary embodiment, and as shown in Figure 2, this camera method of controlling rotation is applied in the mobile terminal 110 in the implementation environment shown in Fig. 1, comprises the following steps.
Step 201, after successfully connecting with camera, receives the view data that this camera collection arrives.
Step 202, according to this view data display respective picture.
Step 203, the sliding trace produced when sliding in this picture being received in display, generate rotate instruction, this rotate instruction is used to indicate this camera and rotates according to this sliding trace.
Step 204, is sent to camera by rotate instruction, and this rotate instruction to rotate the shooting visual angle of this camera according to the sliding trace indicated by this rotate instruction for triggering this camera.
Fig. 3 is the flow chart of a kind of camera method of controlling rotation according to an exemplary embodiment, and as shown in Figure 3, this camera method of controlling rotation is applied in the camera 120 in the implementation environment shown in Fig. 1, comprises the following steps.
Step 301, the rotate instruction that mobile terminal receive sends, this rotate instruction generates after this mobile terminal collects the sliding trace of user.
Step 302, according to the shooting visual angle of the sliding trace rotating camera indicated by this rotate instruction.
In a kind of possible implementation, mobile terminal can by sliding in the picture that is received in display time the sliding trace that produces, the rotate instruction that this sliding trace generates is sent to camera, controls the shooting visual angle of camera.Fig. 4 A is the flow chart of a kind of camera method of controlling rotation according to another exemplary embodiment, and as shown in Figure 4 A, this camera method of controlling rotation can comprise the steps:
Step 401, mobile terminal, after successfully connecting with camera, receives the view data that this camera collection arrives, according to this view data display respective picture.
After mobile terminal is successfully connected by wireless network or Cloud Server mode and camera, the view data that the current shooting visual angle of this camera collects can be received, and this view data is shown on the interface of display frame, view data mentioned here can be static images also can be dynamic video.
In a kind of possible implementation, camera can send the view data of Resolutions to mobile terminal, one is high-definition image data, and another kind is SD view data.Fig. 4 B is the flow chart of the mobile terminal according to an exemplary embodiment according to the view data display respective picture of two kinds of versions, and as shown in Figure 4 B, this mobile terminal can have two kinds of display modes for same view data.
Step 401a, when this view data is unpressed data, shows this view data according to high definition display mode.
Step 401b, when this view data is the data after compression, decompresses to this view data according to predetermined decompression mode, shows according to SD display mode to the data obtained after decompression.
View data can be static images also can be dynamic video.At present, general picture format has BMP (English full name: Bitmap, Chinese full name: image file format), PNG (English full name: PortableNetworkGraphicFormat, Chinese full name: image file storage format), JPEG (English full name: JointPhotographicExpertsGroup, Chinese full name: joint image expert group), by the resolution sequence of picture be: BMP>PNG>JPEG.And general video format has AVI (English full name: AudioVideoInterleaved, Chinese full name: Audio Video Interleaved form), FLV (English full name: FlashVideo, Chinese: stream media format), 3GP, by video resolution sequence be: AVI>FLV>3GP.
The view data that resolution is high can be the view data that resolution is low by compressing and converting, and the view data that namely resolution is high is unpressed data, and the view data that resolution is low is the data after compression.Therefore, by the form of inspection image data, mobile terminal can judge that this view data is high-definition image data or SD view data, and show this view data according to corresponding display mode.
Here the view data of BMP and AVI form is set to high-definition image data, the view data of JPEG and 3GP form is set to SD view data and illustrates.When mobile terminal detects that received image data format is BMP or AVI, judge that this view data is as unpressed data, shows this view data according to high definition display mode.When mobile terminal detects that received image data format is JPEG or 3GP, judge that this view data is as the data after compression, shows this view data according to SD display mode.
Step 402, the high definition instruction that camera mobile terminal receive sends, is sent to this mobile terminal in real time by the view data collected.
This high definition instruction is that this mobile terminal is sent to this camera when selecting high definition display mode.
Step 403, the SD instruction that camera mobile terminal receive sends, the view data this collected is compressed, and the image after compression is sent to this mobile terminal.
This SD instruction is that this mobile terminal is sent to this camera when selecting SD display mode.
Mobile terminal can send high definition/SD instruction to camera, regulates the resolution of received view data.
Here the view data of BMP and AVI form is set to high-definition image data, the view data of JPEG and 3GP form is set to SD view data and illustrates.When terminal sends high definition instruction to camera, the view data collected can be sent to this mobile terminal with the form of BMP or AVI by camera in real time, mobile terminal is by detecting and judging that this view data is as unpressed data, shows this view data according to high definition display mode.When terminal sends SD instruction to camera, camera first becomes JPEG or 3GP form the Image Data Compression collected, again the view data of JPEG or 3GP form is sent to this mobile terminal, mobile terminal is by detecting and judging that this view data is as the data after compression, shows this view data according to SD display mode.
Step 404, the sliding trace produced when sliding in this picture that mobile terminal is received in display, generate rotate instruction, this rotate instruction is used to indicate this camera and rotates according to this sliding trace.
Mobile terminal is used for the interface of display frame and is sliding trace receiving area, when user slides in this sliding trace receiving area, mobile terminal receives and gathers the sliding trace of this user, generate rotate instruction, this rotate instruction is used to indicate this camera and rotates according to this sliding trace.
Such as, the rotary speed of camera is relevant to the sliding speed that user slides in this sliding trace receiving area, and the anglec of rotation of camera is relevant to the slide displacement that user slides in this sliding trace receiving area.
The rotary speed of camera can be that positive correlation or linear positive are relevant to the sliding speed that user slides in this sliding trace receiving area.This sliding speed is faster, and the rotary speed of camera is faster.When rotary speed and the sliding speed of camera be linear positive relevant time, the rotary speed of camera is the determined speed of predetermined multiplying power of sliding speed.If the rotary speed of camera is y, sliding speed is x, and multiplying power factor is a, so can express with formula y=ax between the rotary speed of camera and sliding speed, a>1.Same, the slide displacement that the anglec of rotation of camera can be slided in this sliding trace receiving area with user is proportionate, the anglec of rotation of camera is y, slide displacement is x, multiplying power factor is a, so can express with formula y=ax between the anglec of rotation of camera and slide displacement, a>1.
Accordingly, the sliding speed that the rotary speed of camera also can be slided in this sliding trace receiving area with user is negative correlation or negative linear correlation, and the slide displacement that the anglec of rotation of camera also can be slided in this sliding trace receiving area with user is negative correlation or negative linear correlation.
The present embodiment is positive and negative to the sliding speed correlation that the rotary speed of camera and user are slided in this sliding trace receiving area, and the positive and negative of slide displacement correlation that the anglec of rotation of camera and user slide in this sliding trace receiving area is not specifically limited.
Step 405, mobile terminal, after generation rotate instruction, if mobile terminal shows according to high definition display mode, then switches to SD display mode to continue the view data of display from camera acquisition.
The view data high due to resolution can be converted to the low view data of resolution by the mode of compression.Known, for same view data, the memory space required for view data that the memory space required for the view data that resolution is high is lower than resolution is large.Therefore, the view data that the time delay that the view data that mobile terminal reception resolution is high produces is lower than reception resolution extends when producing.Namely the view data definition of high definition is high, but can not ensure the fluency of view data, and the view data smoothness of high definition is good, but can not ensure the definition of view data.
Therefore, when the every frame of the view data that mobile terminal receives changes little, mobile terminal can preferred high definition display mode, and when the every frame of the view data that mobile terminal receives changes greatly, mobile terminal can preferred SD display mode.
Carry out in the process rotated at camera, the every frame of view data that this camera sends to mobile terminal changes greatly, if mobile terminal shows according to high definition display mode, then shown view data smoothness degree can be poor, and it is serious that such as static images is smudgy, dynamic video card pauses.Therefore, after mobile terminal generates rotate instruction to camera, the display mode of current image date can be detected in advance, if this mobile terminal is according to high definition display mode display image data, in order to ensure the fluency of the view data shown by this mobile terminal, the meeting of this mobile terminal is first point out this camera to send the view data after compression to the instruction of camera transmission SD, then controls camera rotation to this camera transmission rotate instruction.
Such as, mobile terminal comprises SD instruction to the rotate instruction that camera sends.In other words, when camera once receive the rotate instruction of mobile terminal transmission, can automatically the view data collected first be carried out compressing will being sent to mobile terminal again.
Such as, after mobile terminal sends SD instruction and rotate instruction to camera, generate rotate instruction if do not continue in scheduled duration, then send high definition instruction to this camera.
After mobile terminal generates rotate instruction to camera, in order to ensure that camera is in rotary course, the fluency of the view data shown by this mobile terminal, this mobile terminal can send SD instruction to this camera.Accordingly, after mobile terminal stops the rotation instruction to camera, in order to ensure that camera is in the shooting of fixed viewpoint, the clarity of the view data shown by this mobile terminal, this mobile terminal can send high definition instruction to this camera.
Step 406, rotate instruction is sent to camera by mobile terminal.
Step 407, camera is according to the shooting visual angle of the sliding trace rotating camera indicated by this rotate instruction.
Fig. 4 C is the schematic diagram of the corresponding relation of the moving direction of the direction of rotation of camera according to an exemplary embodiment and the view data shown by mobile terminal, as shown in Fig. 4 C (1), when mobile terminal 11 turns clockwise instruction to camera 10 transmission, the clockwise direction that camera 10 can turn clockwise indicated by instruction according to this rotates, when camera 10 turns clockwise, the shooting visual angle of camera 10 can move right, so, the mobile terminal 11 be connected with camera 10 also can move right for the view data in the interface 12 of display frame, shown in arrow 13, direction is right direction.As shown in Fig. 4 C (2), when mobile terminal 11 is rotated counterclockwise instruction to camera 10 transmission, the counter clockwise direction that camera 10 can be rotated counterclockwise indicated by instruction according to this rotates, when camera 10 is rotated counterclockwise, the shooting visual angle of camera 10 can be moved to the left, so, the interface 12 of mobile terminal 11 display frame be connected with camera 10 also can be moved to the left, and arrow 14 shows that direction is left direction.
Fig. 4 D is the schematic diagram of a kind of camera method of controlling rotation according to an exemplary embodiment, as shown in Fig. 4 D (1), when sliding in the interface 12 of user's display frame in mobile terminal 11, mobile terminal 11 receives and gathers the sliding trace 15 of user, sliding trace 15 to be resolved into direction be left sliding trace and direction is right sliding trace (as shown in 16a to 16b), wherein, shown in arrow 14, direction is left direction, and shown in arrow 13, direction is right direction.Due to direction for a left side means that the interface 12 of picture shown by mobile terminal 11 can be moved to the left, direction can move right for the right interface 12 meaning picture shown by mobile terminal 11.Therefore, can to be left sliding trace and direction further by direction be mobile terminal 11 that right sliding trace generates respectively is rotated counterclockwise instruction and the instruction that turns clockwise, and instruction will be rotated counterclockwise and the instruction that turns clockwise successively is sent to camera, after camera successfully receives these two instructions, shooting visual angle can first can be moved to the left (as Suo Shi Fig. 4 D (2)) by being rotated counterclockwise instruction by this camera, then rotates clockwise instruction and shooting visual angle can be moved right (as Suo Shi Fig. 4 D (3)).
Step 408, camera when the shooting visual angle of rotating camera, by Real-time Collection to view data compress, by compression after view data be sent to mobile terminal.
View data after this compression shows this image according to SD display mode for triggering this mobile terminal.
Before camera receives rotate instruction, first can receive the SD instruction that mobile terminal sends, and according to this SD instruction, the view data collected be compressed.Illustrate and set forth in step 403, repeat no more here.
Step 409, mobile terminal receives the view data after the compression of camera transmission, shows this view data according to SD display mode.
In sum, the camera method of controlling rotation provided in disclosure embodiment, is connected by mobile terminal and camera, the view data that display camera collection arrives, mobile terminal sends rotate instruction to camera, controls camera according to rotate instruction rotary taking visual angle; Because camera can rotate to different shooting visual angle according to different rotate instructions, therefore solve the view data that shooting visual angle that camera fixes collects limited, the problem of the shooting demand of user can not be met; Reach the shooting visual angle expanding camera, user can utilize mobile terminal to control the effect of camera rotation to required shooting visual angle.
In addition, mobile terminal can by sliding in the picture that is received in display time the sliding trace that produces, the rotate instruction that this sliding trace generates is sent to camera, controls camera rotary taking visual angle.
The camera rotating control assembly provided in disclosure embodiment, also by before sending rotate instruction to camera, high definition display mode is switched to SD display mode, thus avoids because freely spending poor situation when camera rotates and causes mobile terminal to show image.
The camera rotating control assembly provided in disclosure embodiment, also show unpressed view data according to high definition display mode, according to the view data after the compression of SD pattern Explicit solutions, therefore most suitable display mode can be selected to show the view data of different-format, make while satisfied broadcasting fluency, to ensure definition at the image of mobile terminal display as much as possible.
In the implementation that another kind is possible, the rotate instruction that this pivot controls generates by triggering pivot controls, can be sent to camera, control camera rotary taking visual angle by mobile terminal.Fig. 5 A is the flow chart of a kind of camera method of controlling rotation according to another exemplary embodiment, and as shown in Figure 5A, this camera method of controlling rotation can comprise the steps:
Step 501, mobile terminal, after successfully connecting with camera, receives the view data that this camera collection arrives, according to this view data display respective picture.
Step 502, the high definition instruction that camera mobile terminal receive sends, the view data this collected is sent to this mobile terminal in real time.
Step 503, the SD instruction that camera mobile terminal receive sends, the view data this collected is compressed, and the view data after compression is sent to this mobile terminal.
Step 504, mobile terminal shows pivot controls on the interface for display frame.
Fig. 5 B is that a kind of camera according to an exemplary embodiment turns clockwise the schematic diagram of control method, as shown in Fig. 5 B (1), user for the pivot controls 17 on the interface 12 of display frame by triggering mobile terminals 11, is carried out prompting mobile terminal and generates corresponding rotate instruction.
Step 505, when this pivot controls is triggered according to the first triggering mode, mobile terminal generates the instruction that turns clockwise, and this instruction that turns clockwise generated is sent to this camera.
This instruction that turns clockwise is used to indicate camera and turns clockwise the shooting visual angle of this camera.
Step 506, when this pivot controls is triggered according to the second triggering mode, mobile terminal generates and is rotated counterclockwise instruction, this generation is rotated counterclockwise instruction and is sent to this camera.
This is rotated counterclockwise instruction and is used to indicate the shooting visual angle that camera is rotated counterclockwise this camera.
Pivot controls has two kinds of triggering modes, first triggering mode is the one that lasting triggering scheduled duration or triggering duration are less than in this scheduled duration, and the second triggering mode is the another kind that lasting this scheduled duration of triggering or this triggering duration are less than in this scheduled duration.
For example, if the first triggering mode triggers scheduled duration for continuing, the second triggering mode is less than this scheduled duration for triggering duration.So, the duration triggering pivot controls as user reaches predetermined trigger duration, namely reaches the condition of the first triggering mode, and mobile terminal can generate the instruction that turns clockwise, this instruction that turns clockwise is used to indicate camera and turns clockwise, and namely shooting visual angle can move right by this camera.The duration triggering pivot controls as user does not reach predetermined trigger duration, namely the condition of the second triggering mode is reached, mobile terminal can generate and be rotated counterclockwise instruction, and this is rotated counterclockwise instruction and is used to indicate camera and is rotated counterclockwise, and namely shooting visual angle can be moved to the left by this camera.
The setting means of scheduled duration mentioned here can be that factory default also can artificially set, and the concrete numerical value of scheduled duration can be 2 seconds, 3 seconds etc., and the present embodiment does not limit the setting means of scheduled duration and concrete numerical value.
Such as, pivot controls can be divided into the control and be rotated counterclockwise control of turning clockwise, and when this control that turns clockwise is triggered, generates the instruction that turns clockwise, when this be rotated counterclockwise control be triggered time, generate and be rotated counterclockwise instruction.
Step 507, mobile terminal, after generation rotate instruction, if mobile terminal shows according to high definition display mode, then switches to SD display mode to continue the view data of display from camera acquisition.
Rotate instruction comprises and turns clockwise instruction or be rotated counterclockwise instruction, and wherein turn clockwise instruction and be rotated counterclockwise instruction and obtain respectively by step 505 and step 506.
Step 508, camera receives the instruction that turns clockwise that mobile terminal sends, the shooting visual angle of this camera that turns clockwise according to predetermined rotary speed.
Step 509, camera receive mobile terminal send be rotated counterclockwise instruction, be rotated counterclockwise the shooting visual angle of this camera according to predetermined rotary speed.
Still see Fig. 5, when the mobile terminal 11 in Fig. 5 B (1) is triggered according to the first triggering mode for the pivot controls 17 on the interface 12 of display frame, mobile terminal can generate the instruction that turns clockwise, and the instruction that this turned clockwise is sent to camera, control camera to rotate according to predetermined rotary speed clockwise direction, the view data in the interface 12 of mobile terminal 11 display frame namely in Fig. 5 B (2) can move right to direction shown in arrow 14.
Fig. 5 C is the schematic diagram that a kind of camera according to an exemplary embodiment is rotated counterclockwise control method, as shown in Figure 5 C, when the mobile terminal 11 in Fig. 5 C (1) is triggered according to the second triggering mode for the pivot controls 17 on the interface 12 of display frame, mobile terminal can generate and be rotated counterclockwise instruction, and this is rotated counterclockwise instruction is sent to camera, control camera counterclockwise to rotate according to predetermined rotary speed, view data in the interface 12 of i.e. Fig. 5 C (2) mobile terminal 11 display frame can move left to direction shown in arrow 13.
The setting means of predetermined rotary speed mentioned here also can artificially can set for factory default, the concrete numerical value of this predetermined rotary speed can be rotate 10 degree in every 0.5 second, also can be rotate 5 degree in every 0.2 second, the present embodiment limit the establishing method of predetermined rotary speed and concrete numerical value.
Step 510, camera when the shooting visual angle of rotating camera, by Real-time Collection to view data compress, by compression after view data be sent to mobile terminal.
Step 511, mobile terminal receives the view data after compression, after decompressing, shows the view data after decompression according to SD display mode view data.
Because step 501 is similar to step 403 with step 401 respectively to step 503, step 507 is similar with step 405, step 510 and step 408 are similar, specifically can see to step 401 to the description of step 403, step 405 and step 408, just repeat no more here.
In sum, the camera method of controlling rotation provided in disclosure embodiment, is connected by mobile terminal and camera, the view data that display camera collection arrives, mobile terminal sends rotate instruction to camera, controls camera according to rotate instruction rotary taking visual angle; Because camera can rotate to different shooting visual angle according to different rotate instructions, therefore solve the view data that shooting visual angle that camera fixes collects limited, the problem of the shooting demand of user can not be met; Reach the shooting visual angle expanding camera, user can utilize mobile terminal to control the effect of camera rotation to required shooting visual angle.
The camera method of controlling rotation provided in disclosure embodiment, also by triggering the triggering duration of pivot controls, generation turns clockwise instruction and be rotated counterclockwise instruction, rotate according to the direction of carrying out clockwise or counterclockwise to control camera, owing to only needing a pivot controls, the rotation that can realize both direction controls, and therefore while achieving rotation abundantization, simplifies display frame.
Following is disclosure device embodiment, may be used for performing disclosure embodiment of the method.For the details do not disclosed in disclosure device embodiment, please refer to disclosure embodiment of the method.
Fig. 6 A is the block diagram of a kind of camera rotating control assembly according to an exemplary embodiment, as shown in Figure 6A, this camera rotating control assembly is applied in mobile terminal, and this camera rotating control assembly includes but not limited to: receiver module 601, first display module 602, first generation module 603 and sending module 604.
Receiver module 601, is configured to when successfully connecting with camera, receives the view data that this camera collection arrives.
First display module 602, is configured to according to this view data display respective picture.
After mobile terminal is successfully connected by wireless network or Cloud Server mode and camera, the view data that the current shooting visual angle of this camera collects can be received, and this view data is shown on the interface of display frame, view data mentioned here can be static images also can be dynamic video.
First generation module 603, the sliding trace produced when sliding in this picture being configured to be received in display, generate rotate instruction, this rotate instruction is used to indicate this camera and rotates according to this sliding trace.
Mobile terminal is used for the interface of display frame and is sliding trace receiving area, when user slides in this sliding trace receiving area, mobile terminal receives and gathers the sliding trace of this user, generate rotate instruction, this rotate instruction is used to indicate this camera and rotates according to this sliding trace.
Sending module 604, this rotate instruction be configured to the first generation module 603 generates is sent to camera, and this rotate instruction to rotate the shooting visual angle of this camera according to the sliding trace indicated by this rotate instruction for triggering this camera.
In a kind of possible implementation, Fig. 6 B is the block diagram of a kind of camera rotating control assembly according to another exemplary embodiment, as shown in Figure 6B, this camera rotating control assembly can also comprise: the second display module 605, second generation module 606 and the 3rd generation module 607.
Second display module 605, is configured to show pivot controls on the interface for display frame.
Second generation module 606, is configured to, when this pivot controls that the second display module 605 shows is triggered according to the first triggering mode, generate the instruction that turns clockwise, this instruction that turns clockwise generated is sent to this camera.
This instruction that turns clockwise is used to indicate camera and turns clockwise the shooting visual angle of this camera.
3rd generation module 607, is configured to, when this pivot controls that the second display module 605 shows is triggered according to the second triggering mode, generate and be rotated counterclockwise instruction, this generation is rotated counterclockwise instruction and is sent to this camera.
This is rotated counterclockwise instruction and is used to indicate the shooting visual angle that camera is rotated counterclockwise this camera.
This first triggering mode is the one that lasting triggering scheduled duration or triggering duration are less than in this scheduled duration, and this second triggering mode is the another kind that lasting this scheduled duration of triggering or this triggering duration are less than in this scheduled duration.
The setting means of scheduled duration mentioned here can be that factory default also can artificially set, and the concrete numerical value of scheduled duration can be 2 seconds, 3 seconds etc., and the present embodiment does not limit the setting means of scheduled duration and concrete numerical value.
In a kind of possible implementation, still see shown in Fig. 6 B, this camera rotating control assembly can also comprise: handover module 608.
Handover module 608, is configured to after the first generation module 603 generates this rotate instruction, if mobile terminal shows according to high definition display mode, then switches to SD display mode to continue the view data of display from camera acquisition.
The view data high due to resolution can be converted to the low view data of resolution by the mode of compression.Known, for same view data, the memory space required for view data that the memory space required for the view data that resolution is high is lower than resolution is large.Therefore, the view data that the time delay that the view data that mobile terminal reception resolution is high produces is lower than reception resolution extends when producing.Namely the view data definition of high definition is high, but can not ensure the fluency of view data, and the view data smoothness of high definition is good, but can not ensure the definition of view data.
Therefore, when the every frame of the view data that mobile terminal receives changes little, mobile terminal can preferred high definition display mode, and when the every frame of the view data that mobile terminal receives changes greatly, mobile terminal can preferred SD display mode.
Carry out in the process rotated at camera, the every frame of view data that this camera sends to mobile terminal changes greatly, if mobile terminal shows according to high definition display mode, then shown view data smoothness degree can be poor, and it is serious that such as static images is smudgy, dynamic video card pauses.Therefore, after mobile terminal generates rotate instruction to camera, the display mode of current image date can be detected in advance, if this mobile terminal is according to high definition display mode display image data, in order to ensure the fluency of the view data shown by this mobile terminal, the meeting of this mobile terminal is first point out this camera to send the view data after compression to the instruction of camera transmission SD, then controls camera rotation to this camera transmission rotate instruction.
In a kind of possible implementation, still see shown in Fig. 6 B, this first display module 602, comprising: the first display sub-module 602a and the second display sub-module 602b.
First display sub-module 602a, is configured to, when this view data that receiver module 601 receives is unpressed data, show this view data according to high definition display mode.
Second display sub-module 602b, is configured to, when the view data that receiver module 601 receives is the data after compression, decompresses, show according to SD display mode to the data obtained after decompression according to predetermined decompression mode to this view data.
View data can be static images also can be dynamic video.At present, general picture format has BMP, PNG, JPEG, is: BMP>PNG>JPEG by the resolution sequence of picture.And general video format has AVI, FLV, 3GP, by the resolution sequence of video be: AVI>FLV>3GP.
The view data that resolution is high can be the view data that resolution is low by compressing and converting, and the view data that namely resolution is high is unpressed data, and the view data that resolution is low is the data after compression.Therefore, by the form of inspection image data, mobile terminal can judge that this view data is high-definition image data or SD view data, and show this view data according to corresponding display mode.
Here the view data of BMP and AVI form is set to high-definition image data, the view data of JPEG and 3GP form is set to SD view data and illustrates.When mobile terminal detects that received image data format is BMP or AVI, judge that this view data is as unpressed data, shows this view data according to high definition display mode.When mobile terminal detects that received image data format is JPEG or 3GP, judge that this view data is as the data after compression, shows this view data according to SD display mode.
In sum, the camera rotating control assembly provided in disclosure embodiment, is connected by mobile terminal and camera, the view data that display camera collection arrives, mobile terminal sends rotate instruction to camera, controls camera according to rotate instruction rotary taking visual angle; Because camera can rotate to different shooting visual angle according to different rotate instructions, therefore solve the view data that shooting visual angle that camera fixes collects limited, the problem of the shooting demand of user can not be met; Reach the shooting visual angle expanding camera, user can utilize mobile terminal to control the effect of camera rotation to required shooting visual angle.
The camera rotating control assembly provided in disclosure embodiment, also by triggering the triggering duration of pivot controls, generation turns clockwise instruction and be rotated counterclockwise instruction, rotate according to the direction of carrying out clockwise or counterclockwise to control camera, owing to only needing a pivot controls, the rotation that can realize both direction controls, and therefore while achieving rotation abundantization, simplifies display frame.
The camera rotating control assembly provided in disclosure embodiment, also by before sending rotate instruction to camera, high definition display mode is switched to SD display mode, thus avoids because freely spending poor situation when camera rotates and causes mobile terminal to show image.
The camera rotating control assembly provided in disclosure embodiment, also show unpressed view data according to high definition display mode, according to the view data after the compression of SD pattern Explicit solutions, therefore most suitable display mode can be selected to show the view data of different-format, make while satisfied broadcasting fluency, to ensure definition at the image of mobile terminal display as much as possible.
Fig. 7 A is the block diagram of a kind of camera rotating control assembly according to an exemplary embodiment, as shown in Figure 7 A, this camera rotating control assembly is applied in camera, and this camera rotating control assembly includes but not limited to: the first receiver module 701 and the first rotary module 702.
First receiver module 701, be configured to the rotate instruction that mobile terminal receive sends, this rotate instruction generates after this mobile terminal collects the sliding trace of user.
First rotary module 702, is configured to the shooting visual angle of the sliding trace rotating camera indicated by this rotate instruction received according to the first receiver module 701.
In a kind of possible implementation, Fig. 7 B is the block diagram of a kind of camera rotating control assembly according to another exemplary embodiment, and as Fig. 7 B, this camera rotating control assembly can also comprise: compression module 703 and the first sending module 704.
Compression module 703, is configured to when the shooting visual angle of rotating camera, by Real-time Collection to view data compress.
First sending module 704, be configured to the view data after being compressed by this compression module 703 and be sent to mobile terminal, the view data after this compression shows this view data according to SD display mode for triggering this mobile terminal.
View data after this compression shows this image according to SD display mode for triggering this mobile terminal.
In a kind of possible implementation, still see Fig. 7 B, this camera rotating control assembly can also comprise: the second receiver module 705, second sending module 706, the 3rd receiver module 707 and the 3rd sending module 708.
Second receiver module 705, is configured to the high definition instruction that mobile terminal receive sends.
This high definition instruction is that this mobile terminal is sent to this camera when selecting high definition display mode.
Second sending module 706, the view data being configured to this to collect is sent to this mobile terminal in real time.
3rd receiver module 707, is configured to the SD instruction that mobile terminal receive sends.
This SD instruction is that this mobile terminal is sent to this camera when selecting SD display mode.
3rd sending module 708, the view data being configured to this to collect is compressed, and the view data after this compression is sent to this mobile terminal.
Mobile terminal can send high definition/SD instruction to camera, regulates the resolution of received view data.
In a kind of possible implementation, still see Fig. 7 B, this camera rotating control assembly can also comprise: the 4th receiver module 709, second rotary module 710, the 5th receiver module 711 and the 3rd rotary module 712.
4th receiver module 709, is configured to the instruction that turns clockwise receiving mobile terminal transmission.
This instruction that turns clockwise be mobile terminal display frame on pivot controls by according to first triggering mode trigger time generate.
Second rotary module 710, the shooting visual angle of this camera that is configured to turn clockwise according to predetermined rotary speed.
5th receiver module 711, is configured to receive that mobile terminal sends is rotated counterclockwise instruction.
This instruction that turns clockwise be mobile terminal display frame on pivot controls by according to second triggering mode trigger time generate.
This first triggering mode is the one that lasting triggering scheduled duration or triggering duration are less than in this scheduled duration, and this second triggering mode is the another kind that lasting this scheduled duration of triggering or this triggering duration are less than in this scheduled duration.
3rd rotary module 712, is configured to the shooting visual angle being rotated counterclockwise this camera according to predetermined rotary speed.
The setting means of predetermined rotary speed mentioned here also can artificially can set for factory default, the concrete numerical value of this predetermined rotary speed can be rotate 10 degree in every 0.5 second, also can be rotate 5 degree in every 0.2 second, the present embodiment limit the establishing method of predetermined rotary speed and concrete numerical value.
In sum, the camera rotating control assembly provided in disclosure embodiment, by sliding trace rotary taking visual angle indicated in the rotate instruction that sends according to mobile terminal; Owing to synchronously can select the shooting visual angle of camera according to the sliding trace of mobile terminal place user, can ensure that the picture in the shooting visual angle that camera changes is transferred into mobile terminal, therefore solve the view data that shooting visual angle that camera fixes collects limited, the problem of the shooting demand of user can not be met; Reach the shooting visual angle expanding camera, user can utilize mobile terminal to control the effect of camera rotation to required shooting visual angle.
The camera rotating control assembly provided in disclosure embodiment, also by when rotating camera takes visual angle, to Real-time Collection to view data compress, and the view data after compression is sent to mobile terminal, thus can ensure that the picture collected when rotating camera can be shown by smoothness at mobile terminal place.
The camera rotating control assembly provided in disclosure embodiment, instruction also by sending according to mobile terminal, determine whether to compress the view data that will be sent to this mobile terminal, ensure that the view data being sent to mobile terminal can show according to the display mode of the needs of user.
The camera rotating control assembly provided in disclosure embodiment, the difference of rotate instruction also by sending according to mobile terminal, carries out the rotation of different directions, thus make camera collection to picture meet the demand of user.
Fig. 8 is the block diagram of a kind of camera rotation control system according to an exemplary embodiment, and as shown in Figure 8, this camera rotation control system is applied in implementation environment shown in Fig. 1.This camera rotation control system can comprise: mobile terminal 801 and camera 802.
Mobile terminal 801 comprises the camera rotating control assembly described in Fig. 6 A and Fig. 6 B, specifically see the description in Fig. 6 A and Fig. 6 B, just can repeat no more here.
Camera 802 can comprise the camera rotating control assembly described in Fig. 7 A and Fig. 7 B, specifically see the description in Fig. 7 A and Fig. 7 B, just can repeat no more here.
In sum, the camera rotation control system provided in disclosure embodiment, is connected by mobile terminal and camera, the view data that display camera collection arrives, mobile terminal sends rotate instruction to camera, controls camera according to rotate instruction rotary taking visual angle; Because camera can rotate to different shooting visual angle according to different rotate instructions, therefore solve the view data that shooting visual angle that camera fixes collects limited, the problem of the shooting demand of user can not be met; Reach the shooting visual angle expanding camera, user can utilize mobile terminal to control the effect of camera rotation to required shooting visual angle.
About the equipment in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
The disclosure one exemplary embodiment provides a kind of camera rotating control assembly, and can realize the camera method of controlling rotation that the disclosure provides, this external equipment comprises: processor, memory for storage of processor executable instruction;
Wherein, processor is configured to:
After successfully connecting with camera, receive the view data that this camera collection arrives;
According to this view data display respective picture;
The sliding trace produced when sliding in this picture being received in display, generate rotate instruction, this rotate instruction is used to indicate this camera and rotates according to this sliding trace;
Rotate instruction is sent to camera, and this rotate instruction to rotate the shooting visual angle of this camera according to the sliding trace indicated by this rotate instruction for triggering this camera.
The disclosure one exemplary embodiment provides camera rotating control assembly, and can realize the camera method of controlling rotation that the disclosure provides, this mobile device comprises: processor, memory for storage of processor executable instruction;
Wherein, processor is configured to:
The rotate instruction that mobile terminal receive sends, this rotate instruction generates after this mobile terminal collects the sliding trace of user;
According to the shooting visual angle of the track rotating camera indicated by this rotate instruction.
Fig. 9 is a kind of block diagram for controlling camera rotation according to an exemplary embodiment.Such as, device 900 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 9, device 900 can comprise following one or more assembly: processing components 902, memory 904, power supply module 906, multimedia groupware 908, audio-frequency assembly 910, I/O (I/O) interface 912, sensor cluster 914, and communications component 916.
The integrated operation of the usual control device 900 of processing components 902, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 902 can comprise one or more processor 918 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 902 can comprise one or more module, and what be convenient between processing components 902 and other assemblies is mutual.Such as, processing components 902 can comprise multi-media module, mutual with what facilitate between multimedia groupware 908 and processing components 902.
Memory 904 is configured to store various types of data to be supported in the operation of device 900.The example of these data comprises for any application program of operation on device 900 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 904 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 906 is device 900 provide electric power.Power supply module 906 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 900 and be associated.
Multimedia groupware 908 is included in the screen providing an output interface between device 900 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant with touch or slide and pressure.In certain embodiments, multimedia groupware 908 comprises a front-facing camera and/or post-positioned pick-up head.When device 900 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 910 is configured to export and/or input audio signal.Such as, audio-frequency assembly 910 comprises a microphone (MIC), and when device 900 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 904 further or be sent via communications component 916.In certain embodiments, audio-frequency assembly 910 also comprises a loud speaker, for output audio signal.
I/O interface 912 is for providing interface between processing components 902 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 914 comprises one or more transducer, for providing the state estimation of various aspects for device 900.Such as, sensor cluster 914 can detect the opening/closing state of device 900, the relative positioning of assembly, such as assembly is display and the keypad of device 900, the position of all right checkout gear 900 of sensor cluster 914 or device 900 1 assemblies changes, the presence or absence that user contacts with device 900, the variations in temperature of device 900 orientation or acceleration/deceleration and device 900.Sensor cluster 914 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 914 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 914 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 916 is configured to the communication being convenient to wired or wireless mode between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, as Wi-Fi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 916 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, communications component 916 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 900 can be realized, for performing above-mentioned camera method of controlling rotation by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 904 of instruction, above-mentioned instruction can perform above-mentioned camera method of controlling rotation by the processor 918 of device 900.Such as, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.
Claims (19)
1. a camera method of controlling rotation, is characterized in that, is applied in mobile terminal, and described method comprises:
After successfully connecting with camera, receive the view data that described camera collection arrives;
According to described view data display respective picture;
The sliding trace produced when sliding in the described picture being received in display, generate rotate instruction, described rotate instruction is used to indicate described camera and rotates according to described sliding trace;
Described rotate instruction is sent to described camera, and described rotate instruction to rotate the shooting visual angle of described camera according to the described sliding trace indicated by described rotate instruction for triggering described camera.
2. method according to claim 1, is characterized in that, described method also comprises:
Interface for display frame shows pivot controls;
When described pivot controls is triggered according to the first triggering mode, generation turns clockwise instruction, the instruction that turns clockwise described in generation is sent to described camera, described in the instruction that turns clockwise be used to indicate described camera and turn clockwise the shooting visual angle of described camera;
When described pivot controls is triggered according to the second triggering mode, generation is rotated counterclockwise instruction, be rotated counterclockwise instruction and be sent to described camera described in generation, described in be rotated counterclockwise instruction and be used to indicate the shooting visual angle that described camera is rotated counterclockwise described camera;
Wherein, described first triggering mode is the one that lasting triggering scheduled duration or triggering duration are less than in described scheduled duration, and described second triggering mode is the another kind that the described scheduled duration of lasting triggering or described triggering duration are less than in described scheduled duration.
3. method according to claim 1, is characterized in that, described method also comprises:
After the described rotate instruction of generation, if described mobile terminal shows according to high definition display mode, then SD display mode is switched to continue to show the view data obtained from described camera.
4. method according to claim 1, is characterized in that, described according to described view data display respective picture, comprising:
When described view data is unpressed data, according to high definition display mode, described view data is shown;
When described view data is the data after compression, according to predetermined decompression mode, described view data is decompressed, according to SD display mode, the data obtained after decompression are shown.
5. a camera method of controlling rotation, is characterized in that, is applied in camera, and described method comprises:
The rotate instruction that mobile terminal receive sends, described rotate instruction generates after described mobile terminal collects the sliding trace of user;
The shooting visual angle of described camera is rotated according to the sliding trace indicated by described rotate instruction.
6. method according to claim 5, is characterized in that, described method also comprises:
When rotating the shooting visual angle of described camera, by Real-time Collection to view data compress;
View data after compression is sent to described mobile terminal, and the view data after described compression shows described view data according to SD display mode for triggering described mobile terminal.
7. method according to claim 5, is characterized in that, described method also comprises:
Receive the high definition instruction that described mobile terminal sends, the described view data collected is sent to described mobile terminal in real time, described high definition instruction is that described mobile terminal is sent to described camera when selecting high definition display mode;
Receive the SD instruction that described mobile terminal sends, the described view data collected is compressed, view data after described compression is sent to described mobile terminal, and described SD instruction is that described mobile terminal is sent to described camera when selecting SD display mode.
8., according to described method arbitrary in claim 5 to 7, it is characterized in that, described method also comprises:
Receive the instruction that turns clockwise that described mobile terminal sends, the shooting visual angle of the described camera that turns clockwise according to predetermined rotary speed;
What receive the transmission of described mobile terminal is rotated counterclockwise instruction, is rotated counterclockwise the shooting visual angle of described camera according to predetermined rotary speed.
9. a camera rotating control assembly, is characterized in that, is applied in mobile terminal, and described device comprises:
Receiver module, is configured to when successfully connecting with camera, receives the view data that described camera collection arrives;
First display module, is configured to according to described view data display respective picture;
First generation module, the sliding trace produced when sliding in the described picture being configured to be received in display, generate rotate instruction, described rotate instruction is used to indicate described camera and rotates according to described sliding trace;
Sending module, the described rotate instruction be configured to described first generation module generates is sent to described camera, and described rotate instruction to rotate the shooting visual angle of described camera according to the described sliding trace indicated by described rotate instruction for triggering described camera.
10. device according to claim 9, is characterized in that, described device also comprises:
Second display module, is configured to show pivot controls on the interface for display frame;
Second generation module, be configured to when the described pivot controls of described second display module display is triggered according to the first triggering mode, generation turns clockwise instruction, the instruction that turns clockwise described in generation is sent to described camera, described in the instruction that turns clockwise be used to indicate described camera and turn clockwise the shooting visual angle of described camera;
3rd generation module, be configured to when the described pivot controls of described second display module display is triggered according to the second triggering mode, generation is rotated counterclockwise instruction, be rotated counterclockwise instruction and be sent to described camera described in generation, described in be rotated counterclockwise instruction and be used to indicate the shooting visual angle that described camera is rotated counterclockwise described camera;
Wherein, described first triggering mode is the one that lasting triggering scheduled duration or triggering duration are less than in described scheduled duration, and described second triggering mode is the another kind that the described scheduled duration of lasting triggering or described triggering duration are less than in described scheduled duration.
11. devices according to claim 9, is characterized in that, described device also comprises:
Handover module, is configured to after described first generation module generates described rotate instruction, when described mobile terminal shows according to high definition display mode, switches to SD display mode to continue to show the view data obtained from described camera.
12. devices according to claim 9, is characterized in that, described receiver module, comprising:
First display sub-module, is configured to, when the described view data that described receiver module receives is unpressed data, show described view data according to high definition display mode;
Second display sub-module, be configured to when the described view data that described receiver module receives is the data after compression, according to predetermined decompression mode, described view data is decompressed, according to SD display mode, the data obtained after decompression are shown.
13. 1 kinds of camera rotating control assemblies, is characterized in that, are applied in camera, and described device comprises:
First receiver module, be configured to the rotate instruction that mobile terminal receive sends, described rotate instruction generates after described mobile terminal collects the sliding trace of user;
First rotary module, the sliding trace indicated by described rotate instruction being configured to receive according to described first receiver module rotates the shooting visual angle of described camera.
14. devices according to claim 13, is characterized in that, described device also comprises:
Compression module, is configured to when rotating the shooting visual angle of described camera, by Real-time Collection to view data compress;
First sending module, be configured to the view data after by described compression module compression and be sent to described mobile terminal, the view data after described compression shows described view data according to SD display mode for triggering described mobile terminal.
15. devices according to claim 13, is characterized in that, described device also comprises:
Second sending module, be configured to the high definition instruction receiving the transmission of described mobile terminal, the described view data collected is sent to described mobile terminal in real time, and described high definition instruction is that described mobile terminal is sent to described camera when selecting high definition display mode;
3rd sending module, be configured to the SD instruction receiving the transmission of described mobile terminal, the described view data collected is compressed, view data after described compression is sent to described mobile terminal, and described SD instruction is that described mobile terminal is sent to described camera when selecting SD display mode.
16. according to claim 13 to described device arbitrary in 15, and it is characterized in that, described device also comprises:
Second rotary module, is configured to the instruction that turns clockwise receiving the transmission of described mobile terminal, the shooting visual angle of the described camera that turns clockwise according to predetermined rotary speed;
3rd rotary module, is configured to receive that described mobile terminal sends is rotated counterclockwise instruction, is rotated counterclockwise the shooting visual angle of described camera according to predetermined rotary speed.
17. 1 kinds of camera rotation control system, is characterized in that, described system comprises mobile terminal and camera;
Described mobile terminal comprises as the camera rotating control assembly as described in arbitrary in claim 9 to 12;
Described camera comprises as the camera rotating control assembly as described in arbitrary in claim 13 to 16.
18. 1 kinds of camera rotating control assemblies, is characterized in that, are applied in mobile terminal, and described device comprises:
Processor;
For storing the memory of described processor executable;
Wherein, described processor is configured to:
After successfully connecting with camera, receive the view data that described camera collection arrives;
According to described view data display respective picture;
The sliding trace produced when sliding in the described picture being received in display, generate rotate instruction, described rotate instruction is used to indicate described camera and rotates according to described sliding trace;
Described rotate instruction is sent to described camera, and described rotate instruction to rotate the shooting visual angle of described camera according to the described sliding trace indicated by described rotate instruction for triggering described camera.
19. 1 kinds of camera rotating control assemblies, is characterized in that, are applied in camera, and described device comprises:
Processor;
For storing the memory of described processor executable;
Wherein, described processor is configured to:
The rotate instruction that mobile terminal receive sends, described rotate instruction generates after described mobile terminal collects the sliding trace of user;
The shooting visual angle of described camera is rotated according to the sliding trace indicated by described rotate instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510642168.7A CN105245778B (en) | 2015-09-30 | 2015-09-30 | Camera method of controlling rotation and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510642168.7A CN105245778B (en) | 2015-09-30 | 2015-09-30 | Camera method of controlling rotation and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105245778A true CN105245778A (en) | 2016-01-13 |
CN105245778B CN105245778B (en) | 2019-02-12 |
Family
ID=55043256
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510642168.7A Active CN105245778B (en) | 2015-09-30 | 2015-09-30 | Camera method of controlling rotation and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105245778B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106101505A (en) * | 2016-07-29 | 2016-11-09 | 广东欧珀移动通信有限公司 | Camera processing method, device and terminal equipment |
CN106657760A (en) * | 2016-09-29 | 2017-05-10 | 北京小米移动软件有限公司 | Camera control method and apparatus |
WO2019033289A1 (en) * | 2017-08-16 | 2019-02-21 | 天彩电子(深圳)有限公司 | System and method for expanding field of view of video camera |
CN109785442A (en) * | 2018-12-11 | 2019-05-21 | 平安科技(深圳)有限公司 | The control method and device of image rotation, the display methods of image rotation and system |
CN109889751A (en) * | 2019-04-18 | 2019-06-14 | 东北大学 | Portable shooting and recording device for speech content based on optical zoom |
CN114194056A (en) * | 2021-12-09 | 2022-03-18 | 北京有竹居网络技术有限公司 | Vehicle charging method and device and electronic equipment |
CN114286012A (en) * | 2022-01-29 | 2022-04-05 | 青岛海信智慧生活科技股份有限公司 | Monitoring equipment, control method thereof and terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002174840A (en) * | 2000-12-08 | 2002-06-21 | Matsushita Electric Ind Co Ltd | Preset monitoring device |
CN101699858A (en) * | 2009-11-06 | 2010-04-28 | 深圳华为通信技术有限公司 | Control method of camera head, control terminal and camera system |
CN103336534A (en) * | 2013-06-07 | 2013-10-02 | 浙江宇视科技有限公司 | Method for controlling holder camera on touch screen of monitor terminal |
CN104834447A (en) * | 2015-05-19 | 2015-08-12 | 广东欧珀移动通信有限公司 | Rotating control method and system for rotating camera and camera device |
-
2015
- 2015-09-30 CN CN201510642168.7A patent/CN105245778B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002174840A (en) * | 2000-12-08 | 2002-06-21 | Matsushita Electric Ind Co Ltd | Preset monitoring device |
CN101699858A (en) * | 2009-11-06 | 2010-04-28 | 深圳华为通信技术有限公司 | Control method of camera head, control terminal and camera system |
CN103336534A (en) * | 2013-06-07 | 2013-10-02 | 浙江宇视科技有限公司 | Method for controlling holder camera on touch screen of monitor terminal |
CN104834447A (en) * | 2015-05-19 | 2015-08-12 | 广东欧珀移动通信有限公司 | Rotating control method and system for rotating camera and camera device |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106101505A (en) * | 2016-07-29 | 2016-11-09 | 广东欧珀移动通信有限公司 | Camera processing method, device and terminal equipment |
CN106657760A (en) * | 2016-09-29 | 2017-05-10 | 北京小米移动软件有限公司 | Camera control method and apparatus |
WO2019033289A1 (en) * | 2017-08-16 | 2019-02-21 | 天彩电子(深圳)有限公司 | System and method for expanding field of view of video camera |
CN109785442A (en) * | 2018-12-11 | 2019-05-21 | 平安科技(深圳)有限公司 | The control method and device of image rotation, the display methods of image rotation and system |
CN109785442B (en) * | 2018-12-11 | 2023-07-11 | 平安科技(深圳)有限公司 | Image rotation control method and device, and image rotation display method and system |
CN109889751A (en) * | 2019-04-18 | 2019-06-14 | 东北大学 | Portable shooting and recording device for speech content based on optical zoom |
CN114194056A (en) * | 2021-12-09 | 2022-03-18 | 北京有竹居网络技术有限公司 | Vehicle charging method and device and electronic equipment |
CN114194056B (en) * | 2021-12-09 | 2024-03-01 | 北京有竹居网络技术有限公司 | Vehicle charging method and device and electronic equipment |
CN114286012A (en) * | 2022-01-29 | 2022-04-05 | 青岛海信智慧生活科技股份有限公司 | Monitoring equipment, control method thereof and terminal |
CN114286012B (en) * | 2022-01-29 | 2023-11-24 | 青岛海信智慧生活科技股份有限公司 | Monitoring equipment, control method thereof and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105245778B (en) | 2019-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105245778A (en) | Camera rotation control method and camera rotation control device | |
CN104202614B (en) | A kind of method of Network Environment adjustment video image quality and device | |
KR100816286B1 (en) | Display device and method using mobile terminal and external device | |
CN105516754B (en) | Picture display control method, device and terminal | |
CN105828201B (en) | Method for processing video frequency and device | |
CN105357466A (en) | Video communication method and video communication device | |
CN105791958A (en) | Method and device for live broadcasting game | |
CN104202624B (en) | The method of transmission picture and device | |
CN104244045B (en) | The method that control video pictures presents and device | |
CN105338399A (en) | Image acquisition method and device | |
CN104092749A (en) | Method and device for synchronizing photos | |
KR20170012178A (en) | METHOD AND APPARATUS FOR OBTAINING VIDEO CONTENT | |
EP2985980B1 (en) | Method and device for playing stream media data | |
CN106331761A (en) | Live broadcast list display method and apparatuses | |
CN104111720A (en) | Electronic device control method and device and electronic device | |
CN105117337A (en) | Application debugging method, client and debugging platform | |
CN104954719A (en) | Method and device for processing video information | |
CN105117111A (en) | Rendering method and device for virtual reality interaction frames | |
CN106792074A (en) | Intelligent television control method and device | |
CN106101773A (en) | Content is with shielding method, device and display device | |
CN104539662A (en) | Information transmission method and device | |
CN104038694A (en) | Method and device for displaying panoramic image | |
CN105357449A (en) | Shooting method and device, and image processing method and apparatus | |
CN105549300A (en) | Automatic focusing method and device | |
CN105511307A (en) | Control method and apparatus of electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |