CN107515712A - Interface display method and electronic equipment - Google Patents

Interface display method and electronic equipment Download PDF

Info

Publication number
CN107515712A
CN107515712A CN201710521703.2A CN201710521703A CN107515712A CN 107515712 A CN107515712 A CN 107515712A CN 201710521703 A CN201710521703 A CN 201710521703A CN 107515712 A CN107515712 A CN 107515712A
Authority
CN
China
Prior art keywords
interface
display
touch
touch event
auxiliary
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201710521703.2A
Other languages
Chinese (zh)
Inventor
张享
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Yep Telecommunication Technology Co Ltd
Original Assignee
Xian Yep Telecommunication Technology 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 Xian Yep Telecommunication Technology Co Ltd filed Critical Xian Yep Telecommunication Technology Co Ltd
Priority to CN201710521703.2A priority Critical patent/CN107515712A/en
Publication of CN107515712A publication Critical patent/CN107515712A/en
Withdrawn legal-status Critical Current

Links

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
    • 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
    • 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/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
    • G06F3/0485Scrolling or panning

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)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present embodiments relate to technical field of data processing, discloses a kind of interface display method and electronic equipment.In the embodiment of the present invention, interface display method includes:Same picture is shown in main interface and secondary interface simultaneously;Secondary interface is the part viewing area in main interface;Judge whether to receive the touch event that secondary interface reports;If receiving the touch event that secondary interface reports, renewal is synchronized to the picture in main interface and secondary interface according to touch event.The embodiment of the present invention allows users to by the less secondary interface operation equipment in interface and checks display picture, facilitate one-handed performance equipment and improve operating efficiency, the display picture of display screen damaged area can be checked by secondary interface simultaneously, the situation for avoiding the display picture that damaged area touch operation failure or damaged area occurs from not watching, and invention the present embodiment has played the advantage of the full-scale display of main interface, provide the user and preferably viewed and admired experience.

Description

