CN107682480A - A kind of control method of flip terminal, flip terminal and computer-readable medium - Google Patents

A kind of control method of flip terminal, flip terminal and computer-readable medium Download PDF

Info

Publication number
CN107682480A
CN107682480A CN201710889218.0A CN201710889218A CN107682480A CN 107682480 A CN107682480 A CN 107682480A CN 201710889218 A CN201710889218 A CN 201710889218A CN 107682480 A CN107682480 A CN 107682480A
Authority
CN
China
Prior art keywords
upper lid
lower cover
lid
target object
flip terminal
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.)
Withdrawn
Application number
CN201710889218.0A
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201710889218.0A priority Critical patent/CN107682480A/en
Publication of CN107682480A publication Critical patent/CN107682480A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0208Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
    • H04M1/0214Foldable telephones, i.e. with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • H04M1/0216Foldable in one direction, i.e. using a one degree of freedom hinge
    • 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/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0241Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings using relative motion of the body parts to change the operational status of the telephone set, e.g. switching on/off, answering incoming call
    • H04M1/0245Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings using relative motion of the body parts to change the operational status of the telephone set, e.g. switching on/off, answering incoming call using open/close detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of control method of flip terminal, flip terminal and computer-readable medium, wherein this method includes:If detecting, closing lid operates, and obtains the locomotion speed value of the upper lid;If the locomotion speed value is more than or equal to default movement velocity threshold value, detects and whether there is target object between the upper lid and the lower cover;If target object be present between the upper lid and the lower cover, the upper lid stop motion is controlled.The embodiment of the present invention is by that when target object be present between lid and lower cover on detecting, lid stop motion in control, can avoid crushing user.

Description

