WO2018045686A1 - 基于扩屏的显示方法和显示装置 - Google Patents
基于扩屏的显示方法和显示装置 Download PDFInfo
- Publication number
- WO2018045686A1 WO2018045686A1 PCT/CN2016/113358 CN2016113358W WO2018045686A1 WO 2018045686 A1 WO2018045686 A1 WO 2018045686A1 CN 2016113358 W CN2016113358 W CN 2016113358W WO 2018045686 A1 WO2018045686 A1 WO 2018045686A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- feedback window
- lateral
- coordinate
- boundary
- longitudinal
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
- G06F3/1431—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display using a single graphics controller
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
Definitions
- the present invention relates to the field of computer technologies, and in particular, to a display method and a display device based on a wide screen.
- a pop-up window is correspondingly Only the pop-up window will be displayed on a screen point that the user last operated, but the pop-up window may not only be displayed in the main screen, but also displayed on the extended screen, and if the screen is too large or the distance of the main screen expansion screen is placed, When it is too large, it will be far from the user's line of sight and it is not convenient for the user to proceed to the next step.
- the embodiment of the invention provides a display method and a display device based on the screen, which can display the feedback window on the screen of the last screen point where the user clicks to generate the feedback window, and does not exceed the display interface of the split screen. User action.
- the embodiment of the invention provides a display method based on screen expansion, comprising:
- the display interface includes at least two screens;
- the feedback window is displayed at the display position.
- the boundary of the split screen includes a vertical left boundary, a longitudinal right boundary, a horizontal upper boundary, and a horizontal lower boundary;
- the position of the last screen point includes a longitudinal coordinate and a lateral coordinate;
- the size of the feedback window includes a horizontal width and Vertical width
- Determining, according to a boundary of the split screen, a location of the last screen point, and a size of the feedback window, a display position of the feedback window in the split screen specifically:
- the coordinate value of the vertical left boundary is set as the feedback window in the minute An abscissa of the display position in the screen; if the sum of the lateral coordinate of the last screen point and the half of the lateral width of the feedback window is greater than the coordinate value of the vertical right boundary, the coordinate value of the longitudinal right boundary is subtracted a difference value after the lateral width of the feedback window is set as an abscissa of the display position; if a difference between a lateral coordinate of the last screen point and a half of a lateral width of the feedback window is greater than a coordinate value of a vertical left boundary And the sum of the lateral coordinate of the last screen point and the half of the lateral width of the feedback window is smaller than the coordinate value of the vertical right boundary, and the lateral coordinate of the last screen point is subtracted from the lateral width of the feedback window. The difference after half is taken
- the coordinate value of the horizontal upper boundary is set to the ordinate of the display position;
- the sum of the longitudinal coordinate of the last screen point and the half of the longitudinal width of the feedback window is greater than the coordinate value of the lateral lower boundary, and then the difference between the lateral lower boundary minus half of the longitudinal width of the feedback window is set to An ordinate of the display position; if a difference between a longitudinal coordinate of the last screen point and a half of a longitudinal width of the feedback window is greater than a lateral upper boundary, and a longitudinal coordinate of the last screen point is opposite to the feedback window The sum of the half of the longitudinal width is smaller than the coordinate value of the lateral lower boundary, and the difference between the longitudinal coordinate of the last screen point minus half of the longitudinal width of the feedback window is set to the ordinate of the display position.
- the displaying the feedback window on the display position is specifically:
- the displaying the feedback window on the display position is specifically:
- the embodiment of the invention further provides a display device based on a screen, comprising:
- a feedback window generating module configured to receive a menu operation request issued by the user, and obtain a feedback window to be displayed corresponding to the menu operation request; wherein the menu operation request is that the user clicks at least one in the display interface Generated by a screen point; the display interface includes at least two screens;
- a split screen determining module configured to determine a split screen of the feedback window to be displayed according to a location of a last screen point that generates the menu operation request
- a display location determining module configured to determine a display position of the feedback window in the split screen according to a boundary of the split screen, a location of the last screen point, and a size of the feedback window;
- a display module for displaying the feedback window on the display position.
- the boundary of the split screen includes a vertical left boundary, a longitudinal right boundary, a horizontal upper boundary, and a horizontal lower boundary;
- the position of the last screen point includes a longitudinal coordinate and a lateral coordinate;
- the size of the feedback window includes a horizontal width and Vertical width
- the display location determining module specifically includes:
- a first determining unit configured to determine whether a difference between a lateral coordinate of the last screen point and a half of a lateral width of the feedback window is smaller than a coordinate value of a vertical left boundary, and determine a horizontal coordinate of the last screen point Whether the sum of half of the lateral width of the feedback window is greater than the coordinate value of the vertical right boundary;
- An abscissa calculation unit configured to set a coordinate value of the vertical left boundary to a coordinate value when a difference between a lateral coordinate of the last screen point and a half of a lateral width of the feedback window is smaller than a coordinate value of a vertical left boundary
- the abscissa of the display position of the feedback window in the split screen when the sum of the lateral coordinate of the last screen point and the half of the lateral width of the feedback window is greater than the coordinate value of the vertical right border, the portrait is The difference between the coordinate value of the right border minus the lateral width of the feedback window is set to the abscissa of the display position; when the difference between the lateral coordinate of the last screen point and half of the lateral width of the feedback window When the coordinate value is greater than the vertical left boundary, and the sum of the lateral coordinate of the last screen point and the half of the lateral width of the feedback window is smaller than the coordinate value of the vertical right boundary, the lateral coordinate of the last screen point is subtracted from a difference value
- a second determining unit configured to determine whether a difference between a longitudinal coordinate of the last screen point and a half of a longitudinal width of the feedback window is smaller than a horizontal upper boundary, and determine a longitudinal coordinate of the last screen point and the feedback window Whether the sum of the half of the longitudinal width is greater than the coordinate value of the lateral lower boundary;
- a ordinate calculation unit configured to set a coordinate value of the lateral upper boundary to the display position when a difference between a longitudinal coordinate of the last screen point and a half of a longitudinal width of the feedback window is smaller than a lateral upper boundary An ordinate; when the sum of the longitudinal coordinate of the last screen point and the half of the longitudinal width of the feedback window is greater than the coordinate value of the lateral lower boundary, the lateral lower boundary is subtracted from the longitudinal width of the feedback window The difference after half is set to the ordinate of the display position; when the difference between the longitudinal coordinate of the last screen point and half of the longitudinal width of the feedback window is greater than the lateral upper boundary, And when the sum of the longitudinal coordinate of the last screen point and the half of the longitudinal width of the feedback window is smaller than the coordinate value of the lateral lower boundary, subtracting the longitudinal coordinate of the last screen point by half of the longitudinal width of the feedback window The subsequent difference is set to the ordinate of the display position.
- the display module is specifically configured to:
- the display module specifically includes:
- a position shifting unit configured to shift the abscissa of the display position to the right by a first displacement, and to shift the ordinate of the display position downward by a second displacement to obtain an offset display position;
- the first displacement is half of a lateral width of the feedback window;
- the second position is half of a longitudinal width of the feedback window;
- a position display unit configured to display the feedback window on the offset display position, and make a midpoint position of the feedback window coincide with the offset display position.
- the extended display method and the display device provided by the embodiment of the present invention can display a feedback window generated according to a menu operation request issued by a user on a split screen where the last screen point of the menu operation request is generated; Determining a boundary of the split screen, a position of the last screen point, and a size of the feedback window, determining a display position of the feedback window in the split screen, ensuring that the split window is not exceeded when the feedback window is displayed in the split screen Under the premise of the display interface, the center position of the feedback window is coincident to the last screen point, that is, the location of the mouse, which is convenient for the user to operate.
- FIG. 1 is a schematic flow chart of an embodiment of a screen-based display method provided by the present invention.
- FIG. 2 is a schematic diagram of a dual screen screen of a screen-based display method provided by the present invention
- FIG. 3 is a schematic structural diagram of an embodiment of a screen-based display device provided by the present invention.
- FIG. 4 is a schematic structural diagram of an embodiment of a display position determining module of a screen-based display device provided by the present invention.
- FIG. 5 is a schematic structural diagram of an embodiment of a display module of a screen-based display device provided by the present invention.
- FIG. 1 is a schematic flowchart of an embodiment of a method for displaying a screen based display according to the present invention.
- the method includes steps S1 to S4, specifically:
- S1 Receive a menu operation request sent by the user, and obtain a feedback window to be displayed corresponding to the menu operation request.
- the menu operation request is generated by the user clicking at least one screen point in the display interface.
- the display interface includes at least two screens;
- the user may type multiple screen points on the display interface, and may generate a menu operation request by multiple touch screen points by touch or mouse click, wherein the last one of the menu operation requests is generated.
- the position of the screen point is the screen point closest to the user, and the point is determined by the point and the display position on the screen, which is convenient for the user to operate.
- FIG. 2 is a schematic diagram of a dual screen screen of the screen-based display method provided by the present invention, since the boundary of the split screen includes a vertical left boundary R1, a vertical right boundary R2, a horizontal upper boundary L1, and a horizontal direction. a lower boundary L2; the position of the last screen point includes a longitudinal coordinate and a lateral coordinate; the size of the feedback window includes a lateral width and a longitudinal width; further, the specific process implemented in the above step S3 is: the following calculations are all based on the same reference point, For example, based on the upper left corner of the display interface composed of a plurality of screens;
- the coordinate value of the vertical left boundary is set as the feedback window in the minute An abscissa of the display position in the screen; if the sum of the lateral coordinate of the last screen point and the half of the lateral width of the feedback window is greater than the coordinate value of the vertical right boundary, the coordinate value of the longitudinal right boundary is subtracted a difference value after the lateral width of the feedback window is set as an abscissa of the display position; if a difference between a lateral coordinate of the last screen point and a half of a lateral width of the feedback window is greater than a coordinate value of a vertical left boundary And the sum of the lateral coordinate of the last screen point and the half of the lateral width of the feedback window is smaller than the coordinate value of the vertical right boundary, and the lateral coordinate of the last screen point is subtracted from the lateral width of the feedback window. The difference after half is taken
- the coordinate value of the horizontal upper boundary is set to the ordinate of the display position;
- the sum of the longitudinal coordinate of the last screen point and the half of the longitudinal width of the feedback window is greater than the coordinate value of the lateral lower boundary, and then the difference between the lateral lower boundary minus half of the longitudinal width of the feedback window is set to An ordinate of the display position; if a difference between a longitudinal coordinate of the last screen point and a half of a longitudinal width of the feedback window is greater than a lateral upper boundary, and a longitudinal coordinate of the last screen point is opposite to the feedback window The sum of the half of the longitudinal width is smaller than the coordinate value of the lateral lower boundary, and the difference between the longitudinal coordinate of the last screen point minus half of the longitudinal width of the feedback window is set to the ordinate of the display position.
- the above-mentioned "the difference between the lateral coordinate of the last screen point minus half of the lateral width of the feedback window as the abscissa of the display position" enables the abscissa of the center point position of the feedback window and the last screen.
- the abscissa of the point coincides.
- the difference between the longitudinal coordinate of the last screen point and half of the longitudinal width of the feedback window is greater than the lateral upper boundary, and the longitudinal coordinate of the last screen point and the longitudinal width of the feedback window
- the half of the sum is smaller than the coordinate value of the lower horizontal boundary, it means that if the center point position of the feedback window is displayed on the last screen point, the feedback window will not exceed the horizontal upper and lower boundaries of the split screen when the feedback window is displayed on the split screen.
- the above-mentioned "the difference between the longitudinal coordinate of the last screen point minus half of the longitudinal width of the feedback window is set to the ordinate of the display position"
- the ordinate of the center point position of the feedback window and the last screen can be The ordinates of the points coincide.
- the coordinate value of the vertical left boundary is set as the feedback window.
- An abscissa of a display position in the split screen if a sum of a lateral coordinate of the last screen point and a half of a lateral width of the feedback window is greater than a coordinate value of a vertical right border, the longitudinal right border is The difference between the coordinate value minus the lateral width of the feedback window is set to the abscissa of the display position" and the difference if the longitudinal coordinate of the last screen point is half of the longitudinal width of the feedback window Less than the lateral upper boundary, the coordinate value of the lateral upper boundary is set to the ordinate of the display position; if the sum of the longitudinal coordinate of the last screen point and the half of the longitudinal width of the feedback window is greater than the lateral lower boundary The coordinate value, then subtracting the difference between the lateral lower boundary
- step S3 Taking the dual screen of FIG. 2 as an example, the user double-clicks a software in the point open interface, and the window interface of the software is displayed on the two screens maximally and completely, and then the user performs a menu operation, and after the software receives the menu operation request, A feedback window corresponding to the menu operation request is obtained, and then a specific calculation process of the above step S3 will be described below by way of example:
- step S4 Since the process of calculating the display position in the above step S3 is based on the upper left corner of the display interface, the specific implementation of the above step S4 may be:
- step S4 may be:
- the extended display method provided by the embodiment of the present invention can display a feedback window generated according to a menu operation request issued by a user on a split screen where the last screen point of the menu operation request is generated; and according to the split screen a boundary, a position of the last screen point, and a size of the feedback window, determining a display position of the feedback window in the split screen, ensuring that the display window does not exceed the split screen when the feedback window is displayed in the split screen Under the premise, the center position of the feedback window is coincident with the last screen point, that is, the location of the mouse, which is convenient for the user to operate.
- FIG. 3 is a schematic structural diagram of an embodiment of a screen-based display device provided by the present invention, which can implement the entire flow of the display method based on the screen-shaping, and the display device includes:
- the feedback window generating module 10 is configured to receive a menu operation request sent by the user, and obtain a feedback window to be displayed corresponding to the menu operation request; wherein the menu operation request is that the user clicks at least in the display interface Generated by a screen point; the display interface includes at least two screens;
- a split screen determining module 20 configured to determine, according to a location of a last screen point that generates the menu operation request, a split screen of the feedback window to be displayed;
- a display position determining module 30 configured to determine a display position of the feedback window in the split screen according to a boundary of the split screen, a position of the last screen point, and a size of the feedback window;
- the display module 40 is configured to display the feedback window on the display position.
- the boundary of the split screen includes a vertical left boundary, a longitudinal right boundary, a horizontal upper boundary, and a horizontal lower boundary;
- the position of the last screen point includes a longitudinal coordinate and a lateral coordinate;
- the size of the feedback window includes a horizontal width and Vertical width
- the display position determining module 30 specifically includes:
- the first determining unit 31 is configured to determine whether a difference between a lateral coordinate of the last screen point and a half of a lateral width of the feedback window is smaller than a coordinate value of a vertical left boundary, and determine a horizontal coordinate of the last screen point Whether the sum of half of the lateral width of the feedback window is greater than the coordinate value of the longitudinal right boundary;
- the abscissa calculation unit 32 is configured to set the coordinate value of the vertical left boundary to be set when a difference between a lateral coordinate of the last screen point and a half of a lateral width of the feedback window is smaller than a coordinate value of the vertical left boundary
- An abscissa of a display position of the feedback window in the split screen when a sum of a lateral coordinate of the last screen point and a half of a lateral width of the feedback window is greater than a coordinate value of a vertical right border, The difference between the coordinate value of the vertical right boundary minus the lateral width of the feedback window is set to the abscissa of the display position; when the lateral coordinate of the last screen point is different from the half of the lateral width of the feedback window a value greater than a coordinate value of the vertical left boundary, and a lateral coordinate of the last screen point and the feedback window When the sum of the half of the lateral width of the mouth is smaller than the coordinate value of the longitudinal right boundary, the difference between the lateral coordinate
- a second determining unit 33 configured to determine whether a difference between a longitudinal coordinate of the last screen point and a half of a longitudinal width of the feedback window is smaller than a horizontal upper boundary, and determine a longitudinal coordinate of the last screen point and the feedback Whether the sum of the half of the longitudinal width of the window is greater than the coordinate value of the lateral lower boundary;
- the ordinate calculation unit 34 is configured to set the coordinate value of the horizontal upper boundary to the display when a difference between a longitudinal coordinate of the last screen point and a half of a longitudinal width of the feedback window is smaller than a lateral upper boundary An ordinate of the position; when the sum of the longitudinal coordinate of the last screen point and the half of the longitudinal width of the feedback window is greater than the coordinate value of the lateral lower boundary, the lateral lower boundary is subtracted from the longitudinal width of the feedback window The difference after half of the set is set to the ordinate of the display position; when the difference between the longitudinal coordinate of the last screen point and half of the longitudinal width of the feedback window is greater than the lateral upper boundary, and the last screen point When the sum of the longitudinal coordinate and the half of the longitudinal width of the feedback window is smaller than the coordinate value of the lateral lower boundary, the difference between the longitudinal coordinate of the last screen point minus half of the longitudinal width of the feedback window is set as The ordinate of the display position.
- the display module 40 is specifically configured to:
- FIG. 5 it is a schematic structural diagram of an embodiment of a display module of a screen-based display device provided by the present invention.
- the display module 40 specifically includes:
- a position shifting unit 41 configured to shift the abscissa of the display position to the right by a first displacement, and to shift the ordinate of the display position downward by a second displacement to obtain an offset display position;
- the first displacement is half of a lateral width of the feedback window;
- the second position is half of a longitudinal width of the feedback window;
- the position display unit 42 is configured to display the feedback window on the offset display position, and make a midpoint position of the feedback window coincide with the offset display position.
- the extension-based display device provided by the embodiment of the present invention can display a feedback window generated according to a menu operation request issued by a user on a split screen where the last screen point of the menu operation request is generated; and according to the split screen a boundary, a position of the last screen point, and a size of the feedback window, determining a display position of the feedback window in the split screen, ensuring that the display window does not exceed the split screen when the feedback window is displayed in the split screen Under the premise, the center position of the feedback window is coincident with the last screen point, that is, the location of the mouse, which is convenient for the user to operate.
- the access authentication method of the wireless mesh network provided by the embodiment of the present invention can be applied to a self-service terminal such as an ATM, which can effectively prevent the illegal process from running on the self-service terminal and ensure the system operation security of the self-service terminal.
- the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Graphics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
一种基于扩屏的显示方法和显示装置,方法包括:接收用户发出的菜单操作请求,获得与所述菜单操作请求相对应的待显示的反馈窗口(S1);所述菜单操作请求是由所述用户在显示界面中点击至少一个屏幕点而生成的;所述显示界面包括至少两个屏幕;根据生成所述菜单操作请求的最后屏幕点的位置,确定待显示所述反馈窗口的分屏(S2);根据所述分屏的边界、所述最后屏幕点的位置和所述反馈窗口的尺寸,确定所述反馈窗口在所述分屏中的显示位置(S3);将所述反馈窗口显示在所述显示位置上(S4)。基于此,能将反馈窗口显示在用户点击生成所述反馈窗口的最后屏幕点所在的分屏上,并不超出分屏的显示界面,方便用户操作。
Description
本发明涉及计算机技术领域,尤其涉及一种基于扩屏的显示方法和显示装置。
随着商业、政务和个人对屏幕显示的要求多样化,其中,大尺寸屏幕双屏显示以及多屏显示的操作更为常见,在现有的显示方案中,当用户在主屏操作时相应弹出窗口只会将弹出窗口显示在用户最后操作的一个屏幕点上,但此时弹出窗口可能并不仅显示在主屏当中,还会显示扩展屏上,而此时若屏幕过大或主屏扩展屏放置的距离过大时,会远离用户视线范围并不便于用户进行下一步操作。
发明内容
本发明实施例提出一种基于扩屏的显示方法和显示装置,能将反馈窗口显示在用户点击生成所述反馈窗口的最后屏幕点所在的分屏上,并不超出分屏的显示界面,方便用户操作。
本发明实施例提供一种基于扩屏的显示方法,包括:
接收用户发出的菜单操作请求,获得与所述菜单操作请求相对应的待显示的反馈窗口;其中,所述菜单操作请求是由所述用户在显示界面中点击至少一个屏幕点而生成的;所述显示界面包括至少两个屏幕;
根据生成所述菜单操作请求的最后屏幕点的位置,确定待显示所述反馈窗口的分屏;
根据所述分屏的边界、所述最后屏幕点的位置和所述反馈窗口的尺寸,确定所述反馈窗口在所述分屏中的显示位置;
将所述反馈窗口显示在所述显示位置上。
进一步地,所述分屏的边界包括纵向左边界、纵向右边界、横向上边界和横向下边界;所述最后屏幕点的位置包括纵向坐标和横向坐标;所述反馈窗口的尺寸包括横向宽度和纵向宽度;
所述根据所述分屏的边界、所述最后屏幕点的位置和所述反馈窗口的尺寸,确定所述反馈窗口在所述分屏中的显示位置,具体为:
判断所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的差值是否小于纵向
左边界的坐标值,以及判断所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的和是否大于纵向右边界的坐标值;
若所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的差值小于纵向左边界的坐标值,则将所述纵向左边界的坐标值设为所述反馈窗口在所述分屏中的显示位置的横坐标;若所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的和大于纵向右边界的坐标值,则将所述纵向右边界的坐标值减去所述反馈窗口的横向宽度后的差值设为所述显示位置的横坐标;若所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的差值大于纵向左边界的坐标值,且所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的和小于纵向右边界的坐标值,则将所述最后屏幕点的横向坐标减去所述反馈窗口的横向宽度的一半之后的差值作为所述显示位置的横坐标;
判断所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的差值是否小于横向上边界,以及判断所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的和是否大于横向下边界的坐标值;
若所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的差值小于横向上边界,则将所述横向上边界的坐标值设为所述显示位置的纵坐标;若所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的和大于横向下边界的坐标值,则将所述横向下边界减去所述反馈窗口的纵向宽度的一半之后的差值设为所述显示位置的纵坐标;若所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的差值大于横向上边界,且所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的和小于横向下边界的坐标值,则将所述最后屏幕点的纵向坐标减去所述反馈窗口的纵向宽度的一半之后的差值设为所述显示位置的纵坐标。
在一种实施方式中,所述将所述反馈窗口显示在所述显示位置上,具体为:
将所述反馈窗口显示在所述显示位置上,并使所述反馈窗口的左上角位置与所述显示位置重合。
在另一种实施方式中,所述将所述反馈窗口显示在所述显示位置上,具体为:
将所述显示位置的横坐标向右偏移第一位移,以及将所述显示位置的纵坐标向下偏移第二位移,获得偏移后的显示位置;其中,所述第一位移为所述反馈窗口的横向宽度的一半;所述第二位置为所述反馈窗口的纵向宽度的一半;
将所述反馈窗口显示在所述偏移后的显示位置上,并使所述反馈窗口的中点位置与所述偏移后的显示位置重合。
相应地,本发明实施例还提出一种基于扩屏的显示装置,包括:
反馈窗口生成模块,用于接收用户发出的菜单操作请求,获得与所述菜单操作请求相对应的待显示的反馈窗口;其中,所述菜单操作请求是由所述用户在显示界面中点击至少一个屏幕点而生成的;所述显示界面包括至少两个屏幕;
分屏确定模块,用于根据生成所述菜单操作请求的最后屏幕点的位置,确定待显示所述反馈窗口的分屏;
显示位置确定模块,用于根据所述分屏的边界、所述最后屏幕点的位置和所述反馈窗口的尺寸,确定所述反馈窗口在所述分屏中的显示位置;
显示模块,用于将所述反馈窗口显示在所述显示位置上。
进一步地,所述分屏的边界包括纵向左边界、纵向右边界、横向上边界和横向下边界;所述最后屏幕点的位置包括纵向坐标和横向坐标;所述反馈窗口的尺寸包括横向宽度和纵向宽度;
所述显示位置确定模块,具体包括:
第一判断单元,用于判断所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的差值是否小于纵向左边界的坐标值,以及判断所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的和是否大于纵向右边界的坐标值;
横坐标计算单元,用于当所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的差值小于纵向左边界的坐标值时,将所述纵向左边界的坐标值设为所述反馈窗口在所述分屏中的显示位置的横坐标;当所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的和大于纵向右边界的坐标值时,将所述纵向右边界的坐标值减去所述反馈窗口的横向宽度后的差值设为所述显示位置的横坐标;当所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的差值大于纵向左边界的坐标值,且所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的和小于纵向右边界的坐标值时,将所述最后屏幕点的横向坐标减去所述反馈窗口的横向宽度的一半之后的差值作为所述显示位置的横坐标;
第二判断单元,用于判断所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的差值是否小于横向上边界,以及判断所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的和是否大于横向下边界的坐标值;
纵坐标计算单元,用于当所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的差值小于横向上边界时,将所述横向上边界的坐标值设为所述显示位置的纵坐标;当所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的和大于横向下边界的坐标值时,将所述横向下边界减去所述反馈窗口的纵向宽度的一半之后的差值设为所述显示位置的纵坐标;当所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的差值大于横向上边界,
且所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的和小于横向下边界的坐标值时,将所述最后屏幕点的纵向坐标减去所述反馈窗口的纵向宽度的一半之后的差值设为所述显示位置的纵坐标。
在一种实施方式中,所述显示模块,具体用于:
将所述反馈窗口显示在所述显示位置上,并使所述反馈窗口的左上角位置与所述显示位置重合。
在另一种实施方式中,所述显示模块,具体包括:
位置偏移单元,用于将所述显示位置的横坐标向右偏移第一位移,以及将所述显示位置的纵坐标向下偏移第二位移,获得偏移后的显示位置;其中,所述第一位移为所述反馈窗口的横向宽度的一半;所述第二位置为所述反馈窗口的纵向宽度的一半;
位置显示单元,用于将所述反馈窗口显示在所述偏移后的显示位置上,并使所述反馈窗口的中点位置与所述偏移后的显示位置重合。
实施本发明实施例,具有如下有益效果:
本发明实施例提供的基于扩展的显示方法和显示装置,能将依据用户发出的菜单操作请求生成的反馈窗口,显示在生成所述菜单操作请求的最后屏幕点的所在的分屏;并根据所述分屏的边界、所述最后屏幕点的位置和所述反馈窗口的尺寸,确定所述反馈窗口在所述分屏中的显示位置,确保在反馈窗口在分屏中显示时不超出分屏的显示界面前提下,把反馈窗口的中心位置重合到所述最后屏幕点,即鼠标所在位置,方便用户操作。
图1是本发明提供的基于扩屏的显示方法的一个实施例的流程示意图;
图2是本发明提供的基于扩屏的显示方法的双屏屏幕的示意图;
图3是本发明提供的基于扩屏的显示装置的一个实施例的结构示意图;
图4是本发明提供的基于扩屏的显示装置的显示位置确定模块的一个实施例的结构示意图;
图5是本发明提供的基于扩屏的显示装置的显示模块的一个实施例的结构示意图。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,
都属于本发明保护的范围。
参见图1,是本发明提供的基于扩屏的显示方法的一个实施例的流程示意图,该方法包括步骤S1至S4,具体为:
S1,接收用户发出的菜单操作请求,获得与所述菜单操作请求相对应的待显示的反馈窗口;其中,所述菜单操作请求是由所述用户在显示界面中点击至少一个屏幕点而生成的;所述显示界面包括至少两个屏幕;
S2,根据生成所述菜单操作请求的最后屏幕点的位置,确定待显示所述反馈窗口的分屏;
S3,根据所述分屏的边界、所述最后屏幕点的位置和所述反馈窗口的尺寸,确定所述反馈窗口在所述分屏中的显示位置;
S4,将所述反馈窗口显示在所述显示位置上。
需要说明的是,用户可能在显示界面上键入多个屏幕点,可通过触摸方式也可能过鼠标点击方式,由键入的多个屏幕点生成一个菜单操作请求,其中,生成菜单操作请求的最后一个屏幕点的位置为距离用户当前最近的屏幕点,以此点确定分屏和在该分屏上的显示位置,可方便用户操作。
如图2所示,图2是本发明提供的基于扩屏的显示方法的双屏屏幕的示意图,由于所述分屏的边界包括纵向左边界R1、纵向右边界R2、横向上边界L1和横向下边界L2;所述最后屏幕点的位置包括纵向坐标和横向坐标;所述反馈窗口的尺寸包括横向宽度和纵向宽度;进而,上述步骤S3实现的具体过程为:以下计算均基于同一参考点,例如以由多个屏幕组成的显示界面的左上角为基准;
判断所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的差值是否小于纵向左边界的坐标值,以及判断所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的和是否大于纵向右边界的坐标值;
若所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的差值小于纵向左边界的坐标值,则将所述纵向左边界的坐标值设为所述反馈窗口在所述分屏中的显示位置的横坐标;若所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的和大于纵向右边界的坐标值,则将所述纵向右边界的坐标值减去所述反馈窗口的横向宽度后的差值设为所述显示位置的横坐标;若所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的差值大于纵向左边界的坐标值,且所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的和小于纵向右边界的坐标值,则将所述最后屏幕点的横向坐标减去所述反馈窗口的横向宽度的一半之后的差值作为所述显示位置的横坐标;
判断所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的差值是否小于横向
上边界,以及判断所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的和是否大于横向下边界的坐标值;
若所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的差值小于横向上边界,则将所述横向上边界的坐标值设为所述显示位置的纵坐标;若所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的和大于横向下边界的坐标值,则将所述横向下边界减去所述反馈窗口的纵向宽度的一半之后的差值设为所述显示位置的纵坐标;若所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的差值大于横向上边界,且所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的和小于横向下边界的坐标值,则将所述最后屏幕点的纵向坐标减去所述反馈窗口的纵向宽度的一半之后的差值设为所述显示位置的纵坐标。
需要说明的是,当判断出所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的差值大于纵向左边界的坐标值,且所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的和小于纵向右边界的坐标值时,说明若将反馈窗口的中心点位置显示在最后屏幕点上,显示反馈窗口在分屏上时反馈窗口不会超出分屏的纵向左右边界。而且上述“将所述最后屏幕点的横向坐标减去所述反馈窗口的横向宽度的一半之后的差值作为所述显示位置的横坐标”能够将反馈窗口的中心点位置的横坐标与最后屏幕点的横坐标重合。同理,当判断出所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的差值大于横向上边界,且所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的和小于横向下边界的坐标值时,说明若将反馈窗口的中心点位置显示在最后屏幕点上,显示反馈窗口在分屏上时反馈窗口不会超出分屏的横向上下边界。而且上述“所述最后屏幕点的纵向坐标减去所述反馈窗口的纵向宽度的一半之后的差值设为所述显示位置的纵坐标”能够将反馈窗口的中心点位置的纵坐标与最后屏幕点的纵坐标重合。
另外,限定“若所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的差值小于纵向左边界的坐标值,则将所述纵向左边界的坐标值设为所述反馈窗口在所述分屏中的显示位置的横坐标;若所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的和大于纵向右边界的坐标值,则将所述纵向右边界的坐标值减去所述反馈窗口的横向宽度后的差值设为所述显示位置的横坐标”以及限定“若所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的差值小于横向上边界,则将所述横向上边界的坐标值设为所述显示位置的纵坐标;若所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的和大于横向下边界的坐标值,则将所述横向下边界减去所述反馈窗口的纵向宽度的一半之后的差值设为所述显示位置的纵坐标”能够避免当将显示反馈窗口在分屏中且将反馈窗口的中心点位置与最后屏幕点重合时反馈窗口的显示超出分屏的显示范围,而显示在其他分屏上的情况出现。
以图2的双屏为例,用户双击点开界面中的一个软件,软件的窗口界面最大化地完整地显示在两个屏幕上,接着用户执行一个菜单操作,软件接收到菜单操作请求后,获得与该菜单操作请求的对应的反馈窗口,接着以下将举例描述上述步骤S3的具体计算过程:
以显示界面的左上角为参考点,用户执行一个菜单操作最后点击显示界面的屏幕点的坐标为(mouseX=2350,mouseY=500),显示界面的尺寸为(W=3840,H=1080);反馈窗口的尺寸为(winW=800,winH=500);
由于显示界面由左右两个分屏组成的,则根据最后点击显示界面的屏幕点的横向坐标mouseX=2350和显示界面的横向宽度W=3840,计算得知mouseX>W/2,确定反馈窗口将显示在右分屏中;
右分屏的边界具体为:纵向左边界(BoundrX=1920)、纵向右边界(BoundlX=3840)、横向上边界(BoundrY=0)和横向下边界(BoundlY=1080);
计算得知mouseX-winW/2=2350-800/2=1950>BoundrX=1920,以及计算知得mouseX+winW/2=2350+800/2=2450<BoundlX=3840,因而计算获得所述显示位置的横坐标为X=mouseX-winW/2=2350-800/2=1950;
计算得知mouseY-winH/2=500-500/2=250>BoundrY=0,以及计算得知mouseY+winH/2=500+500/2=750<BoundlY=1080,因而,计算获得所述显示位置的纵坐标为Y=mouseY-winH/2=500-500/2=250;
从而确定所述显示位置为(X=1950,Y=250)。
由于上述步骤S3的计算显示位置的过程是以显示界面的左上角为参考点,因而,上述步骤S4的具体实施时,可以为:
将所述反馈窗口显示在所述显示位置上,并使所述反馈窗口的左上角位置与所述显示位置重合。
结合上述举例,将所述反馈窗口的左上角位置与所述显示位置(X=1950,Y=250)重全;
在上述步骤S4的具体实施,可以为:
将所述显示位置的横坐标向右偏移第一位移,以及将所述显示位置的纵坐标向下偏移第二位移,获得偏移后的显示位置;其中,所述第一位移为所述反馈窗口的横向宽度的一半;所述第二位置为所述反馈窗口的纵向宽度的一半;
将所述反馈窗口显示在所述偏移后的显示位置上,并使所述反馈窗口的中点位置与所述偏移后的显示位置重合。
结合上述举例,第一位移为400,第二位置为250;则偏移后的显示位置为(X=2350,Y=500);然后将所述反馈窗口的中心点位置与所述偏移后的显示位置(X=2350,Y=500)重
合。
本发明实施例提供的基于扩展的显示方法,能将依据用户发出的菜单操作请求生成的反馈窗口,显示在生成所述菜单操作请求的最后屏幕点的所在的分屏;并根据所述分屏的边界、所述最后屏幕点的位置和所述反馈窗口的尺寸,确定所述反馈窗口在所述分屏中的显示位置,确保在反馈窗口在分屏中显示时不超出分屏的显示界面前提下,把反馈窗口的中心位置重合到所述最后屏幕点,即鼠标所在位置,方便用户操作。
参见图3,是本发明提供的基于扩屏的显示装置的一个实施例的结构示意图,能够实现上述基于扩屏的显示方法的全部流程,该显示装置,包括:
反馈窗口生成模块10,用于接收用户发出的菜单操作请求,获得与所述菜单操作请求相对应的待显示的反馈窗口;其中,所述菜单操作请求是由所述用户在显示界面中点击至少一个屏幕点而生成的;所述显示界面包括至少两个屏幕;
分屏确定模块20,用于根据生成所述菜单操作请求的最后屏幕点的位置,确定待显示所述反馈窗口的分屏;
显示位置确定模块30,用于根据所述分屏的边界、所述最后屏幕点的位置和所述反馈窗口的尺寸,确定所述反馈窗口在所述分屏中的显示位置;
显示模块40,用于将所述反馈窗口显示在所述显示位置上。
进一步地,所述分屏的边界包括纵向左边界、纵向右边界、横向上边界和横向下边界;所述最后屏幕点的位置包括纵向坐标和横向坐标;所述反馈窗口的尺寸包括横向宽度和纵向宽度;
参见图4,是本发明提供的基于扩屏的显示装置的显示位置确定模块的一个实施例的结构示意图,所述显示位置确定模块30,具体包括:
第一判断单元31,用于判断所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的差值是否小于纵向左边界的坐标值,以及判断所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的和是否大于纵向右边界的坐标值;
横坐标计算单元32,用于当所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的差值小于纵向左边界的坐标值时,将所述纵向左边界的坐标值设为所述反馈窗口在所述分屏中的显示位置的横坐标;当所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的和大于纵向右边界的坐标值时,将所述纵向右边界的坐标值减去所述反馈窗口的横向宽度后的差值设为所述显示位置的横坐标;当所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的差值大于纵向左边界的坐标值,且所述最后屏幕点的横向坐标与所述反馈窗
口的横向宽度的一半的和小于纵向右边界的坐标值时,将所述最后屏幕点的横向坐标减去所述反馈窗口的横向宽度的一半之后的差值作为所述显示位置的横坐标;
第二判断单元33,用于判断所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的差值是否小于横向上边界,以及判断所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的和是否大于横向下边界的坐标值;
纵坐标计算单元34,用于当所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的差值小于横向上边界时,将所述横向上边界的坐标值设为所述显示位置的纵坐标;当所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的和大于横向下边界的坐标值时,将所述横向下边界减去所述反馈窗口的纵向宽度的一半之后的差值设为所述显示位置的纵坐标;当所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的差值大于横向上边界,且所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的和小于横向下边界的坐标值时,将所述最后屏幕点的纵向坐标减去所述反馈窗口的纵向宽度的一半之后的差值设为所述显示位置的纵坐标。
在一种实施方式中,所述显示模块40,具体用于:
将所述反馈窗口显示在所述显示位置上,并使所述反馈窗口的左上角位置与所述显示位置重合。
在另一种实施方式中,参见图5,是本发明提供的基于扩屏的显示装置的显示模块的一个实施例的结构示意图;所述显示模块40,具体包括:
位置偏移单元41,用于将所述显示位置的横坐标向右偏移第一位移,以及将所述显示位置的纵坐标向下偏移第二位移,获得偏移后的显示位置;其中,所述第一位移为所述反馈窗口的横向宽度的一半;所述第二位置为所述反馈窗口的纵向宽度的一半;
位置显示单元42,用于将所述反馈窗口显示在所述偏移后的显示位置上,并使所述反馈窗口的中点位置与所述偏移后的显示位置重合。
实施本发明实施例,具有如下有益效果:
本发明实施例提供的基于扩展的显示装置,能将依据用户发出的菜单操作请求生成的反馈窗口,显示在生成所述菜单操作请求的最后屏幕点的所在的分屏;并根据所述分屏的边界、所述最后屏幕点的位置和所述反馈窗口的尺寸,确定所述反馈窗口在所述分屏中的显示位置,确保在反馈窗口在分屏中显示时不超出分屏的显示界面前提下,把反馈窗口的中心位置重合到所述最后屏幕点,即鼠标所在位置,方便用户操作。本发明实施例提供的无线网状网的接入认证方法,可应用到ATM等自助终端中,能有效防止自助终端上的非法进程的运行,保障自助终端的系统运行安全。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围。
Claims (8)
- 一种基于扩屏的显示方法,其特征在于,包括:接收用户发出的菜单操作请求,获得与所述菜单操作请求相对应的待显示的反馈窗口;其中,所述菜单操作请求是由所述用户在显示界面中点击至少一个屏幕点而生成的;所述显示界面包括至少两个屏幕;根据生成所述菜单操作请求的最后屏幕点的位置,确定待显示所述反馈窗口的分屏;根据所述分屏的边界、所述最后屏幕点的位置和所述反馈窗口的尺寸,确定所述反馈窗口在所述分屏中的显示位置;将所述反馈窗口显示在所述显示位置上。
- 如权利要求1所述的基于扩屏的显示方法,其特征在于,所述分屏的边界包括纵向左边界、纵向右边界、横向上边界和横向下边界;所述最后屏幕点的位置包括纵向坐标和横向坐标;所述反馈窗口的尺寸包括横向宽度和纵向宽度;所述根据所述分屏的边界、所述最后屏幕点的位置和所述反馈窗口的尺寸,确定所述反馈窗口在所述分屏中的显示位置,具体为:判断所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的差值是否小于纵向左边界的坐标值,以及判断所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的和是否大于纵向右边界的坐标值;若所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的差值小于纵向左边界的坐标值,则将所述纵向左边界的坐标值设为所述反馈窗口在所述分屏中的显示位置的横坐标;若所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的和大于纵向右边界的坐标值,则将所述纵向右边界的坐标值减去所述反馈窗口的横向宽度后的差值设为所述显示位置的横坐标;若所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的差值大于纵向左边界的坐标值,且所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的和小于纵向右边界的坐标值,则将所述最后屏幕点的横向坐标减去所述反馈窗口的横向宽度的一半之后的差值作为所述显示位置的横坐标;判断所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的差值是否小于横向上边界,以及判断所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的和是否大于横向下边界的坐标值;若所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的差值小于横向上边界,则将所述横向上边界的坐标值设为所述显示位置的纵坐标;若所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的和大于横向下边界的坐标值,则将所述横向下边界减去所述反馈窗口的纵向宽度的一半之后的差值设为所述显示位置的纵坐标;若所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的差值大于横向上边界,且所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的和小于横向下边界的坐标值,则将所述最后屏幕点的纵向坐标减去所述反馈窗口的纵向宽度的一半之后的差值设为所述显示位置的纵坐标。
- 如权利要求2所述的基于扩屏的显示方法,其特征在于,所述将所述反馈窗口显示在所述显示位置上,具体为:将所述反馈窗口显示在所述显示位置上,并使所述反馈窗口的左上角位置与所述显示位置重合。
- 如权利要求2所述的基于扩屏的显示方法,其特征在于,所述将所述反馈窗口显示在所述显示位置上,具体为:将所述显示位置的横坐标向右偏移第一位移,以及将所述显示位置的纵坐标向下偏移第二位移,获得偏移后的显示位置;其中,所述第一位移为所述反馈窗口的横向宽度的一半;所述第二位置为所述反馈窗口的纵向宽度的一半;将所述反馈窗口显示在所述偏移后的显示位置上,并使所述反馈窗口的中点位置与所述偏移后的显示位置重合。
- 一种基于扩屏的显示装置,其特征在于,包括:反馈窗口生成模块,用于接收用户发出的菜单操作请求,获得与所述菜单操作请求相对应的待显示的反馈窗口;其中,所述菜单操作请求是由所述用户在显示界面中点击至少一个屏幕点而生成的;所述显示界面包括至少两个屏幕;分屏确定模块,用于根据生成所述菜单操作请求的最后屏幕点的位置,确定待显示所述反馈窗口的分屏;显示位置确定模块,用于根据所述分屏的边界、所述最后屏幕点的位置和所述反馈窗口的尺寸,确定所述反馈窗口在所述分屏中的显示位置;显示模块,用于将所述反馈窗口显示在所述显示位置上。
- 如权利要求5所述的基于扩屏的显示装置,其特征在于,所述分屏的边界包括纵向左边界、纵向右边界、横向上边界和横向下边界;所述最后屏幕点的位置包括纵向坐标和横向坐标;所述反馈窗口的尺寸包括横向宽度和纵向宽度;所述显示位置确定模块,具体包括:第一判断单元,用于判断所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的差值是否小于纵向左边界的坐标值,以及判断所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的和是否大于纵向右边界的坐标值;横坐标计算单元,用于当所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的差值小于纵向左边界的坐标值时,将所述纵向左边界的坐标值设为所述反馈窗口在所述分屏中的显示位置的横坐标;当所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的和大于纵向右边界的坐标值时,将所述纵向右边界的坐标值减去所述反馈窗口的横向宽度后的差值设为所述显示位置的横坐标;当所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的差值大于纵向左边界的坐标值,且所述最后屏幕点的横向坐标与所述反馈窗口的横向宽度的一半的和小于纵向右边界的坐标值时,将所述最后屏幕点的横向坐标减去所述反馈窗口的横向宽度的一半之后的差值作为所述显示位置的横坐标;第二判断单元,用于判断所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的差值是否小于横向上边界,以及判断所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的和是否大于横向下边界的坐标值;纵坐标计算单元,用于当所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的差值小于横向上边界时,将所述横向上边界的坐标值设为所述显示位置的纵坐标;当所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的和大于横向下边界的坐标值时,将所述横向下边界减去所述反馈窗口的纵向宽度的一半之后的差值设为所述显示位置的纵坐标;当所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的差值大于横向上边界,且所述最后屏幕点的纵向坐标与所述反馈窗口的纵向宽度的一半的和小于横向下边界的坐标值时,将所述最后屏幕点的纵向坐标减去所述反馈窗口的纵向宽度的一半之后的差值设为所述显示位置的纵坐标。
- 如权利要求6所述的基于扩屏的显示装置,其特征在于,所述显示模块,具体用于:将所述反馈窗口显示在所述显示位置上,并使所述反馈窗口的左上角位置与所述显示位置重合。
- 如权利要6所述的基于扩屏的显示装置,其特征在于,所述显示模块,具体包括:位置偏移单元,用于将所述显示位置的横坐标向右偏移第一位移,以及将所述显示位置的纵坐标向下偏移第二位移,获得偏移后的显示位置;其中,所述第一位移为所述反馈窗口的横向宽度的一半;所述第二位置为所述反馈窗口的纵向宽度的一半;位置显示单元,用于将所述反馈窗口显示在所述偏移后的显示位置上,并使所述反馈窗口的中点位置与所述偏移后的显示位置重合。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610810825.9A CN106383680A (zh) | 2016-09-08 | 2016-09-08 | 基于扩屏的显示方法和显示装置 |
| CN201610810825.9 | 2016-09-08 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018045686A1 true WO2018045686A1 (zh) | 2018-03-15 |
Family
ID=57939097
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/113358 Ceased WO2018045686A1 (zh) | 2016-09-08 | 2016-12-30 | 基于扩屏的显示方法和显示装置 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106383680A (zh) |
| WO (1) | WO2018045686A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116301684A (zh) * | 2022-09-09 | 2023-06-23 | 成都飞机工业(集团)有限责任公司 | 一种双屏水印覆盖方法、装置、设备及介质 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6342908B1 (en) * | 1999-03-22 | 2002-01-29 | International Business Machines Corporation | Progressive window organization |
| CN102207868A (zh) * | 2011-06-01 | 2011-10-05 | 奇智软件(北京)有限公司 | 一种菜单显示方法 |
| CN103984476A (zh) * | 2014-05-06 | 2014-08-13 | 小米科技有限责任公司 | 菜单显示方法及装置 |
| CN104133614A (zh) * | 2014-07-30 | 2014-11-05 | 广东威创视讯科技股份有限公司 | 屏幕菜单显示方法和系统 |
-
2016
- 2016-09-08 CN CN201610810825.9A patent/CN106383680A/zh active Pending
- 2016-12-30 WO PCT/CN2016/113358 patent/WO2018045686A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6342908B1 (en) * | 1999-03-22 | 2002-01-29 | International Business Machines Corporation | Progressive window organization |
| CN102207868A (zh) * | 2011-06-01 | 2011-10-05 | 奇智软件(北京)有限公司 | 一种菜单显示方法 |
| CN103984476A (zh) * | 2014-05-06 | 2014-08-13 | 小米科技有限责任公司 | 菜单显示方法及装置 |
| CN104133614A (zh) * | 2014-07-30 | 2014-11-05 | 广东威创视讯科技股份有限公司 | 屏幕菜单显示方法和系统 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116301684A (zh) * | 2022-09-09 | 2023-06-23 | 成都飞机工业(集团)有限责任公司 | 一种双屏水印覆盖方法、装置、设备及介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106383680A (zh) | 2017-02-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102237011B (zh) | 重叠可视实体的表示 | |
| US8352879B2 (en) | Method for swapping display contents between multiple screens | |
| CN102750034B (zh) | 一种上报触摸屏坐标点的方法及移动终端 | |
| US9250852B2 (en) | Screen output system that prevents the display of selected information | |
| US9791971B2 (en) | Registration of electronic displays | |
| US20160378272A1 (en) | Systems and methods for providing multi-focus to applications for collaboration | |
| CN102867169A (zh) | 图像处理设备、显示控制方法及程序 | |
| CN103955339A (zh) | 一种终端操作方法及终端设备 | |
| WO2016145832A1 (zh) | 终端的操作方法及装置 | |
| US20140019858A1 (en) | Synchronizing views during document presentation | |
| CN111857532A (zh) | 虚拟键盘显示方法、装置及电子设备 | |
| US20160239186A1 (en) | Systems and methods for automated generation of graphical user interfaces | |
| CN112907496A (zh) | 一种图像融合方法以及装置 | |
| US11024257B2 (en) | Android platform based display device and image display method thereof | |
| WO2022251257A1 (en) | Overlaying an image of a conference call participant with a shared document | |
| TW201619803A (zh) | 使用者介面顯示系統及方法 | |
| CN101251993B (zh) | 一种监控多屏幕的方法及装置 | |
| US20120098967A1 (en) | 3d image monitoring system and method implemented by portable electronic device | |
| CN105446676B (zh) | 进行大屏显示的方法及装置 | |
| CN103164142B (zh) | 一种画中画界面下屏幕触点位置的调整方法及电子设备 | |
| CN109766530B (zh) | 图表边框的生成方法、装置、存储介质和电子设备 | |
| CN104166508A (zh) | 一种触控实现方法及装置 | |
| WO2018045686A1 (zh) | 基于扩屏的显示方法和显示装置 | |
| CN106227378A (zh) | 一种触摸操作处理方法和触摸屏设备 | |
| CN110580397A (zh) | 一种用于工程项目集中展示平台的显示系统 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16915620 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 06/08/2019) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16915620 Country of ref document: EP Kind code of ref document: A1 |