Interface display method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to an interface display method and electronic equipment. .
Background
Electronic equipment such as mobile phones and tablet computers are generally applied to daily life of people, with the increasing development of the electronic equipment, large-screen electronic equipment (such as a large-screen mobile phone) is popular among people due to the advantages of large display information amount, good viewing effect and the like, and in practical application, people often operate the large-screen electronic equipment with one hand, so the display mode of the interface of the large-screen electronic equipment influences the experience of the single-hand operation of people.
The interface display modes of the existing large-screen electronic equipment are as follows: firstly, displaying an interface in full size, namely displaying all pictures in a display area of a display screen; secondly, when the interface is displayed locally, namely when the single-hand operation mode of the device is switched, the interface is relatively reduced and is close to the bottom of the display screen, and other areas except the interface are shielded (namely, no picture is displayed).
However, the inventors found that the following problems exist in the prior art: firstly, the interface is displayed in full size, the displacement required to be generated during operation is large, the operation efficiency is low, the operation is inconvenient for one-hand operation, and when the display screen is partially damaged, the display picture of the damaged area cannot be seen; second, the interface is displayed partially, and although one-handed operation can be basically achieved, the advantage of full-size display of the interface is not achieved, and the viewing effect is not good.
Disclosure of Invention
An object of the embodiments of the present invention is to provide an interface display method and an electronic device, so that a user can operate a device and view a display image through a secondary interface with a smaller interface, thereby facilitating a one-handed operation of the device and improving operation efficiency, and meanwhile, the display image of a damaged area of a display screen can be viewed through the secondary interface, thereby avoiding a situation that a touch operation of the damaged area fails or the display image of the damaged area cannot be viewed.
In order to solve the above technical problem, an embodiment of the present invention provides an interface display method, including: simultaneously displaying the same picture in the main interface and the auxiliary interface; the auxiliary interface is a part of display area on the main interface; judging whether a touch event reported by the secondary interface is received; and if a touch event reported by the auxiliary interface is received, synchronously updating the pictures in the main interface and the auxiliary interface according to the touch event.
An embodiment of the present invention also provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the interface display method as described above.
Compared with the prior art, the method and the device have the advantages that the same picture is displayed in the main interface and the auxiliary interface simultaneously; in the interface display method provided by the embodiment of the invention, the main interface and the auxiliary interface are simultaneously displayed, and when a touch event reported by the auxiliary interface is received, the pictures in the main interface and the auxiliary interface are synchronously updated according to the touch event, so that a user can operate equipment on a smaller auxiliary interface, and thus the equipment (especially equipment with a larger display screen) is operated by one hand, a mode of displaying the interface in a full size in the prior art is replaced, and a finger is not required to generate larger displacement during the operation of the user, so that the operation efficiency is improved; and the pictures in the main interface and the auxiliary interface are updated synchronously, so that a mode of local display of the interfaces in the prior art is replaced, the pictures can be displayed on the main interface in a full size, the advantage of full-size display is exerted, and a better viewing effect is provided for users. In addition, when the display screen is partially damaged, the display picture of the damaged area can be checked through the auxiliary interface operation equipment and the auxiliary interface, so that the condition that the touch operation of the damaged area is invalid or the display picture of the damaged area cannot be viewed is avoided.
In addition, at least one point of the display area of the sub interface is used as a first reference point; detecting whether a moving operation on the auxiliary interface exists or not, wherein the moving operation comprises coordinate information of a first target reference point; and if so, taking the first target reference point as the first reference point. In the embodiment, when the moving operation on the auxiliary interface is detected, the first target reference point in the moving operation is used as the first reference point of the display area of the auxiliary interface, so that the movement of the auxiliary interface is realized, a user can freely move the display position of the auxiliary interface on the main interface as required, and convenience is provided for the user to use.
In addition, at least two points of the display area of the sub-interface are used as second reference points; detecting whether a zooming operation on the secondary interface exists or not, wherein the zooming operation comprises at least two second target reference points; and if so, taking the second target reference point as the second reference point. In this embodiment, when the zoom operation on the secondary interface is detected, the second target reference point included in the zoom operation is used as the second reference point of the display area of the secondary interface, so that the secondary interface is reduced or enlarged, a user can arbitrarily zoom the display range of the secondary interface on the primary interface as required, and convenience is provided for the user to use.
In addition, the synchronously updating the screens in the main interface and the sub interface according to the touch event specifically includes: acquiring the updating data of the picture according to the touch event; storing the updated data of the picture to a first memory cache region and a second memory cache region of display driving equipment at the same time; outputting the updated data of the picture in the first memory cache region to the main interface for display; and outputting the updated data of the picture in the second memory cache region to the auxiliary interface for display. In this embodiment, the first memory cache region and the second memory cache region respectively transmit the update data of the picture to the main interface and the sub interface for display, so as to implement synchronous update of the picture of the main interface and the sub interface.
In addition, the determining whether the touch event reported by the secondary interface is received specifically includes: when touch operation is detected, judging whether the touch position of the touch operation is located in the secondary interface or not; when the touch position is located in the auxiliary interface, generating the touch event according to the touch operation and judging that the touch event reported by the auxiliary interface is received; and when the touch position is located outside the secondary interface, judging that the touch event reported by the secondary interface is not received. In the embodiment, whether a touch event reported by the sub-interface is received is judged by judging whether the touch position of the touch operation is located in the sub-interface; namely, the embodiment of the invention provides a specific implementation mode for judging whether the touch event of the secondary interface is received.
In addition, the display range of the auxiliary interface is obtained by reducing the display range of the main interface to a preset proportion. In this embodiment, a specific implementation manner for obtaining the display range of the sub interface is provided.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a detailed flowchart of an interface display method according to a first embodiment;
fig. 2 is a schematic diagram of touch event reporting according to a first embodiment;
fig. 3 is a detailed flowchart of an interface display method according to a second embodiment;
FIG. 4 is a diagram illustrating a process of synchronous updating of the pictures of the main interface and the sub interface according to the second embodiment;
fig. 5 is a detailed flowchart of an interface display method according to a third embodiment;
fig. 6 is a schematic diagram of a touch operation on the sub interface according to the third embodiment;
fig. 7 is a detailed flowchart of an interface display method according to a fourth embodiment;
fig. 8 is a schematic diagram of a sub-interface subjected to a moving operation according to a fourth embodiment;
fig. 9 is a detailed flowchart of an interface display method according to a fifth embodiment;
fig. 10 is a schematic diagram of a zoom operation performed on the sub-interface according to the fifth embodiment;
fig. 11 is a schematic diagram of an electronic device according to a sixth embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
A first embodiment of the present invention relates to an interface display method, and a specific flow is shown in fig. 1, including:
step 101, simultaneously displaying the same picture in the main interface and the auxiliary interface.
In this embodiment, the main interface is a full-size display interface; the secondary interface is a part of the display area on the primary interface, namely the secondary interface is smaller than the primary interface.
In this embodiment, the trigger device may be manually operated to receive the instruction displayed on the dual interface, for example, the trigger device may be triggered by double-clicking the HOME key or pressing a combined physical key, but the trigger device is not limited thereto and may be set according to the actual situation. When an instruction of double-interface display is received, the processor controls the display screen to display the main interface and the auxiliary interface, and the same picture is displayed in the main interface and the auxiliary interface simultaneously.
Step 102, judging whether a touch event reported by a secondary interface is received; if yes, go to step 201, otherwise, execute the step.
In this embodiment, as shown in fig. 2, when a touch operation is performed on the sub-interface, the touch screen can report the touch operation to a bottom driver (located in the processor) of the touch screen according to a physical response, and after processing, report a touch event corresponding to the touch operation to the application layer, and the application layer transmits the touch event to the display driver device, so as to respond to the display screen; in other words, the secondary interface has the same response functionality (e.g., return, refresh, etc.) as the primary interface (which is the primary interface of the device in the full-size display mode of the interface). It should be noted that, in the embodiment, in the dual-interface display mode, if the touch operation is performed on the main interface, the touch screen does not report the corresponding touch event, that is, only the touch event of the sub-interface is reported in the embodiment.
And 103, synchronously updating the pictures in the main interface and the auxiliary interface according to the touch event.
In this embodiment, when a touch event reported by the sub-interface is received, the processor generates a corresponding response according to the touch event, that is, the frames in the main interface and the sub-interface are updated synchronously.
In one example, a first picture is displayed in the main interface and the auxiliary interface at the same time, a touch operation of dialing is carried out on the auxiliary interface, and when a touch event corresponding to the dialing reported by the auxiliary interface is received, the first picture displayed in the main interface and the first picture displayed in the auxiliary interface are synchronously updated into a second picture according to the touch event corresponding to the dialing; however, this is merely an example and is not limited thereto.
Compared with the prior art, the embodiment of the invention simultaneously displays the same picture in the main interface and the auxiliary interface; in the interface display method provided by the embodiment of the invention, the main interface and the auxiliary interface are simultaneously displayed, and when a touch event reported by the auxiliary interface is received, the pictures in the main interface and the auxiliary interface are synchronously updated according to the touch event, so that a user can operate equipment on a smaller auxiliary interface, and thus the equipment (especially equipment with a larger display screen) is operated by one hand, a mode of displaying the interface in a full size in the prior art is replaced, and a finger is not required to generate larger displacement during the operation of the user, so that the operation efficiency is improved; and the pictures in the main interface and the auxiliary interface are updated synchronously, so that a mode of local display of the interfaces in the prior art is replaced, the pictures can be displayed on the main interface in a full size, the advantage of full-size display is exerted, and a better viewing effect is provided for users. In addition, when the display screen is partially damaged, the display picture of the damaged area can be checked through the auxiliary interface operation equipment and the auxiliary interface, so that the condition that the touch operation of the damaged area is invalid or the display picture of the damaged area cannot be viewed is avoided.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A second embodiment of the present invention relates to an interface display method. The second embodiment is refined on the basis of the first embodiment, and mainly comprises the following steps: in the second embodiment of the present invention, the process of synchronously updating the screens in the main interface and the sub interface according to the touch event is refined.
Fig. 3 shows a flowchart of the interface display method in this embodiment, and steps 201 to 202 in this embodiment are the same as steps 101 to 102 in the first embodiment, and are not described herein again, and step 203 in this embodiment is detailed and specifically described as follows:
and step 203, synchronously updating the pictures in the main interface and the auxiliary interface according to the touch event.
In this embodiment, the display range of the sub interface is obtained by reducing the display range of the main interface to a preset ratio. For example, the display range of the main interface is 140 × 60 mm, and the preset ratio is 1:2, the display range of the secondary interface is 70 x 30 mm; however, this is merely an example and is not limited thereto.
In this embodiment, step 203 includes the following substeps:
step 2031, acquiring the update data of the screen according to the touch event.
In one example, in the news listing screen of the sub-interface, the first news title in the news listing is clicked, and the processor acquires the update data of the news listing screen according to the received touch event. However, this is merely an example and is not limited thereto.
Step 2032, the updated data of the frame is stored in the first memory buffer area and the second memory buffer area of the display driving device at the same time.
In this embodiment, the first memory buffer is used to store the update data of the picture displayed on the main interface, and the second memory buffer is used to store the update data of the picture displayed on the sub interface.
In fact, in the embodiment, in the mode of displaying only the main interface in full size, the updated data of the frame is only stored in the first memory buffer of the display driving device, and the second memory buffer is in the off state. After the same picture is displayed on the main interface and the auxiliary interface simultaneously, the second memory cache area is switched from the closed state to the working state.
Step 2033, outputting the updated data of the frame in the first memory buffer area to the main interface for display.
Step 2034, outputting the updated data of the picture in the second memory buffer area to the sub-interface for display.
Specifically, as shown in fig. 4, the first memory buffer transmits the updated data of the picture to the main interface through a Mobile Industry Processor Interface (MIPI) for display, and the second memory buffer transmits the updated data of the picture to the sub interface through the Mobile Industry Processor Interface (MIPI) for display, so as to implement synchronous update of the pictures of the main interface and the sub interface.
In one example, as shown in fig. 4, the sub interface is displayed at the lower left corner of the main interface in a preset ratio of 1:2, but in practice, the sub interface is not limited thereto, and the sub interface can be displayed at any position of the main interface as required. The size of the display range of the sub-interface is not limited to that shown in the figure, and can be set by the user as required.
Compared with the first implementation manner, in the embodiment of the present invention, the update data of the picture is respectively transmitted to the main interface and the sub interface through the first memory cache region and the second memory cache region, so as to implement the synchronous update of the picture of the main interface and the sub interface.
A third embodiment of the present invention relates to an interface display method. The third embodiment is a refinement of the first embodiment, and the main refinement is as follows: in the third embodiment of the present invention, the process of determining whether a touch event reported by a secondary interface is received is detailed.
Fig. 5 shows a flowchart of the interface display method in this embodiment, where steps 301 and 303 in this embodiment are the same as steps 101 and 103 in the first embodiment, and are not described herein again, and step 302 in this embodiment, determining whether a touch event reported by a secondary interface is received includes the following sub-steps, which are specifically described as follows:
step 3021, when a touch operation is detected, determining whether a touch position of the touch operation is located in the sub-interface; if yes, go to step 3022, otherwise go to step 3023.
In this embodiment, when the touch operation is detected, the touch screen reports a touch position (i.e., a coordinate) of the touch operation, and the processor determines whether the touch position is located in the coverage position of the secondary interface according to the coverage position of the current secondary interface.
And step 3022, generating a touch event according to the touch operation and judging that the touch event reported by the secondary interface is received.
In this embodiment, when the touch position of the touch operation is located in the sub-interface, the processor responds to the touch operation to generate a touch event.
And step 3023, determining that the touch event reported by the secondary interface is not received.
In this embodiment, when the touch position of the touch operation is located outside the sub-interface, it indicates that the touch event reported by the sub-interface is not received.
In one example, as shown in FIG. 6, the range of the long side of the sub-interface is y1To y3The short side of the secondary interface is in the range of x1To x3To (c) to (d); the touch operation exit is detected, and the coordinate of the touch position point A of the touch operation exit is (x)2,y2) According to x1<x2<x3And y is1<y2<y3It can be known thatAnd the touch position point A is positioned in the auxiliary interface, generates a touch event according to the touch operation exit and judges that the touch event reported by the auxiliary interface is received. However, this is merely an example and is not limited thereto.
In fact, the embodiment of the present invention may also be a modification on the second embodiment.
Compared with the first implementation mode, the embodiment of the invention judges whether a touch event reported by the sub-interface is received by judging whether the touch position of the touch operation is located in the sub-interface; namely, the embodiment of the invention provides a specific implementation mode for judging whether the touch event of the secondary interface is received.
A fourth embodiment of the present invention relates to an interface display method. The fourth embodiment is improved on the basis of the first embodiment, and the main improvement lies in that: in the fourth embodiment of the present invention, the sub interface can be moved according to a moving operation.
Fig. 7 shows a flowchart of the interface display method in this embodiment, and steps 401 to 403 in this embodiment are the same as steps 101 to 103 in the first embodiment, and are not described herein again, and the following steps are added in this embodiment, which are specifically described as follows:
at step 404, at least one point of the display area of the sub-interface is used as a first reference point.
In the present embodiment, the display area includes an edge area of the sub interface. The first reference point may be any point of the display area of the sub interface, and this embodiment does not limit this, for example, the first reference point is a center point or a corner point of the sub interface.
In this embodiment, the number of the first reference points may be one, two or more, and the number of the first reference points is not limited in this embodiment.
Step 405, detecting whether a moving operation on the secondary interface exists; if yes, go to step 406, otherwise continue to execute the present step.
In this embodiment, the moving operation includes coordinate information of the first target reference point, and the first target reference point may be any point on the main interface except the first reference point.
In this embodiment, a specific action of the movement operation may be preset, and when the specific operation is detected, it is determined that the movement operation on the sub interface is detected; the specific motion of the moving operation is, for example, a sliding operation, but is not limited thereto in practice.
Step 406, the first target reference point is taken as the first reference point.
In this embodiment, the first target reference point is used as the first reference point, that is, the sub-interface is moved to a position corresponding to the first target reference point.
In one example, as shown in fig. 8, point a (x) of the display area of the sub-interface is displayed2,y2) As the first reference point, when the moving operation to the sub interface is detected, the first target reference point a ″ (x) is set to be the first target reference point a ″3,3/4y1) As a first reference point, that is, the sub-interface moves from the broken line display position to the solid line display position; however, this is merely an example and is not limited thereto.
In this embodiment, as shown in fig. 7, step 404 to step 406 are illustrated after step 403, but in practice, the present embodiment is not limited thereto, and the order of step 404 to step 406 is not limited in any way, for example, step 404 to step 406 may be before step 402.
In fact, the embodiment of the present invention may also be a modification on the basis of the second or third embodiment.
Compared with the first implementation mode, the embodiment of the invention has the advantages that when the moving operation of the auxiliary interface is detected, the first target reference point in the moving operation is used as the first reference point of the display area of the auxiliary interface, so that the movement of the auxiliary interface is realized, a user can freely move the display position of the auxiliary interface on the main interface according to the operation habit and the watching habit of the user, and convenience is provided for the user.
A fifth embodiment of the present invention relates to an interface display method. The fifth embodiment is improved on the basis of the first embodiment, and the main improvement lies in that: in a fifth embodiment of the present invention, the sub-interface is capable of zooming according to a zoom operation.
Fig. 9 shows a flowchart of the interface display method in this embodiment, and steps 501 to 503 in this embodiment are the same as steps 101 to 103 in the first embodiment, and are not described herein again, and the following steps are added in this embodiment, which are specifically described as follows:
at step 504, at least two points of the display area of the secondary interface are taken as a second reference point.
In the present embodiment, the display area of the sub interface includes an edge area of the sub interface. The second reference point may be any point of the display area of the sub interface, and the embodiment does not limit the specific position of the second reference point on the sub interface, for example, the second reference point is a center point or a corner point of the sub interface.
In this embodiment, the number of the second reference points may be two or more, and this embodiment does not limit the number of the second reference points.
Step 505, detecting whether a zooming operation on the secondary interface exists; if yes, go to step 506, otherwise continue to execute the step.
In this embodiment, the zooming operation includes at least two second target reference points; the second target reference point may be any point on the main interface other than the second target reference point.
In this embodiment, the zoom operation includes coordinate information of the second target reference point, in this embodiment, a specific action of the zoom operation may be preset, and when the specific operation is detected, it is determined that the zoom operation on the secondary interface is detected; the specific action of the zoom operation is, for example, two fingers cooperating with the zoom operation, but is not limited thereto in practice.
Step 506, the second target reference point is taken as a second reference point.
In this embodiment, the second target reference point is set as the second reference point in this embodiment, that is, the sub-interface scaling amount is the difference between the second reference point and the second target reference point.
In one example, as shown in fig. 10, a point a (x2, y2), a point B (x3, y3) of the display area of the sub interface are taken as second reference points, and when a zoom operation on the sub interface is detected, a second target reference point a "(3/2x1,3/2y1), a point B" (x4, y4) are taken as second reference points, that is, the sub interface is zoomed from the broken line display position to the solid line display position; however, this is merely an example and is not limited thereto.
In this embodiment, as shown in fig. 8, step 504 to step 506 are illustrated after step 503, but in practice, the present embodiment is not limited thereto, and the order of step 504 to step 506 is not limited in any way, for example, step 504 to step 506 may be before step 502.
In fact, the embodiment of the present invention may also be a modification on the basis of the second, third, or fourth embodiment.
Compared with the first implementation mode, the embodiment of the invention has the advantages that when the zooming operation on the auxiliary interface is detected, the second target reference point included in the zooming operation is used as the second reference point of the display area of the auxiliary interface, so that the zooming-out or the zooming-in of the auxiliary interface is realized, a user can zoom the display range of the auxiliary interface on the main interface randomly as required, and convenience is provided for the user.
A sixth embodiment of the present invention relates to an electronic apparatus, as shown in fig. 11, including at least one processor 1; the touch display screen 2 is in communication connection with the at least one processor 1, and the memory 3 is in communication connection with the at least one processor 1; the touch display screen 2 is used for simultaneously displaying the same picture in the main interface and the auxiliary interface; the memory 3 stores instructions executable by the at least one processor 1, the instructions being executable by the at least one processor 1 to enable the at least one processor 1 to perform any one of the first to fifth embodiments.
Wherein the memory 3 and the processor 2 are connected in a bus, which may comprise any number of interconnected buses and bridges, which connect together one or more of the various circuits of the processor 1 and the memory 3. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 1 are transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor 1.
The processor 1 handles the management of the bus and the processing in general, and may provide a variety of functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. While the memory 3 may be used for storing data used by the processor 1 when performing operations.
Compared with the prior art, the electronic equipment can simultaneously display the same picture in the main interface and the auxiliary interface; in the electronic device provided by the embodiment of the invention, the main interface and the auxiliary interface are simultaneously displayed, and when a touch event reported by the auxiliary interface is received, the pictures in the main interface and the auxiliary interface are synchronously updated according to the touch event, so that a user can operate the device on the smaller auxiliary interface, the device is operated by one hand (especially when the display screen of the device is larger), a full-size display mode of the interface of the electronic device in the prior art is replaced, the user does not need to generate larger displacement of fingers during operation, and the operation efficiency is improved; and the pictures in the main interface and the auxiliary interface are updated synchronously, so that a local display mode of an electronic equipment interface in the prior art is replaced, the pictures can be displayed on the main interface in a full size, the advantage of full-size display is exerted, and a better viewing effect is provided for a user. In addition, when the display screen is partially damaged, the display picture of the damaged area can be checked through the auxiliary interface operation equipment and the auxiliary interface, so that the condition that the touch operation of the damaged area is invalid or the display picture of the damaged area cannot be viewed is avoided.
A seventh embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes any one of the first to fifth embodiments when executed by a processor.
Compared with the prior art, the method and the device have the advantages that the same picture is displayed in the main interface and the auxiliary interface simultaneously; in the interface display method provided by the embodiment of the invention, the main interface and the auxiliary interface are simultaneously displayed, and when a touch event reported by the auxiliary interface is received, the pictures in the main interface and the auxiliary interface are synchronously updated according to the touch event, so that a user can operate equipment on a smaller auxiliary interface, and thus the equipment (especially equipment with a larger display screen) is operated by one hand, a mode of displaying the interface in a full size in the prior art is replaced, and a finger is not required to generate larger displacement during the operation of the user, so that the operation efficiency is improved; and the pictures in the main interface and the auxiliary interface are updated synchronously, so that a mode of local display of the interfaces in the prior art is replaced, the pictures can be displayed on the main interface in a full size, the advantage of full-size display is exerted, and a better viewing effect is provided for users. In addition, when the display screen is partially damaged, the display picture of the damaged area can be checked through the auxiliary interface operation equipment and the auxiliary interface, so that the condition that the touch operation of the damaged area is invalid or the display picture of the damaged area cannot be viewed is avoided.
Those skilled in the art will understand that all or part of the steps in the method according to the above embodiments may be implemented by a program instructing related hardware to complete, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, etc.) or a processor (processor) to execute all or part of the steps in the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (8)