A kind of control method of flip terminal, flip terminal and computer-readable medium
Technical field
The present invention relates to electronic technology field, more particularly to a kind of control method of flip terminal, flip terminal and calculating Machine computer-readable recording medium.
Background technology
Current flip terminal, rotating shaft is provided between upper lid and lower cover, spring is provided with rotating shaft.When user rotates During axle, mobile phone forensic (renovating) is moved by the elastic band of rotating shaft spring realized and uncap or closing lid.
However, when user's rotating shaft control cellular phone flip realizes closing lid, if closing lid speed, mobile phone is in closing lid When will produce huge impulsive force.If the finger of user is still between the upper lid and lower cover of mobile phone during closing lid, So because impulsive force caused by closing lid will be acted on the finger of user, the finger of user is easily caused to be crushed.
The content of the invention
The embodiment of the present invention provides a kind of control method of flip terminal, terminal and computer-readable medium, can examine Measure when target object be present between lid and lower cover, lid stop motion in control, can avoid crushing user.
In a first aspect, the embodiments of the invention provide a kind of control method of flip terminal, this method includes:
If detecting, closing lid operates, and obtains the locomotion speed value of the upper lid;
If the locomotion speed value is more than or equal to default movement velocity threshold value, the upper lid and the lower cover are detected Between whether there is target object;
If target object be present between the upper lid and the lower cover, the upper lid stop motion is controlled.
Second aspect, the embodiments of the invention provide a kind of flip terminal, the flip terminal includes being used to perform above-mentioned the The unit of the method for one side.
The third aspect, the embodiments of the invention provide another flip terminal, including processor, input equipment, output are set Standby and memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to deposit Storage supports terminal to perform the computer program of the above method, and the computer program includes programmed instruction, the processor by with Put for calling described program to instruct, the method for performing above-mentioned first aspect.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage medium Computer program is stored with, the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor The method for stating the above-mentioned first aspect of computing device.
If the embodiment of the present invention obtains the locomotion speed value of the upper lid by detecting that closing lid operates;If the fortune Dynamic velocity amplitude is more than or equal to default movement velocity threshold value, then detects and whether there is target between the upper lid and the lower cover Object;If target object be present between the upper lid and the lower cover, the upper lid stop motion is controlled.Due in closing lid mistake In journey when the finger of user is between upper lid and lower cover, if the movement velocity of upper lid is too fast, user has little time finger Removing will cause finger to be crushed by flip terminal, and the locomotion speed value that flip terminal covers on detecting is more than or equal to default Movement velocity threshold value, and when target object be present between upper lid and lower cover, lid stop motion in control, can avoid crushing use Family.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it is required in being described below to embodiment to use Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic diagram of flip terminal provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow diagram of the control method of flip terminal provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic flow diagram of the control method for flip terminal that another embodiment of the present invention provides;
Fig. 4 is a kind of schematic flow diagram of the control method for flip terminal that yet another embodiment of the invention provides
Fig. 5 is a kind of schematic block diagram of flip terminal provided in an embodiment of the present invention;
Fig. 6 is a kind of flip terminal schematic block diagram that another embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and appended claims is Refer to any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but with tactile Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application Program, telephony application, videoconference application, email application, instant messaging applications, exercise Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use at least one public of such as touch sensitive surface Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal is (for example, touch Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
The flip terminal of various embodiments of the present invention connects lid (upper lid is also referred to as renovated) and lower cover by rotating shaft, and in external force When acting on lid, lid realization is driven to uncap or closing lid by rotating shaft.
Wherein, renovating and lower cover closure, when user pushes the power renovated open to renovating application, flip terminal when flip terminal Drive to renovate by rotating shaft in the presence of the power renovated is pushed open and separated with lower cover;Opening is renovated when terminal, user is to renovating Application slippage the power renovated when, flip terminal is driven in the presence of the power renovated of slippaging by rotating shaft to be renovated and lower cover closes.
Referring to Fig. 1, Fig. 1 is a kind of schematic diagram of flip terminal provided in an embodiment of the present invention.Renovate end as shown in Figure 1 End 1 includes the rotating shaft 13 of upper lid (renovating) 11, lower cover 12 and the upper lid 11 of connection and lower cover 12.
It is that the embodiment of the present invention provides a kind of schematic flow diagram of the control method of flip terminal referring to Fig. 2.The present embodiment The executive agent of control method of flip terminal be flip terminal, flip terminal can include but is not limited to cover-turning intelligent hand The mobile terminals such as machine, notebook computer.The control method of flip terminal as depicted may include:
S101:If detecting, closing lid operates, and obtains the locomotion speed value of the upper lid.
Flip terminal detect user slippage the action signal renovated when, be identified as detecting that closing lid operates, renovate end Control upper cover rim in end rotating shaft to the plane motion where lower cover, and obtains the locomotion speed value covered in real time.Closing lid operation is used It can be closed in the upper lid (renovating) of triggering flip terminal with lower cover.Specifically, flip terminal can be obtained and built-in can examined The motion for the upper lid that sensor (such as velocity sensor, the acceleration transducer or gyro sensor) monitoring for degree of testing the speed obtains Velocity amplitude.
S102:If the locomotion speed value is more than or equal to default movement velocity threshold value, the upper lid and institute are detected State and whether there is target object between lower cover.
Flip terminal by the locomotion speed value got compared with default movement velocity threshold value, when the fortune got When dynamic velocity amplitude is more than or equal to default movement velocity threshold value, it whether there is target object between lid and lower cover in detection.Its In, default movement velocity threshold value can be specifically configured according to actual conditions, be not limited herein.Default movement velocity threshold Value can be set according to minimum value (0.1 second), the run duration of upper lid and the travel of upper lid of human response's time. It is flat with plane parallel where lower cover that the run duration of upper lid refers to that the upper lid of the flip terminal in uncapped state moves to The time that face needs.When flip terminal is in uncapped state, the angle between upper lid and lower cover is maximum.The motion road of upper lid Journey can refer to upper lid end (one end away from rotating shaft) and (the remote rotating shaft of lower cover end of the flip terminal in uncapped state One end) corresponding to radian.
Target object refer to except upper lid, lower cover, upper lid adjunct and lower cover adjunct (such as button, display screen) it Outer object, target object include but is not limited to user's finger or palm.Flip terminal can be by being arranged at lower cover edge Infrared sensor or ultrasonic sensor etc. can detect the sensor of barrier, detect and whether there is mesh between Shang Gai and upper lid Mark object.
Flip terminal can also start front camera capture images, and using the figure of image analysis technology analysis capture Picture, to determine to whether there is target object between Shang Gai and upper lid.
Flip terminal performs S103 when target object be present between lid and lower cover in confirmation;Lid and lower cover in confirmation Between when target object is not present, it is without any processing.
S103:If target object be present between the upper lid and the lower cover, the upper lid stop motion is controlled.
When there is target object in flip terminal, lid stop motion in control in confirmation between lid and lower cover, with avoid because Closing lid and caused impact force action are in target object, so as to cause to damage target object or be damaged because target object is extruded The situation of lid or lower cover on flip terminal.
Such scheme, if flip terminal detects that closing lid operates, obtain the locomotion speed value of the upper lid;If the fortune Dynamic velocity amplitude is more than or equal to default movement velocity threshold value, then detects and whether there is target between the upper lid and the lower cover Object;If target object be present between the upper lid and the lower cover, the upper lid stop motion is controlled.Due in closing lid mistake In journey when the finger of user is between upper lid and lower cover, if the movement velocity of upper lid is too fast, user has little time finger Removing will cause finger to be crushed by flip terminal, and the locomotion speed value that flip terminal covers on detecting is more than or equal to default Movement velocity threshold value, and when target object be present between upper lid and lower cover, lid stop motion in control, can avoid crushing use Family.
It is that another embodiment of the present invention provides a kind of schematic flow diagram of the control method of flip terminal referring to Fig. 3.This reality The executive agent for applying the control method of the flip terminal of example is flip terminal, and flip terminal can include but is not limited to cover-turning intelligent The mobile terminals such as mobile phone, notebook computer.The control method of flip terminal as depicted may include:
S201:If detecting, closing lid operates, and obtains the locomotion speed value of the upper lid.
S201 is identical with the S101 in a upper embodiment in the present embodiment, referring specifically to the phase of S101 in a upper embodiment Description is closed, is not repeated herein.
S202:If the locomotion speed value is more than or equal to default movement velocity threshold value, starts front camera and obtain Image.
Flip terminal by the locomotion speed value got compared with default movement velocity threshold value, when the fortune got When dynamic velocity amplitude is more than or equal to default movement velocity threshold value, built-in front camera is opened, and control front camera Obtain image.Wherein, default movement velocity threshold value can be specifically configured according to actual conditions, be not limited herein.Renovate Terminal (such as 0.2 second) can also capture photograph at timed intervals by front camera captured in real-time photograph.
It is understood that when locomotion speed value is less than default movement velocity threshold value, it is without any processing, it can return S201 is returned to continue to detect the locomotion speed value of lid.
S203:Determined to whether there is target object between the upper lid and the lower cover according to described image.
The image that flip terminal is captured using image analysis technology analysis, to determine to whether there is mesh between Shang Gai and upper lid Mark object.Target object includes but is not limited to user's finger or palm.
Flip terminal performs S204 when target object be present between lid and lower cover in confirmation;Lid and lower cover in confirmation Between when target object is not present, it is without any processing.
S204:If target object be present between the upper lid and the lower cover, the upper lid stop motion is controlled.
When there is target object in flip terminal, lid stop motion in control in confirmation between lid and lower cover, with avoid because Closing lid and caused impact force action are in target object, so as to cause to damage target object or be damaged because target object is extruded The situation of lid or lower cover on flip terminal.
Further, S204 is specially:If target object between the upper lid and the lower cover be present, control is arranged at Rotating shaft between the upper lid and the lower cover stops operating.
Flip terminal turns when target object be present between lid and lower cover in confirmation to being arranged between upper lid and lower cover Axle exports a control signal, to control rotating shaft to stop operating by the control signal.
Further, when flip terminal connects axis of rotation or the stopping of lid and lower cover by step motor control, If target object between the upper lid and the lower cover be present, control is arranged between the upper lid and the lower cover Rotating shaft stops operating, and can be specially:Control for driving the stepper motor of the rotating shaft to stop operating.
Because the rotating shaft being arranged between upper lid and lower cover is driven by stepper motor, clamshell phone controls the step Stepper motor stops operating, you can control rotating shaft stops operating.
In other embodiments, what the rotating shaft that flip terminal control is arranged between lid and the lower cover stopped operating Method can also be:The electric current of lid input first direction upwards, the electric current of second direction is inputted to lower cover, to cause Shang Gai with Lid produces repulsion, so as to control the rotating shaft being arranged between upper lid and lower cover to stop operating, first direction and second direction on the contrary, The current value of first direction is identical with the current value of second direction, and the minimum current value that can be born much smaller than human body.
Such scheme, if flip terminal detects that closing lid operates, obtain the locomotion speed value of the upper lid;If the fortune Dynamic velocity amplitude is more than or equal to default movement velocity threshold value, then detects and whether there is target between the upper lid and the lower cover Object;If target object be present between the upper lid and the lower cover, the upper lid stop motion is controlled to detect When target object be present between upper lid and lower cover, lid stop motion in control, it can avoid crushing user.
Caught by front camera and whether there is target object between lid and lower cover in image recognition, target can be identified The degree of accuracy of object.
Stopped operating for the stepper motor of drive shaft by controlling, so as to control rotating shaft to stop operating, and then caused Upper lid stop motion, it is possible to increase control accuracy.
It is that yet another embodiment of the invention provides a kind of schematic flow diagram of the control method of flip terminal referring to Fig. 4.This reality The executive agent for applying the control method of the flip terminal of example is flip terminal, and flip terminal can include but is not limited to cover-turning intelligent The mobile terminals such as mobile phone, notebook computer.The control method of flip terminal as depicted may include:
S301:If detecting, closing lid operates, and obtains the locomotion speed value of the upper lid.
S301 is identical with the S201 in a upper embodiment in the present embodiment, referring specifically to the phase of S201 in a upper embodiment Description is closed, is not repeated herein.
S302:Determine the angle value of the angle between the upper lid and the lower cover.
Flip terminal can obtain built-in angular-rate sensor or gyro sensor prison when detecting closing lid operation The angle value of angle between the upper lid and lower cover that measure.
S301 and S302 can be performed simultaneously.
S303:If the locomotion speed value is more than or equal to default movement velocity threshold value, detecting the angle value is It is no to be less than or equal to default angle threshold.
Flip terminal by the locomotion speed value got compared with default movement velocity threshold value, when the fortune got When dynamic velocity amplitude is more than or equal to default movement velocity threshold value, whether the angle value of the angle in detection between lid and lower cover is small In or equal to default angle threshold.
Further, when being more than 90 degree due to being arranged at angle of the front camera of upper lid between upper lid and lower cover, The image in the space between lid and lower cover can not be captured, in order to save the electricity and raising object that shooting image is consumed The default angle threshold of body recognition efficiency can be less than or equal to 90, but be not limited to this, and default movement velocity threshold value is specific It can be configured according to actual conditions, be not limited herein.
Further, due to the angle between the upper lid and lower cover of flip terminal be less than 45 degree when, upper lid can because inertia after Reforwarding is moved, so as to cause to damage target object or damage the feelings of lid or lower cover on flip terminal because target object is extruded Condition, in order to avoid this situation, default angle threshold can be less than or equal to 90 and more than 45.
When the locomotion speed value of upper lid is more than or equal to default movement velocity threshold value, and the angle between upper lid and lower cover Angle value when being less than or equal to default angle threshold, perform S304.
It is understood that when upper lid locomotion speed value is less than between default movement velocity threshold value, or upper lid and lower cover The angle value of angle when being more than default angle threshold, it is without any processing, S301 can be returned and continue to detect the fortune of lid Dynamic velocity amplitude.
S304:If the angle value is less than or equal to default angle threshold, starts front camera and obtain image.
The locomotion speed value that flip terminal covers in confirmation is more than or equal to default movement velocity threshold value, and Shang Gai is with When the angle value of angle between lid is less than or equal to default angle threshold, starts front camera and obtain image.Renovate end End (such as 0.2 second) can also capture photograph at timed intervals by front camera captured in real-time photograph.
S305:Determined to whether there is target object between the upper lid and the lower cover according to described image.
The image that flip terminal is captured using image analysis technology analysis, to determine to whether there is mesh between Shang Gai and upper lid Mark object.Target object includes but is not limited to user's finger or palm.
Flip terminal performs S306 when target object be present between lid and lower cover in confirmation;Lid and lower cover in confirmation Between when target object is not present, it is without any processing.
S306:If target object be present between the upper lid and the lower cover, the upper lid stop motion is controlled.
When there is target object in flip terminal, lid stop motion in control in confirmation between lid and lower cover, with avoid because Closing lid and caused impact force action are in target object, so as to cause to damage target object or damage lid or lower cover on flip terminal Situation.
Further, S306 is specially:If target object between the upper lid and the lower cover be present, control is arranged at Rotating shaft between the upper lid and the lower cover stops operating.
Flip terminal turns when target object be present between lid and lower cover in confirmation to being arranged between upper lid and lower cover Axle exports a control signal, to control rotating shaft to stop operating by the control signal.
Further, when flip terminal connects axis of rotation or the stopping of lid and lower cover by step motor control, If target object between the upper lid and the lower cover be present, control is arranged between the upper lid and the lower cover Rotating shaft stops operating, and can be specially:Control for driving the stepper motor of the rotating shaft to stop operating.
Because the rotating shaft being arranged between upper lid and lower cover is driven by stepper motor, clamshell phone controls the step Stepper motor stops operating, you can control rotating shaft stops operating.
In other embodiments, what the rotating shaft that flip terminal control is arranged between lid and the lower cover stopped operating Method can also be:The electric current of lid input first direction upwards, the electric current of second direction is inputted to lower cover, to cause Shang Gai with Lid produces repulsion, so as to control the rotating shaft being arranged between upper lid and lower cover to stop operating, first direction and second direction on the contrary, The current value of first direction is identical with the current value of second direction, and the minimum current value that can be born much smaller than human body.
Such scheme, if flip terminal detects that closing lid operates, obtain the locomotion speed value of the upper lid;If the fortune Dynamic velocity amplitude is more than or equal to default movement velocity threshold value, then detects and whether there is target between the upper lid and the lower cover Object;If target object be present between the upper lid and the lower cover, the upper lid stop motion is controlled to detect When target object be present between upper lid and lower cover, lid stop motion in control, it can avoid crushing user.
Caught by front camera and whether there is target object between lid and lower cover in image recognition, target can be identified The degree of accuracy of object.
Stopped operating for the stepper motor of drive shaft by controlling, so as to control rotating shaft to stop operating, and then caused Upper lid stop motion, it is possible to increase control accuracy.
The embodiment of the present invention also provides a kind of flip terminal, and the terminal is used to perform the flip terminal described in foregoing any one Control method unit.Specifically, it is a kind of schematic block diagram of flip terminal provided in an embodiment of the present invention referring to Fig. 5.This The terminal 5 of embodiment includes:Acquiring unit 510, detection unit 520 and control unit 530.
Acquiring unit 510, if for detecting that closing lid operates, obtain the locomotion speed value of the upper lid.
Detection unit 520, if being more than or equal to default movement velocity threshold value for the locomotion speed value, detect institute State and whether there is target object between lid and the lower cover.
Specifically, detection unit 520 can include:
Image acquisition unit 521, if being more than or equal to default movement velocity threshold value for the locomotion speed value, open Dynamic front camera obtains image;
Target object detection unit 522, for determining whether deposited between the upper lid and the lower cover according to described image In target object.
Control unit 530, if for target object be present between the upper lid and the lower cover, the upper lid is controlled to stop Only move.
Alternatively, flip terminal also includes:
Determining unit 540, for determining the angle value of the angle between the upper lid and the lower cover;The default angle 90 can be less than or equal to by spending threshold value;Or the default angle threshold can be less than or equal to 90 and more than 45;
Image acquisition unit 521 is specifically used for:If the locomotion speed value that acquiring unit 510 obtains is more than or equal to pre- If movement velocity threshold value, then detect determining unit 540 determine the angle value whether be less than or equal to default angle threshold Value;If the angle value is less than or equal to default angle threshold, starts front camera and obtain image.
Further, control unit 530 is specifically used for:If target object be present between the upper lid and the lower cover, The rotating shaft that control is arranged between the upper lid and the lower cover stops operating.
Further, control unit 530 is specifically used for:If target object be present between the upper lid and the lower cover, Control for driving the stepper motor of the rotating shaft to stop operating.
Such scheme, if flip terminal detects that closing lid operates, obtain the locomotion speed value of the upper lid;If the fortune Dynamic velocity amplitude is more than or equal to default movement velocity threshold value, then detects and whether there is target between the upper lid and the lower cover Object;If target object be present between the upper lid and the lower cover, the upper lid stop motion is controlled to detect When target object be present between upper lid and lower cover, lid stop motion in control, it can avoid crushing user.
Caught by front camera and whether there is target object between lid and lower cover in image recognition, target can be identified The degree of accuracy of object.
Stopped operating for the stepper motor of drive shaft by controlling, so as to control rotating shaft to stop operating, and then caused Upper lid stop motion, it is possible to increase control accuracy.
It is a kind of flip terminal schematic block diagram that another embodiment of the present invention provides referring to Fig. 6.This implementation as depicted Terminal 6 in example can include:One or more processors 610;One or more input equipments 620, one or more output Equipment 630 and memory 640.Above-mentioned processor 610, input equipment 620, output equipment 630 and memory 640 pass through bus 650 connections.Memory 640 is used to store computer program, and the computer program includes programmed instruction, and processor 610 is used for Perform the programmed instruction that memory 640 stores.Wherein, processor 610 is arranged to call described program instruction to perform:
If detecting, closing lid operates, and obtains the locomotion speed value of the upper lid;
If the locomotion speed value is more than or equal to default movement velocity threshold value, the upper lid and the lower cover are detected Between whether there is target object;
If target object be present between the upper lid and the lower cover, the upper lid stop motion is controlled.
Alternatively, processor 610 is specific is arranged to call described program instruction to perform:
If the locomotion speed value is more than or equal to default movement velocity threshold value, starts front camera and obtain figure Picture;
Determined to whether there is target object between the upper lid and the lower cover according to described image.
Alternatively, processor 610 is additionally configured to call described program instruction to perform:
If detecting, closing lid operates, it is determined that the angle value of the angle between the upper lid and the lower cover;
If the locomotion speed value is more than or equal to default movement velocity threshold value, detect whether the angle value is less than Or equal to default angle threshold;
If the angle value is less than or equal to default angle threshold, starts front camera and obtain image.
Alternatively, processor 610 is specific is arranged to call described program instruction to perform:
If target object be present between the upper lid and the lower cover, control be arranged at the upper lid and the lower cover it Between rotating shaft stop operating.
Alternatively, processor 610 is specific is arranged to call described program instruction to perform:
If target object be present between the upper lid and the lower cover, the stepper motor for driving the rotating shaft is controlled Stop operating.
Alternatively, the default angle threshold is less than or equal to 90.
Alternatively, the default angle threshold is less than or equal to 90 and more than 45.
It should be appreciated that in embodiments of the present invention, alleged processor 610 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 620 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint Directional information), microphone etc., output equipment 630 can include display (LCD etc.), loudspeaker etc..
The memory 640 can include read-only storage and random access memory, and to processor 610 provide instruction and Data.The a part of of memory 640 can also include nonvolatile RAM.For example, memory 640 can also be deposited Store up the information of device type.
In the specific implementation, processor 610, input equipment 620, the output equipment 630 described in the embodiment of the present invention can The first embodiment of the control method of flip terminal provided in an embodiment of the present invention is performed to the reality described in 3rd embodiment Existing mode, the implementation of the flip terminal described by the embodiment of the present invention is also can perform, will not be repeated here.
A kind of computer-readable recording medium, the computer-readable storage medium are provided in another embodiment of the invention Matter is stored with computer program, and the computer program includes programmed instruction, and described program instruction is realized when being executed by processor:
If detecting, closing lid operates, and obtains the locomotion speed value of the upper lid;
If the locomotion speed value is more than or equal to default movement velocity threshold value, the upper lid and the lower cover are detected Between whether there is target object;
If target object be present between the upper lid and the lower cover, the upper lid stop motion is controlled.
Alternatively, implemented when described program instruction is executed by processor:
If the locomotion speed value is more than or equal to default movement velocity threshold value, starts front camera and obtain figure Picture;
Determined to whether there is target object between the upper lid and the lower cover according to described image.
Alternatively, also realized when described program instruction is executed by processor:
If detecting, closing lid operates, it is determined that the angle value of the angle between the upper lid and the lower cover;
If the locomotion speed value is more than or equal to default movement velocity threshold value, detect whether the angle value is less than Or equal to default angle threshold;
If the angle value is less than or equal to default angle threshold, starts front camera and obtain image.
Alternatively, implemented when described program instruction is executed by processor:
If target object be present between the upper lid and the lower cover, control be arranged at the upper lid and the lower cover it Between rotating shaft stop operating.
Alternatively, implemented when described program instruction is executed by processor:If deposited between the upper lid and the lower cover In target object, then control for driving the stepper motor of the rotating shaft to stop operating.
Alternatively, the default angle threshold is less than or equal to 90.
Alternatively, the default angle threshold is less than or equal to 90 and more than 45.
The computer-readable recording medium can be the storage inside list of the flip terminal described in foregoing any embodiment Member, such as the hard disk or internal memory of flip terminal.The computer-readable recording medium can also be the outside of the flip terminal The plug-in type hard disk being equipped with storage device, such as the flip terminal, intelligent memory card (Smart Media Card, SMC), Secure digital (Secure Digital, SD) blocks, flash card (Flash Card) etc..Further, it is described computer-readable to deposit Storage media can also both include the internal storage unit of the terminal or including External memory equipment.The computer-readable storage Medium is used to store the computer program and other programs and data needed for the terminal.The computer-readable storage Medium can be also used for temporarily storing the data that has exported or will export.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specially Industry technical staff can realize described function using distinct methods to each specific application, but this realization should not Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed terminal and method, it can be passed through Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase Coupling or direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit Connection or electricity, the connection of mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain be defined.

