CN107102801A - Terminal screen spinning solution and device - Google Patents

Terminal screen spinning solution and device Download PDF

Info

Publication number
CN107102801A
CN107102801A CN201710193481.6A CN201710193481A CN107102801A CN 107102801 A CN107102801 A CN 107102801A CN 201710193481 A CN201710193481 A CN 201710193481A CN 107102801 A CN107102801 A CN 107102801A
Authority
CN
China
Prior art keywords
facial image
terminal
terminal screen
active user
needing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710193481.6A
Other languages
Chinese (zh)
Inventor
熊裕聪
潘双全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710193481.6A priority Critical patent/CN107102801A/en
Publication of CN107102801A publication Critical patent/CN107102801A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Abstract

The disclosure is directed to terminal screen spinning solution and device.It is related to intelligent terminal technical field.This method includes:When the laying state for monitoring terminal changes, judge whether the facial image for needing to obtain active user, when needing to obtain the facial image of active user, recognition of face is carried out to facial image, the angular relationship of eyes line and terminal screen current picture display direction in facial image is obtained, triggering terminal screen rotation is determined whether according to angular relationship.The above-mentioned technical proposal that the embodiment of the present disclosure is provided, can be when laying state changes, not triggering roller blind operation immediately, but by obtaining the angular relationship of eyes line and terminal screen current picture display direction in facial image, to determine whether to trigger roller blind, the problem of so as to avoid user's terminal when being not intended to roller blind automatic roller blind, improve the usage experience of user.

Description

