CN108566510A - Flexible screen control method, mobile terminal and readable storage medium storing program for executing - Google Patents

Flexible screen control method, mobile terminal and readable storage medium storing program for executing Download PDF

Info

Publication number
CN108566510A
CN108566510A CN201810100775.4A CN201810100775A CN108566510A CN 108566510 A CN108566510 A CN 108566510A CN 201810100775 A CN201810100775 A CN 201810100775A CN 108566510 A CN108566510 A CN 108566510A
Authority
CN
China
Prior art keywords
flexible screen
target image
deformation
screen
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810100775.4A
Other languages
Chinese (zh)
Other versions
CN108566510B (en
Inventor
刘敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810100775.4A priority Critical patent/CN108566510B/en
Publication of CN108566510A publication Critical patent/CN108566510A/en
Application granted granted Critical
Publication of CN108566510B publication Critical patent/CN108566510B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • H04M1/0268Details of the structure or mounting of specific components for a display module assembly including a flexible display panel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices

Abstract

The invention discloses a kind of flexible screen control method, mobile terminal and readable storage medium storing program for executing.The flexible screen control method includes the following steps:When receiving the control instruction of track up pattern unlatching, the characteristic information for selecting photographic subjects is obtained by image recognition, and obtain corresponding target image;It determines position coordinates of the target image in screen, and according to the relative distance in the preset reference region in the position coordinates and screen of target image, judges whether to carry out shape control to flexible screen;When judgement judgement needs to carry out shape control to flexible screen, deformation parameter is determined according to the position coordinates of target image, and corresponding shape control is carried out to flexible screen.The present invention changes the shooting angle of camera by controlling flexible screen deformation, reaches the track up effect to photographic subjects.

Description

Flexible screen control method, mobile terminal and readable storage medium storing program for executing
Technical field
The present invention relates to technical field of electronic equipment more particularly to a kind of flexible screen control method, mobile terminals and can Read storage medium.
Background technology
Universal with mobile terminal shoots the promotion of performance with it, and it is most commonly used that camera function has become user One of function.Although camera function, which is user, brings many facilities, user by mobile terminal to dynamic object into When row shooting, it is easy to there are photographic subjects and fast moves suddenly, and user does not react in time, eventually leads to shooting mesh Mark is detached from the viewfinder range of camera so that the overall effect of image is affected.So when imaging dynamic object, it is easy out The problem of existing dynamic object is easily separated from coverage.
Invention content
The main purpose of the present invention is to provide a kind of flexible screen control method, mobile terminal and readable storage medium storing program for executing, Aim to solve the problem that dynamic object, which fast moves, causes object to be detached from coverage when being imaged to dynamic object using mobile terminal The problem of photographic effect of initiation is affected.
To achieve the above object, a kind of flexible screen control method of present invention offer, mobile terminal and readable storage medium storing program for executing, The flexible screen control method includes the following steps:
When receiving the control instruction of track up pattern unlatching, the spy for selecting photographic subjects is obtained by image recognition Reference ceases, and obtains corresponding target image;
Determine position coordinates of the target image in screen, and according to default in the position coordinates and screen of target image The relative distance of reference zone judges whether to carry out shape control to flexible screen;
When judgement judgement needs to carry out shape control to flexible screen, determine that deformation is joined according to the position coordinates of target image Number, and corresponding shape control is carried out to flexible screen.
Optionally, the step of position coordinates of the determining target image in screen include:
The center of target image is calculated according to geometrical center point calculating method;
Coordinate of the center in screen is obtained, and as the position coordinates of target image.
Optionally, the relative distance in the preset reference region in the position coordinates and screen according to target image, sentences Disconnected the step of whether carrying out shape control to flexible screen includes:
The range in the preset reference region in screen is determined according to target image;
Judged whether to carry out shape control to flexible screen according to the position relationship of target image and preset reference region.
Optionally, the step of range that the preset reference region in screen is determined according to target image includes:
It obtains target image and occupies ratio in screen, setting preset reference region is corresponded to according to the ratio that occupies Range.
Optionally, the position relationship according to target image and preset reference region judges whether to carry out shape to flexible screen Becoming the step of controlling includes:
When detecting that target image is located in the range of preset reference region, then judgement need not carry out shape to flexible screen Become control;
When detecting that target image is located at outside the range in preset reference region, then judgement needs to carry out deformation to flexible screen Control.
Optionally, the position coordinates according to target image determine deformation parameter, and carry out corresponding deformation to flexible screen Include before the step of control:
The force part that flexible screen is detected by sensor, according to the deformation area of the location determination flexible screen of force part Domain.
Optionally, the force part that flexible screen is detected by sensor, it is flexible according to the location determination of force part Include after the step of deformation region of screen:
Coordinate vector is obtained according to the coordinate of target image, and deformation direction is determined according to the direction of coordinate vector;
It controls flexible screen and carries out deformation in the deformation direction.
Optionally, the control flexible screen includes after the step of deformation direction carries out deformation:
The deformation quantity for detecting flexible screen stops deformation when deformation quantity is more than default deformation threshold value, and exports prompt letter Breath.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal includes:Memory, The flexible screen control program that processor and being stored in can be run on the memory and on the processor, the flexible screen control Processing procedure sequence realizes the step of flexible screen control method as described above when being executed by the processor.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium Flexible screen control program is stored on storage medium, the flexible screen control program is realized as described above when being executed by processor The step of flexible screen control method.
Flexible screen control method proposed by the present invention, by using flexible screen mobile terminal can deformation behavior, in user When being imaged using mobile terminal, it is preset whether the target image by detecting camera shooting is located in the screen of mobile terminal Preset reference region carries out deformation to control flexible screen, and when dynamic object is fast moved, i.e., target image is not default When reference zone, change the angle of mobile terminal camera by controlling the deformation of flexible screen, so as to adjust coverage. So that photographic subjects when not making a response in time to dynamic object, can be maintained in coverage, effectively be avoided by user The case where going out active target when shooting dynamic object effectively promotes the usage experience of user.
Description of the drawings
Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is a kind of communications network system Organization Chart that inventive embodiments provide;
Fig. 3 is the flow diagram of flexible screen control method first embodiment of the present invention;
Fig. 4 is the refinement flow diagram of step S30 in another embodiment of flexible screen control method of the present invention;
Fig. 5 is the schematic diagram of a scenario that flexible screen control method stress area of the present invention determines deformation region;
Fig. 6 is the another schematic diagram of a scenario that flexible screen control method stress area of the present invention determines deformation region;
Fig. 7 is that the scene of flexible screen control method flexible screen deformation impact effect caused by shooting angle of the present invention is illustrated Figure.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, tablet Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable The shiftings such as media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Moving terminal 100 may include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Either combine certain components or different components arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to be omitted in the range for the essence for not changing invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 The relevant audio output of specific function executed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loud speaker, buzzer etc..
A/V input units 104 are for receiving audio or video signal.A/V input units 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family is arranged and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc. It is one or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be to realize the function that outputs and inputs of mobile terminal as two independent components, but in certain embodiments, can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For the transmission data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, below to the communications network system that is based on of mobile terminal of the present invention into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes communicating UE (User Equipment, the use of connection successively Family equipment) (the lands Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and some are preserved in relation to use such as service features, data rates The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., it does not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
With reference to Fig. 3, first embodiment of the invention provides a kind of flexible screen control method, the flexible screen control method packet It includes:
Step S10 obtains selected shooting when receiving the control instruction of track up pattern unlatching by image recognition Clarification of objective information, and obtain corresponding target image;
Specifically, when shooting, user can open the control instruction of track up pattern by transmission, to open tracking Pattern.After tracing mode is opened, user is then obtained by image recognition technology and is used by the selected target in screen, mobile terminal The selected target image in family.
Step S20 determines position coordinates of the target image in screen, and according to the position coordinates and screen of target image In preset reference region relative distance, judge whether to flexible screen carry out shape control;
Specifically, after the target image for obtaining track up, by position of the target image in screen with the shape of coordinate Formula is quantified, and then whether is located at preset reference region according to the coordinate position of target image, judges whether to control flexible screen Deformation.By quantization, position that can be more accurately to target image in screen judges, and more preferably to control Flexible screen deformation opportunity and scene.
Step S30, it is true according to the position coordinates of target image when judgement judgement needs to carry out shape control to flexible screen Shape variable element, and carries out corresponding shape control to flexible screen.
Specifically, when judgement needs to carry out shape control to flexible screen, according to the coordinate of target image, it may be determined that mesh Logo image deviates the direction in preset reference region, the direction of flexible screen deformation is determined with this, and detect and move according to sensor The current stress area of terminal, according to stress area and deformation direction, control flexible screen carries out deformation.
Camera function is that the most commonly used one of function is used in mobile terminal, and can record user by camera shooting wants note The slice of life of record, so as to be recalled at any time, to obtain more joys of life.But user is to carry out camera shooting dynamic When the object of state, needs to carry out track up to object, can preferably record slice of life.And partial dynamic object due to It is kept in motion, and without the apparent characteristics of motion, therefore user can not effectively prejudge the movement locus of object, so May result in user can not capture object in time, eventually cause user and occur wanting the target of shooting when shooting and leave and take the photograph As the case where head coverage.Such as user, when shooting the image that child plays, child it is possible that run suddenly Behavior, and user it is reflect in time in the case of, then the case where running out of except pick-up lens it is easy to appear child, To influence the final effect of user's shooting.Such that the usage experience of user is affected.
The problem of being lost for photographic subjects, the mobile terminal of traditional type when shooting for losing photographic subjects not Good solution, and the present invention by the mobile terminal of flexible screen material can Deformation Features, realize a kind of tracking and clap Take the photograph method.After user opens track up pattern, the shooting second is chosen first, and mobile terminal is known by image recognition technology etc. Do not go out the characteristic information of target image, target image is then positioned by characteristic information, such as when target image is people, then it can be with The general image of target is identified by identifying the features such as eyes, nose, face, ear.By target image in screen Coordinate, which can know whether to need to control flexible screen, carries out deformation, when judging target image in screen by profile information Preset reference region when, then be not necessarily to control flexible screen carry out deformation, and when judgement targeted graphical position be located in screen When except preset reference region, then control flexible screen deformation is demonstrated the need for so that shooting angle changes, to ensure shooting The image of target maintains in coverage.
The mode that deforms upon of mobile terminal control flexible screen, can by the mechanical device installed in mobile terminal with it is right Module is answered to realize, mobile terminal can be realized with corresponding control method to flexible screen deformation degree and direction by mechanical device Control, mobile terminal can also be met using other, mode of flexible screen demand for control is realized.Due to flexible screen Deformation can change the shooting angle of camera, therefore can be reached to a certain degree to shooting mesh by controlling flexible screen deformation There is the case where photographic subjects flee from coverage so as to improve user when using camera function in target tracking effect.User After opening track up function, mobile terminal can continue to obtain coordinate of the target image in screen, and in target image Coordinate when being detached from preset preset reference region in screen, according to the coordinate shift direction of target image, control flexible screen into Corresponding deformation go to adjust shooting angle, so as to adjust target image into preset reference region.Such as in movement Under the horizontal state of terminal, detect that the coordinate of target image is located at except preset reference region.According to the direction of coordinate position, control The deformation direction of flexible screen processed is finally reached the purpose for the coverage that photographic subjects are maintained to camera.
When controlling mobile terminal deformation, it is also necessary to detect the force part of mobile terminal flexible screen, that is, hold or solid Fixed point.Such as mobile terminal is divided into upper end, centre, the position of lower end three, camera is located at upper end, when the hand-held movement of user When lower end, the shooting angle of camera can be changed by middle section deformation.And when in user's hand-held mobile terminal Between part when, the deformation of lower end can not then change shooting angle, then the upper part that must change mobile terminal can Realize the purpose for changing shooting angle.Therefore before controlling flexible screen deformation, it is thus necessary to determine that the stress of mobile terminal flexible screen Position, to add effective mode to carry out shape control.The control of flexible screen can be by adding the mechanical parts such as foot chain, and controls Mechanical part processed realizes the deformation of control flexible screen, can also be realized by other effective control modes.
Flexible screen image pickup method through the invention, user can when being shot to dynamic object using camera function, Obtain higher shooting quality.Photographic subjects are encountered in the state of fast moving, and mobile terminal can be by controlling flexible screen Corresponding deformation is carried out, can track up be carried out to photographic subjects to a certain extent, to allow user to have enough time The action of target user is reacted (mobile terminal by hardware limitations such as flexible screen deformation limits, cannot it is unconfined into Line trace), and (such as adjustment shooting direction etc.) can be coped in time.Therefore it is possible to prevente effectively from user is in shooting dynamic When object, there is the case where object fast moves caused disengaging coverage so that user can get better bat Effect is taken the photograph, the usage experience of user is increased.
Further, step S20 determines that the step of position coordinates of the target image in screen includes:
The center of target image is calculated according to mathematical relationship by step S21;
Step S22 obtains coordinate of the center in screen, and as the position coordinates of target image.
Specifically, when obtaining the position of target image, the finger of user's selection is got by image recognition technology first The photographic subjects in region are determined, then according to geometry far from the central point that can get target image, then according to central point Position coordinates in screen judge target image the location of in screen.
In track up pattern, an important problem is exactly how the position of target determines, passes through screen in the present invention Curtain shows position of the target image in screen in the form of coordinate system, with position coordinates.The screen shape of mobile terminal is general Close to rectangle, and then accurately the position of target image can be stated by the form of coordinate.And target image Due to being irregular in most cases, pass through the position coordinates using the coordinate of central point as target image.And The central point of target image can be counted according to the computational methods (central points of irregular geometric figures) of central point in geometrical relationship Obtain, other than using central point calculating position, can also according to the difference of actual conditions, using the forms such as boundary coordinate into Row calculates.The position of target image can be quantified by the form of coordinate, and facilitates subsequent calculating.
Further, step S20 according to the preset reference region in the position coordinates and screen of target image it is opposite away from From, judge whether to flexible screen carry out shape control further include:
Step S23 determines the range in the preset reference region in screen according to target image;
Step S24 judges whether to carry out deformation to flexible screen according to the position relationship of target image and preset reference region Control.
Specifically, the range in the preset reference region in screen is determined according to the size of target image so that preset reference The range in region can match with target image.After the range for determining preset reference region, according to target image and preset The position relationship of reference zone, for example, target image in preset reference region, on the left of preset reference region, the positions such as right side Corresponding deformation occurs for relationship, control flexible screen.
After target image is determined, then the range that preset reference region is determined according to target image, target figure are needed The volume of picture is bigger, and (volume herein is not necessarily referring to the actual volume size of photographic subjects, but target figure displayed in the screen As the accounting size in screen), then the range in corresponding preset reference region is smaller, so as to ensure that target image can It is in the preset reference region of screen as far as possible so that the effect of track up is more preferable.And preset reference region is being determined Range after, may determine that it is the flexible shape of control according to the correspondence in the position coordinates of target image and preset reference region The direction of change and deformation.
Further, step S23 determines that the range in the preset reference region in screen includes according to target image:
Step S231 obtains target image and occupies ratio in screen, occupies ratio according to described to correspond to setting default The range of reference zone.
Specifically, the size in preset reference region is relevant with the size of target image, and the volume of target image is bigger, Then the range in corresponding preset reference region is smaller.
It is that the position coordinates of the central point of the target image used are counted since the present invention is in calculating position relationship Calculate, thus target image volume (image volume, not the actual volume of object) it is bigger when, the range in preset reference region It is corresponding then smaller, so as to ensure that target image is in screen ranges so that user can obtain preferable shooting effect.
Further, step S24 judges whether according to the position relationship in target image and preset reference region to flexible screen Carry out shape control the step of include:
Step S241, when detecting that target image is located in the range of preset reference region, then judgement need not be to soft Property screen carry out shape control;
Step S242 then judges to need to flexibility when detecting that target image is located at outside the range in preset reference region Screen carries out shape control.
Specifically, when the position coordinates of target image are located in the range of preset reference region, then show target image It is currently in the central part of screen, there is no need to control flexible screen deformation.And works as and detect that the position coordinates of target image exist When except preset reference region, then need opposite with preset reference region to adjust target image by controlling flexible screen deformation Position.
Judging whether that it when carrying out track up, is the coordinate by target image by controlling flexible screen deformation to need What the position relationship in position and preset reference region judged.Pass through the position of the position coordinates and preset reference region of target image Relationship (i.e. the position of target image be in the preset reference region or preset reference region outside), can be simple and quick sentence It is disconnected whether to need to control flexible screen deformation so that track up can quickly obtain knot when being made to determine whether to need deformation By, and responded.
Further, with reference to Fig. 4, step S30 is determined according to the position coordinates of target image in another embodiment of the present invention Deformation parameter, and corresponding shape control is carried out before to flexible screen and includes:
Step S31 detects the force part of flexible screen by sensor, according to the location determination flexible screen of force part Deformation region.
Specifically, before controlling flexible screen deformation, it is necessary first to detect flexible screen force part (such as user hold When mobile terminal, the position grade force part of hand gripping), the position of deformation can be different according to the difference of force part.
When shooting, often hand-held or other modes fixed cellular terminal, is being imaged user, therefore mobile whole End (can detect that the external force such as pressure may determine that the forced section of mobile terminal there are one force part by sensor Position), and under tracing mode, the deformation position of control flexible screen deformation then (must avoid the shape of flexible screen except force part Become and flexible screen is fixed to user cause harmful effect, can not effectively fix or loosen to causing flexible screen and the accident feelings such as fall The generation of condition).The purpose of controlling the deformation of flexible screen simultaneously is to change the shooting angle of camera, therefore camera must be positioned at shape Become region in, therefore deformation region needs be changed according to the difference of stress area, use so that flexible screen deformations Position is more scientific and effective, different schematic diagram such as Fig. 5 and Fig. 6 influenced caused by deformation region of stress area.
Further, step S31 detects the force part of flexible screen by sensor, according to the location determination of force part Include after the deformation region of flexible screen:
Step S32, root obtains coordinate vector according to the coordinate of target image, and determines deformation according to the direction of coordinate vector Direction;
Step S33, control flexible screen carry out deformation in the deformation direction.
Specifically, when control flexible screen carries out deformation, the position coordinates of target image are expressed in the form of vectors, and it is vectorial It is that tool is directive as vector, then deformation direction can be determined according to the vector of position coordinates, then controls flexible screen in shape It changes direction and deforms upon.
The factors such as the origin according to coordinate system, the vector that the position coordinates of combining target image are formed can determine flexible screen Deformation direction, such as when using screen center as coordinate origin, the direction of position coordinates is deformation direction, then in corresponding side Corresponding deformation (including bending, the deformation such as varicose) is carried out upwards, and deformation schematic diagram such as Fig. 7 changes camera to reach The purpose of shooting angle, the final track up effect realized to photographic subjects.
Further, step S33 control flexible screens include after the step of deformation direction carries out deformation:
Step S34 detects the deformation quantity of flexible screen, when deformation quantity is more than default deformation threshold value, stops deformation, and export Prompt message.
Specifically, in order to ensure that the normal use of flexible screen mobile terminal, track up pattern unconfined can not be controlled Flexible screen processed deforms upon, and when the deformation quantity of flexible screen is more than default deformation threshold value, then needs to stop deformation, and by raising one's voice The equipment such as device, shock module export the prompt messages such as sound, vibrations to prompt user to pay attention to the deformation degree of flexible screen.
It, can be such as excessive in deformation degree with the normal use of effective guarantee user by the way that deformation threshold value flexible is arranged When, it may cause user that can not normally obtain the display content (the too big influence display effect of deformation degree) of flexible screen, while with The function of track shooting can not substitute user hand motion tracking completely, therefore when deformation degree is more than default deformation threshold value, lead to While crossing output prompt message call user's attention flexible screen deformation degree, the also manual track up mesh of call user's attention Mark.
The present invention also provides a kind of mobile terminals based on flexible screen control method.
Mobile terminal the present invention is based on flexible screen control method includes:Memory, processor and it is stored in the storage On device and the flexible screen control authoring program that can run on the processor, the flexible screen control program by the processor Flexible screen control method step as described above is realized when execution.
Wherein, the flexible screen control program of the prompt message run on the processor is performed realized method The each embodiment of flexible screen control method of the present invention is can refer to, details are not described herein.
In addition the embodiment of the present invention also proposes a kind of computer readable storage medium.
Flexible screen control program is stored on computer readable storage medium of the present invention, the flexible screen control program is located The step of reason device realizes flexible screen control method as described above when executing.
Wherein, the display program of the prompt message run on the processor is performed realized method and can refer to The each embodiment of flexible screen control method of the present invention, details are not described herein.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of flexible screen control method, which is characterized in that the flexible screen control method includes the following steps:
When receiving the control instruction of track up pattern unlatching, the feature letter for selecting photographic subjects is obtained by image recognition Breath, and obtain corresponding target image;
Determine position coordinates of the target image in screen, and according to the preset reference in the position coordinates and screen of target image The relative distance in region judges whether to carry out shape control to flexible screen;
When judgement judgement needs to carry out shape control to flexible screen, deformation parameter is determined according to the position coordinates of target image, And corresponding shape control is carried out to flexible screen.
2. flexible screen control method as described in claim 1, which is characterized in that position of the determining target image in screen The step of setting coordinate include:
The center of target image is calculated according to geometrical center point calculating method;
Coordinate of the center in screen is obtained, and as the position coordinates of target image.
3. flexible screen control method as described in claim 1, which is characterized in that the position coordinates according to target image with The relative distance in the preset reference region in screen judges whether that the step of carrying out shape control to flexible screen includes:
The range in the preset reference region in screen is determined according to target image;
Judged whether to carry out shape control to flexible screen according to the position relationship of target image and preset reference region.
4. flexible screen control method as claimed in claim 3, which is characterized in that described to be determined in screen according to target image The step of range in preset reference region includes:
It obtains target image and occupies ratio in screen, according to the model for occupying ratio and corresponding to setting preset reference region It encloses.
5. flexible screen control method as claimed in claim 3, which is characterized in that described according to target image and preset reference area The position relationship in domain judges whether that the step of carrying out shape control to flexible screen includes:
When detecting that target image is located in the range of preset reference region, then judgement need not carry out deformation control to flexible screen System;
When detecting that target image is located at outside the range in preset reference region, then judgement needs to carry out deformation control to flexible screen System.
6. flexible screen control method as described in claim 1, which is characterized in that described true according to the position coordinates of target image Shape variable element, and includes before the step of carrying out corresponding shape control to flexible screen:
The force part that flexible screen is detected by sensor, according to the deformation region of the location determination flexible screen of force part.
7. flexible screen control method as claimed in claim 6, which is characterized in that it is described by sensor detect flexible screen by Power position includes according to after the step of the deformation region of the location determination flexible screen of force part:
Coordinate vector is obtained according to the coordinate of target image, and deformation direction is determined according to the direction of coordinate vector;
It controls flexible screen and carries out deformation in the deformation direction.
8. flexible screen control method as claimed in claim 7, which is characterized in that the control flexible screen is in the deformation direction Include after the step of carrying out deformation:
The deformation quantity for detecting flexible screen stops deformation, and export prompt message when deformation quantity is more than default deformation threshold value.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes:Memory, processor and it is stored in the storage On device and the flexible screen control program that can run on the processor, flexible screen control program are executed by the processor The step of Shi Shixian such as flexible screen control methods described in any item of the claim 1 to 8.
10. a kind of computer readable storage medium, which is characterized in that be stored with flexible screen on the computer readable storage medium Program is controlled, the flexible screen control program realizes such as flexibility described in any item of the claim 1 to 8 when being executed by processor The step of shielding control method.
CN201810100775.4A 2018-01-31 2018-01-31 Flexible screen control method, mobile terminal and readable storage medium Active CN108566510B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810100775.4A CN108566510B (en) 2018-01-31 2018-01-31 Flexible screen control method, mobile terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810100775.4A CN108566510B (en) 2018-01-31 2018-01-31 Flexible screen control method, mobile terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN108566510A true CN108566510A (en) 2018-09-21
CN108566510B CN108566510B (en) 2020-08-21

Family

ID=63530131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810100775.4A Active CN108566510B (en) 2018-01-31 2018-01-31 Flexible screen control method, mobile terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN108566510B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110448912A (en) * 2019-07-31 2019-11-15 维沃移动通信有限公司 Terminal control method and terminal device
CN110687967A (en) * 2019-09-24 2020-01-14 联想(北京)有限公司 Electronic apparatus and control method
CN111028686A (en) * 2019-12-13 2020-04-17 维沃移动通信有限公司 Image processing method, image processing apparatus, electronic device, and medium
CN111246101A (en) * 2020-01-22 2020-06-05 维沃移动通信有限公司 Photographing method and electronic equipment
CN111953868A (en) * 2019-05-15 2020-11-17 华硕电脑股份有限公司 Electronic device
US11240357B2 (en) 2019-05-15 2022-02-01 Asustek Computer Inc. Electronic device
US11375125B2 (en) 2019-05-15 2022-06-28 Asustek Computer Inc. Electronic device
US11477385B2 (en) 2019-05-15 2022-10-18 Asustek Computer Inc. Electronic device with rotatable camera for protecting privacy
US11546451B2 (en) 2019-05-15 2023-01-03 Asustek Computer Inc. Electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130176248A1 (en) * 2012-01-06 2013-07-11 Samsung Electronics Co., Ltd. Apparatus and method for displaying screen on portable device having flexible display
CN104375713A (en) * 2013-08-14 2015-02-25 华为终端有限公司 Data processing method and mobile device
CN106791450A (en) * 2017-02-28 2017-05-31 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN107102803A (en) * 2017-04-27 2017-08-29 努比亚技术有限公司 A kind of image display method, equipment and computer-readable recording medium
CN107577401A (en) * 2017-08-31 2018-01-12 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN107643847A (en) * 2017-08-31 2018-01-30 维沃移动通信有限公司 A kind of message display method and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130176248A1 (en) * 2012-01-06 2013-07-11 Samsung Electronics Co., Ltd. Apparatus and method for displaying screen on portable device having flexible display
CN104375713A (en) * 2013-08-14 2015-02-25 华为终端有限公司 Data processing method and mobile device
CN106791450A (en) * 2017-02-28 2017-05-31 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN107102803A (en) * 2017-04-27 2017-08-29 努比亚技术有限公司 A kind of image display method, equipment and computer-readable recording medium
CN107577401A (en) * 2017-08-31 2018-01-12 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN107643847A (en) * 2017-08-31 2018-01-30 维沃移动通信有限公司 A kind of message display method and mobile terminal

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111953868A (en) * 2019-05-15 2020-11-17 华硕电脑股份有限公司 Electronic device
US11240357B2 (en) 2019-05-15 2022-02-01 Asustek Computer Inc. Electronic device
US11375125B2 (en) 2019-05-15 2022-06-28 Asustek Computer Inc. Electronic device
US11477385B2 (en) 2019-05-15 2022-10-18 Asustek Computer Inc. Electronic device with rotatable camera for protecting privacy
US11546451B2 (en) 2019-05-15 2023-01-03 Asustek Computer Inc. Electronic device
CN110448912A (en) * 2019-07-31 2019-11-15 维沃移动通信有限公司 Terminal control method and terminal device
CN110687967A (en) * 2019-09-24 2020-01-14 联想(北京)有限公司 Electronic apparatus and control method
CN111028686A (en) * 2019-12-13 2020-04-17 维沃移动通信有限公司 Image processing method, image processing apparatus, electronic device, and medium
CN111246101A (en) * 2020-01-22 2020-06-05 维沃移动通信有限公司 Photographing method and electronic equipment
CN111246101B (en) * 2020-01-22 2023-04-18 维沃移动通信有限公司 Photographing method and electronic equipment

Also Published As

Publication number Publication date
CN108566510B (en) 2020-08-21

Similar Documents

Publication Publication Date Title
CN108566510A (en) Flexible screen control method, mobile terminal and readable storage medium storing program for executing
CN108495056A (en) Photographic method, mobile terminal and computer readable storage medium
CN108566479A (en) screen state control method, mobile terminal and computer readable storage medium
CN107820014A (en) A kind of image pickup method, mobile terminal and computer-readable storage medium
CN108536419A (en) A kind of game volume control method, equipment and computer readable storage medium
CN108540358A (en) Control method, mobile terminal and the computer readable storage medium of household appliance
CN109453523A (en) A kind of game picture display processing method, terminal and computer readable storage medium
CN108172161A (en) Display methods, mobile terminal and computer readable storage medium based on flexible screen
CN108234766A (en) Microphone switching method, mobile terminal and computer readable storage medium
CN109391853A (en) Barrage display methods, device, mobile terminal and readable storage medium storing program for executing
CN109218810A (en) A kind of video record parameter regulation method, equipment and computer readable storage medium
CN108512991A (en) A kind of based reminding method, mobile terminal and computer readable storage medium
CN109672822A (en) A kind of method for processing video frequency of mobile terminal, mobile terminal and storage medium
CN108363455A (en) Working mode switching method, mobile terminal and computer readable storage medium
CN108055463A (en) Image processing method, terminal and storage medium
CN108958936A (en) Application programe switch-over method, mobile terminal and computer readable storage medium
CN108600513A (en) A kind of record screen control method, equipment and computer readable storage medium
CN108536383A (en) A kind of game control method, equipment and computer readable storage medium
CN108594935A (en) A kind of wearable device control method, equipment and computer readable storage medium
CN108234761A (en) Adjusting method, device and computer readable storage medium under radio frequency interference
CN108226880A (en) Ultrasonic distance detects anti-tampering method, apparatus and storage medium
CN108650399A (en) A kind of volume adjusting method, mobile terminal and computer readable storage medium
CN110086993A (en) Image processing method, device, mobile terminal and computer readable storage medium
CN109890072A (en) Saving power for terminal control method, device, mobile terminal and readable storage medium storing program for executing
CN108769534A (en) A kind of focalization method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant