CN113467608A - Method and device for controlling opening and closing of terminal equipment - Google Patents

Method and device for controlling opening and closing of terminal equipment Download PDF

Info

Publication number
CN113467608A
CN113467608A CN202110595355.XA CN202110595355A CN113467608A CN 113467608 A CN113467608 A CN 113467608A CN 202110595355 A CN202110595355 A CN 202110595355A CN 113467608 A CN113467608 A CN 113467608A
Authority
CN
China
Prior art keywords
terminal device
terminal equipment
information
opening
closing
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
CN202110595355.XA
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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202110595355.XA priority Critical patent/CN113467608A/en
Publication of CN113467608A publication Critical patent/CN113467608A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a method and a device for controlling opening and closing of terminal equipment, which relate to the technical field of terminals, and the method comprises the following steps: the first terminal equipment sends a first request to the second terminal equipment; the second terminal equipment responds to the first request to establish equipment connection with the first terminal equipment; the second terminal equipment sends the first information to the second terminal equipment; the first terminal equipment controls the first part and the second part to be opened or closed according to the first information; when the first part and the second part are opened, the first terminal equipment obtains an image of the user based on camera shooting, and detects the position of the eyes of the user in the image; the first terminal equipment adjusts the opening and closing angle of the first part and the second part according to the position of the eyes of the user in the image. Therefore, the first terminal equipment can automatically control the opening and closing of the turning cover of the first terminal equipment based on the first information sent by the second terminal equipment, and flexibly adjust the opening and closing angle according to the position of the eyes of the user.

Description