Terminal screen spinning solution and device
Technical field
This disclosure relates to intelligent terminal technical field, more particularly to terminal screen spinning solution and device.
Background technology
The terminal devices such as mobile phone pass through carried acceleration transducer to perceive the posture state of mobile phone.It is solid for one For fixed reference frame, the metastable data of acceleration transducer can be used to calculate the current posture letter of mobile phone Breath, such as the direction of mobile phone screen, mobile phone is in horizontality either plumbness etc..
The stable data of acceleration transducer can detect the characteristic of mobile phone posture, be generally used in mobile phone as inspection The method for surveying the automatic roller blind of mobile phone, when mobile phone is horizontality relative to ground, screen display can be reported according to acceleration Data are changed into corresponding transverse screen dispaly state, and when mobile phone recovers perpendicular to the state on ground, screen display can be returned again The state of portrait layout is shown.This mobile phone attitude detection realized by acceleration transducer and then make screen display in difference Direction on function be called the function of automatic roller blind.
The existing automatic roller blind function of mobile phone operating system is realized only by using acceleration transducer.By accelerating Degree sensing data calculates the angle between the plane where the screen of mobile phone and acceleration of gravity direction, come determine mobile phone this When attitude information, further determine that mobile phone under horizontality, displays whether that switching to transverse screen show, or ought vertical shape be switched to During state, if recover portrait layout and show.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of terminal screen spinning solution and device.It is described Technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure there is provided a kind of terminal screen spinning solution, including:
When the laying state for monitoring terminal changes, judge whether the facial image for needing to obtain active user;
When needing to obtain the facial image of active user, recognition of face is carried out to the facial image, the people is obtained The angular relationship of eyes line and the terminal screen current picture display direction in face image;
Determined whether to trigger the terminal screen rotation according to the angular relationship.
Alternatively, it is described when the laying state for monitoring terminal changes, judge whether to need to obtain active user Facial image, it may include:
When the laying state for monitoring the terminal is become by vertical state turns to horizontality, it is determined that needing to obtain current The facial image of user.
Alternatively, it is described when the laying state for monitoring terminal changes, judge whether to need to obtain active user Facial image, it may include:
When the laying state for monitoring the terminal is become by horizontality turns to vertical state, work as it is determined that need not obtain The facial image of preceding user.
It is alternatively, described to determine whether that triggering the terminal screen rotates according to the angular relationship, it may include:
When the angle between eyes line in the facial image and the terminal screen current picture display direction is less than During predetermined threshold value, forbid triggering the terminal screen rotation;
When the angle between eyes line in the facial image and the terminal screen current picture display direction is more than Or during equal to the predetermined threshold value, trigger the terminal screen rotation.
Alternatively, it is described when the laying state for monitoring terminal changes, judge whether to need to obtain active user Facial image, it may include:
When it is determined that needing to obtain the facial image of active user, the camera device for triggering the terminal enters to active user Row is shot, and obtains the facial image of active user.
According to the second aspect of the embodiment of the present disclosure there is provided a kind of terminal screen rotating device, including:
Judge module, when being configured as monitoring that the laying state of terminal changes, judges whether to need to obtain to work as The facial image of preceding user;
Identification module, when being configured as needing to obtain the facial image of active user, pedestrian is entered to the facial image Face is recognized, obtains the angular relationship of eyes line and the terminal screen current picture display direction in the facial image;
Determining module, is configured as being determined whether to trigger the terminal screen rotation according to the angular relationship.
Alternatively, the judge module, it may include:
First determination sub-module, is configured as monitoring that the laying state of the terminal turns to level by vertical state change During state, it is determined that needing to obtain the facial image of active user.
Alternatively, the judge module may also include:
Second determination sub-module, is configured as monitoring that the laying state of the terminal is turned to vertically by horizontality change During state, it is determined that the facial image of active user need not be obtained.
Alternatively, the determining module, it may include:
Forbid submodule, be configured as eyes line in the facial image and shown with the terminal screen current picture When angle between direction is less than predetermined threshold value, forbid triggering the terminal screen rotation;
Submodule is triggered, eyes line in the facial image is configured as and is shown with the terminal screen current picture When angle between direction is more than or equal to the predetermined threshold value, the terminal screen rotation is triggered.
Alternatively, the judge module, it may include:
Shooting submodule, when being configured as determining to need to obtain the facial image of active user, triggers the terminal Camera device is shot to active user, obtains the facial image of active user.
According to the third aspect of the embodiment of the present disclosure there is provided a kind of terminal screen rotating device, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
When the laying state for monitoring terminal changes, judge whether the facial image for needing to obtain active user;
When needing to obtain the facial image of active user, recognition of face is carried out to the facial image, the people is obtained The angular relationship of eyes line and the terminal screen current picture display direction in face image;
Determined whether to trigger the terminal screen rotation according to the angular relationship.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The technical scheme provided by this disclosed embodiment, by when the laying state for monitoring terminal changes, sentencing The disconnected facial image for whether needing to obtain active user, when needing to obtain the facial image of active user, enters to facial image Row recognition of face, obtains the angular relationship of eyes line and terminal screen current picture display direction in facial image, according to angle Degree relation determines whether triggering terminal screen rotation.So as to which when laying state changes, triggering roller blind is not operated immediately, and It is the angular relationship by obtaining eyes line and terminal screen current picture display direction in facial image, to determine whether to touch Roller blind is sent out, the problem of so as to avoid user's terminal when being not intended to roller blind automatic roller blind, the usage experience of user is improved.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of terminal screen spinning solution according to an exemplary embodiment.
Fig. 2 is the flow chart of step S103 in a kind of terminal screen spinning solution according to an exemplary embodiment.
Fig. 3 is a kind of block diagram of terminal screen rotating device according to an exemplary embodiment.
Fig. 4 is the block diagram of determining module 33 in a kind of terminal screen rotating device according to an exemplary embodiment.
Fig. 5 is the block diagram suitable for terminal screen rotating device according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
When user's handheld terminal such as mobile phone, have under certain situation and mobile phone occur in horizontality, use simultaneously Person is also at the situation of horizontality, such as, if someone is lain low using mobile phone, when user leans to one side, at this moment, mobile phone is relative Horizontality is in ground, display can be set to transverse screen state by automatic roller blind function, but user is not intended to use Transverse screen status display, but still portrait layout is shown.
Single judges that mobile phone state carries out roller blind and can sometimes influence the use of user by acceleration transducer Impression, in the case where some users are not expected to occur roller blind, carries out roller blind operation, so as to bring bad usage experience. To overcome above mentioned problem, the embodiment of the present disclosure provides a kind of terminal screen spinning solution, and it increases is carried out to the face of user Recognition result strengthens roller blind condition with reference to acceleration transducer as another precondition for determining whether progress roller blind Judge, be not intended to carry out roller blind so as to solve user in some cases, but the problem of triggering roller blind.
Fig. 1 is a kind of terminal screen spinning solution shown in the embodiment of the present disclosure, has display screen for mobile phone, PAD etc. The terminal device of curtain.As shown in figure 1, the method comprising the steps of S101-S103:
In step S101, when the laying state for monitoring terminal changes, judge whether to need to obtain current use The facial image at family.
In step s 102, when needing to obtain the facial image of active user, recognition of face is carried out to facial image, obtained Obtain the angular relationship of eyes line and terminal screen current picture display direction in facial image.
In step s 103, triggering terminal screen rotation is determined whether according to angular relationship.
The above method of the embodiment of the present disclosure, by when the laying state for monitoring terminal changes, judging whether The facial image of acquisition active user is needed, when needing to obtain the facial image of active user, face is carried out to facial image Identification, obtains the angular relationship of eyes line and terminal screen current picture display direction in facial image, according to angular relationship Determine whether triggering terminal screen rotation.So as to which when laying state changes, triggering roller blind is not operated immediately, but is passed through The angular relationship of eyes line and terminal screen current picture display direction in facial image is obtained, to determine whether that triggering turns Screen, the problem of so as to avoid user's terminal when being not intended to roller blind automatic roller blind, improves the usage experience of user.
It should be added that, step S101 may be embodied as following steps A:
Step A, when the laying state for monitoring terminal is become by vertical state turns to horizontality, works as it is determined that needing to obtain The facial image of preceding user.
In the present embodiment, when the laying state for monitoring terminal is become by vertical state turns to horizontality, now there is two The situation of kind, a kind of situation is that user needs to see video, now needs transverse screen to watch;Another situation is that user's recumbency sees the mobile phone When, now it is not intended to use transverse screen status display, but still keep portrait layout to show.At this time, it may be necessary to which it is which to determine whether The situation of kind.Therefore the facial image of acquisition active user is needed.So as to accurately understand user view, make touching for automatic roller blind Clockwork spring part is more reasonable, it is to avoid the automatic roller blind when being not intended to roller blind.
It should be added that, step S101 can also be embodied as following steps B:
Step B, when the laying state for monitoring terminal is become by horizontality turns to vertical state, it is determined that need not obtain The facial image of active user.
In the present embodiment when the laying state for monitoring terminal is become by horizontality turns to vertical state, it is not necessary to obtain The facial image of active user, but directly calculated according to the data of acceleration transducer and obtain currently whether needing triggering to switch to The action that portrait layout is shown, so as to reduce the process step of terminal.
Requiring supplementation with the second point of explanation is, as shown in Fig. 2 step S103 may be implemented as step S1031- S1032:
In step S1031, the folder between eyes line in facial image and terminal screen current picture display direction When angle is less than predetermined threshold value, forbid triggering terminal screen rotation.
In step S1032, the folder between eyes line in facial image and terminal screen current picture display direction When angle is more than or equal to predetermined threshold value, triggering terminal screen rotation.
In the present embodiment, when the angle between eyes line in facial image and terminal screen current picture display direction is small When predetermined threshold value, forbid triggering terminal screen rotation, when angle therebetween is more than or equal to predetermined threshold value, triggering Terminal screen rotates.Eyes identification technology and acceleration transducer in recognition of face is merged, strengthens automatic roller blind Control method, lifts Consumer's Experience.
Require supplementation with explanation is thirdly that step S101 can also be embodied as following steps C:
Step C, when it is determined that needing to obtain the facial image of active user, the camera device of triggering terminal is to active user Shot, obtain the facial image of active user.
The camera device of terminal can be for example front camera, and user is shot using front camera, obtain The facial image of active user.So as to the convenient facial image for obtaining active user, and then carry out recognition of face.
Following is disclosure device embodiment, can be used for performing method of disclosure embodiment.It is real for disclosure device The details not disclosed in example is applied, method of disclosure embodiment is refer to.
Fig. 3 is a kind of block diagram of terminal screen rotating device according to an exemplary embodiment, as shown in figure 3, should Terminal screen rotating device can include but is not limited to judge module 31, identification module 32 and determining module 33, wherein:
Judge module 31, when being configured as monitoring that the laying state of terminal changes, judges whether to need to obtain The facial image of active user;
Identification module 32, when being configured as needing to obtain the facial image of active user, face is carried out to facial image Identification, obtains the angular relationship of eyes line and terminal screen current picture display direction in facial image;
Determining module 33, is configured as determining whether triggering terminal screen rotation according to angular relationship.
Alternatively, judge module 31, it may include:
First determination sub-module, is configured as monitoring that the laying state of terminal turns to horizontality by vertical state change When, it is determined that needing to obtain the facial image of active user.
Alternatively, judge module 31 may also include:
Second determination sub-module, is configured as monitoring that the laying state of terminal turns to vertical state by horizontality change When, it is determined that the facial image of active user need not be obtained.
Alternatively, as shown in figure 4, determining module 33, it may include:
Forbid submodule 331, be configured as eyes line and terminal screen current picture display direction in facial image Between angle be less than predetermined threshold value when, forbid triggering terminal screen rotation;
Submodule 332 is triggered, eyes line and terminal screen current picture display direction in facial image is configured as Between angle be more than or equal to predetermined threshold value when, triggering terminal screen rotation.
Alternatively, judge module 31, it may include:
Shooting submodule, when being configured as determining to need to obtain the facial image of active user, the shooting of triggering terminal Device is shot to active user, obtains the facial image of active user.
The said apparatus of the embodiment of the present disclosure, by when the laying state for monitoring terminal changes, judging whether The facial image of acquisition active user is needed, when needing to obtain the facial image of active user, face is carried out to facial image Identification, obtains the angular relationship of eyes line and terminal screen current picture display direction in facial image, according to angular relationship Determine whether triggering terminal screen rotation.So as to which when laying state changes, triggering roller blind is not operated immediately, but is passed through The angular relationship of eyes line and terminal screen current picture display direction in facial image is obtained, to determine whether that triggering turns Screen, the problem of so as to avoid user's terminal when being not intended to roller blind automatic roller blind, improves the usage experience of user.
The embodiment of the present disclosure also provides a kind of terminal screen rotating device, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
When the laying state for monitoring terminal changes, judge whether the facial image for needing to obtain active user;
When needing to obtain the facial image of active user, recognition of face is carried out to the facial image, the people is obtained The angular relationship of eyes line and the terminal screen current picture display direction in face image;
Determined whether to trigger the terminal screen rotation according to the angular relationship.
Above-mentioned processor is additionally configured to:
When the laying state for monitoring the terminal is become by vertical state turns to horizontality, it is determined that needing to obtain current The facial image of user.
Above-mentioned processor is additionally configured to:
When the laying state for monitoring the terminal is become by horizontality turns to vertical state, work as it is determined that need not obtain The facial image of preceding user.
Above-mentioned processor is additionally configured to:
When the angle between eyes line in the facial image and the terminal screen current picture display direction is less than During predetermined threshold value, forbid triggering the terminal screen rotation;
When the angle between eyes line in the facial image and the terminal screen current picture display direction is more than Or during equal to the predetermined threshold value, trigger the terminal screen rotation.
Above-mentioned processor is additionally configured to:
When it is determined that needing to obtain the facial image of active user, the camera device for triggering the terminal enters to active user Row is shot, and obtains the facial image of active user.
Fig. 5 is a kind of block diagram for terminal screen rotating device according to an exemplary embodiment, and the device is fitted For terminal device.For example, device 1200 can be mobile phone, computer, digital broadcast terminal, messaging devices, trip Play console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Device 1200 can include following one or more assemblies:Processing assembly 1202, memory 1204, power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of input/output (I/O), sensor cluster 1214, and Communication component 1216.
The integrated operation of the usual control device 1200 of processing assembly 1202, such as with display, call, data communication, The camera operation operation associated with record operation.Processing assembly 1202 can include one or more processors 1220 to perform Instruction, to complete all or part of step of above-mentioned method.In addition, processing assembly 1202 can include one or more moulds Block, is easy to the interaction between processing assembly 1202 and other assemblies.For example, processing assembly 1202 can include multi-media module, To facilitate the interaction between multimedia groupware 1208 and processing assembly 1202.
Memory 1204 is configured as storing various types of data supporting the operation in device 1200.These data Example includes the instruction of any application program or method for being used to operate on device 1200, contact data, telephone book data, Message, picture, video etc..Memory 1204 can by any kind of volatibility or non-volatile memory device or they Combination realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 1206 provides electric power for the various assemblies of device 1200.Power supply module 1206 can include power management System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 1200.
Multimedia groupware 1208 is included in the screen of one output interface of offer between described device 1200 and user. In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch and passed Sensor is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or slip be dynamic The border of work, but also the detection duration related to the touch or slide and pressure.In certain embodiments, it is many Media component 1208 includes a front camera and/or rear camera.When device 1200 is in operator scheme, mould is such as shot When formula or video mode, front camera and/or rear camera can receive the multi-medium data of outside.Each preposition shooting Head and rear camera can be a fixed optical lens systems or with focusing and optical zoom capabilities.
Audio-frequency assembly 1210 is configured as output and/or input audio signal.For example, audio-frequency assembly 1210 includes a wheat Gram wind (MIC), when device 1200 is in operator scheme, when such as call model, logging mode and speech recognition mode, microphone quilt It is configured to receive external audio signal.The audio signal received can be further stored in memory 1204 or via communication Component 1216 is sent.In certain embodiments, audio-frequency assembly 1210 also includes a loudspeaker, for exports audio signal.
I/O interfaces 1212 are that interface, above-mentioned peripheral interface module are provided between processing assembly 1202 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor cluster 1214 includes one or more sensors, and the state for providing various aspects for device 1200 is commented Estimate.For example, sensor cluster 1214 can detect opening/closed mode of device 1200, the relative positioning of component, such as institute Display and keypad that component is device 1200 are stated, sensor cluster 1214 can be with detection means 1200 or device 1,200 1 The position of individual component changes, the existence or non-existence that user contacts with device 1200, the orientation of device 1200 or acceleration/deceleration and dress Put 1200 temperature change.Sensor cluster 1214 can include proximity transducer, be configured in not any physics The presence of object nearby is detected during contact.Sensor cluster 1214 can also include optical sensor, such as CMOS or ccd image sensing Device, for being used in imaging applications.In certain embodiments, the sensor cluster 1214 can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other equipment.Dress The wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof can be accessed by putting 1200.It is exemplary at one In embodiment, communication component 1216 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1216 also includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1200 can be by one or more application specific integrated circuits (ASIC), numeral Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 1204 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 1220 of device 1200.Example Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by said apparatus 1200 During computing device so that said apparatus 1200 is able to carry out a kind of terminal screen spinning solution, including:
When the laying state for monitoring terminal changes, judge whether the facial image for needing to obtain active user;
When needing to obtain the facial image of active user, recognition of face is carried out to the facial image, the people is obtained The angular relationship of eyes line and the terminal screen current picture display direction in face image;
Determined whether to trigger the terminal screen rotation according to the angular relationship.
Alternatively, it is described when the laying state for monitoring terminal changes, judge whether to need to obtain active user Facial image, it may include:
When the laying state for monitoring the terminal is become by vertical state turns to horizontality, it is determined that needing to obtain current The facial image of user.
Alternatively, it is described when the laying state for monitoring terminal changes, judge whether to need to obtain active user Facial image, it may include:
When the laying state for monitoring the terminal is become by horizontality turns to vertical state, work as it is determined that need not obtain The facial image of preceding user.
It is alternatively, described to determine whether that triggering the terminal screen rotates according to the angular relationship, it may include:
When the angle between eyes line in the facial image and the terminal screen current picture display direction is less than During predetermined threshold value, forbid triggering the terminal screen rotation;
When the angle between eyes line in the facial image and the terminal screen current picture display direction is more than Or during equal to the predetermined threshold value, trigger the terminal screen rotation.
Alternatively, it is described when the laying state for monitoring terminal changes, judge whether to need to obtain active user Facial image, it may include:
When it is determined that needing to obtain the facial image of active user, the camera device for triggering the terminal enters to active user Row is shot, and obtains the facial image of active user.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. a kind of terminal screen spinning solution, it is characterised in that including:
When the laying state for monitoring terminal changes, judge whether the facial image for needing to obtain active user;
When needing to obtain the facial image of active user, recognition of face is carried out to the facial image, the face figure is obtained The angular relationship of eyes line and the terminal screen current picture display direction as in;
Determined whether to trigger the terminal screen rotation according to the angular relationship.
2. according to the method described in claim 1, it is characterised in that described when the laying state for monitoring terminal changes When, judge whether the facial image for needing to obtain active user, including:
When the laying state for monitoring the terminal is become by vertical state turns to horizontality, it is determined that needing to obtain active user Facial image.
3. according to the method described in claim 1, it is characterised in that described when the laying state for monitoring terminal changes When, judge whether the facial image for needing to obtain active user, including:
When the laying state for monitoring the terminal is become by horizontality turns to vertical state, it is determined that current use need not be obtained The facial image at family.
4. according to the method described in claim 1, it is characterised in that described according to the angular relationship determines whether triggering Terminal screen rotates, including:
Preset when the angle between eyes line in the facial image and the terminal screen current picture display direction is less than During threshold value, forbid triggering the terminal screen rotation;
Be more than when the angle between eyes line in the facial image and the terminal screen current picture display direction or During equal to the predetermined threshold value, the terminal screen rotation is triggered.
5. method according to claim 1 or 2, it is characterised in that described when the laying state for monitoring terminal becomes During change, judge whether the facial image for needing to obtain active user, including:
When it is determined that needing to obtain the facial image of active user, the camera device for triggering the terminal is clapped active user Take the photograph, obtain the facial image of active user.
6. a kind of terminal screen rotating device, it is characterised in that including:
Judge module, when being configured as monitoring that the laying state of terminal changes, judges whether to need to obtain current use The facial image at family;
Identification module, when being configured as needing to obtain the facial image of active user, face knowledge is carried out to the facial image Not, the angular relationship of eyes line and the terminal screen current picture display direction in the facial image is obtained;
Determining module, is configured as being determined whether to trigger the terminal screen rotation according to the angular relationship.
7. device according to claim 6, it is characterised in that the judge module, including:
First determination sub-module, is configured as monitoring that the laying state of the terminal turns to horizontality by vertical state change When, it is determined that needing to obtain the facial image of active user.
8. device according to claim 6, it is characterised in that the judge module also includes:
Second determination sub-module, is configured as monitoring that the laying state of the terminal turns to vertical state by horizontality change When, it is determined that the facial image of active user need not be obtained.
9. device according to claim 6, it is characterised in that the determining module, including:
Forbid submodule, be configured as eyes line and the terminal screen current picture display direction in the facial image Between angle when being less than predetermined threshold value, forbid triggering the terminal screen rotation;
Submodule is triggered, eyes line and the terminal screen current picture display direction in the facial image is configured as Between angle when being more than or equal to the predetermined threshold value, trigger terminal screen rotation.
10. the device according to claim 6 or 7, it is characterised in that the judge module, including:
Shooting submodule, when being configured as determining to need to obtain the facial image of active user, triggers the shooting of the terminal Device is shot to active user, obtains the facial image of active user.
11. a kind of terminal screen rotating device, it is characterised in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
When the laying state for monitoring terminal changes, judge whether the facial image for needing to obtain active user;
When needing to obtain the facial image of active user, recognition of face is carried out to the facial image, the face figure is obtained The angular relationship of eyes line and the terminal screen current picture display direction as in;
Determined whether to trigger the terminal screen rotation according to the angular relationship.
CN201710193481.6A 2017-03-28 2017-03-28 Terminal screen spinning solution and device Pending CN107102801A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710193481.6A CN107102801A (en) 2017-03-28 2017-03-28 Terminal screen spinning solution and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710193481.6A CN107102801A (en) 2017-03-28 2017-03-28 Terminal screen spinning solution and device