Claims (10)

1. a kind of control method of flip terminal, the flip terminal includes upper lid and lower cover, it is characterised in that including:
If detecting, closing lid operates, and obtains the locomotion speed value of the upper lid;
If the locomotion speed value is more than or equal to default movement velocity threshold value, detect between the upper lid and the lower cover With the presence or absence of target object;
If target object be present between the upper lid and the lower cover, the upper lid stop motion is controlled.
2. the control method of flip terminal according to claim 1, it is characterised in that if the locomotion speed value is big In or equal to default movement velocity threshold value, then detect and whether there is target object between the upper lid and the lower cover, including:
If the locomotion speed value is more than or equal to default movement velocity threshold value, starts front camera and obtain image;
Determined to whether there is target object between the upper lid and the lower cover according to described image.
3. the control method of flip terminal according to claim 2, it is characterised in that also include:
Determine the angle value of the angle between the upper lid and the lower cover;
If the locomotion speed value is more than or equal to default movement velocity threshold value, starts front camera and obtain figure Picture, including:
If the locomotion speed value is more than or equal to default movement velocity threshold value, detect whether the angle value is less than or waits In default angle threshold;
If the angle value is less than or equal to default angle threshold, starts front camera and obtain image.
4. the control method of the flip terminal according to any one of claims 1 to 3, it is characterised in that if on described Target object be present between lid and the lower cover, then control the upper lid stop motion, including:
If target object between the upper lid and the lower cover be present, control is arranged between the upper lid and the lower cover Rotating shaft stops operating.
5. the control method of flip terminal according to claim 4, it is characterised in that if it is described it is upper lid with it is described under Target object between lid being present, then the rotating shaft that control is arranged between the upper lid and the lower cover stops operating, including:
Control for driving the stepper motor of the rotating shaft to stop operating.
6. the control method of flip terminal according to claim 3, it is characterised in that the default angle threshold is less than Or equal to 90.
7. the control method of flip terminal according to claim 6, it is characterised in that the default angle threshold is less than Or equal to 90 and more than 45.
8. a kind of flip terminal, it is characterised in that including the list for performing the method as described in claim any one of 1-7 Member.
A kind of 9. flip terminal, it is characterised in that including processor, input equipment, output equipment and memory, the processing Device, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to store computer program, the meter Calculation machine program includes programmed instruction, and the processor is arranged to call described program instruction, performs claim 1-7 such as and appoint Method described in one.
A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program, The computer program includes programmed instruction, and described program instruction makes the computing device such as right when being executed by a processor It is required that the method described in any one of 1-7.
CN201710889218.0A 2017-09-26 2017-09-26 A kind of control method of flip terminal, flip terminal and computer-readable medium Withdrawn CN107682480A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710889218.0A CN107682480A (en) 2017-09-26 2017-09-26 A kind of control method of flip terminal, flip terminal and computer-readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710889218.0A CN107682480A (en) 2017-09-26 2017-09-26 A kind of control method of flip terminal, flip terminal and computer-readable medium