Method and device for controlling opening and closing of terminal equipment
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method and an apparatus for controlling opening and closing of a terminal device.
Background
With the popularization and development of the internet, the functional requirements of people for electronic equipment are diversified. For example, in order to meet the demands of users for computers in different scenes, foldable notebook computers are used to go into people's daily lives.
In general, when a user does not use the notebook computer, the flip cover of the notebook computer can be closed; when a user wants to use the notebook computer, the user can open the flip cover of the notebook computer, adjust the flip angle and trigger the start button to enable the notebook computer to return to the initial interface.
However, this method for controlling the opening and closing of the terminal device requires the user to perform manual operations for many times, which is a cumbersome process.
Disclosure of Invention
The embodiment of the application provides a method and a device for controlling the opening and closing of terminal equipment, and simplifies the modes of opening and closing a notebook computer.
In a first aspect, an embodiment of the present application provides a method for controlling opening and closing of a terminal device, which is applied to a system for controlling opening and closing of a terminal device, where the system for controlling opening and closing of a terminal device includes: the first terminal equipment comprises a first part and a second part, the first part and the second part are connected through an opening and closing structure, and the opening and closing structure is used for adjusting the angle between the first part and the second part; the first part comprises a camera, and the method comprises the following steps: the first terminal equipment sends a first request to the second terminal equipment; the second terminal equipment responds to the first request to establish equipment connection with the first terminal equipment; the second terminal equipment sends the first information to the second terminal equipment; the first terminal equipment controls the first part and the second part to be opened or closed according to the first information; when the first part and the second part are opened, the first terminal equipment obtains an image of the user based on camera shooting, and detects the position of the eyes of the user in the image; the first terminal equipment adjusts the opening and closing angle of the first part and the second part according to the position of the eyes of the user in the image. Therefore, the first terminal equipment can automatically control the opening and closing of the turning cover of the first terminal equipment based on the first information sent by the second terminal equipment, and flexibly adjust the opening and closing angle according to the position of the eyes of the user.
The first terminal device may be a terminal device, the second terminal device may be a wearable device, the first portion may be a flip of the terminal device, and the second portion may be a base of the terminal device.
In one possible implementation manner, the opening and closing structure comprises a motor, a motor output shaft, a first gear, a second gear and a shaft core, wherein the motor is used for receiving an instruction of the first terminal device for controlling opening and closing and determining a rotation direction according to the instruction for controlling opening and closing; the motor output shaft is used for connecting the motor and the first gear; the first gear is meshed with the second gear; the second gear is used for driving the shaft core to rotate; the shaft core is used for driving the first part to rotate. Therefore, the first terminal equipment can automatically control the opening and closing of the flip cover based on the opening and closing structure, and the opening and closing modes of the flip cover of the terminal equipment are simplified.
Wherein the second gear may be an internal gear.
In a possible implementation manner, the controlling, by the first terminal device, the first part and the second part to be opened or closed according to the first information includes: when the first information meets a first condition and the angle between the first part and the second part is smaller than or equal to a first angle threshold value, the first terminal equipment controls the opening and closing structure to adjust the angle between the first part and the second part to a preset angle; or when the first information meets the first condition and the angle between the first part and the second part is greater than the first angle threshold, the first terminal device controls the opening and closing structure to adjust the angle between the first part and the second part to be smaller than the second angle threshold. Therefore, the first terminal equipment can automatically open the flip cover based on the first condition when the flip cover is closed, and open the flip cover to the angle preset by the user, so that the opening mode of the flip cover of the first terminal equipment is simplified.
Controlling the angle between the flip cover and the base of the terminal equipment to be smaller than the angle threshold value can be understood as closing the flip cover of the terminal equipment; controlling the angle adjustment of the flip cover and the base of the terminal device to be a preset angle can be understood as opening the flip cover of the terminal device.
In one possible implementation manner, the method further includes: the method comprises the steps that a first terminal device receives a first operation of an interface for setting an opening and closing angle; responding to the first operation, and displaying a first text box by the first terminal equipment; the method comprises the steps that a first terminal device obtains a preset angle input in a first text box; the first terminal equipment acquires the corresponding relation between the second terminal equipment and the preset angle. Therefore, the terminal equipment can realize automatic cover turning, can provide different opening and closing angles aiming at different users in a personalized manner, and better meets the use requirements of the users on the cover turning functions of the terminal equipment.
In one possible implementation manner, the method further includes: the first terminal equipment records the adjusted opening and closing angle of the first part and the second part; the first terminal equipment calculates the recommended opening and closing angle of the user according to the opening and closing angles adjusted for multiple times; and the first terminal equipment modifies the preset angle into a recommended opening and closing angle. Therefore, the first terminal equipment can provide a proper opening and closing angle for the user according to the multiple adjustment of the opening and closing angle by the user.
In a possible implementation manner, the first information is first gesture information detected by the second terminal device, and the meeting of the first condition by the first information includes: the first gesture information is consistent with gesture information preset in the first terminal device. In this way, the first terminal device can flexibly control the opening and closing of the flip of the first terminal device based on the gesture information.
In a possible implementation manner, the first information is information for testing signal strength, and further includes: the first terminal equipment tests the signal strength between the first terminal equipment and the second terminal equipment according to the first information; the first information satisfying the first condition includes: the signal strength is greater than the signal strength threshold. Therefore, the first terminal equipment can flexibly control the opening and closing of the flip cover of the first terminal equipment based on the signal strength of the second terminal equipment.
In a possible implementation manner, the first information is information for testing signal strength, and further includes: the first terminal equipment tests the signal strength between the first terminal equipment and the second terminal equipment according to the first information; the first terminal equipment determines a first distance between the first terminal equipment and the second terminal equipment based on the signal intensity; the first information satisfying the first condition includes: the first distance is greater than a distance threshold. In this way, the first terminal device can flexibly control the opening and closing of the flip of the first terminal device based on the distance calculated by the signal strength of the second terminal device.
In a possible implementation manner, before the first terminal device controls the opening and closing structure to adjust the angle between the first portion and the second portion to be smaller than the second angle threshold, the method further includes: the first terminal equipment sends first indication information to the second terminal equipment; the first indication information is used for indicating the second terminal equipment to carry out identity authentication; the second terminal equipment displays the first interface; the first interface is an identity verification interface and comprises a first control used for allowing the first terminal equipment to control the first part to be closed; the second terminal equipment receives a second operation of selecting the first control; responding to the second operation, the second terminal equipment sends a second indication message to the first terminal equipment; the second indication information is used for indicating that the second terminal equipment passes the identity authentication. In this way, flexible control of the flap of the first terminal can be achieved by flexible operation in the second terminal.
In a possible implementation manner, before the first terminal device controls the opening and closing structure to adjust the angle between the first portion and the second portion to be smaller than the second angle threshold, the method further includes: the first terminal equipment sends third indication information to the second terminal equipment; the third indication information is used for indicating the second terminal equipment to carry out identity authentication; the second terminal equipment displays a second interface; the second interface is an identity authentication interface and comprises a first area for collecting fingerprint information; the second terminal equipment acquires first fingerprint information received in the first area; when the second terminal equipment determines that the first fingerprint information is consistent with the fingerprint information preset in the second terminal equipment, the second terminal equipment sends a fourth indication message to the first terminal equipment; the fourth indication information is used for indicating that the second terminal equipment passes the identity authentication. In this way, flexible control of the flap of the first terminal can be achieved by flexible operation in the second terminal.
In a possible implementation manner, the first terminal device includes a display screen, and after the first terminal device controls the opening and closing structure to adjust the angle between the first portion and the second portion to a preset angle, the method further includes: the first terminal equipment displays a third interface; the third interface is an identity verification interface; the third interface comprises a second text box for inputting identity information; the first terminal equipment acquires first identity information input in the second text box; the first terminal equipment verifies the consistency of the first identity information and identity information preset in the first terminal equipment; when the first identity information is consistent with the identity information preset in the first terminal equipment, the first terminal equipment displays a fourth interface; the fourth interface is an interface displayed by the first terminal device before the first terminal device closes the display screen. Therefore, the terminal equipment can further ensure that the privacy data of the user is not revealed based on the identity authentication of the user on the basis of realizing automatic cover turning.
In a possible implementation manner, the first terminal device includes a display screen, and after the first terminal device controls the opening and closing structure to adjust the angle between the first portion and the second portion to a preset angle, the method further includes: the first terminal equipment displays a fifth interface; the fifth interface is an interface for identity authentication; the method comprises the steps that a first terminal device obtains a first image of a user based on camera shooting, and the consistency of the first image and the image of the user preset in the first terminal device is verified; when the first image is consistent with the image of the user preset in the first terminal device, the first terminal device displays a sixth interface; the sixth interface is an interface displayed by the first terminal device before the first terminal device closes the display screen. Therefore, the terminal equipment can further ensure that the privacy data of the user is not revealed based on the identity authentication of the user on the basis of realizing automatic cover turning.
In a second aspect, an embodiment of the present application provides a method for controlling a terminal device to open and close, where a first terminal device includes a first portion and a second portion, the first portion and the second portion are connected by an opening and closing structure, and the opening and closing structure is used to adjust an angle between the first portion and the second portion; the first part comprises a camera, and the method comprises the following steps: the first terminal equipment sends a first request to the second terminal equipment; the first terminal equipment receives first information from the second terminal equipment; the first terminal equipment controls the first part and the second part to be opened or closed according to the first information; when the first part and the second part are opened, the first terminal equipment obtains an image of the user based on camera shooting, and detects the position of the eyes of the user in the image; the first terminal equipment adjusts the opening and closing angle of the first part and the second part according to the position of the eyes of the user in the image. Therefore, the first terminal equipment can automatically control the opening and closing of the turning cover of the first terminal equipment based on the first information sent by the second terminal equipment, and flexibly adjust the opening and closing angle according to the position of the eyes of the user.
In one possible implementation manner, the opening and closing structure comprises a motor, a motor output shaft, a first gear, a second gear and a shaft core, wherein the motor is used for receiving an instruction of the first terminal device for controlling opening and closing and determining a rotation direction according to the instruction for controlling opening and closing; the motor output shaft is used for connecting the motor and the first gear; the first gear is meshed with the second gear; the second gear is used for driving the shaft core to rotate; the shaft core is used for driving the first part to rotate. Therefore, the first terminal equipment can automatically control the opening and closing of the flip cover based on the opening and closing structure, and the opening and closing modes of the flip cover of the terminal equipment are simplified.
In a possible implementation manner, the controlling, by the first terminal device, the first part and the second part to be opened or closed according to the first information includes: when the first information meets a first condition and the angle between the first part and the second part is smaller than or equal to a first angle threshold value, the first terminal equipment controls the opening and closing structure to adjust the angle between the first part and the second part to a preset angle; or when the first information meets the first condition and the angle between the first part and the second part is greater than the first angle threshold, the first terminal device controls the opening and closing structure to adjust the angle between the first part and the second part to be smaller than the second angle threshold. Therefore, the first terminal equipment can automatically open the flip cover based on the first condition when the flip cover is closed, and open the flip cover to the angle preset by the user, so that the opening mode of the flip cover of the first terminal equipment is simplified.
In one possible implementation manner, the method further includes: the method comprises the steps that a first terminal device receives a first operation of an interface for setting an opening and closing angle; responding to the first operation, and displaying a first text box by the first terminal equipment; the method comprises the steps that a first terminal device obtains a preset angle input in a first text box; the first terminal equipment acquires the corresponding relation between the second terminal equipment and the preset angle. Therefore, the terminal equipment can realize automatic cover turning, can provide different opening and closing angles aiming at different users in a personalized manner, and better meets the use requirements of the users on the cover turning functions of the terminal equipment.
In one possible implementation manner, the method further includes: the first terminal equipment records the adjusted opening and closing angle of the first part and the second part; the first terminal equipment calculates the recommended opening and closing angle of the user according to the opening and closing angles adjusted for multiple times; and the first terminal equipment modifies the preset angle into a recommended opening and closing angle. Therefore, the first terminal equipment can provide a proper opening and closing angle for the user according to the multiple adjustment of the opening and closing angle by the user.
In a possible implementation manner, the first information is first gesture information detected by the second terminal device, and the meeting of the first condition by the first information includes: the first gesture information is consistent with gesture information preset in the first terminal device. In this way, the first terminal device can flexibly control the opening and closing of the flip of the first terminal device based on the gesture information.
In a possible implementation manner, the first information is information for testing signal strength, and further includes: the first terminal equipment tests the signal strength between the first terminal equipment and the second terminal equipment according to the first information; the first information satisfying the first condition includes: the signal strength is greater than the signal strength threshold. Therefore, the first terminal equipment can flexibly control the opening and closing of the flip cover of the first terminal equipment based on the signal strength of the second terminal equipment.
In a possible implementation manner, the first information is information for testing signal strength, and further includes: the first terminal equipment tests the signal strength between the first terminal equipment and the second terminal equipment according to the first information; the first terminal equipment determines a first distance between the first terminal equipment and the second terminal equipment based on the signal intensity; the first information satisfying the first condition includes: the first distance is greater than a distance threshold. In this way, the first terminal device can flexibly control the opening and closing of the flip of the first terminal device based on the distance calculated by the signal strength of the second terminal device.
In a possible implementation manner, before the first terminal device controls the opening and closing structure to adjust the angle between the first portion and the second portion to be smaller than the second angle threshold, the method further includes: the first terminal equipment sends first indication information to the second terminal equipment; the first terminal equipment receives a second indication message from the second terminal equipment; the second indication information is used for indicating that the second terminal equipment passes the identity authentication. In this way, flexible control of the flap of the first terminal can be achieved by flexible operation in the second terminal.
In a possible implementation manner, the first terminal device includes a display screen, and after the first terminal device controls the opening and closing structure to adjust the angle between the first portion and the second portion to a preset angle, the method further includes: the first terminal equipment displays a third interface; the third interface is an identity verification interface; the third interface comprises a second text box for inputting identity information; the first terminal equipment acquires first identity information input in the second text box; the first terminal equipment verifies the consistency of the first identity information and identity information preset in the first terminal equipment; when the first identity information is consistent with the identity information preset in the first terminal equipment, the first terminal equipment displays a fourth interface; the fourth interface is an interface displayed by the first terminal device before the first terminal device closes the display screen. Therefore, the terminal equipment can further ensure that the privacy data of the user is not revealed based on the identity authentication of the user on the basis of realizing automatic cover turning.
In a possible implementation manner, the first terminal device includes a display screen, and after the first terminal device controls the opening and closing structure to adjust the angle between the first portion and the second portion to a preset angle, the method further includes: the first terminal equipment displays a fifth interface; the fifth interface is an interface for identity authentication; the method comprises the steps that a first terminal device obtains a first image of a user based on camera shooting, and the consistency of the first image and the image of the user preset in the first terminal device is verified; when the first image is consistent with the image of the user preset in the first terminal device, the first terminal device displays a sixth interface; the sixth interface is an interface displayed by the first terminal device before the first terminal device closes the display screen. Therefore, the terminal equipment can further ensure that the privacy data of the user is not revealed based on the identity authentication of the user on the basis of realizing automatic cover turning.
In a third aspect, an embodiment of the present application provides a method for controlling opening and closing of a terminal device, where the method includes: the second terminal equipment receives a first request from the first terminal equipment; the second terminal equipment responds to the first request to establish equipment connection with the first terminal equipment; the second terminal device sends the first information to the first terminal device. Therefore, the opening and closing modes of the turning cover of the first terminal device can be simplified through the information interaction between the first terminal device and the second terminal device.
In one possible implementation manner, the method further includes: the second terminal equipment receives first indication information from the first terminal equipment; the first indication information is used for indicating the second terminal equipment to carry out identity authentication; the second terminal equipment displays the first interface; the first interface is an identity verification interface and comprises a first control used for allowing the first terminal equipment to control the first part to be closed; the second terminal equipment receives a second operation of selecting the first control; responding to the second operation, the second terminal equipment sends a second indication message to the first terminal equipment; the second indication information is used for indicating that the second terminal equipment passes the identity authentication. In this way, flexible control of the flap of the first terminal can be achieved by flexible operation in the second terminal.
In one possible implementation manner, the method further includes: the second terminal equipment receives third indication information from the first terminal equipment; the third indication information is used for indicating the second terminal equipment to carry out identity authentication; the second terminal equipment displays a second interface; the second interface is an identity authentication interface and comprises a first area for collecting fingerprint information; the second terminal equipment acquires first fingerprint information received in the first area; when the second terminal equipment determines that the first fingerprint information is consistent with the fingerprint information preset in the second terminal equipment, the second terminal equipment sends a fourth indication message to the first terminal equipment; the fourth indication information is used for indicating that the second terminal equipment passes the identity authentication. In this way, flexible control of the flap of the first terminal can be achieved by flexible operation in the second terminal.
In a fourth aspect, an embodiment of the present application provides an apparatus for controlling opening and closing of a terminal device, which is applied to a system for controlling opening and closing of a terminal device, where the system for controlling opening and closing of a terminal device includes: the first terminal equipment comprises a first part and a second part, the first part and the second part are connected through an opening and closing structure, and the opening and closing structure is used for adjusting the angle between the first part and the second part; the first part comprises a camera, and the device comprises: a communication unit configured to send a first request to a second terminal device; the processing unit is used for responding to the first request and establishing equipment connection with the first terminal equipment; the communication unit is also used for sending the first information to the second terminal equipment; the processing unit is further used for controlling the first part and the second part to be opened or closed according to the first information; when the first part and the second part are opened, the processing unit is also used for obtaining an image of the user based on the shooting of the camera and detecting the position of the eyes of the user in the image; and the processing unit is also used for adjusting the opening and closing angle of the first part and the second part according to the position of the eyes of the user in the image.
In one possible implementation manner, the opening and closing structure comprises a motor, a motor output shaft, a first gear, a second gear and a shaft core, wherein the motor is used for receiving an instruction of the first terminal device for controlling opening and closing and determining a rotation direction according to the instruction for controlling opening and closing; the motor output shaft is used for connecting the motor and the first gear; the first gear is meshed with the second gear; the second gear is used for driving the shaft core to rotate; the shaft core is used for driving the first part to rotate.
In a possible implementation manner, when the first information satisfies a first condition and an angle between the first portion and the second portion is less than or equal to a first angle threshold, the processing unit is specifically configured to control the opening and closing structure to adjust the angle between the first portion and the second portion to a preset angle; or, when the first information satisfies the first condition and the angle between the first portion and the second portion is greater than the first angle threshold, the processing unit is specifically configured to control the opening and closing structure to adjust the angle between the first portion and the second portion to be smaller than the second angle threshold.
In a possible implementation manner, the processing unit is further configured to receive a first operation of an interface for setting an opening and closing angle; in response to the first operation, a display unit for displaying a first text box; the processing unit is also used for acquiring a preset angle input in the first text box; and the processing unit is further used for acquiring the corresponding relation between the second terminal equipment and the preset angle.
In one possible implementation, the processing unit is further configured to: recording the opening and closing angle of the adjusted first part and the second part; calculating to obtain a recommended opening and closing angle of the user according to the opening and closing angles adjusted for multiple times; and modifying the preset angle into a recommended opening and closing angle.
In a possible implementation manner, the first information is first gesture information detected by the second terminal device, and the meeting of the first condition by the first information includes: the first gesture information is consistent with gesture information preset in the first terminal device.
In a possible implementation manner, the first information is information for testing signal strength, and the processing unit is further configured to test the signal strength between the first terminal device and the second terminal device according to the first information; the first information satisfying the first condition includes: the signal strength is greater than the signal strength threshold.
In a possible implementation manner, the first information is an information processing unit for testing signal strength, and is further used for testing the signal strength between the first terminal device and the second terminal device according to the first information; the processing unit is further used for determining a first distance between the first terminal device and the second terminal device based on the signal strength; the first information satisfying the first condition includes: the first distance is greater than a distance threshold.
In a possible implementation manner, the communication unit is further configured to send first indication information to the second terminal device; the first indication information is used for indicating the second terminal equipment to carry out identity authentication; the display unit is also used for displaying a first interface; the first interface is an identity verification interface and comprises a first control used for allowing the first terminal equipment to control the first part to be closed; the processing unit is also used for receiving a second operation of selecting the first control; the communication unit is used for responding to the second operation and sending a second indication message to the first terminal equipment; the second indication information is used for indicating that the second terminal equipment passes the identity authentication.
In a possible implementation manner, the communication unit is further configured to send third indication information to the second terminal device; the third indication information is used for indicating the second terminal equipment to carry out identity authentication; the display unit is used for displaying the second interface; the second interface is an identity authentication interface and comprises a first area for collecting fingerprint information; the processing unit is further used for acquiring first fingerprint information received in the first area; when the second terminal device determines that the first fingerprint information is consistent with the fingerprint information preset in the second terminal device, the communication unit is further configured to send a fourth indication message to the first terminal device; the fourth indication information is used for indicating that the second terminal equipment passes the identity authentication.
In a possible implementation manner, the first terminal device includes a display screen and a display unit, and is further configured to display a third interface; the third interface is an identity verification interface; the third interface comprises a second text box for inputting identity information; the processing unit is also used for acquiring the first identity information input in the second text box; the processing unit is further used for verifying the consistency of the first identity information and the identity information preset in the first terminal equipment; the display unit is also used for displaying a fourth interface when the first identity information is consistent with the identity information preset in the first terminal equipment; the fourth interface is an interface displayed by the first terminal device before the first terminal device closes the display screen.
In a possible implementation manner, the first terminal device includes a display screen and a display unit, and is further configured to display a fifth interface; the fifth interface is an interface for identity authentication; the processing unit is further used for obtaining a first image of the user based on shooting of the camera and verifying consistency of the first image and a preset image of the user in the first terminal device; the display unit is also used for displaying a sixth interface when the first image is consistent with the image of the user preset in the first terminal device; the sixth interface is an interface displayed by the first terminal device before the first terminal device closes the display screen.
In a fifth aspect, an embodiment of the present application provides a device for controlling a terminal device to open and close, where a first terminal device includes a first portion and a second portion, the first portion and the second portion are connected by an opening and closing structure, and the opening and closing structure is used to adjust an angle between the first portion and the second portion; the first part comprises a camera, and the device comprises: a communication unit configured to send a first request to a second terminal device; a communication unit, further used for receiving first information from a second terminal device; the processing unit is used for controlling the first part and the second part to be opened or closed according to the first information; when the first part and the second part are opened, the processing unit is also used for obtaining an image of the user based on the shooting of the camera and detecting the position of the eyes of the user in the image; and the processing unit is also used for adjusting the opening and closing angle of the first part and the second part according to the position of the eyes of the user in the image.
In one possible implementation manner, the opening and closing structure comprises a motor, a motor output shaft, a first gear, a second gear and a shaft core, wherein the motor is used for receiving an instruction of the first terminal device for controlling opening and closing and determining a rotation direction according to the instruction for controlling opening and closing; the motor output shaft is used for connecting the motor and the first gear; the first gear is meshed with the second gear; the second gear is used for driving the shaft core to rotate; the shaft core is used for driving the first part to rotate.
In a possible implementation manner, when the first information satisfies a first condition and an angle between the first portion and the second portion is less than or equal to a first angle threshold, the processing unit is specifically configured to control the opening and closing structure to adjust the angle between the first portion and the second portion to a preset angle; or, when the first information satisfies the first condition and the angle between the first portion and the second portion is greater than the first angle threshold, the processing unit is specifically configured to control the opening and closing structure to adjust the angle between the first portion and the second portion to be smaller than the second angle threshold.
In a possible implementation manner, the processing unit is further configured to receive a first operation of an interface for setting an opening and closing angle; the display unit is used for responding to the first operation and displaying a first text box; the processing unit is also used for acquiring a preset angle input in the first text box; and the processing unit is further used for acquiring the corresponding relation between the second terminal equipment and the preset angle.
In one possible implementation, the processing unit is further configured to: recording the opening and closing angle of the adjusted first part and the second part; calculating to obtain a recommended opening and closing angle of the user according to the opening and closing angles adjusted for multiple times; and modifying the preset angle into a recommended opening and closing angle.
In a possible implementation manner, the first information is first gesture information detected by the second terminal device, and the meeting of the first condition by the first information includes: the first gesture information is consistent with gesture information preset in the first terminal device.
In a possible implementation manner, the first information is information for testing signal strength, and the processing unit is further configured to test the signal strength between the first terminal device and the second terminal device according to the first information; the first information satisfying the first condition includes: the signal strength is greater than the signal strength threshold.
In a possible implementation manner, the first information is information for testing signal strength, and the processing unit is further configured to test the signal strength between the first terminal device and the second terminal device according to the first information; the processing unit is further used for determining a first distance between the first terminal device and the second terminal device based on the signal strength; the first information satisfying the first condition includes: the first distance is greater than a distance threshold.
In one possible implementation, the communication unit is further configured to: sending first indication information to second terminal equipment; receiving a second indication message from the second terminal device; the second indication information is used for indicating that the second terminal equipment passes the identity authentication.
In a possible implementation manner, the first terminal device includes a display screen and a display unit, and is further configured to display a third interface; the third interface is an identity verification interface; the third interface comprises a second text box for inputting identity information; the processing unit is also used for acquiring the first identity information input in the second text box; the processing unit is further used for verifying the consistency of the first identity information and the identity information preset in the first terminal equipment; the display unit is also used for displaying a fourth interface when the first identity information is consistent with the identity information preset in the first terminal equipment; the fourth interface is an interface displayed by the first terminal device before the first terminal device closes the display screen.
In a possible implementation manner, the first terminal device includes a display screen and a display unit, and is further configured to display a fifth interface; the fifth interface is an interface for identity authentication; the processing unit is further used for obtaining a first image of the user based on shooting of the camera and verifying consistency of the first image and a preset image of the user in the first terminal device; the display unit is also used for displaying a sixth interface when the first image is consistent with the image of the user preset in the first terminal device; the sixth interface is an interface displayed by the first terminal device before the first terminal device closes the display screen.
In a sixth aspect, an embodiment of the present application provides an apparatus for controlling opening and closing of a terminal device, where the apparatus includes: a communication unit configured to receive a first request from a first terminal device; the processing unit is used for responding to the first request and establishing equipment connection with the first terminal equipment; and the communication unit is also used for sending the first information to the first terminal equipment.
In a possible implementation manner, the communication unit is further configured to receive first indication information from the first terminal device; the first indication information is used for indicating the second terminal equipment to carry out identity authentication; the display unit is also used for displaying a first interface; the first interface is an identity verification interface and comprises a first control used for allowing the first terminal equipment to control the first part to be closed; the processing unit is also used for receiving a second operation of selecting the first control; the communication unit is used for responding to the second operation and sending a second indication message to the first terminal equipment; the second indication information is used for indicating that the second terminal equipment passes the identity authentication.
In a possible implementation manner, the communication unit is further configured to receive third indication information from the first terminal device; the third indication information is used for indicating the second terminal equipment to carry out identity authentication; the display unit is also used for displaying a second interface; the second interface is an identity authentication interface and comprises a first area for collecting fingerprint information; a processing unit further for receiving first fingerprint information in the first area; when the second terminal device determines that the first fingerprint information is consistent with the fingerprint information preset in the second terminal device, the communication unit is further configured to send a fourth indication message to the first terminal device; the fourth indication information is used for indicating that the second terminal equipment passes the identity authentication.
In a seventh aspect, an embodiment of the present application provides an apparatus for controlling opening and closing of a terminal device, including a processor and a memory, where the memory is used to store code instructions; the processor is configured to execute the code instructions to cause the electronic device to perform the method for controlling the opening and closing of the terminal device as described in the first aspect or any implementation manner of the first aspect, the method for controlling the opening and closing of the terminal device as described in the second aspect or any implementation manner of the second aspect, or the method for controlling the opening and closing of the terminal device as described in the third aspect or any implementation manner of the third aspect.
In an eighth aspect, the present application provides a computer-readable storage medium storing instructions that, when executed, cause a computer to perform a method for controlling opening and closing of a terminal device as described in the first aspect or any implementation manner of the first aspect, a method for controlling opening and closing of a terminal device as described in the second aspect or any implementation manner of the second aspect, or a method for controlling opening and closing of a terminal device as described in any implementation manner of the third aspect or the third aspect.
A ninth aspect is a computer program product comprising a computer program which, when executed, causes a computer to perform a method of controlling opening and closing of a terminal device as described in the first aspect or any implementation of the first aspect, a method of controlling opening and closing of a terminal device as described in the second aspect or any implementation of the second aspect, or a method of controlling opening and closing of a terminal device as described in any implementation of the third aspect or any implementation of the third aspect.
It should be understood that the fourth aspect to the ninth aspect of the present application correspond to the technical solutions of the first aspect to the third aspect of the present application, and the beneficial effects obtained by the aspects and the corresponding possible embodiments are similar and will not be described again.
Drawings
Fig. 1 is a schematic view of a scenario provided in an embodiment of the present application;
fig. 2 is a schematic view of another scenario provided in the embodiment of the present application;
fig. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a method for controlling opening and closing of a terminal device according to an embodiment of the present application;
fig. 5 is a schematic interface diagram of a device connection provided in an embodiment of the present application;
fig. 6 is a schematic interface diagram of bluetooth device management according to an embodiment of the present application;
fig. 7 is a schematic interface diagram of identity authentication provided in an embodiment of the present application;
fig. 8 is a schematic diagram illustrating a determination of an opening and closing angle based on a position of a human face according to an embodiment of the present application;
fig. 9 is a scene schematic diagram of face recognition according to an embodiment of the present application;
fig. 10 is a schematic view of a scenario in which a terminal device is controlled based on a wearable device according to an embodiment of the present application;
fig. 11 is a scene schematic diagram of controlling a terminal device based on a gesture according to an embodiment of the present application;
fig. 12 is an interface schematic diagram for setting a switching mode of a terminal device according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a notebook computer according to an embodiment of the present disclosure;
fig. 14 is a schematic view of an opening and closing structure 1309 according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of an apparatus for controlling opening and closing of a terminal device according to an embodiment of the present application;
fig. 16 is a schematic hardware structure diagram of a control device according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of a chip according to an embodiment of the present application.
Detailed Description
In the embodiments of the present application, terms such as "first" and "second" are used to distinguish the same or similar items having substantially the same function and action. For example, the first value and the second value are only used to distinguish different values, and the order of the values is not limited. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.
It is noted that, in the present application, words such as "exemplary" or "for example" are used to mean exemplary, illustrative, or descriptive. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a and b, a and c, b and c, or a, b and c, wherein a, b and c can be single or multiple.
With the popularization and development of the internet, the functional requirements of people for electronic equipment are diversified. For example, in order to meet the requirements of users for computers in different scenes, a foldable notebook computer enters the daily life of people, and the notebook computer is folded by opening and closing a flip cover of the notebook computer, so that the notebook computer is more convenient to carry.
Exemplarily, fig. 1 is a schematic view of a scenario provided in an embodiment of the present application. As shown in fig. 1, a laptop 101 and a user 105 may be included in the scenario. The notebook computer 101 includes a lid 102 and a base 103, and the base 103 is provided with a keyboard, a power button 104, and the like.
In general, when the user 105 uses the notebook computer 101, the lid 102 of the notebook computer 101 may be opened, and the power-on button 104 may be triggered to open the screen display of the notebook computer 101. When the user temporarily leaves, in order to ensure that the content displayed on the screen of the notebook computer 101 is not leaked during the process that the user 105 does not use the notebook computer 101 temporarily, the user can close the flip 102 of the notebook computer 101 under normal conditions. Further, when the user 105 wants to use the notebook computer 101 again, the flip 102 of the notebook computer 101 may be opened again, the flip 102 is adjusted to a suitable angle for use, and the power-on button 104 is triggered again, so that the notebook computer 101 may display the initial interface.
However, the above method for controlling the opening and closing of the notebook computer requires the user to perform manual operations for many times, which is a complicated process.
In view of this, an embodiment of the present application provides a method for controlling opening and closing of a terminal device, and fig. 2 is a diagram illustrating another scenario provided by the embodiment of the present application. In the embodiment corresponding to fig. 2, the terminal device is exemplified as a notebook computer. As shown in fig. 2, the scene may include a smart band 201 and a notebook computer 202.
As shown in fig. 2, the opening and closing of the notebook computer 202 may be controlled by a wearable device connected to the notebook computer 202, such as a smart band 201 worn by a user. For example, the notebook computer 202 may establish a communication connection with the smart bracelet 202 in advance, and when the notebook computer 202 detects that the distance between the smart bracelet 201 and the notebook computer 202 is less than or equal to the distance threshold, the notebook computer 202 may open the flip cover and intelligently adjust the opening and closing angle corresponding to the smart watch 201; or, when the notebook computer 202 detects that the distance between the smart watch 201 and the notebook computer 202 is greater than the distance threshold, the notebook computer 202 may close the flip, and this method of controlling the opening and closing of the notebook computer 202 may avoid the cumbersome operation of the user, and simplify the manner of opening or closing the notebook computer.
It can be understood that the terminal device described in the embodiment of the present application is not limited to a notebook computer, and may also be other terminal devices with an opening and closing capability, and the embodiment of the present application does not limit the specific technology and the specific device form adopted by the terminal device.
In order to better understand the embodiments of the present application, the following describes the structure of the terminal device according to the embodiments of the present application. Exemplarily, fig. 3 is a schematic structural diagram of a terminal device provided in an embodiment of the present application.
The terminal device may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a sensor module 180, a key 190, an indicator 192, a camera 193, a display 194, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiments of the present application does not constitute a specific limitation to the terminal device. In other embodiments of the present application, a terminal device may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components may be used. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units. The different processing units may be separate devices or may be integrated into one or more processors. A memory may also be provided in processor 110 for storing instructions and data.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the terminal device, and may also be used to transmit data between the terminal device and the peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. The power management module 141 is used for connecting the charging management module 140 and the processor 110.
The wireless communication function of the terminal device can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Antennas in terminal devices may be used to cover single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied on the terminal device. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation.
The wireless communication module 160 may provide a solution for wireless communication applied to a terminal device, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), and the like.
The terminal device realizes the display function through the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. In some embodiments, the terminal device may include 1 or N display screens 194, with N being a positive integer greater than 1.
The terminal device can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, the application processor, and the like.
The camera 193 is used to capture still images or video. In some embodiments, the terminal device may include 1 or N cameras 193, N being a positive integer greater than 1.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the storage capability of the terminal device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area.
The terminal device may implement an audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The terminal device can listen to music through the speaker 170A, or listen to a handsfree call. The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the terminal device answers a call or voice information, it is possible to answer a voice by bringing the receiver 170B close to the human ear. The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The gyro sensor 180B may be used to determine the motion attitude of the terminal device. The air pressure sensor 180C is used to measure air pressure. The magnetic sensor 180D includes a hall sensor. The acceleration sensor 180E can detect the magnitude of acceleration of the terminal device in various directions (generally, three axes). A distance sensor 180F for measuring a distance. The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The ambient light sensor 180L is used to sense the ambient light level. The fingerprint sensor 180H is used to collect a fingerprint. The temperature sensor 180J is used to detect temperature. The touch sensor 180K is also called a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The bone conduction sensor 180M may acquire a vibration signal.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The terminal device may receive a key input, and generate a key signal input related to user setting and function control of the terminal device. Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The software system of the terminal device may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, a cloud architecture, or the like, and the embodiment of the present application takes an android system of a layered architecture as an example to exemplarily illustrate a software structure of the terminal device.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following embodiments may be implemented independently or in combination, and details of the same or similar concepts or processes may not be repeated in some embodiments.
In the embodiment of the application, the terminal equipment can determine the opening and closing mode of the terminal equipment by utilizing the distance between the wearable equipment and the terminal equipment, when the distance between the wearable equipment and the terminal equipment is short, the terminal equipment can be automatically opened, and when the distance between the wearable equipment and the terminal equipment is long, the terminal equipment can be automatically closed. For example, in a scene that a user wears the smart bracelet and the notebook computer is connected with the smart bracelet, when the user goes out to receive water when using the notebook computer and the notebook computer detects that the smart bracelet is far away from the notebook computer, the notebook computer can automatically close the cover; when the user finishes receiving water and approaches the notebook computer, and the notebook computer detects that the user is close to the notebook computer, the notebook computer can automatically open the cover and display the interface displayed by the notebook computer before closing the cover.
Exemplarily, fig. 4 is a schematic diagram of a method for controlling opening and closing of a terminal device according to an embodiment of the present application. As shown in fig. 4, the method may include the steps of:
s401, the terminal device sends a device connection request to the wearable device.
Suitably, the wearable device receives a device connection request sent by the terminal device.
Fig. 5 is a schematic interface diagram of a device connection according to an embodiment of the present disclosure. In the embodiment corresponding to fig. 5, the terminal device is a notebook computer, and the wearable device is an intelligent bracelet, which is not limited to the embodiment of the present application.
When the notebook computer receives an operation of triggering the bluetooth connection control by the user, the notebook computer may display an interface as shown in fig. 5, where the interface includes a prompt box 504, and devices that can be connected and are searched by the notebook computer, such as the smart band 501, the smart phone 502, and the smart watch 503, are displayed in the prompt box 504. As shown in the interface of fig. 5, when the notebook computer receives an operation that the user triggers the control corresponding to the smart bracelet 501, the notebook computer may send a device connection request to the smart bracelet 501.
S402, the wearable device sends a message for agreeing to establish device connection with the terminal device to the terminal device.
Suitably, the terminal device may receive a message sent by the wearable device to agree to establish a device connection with the terminal device.
For example, in response to a device connection request sent by the terminal device, when the wearable device receives a user operation for a control for agreeing to establish a device connection with the terminal device, the wearable device may send a message to the terminal device agreeing to the connection.
And S403, the terminal device determines the distance between the wearable device and the terminal device based on the signal strength of the wearable device.
For example, the terminal device may obtain the position information of the wearable device and the terminal device based on a short-range communication positioning technology, such as infrared positioning, ultrasonic positioning, bluetooth positioning, Radio Frequency Identification (RFID) positioning, and the like, to determine the distance between the wearable device and the terminal device. For example, the terminal device may detect a signal strength of a wearable device establishing a connection with the terminal device, and determine a distance between the wearable device and the terminal device based on the signal strength.
It can be understood that the method for determining the distance between the wearable device and the terminal device may include other contents according to an actual scenario, which is not limited in this embodiment of the application.
S404, under the condition that the flip of the terminal equipment is opened, when the terminal equipment detects that the distance between the wearable equipment and the terminal equipment exceeds a distance threshold value, the terminal equipment controls to close the flip of the terminal equipment and/or screen display of the terminal equipment.
Closing (or referred to as closing) the flip of the terminal device may be understood as controlling an angle between the flip and the base of the terminal device to be smaller than an angle threshold. The turning off of the screen display of the terminal device may be understood as the screen displaying, the black screen displaying, or the entering of the terminal device into a sleep state. The distance threshold may be set by a user or determined by other means, which is not limited in the embodiment of the present application.
In a possible implementation manner, when the terminal device detects that the distance between the wearable device and the terminal device exceeds a distance threshold, the terminal device may send an indication message to the wearable device, the wearable device receives the indication message and displays an interface for identity authentication, the wearable device receives an operation of identity authentication performed by a user and verifies identity information of the user, when the wearable device detects that the identity of the user is consistent with a preset identity of the user, a message for agreeing to the terminal device to control opening and closing can be sent to the terminal device, and then the terminal device can control closing of a flip of the terminal device and/or screen display of the terminal device. The user can perform user identity authentication through methods such as fingerprint or user information input.
In a possible implementation manner, the terminal device may also determine opening and closing of the flip of the terminal device based on the magnitude of the signal strength of the wearable device. For example, when the signal strength is greater than the strength threshold, the terminal device controls to open a flip of the terminal device and/or a screen display of the terminal device; and when the signal strength is less than or equal to the strength threshold value, the terminal equipment controls to close the flip cover of the terminal equipment and/or the screen display of the terminal equipment.
S405, under the condition that the turning cover of the terminal equipment is closed, when the terminal equipment detects that the distance between the wearable equipment and the terminal equipment is smaller than or equal to the distance threshold, the terminal equipment controls to open the turning cover of the terminal equipment and/or the screen display of the terminal equipment.
Opening (or called opening) the flip cover of the terminal equipment can be understood as controlling the angle adjustment of the flip cover and the base of the terminal equipment to be a preset angle; opening the screen display of the terminal device may be understood as that the terminal device may display the content displayed before closing the flip, or display an opening interface of the terminal device.
In a possible implementation manner, when the terminal device detects that the distance between the wearable device and the terminal device is less than or equal to the distance threshold, the terminal device instructs the wearable device to perform the identity authentication process, which is similar to the process of performing the identity authentication in the step shown in S404 and is not described herein again.
On the basis of opening the flip cover and/or the screen display of the terminal equipment, the opening and closing angle of the terminal equipment can be further controlled.
In one implementation, the corresponding relation between the opening angles of the wearable device and the terminal device set by a user can be stored in the terminal device, and when the terminal device detects the wearable device, the terminal device can control the flip cover for opening the terminal device and set the flip cover at a preset angle.
Fig. 6 is an interface schematic diagram of bluetooth device management according to an embodiment of the present disclosure. In the embodiment corresponding to fig. 6, the terminal device is taken as a notebook computer for illustration, and this illustration does not constitute a limitation to the embodiment of the present application.
When the notebook computer receives an operation of a user for opening an interface for setting bluetooth device management in the laptop opening and closing mode, the notebook computer may display the interface as shown in a in fig. 6, where the interface may include an adding device control 601 and a connected device 602, and the adding device control 601 may be used to add a device for controlling opening and closing of the notebook computer; a plurality of devices that can be used to control opening and closing of the notebook computer, such as a smart band control 603 and a smart phone 604 control, may be displayed in the connected device 602.
As shown in an interface a in fig. 6, when the notebook computer receives an operation that the user triggers the smart bracelet control 603, a delete device control 605 and a set opening angle control 606 may be displayed around the smart bracelet control 603. Further, when the notebook computer receives an operation of triggering the start angle setting control 606 by the user, the notebook computer may display an interface as shown in b in fig. 6, the interface may include a prompt box 607, a text box for setting the start angle of the notebook computer may be displayed in the prompt box 607, and a notice, for example, the notice may be: the opening angle must not exceed 180 degrees.
As shown in b of fig. 6, when the notebook computer receives an operation of inputting an opening angle of the notebook computer by a user, for example, inputting the opening angle as 100 degrees, and triggers the saving setting control 608, the notebook computer may save the mapping relationship between the smart band 603 and the opening angle. Furthermore, when the notebook computer detects that the distance between the smart band 603 and the notebook computer is within the distance threshold, the flip cover of the notebook computer can be opened, and the angle between the flip cover and the base is controlled to be 100 degrees.
In another implementation, the terminal device can learn the setting habit of the user for the opening and closing angle for multiple times, the preference of the user for the opening and closing angle is obtained, and when the terminal device detects the wearable device, the terminal device can control the flip cover for opening the terminal device and set the flip cover at the preferred angle of the user.
Based on the above, the terminal device not only can realize automatic cover turning, but also can provide different opening and closing angles aiming at different users in a personalized manner, and the use requirements of the users on the cover turning functions of the terminal device are met.
On the basis of the embodiment corresponding to fig. 4, in a possible implementation manner, in the step shown in S405, after the terminal device opens the flip and/or the screen display, the re-authentication may also be performed based on the identity of the user.
Fig. 7 is a schematic interface diagram of identity authentication provided in an embodiment of the present application. In the embodiment corresponding to fig. 7, the terminal device is taken as a notebook computer for illustration, and this illustration does not constitute a limitation to the embodiment of the present application.
For example, the user may preset a password for authentication in the notebook computer. When the notebook computer closes the turning cover and displays the screen, the notebook computer can open the identity authentication of the user. Further, after the notebook computer opens the flip cover and the screen display, the notebook computer may display an authentication interface as shown in fig. 7, in which a user's head portrait, a user name such as user a, and an input box 701 for authentication may be displayed. When the notebook computer receives an operation of inputting a password by a user in the input box 701, the notebook computer may verify consistency of the input password and a password preset by the user, and when the input password is consistent with the password preset by the user, the notebook computer may display an interface displayed before the flip of the notebook computer is closed.
In a possible implementation manner, the terminal device may also authenticate the identity of the user based on face recognition. The description is given by taking the terminal device as a notebook computer as an example. For example, a user may preset an image for authentication in a laptop computer, and after the laptop computer closes the flip cover and the screen display, the laptop computer may open the authentication of the user. For example, after the notebook computer opens the flip cover and displays the screen, the notebook computer may display an interface for identity authentication as shown in fig. 7, the notebook computer may acquire a face image based on the camera 702, and further verify the consistency of the face image and an image for identity authentication preset by the user, and when the face image is consistent with the image for identity authentication preset by the user, the notebook computer may display the interface displayed before the flip cover of the notebook computer is closed.
Based on the method, the terminal equipment can further ensure that the privacy data of the user is not revealed based on the identity authentication of the user on the basis of realizing automatic cover turning.
On the basis of the embodiment corresponding to fig. 4, in a possible implementation manner, after S405, the method further includes: the terminal equipment can acquire the position of the user based on the camera, and the opening and closing angle of the terminal equipment is adjusted according to the position of the user. The opening and closing angle can be understood as an angle formed between a flip cover of the terminal device and a base of the terminal device.
Exemplarily, fig. 8 is a scene schematic diagram for determining an opening and closing angle based on a position of a human face according to an embodiment of the present application. In the embodiment corresponding to fig. 8, taking the terminal device as the notebook computer 802 as an example for illustration, the notebook computer 802 is provided with the camera 803, and the notebook computer 802 can identify the position of the user 801 (or the eyes of the user 901) by using the camera 803, and adjust the opening and closing angle of the notebook computer 802 based on the difference of the position of the user 801.
In the scenario shown in a in fig. 8, the camera 803 may capture a picture in front of the display screen of the notebook computer 802 and transmit the picture to the notebook computer 802, and the notebook computer 802 may determine the location of the user 801 based on the picture captured by the camera 803. For example, when the user maintains an upright sitting posture, the laptop 803 may detect that the eyes of the user 801 are in the middle of the screen based on the camera 803, and the laptop 803 may maintain the current opening and closing angle.
As shown in b of fig. 8, when the user 801 is adjusted from the upright sitting posture to a semi-lying sitting posture, since the height corresponding to the eyes of the user 801 may be lower when the user 801 is semi-lying on the stool, and the height corresponding to the eyes of the user 801 in the upright sitting posture is higher, the laptop 803 may detect that the user 801 is currently in a downward position on the screen based on the camera 803, and the laptop 802 may adjust a smaller opening and closing angle, so as to ensure that the user 801 can see the content displayed by the laptop 802 when semi-lying.
For example, the notebook computer 801 may acquire data of a corresponding relationship between a large number of user's sitting postures (or positions of eyes of the user in the sitting postures) and the opening and closing angles of the notebook computer when the sitting postures are maintained, and obtain the opening and closing angles corresponding to the user's sitting postures based on further learning of the large number of data. When the laptop 801 detects the sitting posture of the user, the user can be provided with an appropriate opening and closing angle based on the learned data.
In a possible implementation manner, when the notebook computer 802 detects that the user keeps a sitting posture for a long time based on the camera 803, a prompt message for prompting the user to adjust the sitting posture appropriately may be displayed on the display screen of the notebook computer 802.
Based on the method, the terminal equipment can determine the position of the user based on the camera, flexibly adjust the opening and closing angle of the terminal equipment according to the position of the user, avoid repeated operation of the user and enable the terminal equipment to be more intelligent.
Except that the terminal device can control the opening and closing of the terminal device based on the distance of the wearable device connected with the terminal device in the embodiment corresponding to fig. 4. In a possible implementation manner, the method for controlling the opening and closing of the terminal device may further include the following steps: in the first method, the terminal equipment can control the opening and closing of the terminal equipment based on face recognition; in the second method, the terminal device can control the opening and closing of the terminal device based on an Application (APP) or a button in the wearable device; the terminal equipment can control the opening and closing of the terminal equipment based on the gestures; or in the fourth method, the terminal device may control the opening and closing of the terminal device based on voice.
The method comprises the following steps: the terminal equipment can control the opening and closing of the terminal equipment based on face recognition.
Exemplarily, fig. 9 is a scene schematic diagram of face recognition provided in an embodiment of the present application. In the embodiment corresponding to fig. 9, the terminal device is exemplified as a notebook computer, and this example does not limit the embodiment of the present application. In the scenario shown in a in fig. 9, a camera 904 is disposed on a side of the base of the notebook computer 902; as shown in b in fig. 9, the scene may include a user 901 and a notebook computer 902, and a camera 903 is disposed on an upper side of a display screen of the notebook computer 902. The camera 903 and the camera 904 may be binocular cameras.
In one implementation, the terminal device can identify an image shot by the camera, determine whether the image contains a human face or a human figure and the like, and further control the opening and closing of the terminal device. As shown in an interface a in fig. 9, in a state that the folder of the notebook computer 902 is closed, when the notebook computer 902 recognizes that the image includes a human face or a human figure, for example, the user 901, based on the camera 904, the notebook computer 902 may control to open the folder of the notebook computer 902 and/or open a screen display of the notebook computer 902. Or, as shown in b in fig. 9, in a state that the folder of the notebook computer 902 is opened, when the notebook computer 902 recognizes that there is no human face or human shape in the picture based on the camera 904 and/or the camera 903, the notebook computer 902 may control to close the folder of the notebook computer 902 and/or close the screen display of the notebook computer 902.
In another implementation, the terminal device may recognize an image shot by the camera, and when it is determined that the image includes a human face or a human figure, the distance between the human figure in the picture and the terminal device may be further determined, so as to control opening and closing of the terminal device based on the distance. For example, in a state that the flip of the terminal device is closed, when the terminal device recognizes that the picture includes a human face or a human figure based on the camera, and recognizes that a distance between the human face or the human figure and the terminal device is smaller than a distance threshold based on the picture, the flip of the terminal device may be controlled to be opened and/or a screen display of the terminal device may be opened. Or, in the case that the flip of the terminal device is opened, when the terminal device recognizes that a face or a human shape does not exist in the picture based on the camera, or the face or the human shape exists in the picture, but the distance between the face or the human shape and the terminal device is recognized to be greater than or equal to the distance threshold based on the picture, the terminal device may control to close the flip of the terminal device and/or close the screen display of the terminal device.
In another implementation, the terminal device may recognize an image captured by the camera, and when it is determined that the image includes a face, it may be further determined whether the face recognized in the picture is consistent with a user image pre-stored in the terminal device. For example, in a state that the flip of the terminal device is closed, when the terminal device recognizes that the picture contains a human face or a human figure based on the camera, and confirms that the human face recognized based on the picture is consistent with a user image stored in the terminal device in advance, the flip of the terminal device may be controlled to be opened and/or the screen display of the terminal device may be controlled to be opened. Or, when the flip of the terminal device is opened, when the terminal device recognizes that no face or human shape exists in the picture based on the camera, or the face or human shape exists in the picture, but it is determined that the face recognized based on the picture is not consistent with the user image pre-stored in the terminal device, the terminal device may control to close the flip of the terminal device and/or close the screen display of the terminal device.
On the basis of the three implementations, in a possible implementation manner, the user may also set the opening and closing angle of the terminal device corresponding to the user image for face recognition in the terminal device. For example, when the face of the terminal device in the picture captured by the camera is consistent with the user image pre-stored in the terminal device, the flip of the terminal device may be opened and the opening and closing angle of the terminal device may be adjusted to the angle pre-set by the user.
Based on the method, the terminal equipment can determine the opening and closing mode of the terminal equipment based on face recognition, so that repeated operation of a user can be avoided, and the terminal equipment is more intelligent.
In the second method, the terminal device can control the opening and closing of the terminal device based on the APP or the button in the wearable device.
In the embodiment of the application, the wearable device may include an application program or a button for controlling an opening and closing mode of the terminal device, and the terminal device may control opening and closing of the terminal device based on an APP or the button in the wearable device.
Fig. 10 is a schematic view of a scenario in which a terminal device is controlled based on a wearable device according to an embodiment of the present application. In the embodiment corresponding to fig. 10, the terminal device is a notebook computer, and the wearable device is an intelligent bracelet, which is not limited to the embodiment of the present application.
As shown in fig. 10, the scene includes a notebook computer 1001 and an intelligent bracelet 1002, a button 1005 may be disposed in the intelligent bracelet 1002, and the button 1005 may be used to control opening and closing of the notebook computer 1001.
In one implementation, as shown in fig. 10, when the terminal device and the wearable device establish a device connection and the distance between the terminal device and the wearable device is within a distance threshold, the opening and closing of the notebook computer 1001 may be controlled by a button 1005 in the smart band 1002. For example, the user may set an operation method for turning on and off the notebook computer 1001 by using the button 1005 in the smart bracelet in advance, and for example, may turn on or off the notebook computer 1001 by pressing the button 1005 for at least 5 seconds.
For example, in a case that the folder of the notebook computer 1001 is closed, when the smart band 1002 receives a long-press operation of the button 1005 by the user for 6 seconds, the smart band 1002 may send an instruction for opening the folder to the notebook computer 1001, and the notebook computer 1001 receives the instruction and opens the folder; or, in the case that the folder of the notebook computer 1001 is opened, when the smart band 1002 receives a long-press operation of the button 1005 for 7 seconds, the smart band 1002 may send an instruction for closing the folder to the notebook computer 1001, and the notebook computer 1001 receives the instruction and closes the folder.
In another implementation, as shown in fig. 10, when the terminal device and the wearable device establish a device connection, and a distance between the terminal device and the wearable device exceeds a distance threshold, an APP for controlling the opening and closing of the notebook computer 1001 in the smart bracelet 1002 may also be used, for example, an interface of the APP may include an opening control 1003 for controlling the opening of the flip of the notebook computer 1001, and a closing control 1003 for controlling the closing of the flip of the notebook computer 1001.
Under the condition that the flip cover of the notebook computer 1001 is closed, when the smart bracelet 1002 receives an operation of a user for opening the control 1004, the smart bracelet 1002 can send an instruction for opening the flip cover to the notebook computer 1001, and the notebook computer 1001 receives the instruction and opens the flip cover; or, when the smart band 1002 receives an operation of the user on the closing control 1003 when the flip of the notebook computer 1001 is opened, the smart band 1002 may send an instruction for closing the flip to the notebook computer 1001, and the notebook computer 1001 receives the instruction and closes the flip.
It can be understood that the method for controlling the opening and closing of the terminal device by using the wearable device may include other contents according to an actual scene, which is not limited in this embodiment of the application.
Based on this, no matter how far away between user and the terminal equipment, all through the opening and shutting of control terminal equipment such as button and APP in the wearable equipment that the user wore, can avoid user's multiple operation for terminal equipment has more intelligent.
And in the third method, the terminal equipment can control the opening and closing of the terminal equipment based on the gesture.
Fig. 11 is a schematic view of a scene for controlling a terminal device based on a gesture according to an embodiment of the present disclosure. In the embodiment corresponding to fig. 11, a terminal device is taken as an example for illustration, and this example does not constitute a limitation to the embodiment of the present application.
In this embodiment, a user may set a gesture for controlling the opening and closing of the notebook computer 1102 in the notebook computer 1102, for example, the gesture for opening five fingers may control the opening of the flip cover of the notebook computer 1102, and the gesture for upward thumb may control the closing of the flip cover of the notebook computer 1102.
As shown in fig. 11, the scene may include a notebook 1102, a camera 1103 disposed on a side of the notebook, and a five-finger open gesture 1101. For example, in a case that the folder of the laptop 1102 is closed, when the laptop 1102 recognizes the five-finger opening gesture 1101 based on the camera 1103, the laptop 1102 may open the folder and/or the screen display; alternatively, in the case that the flip of the laptop 1102 is opened, when the laptop 1102 recognizes a thumb-up gesture based on the camera 1103, the laptop 1102 may close the flip and/or the screen display.
In a possible implementation manner, in a scene where a user controls opening and closing of the terminal device by using a gesture, the wearable device may also detect a gesture of the user based on a gravity sensor and the like, and determine whether the gesture of the user is consistent with a user gesture preset in the wearable device and used for controlling opening and closing of the terminal device, when the wearable device detects that the gesture of the user is consistent with the user gesture preset in the wearable device and used for controlling opening and closing of the terminal device, the wearable device may send an indication message for controlling opening and closing of the terminal device to the terminal device, and then the terminal device may control opening and closing of a flip cover of the terminal device.
In a possible implementation manner, different gestures may also be used to control the opening and closing angles of the terminal device, and the method refers to the above process of controlling the opening and closing of the terminal device by using gestures, which is not described herein again.
It can be understood that the gesture for controlling the terminal device to open and close may include other contents according to an actual scene, which is not limited in this embodiment of the application.
Based on the method, the terminal equipment can flexibly control the opening and closing of the terminal equipment based on the gesture, and multiple operations of a user can be avoided, so that the terminal equipment is more intelligent.
And in the fourth method, the terminal equipment can control the opening and closing of the terminal equipment based on voice.
In the embodiment of the present application, a terminal device is taken as an example for explanation, and the example does not limit the embodiment of the present application. For example, a user may set a voice instruction for controlling the opening and closing of the notebook computer in the notebook computer, for example, the voice instruction for "opening" or "opening the flip" controls the opening of the flip of the notebook computer, and the voice instruction for "closing" or "closing the flip" controls the closing of the flip of the notebook computer.
For example, in the case that the folder of the notebook computer is closed, when the notebook computer recognizes an "open" voice command based on the processor, the notebook computer may open the folder and/or the screen display; alternatively, in the case where the folder of the notebook computer is opened, the notebook computer may close the folder and/or the screen display when the notebook computer recognizes a voice command of "close" based on the processor.
In a possible implementation manner, different voices can also be used to control the opening and closing angles of the terminal device, and the method refers to the above process of controlling the opening and closing of the terminal device by voices, and is not described herein again.
It can be understood that the voice for controlling the terminal device to open and close may include other contents according to an actual scene, which is not limited in this embodiment of the application.
Based on the method, the terminal equipment can flexibly control the opening and closing of the terminal equipment based on voice, so that repeated operation of a user can be avoided, and the terminal equipment is more intelligent.
On the basis of the above embodiment corresponding to fig. 4 and the embodiments corresponding to the first to fourth methods, in a possible implementation manner, the opening and closing of the terminal device may also be controlled by combining any one or more of the above methods.
Exemplarily, fig. 12 is an interface schematic diagram for setting a terminal device opening and closing mode according to an embodiment of the present application. In the embodiment corresponding to fig. 12, a terminal device is taken as an example to be described as a notebook computer, and this example does not limit the embodiment of the present application.
When the notebook computer receives an operation of opening the interface for setting the opening and closing manner of the notebook computer by the user, the notebook computer may display the interface as shown in fig. 12. As shown in fig. 12, the interface may include various ways for controlling the opening and closing of the notebook computer, such as face recognition 1201 based, bluetooth device 1202 based, voice command 1203 based, gesture based opening 1204, gesture based closing 1205, and the like. The interface may include controls for setting the multiple opening and closing modes by the user, for example, a photo control 1205 corresponding to face recognition 1201 and requesting to upload a photo, a bluetooth device 1202, a bluetooth device management control 1206 corresponding to the face recognition, a voice instruction setting control 1207 corresponding to a voice instruction 1203, a control for setting five fingers to be opened corresponding to gesture opening 1204, a control for setting a thumb to face upward, and other opening gesture controls 1208 for inputting. A save settings control 1209 may also be included in the interface.
As shown in fig. 12, when the notebook computer receives an operation that the user selects the corresponding control based on the gesture opening 1204 and receives an operation that the user selects the control with the five fingers opened, the notebook computer may open the five fingers as a gesture for opening the notebook computer in response to the above operations. The process of controlling the opening of the flip cover of the notebook computer based on the gesture is described in the embodiment corresponding to fig. 11, and is not described herein again.
As shown in fig. 12, when the notebook computer receives an operation that the user selects face recognition based 1201, and receives an operation that triggers a request to upload a photo control 1205 for face recognition, and receives a user selection voice-based instruction 1203, and receives an operation that triggers a voice instruction setting 1207 for setting a voice instruction for controlling opening and closing, the notebook computer may control opening and closing of the notebook computer based on the face recognition and/or voice instruction of the camera.
Based on this, the terminal equipment can control the opening and closing of the terminal equipment based on multiple implementation modes and multiple dimensions, and multiple operations of a user can be avoided, so that the terminal equipment is more intelligent.
It is understood that the interface described in the embodiments of the present application is only an example, and is not intended to further limit the embodiments of the present application.
The method provided by the embodiment of the present application is explained above with reference to fig. 4 to 12, and the structure provided by the embodiment of the present application for performing the method is described below. Fig. 13 is a schematic structural diagram of a notebook computer according to an embodiment of the present disclosure. In the embodiment corresponding to fig. 13, the terminal device is exemplified as a notebook computer, and this example does not limit the embodiment of the present application.
As shown in fig. 13, the notebook computer may include a flip 1306, a base 1308, and a connection 1311. Wherein, a display 1307 and a camera 1305 are arranged in the flip cover 1306. The surface of the base 1308 is provided with a keyboard, a touch screen, a start button and the like, and the inside of the base 1301 is provided with a mainboard, a hard disk, an internal memory, a display card and the like of a notebook computer.
The lid 1306 and the base 1308 are connected by a connecting device 1311, for example, the connecting device 1311 may include: a fixed shaft 1301, a bolt 1302, a movable shaft 1303, a bolt 1305, a fixed shaft 1304, and the like. In the coupling device 1311, the fixed shaft 1301 is coupled to the moving shaft 1303 via a pin 1302, and the fixed shaft 1304 is coupled to the moving shaft 1303 via a pin. The moving shaft 1303 has a core 1310 and a core 1312 inside, and the core 1310 and the core 1312 may be combined into a single core. The fixed shaft 1301 and the fixed shaft 1304 are connected to the base 1308, and the movable shaft 1303 is connected to the flip 1306.
The connecting device 1311 may further include an opening and closing structure 1309, where the opening and closing structure 1309 is used to control the opening and closing of the flip cover of the notebook computer.
Exemplarily, fig. 14 is a schematic view of an opening and closing structure 1309 provided in the embodiment of the present application. As shown in fig. 14, the opening and closing structure 1309 can include one or more of the following: motor 1401, motor output shaft 1402, gear 1403, gear 1404, and shaft core 1405, etc. The motor 1401 is connected with a gear 1403 through a motor output shaft 1402, the gear 1403 is meshed with a gear 1404, and the gear 1404 is arranged on the outer side of a shaft core 1405. The other side of the motor 1401 may be connected to a host in the terminal device. The gear 1404 may be an internal gear, or the like.
It is understood that the motor 1401 is used to perform a corresponding rotation action according to the control of the main board in the terminal device; the motor output shaft 1402 is used for connecting the motor 1401 and the gear 1403; gear 1403 is used for driving rotation of gear 1404 according to rotation of motor output shaft 1402, gear 1404 is used for controlling rotation of shaft core 1405, and then rotation of shaft core 1405 drives rotation of flip of terminal equipment, so that opening and closing of terminal equipment are achieved.
Specifically, when the terminal device receives an instruction to open or close the folder, the terminal device may be rotated by the control main unit 1401. For example, when the terminal device receives an instruction of closing the flip, and the main board in the terminal device controls the host 1401 to rotate clockwise, the motor 1401 drives the gear 1403 and the gear 1404 to rotate clockwise through the motor output shaft 1402, and the gear 1404 drives the clockwise pointer of the shaft core 1405 to rotate, thereby closing the flip; when terminal equipment receives an instruction of opening the flip cover, when a main board control host 1401 in the terminal equipment rotates anticlockwise, the motor 1401 drives the gear 1403 and the gear 1404 to rotate anticlockwise through the motor output shaft 1402, and the gear 1404 drives the reverse pointer of the shaft core 1405 to rotate, so that the flip cover is opened. For example, the rotation mode may be other, which is not limited in the embodiment of the present application.
It is understood that the motor 1401 can be disposed in the stationary shaft 1301 of the notebook computer as shown in fig. 13, and the shafts 1405 of the gears 1403 and 1404 can be disposed in the movable shaft 1303 of the notebook computer as shown in fig. 13.
It can be understood that the opening and closing structure provided in the embodiment of the present application may include other contents according to an actual scene, and this is not limited in the embodiment of the present application.
Fig. 15 is a schematic structural diagram of a device for controlling opening and closing of a terminal device according to an embodiment of the present application. As shown in fig. 15, the device for controlling the opening and closing of the terminal device may be the terminal device in the embodiment of the present application, or may be a chip or a chip system in the terminal device.
As shown in fig. 15, the apparatus 150 for controlling the opening and closing of the terminal device can be used in a communication device, a circuit, a hardware component, or a chip, and includes: a display unit 1501, a processing unit 1502, and a communication unit 1503. The display unit 1501 is used for supporting the display executed by the method for controlling the opening and closing of the terminal device; the processing unit 1502 is used for supporting the step of executing information processing by the device for controlling the opening and closing of the terminal equipment; the communication unit 1503 is used for supporting a step of controlling the device that opens and closes the terminal apparatus to perform data transmission or reception.
Specifically, when the apparatus 150 for controlling the opening and closing of the terminal device is applied to a system for controlling the opening and closing of the terminal device, the system for controlling the opening and closing of the terminal device includes: the first terminal equipment comprises a first part and a second part, the first part and the second part are connected through an opening and closing structure, and the opening and closing structure is used for adjusting the angle between the first part and the second part; the first part comprises a camera, and the device comprises: a communication unit 1503 configured to transmit the first request to the second terminal device; a processing unit 1502 configured to establish a device connection with a first terminal device in response to a first request; a communication unit 1503 further configured to send the first information to the second terminal device; the processing unit 1502 is further configured to control the first portion and the second portion to be opened or closed according to the first information; when the first part and the second part are opened, the processing unit 1502 is further configured to obtain an image of the user based on camera shooting, and detect a position of the user's eyes in the image; the processing unit 1502 is further configured to adjust an opening and closing angle of the first portion and the second portion according to a position of an eye of the user in the image.
In one possible implementation manner, the opening and closing structure comprises a motor, a motor output shaft, a first gear, a second gear and a shaft core, wherein the motor is used for receiving an instruction of the first terminal device for controlling opening and closing and determining a rotation direction according to the instruction for controlling opening and closing; the motor output shaft is used for connecting the motor and the first gear; the first gear is meshed with the second gear; the second gear is used for driving the shaft core to rotate; the shaft core is used for driving the first part to rotate.
In a possible implementation manner, when the first information satisfies a first condition and an angle between the first portion and the second portion is less than or equal to a first angle threshold, the processing unit 1502 is specifically configured to control the opening and closing structure to adjust the angle between the first portion and the second portion to a preset angle; alternatively, when the first information satisfies the first condition and the angle between the first portion and the second portion is greater than the first angle threshold, the processing unit 1502 is specifically configured to control the opening and closing structure to adjust the angle between the first portion and the second portion to be smaller than the second angle threshold.
In a possible implementation manner, the processing unit 1502 is further configured to receive a first operation of an interface for setting an opening and closing angle; in response to the first operation, a display unit 1501 for displaying a first text box; the processing unit 1502 is further configured to obtain a preset angle input in the first text box; the processing unit 1502 is further configured to obtain a corresponding relationship between the second terminal device and a preset angle.
In a possible implementation manner, the processing unit 1502 is further configured to: recording the opening and closing angle of the adjusted first part and the second part; calculating to obtain a recommended opening and closing angle of the user according to the opening and closing angles adjusted for multiple times; and modifying the preset angle into a recommended opening and closing angle.
In a possible implementation manner, the first information is first gesture information detected by the second terminal device, and the meeting of the first condition by the first information includes: the first gesture information is consistent with gesture information preset in the first terminal device.
In a possible implementation manner, the first information is information for testing signal strength, and the processing unit 1502 is further configured to test the signal strength between the first terminal device and the second terminal device according to the first information; the first information satisfying the first condition includes: the signal strength is greater than the signal strength threshold.
In a possible implementation manner, the first information is the information processing unit 1502 for testing the signal strength, and is further configured to test the signal strength between the first terminal device and the second terminal device according to the first information; the processing unit 1502 is further configured to determine a first distance between the first terminal device and the second terminal device based on the signal strength; the first information satisfying the first condition includes: the first distance is greater than a distance threshold.
In a possible implementation manner, the communication unit 1503 is further configured to send the first indication information to the second terminal device; the first indication information is used for indicating the second terminal equipment to carry out identity authentication; a display unit 1501, further configured to display a first interface; the first interface is an identity verification interface and comprises a first control used for allowing the first terminal equipment to control the first part to be closed; the processing unit 1502 is further configured to receive a second operation of selecting the first control; in response to the second operation, the communication unit 1503 is further configured to send a second indication message to the first terminal device; the second indication information is used for indicating that the second terminal equipment passes the identity authentication.
In a possible implementation manner, the communication unit 1503 is further configured to send third indication information to the second terminal device; the third indication information is used for indicating the second terminal equipment to carry out identity authentication; a display unit 1501 for displaying a second interface; the second interface is an identity authentication interface and comprises a first area for collecting fingerprint information; a processing unit 1502, further configured to obtain first fingerprint information received in the first area; when the second terminal device determines that the first fingerprint information is consistent with the fingerprint information preset in the second terminal device, the communication unit 1503 is further configured to send a fourth indication message to the first terminal device; the fourth indication information is used for indicating that the second terminal equipment passes the identity authentication.
In a possible implementation manner, the first terminal device includes a display screen, a display unit 1501, and is further configured to display a third interface; the third interface is an identity verification interface; the third interface comprises a second text box for inputting identity information; the processing unit 1502 is further configured to obtain the first identity information input in the second text box; the processing unit 1502 is further configured to verify consistency between the first identity information and identity information preset in the first terminal device; the display unit 1501 is further configured to display a fourth interface when the first identity information is consistent with identity information preset in the first terminal device; the fourth interface is an interface displayed by the first terminal device before the first terminal device closes the display screen.
In a possible implementation manner, the first terminal device includes a display screen, a display unit 1501, and is further configured to display a fifth interface; the fifth interface is an interface for identity authentication; the processing unit 1502 is further configured to obtain a first image of the user based on camera shooting, and verify consistency between the first image and a preset image of the user in the first terminal device; the display unit 1501 is further configured to display a sixth interface when the first image is consistent with an image of a user preset in the first terminal device; the sixth interface is an interface displayed by the first terminal device before the first terminal device closes the display screen.
Specifically, when the apparatus 150 for controlling opening and closing of a terminal device is applied to a first terminal device, the first terminal device includes a first portion and a second portion, the first portion and the second portion are connected by an opening and closing structure, and the opening and closing structure is used for adjusting an angle between the first portion and the second portion; the first part comprises a camera, and the device comprises: a communication unit 1503 configured to transmit the first request to the second terminal device; a communication unit 1503 further configured to receive first information from the second terminal device; the processing unit 1502 is used for controlling the first part and the second part to be opened or closed according to the first information; when the first part and the second part are opened, the processing unit 1502 is further configured to obtain an image of the user based on camera shooting, and detect a position of the user's eyes in the image; the processing unit 1502 is further configured to adjust an opening and closing angle of the first portion and the second portion according to a position of an eye of the user in the image.
In one possible implementation manner, the opening and closing structure comprises a motor, a motor output shaft, a first gear, a second gear and a shaft core, wherein the motor is used for receiving an instruction of the first terminal device for controlling opening and closing and determining a rotation direction according to the instruction for controlling opening and closing; the motor output shaft is used for connecting the motor and the first gear; the first gear is meshed with the second gear; the second gear is used for driving the shaft core to rotate; the shaft core is used for driving the first part to rotate.
In a possible implementation manner, when the first information satisfies a first condition and an angle between the first portion and the second portion is less than or equal to a first angle threshold, the processing unit 1502 is specifically configured to control the opening and closing structure to adjust the angle between the first portion and the second portion to a preset angle; alternatively, when the first information satisfies the first condition and the angle between the first portion and the second portion is greater than the first angle threshold, the processing unit 1502 is specifically configured to control the opening and closing structure to adjust the angle between the first portion and the second portion to be smaller than the second angle threshold.
In a possible implementation manner, the processing unit 1502 is further configured to receive a first operation of an interface for setting an opening and closing angle; in response to the first operation, the display unit 1501 is further configured to display a first text box; the processing unit 1502 is further configured to obtain a preset angle input in the first text box; the processing unit 1502 is further configured to obtain a corresponding relationship between the second terminal device and a preset angle.
In a possible implementation manner, the processing unit 1502 is further configured to: recording the opening and closing angle of the adjusted first part and the second part; calculating to obtain a recommended opening and closing angle of the user according to the opening and closing angles adjusted for multiple times; and modifying the preset angle into a recommended opening and closing angle.
In a possible implementation manner, the first information is first gesture information detected by the second terminal device, and the meeting of the first condition by the first information includes: the first gesture information is consistent with gesture information preset in the first terminal device.
In a possible implementation manner, the first information is information for testing signal strength, and the processing unit 1502 is further configured to test the signal strength between the first terminal device and the second terminal device according to the first information; the first information satisfying the first condition includes: the signal strength is greater than the signal strength threshold.
In a possible implementation manner, the first information is information for testing signal strength, and the processing unit 1502 is further configured to test the signal strength between the first terminal device and the second terminal device according to the first information; the processing unit 1502 is further configured to determine a first distance between the first terminal device and the second terminal device based on the signal strength; the first information satisfying the first condition includes: the first distance is greater than a distance threshold.
In a possible implementation manner, the communication unit 1503 is further configured to: sending first indication information to second terminal equipment; receiving a second indication message from the second terminal device; the second indication information is used for indicating that the second terminal equipment passes the identity authentication.
In a possible implementation manner, the first terminal device includes a display screen, a display unit 1501, and is further configured to display a third interface; the third interface is an identity verification interface; the third interface comprises a second text box for inputting identity information; the processing unit 1502 is further configured to obtain the first identity information input in the second text box; the processing unit 1502 is further configured to verify consistency between the first identity information and identity information preset in the first terminal device; the display unit 1501 is further configured to display a fourth interface when the first identity information is consistent with identity information preset in the first terminal device; the fourth interface is an interface displayed by the first terminal device before the first terminal device closes the display screen.
In a possible implementation manner, the first terminal device includes a display screen, a display unit 1501, and is further configured to display a fifth interface; the fifth interface is an interface for identity authentication; the processing unit 1502 is further configured to obtain a first image of the user based on camera shooting, and verify consistency between the first image and a preset image of the user in the first terminal device; the display unit 1501 is further configured to display a sixth interface when the first image is consistent with an image of a user preset in the first terminal device; the sixth interface is an interface displayed by the first terminal device before the first terminal device closes the display screen.
Specifically, when the apparatus 150 for controlling the opening and closing of the terminal device is applied to the second terminal device, the apparatus includes: a communication unit 1503 for receiving a first request from a first terminal device; a processing unit 1502 configured to establish a device connection with a first terminal device in response to a first request; the communication unit 1503 is further configured to send the first information to the first terminal device.
In a possible implementation manner, the communication unit 1503 is further configured to receive first indication information from the first terminal device; the first indication information is used for indicating the second terminal equipment to carry out identity authentication; a display unit 1501, further configured to display a first interface; the first interface is an identity verification interface and comprises a first control used for allowing the first terminal equipment to control the first part to be closed; the processing unit 1502 is further configured to receive a second operation of selecting the first control; in response to the second operation, the communication unit 1503 is further configured to send a second indication message to the first terminal device; the second indication information is used for indicating that the second terminal equipment passes the identity authentication.
In a possible implementation manner, the communication unit 1503 is further configured to receive third indication information from the first terminal device; the third indication information is used for indicating the second terminal equipment to carry out identity authentication; a display unit 1501, further configured to display a second interface; the second interface is an identity authentication interface and comprises a first area for collecting fingerprint information; a processing unit 1502 for receiving first fingerprint information in a first area; when the second terminal device determines that the first fingerprint information is consistent with the fingerprint information preset in the second terminal device, the communication unit 1503 is further configured to send a fourth indication message to the first terminal device; the fourth indication information is used for indicating that the second terminal equipment passes the identity authentication.
In a possible embodiment, the apparatus for controlling the terminal device to open and close may further include: a memory cell 1504. The processing unit 1502 and the storage unit 1504 are connected by a line.
The storage unit 1504 may include one or more memories, which may be devices in one or more devices or circuits for storing programs or data.
The storage unit 1504 may be separately provided and connected to the processing unit 1502 included in the apparatus for controlling the opening and closing of the terminal device through a communication line. The memory unit 1504 may also be integrated with the processing unit 1502.
The communication unit 1503 may be an input or output interface, a pin or a circuit, etc. For example, the memory unit 1504 may store computer-executable instructions for a method of a radar or target device to cause the processing unit 1502 to perform the method of the radar or target device in the above-described embodiments. The storage unit 1504 may be a register, a cache, a RAM, or the like, and the storage unit 1504 may be integrated with the processing unit 1502. The storage unit 1504 may be a ROM or other type of static storage device that may store static information and instructions, and the storage unit 1504 may be separate from the processing unit 1502.
Fig. 16 is a schematic diagram of a hardware structure of a control device according to an embodiment of the present disclosure, and as shown in fig. 16, the control device includes a processor 1601, a communication line 1604, and at least one communication interface (an exemplary communication interface 1603 in fig. 16 is taken as an example for explanation).
The processor 1601 may be a general processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more ics for controlling the execution of programs in accordance with the present disclosure.
The communication lines 1604 may include circuitry to communicate information between the above-described components.
Communication interface 1603 may be any device using any transceiver or the like for communicating with other devices or communication networks, such as ethernet, Wireless Local Area Networks (WLAN), etc.
Possibly, the control device may also comprise a memory 1602.
The memory 1602 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disk read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these. The memory may be separate and coupled to the processor via a communication line 1604. The memory may also be integral to the processor.
The memory 1602 is used for storing computer-executable instructions for implementing the present invention, and is controlled by the processor 1601. The processor 1601 is configured to execute computer-executable instructions stored in the memory 1602, so as to implement the method for controlling the terminal device to open and close according to the embodiment of the present application.
Possibly, the computer executed instructions in the embodiments of the present application may also be referred to as application program codes, which are not specifically limited in the embodiments of the present application.
In particular implementations, processor 1601 may include one or more CPUs such as CPU0 and CPU1 in fig. 16, for example, as an embodiment.
In particular implementations, the control device may include multiple processors, such as processor 1601 and processor 1605 in FIG. 16, for example, as an embodiment. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
Exemplarily, fig. 17 is a schematic structural diagram of a chip provided in an embodiment of the present application. Chip 170 includes one or more (including two) processors 1720 and a communication interface 1730.
In some embodiments, memory 1740 stores the following elements: an executable module or a data structure, or a subset thereof, or an expanded set thereof.
In the subject embodiment, memory 1740 may include both read-only memory and random access memory, and provides instructions and data to processor 1720. A portion of memory 1740 may also include non-volatile random access memory (NVRAM).
In the illustrated embodiment, memory 1740, communication interface 1730, and memory 1740 are coupled together by a bus system. The bus system may include a power bus, a control bus, a status signal bus, and the like, in addition to the data bus. For ease of description, the various buses are labeled as a bus system in FIG. 17.
The methods described in the embodiments of the present application above may be applied to processor 1720 or implemented by processor 1720. Processor 1720 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above-described method may be performed by instructions in the form of hardware, integrated logic circuits, or software in processor 1720. The processor 1720 may be a general-purpose processor (e.g., a microprocessor or a conventional processor), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate, transistor logic device, or discrete hardware component, and the processor 1720 may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present invention.
The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium mature in the field, such as a random access memory, a read only memory, a programmable read only memory, or a charged erasable programmable memory (EEPROM). The storage medium is located in memory 1740 and the processor 1720 reads the information in the memory 1740 and, in conjunction with its hardware, performs the steps of the above-described method.
In the above embodiments, the instructions stored by the memory for execution by the processor may be implemented in the form of a computer program product. The computer program product may be written in the memory in advance, or may be downloaded in the form of software and installed in the memory.
The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. Computer instructions may be stored in, or transmitted from, a computer-readable storage medium to another computer-readable storage medium, e.g., from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optics, Digital Subscriber Line (DSL), or wireless (e.g., infrared, wireless, microwave, etc.), the computer-readable storage medium may be any available medium that a computer can store or a data storage device including one or more available media integrated servers, data centers, etc., the available media may include, for example, magnetic media (e.g., floppy disks, hard disks, or magnetic tape), optical media (e.g., digital versatile disks, DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), etc.
The embodiment of the application also provides a computer readable storage medium. The methods described in the above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. Computer-readable media may include computer storage media and communication media, and may include any medium that can communicate a computer program from one place to another. A storage medium may be any target medium that can be accessed by a computer.
As one possible design, the computer-readable medium may include a compact disk read-only memory (CD-ROM), RAM, ROM, EEPROM, or other optical disk storage; the computer readable medium may include a disk memory or other disk storage device. Also, any connecting line may also be properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers.
Combinations of the above should also be included within the scope of computer-readable media. The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (24)