1. An interface display method, comprising:
simultaneously displaying the same picture in the main interface and the auxiliary interface; the auxiliary interface is a part of display area on the main interface;
judging whether a touch event reported by the secondary interface is received;
and if a touch event reported by the auxiliary interface is received, synchronously updating the pictures in the main interface and the auxiliary interface according to the touch event.
2. The interface display method of claim 1, further comprising:
taking at least one point of a display area of the secondary interface as a first reference point;
detecting whether a moving operation on the auxiliary interface exists or not, wherein the moving operation comprises coordinate information of a first target reference point;
and if so, taking the first target reference point as the first reference point.
3. The interface display method of claim 1, further comprising:
taking at least two points of a display area of the secondary interface as second reference points;
detecting whether a zooming operation on the secondary interface exists or not, wherein the zooming operation comprises at least two second target reference points;
and if so, taking the second target reference point as the second reference point.
4. The interface display method according to claim 1, wherein the synchronously updating the screens in the main interface and the sub interface according to the touch event specifically includes:
acquiring the updating data of the picture according to the touch event;
storing the updated data of the picture to a first memory cache region and a second memory cache region of display driving equipment at the same time;
outputting the updated data of the picture in the first memory cache region to the main interface for display;
and outputting the updated data of the picture in the second memory cache region to the auxiliary interface for display.
5. The interface display method according to claim 1, wherein the determining whether the touch event reported by the secondary interface is received specifically includes:
when touch operation is detected, judging whether the touch position of the touch operation is located in the secondary interface or not;
when the touch position is located in the auxiliary interface, generating the touch event according to the touch operation and judging that the touch event reported by the auxiliary interface is received;
and when the touch position is located outside the secondary interface, judging that the touch event reported by the secondary interface is not received.
6. The interface display method according to claim 1, wherein the display range of the sub interface is obtained by reducing the display range of the main interface to a preset scale.
7. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
the touch display screen is in communication connection with the at least one processor, and the memory is in communication connection with the at least one processor; wherein,
the touch display screen is used for simultaneously displaying the same picture in the main interface and the auxiliary interface; the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the interface display method of any one of claims 1 to 6.
8. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the interface display method according to any one of claims 1 to 6.
CN201710521703.2A 2017-06-30 2017-06-30 Interface display method and electronic equipment Withdrawn CN107515712A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710521703.2A CN107515712A (en) 2017-06-30 2017-06-30 Interface display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710521703.2A CN107515712A (en) 2017-06-30 2017-06-30 Interface display method and electronic equipment

