CN110502206B - Screen control method and terminal - Google Patents

Screen control method and terminal Download PDF

Info

Publication number
CN110502206B
CN110502206B CN201910586356.0A CN201910586356A CN110502206B CN 110502206 B CN110502206 B CN 110502206B CN 201910586356 A CN201910586356 A CN 201910586356A CN 110502206 B CN110502206 B CN 110502206B
Authority
CN
China
Prior art keywords
terminal
target
screen area
screen
area
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.)
Active
Application number
CN201910586356.0A
Other languages
Chinese (zh)
Other versions
CN110502206A (en
Inventor
刘易家
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910586356.0A priority Critical patent/CN110502206B/en
Publication of CN110502206A publication Critical patent/CN110502206A/en
Application granted granted Critical
Publication of CN110502206B publication Critical patent/CN110502206B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Abstract

The embodiment of the invention provides a screen control method and a terminal, which relate to the technical field of communication and are used for solving the problem that the screen control mode of the terminal is not flexible enough due to the fact that the whole screen is locked or lightened. The method is applied to a first terminal and comprises the following steps: receiving a first input from a user, the first input being used to control the relative movement of the first terminal and the second terminal; updating a target screen area of the first target terminal to a target display state in response to the first input; the target screen area is an area associated with relative position information of the first terminal and the second terminal.

Description

Screen control method and terminal
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a screen control method and a terminal.
Background
With the development of terminal technology, the use of terminals is becoming more and more widespread.
In general, in the case of a screen of a terminal being lit, if a user triggers the terminal to turn off the screen, or the terminal does not detect an input of the user for a certain period of time, the terminal may control the screen to turn off the screen.
However, as the size of the display screen of the terminal is larger and larger, only a partial area of the screen may be used by the user in the use process, but the whole screen is locked or the whole screen is lightened, so that the screen control mode of the terminal is not flexible enough.
Disclosure of Invention
The embodiment of the invention provides a screen control method and a terminal, which are used for solving the problem that the screen control mode of the terminal is not flexible enough due to the fact that the whole screen is locked or lightened.
In order to solve the technical problems, the embodiment of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a screen control method, applied to a first terminal, where the method includes: receiving a first input of a user, the first input being used to control relative movement of the first terminal and the second terminal; updating a target screen area of the first target terminal to a target display state in response to the first input; the first target terminal is at least one of the first terminal and the second terminal, and the target screen area is an area associated with relative position information of the first terminal and the second terminal.
In a second aspect, an embodiment of the present invention further provides a terminal, where the terminal includes: a receiving module and an updating module; the receiving module is used for receiving a first input of a user, and the first input is used for controlling the relative movement of the first terminal and the second terminal; an updating module, configured to update a target screen area of the first target terminal to a target display state in response to the first input received by the receiving module; the first target terminal is at least one of the first terminal and the second terminal, and the target screen area is an area associated with relative position information of the first terminal and the second terminal.
Optionally, the first frame of the first terminal is in contact with the second frame of the second terminal, and the first input is used for controlling part or all of the first frame to be out of contact with the second frame; alternatively, the first input is for controlling the screen area of the first terminal and the screen area of the second terminal to overlap.
Optionally, after responding to the first input, the first section of the first frame is out of contact with the second frame, and the second section of the second frame is out of contact with the first frame; the target screen area is an area associated with relative position information of the first terminal and the second terminal, including: the target screen area is a screen area related to a first section of the first frame in the first terminal; alternatively, the target screen area is a screen area in the second terminal associated with the second segment of the second bezel.
Optionally, the length of the first frame is greater than the length of the second frame; after responding to the first input, the third section and the fourth section of the first frame are out of contact with the second frame; the target screen area is an area associated with relative position information of the first terminal and the second terminal, including: the target screen area is a screen area corresponding to a target section of the first frame in the first terminal, and the target section is at least one of a third section and a fourth section; or the target screen area is a screen area of the second terminal corresponding to the frame contacted with the first frame in the second frame.
Optionally, the first input is used for triggering the screen area of the first terminal to overlap with the screen area of the second terminal; the target screen area is an area associated with relative position information of the first terminal and the second terminal, including: the target screen area is an overlapped screen area in the first target terminal; alternatively, the target screen area is a screen area other than the overlapped screen area in the first target terminal.
Optionally, the length of the third frame of the first terminal is different from the length of the fourth frame of the second terminal, and the first input is that the first screen area of the first terminal and the second screen area of the second terminal are overlapped by the user control; the target screen area is an area associated with relative position information of the first terminal and the second terminal, including: the target screen area comprises a target screen overlapping area of the first target terminal, a first edge of the target screen area is parallel to a second edge of the target screen overlapping area and has the same length, and a third edge of the target screen area is a fourth edge of the screen area of the first target terminal; the first input is used for controlling at least one of the first terminal and the second terminal to move along the direction of a first edge, the first edge is perpendicular to a fourth edge, the fourth edge is parallel to a third frame or a fourth frame, and the target screen overlapping area is at least one of a first screen area and a second screen area.
Optionally, the updating module is specifically configured to: updating the display state of the target screen area from the first display state to the target display state when the screen display state of the target area of the second target terminal is the target display state and the screen display state of the first target terminal is the first display state; the second target terminal is a terminal except the first target terminal in the first terminal and the second terminal, the first target terminal is the first terminal or the second terminal, and the first display state is a display state with opposite or related target display states.
Optionally, the first target terminal is a first terminal, and the screen display state of the first terminal is a first display state, and the terminal further includes a sending module; the sending module is used for sending a first message to the second terminal before the updating module updates the target screen area of the first target terminal to the target display state, wherein the first message is used for determining whether the screen of the target area of the second terminal is in the target display state; the receiving module is further used for receiving a second message sent by the second terminal, wherein the second message indicates whether a screen of a target area of the second terminal is in a target display state or not; and the updating module is specifically used for updating the target screen area of the first terminal to the target display state under the condition that the screen of the target area of the second terminal is determined to be in the target display state according to the second message received by the receiving module.
Optionally, the updating module is specifically configured to: in response to the first input received by the receiving module, the target screen area of the first target terminal is updated to a target display state, and screen areas other than the target screen area in the first target terminal are maintained in the first display state.
Optionally, the receiving module is further configured to receive a second input after the updating module updates the target screen area of the first target terminal to the target display state, where the second input is used to trigger the first terminal and the second terminal to relatively move to a preset relative position, or is used to control the first terminal and the second terminal to be separated; and the updating module is also used for responding to the second input received by the receiving module and controlling the target screen area to keep the target display state.
Optionally, the first terminal is magnetically connected with the frame of the second terminal.
In a third aspect, an embodiment of the present invention provides a terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program implementing the steps of the screen control method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the screen control method according to the first aspect.
In the embodiment of the invention, a first terminal receives a first input, and the first input is used for triggering the relative movement of the first terminal and a second terminal; in response to the first input, the first terminal updates the target screen area of the first target terminal to a target display state. The first target terminal is at least one of a first terminal and a second terminal. Because the target screen area is an area related to the relative position information of the first terminal and the second terminal, a user can control the relative movement of the first terminal and the second terminal according to the need, and the first terminal can determine the screen area to be controlled according to the distance of the relative movement or a relative position to which the relative movement is to be carried out.
Drawings
Fig. 1 is a schematic diagram of a possible architecture of an android operating system according to an embodiment of the present invention;
Fig. 2 is a schematic flow chart of a screen control method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of one embodiment of the present invention;
FIG. 4 is a second schematic illustration of a display according to an embodiment of the present invention;
FIG. 5 is a third schematic illustration of a display according to an embodiment of the present invention;
FIG. 6 is a diagram showing a fourth embodiment of the present invention;
FIG. 7 is a fifth schematic diagram of a display according to an embodiment of the present invention;
FIG. 8 is a diagram showing a sixth embodiment of the present invention;
FIG. 9 is a diagram of a seventh embodiment of a display;
FIG. 10 is a schematic diagram of an eighth embodiment of the present invention;
FIG. 11 is a schematic illustration of an eighth embodiment of the present invention;
FIG. 12 is a diagram illustrating a display according to an embodiment of the present invention;
FIG. 13 is a schematic view of a display according to an embodiment of the present invention;
FIG. 14 is a diagram of an eleventh embodiment of a display;
FIG. 15 is a schematic diagram of a display according to an embodiment of the present invention;
FIG. 16 is a diagram of thirteenth embodiment of the present invention;
FIG. 17 is a schematic diagram of a fourteenth embodiment of a display;
Fig. 18 is a schematic diagram of one possible structure of a terminal according to an embodiment of the present invention;
FIG. 19 is a second schematic diagram of a possible configuration of a terminal according to an embodiment of the present invention;
fig. 20 is a schematic hardware structure of a terminal according to various embodiments of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by one of ordinary skill in the art without undue burden on the person of ordinary skill in the art based on the embodiments of the present invention, are intended to be within the scope of the present application.
In this context "/" means "or" for example, a/B may mean a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. "plurality" means two or more than two.
The terms "first" and "second" and the like in the description and in the claims, are used for distinguishing between different objects and not for describing a particular sequential order of objects. For example, a first terminal and a second terminal, etc. are used to distinguish between different devices, and are not used to describe a particular order of devices.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
The terminal in the embodiment of the invention can be a terminal with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present invention is not limited specifically.
The software environment to which the screen control method provided by the embodiment of the invention is applied is described below by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, respectively: an application program layer, an application program framework layer, a system runtime layer and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third party application programs) in the android operating system.
The application framework layer is a framework of applications, and developers can develop some applications based on the application framework layer while adhering to the development principle of the framework of the applications.
The system runtime layer includes libraries (also referred to as system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of the android operating system, and belongs to the bottommost layer of the software hierarchy of the android operating system. The kernel layer provides core system services and a driver related to hardware for the android operating system based on a Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the screen control method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the screen control method may be operated based on the android operating system shown in fig. 1. Namely, the processor or the terminal device can realize the screen control method provided by the embodiment of the invention by running the software program in the android operating system.
According to the control method provided by the embodiment of the invention, the first terminal receives the first input, and the first input is used for triggering the relative movement of the first terminal and the second terminal; in response to the first input, the first terminal updates the target screen area of the first target terminal to a target display state. The first target terminal is at least one of a first terminal and a second terminal. Because the target screen area is an area related to the relative position information of the first terminal and the second terminal, a user can control the relative movement of the first terminal and the second terminal according to the need, and the first terminal can determine the screen area to be controlled according to the distance of the relative movement or a relative position to which the relative movement is to be carried out.
In the embodiment of the present invention, for convenience of explanation, a first terminal and a second terminal are taken as examples, where the first terminal and the second terminal may be two independent terminals, for example, the first terminal is a terminal used by a user 1, and the second terminal is a terminal used by a user 2; the first terminal and the second terminal may also be terminals that are used in a matched manner, for example, the second terminal is a display screen device that is extended for the first terminal, which is not limited in particular in the embodiment of the present invention.
It should be noted that as communication and electronic technologies evolve, new trends and/or user demands change variously, and as these changes, displays evolve in various forms, and various technological developments are needed to expand the display or enhance the use of the display. A magnetic adsorption type terminal is an electronic device that couples (e.g., attaches or detaches) two displays by magnetic force. The user can separate the magnetic adsorption type terminal into two displays by controlling the magnetic force, and the two displays can have coupling forms of various angles without an external hinge structure. The magnetomotive force adsorption type terminal may control one or both of the two displays to simultaneously output the screen according to the coupled form of the two display devices. The two terminals each have at least one or more cylindrical magnets configured to rotate the shaft by attraction of adjacent magnets. The shaft is connected to a memory of the at least one processor. As the shaft rotates, the memory stores instructions that enable the processor to determine the magnetic attraction force through the cylindrical magnet to handle different logic, varying according to the angle and orientation of the shaft rotation.
The screen control method according to the embodiment of the present invention will be described with reference to fig. 2. Fig. 2 is a flowchart of a screen control method according to an embodiment of the present invention, as shown in fig. 2, the screen control method includes steps 201 to 202:
Step 201, a first terminal receives a first input from a user, the first input being used to control a relative movement between the first terminal and a second terminal.
In the embodiment of the present invention, the first input may be an input for controlling the movement of the first terminal by the user, or may be an input for controlling the movement of the second terminal by the user, or may be an input for controlling the simultaneous movement of the first terminal and the second terminal by the user.
Wherein the first terminal receiving the first input may be understood as the first terminal detecting a relative movement of the first terminal and the second terminal.
Optionally, the frame of the first terminal and the frame of the second terminal may or may not be in contact.
Wherein the first terminal and the second terminal may: and are arranged together, stacked together, magnetically attracted together, connected together by a rail, etc., the manner in which the first terminal and the second terminal reach the frame contact in the embodiments of the present invention is not particularly limited.
Optionally, the first terminal may determine whether the first terminal is in contact with the second terminal by means of thermal detection, pressure detection, magnetic force detection, infrared detection, image acquisition by a camera, and the like, and whether the first terminal and the second terminal move relatively.
Specifically, if the two terminals are attracted by magnetic force, the magnets can be arranged in the two terminals. The first terminal may determine a positional relationship between the two terminals through a change in magnetic force, such as determining whether the first terminal and the second terminal are in contact, whether the frame of the second terminal of the frame of the first terminal is in full contact, partial contact, or no contact. Of course, the two terminals may also be separated into two separate terminals by magnetic force. ( That is, each of the two terminals has at least one or more cylindrical magnets configured to change the axial force by attraction of adjacent magnets. When the magnetic force changes causing the shaft to be changed by the magnetic force, the memory stores instructions that change according to the angle and orientation of the shaft change, the stored instructions enabling the processor to determine the position change between objects by the magnetic attraction of different cylindrical magnets. )
Specifically, the first terminal may determine whether the first terminal and the second terminal relatively move through a direction in which the magnetic force changes, a position in which the magnetic force changes, a range in which a magnetic force value changes, and the like.
Optionally, if the first terminal determines whether the first terminal and the second terminal move relatively through the camera, the first terminal may control the camera to emit infrared rays, then control an electrically coupled (charge coupled device, CCD) sensor to receive the infrared rays, and finally subtract the obtained two continuous frames of images by using an image difference technology, so as to determine whether the first terminal and the second terminal move relatively. ( That is, the camera of the first terminal actively emits infrared rays, and then the ccd sensor receives the infrared rays, so that the problem of segmentation of the terminal and the background virtual object can be solved, and the camera of the first terminal acquires a pair of black-and-white monochromatic background and images of the terminal. Further, the first terminal detects the movement of the terminal, and the image difference technology may be used to detect the movement of the terminal. Specifically, the difference is: the continuous two frames of images acquired by the camera are subtracted to obtain a moving part, so that the difference automatically intercepts the moving part as long as the terminal moves. )
Step 202, in response to the first input, the first terminal updates the target screen area of the first target terminal to a target display state.
The first target terminal is at least one of the first terminal and the second terminal, and the target screen area is an area associated with relative position information of the first terminal and the second terminal.
It will be appreciated that the relative position information in the embodiments of the present invention may indicate the relative position of the first terminal and the second terminal after the first input, or may indicate the distance of relative movement between the first terminal and the second terminal after the first input is received.
Specifically, the target screen area may be an area determined on the display screen of the target terminal by the first terminal according to the phase positions of the first terminal and the second terminal, or according to the distance of the relative movement of the first terminal and the second terminal.
The display state of the screen in the embodiment of the invention can indicate the screen locking state and unlocking state of the screen, the screen bright state and screen off state of the screen, the brightness of the screen and the like.
It can be understood that if the target screen area determined according to the relative information is a partial area on the display screen of the target terminal, the first terminal updates the partial area to be in the target display state, and if the target screen area determined according to the relative information is all the areas on the display screen of the target terminal, the first terminal controls all the areas on the display screen of the target terminal to be in the target display state.
For example, the target display state is taken as the off-screen state, the target screen area determined by the first terminal according to the relative information is half of the screen on the first terminal, and then the first terminal updates the half of the screen into the off-screen state.
According to the screen control method provided by the embodiment of the invention, a first terminal receives a first input, and the first input is used for triggering the relative movement of the first terminal and a second terminal; in response to the first input, the first terminal updates the target screen area of the first target terminal to a target display state. The first target terminal is at least one of a first terminal and a second terminal. Because the target screen area is an area related to the relative position information of the first terminal and the second terminal, a user can control the relative movement of the first terminal and the second terminal according to the need, and the first terminal can determine the screen area to be controlled according to the distance of the relative movement or a relative position to which the relative movement is to be carried out.
Optionally, the first frame of the first terminal is in contact with the second frame of the second terminal, and the first input is used for controlling part or all of the first frame to be in non-contact with the second frame of the second terminal; alternatively, the first input is for controlling the overlap between the screen area of the first terminal and the screen area of the second terminal.
Specifically, the first terminal may collect the change of the image through the camera, may change through the magnetic force and the direction, may change through the heat dissipation degree, may also determine the contact condition of the first terminal and the frame of the second terminal through the reflection condition of the infrared light, and may determine the position and the size of the overlapping area of the second terminal on the first terminal.
Alternatively, in the case where the screen area of the first terminal controlled by the user overlaps the screen area of the second terminal, the first terminal may be located below the second terminal or above the second terminal, which is not particularly limited in the embodiment of the present invention.
In the embodiment of the present invention, overlapping the screen area of the first terminal and the screen area of the second terminal means that the area where the first terminal and the second terminal are overlapped includes the screen area; wherein, the screen of the first terminal and the screen of the second terminal can all face the same direction, and the screen of the first terminal can also face the screen of the second terminal.
It should be noted that the dimensions of the first terminal and the second terminal may be the same or different, that is, the length of the first terminal and the length of the second terminal may be the same or different, and the width of the first terminal and the width of the second terminal may be the same or different.
For example, fig. 3 is a schematic diagram of a display interface provided by an embodiment of the present invention, as shown in fig. 3 (a), a frame 301a of a terminal 301 (i.e., a first terminal) and a frame 302a of a terminal 302 (i.e., a second terminal) have the same length, and the frames 301a of the terminal 301 are all in contact with the frames 302a of the terminal 302. As shown in fig. 3 (b), the frame 301a of the terminal 301 (i.e., the first terminal) and the frame 303a of the terminal 303 (i.e., the second terminal) have different lengths, and a portion of the frame 301a of the terminal 301 is in contact with the frame 303a of the terminal 303. The lengths of the frame 302b and the frame 301b may be the same or different. The lengths of the bezel 303b and the bezel 301b may be the same or different.
Optionally, when the first input is received, the first terminal and the second terminal may be flush at top ends, may be flush at bottom ends, or may not be flush, which is not particularly limited by the embodiment of the present invention.
Based on the scheme, the user can control the display state of the screen through different input modes, for example, the user can control part or all of the first frame of the first terminal to cancel contact with the second frame, for example, the user can control the screen area of the first terminal to overlap with the screen area of the second terminal, so that the user can flexibly control the target screen area of the target terminal to be updated into the target display state by adopting different input modes according to the operation modes used by the user.
Optionally, after the first terminal responds to the first input, the first section of the first bezel is out of contact with the second bezel and the second section of the second bezel is out of contact with the first bezel. The target screen area is an area associated with the relative position information of the first terminal and the second terminal, and may be at least one of mode a, mode B and mode C:
mode a: the target screen area is a screen area in the first terminal associated with the first segment of the first bezel.
It is understood that the screen area associated with the first segment of the first frame may be a screen area corresponding to the first segment, or may be a screen area corresponding to a frame other than the first segment in the first frame.
Example a1: the target screen area is a screen area corresponding to a first segment of the first frame in the first terminal.
Example a2: the target screen area is a screen area in the first terminal corresponding to a frame except the first section in the first frame.
Mode B: the target screen area is a screen area in the second terminal associated with the second segment of the second bezel.
Likewise, the screen area associated with the second segment of the second frame may be a screen area corresponding to the second segment, or may be a screen area corresponding to a frame other than the second segment in the second frame.
Example b1: the target screen area is a screen area corresponding to a second section of the second frame in the second terminal.
Example b2: the target screen area is a screen area in the second terminal corresponding to a border except the second section in the second border.
When the target screen area includes both the screen area in the first terminal and the screen area in the second terminal, the target screen area may be an area associated with the relative position information of the first terminal and the second terminal, and may be the following manner C.
Mode C: the target screen area includes a screen area in the first terminal associated with a first segment of the first bezel and a screen area in the second terminal associated with a second segment of the second bezel.
Example c1: the target screen area includes a screen area in the first terminal corresponding to a first segment of the first bezel and a screen area in the second terminal associated with a second segment of the second bezel.
Example c2: the target screen region includes a screen region in the first terminal corresponding to a border other than the first segment in the first border, and a screen region in the second terminal corresponding to a border other than the second segment in the second border.
It should be noted that, for convenience of description, the drawings in the embodiments of the present invention are described by taking the control target screen off as an example, and are not described in detail below.
Exemplary, fig. 4 is a schematic diagram of a display interface according to an embodiment of the present invention. In connection with (a) of fig. 3, the user may control the terminal 301 to move downward in the direction of the second frame 302a, or control the terminal 302 to move upward in the direction of the first frame 301a, which may be followed by the positional relationship shown in fig. 4. The target screen area may be a filling area shown in fig. 4 (a), that is, the target screen area is a screen area corresponding to the first segment L1 of the first frame 301a in the terminal 301. That is, after the first input, the terminal 301 controls the screen region corresponding to the L1 segment in the terminal 301 to be off screen. The target screen area may also be the screen area shown in (b) of fig. 4, which is the screen area in the terminal 301 corresponding to the frame except for the first segment L1 in the first frame 301 a. I.e. after the first input, the terminal 301 controls the screen area of the terminal 301 corresponding to the border except for the first segment L1 to be off-screen.
It can be understood that, in the case that the sizes of the first terminal and the second terminal are different, the terminal can still be controlled to perform screen extinction according to the method.
For example, as shown in fig. 5 (a), the border 301a of the terminal 301 is longer than the border 304a of the terminal 304, and if the first input controls the relative movement of the terminal 301 and the terminal 304 to the relative position shown in fig. 5 (b), that is, the L2 segment in the border 301a of the terminal 301 is not in contact with the border 304a of the terminal 301, the terminal 301 may still control the screen region corresponding to the L2 segment to turn off the screen in the above control manner.
Based on the scheme, the first terminal can cancel contact with the second frame according to the first section of the first frame controlled by the user, and the second section of the second frame is in contact with the first frame, so that a corresponding target screen area can be determined according to the position of canceling contact, the mode of determining the target screen area is various, and more screen control modes can be provided for users with different habits.
Optionally, the length of the first frame of the first terminal is greater than the length of the second frame of the second terminal; after responding to the first input, the third section and the fourth section of the first frame are out of contact with the second frame; the target screen area being an area associated with the relative position information of the first terminal and the second terminal may be at least one of the mode D and the mode E.
Mode D: the target screen area is a screen area corresponding to a target segment of the first frame in the first terminal, and the target segment is at least one of the third segment and the fourth segment.
Example d1: the target screen area is a screen area corresponding to a third section of the first frame in the first terminal.
Example d2: the target screen area is a screen area in the first terminal corresponding to a frame except for the third section in the first frame.
Example d3: the target screen area is a screen area corresponding to a fourth segment of the first frame in the first terminal.
Example d4: the target screen area is a screen area corresponding to a frame except for the fourth segment of the first frame in the first terminal.
Example d5: the target screen area is a screen area corresponding to a third section and a fourth section of the first frame in the first terminal.
Example d6: the target screen area is a screen area corresponding to the third segment and the fourth segment except for the first frame in the first terminal.
Mode E: the target screen area is a screen area of the second terminal corresponding to the frame contacted with the first frame in the second frame.
Exemplary, fig. 6 is a schematic diagram of a display interface according to an embodiment of the present invention. In connection with fig. 3 (b), the length of the first frame 301a of the terminal 301 is greater than the length of the second frame 303a of the terminal 303. The user controls the terminal 303 to move downward along the border 301a of the terminal 301 or the terminal 301 to move upward along the border 303a of the terminal 303, so that the terminal 301 and the terminal 303 are opposite to the relative positions shown in fig. 6, i.e., the third segment L3 of the first border 301a and the fourth segment L4 of the first border are not in contact with the border 303a of the second terminal 302, and then the terminal 301 may control the screen area corresponding to the segment L3 to quench the screen as shown in fig. 6. Of course, as shown in fig. 7 (a), the terminal 301 may also control the screen region corresponding to the L4 segment to be off, as shown in fig. 7 (b), and the terminal 301 may also control the screen region corresponding to the L3 segment and the L4 segment to be off.
It should be noted that, if the target display state is the off-screen state, before the first input, the target screen area (or the area including the target screen area) is in the on-screen state, after the first input, the target screen area is in the off-screen state, and the screen may remain in the on-screen state except for the target screen area; if the other areas of the first terminal except the target screen area are in the off-screen state, the first terminal continues to turn off the screen in the area kept in the off-screen state, and the target screen area determined according to the first input is controlled to be in the off-screen state.
Based on the scheme, if the length of the first frame of the first terminal is greater than that of the second frame of the second terminal, and the first input controls the third section and the fourth section of the first frame to cancel contact with the second frame, the first terminal can determine a screen area corresponding to a target section in the first frame of the first terminal as a target screen area, and the first terminal can also determine a screen area of the second terminal corresponding to the frame in contact with the first frame in the second frame as a target area, wherein the target section is at least one of the third section and the fourth section, so that the user can control part of or all of the areas on the screen in a more various manners by controlling the relative movement of the first terminal and the second terminal, and the user can flexibly control the screen state of the terminal by adopting different control gestures according to needs.
Optionally, if the first input controls the distance of the relative movement of the first terminal and the second terminal to be the length of the first frame and relatively moves from one vertex of the first frame to another vertex, the first terminal may control all the screens of the first terminal to be in the target display state (for example, all the screens are turned off or all the screens are locked).
For example, in connection with fig. 3 (a), as in fig. 8 (a), if the first input controls the relative movement of the terminal 301 and the terminal 302 by the length of the first frame 301a, such as controlling the terminal 302 to move up to the vertex B along the vertex a of the first frame 301a of the terminal 301, or the user controlling the terminal 301 to move down to the vertex D along the vertex C of the second frame 302a of the terminal 302, the terminal 301 controls the entire screen area of the terminal 301 to be off screen. In connection with fig. 3 (B), as in fig. 8 (B), if the relative movement distance of the first input control terminal 301 and the terminal 303 is the length of the first frame 301a, for example, the control terminal 303 moves down to the vertex a along the vertex B of the first frame 301a of the terminal 301, or the user control terminal 301 moves up to the vertex a and the overlapping vertex E along the second frame 303a of the terminal 303, the terminal 301 controls the entire screen area of the terminal 301 to be off.
Based on the scheme, if the first terminal determines that the first input triggers the distance of the relative movement and relatively moves from one vertex of the first frame to the other vertex, the target screen area determined by the first terminal is all the screen areas of the first terminal, and then the first terminal can control the screen of the first terminal to be completely extinguished.
Optionally, the first input is for controlling the screen area of the first terminal and the screen area of the second terminal to overlap; the target screen area being an area associated with the relative position information of the first terminal and the second terminal may be any one of the following modes F and G:
mode F: the target screen area is an overlapping screen area in the first target terminal.
Example f1: the target screen area is an overlapping screen area in the first terminal.
Example f2: the target screen area is an overlapping screen area in the second terminal.
Example f3: the target screen area is an overlapping screen area in the first terminal and an overlapping screen area in the second terminal.
Mode G: the target screen area is a screen area other than the overlapped screen area in the first target terminal.
Example g1: the target screen area is a screen area other than the overlapped screen area in the first terminal.
Example g2: the target screen area is a screen area other than the overlapped screen area in the second terminal.
Example g3: the target screen area is a screen area other than the overlapped screen area in the first terminal, and a screen area other than the overlapped screen area in the second terminal.
For example, the user may also control the terminal to move in a direction perpendicular to the first frame, for example, in conjunction with fig. 3, the user may control the terminal 302 to move to the left, or the terminal 301 to move to the right, and the relative position shown in (a) of fig. 9 may be after the movement, and then the terminal 301 may control the screen area covered in the terminal 301 to be off, and for convenience of explanation, reference may be made to (b) of fig. 9, that is, the hatched area in the interface is the covered area in the terminal 301, and the terminal 301 may control the area to be off. Of course, as shown in fig. 10 (a), the shadow area in the terminal 302 may be controlled to be off screen.
In fig. 8 (b), the terminal 301 may be located below the terminal 302, or the terminal 301 may be located above the terminal 302, which is not limited in detail in the embodiment of the present invention.
In the drawings of the embodiments of the present invention, the display screen of the first terminal and the display screen of the second terminal are described by taking the case that the display screen of the first terminal faces the user as an example, and the display screen of the second terminal may also face away from the user when the first display screen faces the user, which will not be described in detail.
Based on the scheme, the first terminal can determine different screen areas as target screen areas according to the mode that the screen areas of the first terminal and the screen areas of the second terminal overlap, so that the mode that the terminal controls partial areas on the screen is more various, and the mode that the user controls the screen to display is more flexible.
Optionally, the length of the third frame of the first terminal and the length of the fourth frame of the second terminal are different, and the first input is that the first screen area of the first terminal and the second screen area of the second terminal are overlapped by the user control. The target screen area being an area associated with the relative position information of the first terminal and the second terminal may be in the following manner H.
Mode H: the target screen area comprises a target screen overlapping area of the first target terminal, a first edge of the target screen area is parallel to a second edge of the target screen overlapping area and has the same length, and a third edge of the target screen area is a fourth edge of the screen area of the first target terminal.
The first input is used for controlling at least one of the first terminal and the second terminal to move along the direction of a first edge, the first edge is perpendicular to a fourth edge, the fourth edge is parallel to a third frame or a fourth frame, and the target screen overlapping area is at least one of a first screen area and a second screen area.
In connection with fig. 8 (b), the terminal 301 may also move the first input control terminal 302 leftwards along the first frame 301b as shown in fig. 10 (b), and then the first screen area G1G2G3G4 is the target screen area G1G2G5G6, where the first edge G1G2 of the target screen area is parallel to the second edge G1G2 of the first screen area and has the same length (i.e. the length of the L5 segment), and the third edge G2G5 of the target screen area is also the fourth edge G2G5 of the screen area of the first terminal. The fourth edge G2G5 is parallel to the third frame 301a or to the fourth frame 302a, i.e. the G1G2G5G6 area in the first terminal control terminal 301 is off screen.
It should be noted that, in the case where the frame length of the first terminal and the frame length of the second terminal are the same, the screen control method described above may also be adopted.
For example, as shown in fig. 11, taking an example that the lengths of the third frame 301a of the terminal 301 and the second frame 303a of the terminal 303 are different, in conjunction with (b) in fig. 3, the terminal 303 moves leftwards along the frame 301a of the terminal 301, so that the screen areas of the terminal 303 and the terminal 301 overlap, and then, as shown in fig. 11, the terminal 301 may control the area of the L6 segment corresponding display screen to be out of screen.
Based on the scheme, the screen control method can be executed under the condition that the sizes of the first terminal and the second terminal are different, so that the first terminal can use the second terminals with different sizes to control the terminal to turn off the screen, and the mode of controlling the terminal to turn off the screen by a user is more flexible.
Optionally, in the screen control method provided by the embodiment of the present invention, step 202 may be performed by step 202 a:
in step 202a, when the screen display state of the target area of the second target terminal is the target display state and the screen display state of the first target terminal is the first display state, the first terminal updates the display state of the target screen area from the first display state to the target display state in response to the first input.
The second target terminal is a terminal except the first target terminal in the first terminal and the second terminal, the first target terminal is the first terminal or the second terminal, and the first display state is opposite to or related to the target display state.
For example, if the target display state is a screen off state, the first display state is a bright screen state, and if the target display state is a state in which the screen display intensity is strong, the first display state is a state in which the screen display brightness is weak.
It should be noted that, the first terminal may determine the screen display state of the second target terminal in different manners. When the second target terminal is the second terminal, the camera of the first terminal can determine whether the second terminal is in the target display state or not through collecting images. Of course, other manners may be adopted for different target display states, for example, the second terminal in the off-screen state may also determine whether the second terminal is in the off-screen state through heat dissipation conditions on the display screen of the second terminal.
Typically, the second terminal may quench the screen by a lock key on the second terminal or quench the screen by blocking the screen of the second terminal.
For example, in fig. 11, the screen of the terminal 303 is in a screen off state, and then the terminal 301 may control the screen region corresponding to the L6 segment to be screen off.
Based on the scheme, the terminal equipment can update the display state of the target screen area of the first target terminal according to the screen display state of the target area of the second target terminal, for example, the terminal is used for controlling the partial area of the terminal with a bright screen to be in screen off state, so that the user can conveniently control the screen display state of the terminal.
Of course, if the first terminal and the second terminal are a pair of terminals used together, or when communication connection can be established, the first terminal may also acquire information indicating the display screen of the second terminal to determine whether the second terminal is in a screen-off state.
Optionally, the first target terminal is a first terminal, and the screen display state of the first terminal is a first display state. Before the first terminal updates the target screen area of the first target terminal to the target display state, the screen control method provided by the embodiment of the present invention may further include steps 203 to 206:
step 203, the first terminal sends a first message to the second terminal in response to the first input.
Wherein the first message is used for determining whether a screen of a target area of the second terminal is in a target display state.
Step 204, the second terminal receives the first message sent by the first terminal, and sends the second message to the first terminal according to the first message.
Wherein the second message is used for indicating whether the screen of the target area of the second terminal is in a target display state.
It should be noted that the second target terminal may include a plurality of screens, or different areas of the second target terminal may be in different display states.
Step 205, the first terminal receives the second message sent by the second terminal.
Step 206, the first terminal determines whether the second terminal is in the off-screen state according to the second message.
Optionally, the embodiment of the present invention determines whether the second terminal is in the off-screen state through steps 205 to 206.
Further, step 202 may be performed by step 202 b:
step 202b, the first terminal updates the target screen area of the first terminal to the target display state when the first terminal determines that the screen of the target area of the second terminal is in the target display state according to the second message.
In an exemplary embodiment, when the screen of the second terminal is in the off-screen state, the first terminal may determine whether the second terminal is off-screen in the above manner.
It should be noted that, in the embodiment of the present invention, before the first input is received, all the screen areas of the first terminal may be in a bright screen state, and part of the screen areas of the first terminal may also be in a bright screen state.
Based on the scheme, the first terminal can acquire whether the second terminal is in the target display state or not by sending the first message to the second terminal, and after receiving the second information sent by the second terminal, the first terminal can accurately determine whether the second terminal is in the target display state or not according to the second information.
Optionally, in the screen control method provided by the embodiment of the present invention, step 202 may be performed by step 202 c:
in response to the first input, the first terminal updates the target screen area of the first target terminal to the target display state, and maintains the screen areas of the first target terminal except for the target screen area in the first display state.
Based on the scheme, the first terminal can control part of the areas in the first target terminal to update to the target display state, and control other areas to keep the first display state, so that screen control is more accurate.
Optionally, after step 202, the screen control method provided in the embodiment of the present invention may further include the following steps 207 and 208:
step 207, the first terminal receives a second input from the user.
Wherein the second input is used to control the relative movement of the first terminal and the second terminal to a preset relative position, or to control the first terminal and the second terminal to be separated (i.e. not in contact).
Before receiving the first input, the first terminal and the second terminal may be in a state in which all or part of the sides of one device are connected to the sides of the other device, or may be in a state in which the first terminal and the second terminal are not in contact.
In response to the second input, the first terminal controls the target screen area to maintain the target display state, step 208.
For example, as shown in fig. 4 (a), the user may control the relative movement of the terminal 301 and the terminal 302 to the relative positional relationship shown in fig. 12 (a), and may also control the separation of the terminal 301 and the terminal 302, as shown in fig. 12 (b), so that the terminal 301 may keep the screen area corresponding to the L1 segment in the off-screen state; in connection with fig. 10 (b), the user may control the relative movement of the terminal 301 and the terminal 302 to the relative positional relationship shown in fig. 13 (a), and the user may also control the separation of the terminal 301 and the terminal 302, as in the state shown in fig. 13 (b), and then the terminal 301 may also maintain the screen area corresponding to the L5 segment in the off-screen state. In connection with fig. 11, the user may control the relative movement of the terminal 301 and the terminal 303 to the relative positional relationship shown in fig. 14 (a), and the user may also control the separation of the terminal 301 and the terminal 303, as in the state shown in fig. 14 (b), and then the terminal 301 may also maintain the screen area corresponding to the L6 segment in the off-screen state.
Based on the scheme, after the target screen area of the first terminal is in the target display state, if the first terminal receives a second input, the second input is used for triggering the relative movement of the first terminal and the second terminal to a preset relative position or controlling the separation of the first terminal and the second terminal, the first terminal can control the target screen area to keep a screen-off state, and a part of the screen can be required to be screen-off when a user uses one terminal, so that the user can assist the user to screen-off the part of the screen area through the terminals of other users.
Optionally, the frames of the first terminal and the second terminal are magnetically connected.
It should be noted that the frames with magnets of the first terminal and the second terminal may be one side or may be multiple sides, which is not particularly limited in the embodiment of the present invention.
Specifically, if the first frame of the first terminal and the second frame of the second terminal can be connected through magnetism, the first terminal can obtain relative information through detection of magnetic force on the first frame.
It can be understood that if the frames of the first terminal and the second terminal are magnetically connected, the connection, the relative movement and the separation of the first terminal and the second terminal are more convenient.
Optionally, in the case that the target screen area is the screen area corresponding to the first segment in the first frame, the screen control method provided in the embodiment of the present invention may further include, after step 202, step 209 and step 210:
step 209, the first terminal receives a third input.
Wherein the third input is a user control of the first terminal and the second terminal to continue to move relatively in the same direction for a second length as the first input.
In response to the third input, the first terminal controls the second area adjacent to the target screen area to be updated to the target display state 210.
The second area is a screen area determined by the first terminal on a display screen of the first terminal according to the third input.
It will be appreciated that after receiving the to-be-third input, the first terminal updates the target screen area and the second area to the target display state.
For example, as shown in fig. 15, after receiving the first input, the positional relationship between the first terminal 301 and the second terminal 302 is shown in fig. 15 (a), and if the user continues to control the two terminals to move relatively, for example, the length of the movement is L7 segments, the first terminal controls the second region adjacent to the target screen region to turn off the screen, and the interface of the first terminal 301 is shown as the interface shown in fig. 15 (b), and the screen regions corresponding to the L7 segments and the L1 segments turn off the screen.
Based on the scheme, under the condition that the target screen area is the screen area corresponding to the first section in the first frame, after the relative movement between the first terminal and the second terminal is controlled by the user, if the first terminal and the second terminal are continuously controlled to continuously move along the direction of the first input, the user can control more screen areas of the first terminal to be turned off.
Optionally, in the case that the target screen area is the screen area corresponding to the first segment in the first frame, the screen control method provided by the embodiment of the present invention may further include, after step 202, step 211 and step 212:
step 211, the first terminal receives a fourth input within a preset duration.
Wherein the fourth input is a user control of the first terminal and the second terminal to continue to move relatively in a direction opposite to the first input for a second length.
By way of example, the preset duration may be 1 second, 1.5 seconds, 2 seconds, 3 seconds, or the like after receiving the first input, which is not particularly limited in the embodiments of the present invention.
In response to the fourth input, the first terminal updates the third region of the target screen region to the first display state, step 212.
The third area is a screen area determined by the first terminal according to the length of the relative movement of the fourth input.
It will be appreciated that after a first input, the user may find that the region of the quench screen is somewhat more, may control the length of the relative movement of the two terminals to be shortened in the opposite direction to the first input, and then restore a portion of the region of the target screen to the first display state (e.g., bright screen).
Based on the scheme, after the user controls the first terminal and the second terminal to relatively move for a first distance, if the first terminal and the second terminal are continuously controlled to relatively move for a second length along the direction opposite to the first input, the first terminal can control a third area in the target screen area to lighten the screen, and when the user determines that the target screen area is larger than the area needing screen extinction, the first terminal can be triggered to lighten the screen of the area, which does not need screen extinction, in the target screen area through a fourth input within a preset time length, so that the mode of controlling the screen extinction of the terminal by the user is more flexible.
It should be noted that, the screen control method provided by the embodiment of the present invention may be applied to a plurality of terminals with frames in contact, where each terminal may be used as a first terminal and each terminal may be used as a second terminal, and the embodiment of the present invention is not limited in particular.
Exemplary, fig. 16 is a schematic diagram of a display interface according to an embodiment of the present invention. Taking the target screen area as an example of the screen area corresponding to the first segment in the first frame of the first terminal, as shown in fig. 16, it is assumed that the terminal 301, the device 302 and the terminal 305 are sequentially contacted, where the terminal 301 and the terminal 305 are in a bright screen state, the terminal 302 is in a dead screen state, the frame 301a of the terminal 301 is contacted with the frame 302a of the terminal 302, and the frame 302c of the terminal 302 is contacted with the frame 305a of the terminal 305. If the user moves the terminal 301 downward along the frame 302a of the terminal 302, the length of the relative movement is L1, and as shown in (a) in fig. 17, the terminal 301 turns off the screen of the screen area of the terminal 301 corresponding to L1, and if the user continues to move the device 305 downward along the frame 302c of the terminal 302, the length of the relative movement is L7, and as shown in (b) in fig. 17, the terminal 305 turns off the screen of the screen area of the terminal 305 corresponding to L8.
In the drawings of the embodiments of the present invention, after the target screen area is turned off, the content displayed in the bright screen area is not adjusted. Of course, after the partial area of the screen is turned off, the first terminal may also adjust the number of display objects (for example, adjust the number of displayed application icons and the size of the icons) or adjust the display size of the display objects according to the size of the display area after the partial area is turned off so as to adapt to the current bright screen area.
Fig. 18 is a schematic diagram of a possible structure of a terminal according to an embodiment of the present invention, where the terminal is a first terminal, and as shown in fig. 18, a terminal 400 includes: the device comprises a receiving module 401 and an updating module 402, wherein the receiving module 401 is used for receiving a first input of a user, and the first input is used for controlling the relative movement of a first terminal and a second terminal; an updating module 402, configured to update the target screen area of the first target terminal to a target display state in response to the first input received by the receiving module 401; the first target terminal is at least one of the first terminal and the second terminal, and the target screen area is an area associated with relative position information of the first terminal and the second terminal.
Optionally, the first frame of the first terminal is in contact with the second frame of the second terminal, and the first input is used for controlling part or all of the first frame to be out of contact with the second frame; alternatively, the first input is for controlling the screen area of the first terminal and the screen area of the second terminal to overlap.
Optionally, after responding to the first input, the first section of the first frame is out of contact with the second frame, and the second section of the second frame is out of contact with the first frame; the target screen area is an area associated with relative position information of the first terminal and the second terminal, including: the target screen area is a screen area related to a first section of the first frame in the first terminal; alternatively, the target screen area is a screen area in the second terminal associated with the second segment of the second bezel.
Optionally, the length of the first frame is greater than the length of the second frame; after responding to the first input, the third section and the fourth section of the first frame are out of contact with the second frame; the target screen area is an area associated with relative position information of the first terminal and the second terminal, including: the target screen area is a screen area corresponding to a target section of the first frame in the first terminal, and the target section is at least one of a third section and a fourth section; or the target screen area is a screen area of the second terminal corresponding to the frame contacted with the first frame in the second frame.
Optionally, the first input is used for triggering the screen area of the first terminal to overlap with the screen area of the second terminal; the target screen area is an area associated with relative position information of the first terminal and the second terminal, including: the target screen area is an overlapped screen area in the first target terminal; alternatively, the target screen area is a screen area other than the overlapped screen area in the first target terminal.
Optionally, the length of the third frame of the first terminal is different from the length of the fourth frame of the second terminal, and the first input is that the first screen area of the first terminal and the second screen area of the second terminal are overlapped by the user control; the target screen area is an area associated with relative position information of the first terminal and the second terminal, including: the target screen area comprises a target screen overlapping area of the first target terminal, a first edge of the target screen area is parallel to a second edge of the target screen overlapping area and has the same length, and a third edge of the target screen area is a fourth edge of the screen area of the first target terminal; the first input is used for controlling at least one of the first terminal and the second terminal to move along the direction of a first edge, the first edge is perpendicular to a fourth edge, the fourth edge is parallel to a third frame or a fourth frame, and the target screen overlapping area is at least one of a first screen area and a second screen area.
Optionally, the updating module 402 is specifically configured to: updating the display state of the target screen area from the first display state to the target display state when the screen display state of the target area of the second target terminal is the target display state and the screen display state of the first target terminal is the first display state; the second target terminal is a terminal except the first target terminal in the first terminal and the second terminal, the first target terminal is the first terminal or the second terminal, and the first display state is a display state with opposite or related target display states.
Optionally, the first target terminal is a first terminal, and the screen display state of the first terminal is a first display state, and in conjunction with fig. 18, as shown in fig. 19, the terminal further includes a sending module 403; a sending module 403, configured to send a first message to the second terminal before the updating module 402 updates the target screen area of the first target terminal to the target display state, where the first message is used to determine whether the screen of the target area of the second terminal is in the target display state; the receiving module 401 is further configured to receive a second message sent by the second terminal, where the second message indicates whether a screen of a target area of the second terminal is in a target display state; the updating module 402 is specifically configured to update the target screen area of the first terminal to the target display state when it is determined that the screen of the target area of the second terminal is in the target display state according to the second message received by the receiving module 401.
Optionally, the updating module 402 is specifically configured to: in response to the first input received by the receiving module 401, the target screen area of the first target terminal is updated to the target display state, and the screen areas other than the target screen area in the first target terminal are maintained in the first display state.
Optionally, the receiving module 401 is further configured to receive a second input after the updating module 102 updates the target screen area of the first target terminal to the target display state, where the second input is used to trigger the first terminal and the second terminal to relatively move to a preset relative position, or is used to control the first terminal and the second terminal to be separated; the updating module 402 is further configured to control the target screen area to maintain the target display state in response to the second input received by the receiving module 401.
Optionally, the first terminal is magnetically connected with the frame of the second terminal.
The terminal 400 provided in the embodiment of the present invention can implement each process implemented by the terminal in the above embodiment of the method, and in order to avoid repetition, details are not repeated here.
The terminal provided by the embodiment of the invention, the first terminal receives the first input, and the first input is used for triggering the relative movement of the first terminal and the second terminal; in response to the first input, the first terminal updates the target screen area of the first target terminal to a target display state. The first target terminal is at least one of a first terminal and a second terminal. Because the target screen area is an area related to the relative position information of the first terminal and the second terminal, a user can control the relative movement of the first terminal and the second terminal according to the need, and the first terminal can determine the screen area to be controlled according to the distance of the relative movement or a relative position to which the relative movement is to be carried out.
Fig. 20 is a schematic diagram of a hardware structure of a terminal implementing various embodiments of the present invention, where the terminal 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. It will be appreciated by those skilled in the art that the terminal structure shown in fig. 20 is not limiting of the terminal and that the terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. In the embodiment of the invention, the terminal comprises, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer and the like.
Wherein the user input unit 107 is configured to receive a first input for triggering a relative movement of the first terminal and the second terminal; the processor 110 is configured to update the target screen area of the first target terminal to a target display state in response to the first input. The first target terminal is at least one of the first terminal and the second terminal, and the target screen area is an area associated with relative position information of the first terminal and the second terminal.
The terminal provided by the embodiment of the invention, the first terminal receives the first input, and the first input is used for triggering the relative movement of the first terminal and the second terminal; in response to the first input, the first terminal updates the target screen area of the first target terminal to a target display state. The first target terminal is at least one of a first terminal and a second terminal. Because the target screen area is an area related to the relative position information of the first terminal and the second terminal, a user can control the relative movement of the first terminal and the second terminal according to the need, and the first terminal can determine the screen area to be controlled according to the distance of the relative movement or a relative position to which the relative movement is to be carried out.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be configured to receive and send information or signals during a call, specifically, receive downlink data from a base station, and then process the received downlink data with the processor 110; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with networks and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user through the network module 102, such as helping the user to send and receive e-mail, browse web pages, access streaming media, etc.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the terminal 100. The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used for receiving an audio or video signal. The input unit 104 may include a graphics processor (graphics processing unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. Microphone 1042 may receive sound and be capable of processing such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode.
The terminal 100 further comprises at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 1061 and/or the backlight when the terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when the accelerometer sensor is stationary, and can be used for recognizing the terminal gesture (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; the sensor 105 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. Further, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 110 to determine the type of touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in fig. 20, the touch panel 1071 and the display panel 1061 are two independent components for implementing the input and output functions of the terminal, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the terminal, which is not limited herein.
The interface unit 108 is an interface to which an external device is connected to the terminal 100. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 100 or may be used to transmit data between the terminal 100 and an external device.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 110 is a control center of the terminal, and connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal 100 may further include a power source 111 (e.g., a battery) for supplying power to the respective components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system.
In addition, the terminal 100 includes some functional modules, which are not shown, and will not be described herein.
Optionally, in conjunction with fig. 20, the embodiment of the present invention further provides a terminal, which includes a processor 110, a memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, where the computer program when executed by the processor 110 implements each process of the above embodiment of the screen control method, and the same technical effects can be achieved, and for avoiding repetition, a detailed description is omitted herein.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the processes of the above-mentioned screen control method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here. Wherein the computer readable storage medium is selected from read-only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (14)

1. A screen control method applied to a first terminal, the method comprising:
receiving a first input from a user, the first input being used to control relative movement of the first and second terminals;
updating a target screen area of the first target terminal to a target display state in response to the first input;
wherein the first target terminal is at least one of the first terminal and the second terminal, the target screen area is an area associated with relative position information of the first terminal and the second terminal, the relative position information indicating a relative position of the first terminal and the second terminal after the first input or indicating a distance of relative movement of the first terminal and the second terminal after receiving the first input;
The first frame of the first terminal is contacted with the second frame of the second terminal, and the first input is used for controlling part or all of the first frame to be out of contact with the second frame;
or alternatively, the process may be performed,
the first input is used for controlling the screen area of the first terminal to overlap with the screen area of the second terminal;
the updating the target screen area of the first target terminal to the target display state comprises the following steps:
updating the display state of the target screen area from the first display state to the target display state when the screen display state of the target area of the second target terminal is the target display state and the screen display state of the first target terminal is the first display state;
the second target terminal is a terminal except the first target terminal in the first terminal and the second terminal, the first target terminal is the first terminal or the second terminal, and the first display state is a display state opposite to or related to the target display state.
2. The method of claim 1, wherein after responding to the first input, a first segment of the first bezel is out of contact with the second bezel and a second segment of the second bezel is out of contact with the first bezel;
The target screen area is an area associated with relative position information of the first terminal and the second terminal, including:
the target screen area is a screen area related to a first section of the first frame in the first terminal;
or, the target screen area is a screen area related to the second segment of the second frame in the second terminal.
3. The method of claim 1, wherein a length of the first bezel is greater than a length of the second bezel; after responding to the first input, the third section and the fourth section of the first frame are out of contact with the second frame;
the target screen area is an area associated with relative position information of the first terminal and the second terminal, including:
the target screen area is a screen area corresponding to a target segment of the first frame in the first terminal, and the target segment is at least one of the third segment and the fourth segment;
or the target screen area is a screen area of a second terminal corresponding to a frame contacted with the first frame in the second frame.
4. The method of claim 1, wherein the first input is for controlling a screen area of the first terminal and a screen area of the second terminal to overlap;
The target screen area is an area associated with relative position information of the first terminal and the second terminal, including:
the target screen area is an overlapped screen area in the first target terminal;
alternatively, the target screen area is a screen area other than the overlapped screen area in the first target terminal.
5. The method of claim 1, wherein a length of a third bezel of the first terminal and a length of a fourth bezel of the second terminal are different, and wherein the first input is that a first screen area of the first terminal and a second screen area of the second terminal are overlapped by a user control;
the target screen area is an area associated with relative position information of the first terminal and the second terminal, including:
the target screen area comprises a target screen overlapping area of the first target terminal, a first edge of the target screen area is parallel to a second edge of the target screen overlapping area and has the same length, and a third edge of the target screen area is a fourth edge of the screen area of the first target terminal;
the first input is used for controlling at least one of the first terminal and the second terminal to move along the direction of the first edge, the first edge is perpendicular to the fourth edge, the fourth edge is parallel to the third frame or the fourth frame, and the target screen overlapping area is at least one of the first screen area and the second screen area.
6. The method of claim 1, wherein the first target terminal is the first terminal, and the on-screen display state of the first terminal is a first display state;
before the updating of the target screen area of the first target terminal to the target display state, the method further comprises:
a first message is sent to the second terminal, wherein the first message is used for determining whether a screen of a target area of the second terminal is in the target display state or not;
receiving a second message sent by the second terminal, wherein the second message indicates whether a screen of a target area of the second terminal is in the target display state;
the updating the target screen area of the first target terminal to the target display state comprises the following steps:
and updating the target screen area of the first terminal to the target display state under the condition that the screen of the target area of the second terminal is determined to be in the target display state according to the second message.
7. The method according to any one of claims 1 to 6, wherein the updating the target screen area of the first target terminal to the target display state in response to the first input comprises:
And in response to the first input, updating a target screen area of the first target terminal to a target display state, and maintaining a screen area of the first target terminal except for the target screen area in a first display state.
8. The method according to any one of claims 1 to 6, wherein after the updating of the target screen area of the first target terminal to the target display state, the method further comprises:
receiving a second input, wherein the second input is used for controlling the first terminal and the second terminal to relatively move to a preset relative position or controlling the first terminal and the second terminal to be separated;
and controlling the target screen area to maintain the target display state in response to the second input.
9. The method of any one of claims 1 to 6, wherein the first terminal is magnetically coupled to a bezel of the second terminal.
10. A terminal, the terminal being a first terminal, the terminal comprising: a receiving module and an updating module;
the receiving module is used for receiving a first input of a user, and the first input is used for controlling the relative movement of the first terminal and the second terminal;
The updating module is used for responding to the first input received by the receiving module and updating the target screen area of the first target terminal into a target display state;
wherein the first target terminal is at least one of the first terminal and the second terminal, the target screen area is an area associated with relative position information of the first terminal and the second terminal, the relative position information indicating a relative position of the first terminal and the second terminal after the first input or indicating a distance of relative movement of the first terminal and the second terminal after receiving the first input;
the first frame of the first terminal is contacted with the second frame of the second terminal, and the first input is used for controlling part or all of the first frame to be out of contact with the second frame;
or alternatively, the process may be performed,
the first input is used for controlling the screen area of the first terminal to overlap with the screen area of the second terminal;
the updating module is specifically configured to:
updating the display state of the target screen area from the first display state to the target display state when the screen display state of the target area of the second target terminal is the target display state and the screen display state of the first target terminal is the first display state;
The second target terminal is a terminal except the first target terminal in the first terminal and the second terminal, the first target terminal is the first terminal or the second terminal, and the first display state is a display state opposite to or related to the target display state.
11. The terminal of claim 10, wherein after responding to the first input, a first segment of the first bezel is out of contact with the second bezel and a second segment of the second bezel is out of contact with the first bezel;
the target screen area is an area associated with relative position information of the first terminal and the second terminal, including:
the target screen area is a screen area related to a first section of the first frame in the first terminal;
or, the target screen area is a screen area related to the second segment of the second frame in the second terminal.
12. The terminal of claim 10, wherein the first input is to trigger a screen area of the first terminal and a screen area of the second terminal to overlap;
the target screen area is an area associated with relative position information of the first terminal and the second terminal, including:
The target screen area is an overlapped screen area in the first target terminal;
alternatively, the target screen area is a screen area other than the overlapped screen area in the first target terminal.
13. A terminal comprising a processor, a memory and a computer program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the screen control method according to any one of claims 1 to 9.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the screen control method according to any one of claims 1 to 9.
CN201910586356.0A 2019-07-01 2019-07-01 Screen control method and terminal Active CN110502206B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910586356.0A CN110502206B (en) 2019-07-01 2019-07-01 Screen control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910586356.0A CN110502206B (en) 2019-07-01 2019-07-01 Screen control method and terminal

Publications (2)

Publication Number Publication Date
CN110502206A CN110502206A (en) 2019-11-26
CN110502206B true CN110502206B (en) 2023-06-02

Family

ID=68585981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910586356.0A Active CN110502206B (en) 2019-07-01 2019-07-01 Screen control method and terminal

Country Status (1)

Country Link
CN (1) CN110502206B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101240724B1 (en) * 2012-02-29 2013-03-11 주식회사 팬택 Flexible terminal and method for providing a continuous screen of flexible display using the same
CN108898000A (en) * 2018-05-31 2018-11-27 维沃移动通信有限公司 A kind of method and terminal solving lock screen

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101240724B1 (en) * 2012-02-29 2013-03-11 주식회사 팬택 Flexible terminal and method for providing a continuous screen of flexible display using the same
CN108898000A (en) * 2018-05-31 2018-11-27 维沃移动通信有限公司 A kind of method and terminal solving lock screen

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于移动终端的屏幕锁定解锁技术概况;周咏;《科学技术创新》;20180715(第20期);全文 *

Also Published As

Publication number Publication date
CN110502206A (en) 2019-11-26

Similar Documents

Publication Publication Date Title
JP7062092B2 (en) Display control method and terminal
CN109743498B (en) Shooting parameter adjusting method and terminal equipment
CN109542282B (en) Interface display method and terminal equipment
CN110062105B (en) Interface display method and terminal equipment
CN108762634B (en) Control method and terminal
CN110196667B (en) Notification message processing method and terminal
CN109032486B (en) Display control method and terminal equipment
CN110502287B (en) Application program control method and terminal
WO2019174459A1 (en) Application processing method and mobile terminal
CN109257505B (en) Screen control method and mobile terminal
CN111010523B (en) Video recording method and electronic equipment
CN109104566B (en) Image display method and terminal equipment
CN111596990B (en) Picture display method and device
CN111050109B (en) Electronic equipment control method and electronic equipment
WO2021057712A1 (en) Proximity detection method and terminal device
WO2019184902A1 (en) Method for controlling icon display, and terminal
WO2021082772A1 (en) Screenshot method and electronic device
CN108174109B (en) Photographing method and mobile terminal
CN110851098B (en) Video window display method and electronic equipment
CN110898424B (en) Display control method and electronic equipment
US11526320B2 (en) Multi-screen interface control method and terminal device
JP7413546B2 (en) Photography method and electronic equipment
CN110493451B (en) Data transmission method, electronic equipment and terminal
CN109561258B (en) Light supplementing method and terminal equipment
CN110750200A (en) Screenshot picture processing method and terminal equipment

Legal Events

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