Publications (1)

Publication Number Publication Date
CN107102801A true CN107102801A (en) 2017-08-29

Family

ID=59675757

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710193481.6A Pending CN107102801A (en) 2017-03-28 2017-03-28 Terminal screen spinning solution and device

Country Status (1)

Country Link
CN (1) CN107102801A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108540718A (en) * 2018-04-08 2018-09-14 Oppo广东移动通信有限公司 Image pickup method, device, mobile terminal and storage medium
CN111464698A (en) * 2020-04-01 2020-07-28 北京字节跳动网络技术有限公司 Method, device, terminal and storage medium for controlling electronic equipment
CN111885265A (en) * 2020-07-31 2020-11-03 Oppo广东移动通信有限公司 Screen interface adjusting method and related device
CN111880710A (en) * 2020-07-31 2020-11-03 Oppo广东移动通信有限公司 Screen rotation method and related product
CN112379778A (en) * 2020-11-24 2021-02-19 惠州Tcl移动通信有限公司 Display adjusting method and device, storage medium and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130234927A1 (en) * 2012-03-08 2013-09-12 Samsung Electronics Co., Ltd Electronic device for measuring angle of face and rotating screen thereof and method thereof
CN103412647A (en) * 2013-08-13 2013-11-27 广东欧珀移动通信有限公司 Face recognition page display control method and mobile terminal
CN103631467A (en) * 2012-08-20 2014-03-12 华为终端有限公司 Method for regulating display content and mobile terminal
CN106293303A (en) * 2015-05-12 2017-01-04 中兴通讯股份有限公司 The spinning solution of terminal screen display picture and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130234927A1 (en) * 2012-03-08 2013-09-12 Samsung Electronics Co., Ltd Electronic device for measuring angle of face and rotating screen thereof and method thereof
CN103631467A (en) * 2012-08-20 2014-03-12 华为终端有限公司 Method for regulating display content and mobile terminal
CN103412647A (en) * 2013-08-13 2013-11-27 广东欧珀移动通信有限公司 Face recognition page display control method and mobile terminal
CN106293303A (en) * 2015-05-12 2017-01-04 中兴通讯股份有限公司 The spinning solution of terminal screen display picture and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108540718A (en) * 2018-04-08 2018-09-14 Oppo广东移动通信有限公司 Image pickup method, device, mobile terminal and storage medium
CN111464698A (en) * 2020-04-01 2020-07-28 北京字节跳动网络技术有限公司 Method, device, terminal and storage medium for controlling electronic equipment
CN111885265A (en) * 2020-07-31 2020-11-03 Oppo广东移动通信有限公司 Screen interface adjusting method and related device
CN111880710A (en) * 2020-07-31 2020-11-03 Oppo广东移动通信有限公司 Screen rotation method and related product
CN111885265B (en) * 2020-07-31 2022-06-24 Oppo广东移动通信有限公司 Screen interface adjusting method and related device
CN112379778A (en) * 2020-11-24 2021-02-19 惠州Tcl移动通信有限公司 Display adjusting method and device, storage medium and terminal