1. A method for controlling the opening and closing of terminal equipment is characterized in that the method is applied to a system for controlling the opening and closing of the terminal equipment, and the system for controlling the opening and closing of the terminal equipment comprises the following steps: the terminal comprises a first terminal device and a second terminal device, wherein the first terminal device comprises a first part and a second part, the first part and the second part are connected through an opening and closing structure, and the opening and closing structure is used for adjusting the angle between the first part and the second part; the first portion includes a camera, the method comprising:
the first terminal equipment sends a first request to the second terminal equipment;
the second terminal equipment responds to the first request to establish equipment connection with the first terminal equipment;
the second terminal equipment sends first information to the first terminal equipment;
the first terminal equipment controls the first part and the second part to be opened or closed according to the first information;
when the first part and the second part are opened, the first terminal equipment obtains an image of a user based on the shooting of the camera and detects the position of the eyes of the user in the image;
and the first terminal equipment adjusts the opening and closing angle of the first part and the second part according to the position of the eyes of the user in the image.
2. The method according to claim 1, wherein the opening and closing structure comprises a motor, a motor output shaft, a first gear, a second gear and a shaft core, wherein the motor is used for receiving an instruction of the first terminal device for controlling opening and closing and determining a rotating direction according to the instruction for controlling opening and closing; the motor output shaft is used for connecting the motor and the first gear; the first gear is meshed with the second gear; the second gear is used for driving the shaft core to rotate; the shaft core is used for driving the first part to rotate.
3. The method according to claim 1, wherein the first terminal device controls the first part and the second part to open or close according to the first information, and comprises:
when the first information meets a first condition and the angle between the first part and the second part is smaller than or equal to a first angle threshold, the first terminal equipment controls the opening and closing structure to adjust the angle between the first part and the second part to a preset angle;
or when the first information meets a first condition and the angle between the first part and the second part is greater than the first angle threshold, the first terminal device controls the opening and closing structure to adjust the angle between the first part and the second part to be smaller than a second angle threshold.
4. The method of claim 3, further comprising:
the first terminal equipment receives a first operation of an interface for setting an opening and closing angle;
responding to the first operation, and displaying a first text box by the first terminal equipment;
the first terminal equipment acquires the preset angle input in the first text box;
and the first terminal equipment acquires the corresponding relation between the second terminal equipment and the preset angle.
5. The method of claim 4, further comprising:
the first terminal equipment records the adjusted opening and closing angle of the first part and the second part;
the first terminal equipment calculates the recommended opening and closing angle of the user according to the opening and closing angles adjusted for multiple times;
and the first terminal equipment modifies the preset angle into the recommended opening and closing angle.
6. The method according to claim 3, wherein the first information is first gesture information detected by the second terminal device, and the first information meeting a first condition comprises: the first gesture information is consistent with gesture information preset in the first terminal device.
7. The method of claim 3, wherein the first information is information for testing signal strength, the method further comprising:
the first terminal device tests the signal strength between the first terminal device and the second terminal device according to the first information; the first information satisfying a first condition includes: the signal strength is greater than a signal strength threshold.
8. The method of claim 3, wherein the first information is information for testing signal strength, the method further comprising:
the first terminal device tests the signal strength between the first terminal device and the second terminal device according to the first information;
the first terminal device determines a first distance between the first terminal device and the second terminal device based on the signal strength; the first information satisfying a first condition includes: the first distance is greater than a distance threshold.
9. The method according to any one of claims 3-8, wherein before the first terminal device controls the opening and closing structure to adjust the angle between the first portion and the second portion to be smaller than a second angle threshold, further comprising:
the first terminal equipment sends first indication information to the second terminal equipment; the first indication information is used for indicating the second terminal equipment to carry out identity authentication;
the second terminal equipment displays a first interface; the first interface is an identity verification interface, and the first interface comprises a first control used for allowing the first terminal device to control the first part to be closed;
the second terminal equipment receives a second operation of selecting the first control;
responding to the second operation, the second terminal equipment sends a second indication message to the first terminal equipment; the second indication information is used for indicating that the second terminal equipment passes the identity authentication.
10. The method according to any one of claims 3-8, wherein before the first terminal device controls the opening and closing structure to adjust the angle between the first portion and the second portion to be smaller than a second angle threshold, further comprising:
the first terminal equipment sends third indication information to the second terminal equipment; the third indication information is used for indicating the second terminal equipment to carry out identity authentication;
the second terminal equipment displays a second interface; the second interface is an identity authentication interface and comprises a first area for collecting fingerprint information;
the second terminal equipment acquires first fingerprint information received in the first area;
when the second terminal device determines that the first fingerprint information is consistent with the fingerprint information preset in the second terminal device, the second terminal device sends a fourth indication message to the first terminal device; the fourth indication information is used for indicating that the second terminal equipment passes the identity authentication.
11. The method according to any one of claims 3 to 8, wherein the first terminal device comprises a display screen, and after the first terminal device controls the opening and closing structure to adjust the angle between the first portion and the second portion to a preset angle, the method further comprises:
the first terminal equipment displays a third interface; the third interface is an identity verification interface; the third interface comprises a second text box for inputting identity information;
the first terminal equipment acquires first identity information input in the second text box;
the first terminal equipment verifies the consistency of the first identity information and identity information preset in the first terminal equipment;
when the first identity information is consistent with the identity information preset in the first terminal equipment, the first terminal equipment displays a fourth interface; the fourth interface is an interface displayed by the first terminal device before the first terminal device closes the display screen.
12. The method according to any one of claims 3 to 8, wherein the first terminal device comprises a display screen, and after the first terminal device controls the opening and closing structure to adjust the angle between the first portion and the second portion to a preset angle, the method further comprises:
the first terminal equipment displays a fifth interface; the fifth interface is an identity verification interface;
the first terminal equipment obtains a first image of a user based on camera shooting, and verifies the consistency of the first image and the image of the user preset in the first terminal equipment;
when the first image is consistent with a preset image of a user in the first terminal device, the first terminal device displays a sixth interface; the sixth interface is an interface displayed by the first terminal device before the first terminal device closes the display screen.
13. A device for controlling terminal equipment to open and close is characterized in that first terminal equipment comprises a first part and a second part, wherein the first part and the second part are connected through an opening and closing structure, and the opening and closing structure is used for adjusting the angle between the first part and the second part; the first portion includes a camera, the apparatus comprising:
a communication unit configured to send a first request to a second terminal device;
the communication unit is further used for receiving first information from the second terminal equipment;
the processing unit is used for controlling the first part and the second part to be opened or closed according to the first information;
when the first part and the second part are opened, the processing unit is further used for obtaining an image of a user based on the shooting of the camera and detecting the position of the eyes of the user in the image;
the processing unit is further configured to adjust an opening and closing angle between the first portion and the second portion according to a position of the user's eyes in the image.
14. The device of claim 13, wherein the opening and closing structure comprises a motor, a motor output shaft, a first gear, a second gear and a shaft core, the motor is used for receiving an instruction of the first terminal device for controlling opening and closing, and determining a rotation direction according to the instruction for controlling opening and closing; the motor output shaft is used for connecting the motor and the first gear; the first gear is meshed with the second gear; the second gear is used for driving the shaft core to rotate; the shaft core is used for driving the first part to rotate.
15. The apparatus according to claim 13, wherein when the first information satisfies a first condition and an angle between the first portion and the second portion is smaller than or equal to a first angle threshold, the processing unit is specifically configured to control the opening and closing structure to adjust the angle between the first portion and the second portion to a preset angle; or, when the first information satisfies a first condition and an angle between the first part and the second part is greater than the first angle threshold, the processing unit is specifically configured to control the opening and closing structure to adjust the angle between the first part and the second part to be smaller than a second angle threshold.
16. The device of claim 15, wherein the processing unit is further configured to receive a first operation of the interface for setting an opening and closing angle; in response to the first operation, a display unit for displaying a first text box; the processing unit is further used for acquiring the preset angle input in the first text box; the processing unit is further configured to obtain a corresponding relationship between the second terminal device and the preset angle.
17. The apparatus of claim 16, wherein the processing unit is further configured to: recording the adjusted opening and closing angle of the first part and the second part; calculating to obtain a recommended opening and closing angle of the user according to the opening and closing angles adjusted for multiple times; and modifying the preset angle into the recommended opening and closing angle.
18. The apparatus according to claim 15, wherein the first information is first gesture information detected by the second terminal device, and the first information meeting a first condition includes: the first gesture information is consistent with gesture information preset in the first terminal device.
19. The apparatus of claim 15, wherein the first information is information for testing signal strength, and the processing unit is further configured to test signal strength between the first terminal device and the second terminal device according to the first information; the first information satisfying a first condition includes: the signal strength is greater than a signal strength threshold.
20. The apparatus of claim 15, wherein the first information is information for testing signal strength, and wherein the processing unit is further configured to: testing the signal strength between the first terminal equipment and the second terminal equipment according to the first information; determining a first distance between the first terminal device and the second terminal device based on the signal strength; the first information satisfying a first condition includes: the first distance is greater than a distance threshold.
21. The apparatus according to any of claims 15-20, wherein the communication unit is further configured to: sending first indication information to the second terminal equipment; the first indication information is used for indicating the second terminal equipment to carry out identity authentication; receiving a second indication message from the second terminal equipment; the second indication information is used for indicating that the second terminal equipment passes the identity authentication.
22. The apparatus according to any one of claims 15-20, wherein the display unit is further configured to display a third interface; the third interface is an identity verification interface; the third interface comprises a second text box for inputting identity information; the processing unit is further used for acquiring first identity information input in the second text box; the processing unit is further configured to verify consistency between the first identity information and identity information preset in the first terminal device; when the first identity information is consistent with the identity information preset in the first terminal device, the display unit is further used for displaying a fourth interface; the fourth interface is an interface displayed by the first terminal device before the first terminal device closes the display screen.
23. The apparatus according to any one of claims 15-20, wherein the display unit is further configured to display a fifth interface; the fifth interface is an identity verification interface; the processing unit is further used for obtaining a first image of a user based on camera shooting and verifying the consistency of the first image and a preset image of the user in the first terminal equipment; when the first image is consistent with the image of the user preset in the first terminal device, the display unit is further used for displaying a sixth interface; the sixth interface is an interface displayed by the first terminal device before the first terminal device closes the display screen.
24. A computer-readable storage medium, in which a computer program is stored which, when executed by a processor, causes a computer to carry out the method according to any one of claims 1-12.
CN202110595355.XA 2021-05-28 2021-05-28 Method and device for controlling opening and closing of terminal equipment Pending CN113467608A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110595355.XA CN113467608A (en) 2021-05-28 2021-05-28 Method and device for controlling opening and closing of terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110595355.XA CN113467608A (en) 2021-05-28 2021-05-28 Method and device for controlling opening and closing of terminal equipment