Publications (1)

Publication Number Publication Date
CN107682480A true CN107682480A (en) 2018-02-09

Family

ID=61137488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710889218.0A Withdrawn CN107682480A (en) 2017-09-26 2017-09-26 A kind of control method of flip terminal, flip terminal and computer-readable medium

Country Status (1)

Country Link
CN (1) CN107682480A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3641281A1 (en) * 2018-10-19 2020-04-22 Beijing Xiaomi Mobile Software Co., Ltd. Sliding event processing method, apparatus, electronic device and storage medium
CN111182100A (en) * 2019-12-31 2020-05-19 网易(杭州)网络有限公司 Folding screen control method and device
CN111246009A (en) * 2018-11-29 2020-06-05 北京小米移动软件有限公司 Sliding cover type terminal, distance detection method and device and storage medium
CN113744509A (en) * 2021-09-06 2021-12-03 华帝股份有限公司 Flip early warning method and device, computer equipment and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205943430U (en) * 2016-06-20 2017-02-08 贵州民族大学 Piano lid closes early warning system
CN206134216U (en) * 2016-10-31 2017-04-26 滁州学院 Device slowly falls in piano lid auto -induction

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205943430U (en) * 2016-06-20 2017-02-08 贵州民族大学 Piano lid closes early warning system
CN206134216U (en) * 2016-10-31 2017-04-26 滁州学院 Device slowly falls in piano lid auto -induction

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3641281A1 (en) * 2018-10-19 2020-04-22 Beijing Xiaomi Mobile Software Co., Ltd. Sliding event processing method, apparatus, electronic device and storage medium
US11005987B2 (en) 2018-10-19 2021-05-11 Beijing Xiaomi Mobile Software Co., Ltd. Sliding event processing method, electronic device and storage medium
CN111246009A (en) * 2018-11-29 2020-06-05 北京小米移动软件有限公司 Sliding cover type terminal, distance detection method and device and storage medium
CN111182100A (en) * 2019-12-31 2020-05-19 网易(杭州)网络有限公司 Folding screen control method and device
CN113744509A (en) * 2021-09-06 2021-12-03 华帝股份有限公司 Flip early warning method and device, computer equipment and readable storage medium
CN113744509B (en) * 2021-09-06 2023-02-28 华帝股份有限公司 Flip early warning method and device, computer equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN107682480A (en) A kind of control method of flip terminal, flip terminal and computer-readable medium
JP6864099B2 (en) Methods, clients, and servers for allocating virtual resources
CN110321047B (en) Display control method and device
US8694916B2 (en) Method and apparatus for spatially indicating notifications
US10182141B2 (en) Apparatus and method for providing transitions between screens
CN104142728B (en) Electronic installation
CN107544670A (en) The computing device of non-vision response with power triggering
CN107807773A (en) One kind is using attend to anything else method, apparatus, terminal and storage medium
EP2817704A1 (en) Apparatus and method for determining the position of a user input
CN102768613A (en) System and method for interface management, and computer program product therefor
US9285839B1 (en) Smart cover for an electronic device
CN109224436A (en) Virtual key based on interface defines method, terminal and storage medium
CN101673329B (en) Establishment method of biometric data, electronic device and computer program product thereof
CN107395797A (en) A kind of mobile terminal and its control method and readable storage medium storing program for executing
US11881011B2 (en) Fingerprint anti-counterfeiting method and electronic device
CN107479806A (en) The method and terminal of a kind of changing interface
CN107491300A (en) The reminding method and its terminal of a kind of intelligent function
CN108255402A (en) Check the method, terminal and computer readable storage medium of footmark content of announcement
EP2341417A1 (en) Device and method of control
CN107632867A (en) A kind of method, apparatus of information record, computer installation and readable storage medium storing program for executing
CN108491142B (en) Control method of mobile terminal, mobile terminal and storage medium
CN107766108A (en) A kind of method of interception image, terminal and computer-readable medium
CN104620210B (en) Realize device, the method and computer program of user's input
CN106487887A (en) A kind of method realizing quick registration and terminal
CN104317392A (en) Information control method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20180209

WW01 Invention patent application withdrawn after publication