Similar Documents

Publication Publication Date Title
CN106454336B (en) The method and device and terminal that detection terminal camera is blocked
CN106951884A (en) Gather method, device and the electronic equipment of fingerprint
CN107102801A (en) Terminal screen spinning solution and device
US10610152B2 (en) Sleep state detection method, apparatus and system
CN105204808B (en) Projective techniques, device and the terminal device of picture
CN104238912A (en) Application control method and application control device
CN104123075B (en) The method of control terminal and device
CN103995666A (en) Method and device for setting work mode
CN105678133A (en) Terminal unlocking method and device
CN106547663A (en) Button management method and device
CN104243829A (en) Self-shooting method and self-shooting device
CN104460185A (en) Automatic focusing method and device
CN105472157A (en) Method and device for monitoring terminal motion state
CN106201285A (en) Prevent power key by the method and device of false touch, electronic equipment
CN107515749A (en) Starting-up method, device and the electronic equipment of electronic equipment
CN107092359A (en) Virtual reality visual angle method for relocating, device and terminal
CN104020628A (en) Flash lamp prompting method and device thereof
CN105653165A (en) Method and device for regulating character display
CN104765163B (en) Display methods, device and the intelligent glasses of framing information
CN107566626A (en) Terminal state control method and device
CN105701245B (en) Picture recommendation method and device
CN107132983A (en) Split screen window operation method and device
CN106547456A (en) Terminal unit screen rotation method and device
CN106506810A (en) The method and apparatus of the use time of limiting terminal equipment
CN108962189A (en) Luminance regulating method and device

Legal Events

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

Application publication date: 20170829

RJ01 Rejection of invention patent application after publication