Publications (1)

Publication Number Publication Date
CN113467608A true CN113467608A (en) 2021-10-01

Family

ID=77871835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110595355.XA Pending CN113467608A (en) 2021-05-28 2021-05-28 Method and device for controlling opening and closing of terminal equipment

Country Status (1)

Country Link
CN (1) CN113467608A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488030A (en) * 2009-02-10 2009-07-22 深圳Tcl新技术有限公司 Display screen adjustment device and method
CN101697089A (en) * 2009-09-29 2010-04-21 深圳顶海电子有限公司 Notebook computer capable of automatically closing and opening cover during booting and shutting down
CN102215281A (en) * 2011-06-09 2011-10-12 深圳桑菲消费通信有限公司 Mobile phone capable of regulating display angle of display screen
US20120075166A1 (en) * 2010-09-29 2012-03-29 Samsung Electronics Co. Ltd. Actuated adaptive display systems
CN102609036A (en) * 2011-01-24 2012-07-25 鸿富锦精密工业(深圳)有限公司 Portable electronic device
CN103543828A (en) * 2013-10-18 2014-01-29 深圳宝龙达信息技术股份有限公司 Display system and method for automatically adjusting position of display screen
CN103869829A (en) * 2012-12-13 2014-06-18 鸿富锦精密工业(武汉)有限公司 Display screen moving system and method
CN103902263A (en) * 2012-12-25 2014-07-02 鸿富锦精密工业(武汉)有限公司 Automatic opening system and method for notebook computer cover
CN104049708A (en) * 2014-07-08 2014-09-17 山东超越数控电子有限公司 Method for automatic startup/ shutdown and standby state awakening
CN104317398A (en) * 2014-10-15 2015-01-28 天津三星电子有限公司 Gesture control method, wearable equipment and electronic equipment
CN104346590A (en) * 2013-08-01 2015-02-11 鸿富锦精密工业(武汉)有限公司 Screen control system and method
CN105868670A (en) * 2016-04-28 2016-08-17 京东方科技集团股份有限公司 Intelligent wearable equipment and control method thereof and anti-lost system
CN108628434A (en) * 2017-03-24 2018-10-09 上海传英信息技术有限公司 A kind of wearable device induction Verification System and method

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488030A (en) * 2009-02-10 2009-07-22 深圳Tcl新技术有限公司 Display screen adjustment device and method
CN101697089A (en) * 2009-09-29 2010-04-21 深圳顶海电子有限公司 Notebook computer capable of automatically closing and opening cover during booting and shutting down
US20120075166A1 (en) * 2010-09-29 2012-03-29 Samsung Electronics Co. Ltd. Actuated adaptive display systems
CN102609036A (en) * 2011-01-24 2012-07-25 鸿富锦精密工业(深圳)有限公司 Portable electronic device
CN102215281A (en) * 2011-06-09 2011-10-12 深圳桑菲消费通信有限公司 Mobile phone capable of regulating display angle of display screen
CN103869829A (en) * 2012-12-13 2014-06-18 鸿富锦精密工业(武汉)有限公司 Display screen moving system and method
CN103902263A (en) * 2012-12-25 2014-07-02 鸿富锦精密工业(武汉)有限公司 Automatic opening system and method for notebook computer cover
CN104346590A (en) * 2013-08-01 2015-02-11 鸿富锦精密工业(武汉)有限公司 Screen control system and method
CN103543828A (en) * 2013-10-18 2014-01-29 深圳宝龙达信息技术股份有限公司 Display system and method for automatically adjusting position of display screen
CN104049708A (en) * 2014-07-08 2014-09-17 山东超越数控电子有限公司 Method for automatic startup/ shutdown and standby state awakening
CN104317398A (en) * 2014-10-15 2015-01-28 天津三星电子有限公司 Gesture control method, wearable equipment and electronic equipment
CN105868670A (en) * 2016-04-28 2016-08-17 京东方科技集团股份有限公司 Intelligent wearable equipment and control method thereof and anti-lost system
CN108628434A (en) * 2017-03-24 2018-10-09 上海传英信息技术有限公司 A kind of wearable device induction Verification System and method

