CN109085974B - Screen control method, system and terminal equipment - Google Patents

Screen control method, system and terminal equipment Download PDF

Info

Publication number
CN109085974B
CN109085974B CN201810784002.2A CN201810784002A CN109085974B CN 109085974 B CN109085974 B CN 109085974B CN 201810784002 A CN201810784002 A CN 201810784002A CN 109085974 B CN109085974 B CN 109085974B
Authority
CN
China
Prior art keywords
sub
display area
touch point
point
screen
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
CN201810784002.2A
Other languages
Chinese (zh)
Other versions
CN109085974A (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201810784002.2A priority Critical patent/CN109085974B/en
Publication of CN109085974A publication Critical patent/CN109085974A/en
Application granted granted Critical
Publication of CN109085974B publication Critical patent/CN109085974B/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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING 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
    • G06F3/0488Interaction 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 using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a screen control method, which comprises the following steps: responding to a first touch point and a second touch point of the main screen, wherein a first relative distance between the first touch point and the second touch point is greater than a first distance preset value, and monitoring sliding operation of the first touch point and the second touch point within preset time; acquiring a second relative distance between the first touch point and the second touch point after sliding; when the difference value between the second relative distance and the first relative distance is larger than a second distance preset value, determining a sub-display area with the size equal to that of the main screen on the main screen according to the current first touch point and the current second touch point; and copying the screen data of the main screen, reducing the size of the copied screen data according to the size of the sub display area, and mapping the copied screen data to the sub display area for synchronous display. The invention also discloses a screen control system and a terminal device. By adopting the embodiment of the invention, the equal-ratio small screen can be generated in the large screen more flexibly and displayed synchronously.

Description

Screen control method, system and terminal equipment
Technical Field
The invention relates to the technical field of terminal control, in particular to a screen control method, a screen control system and terminal equipment.
Background
Nowadays, as the display screen of the mobile terminal is continuously increased, the size of the mobile terminal is increased, when a user holds the mobile terminal with a large screen with one hand, the fingers of the user cannot reach the range of the whole screen, the user often needs to operate the screen of the mobile terminal with two hands, and inconvenience in operation is brought to the user.
In the prior art, the screen is typically scaled at a fixed scale, thereby enabling one-handed operation. However, when the screen is reduced, the content displayed in the screen is correspondingly reduced and enlarged, and the content displayed on the screen is too small when a user browses a webpage or plays a video, so that the experience is poor; in addition, the screen is reduced according to the preset proportion of the system, and the user cannot zoom the screen according to the preference of the user.
Disclosure of Invention
The embodiment of the invention aims to provide a screen control method, a system and terminal equipment, which can more flexibly generate equal-ratio small screens in a large screen and synchronously display the small screens.
An embodiment of the present invention provides a screen control method, including:
responding to a first touch point and a second touch point of a main screen, wherein a first relative distance between the first touch point and the second touch point is greater than a first distance preset value, and monitoring sliding operation of the first touch point and the second touch point within preset time;
when the first touch point and/or the second touch point are monitored to slide, acquiring a second relative distance between the first touch point and the second touch point after the sliding;
when the difference value between the second relative distance and the first relative distance is larger than a second distance preset value, determining a sub-display area which is in equal proportion to the size of the main screen on the main screen according to the current first touch point and the current second touch point; the first touch point is used as a preset position point of a first edge of the sub-display area, the second touch point is located on a straight line where a second edge of the sub-display area is located, and the first edge and the second edge are parallel to each other;
and copying the screen data of the main screen, and mapping the copied screen data to the sub-display area for synchronous display after size reduction according to the size of the sub-display area.
Compared with the prior art, the screen control method disclosed by the embodiment of the invention generates the sub display area which is equal to the main screen by determining the sub display area which is equal to the size of the main screen on the main screen through the first touch point and the second touch point, reducing the size of the copied screen data of the main screen according to the size of the sub display area, mapping the reduced screen data to the sub display area, and synchronously displaying the reduced screen data. The problem that the screen is too small due to the fact that the screen is zoomed to a certain proportion to form a control screen with a fixed proportion in the prior art is solved, and the equal-proportion small screen can be generated in the large screen more flexibly and displayed synchronously.
As an improvement of the above, the screen control method further includes:
establishing a plane coordinate system by taking any point of the main screen as an origin;
when a sub control point in the sub display area is responded, the coordinate position of the sub control point is obtained;
mapping according to the coordinate position of the sub control point to obtain the coordinate position of a main control point corresponding to the sub control point in the main screen;
and controlling the main screen to execute corresponding control operation based on the coordinate position of the main control point.
As an improvement of the above, the screen control method further includes:
when two touch points which move oppositely are obtained in the sub-display area, carrying out corresponding reduction operation on the size of the sub-display area according to the ratio of the relative distance values of the two touch points before and after movement;
and when two touch points moving backwards are acquired in the sub-display area, carrying out corresponding amplification operation on the size of the sub-display area according to the ratio of the relative distance values of the two touch points before and after movement.
As an improvement of the above, the screen control method further includes:
and when responding to the touch point at any top corner of the sub-display area, monitoring the movement track of the touch point, and controlling the sub-display area to move along the movement track of the touch point.
As an improvement of the above, the screen control method further includes:
and when the touch point outside the range of the sub-display area is responded or a signal for closing the sub-display area is received, closing the sub-display area.
Another embodiment of the present invention correspondingly provides a screen control system, including:
the signal processing unit is used for responding to a first touch point and a second touch point of a main screen and monitoring sliding operation of the first touch point and the second touch point within preset time; when the first touch point and/or the second touch point are monitored to slide, acquiring a second relative distance between the first touch point and the second touch point after the sliding;
the sub-display area generating unit is used for determining a sub-display area which is in equal proportion to the size of the main screen on the main screen according to the current first touch point and the current second touch point when the difference value of the second relative distance and the first relative distance is larger than a second distance preset value; the first touch point is used as a preset position point of a first edge of the sub-display area, the second touch point is located on a straight line where a second edge of the sub-display area is located, and the first edge and the second edge are parallel to each other;
and the memory mapping unit is used for copying the screen data of the main screen, reducing the size of the copied screen data according to the size of the sub-display area, and mapping the copied screen data to the sub-display area for synchronous display.
Compared with the prior art, the screen control system disclosed in the embodiment of the invention monitors the first touch point and the second touch point through the signal processing unit, determines a sub-display area in proportion to the size of the main screen on the main screen through the sub-display area generating unit, and maps the copied screen data of the main screen to the sub-display area for synchronous display after reducing the size of the screen data according to the size of the sub-display area through the memory mapping unit, so as to generate the sub-display area in proportion to the main screen. The problem that the screen is too small due to the fact that the screen is zoomed to a certain proportion to form a control screen with a fixed proportion in the prior art is solved, and the equal-proportion small screen can be generated in the large screen more flexibly and displayed synchronously.
As an improvement of the above scheme, the screen control system further comprises a coordinate mapping unit and a main screen control unit;
the coordinate mapping unit is used for establishing a plane coordinate system by taking any point of the main screen as an origin, acquiring the coordinate position of the sub control point when responding to the sub control point in the sub display area, and mapping the coordinate position of the main control point corresponding to the sub control point in the main screen according to the coordinate position of the sub control point;
the main screen control unit is used for controlling the main screen to execute corresponding control operation based on the coordinate position of the main control point.
As an improvement of the above scheme, the screen control system further includes a sub-display area control unit, where the sub-display area control unit is configured to, when the signal processing unit acquires two touch points moving in opposite directions in the sub-display area, perform a corresponding reduction operation on the size of the sub-display area according to a ratio of relative distance values of the two touch points before and after movement, and when the signal processing unit acquires the two touch points moving in opposite directions in the sub-display area, perform a corresponding enlargement operation on the size of the sub-display area according to a ratio of relative distance values of the two touch points before and after movement;
the sub-display area control unit is further configured to monitor a movement track of the touch point when the signal processing unit responds to the touch point at any top corner of the sub-display area, and control the sub-display area to move along the movement track of the touch point.
As an improvement of the above scheme, the screen control system further includes a sub-display area closing unit; the sub-display area closing unit is used for closing the sub-display area when the signal processing unit responds to the touch point outside the range of the sub-display area or receives a signal for closing the sub-display area.
Another embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the processor implements the screen control method according to the above embodiment of the present invention.
Drawings
Fig. 1 is a flowchart of a screen control method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a sub-display area generated in a screen control method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a mapping relationship between a sub-display area and a main screen according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating the positions of the sub-display area and the main screen according to an embodiment of the present invention;
fig. 5 is a flowchart of step S5 in a screen control method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of coordinate mapping in a screen control method according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a screen control system according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a screen control method provided in an embodiment of the present invention, where the method includes:
s1, responding to a first touch point and a second touch point of the main screen, wherein a first relative distance between the first touch point and the second touch point is larger than a first distance preset value, and monitoring sliding operation of the first touch point and the second touch point within preset time;
s2, when the first touch point and/or the second touch point are/is monitored to slide, acquiring a second relative distance between the first touch point and the second touch point after the sliding;
s3, when the difference value between the second relative distance and the first relative distance is larger than a second distance preset value, determining a sub-display area which is in equal proportion to the size of the main screen according to the current first touch point and the second touch point on the main screen; the first touch point is used as a preset position point of a first edge of the sub-display area, the second touch point is located on a straight line where a second edge of the sub-display area is located, and the first edge and the second edge are parallel to each other;
and S4, copying the screen data of the main screen, reducing the size of the copied screen data according to the size of the sub display area, and mapping the reduced screen data to the sub display area for synchronous display.
Specifically, in step S1, the user may determine the first touch point and the second touch point by using the position of the two fingers, the stylus or other touch devices on the main screen, and determine whether the first relative distance between the first touch point and the second touch point is greater than a preset first distance value. The setting of the first distance preset value can ensure that the sub-display area can not be generated when any two touch points exist on the main screen. If the first relative distance is greater than a first distance preset value, monitoring the sliding operation of the first touch point and the second touch point within preset time; preferably, the preset time may be two seconds, and if the first touch point and the second touch point do not perform a sliding operation within two seconds, the monitoring of the first touch point and the second touch point is stopped.
Specifically, in step S2, the user may slide only the first touch point, only the second touch point, or both the first touch point and the second touch point. And when the first touch point and the second touch point slide along any track, acquiring a second relative distance between the first touch point and the second touch point after sliding.
Specifically, in step S3, it is determined whether a difference between the second relative distance and the first relative distance is greater than a second distance preset value. As shown in fig. 2, a first relative distance between the first touch point a and the second touch point b when the sliding operation is not performed is s1, a second relative distance after the sliding operation is performed in the direction of the arrow is s2, and when a difference between the second relative distance s2 and the first relative distance s1 is greater than a second preset distance value, the first touch point a is used as a preset position point of a first edge of the sub-display area, preferably, the preset position point may be a center point of the first edge, or may be an end point of the first edge, for example, when the first touch point a is close to an edge of the main screen, the first touch point a may be an end point of the first edge, and the preset position point may be set to ensure that the display range of the main screen is not exceeded by the sub-display area. And taking the second touch point b as one of the points of the second edge parallel to the first edge, so as to determine the relative distance between the first edge and the second edge, wherein the relative distance is the length of the third edge and the fourth edge parallel to the third edge of the sub-display area, and then obtaining the lengths of the first edge and the second edge according to the equal ratio of the sub-display area to the main screen, so as to obtain the size of the sub-display area.
Specifically, in step S4, as shown in fig. 3, the screen data of the main screen is first copied, and preferably, the screen data includes the entire contents of the main screen. And placing the screen data in a memory space display memory, and displaying the data of the main screen by main screen display hardware. And simultaneously reducing the size of the screen data to be equal to that of the sub-display area through an equal-ratio reduction algorithm so as to obtain reduced screen data, storing the reduced screen data into a memory space so as to cover the screen data, mapping the reduced screen data to the sub-display area, and generating the sub-display area synchronously displayed with the main screen in the main screen. As shown in fig. 4, the other display areas except for the sub display area 2 in the main screen 1 are maintained to be normally displayed.
After obtaining the sub-display area based on the step S4, the embodiment further includes a step S5, when responding to the sub-control point located in the sub-display area, obtaining the main control point corresponding to the sub-control point in the main screen according to the sub-control point mapping. Therefore, the user can acquire display content through the main screen on the one hand, and can perform touch operation in the sub-display area on the other hand, the sub-display area is small in size compared with the main screen, and the user can adjust the size of the appropriate sub-display area to realize single-hand operation in the sub-display area.
Further, referring to fig. 5, fig. 5 is a flowchart of step S5 in the screen control method according to the embodiment of the present invention; step S5 specifically includes:
s51, establishing a plane coordinate system by taking any point of the main screen as an origin;
s52, acquiring the coordinate position of the sub control point when responding to the sub control point in the sub display area;
s53, obtaining the coordinate position of the main control point corresponding to the sub control point in the main screen according to the coordinate position mapping of the sub control point;
and S54, controlling the main screen to execute corresponding control operation based on the coordinate position of the main control point.
Specifically, in step S51, a planar coordinate system is established with any point of the main screen as an origin, and preferably, as shown in fig. 6, a planar rectangular coordinate system may be established with one of the vertices o of the main screen as an origin.
Specifically, in step S52, when the sub display region acquires the sub control point g, the coordinates (x, y) of the sub control point g are acquired in response to the sub control point g being located in the sub display region.
Specifically, in step S53, obtaining a coordinate position (x ', y') of the main control point G corresponding to the sub control point G in the main screen according to a coordinate mapping algorithm based on the coordinate position (x, y) of the sub control point G; preferably, when one of the vertices of the main screen is the origin o (0,0), the coordinate mapping algorithm is:
Figure GDA0002731548190000081
Figure GDA0002731548190000082
wherein x1 is the abscissa of the first vertex c of the sub display area, y1 is the ordinate of the first vertex c of the sub display area, x2 is the abscissa of the second vertex d of the sub display area, and y2 is the ordinate of the second vertex d of the sub display area, and the first vertex c of the sub display area is not adjacent to the second vertex d of the sub display area; the x is the abscissa of the sub-control point g, and the y is the ordinate of the sub-control point g; the Xmax is the abscissa of a vertex p which is not adjacent to the origin o in the main screen, and the Ymax is the ordinate of a vertex p which is not adjacent to the origin o in the main screen; the x 'is the abscissa of the main screen control point G, and the y' is the ordinate of the main screen control point G.
Specifically, in step S54, the main screen is controlled to perform a corresponding control operation based on the coordinate position of the main control point G. Preferably, the operation of step S4 is continuously performed after the main screen has performed the control operation of the main control point G, so that the sub display area can be displayed in synchronization with the main screen.
Preferably, the screen control method further includes the steps of:
s6, when two touch points moving oppositely are obtained in the sub-display area, carrying out corresponding reduction operation on the size of the sub-display area according to the ratio of the relative distance values of the two touch points before and after movement;
and S7, when two touch points moving backwards are acquired in the sub-display area, carrying out corresponding amplification operation on the size of the sub-display area according to the ratio of the relative distance values of the two touch points before and after movement.
Specifically, the user may perform zoom-in and zoom-out operations in the sub-display area through a double finger or a stylus. In step S6, the reduction operation specifically includes: and performing corresponding reduction operation on the sub-display area according to the reduction ratio by monitoring two touch points moving in opposite directions in the sub-display area, recording the relative distance between the first initial positions of the two touch points moving in opposite directions, recording the relative distance between the first end positions of the two touch points moving in opposite directions, and taking the ratio of the relative distance between the first initial positions to the relative distance between the first end positions as the reduction ratio.
Specifically, in step S7, the amplifying operation specifically includes: monitoring two touch points moving back to back in the sub-display area, recording the relative distance of the second starting positions of the two touch points moving back to back, recording the relative distance of the second end positions of the two touch points moving back to back, and taking the ratio of the relative distance of the second starting positions to the relative distance of the second end positions as an amplification ratio value, thereby carrying out corresponding amplification operation on the sub-display area according to the amplification ratio value.
Preferably, the screen control method further includes the steps of:
and S8, when a touch point at any top corner of the sub-display area is responded, monitoring the movement track of the touch point, and controlling the sub-display area to move along the movement track of the touch point.
Specifically, when the user wants to move the sub-display region, the position of the sub-display region may be moved by clicking any vertex position of the sub-display region. At this time, the sub-display area is controlled to move along the movement track of the touch point by monitoring the movement track of the touch point. Preferably, when the sub-display area moves, it is ensured that any top corner of the sub-display area cannot exceed the edge of the main screen, and the complete display of the sub-display area can be ensured.
Preferably, the screen control method further includes the steps of:
and S9, when the touch point outside the sub-display area range is responded or a sub-display area closing signal is received, closing the sub-display area.
Specifically, when responding to the touch points outside the range of the sub-display area and in the main screen display area, closing the sub-display area; when a signal for closing the sub display area is received, the sub display area is closed, preferably, a key for closing the sub display area may be provided in the main screen, and the user may close the sub display area by clicking the key for closing the sub display area.
It should be noted that steps S5 to S9 are all steps executed after the sub-display area is determined based on step S4, and there is no sequential relationship between steps S5 and S9.
In specific implementation, a sub-display area which is equal to the main screen in size is determined on the main screen through the first touch point a and the second touch point b, the copied screen data of the main screen is reduced in size according to the size of the sub-display area and then mapped to the sub-display area for synchronous display, and therefore the sub-display area which is equal to the main screen is generated. In addition, the main screen can be controlled by controlling the sub display area, and the sub display area can be enlarged, reduced and moved.
The screen control method disclosed by the embodiment of the invention solves the problem that the screen is too small due to the fact that the screen is zoomed to a certain proportion to form a control screen with a fixed proportion in the prior art, and can more flexibly generate an equal-proportion small screen in a large screen and synchronously display the small screen.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a screen control system 100 according to an embodiment of the present invention; the method comprises the following steps:
the signal processing unit 10 is configured to monitor sliding operations of a first touch point and a second touch point within a preset time in response to the first touch point and the second touch point on the main screen; when the first touch point and/or the second touch point are monitored to slide, acquiring a second relative distance between the first touch point and the second touch point after the sliding;
a sub-display area generating unit 20, configured to determine, according to the current first touch point and the current second touch point, a sub-display area on the main screen in proportion to the size of the main screen when a difference between the second relative distance and the first relative distance is greater than a second distance preset value; the first touch point is used as a preset position point of a first edge of the sub-display area, the second touch point is located on a straight line where a second edge of the sub-display area is located, and the first edge and the second edge are parallel to each other;
and the memory mapping unit 30 is configured to copy the screen data of the main screen, and map the copied screen data to the sub-display area after size reduction according to the size of the sub-display area for synchronous display.
Specifically, the user may determine the first touch point and the second touch point by using a position of a double finger, a stylus or other touch devices on a main screen, and the signal processing unit 10 determines whether a first relative distance between the first touch point and the second touch point is greater than a first distance preset value. The setting of the first distance preset value can ensure that the sub-display area can not be generated when any two touch points exist on the main screen. If the first relative distance is greater than a first distance preset value, the signal processing unit 10 monitors the sliding operation of the first touch point and the second touch point within a preset time; preferably, the preset time may be two seconds, and if the first touch point and the second touch point do not perform the sliding operation within two seconds, the signal processing unit 10 stops monitoring the first touch point and the second touch point. Specifically, the user may slide only the first touch point, may slide only the second touch point, or simultaneously slide the first touch point and the second touch point. When the first touch point and the second touch point slide along any trajectory, the signal processing unit 10 obtains a second relative distance between the first touch point and the second touch point after the sliding occurs.
Specifically, the sub-display area generating unit 20 determines whether a difference between the second relative distance and the first relative distance is greater than a second distance preset value. As shown in fig. 2, a first relative distance between the first touch point a and the second touch point b when no sliding operation is performed is s1, the second relative distance after the sliding operation is performed as the arrow direction is s2, when the difference between the second relative distance s2 and the first relative distance s1 is greater than a second distance preset value, the sub-display area generating unit 20 uses the first touch point a as a preset position point of the first edge of the sub-display area, preferably, the preset location point may be a center point of the first edge, or may be an end point of the first edge, for example, when the first touch point a is close to an edge of the main screen, the first touch point a may be an end point of the first edge, the setting of the preset position point can ensure that the display range of the sub display area does not exceed that of the main screen. The sub-display area generating unit 20 uses the second touch point b as one of the points of the second edge parallel to the first edge, so as to determine a relative distance between the first edge and the second edge, where the relative distance is a length of a third edge and a fourth edge parallel to the third edge of the sub-display area, and then obtains the lengths of the first edge and the second edge according to an equal ratio between the sub-display area and the main screen, so as to obtain the size of the sub-display area.
Specifically, as shown in fig. 3, the memory mapping unit 30 copies the screen data of the main screen, and preferably, the screen data includes all the contents of the main screen. The memory mapping unit 30 places the screen data in a memory space display memory, and the main screen display hardware displays the data of the main screen. Meanwhile, the size of the screen data is reduced to be equal to the size of the sub-display area through an equal-ratio reduction algorithm, so that reduced screen data is obtained, the memory mapping unit 30 stores the reduced screen data into a memory space so as to cover the screen data, and the reduced screen data is mapped to the sub-display area, so that the sub-display area synchronously displayed with the main screen is generated in the main screen. As shown in fig. 4, the other display areas except for the sub display area 2 in the main screen 1 are maintained to be normally displayed.
Preferably, the screen control system 100 further includes a coordinate mapping unit 40 and a main screen control unit 50;
the coordinate mapping unit 40 is configured to establish a planar coordinate system with any point of the main screen as an origin, acquire a coordinate position of the sub control point when responding to the sub control point located in the sub display area, and obtain a coordinate position of a main control point corresponding to the sub control point in the main screen according to the coordinate position mapping of the sub control point;
the home screen control unit 50 is used to control the home screen to perform a corresponding control operation based on the coordinate position of the main control point.
Specifically, the coordinate mapping unit 40 establishes a planar coordinate system with any point of the main screen as an origin, and preferably, as shown in fig. 6, the coordinate mapping unit 40 may establish a planar rectangular coordinate system with one vertex o of the main screen as an origin.
Specifically, when the sub display region acquires a sub control point g, the coordinate mapping unit 40 acquires the coordinate (x, y) of the sub control point g in response to the sub control point g located in the sub display region. The coordinate mapping unit 40 obtains a coordinate position (x ', y') of the main control point G corresponding to the sub control point G in the main screen according to the coordinate position (x, y) of the sub control point G by a coordinate mapping algorithm; preferably, when one of the vertices of the main screen is the origin o (0,0), the coordinate mapping algorithm is:
Figure GDA0002731548190000121
Figure GDA0002731548190000131
wherein x1 is the abscissa of the first vertex c of the sub display area, y1 is the ordinate of the first vertex c of the sub display area, x2 is the abscissa of the second vertex d of the sub display area, and y2 is the ordinate of the second vertex d of the sub display area, and the first vertex c of the sub display area is not adjacent to the second vertex d of the sub display area; the x is the abscissa of the sub-control point g, and the y is the ordinate of the sub-control point g; the Xmax is the abscissa of a vertex p which is not adjacent to the origin o in the main screen, and the Ymax is the ordinate of a vertex p which is not adjacent to the origin o in the main screen; the x 'is the abscissa of the main screen control point G, and the y' is the ordinate of the main screen control point G.
Specifically, the main screen control unit 50 controls the main screen to perform a corresponding control operation based on the coordinate position of the main control point G. Preferably, the operation of step S4 is continuously performed after the main screen control unit 50 controls the main screen to perform the control operation of the main control point G, so that the sub display area can be displayed in synchronization with the main screen.
Preferably, the screen control system 100 further includes a sub-display area control unit 60, where the sub-display area control unit 60 is configured to, when the signal processing unit 10 acquires two touch points moving in opposite directions in the sub-display area, perform a corresponding reduction operation on the size of the sub-display area according to a ratio of relative distance values of the two touch points before and after the movement by the sub-display area control unit 60, and when the signal processing unit 10 acquires the two touch points moving in opposite directions in the sub-display area, perform a corresponding enlargement operation on the size of the sub-display area according to a ratio of relative distance values of the two touch points before and after the movement by the sub-display area control unit 60;
the sub-display area control unit 60 is further configured to monitor a moving track of the touch point when the signal processing unit 10 responds to the touch point at any top corner of the sub-display area, and control the sub-display area to move along the moving track of the touch point.
Specifically, the user may perform zoom-in and zoom-out operations in the sub-display area through a double finger or a stylus. The reduction operation specifically comprises the following steps: the signal processing unit 10 monitors two touch points moving in opposite directions in the sub-display area, records a relative distance between first start positions of the two touch points moving in opposite directions, records a relative distance between first end positions of the two touch points moving in opposite directions, and uses a ratio of the relative distance between the first start positions and the relative distance between the first end positions as a reduction ratio value, so that the sub-display area control unit 60 performs a corresponding reduction operation on the sub-display area according to the reduction ratio value.
Specifically, the amplification operation specifically comprises: the signal processing unit 10 monitors two touch points moving back to back in the sub-display area, records a relative distance between second start positions of the two touch points moving back to back, records a relative distance between second end positions of the two touch points moving back to back, and takes a ratio of the relative distance between the second start positions to the relative distance between the second end positions as an amplification scale value, so that the sub-display area control unit 60 performs a corresponding amplification operation on the sub-display area according to the amplification scale value.
Specifically, when the user wants to move the sub-display region, the position of the sub-display region may be moved by clicking any vertex position of the sub-display region. At this time, the signal processing unit 10 monitors the moving track of the touch point, and the sub-display area control unit 60 controls the sub-display area to move along the moving track of the touch point. Preferably, the sub display area control unit 60 ensures that any top corner of the sub display area cannot exceed the edge of the main screen while the sub display area is moved, and can ensure the complete display of the sub display area.
Preferably, the screen control system 100 further includes a sub-display area closing unit 70; the sub-display area closing unit 70 is configured to close the sub-display area when the signal processing unit 10 responds to a touch point outside the sub-display area range or receives a signal for closing the sub-display area.
Specifically, when the signal processing unit 10 responds to the touch point outside the sub-display area and inside the main screen display area, the sub-display area closing unit 70 closes the sub-display area; when the signal processing unit 10 receives a signal for closing the sub display area, the sub display area closing unit 70 closes the sub display area, and preferably, a key for closing the sub display area may be provided in the main screen, and the user may close the sub display area by clicking the key for closing the sub display area.
In specific implementation, the signal processing unit 10 monitors the first touch point and the second touch point, the sub-display area generating unit 20 determines a sub-display area in proportion to the size of the main screen on the main screen, and the memory mapping unit 30 reduces the size of the copied screen data of the main screen according to the size of the sub-display area and then maps the reduced screen data to the sub-display area for synchronous display, so as to generate the sub-display area in proportion to the main screen. In addition, a coordinate mapping can be established by the coordinate mapping unit 40, and then the main screen control unit 50 controls the main screen to perform a control operation corresponding to the sub display area, and the sub display area control unit 60 can perform an operation of enlarging, reducing, and moving the sub display area.
The screen control system 100 disclosed in the embodiment of the present invention solves the problem that the screen is too small due to the fact that the screen is scaled to a certain ratio to form a control screen with a fixed ratio in the prior art, and can more flexibly generate an equal ratio small screen in a large screen and synchronously display the small screen.
Referring to fig. 8, fig. 8 is a schematic diagram of a terminal device according to an embodiment of the present invention; the terminal device 200 of this embodiment includes: a processor 21, a memory 22 and a computer program stored in said memory 22 and executable on said processor 21. The processor 21, when executing the computer program, implements the steps in the various screen control method embodiments described above, such as steps S1-S4 shown in fig. 1. Alternatively, the processor 21, when executing the computer program, implements the functions of the units in the above-described device embodiments, for example, the functions of the signal processing unit 10.
Illustratively, the computer program may be divided into one or more modules/units, which are stored in the memory and executed by the processor 21 to accomplish the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used for describing the execution process of the computer program in the terminal device 200. For example, the computer program may be divided into the signal processing unit 10, the sub-display area generating unit 20, the memory mapping unit 30, the coordinate mapping unit 40, the main screen control unit 50, the sub-display area control unit 60, and the sub-display area closing unit 70, and specific functions of each module refer to functions of each module in the screen control system 100 in the above embodiments, which are not described herein again.
The terminal device 200 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device 200 may include, but is not limited to, a processor 21 and a memory 22. Those skilled in the art will appreciate that the diagram is merely an example of the terminal device 200 and does not constitute a limitation of the terminal device 200 and may include more or less components than those shown, or combine some of the components, or different components, for example, the terminal device 200 may further include input and output devices, network access devices, buses, etc.
The Processor 21 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. The general processor may be a microprocessor or the processor may be any conventional processor or the like, and the processor 21 is a control center of the terminal device 200 and connects various parts of the whole terminal device 200 by various interfaces and lines.
The memory 22 can be used for storing the computer programs and/or modules, and the processor 22 can implement various functions of the terminal device 200 by running or executing the computer programs and/or modules stored in the memory and calling data stored in the memory. The memory 22 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating device, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory 22 may include a high speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein, the module/unit integrated with the terminal device 200 may be stored in a computer readable storage medium if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (7)

1. A screen control method, characterized in that the method comprises:
responding to a first touch point and a second touch point of a main screen, wherein a first relative distance between the first touch point and the second touch point is greater than a first distance preset value, and monitoring sliding operation of the first touch point and the second touch point within preset time;
when the first touch point and/or the second touch point are monitored to slide, acquiring a second relative distance between the first touch point and the second touch point after the sliding;
when the difference value between the second relative distance and the first relative distance is larger than a second distance preset value, determining a sub-display area which is in equal proportion to the size of the main screen on the main screen according to the current first touch point and the current second touch point; the first touch point is used as a preset position point of a first edge of the sub-display area, the second touch point is located on a straight line where a second edge of the sub-display area is located, and the first edge and the second edge are parallel to each other; the preset position point is a central point of the first edge or an endpoint of the first edge, and when the first touch point is close to the edge of the main screen, the first touch point is the endpoint of the first edge;
copying the screen data of the main screen, and mapping the copied screen data to the sub-display area for synchronous display after size reduction according to the size of the sub-display area;
when two touch points which move oppositely are obtained in the sub-display area, carrying out corresponding reduction operation on the size of the sub-display area according to the ratio of the relative distance values of the two touch points before and after movement;
when two touch points moving backwards are obtained in the sub-display area, carrying out corresponding amplification operation on the size of the sub-display area according to the ratio of the relative distance values of the two touch points before and after movement;
and when responding to the touch point at any top corner of the sub-display area, monitoring the movement track of the touch point, and controlling the sub-display area to move along the movement track of the touch point.
2. The screen control method of claim 1, wherein the screen control method further comprises:
establishing a plane coordinate system by taking any point of the main screen as an origin;
when a sub control point in the sub display area is responded, the coordinate position of the sub control point is obtained;
mapping according to the coordinate position of the sub control point to obtain the coordinate position of a main control point corresponding to the sub control point in the main screen;
and controlling the main screen to execute corresponding control operation based on the coordinate position of the main control point.
3. The screen control method of claim 1, wherein the screen control method further comprises:
and when the touch point outside the range of the sub-display area is responded or a signal for closing the sub-display area is received, closing the sub-display area.
4. A screen control system, comprising:
the signal processing unit is used for responding to a first touch point and a second touch point of a main screen, and monitoring sliding operation of the first touch point and the second touch point within preset time, wherein a first relative distance between the first touch point and the second touch point is greater than a first distance preset value; when the first touch point and/or the second touch point are monitored to slide, acquiring a second relative distance between the first touch point and the second touch point after the sliding;
the sub-display area generating unit is used for determining a sub-display area which is in equal proportion to the size of the main screen on the main screen according to the current first touch point and the current second touch point when the difference value of the second relative distance and the first relative distance is larger than a second distance preset value; the first touch point is used as a preset position point of a first edge of the sub-display area, the second touch point is located on a straight line where a second edge of the sub-display area is located, and the first edge and the second edge are parallel to each other; the preset position point is a central point of the first edge or an endpoint of the first edge, and when the first touch point is close to the edge of the main screen, the first touch point is the endpoint of the first edge;
the memory mapping unit is used for copying the screen data of the main screen, reducing the size of the copied screen data according to the size of the sub-display area and then mapping the copied screen data to the sub-display area for synchronous display;
the sub-display area control unit is used for performing corresponding reduction operation on the size of the sub-display area according to the ratio of the relative distance values of the two touch points before and after movement when the signal processing unit acquires the two touch points which move in opposite directions in the sub-display area, and performing corresponding amplification operation on the size of the sub-display area according to the ratio of the relative distance values of the two touch points before and after movement when the signal processing unit acquires the two touch points which move in opposite directions in the sub-display area; and the signal processing unit is also used for monitoring the moving track of the touch point when responding to the touch point at any top corner of the sub-display area and controlling the sub-display area to move along the moving track of the touch point.
5. The screen control system of claim 4, further comprising a coordinate mapping unit and a main screen control unit;
the coordinate mapping unit is used for establishing a plane coordinate system by taking any point of the main screen as an origin, acquiring the coordinate position of the sub control point when responding to the sub control point in the sub display area, and mapping the coordinate position of the main control point corresponding to the sub control point in the main screen according to the coordinate position of the sub control point;
the main screen control unit is used for controlling the main screen to execute corresponding control operation based on the coordinate position of the main control point.
6. The screen control system of claim 4, further comprising a sub-display area closing unit; the sub-display area closing unit is used for closing the sub-display area when the signal processing unit responds to the touch point outside the range of the sub-display area or receives a signal for closing the sub-display area.
7. A terminal device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the screen control method of any one of claims 1 to 3 when executing the computer program.
CN201810784002.2A 2018-07-17 2018-07-17 Screen control method, system and terminal equipment Active CN109085974B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810784002.2A CN109085974B (en) 2018-07-17 2018-07-17 Screen control method, system and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810784002.2A CN109085974B (en) 2018-07-17 2018-07-17 Screen control method, system and terminal equipment

Publications (2)

Publication Number Publication Date
CN109085974A CN109085974A (en) 2018-12-25
CN109085974B true CN109085974B (en) 2021-02-19

Family

ID=64838139

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810784002.2A Active CN109085974B (en) 2018-07-17 2018-07-17 Screen control method, system and terminal equipment

Country Status (1)

Country Link
CN (1) CN109085974B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111766986B (en) * 2019-05-17 2023-04-07 北京京东尚科信息技术有限公司 Method and device for performing touch operation on terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102221969A (en) * 2011-06-09 2011-10-19 福州瑞芯微电子有限公司 Multipoint-touch-technology-based video scaling method
CN104994314A (en) * 2015-08-10 2015-10-21 合一网络技术(北京)有限公司 Method and system for controlling picture in picture video on mobile terminal through gesture
CN105242819A (en) * 2014-06-12 2016-01-13 联想(北京)有限公司 Method for quickly switching interface, and electronic equipment
CN105892897A (en) * 2015-11-02 2016-08-24 乐视致新电子科技(天津)有限公司 Terminal operation method and equipment
CN105892845A (en) * 2015-12-14 2016-08-24 乐视致新电子科技(天津)有限公司 Method and device for adjusting video window by multi-point touch

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110210850A1 (en) * 2010-02-26 2011-09-01 Phuong K Tran Touch-screen keyboard with combination keys and directional swipes
CN103853476B (en) * 2012-12-04 2017-06-27 联想(北京)有限公司 The method and electronic equipment of a kind of information processing
CN104238927B (en) * 2013-06-09 2019-04-19 腾讯科技(北京)有限公司 The control method and device of intelligent terminal application program
US20170003859A1 (en) * 2015-06-30 2017-01-05 Mediatek Inc. Method for one-handed operation on electronic device and associated electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102221969A (en) * 2011-06-09 2011-10-19 福州瑞芯微电子有限公司 Multipoint-touch-technology-based video scaling method
CN105242819A (en) * 2014-06-12 2016-01-13 联想(北京)有限公司 Method for quickly switching interface, and electronic equipment
CN104994314A (en) * 2015-08-10 2015-10-21 合一网络技术(北京)有限公司 Method and system for controlling picture in picture video on mobile terminal through gesture
CN105892897A (en) * 2015-11-02 2016-08-24 乐视致新电子科技(天津)有限公司 Terminal operation method and equipment
CN105892845A (en) * 2015-12-14 2016-08-24 乐视致新电子科技(天津)有限公司 Method and device for adjusting video window by multi-point touch

Also Published As

Publication number Publication date
CN109085974A (en) 2018-12-25

Similar Documents

Publication Publication Date Title
US20180232135A1 (en) Method for window displaying on a mobile terminal and mobile terminal
WO2015139408A1 (en) Method for managing application program icons, and terminal
KR102121905B1 (en) Method and apparatus for setting background of ui control, and terminal
CN107608668B (en) Method and device for making and compatibly displaying H5 page, terminal equipment and storage medium
CN109298909B (en) Window adjusting method, mobile terminal and computer readable storage medium
WO2017059734A1 (en) Image zoom in/out method and electronic device
CN112954193B (en) Shooting method, shooting device, electronic equipment and medium
WO2017032078A1 (en) Interface control method and mobile terminal
CN109062471B (en) Mobile display method, device, equipment and medium for page elements
CN107770845B (en) mobile hotspot management method and device, terminal and storage medium
CN103699331A (en) Gesture method for controlling screen zooming
CN109085974B (en) Screen control method, system and terminal equipment
WO2024037415A1 (en) Screen mirroring content display method and apparatus, device and storage medium
CN110286827B (en) Element scaling control method, device, equipment and storage medium
CN112148167A (en) Control setting method and device and electronic equipment
CN116107531A (en) Interface display method and device
US9424808B2 (en) Image cropping manipulation method and portable electronic device
WO2022194211A1 (en) Image processing method and apparatus, electronic device and readable storage medium
WO2017016333A1 (en) Screen adjustment method and device
CN108255367B (en) Mechanism window display method, mechanism window display device, mechanism window equipment and storage medium
WO2016033934A1 (en) Projection method, projection device and computer storage medium
CN108491139B (en) Object fixing method and device, terminal equipment and storage medium
TWI619070B (en) System and method for displaying images of electronic device
KR102097696B1 (en) Method of controlling touch function and an electronic device thereof
CN106980622B (en) Folder processing method and device

Legal Events

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