Publications (1)

Publication Number Publication Date
CN107515712A true CN107515712A (en) 2017-12-26

Family

ID=60722344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710521703.2A Withdrawn CN107515712A (en) 2017-06-30 2017-06-30 Interface display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN107515712A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021057203A1 (en) * 2019-09-24 2021-04-01 华为技术有限公司 Operation method and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976183B (en) * 2010-09-27 2012-02-22 广东威创视讯科技股份有限公司 Method and device for updating images when simultaneously updating multi-window images
CN102915201A (en) * 2012-09-17 2013-02-06 广东欧珀移动通信有限公司 One-hand operation method of large-screen touch screen mobile phone
US20130176237A1 (en) * 2012-01-11 2013-07-11 E Ink Holdings Inc. Dual screen electronic device and operation method thereof
CN103294376A (en) * 2012-02-24 2013-09-11 联想(北京)有限公司 Electronic equipment and display method, as well as terminal equipment and method of switching mode
KR20140061042A (en) * 2012-11-13 2014-05-21 김정훈 Terminal and method of rearranging input elements in a screen terminal using sensors
CN103955339A (en) * 2014-04-25 2014-07-30 华为技术有限公司 Terminal operation method and terminal equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976183B (en) * 2010-09-27 2012-02-22 广东威创视讯科技股份有限公司 Method and device for updating images when simultaneously updating multi-window images
US20130176237A1 (en) * 2012-01-11 2013-07-11 E Ink Holdings Inc. Dual screen electronic device and operation method thereof
CN103294376A (en) * 2012-02-24 2013-09-11 联想(北京)有限公司 Electronic equipment and display method, as well as terminal equipment and method of switching mode
CN102915201A (en) * 2012-09-17 2013-02-06 广东欧珀移动通信有限公司 One-hand operation method of large-screen touch screen mobile phone
KR20140061042A (en) * 2012-11-13 2014-05-21 김정훈 Terminal and method of rearranging input elements in a screen terminal using sensors
CN103955339A (en) * 2014-04-25 2014-07-30 华为技术有限公司 Terminal operation method and terminal equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021057203A1 (en) * 2019-09-24 2021-04-01 华为技术有限公司 Operation method and electronic device