Similar Documents

Publication Publication Date Title
CN110368689B (en) Game interface display method, system, electronic equipment and storage medium
CN110543287A (en) Screen display method and electronic equipment
CN113704205B (en) Log storage method, chip, electronic device and readable storage medium
CN110633043A (en) Split screen processing method and terminal equipment
CN112214294B (en) Method for calling hardware interface and electronic equipment
CN114125130B (en) Method for controlling communication service state, terminal device and readable storage medium
US20200210004A1 (en) Method, electronic device, and storage medium for fingerprint recognition
CN112751954A (en) Operation prompting method and electronic equipment
CN111327694A (en) File uploading method and device, storage medium and electronic equipment
CN111159604A (en) Picture resource loading method and device
CN111027490A (en) Face attribute recognition method and device and storage medium
CN113010076A (en) Display element display method and electronic equipment
CN110705614A (en) Model training method and device, electronic equipment and storage medium
CN111510482B (en) Method and device for determining failed network request and computer storage medium
CN114579016A (en) Method for sharing input equipment, electronic equipment and system
CN113220385A (en) Automatic setting method for horizontal and vertical screens of mobile terminal
CN111083554A (en) Method and device for displaying live gift
CN111492678A (en) File transmission method and electronic equipment
CN112100528A (en) Method, device, equipment and medium for training search result scoring model
CN111949960A (en) Data sharing method, electronic device and system
CN113380240B (en) Voice interaction method and electronic equipment
CN113467608A (en) Method and device for controlling opening and closing of terminal equipment
CN111988664B (en) Video processing method, video processing device, computer equipment and computer-readable storage medium
CN111982037B (en) Height measuring method and electronic equipment
CN110471803B (en) Physical hardware operation method, electronic equipment, storage medium and chip

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