Similar Documents

Publication Publication Date Title
US11054986B2 (en) Apparatus including a touch screen under a multi-application environment and controlling method thereof
US20210021890A1 (en) Video playing method and terminal device
US10209945B2 (en) Information processing apparatus capable of quickly updating a display in accordance with an operation for changing a display appearance and control method thereof
JP5852017B2 (en) Apparatus and method for performing multitasking
CN107870723B (en) Suspension button display method and terminal equipment
US11188280B2 (en) Method of providing screen for manipulating execution of application of image forming apparatus and image forming apparatus using the method
CN107148776B (en) Method, device and system for acquiring video data and computer readable storage medium
US8633895B2 (en) Apparatus and method for improving character input function in mobile terminal
CN109194815A (en) Operating method, device and computer readable storage medium based on multi-screen terminal
US9875433B2 (en) Linkage system and linkage method for image processing, portable terminal device, and image processing linkage program
CN109769089B (en) Image processing method and terminal equipment
EP2840517A2 (en) Method and apparatus for managing images in electronic device
KR20120132955A (en) Apparatus and method for browsing electronic maps in device with touch screen
CN110221741B (en) Icon management method and terminal equipment
CN107526428A (en) Display device and its driving method
CN114756159A (en) Intelligent interactive panel, data processing method and device thereof and computer storage equipment
CN107515712A (en) Interface display method and electronic equipment
CN108255379A (en) A kind of information processing method, double screen terminal and server
CN109491631B (en) Display control method and terminal
CN112905132A (en) Screen projection method and equipment
CN104469478A (en) Information processing method and device and electronic devices
JP2014146233A (en) Material sharing program, terminal device, material sharing method
CN115525186A (en) Folder control method, terminal device and storage medium
US20120038575A1 (en) Method and device for inputting characters
CN106201397B (en) Display method and electronic equipment

Legal Events

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

Application publication date: 20171226

WW01 Invention patent application withdrawn after publication