CN112925468A - Page display method based on curved screen, electronic equipment and storage medium - Google Patents

Page display method based on curved screen, electronic equipment and storage medium Download PDF

Info

Publication number
CN112925468A
CN112925468A CN202110333844.8A CN202110333844A CN112925468A CN 112925468 A CN112925468 A CN 112925468A CN 202110333844 A CN202110333844 A CN 202110333844A CN 112925468 A CN112925468 A CN 112925468A
Authority
CN
China
Prior art keywords
page
screen
display area
type
page element
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110333844.8A
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.)
Ireader Technology Co Ltd
Original Assignee
Ireader 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 Ireader Technology Co Ltd filed Critical Ireader Technology Co Ltd
Priority to CN202110333844.8A priority Critical patent/CN112925468A/en
Publication of CN112925468A publication Critical patent/CN112925468A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Abstract

The invention discloses a page display method based on a curved screen, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring each page element contained in a page to be displayed and an initial display position of each page element, and determining the page element of which the initial display position is located in a curved surface display area of a curved surface screen as a target page element; the screen display area of the curved screen comprises a plane display area and a curved surface display area; judging whether the initial display position of the target page element needs to be adjusted or not according to the element type of the target page element; if so, adjusting the initial display position of the target page element so as to enable the adjusted actual display position of the target page element to be located in the plane display area. The method can avoid the problem of difficulty in reading caused by the defects that the curved surface display area is not easy to look over and the like, improves the reading experience of a user, and is favorable for the user to acquire more effective information from the display page.

Description

Page display method based on curved screen, electronic equipment and storage medium
Technical Field
The invention relates to the field of computers, in particular to a page display method based on a curved screen, electronic equipment and a storage medium.
Background
At present, in order to improve the display effect and increase the display area of a screen, curved screens are proposed by a plurality of manufacturers. Unlike the conventional flat panel, the edge portion of the screen of the curved panel is curved toward the rear cover to form a curved surface. The curved screen is popular to more and more users due to the advantages of novel appearance, large display area and the like.
However, in the process of implementing the present invention, the inventor finds that when an interface of an electronic book application is displayed on a curved screen, page elements such as characters and the like at an edge position of a page are usually displayed on an edge curved surface portion of the curved screen, and since the edge curved surface portion is not in accordance with a visual direction of human eyes, and displayed contents of the edge curved surface portion are easily deformed, reading difficulty of a user is caused, and reading experience of the user is seriously affected.
Disclosure of Invention
In view of the above, the present invention has been made to provide a curved screen-based page display method, an electronic device, and a storage medium that overcome or at least partially solve the above-mentioned problems.
According to an aspect of the present invention, there is provided a curved screen-based page display method, the method including:
when the screen of the terminal equipment is judged to be the curved screen, acquiring each page element contained in the page to be displayed and an initial display position of each page element, and determining the page element of which the initial display position is located in a curved display area of the curved screen as a target page element; the screen display area of the curved screen comprises a plane display area and a curved surface display area;
judging whether the initial display position of the target page element needs to be adjusted or not according to the element type of the target page element; if so, adjusting the initial display position of the target page element so as to enable the adjusted actual display position of the target page element to be located in the plane display area.
According to another aspect of the present invention, there is provided an electronic apparatus including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
when the screen of the terminal equipment is judged to be the curved screen, acquiring each page element contained in the page to be displayed and an initial display position of each page element, and determining the page element of which the initial display position is located in a curved display area of the curved screen as a target page element; the screen display area of the curved screen comprises a plane display area and a curved surface display area;
judging whether the initial display position of the target page element needs to be adjusted or not according to the element type of the target page element; if so, adjusting the initial display position of the target page element so as to enable the adjusted actual display position of the target page element to be located in the plane display area.
According to yet another aspect of the present invention, there is provided a computer storage medium having at least one executable instruction stored therein, the executable instruction causing the processor to:
when the screen of the terminal equipment is judged to be the curved screen, acquiring each page element contained in the page to be displayed and an initial display position of each page element, and determining the page element of which the initial display position is located in a curved display area of the curved screen as a target page element; the screen display area of the curved screen comprises a plane display area and a curved surface display area;
judging whether the initial display position of the target page element needs to be adjusted or not according to the element type of the target page element; if so, adjusting the initial display position of the target page element so as to enable the adjusted actual display position of the target page element to be located in the plane display area.
According to the page display method based on the curved screen, the electronic device and the storage medium, the page elements contained in the page to be displayed and the initial display positions of the page elements can be obtained, and the display positions of the page elements of which the initial display positions are located in the curved display area of the curved screen are adjusted, so that the actual display positions of the adjusted page elements are located in the plane display area. Therefore, whether the key page elements displayed in the curved surface display area exist or not can be automatically judged in the page display mode, so that the positions of the key page elements are adjusted, the key page elements are displayed in the plane display area, the problem of difficulty in reading caused by the defects that the curved surface display area is not easy to look over and the like is solved, the reading experience of a user is improved, and the method is beneficial to the user to obtain more effective information from the display page.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flowchart illustrating a method for displaying a page based on a curved screen according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for displaying a page based on a curved screen according to another embodiment of the present invention;
fig. 3 shows a schematic structural diagram of an electronic device according to another embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
Fig. 1 is a flowchart illustrating a method for displaying a page based on a curved screen according to an embodiment of the present invention. As shown in fig. 1, the method comprises the steps of:
step S110: when the screen of the terminal equipment is judged to be the curved screen, acquiring each page element contained in the page to be displayed and an initial display position of each page element, and determining the page element of which the initial display position is located in a curved display area of the curved screen as a target page element; the screen display area of the curved screen comprises a plane display area and a curved surface display area.
The page to be displayed may be a page included in various applications or a page in a browser, and the specific type of the page to be displayed is not limited in the present invention. The content information of the page to be displayed can be obtained according to the page identification of the page to be displayed, and then each page element contained in the page to be displayed and the initial display position of each page element are obtained. Wherein, the initial display position of each page element refers to: and the display positions corresponding to the page elements when the page elements are arranged according to the page layout information are determined according to the original page layout information and are not adjusted. For example, in the case of a web page, the page includes page elements in a central region of the page and page elements in an edge region of the page, and each page element corresponds to a different initial display position.
Correspondingly, according to the coordinate information of the initial display position and information such as curvature parameters of the curved screen, page elements of the curved display area of the curved screen at the initial display position are determined, and the page elements of the curved display area of the curved screen at the initial display position are determined as target page elements.
The screen display area of the curved screen comprises a plane display area and a curved surface display area. The flat display area is generally referred to as: a screen area in a planar state; the curved display area generally refers to: a screen area in a curved state. For example, a curved screen usually has a curvature in only the edge regions on both sides of the screen, and a flat state in the remaining regions except for both sides, and accordingly, the portion where the curvature exists is referred to as a curved display region, and the remaining portion where the curvature does not exist is referred to as a flat display region.
In addition, the plane display area and the curved surface display area can be divided according to the appearance characteristics of the screen area, and the plane display area and the curved surface display area can be flexibly divided in other various modes. For example, the entirety of some curved screens exhibits an appearance similar to that of a convex lens, namely: each area of the screen has a slight degree of curvature. In this case, it is not preferable to divide the plane display area and the curved display area according to the characteristic of the curvature. Accordingly, the whole screen area can be divided into a flat display area in the central area and a curved display area in the edge area, and the central area is usually an area convenient for reading, so that the central area is divided into the flat display area, and the curved display area is divided into the edge area, so that the reading habit of the user can be fully considered.
It follows that the term "flat display area" means, in fact: a first screen area, typically an area convenient for a user to view, determined according to the screen parameters and a preset curvature threshold, typically in a planar state and/or in a central area of the screen. The curved surface display area actually means: and determining a second screen area according to the screen parameters and a preset curvature threshold, wherein the second screen area is an area which is not convenient for a user to view, and the second screen area is usually in a curved surface state and/or in an edge area of the screen. In specific implementation, curvature threshold values for dividing a plane display area and a curved surface display area are preset, correspondingly, screen parameters of each area of the screen are respectively obtained, the screen parameters of each area of the screen are respectively compared with the curvature threshold values, and the plane display area and the curved surface display area are divided according to comparison results.
Step S120: judging whether the initial display position of the target page element needs to be adjusted or not according to the element type of the target page element; if so, adjusting the initial display position of the target page element so as to enable the adjusted actual display position of the target page element to be located in the plane display area.
The initial display position of the target page element is located in the curved display area, and therefore the reading effect of the user may be affected. However, considering that the importance of different types of page elements is different in the reading process, and the roles and interaction manners of the different types of page elements are also different, in this embodiment, it is determined whether the initial display position of the target page element needs to be adjusted according to the element type of the target page element. For example, the importance degree, the function, the interaction mode and other dimensions of the target page element can be judged, so that the adjustment is only carried out on the page element needing to be adjusted, and the initial display position of the page element needing not to be adjusted is reserved, therefore, the advantage of large screen area of the curved screen can be fully utilized, and the problem caused by the fact that important contents are displayed on the edge curved surface part and are inconvenient to read can be effectively avoided.
Specifically, when the initial display position of the target page element is adjusted, the position of the target page element can be adjusted only, and the positions of the rest page elements are maintained unchanged; the positions of all the page elements in the page to be displayed can be adjusted at the same time, and the invention does not limit the specific implementation details as long as the actual display position of the adjusted target page element is positioned in the plane display area and does not obstruct the reading of the user.
Therefore, whether the key page elements displayed in the curved surface display area exist or not can be automatically judged in the page display mode, so that the positions of the key page elements are adjusted, the key page elements are displayed in the plane display area, the problem of difficulty in reading caused by the defects that the curved surface display area is not easy to look over and the like is solved, the reading experience of a user is improved, and the method is beneficial to the user to obtain more effective information from the display page.
Example two
Fig. 2 is a flowchart illustrating a method for displaying a page based on a curved screen according to another embodiment of the present invention. As shown in fig. 2, the method comprises the steps of:
step S200: and when the screen of the equipment is judged to be the curved screen, determining a plane display area and a curved display area in the screen display area of the curved screen.
In specific implementation, when a page display request is received, screen parameter information related to the equipment screen is further acquired, and whether the current equipment screen is a curved surface screen is judged according to the acquired screen parameter information. And if the current equipment screen is the curved screen, further determining a plane display area and a curved display area in the screen display area of the curved screen. Specifically, the curvature parameter of the screen can be queried in a client cold start scene, so that whether the device screen is a curved screen or not is judged according to a query result.
In addition, when a plane display area and a curved surface display area in the screen display area of the curved surface screen are determined, the following method can be used for realizing the following steps: firstly, acquiring the screen size and/or curvature parameters of a curved screen, and calculating the appearance size characteristic of the edge curved part of the curved screen according to the screen size and/or curvature parameters; then, according to the appearance size characteristics of the edge curved surface part of the curved surface screen, the screen display area of the curved surface screen is divided into a plane display area and a curved surface display area. The screen size is used for describing the length and the width of the screen, the curvature parameter is used for describing the characteristics of the curvature radian, the curvature area and the like of the screen, therefore, the appearance size characteristic of the edge curved surface part of the curved screen can be determined based on the screen size and the curvature parameter, the appearance size characteristic is used for describing the characteristics of the specific position, the size, the curvature radian and the like of the screen area with the curvature radian, and correspondingly, the screen display area of the curved screen can be divided into a plane display area and a curved display area based on the appearance size characteristic. As already mentioned above, the term "flat display area" means, in practice: an area convenient for a user to view, the partial area being generally in a planar state and/or in a central area of the screen. The curved surface display area actually means: the area which is inconvenient for the user to view is usually in a curved state and/or in the edge area of the screen. Therefore, in the specific implementation, besides considering the characteristics such as curvature parameters, the size of the user visible area and the usage habit of the user can be flexibly combined to flexibly adjust the area ranges of the plane display area and the curved surface display area, and the specific details are not limited in the present invention.
Step S210: the method comprises the steps of obtaining each page element contained in a page to be displayed and the initial display position of each page element, and determining the page element of which the initial display position is located in a curved surface display area of a curved surface screen as a target page element.
The pages to be displayed in this embodiment are mainly pages in an electronic book application, and specifically may be reading pages and front-end display pages such as book cities and book shelves. When each page element contained in the page to be displayed and the initial display position of each page element are obtained, page layout information of the page to be displayed is obtained according to the page identification of the page to be displayed; and determining each page element contained in the page to be displayed and the initial display position of each page element according to the page layout information. The page identifier may be various types of information capable of uniquely identifying one page, such as a page URL. The page layout information is used to determine the element name, the element type, and the initial presentation position of each page element included in the page.
Specifically, according to the coordinate information of the initial display position and information such as curvature parameters of the curved screen, the page element of the initial display position in the curved display area of the curved screen is determined, and the page element of the initial display position in the curved display area of the curved screen is determined as the target page element. As can be seen, the target page element refers to: in an initial state without adjustment, the page elements with the positions located in the curved surface display area are displayed.
Step S220: and judging whether the initial display position of the target page element needs to be adjusted or not according to the element type of the target page element.
Since the initial display position of the target page element is located in the curved display area, the reading effect of the user may be affected. Correspondingly, whether the initial display position of the target page element needs to be adjusted or not is judged according to the element type of the target page element.
In specific implementation, the judgment is carried out in the following mode: determining the element type to be adjusted corresponding to the page type according to the page type of the page to be displayed; and when the element type of the target page element belongs to the element type to be adjusted, determining that the initial display position of the target page element needs to be adjusted. The types of the elements to be adjusted corresponding to different page types are different. The pages to be displayed in the embodiment are pages included in an electronic book application. Correspondingly, when the page type of the page to be displayed is the reading page type, the element type to be adjusted corresponding to the reading page type includes: a text element type, and/or a picture element type; when the page type of the page to be displayed is a front-end display type, the element type to be adjusted corresponding to the front-end display type comprises: an interactive element type; wherein the page elements belonging to the interactive element type include: button type elements, and/or hot zone type elements.
In a specific example of this embodiment, the page type of the page to be displayed is a reading page type, and correspondingly, the page to be displayed is mainly a reading page corresponding to the text of the book. The reading page mainly comprises text elements, picture elements and other common book text elements. The main contents in the reading page are text contents, so that the main contents belong to contents which need to be read by a user in a key manner, and correspondingly, the types of the elements to be adjusted corresponding to the types of the reading page comprise: a text element type, and/or a picture element type. That is, when the page type is the reading page type, all the text contents in the page belong to the category of the element type to be adjusted.
In another specific example of this embodiment, the page type of the page to be presented is a front-end presentation type. Correspondingly, the pages to be displayed mainly refer to application pages such as a book city page, a list page and a bookshelf page. The front-end display page mainly comprises display content elements, interaction elements and the like. The exhibition content element generally refers to various exhibition contents, such as a list content. The interactive elements are mainly used for realizing the user interaction function. Considering that the interactive elements have an important role, the types of the elements to be adjusted corresponding to the front-end presentation type include: an interactive element type; wherein the page elements belonging to the interactive element type include: button type elements, and/or hot zone type elements. For example, the close button of the floating window for displaying various prompt messages belongs to the above interactive element type. When the closing button of the floating window is positioned in the curved surface display area, the closing button is tightly attached to the edge of the screen, so that the closing button is difficult to contact with the screen, and the difficulty in executing closing operation is improved. Therefore, for the convenience of user operation, the close button of the floating window is set as a page element to be adjusted, i.e., an element to be adjusted, so that the page element can be adjusted to a position convenient for operation. Similarly, various interactive buttons of other types can achieve the purpose of convenient operation by adjusting the position.
Step S230: and when the judgment result is yes, adjusting the initial display position of the target page element so as to enable the actual display position of the adjusted target page element to be located in the plane display area.
Specifically, when the initial display position of the target page element is adjusted, the position of the target page element can be adjusted only, and the positions of the rest page elements are maintained unchanged; the positions of all the page elements in the page to be displayed can be adjusted at the same time, and the invention does not limit the specific implementation details as long as the actual display position of the adjusted target page element is positioned in the plane display area and does not obstruct the reading of the user.
When the initial display position of the target page element is adjusted, the method is realized by the following steps: calculating the adjustment offset of the target page element according to the area coordinate of the initial display position of the target page element corresponding to the curved surface display area; and according to the adjustment offset, adjusting the target page element towards the center of the screen. The initial display position of the target page element corresponds to the area coordinate of the curved surface display area and is used for indicating the specific position of the target page element in the curved surface display area, and therefore the adjustment offset of the target page element is calculated according to the specific position. The closer the specific position of the target page element in the curved surface display area is to the central area of the screen, the smaller the adjustment offset is; the more the specific position of the target page element in the curved surface display area is away from the central area of the screen, the larger the adjustment offset is. Correspondingly, according to the specific value of the adjustment offset, the corresponding distance of the target page element is adjusted towards the center direction of the screen, so that the target page element is closer to the center area of the screen after adjustment, and display in the curved surface display area is avoided.
Specifically, when the target page element is adjusted toward the center of the screen according to the adjustment offset, the adjustment can be achieved through at least one of the following two implementation manners:
in a first implementation manner, if a blank area exists in a neighboring area of a target page element corresponding to a center direction of a screen, the target page element is adjusted towards the center direction of the screen, and initial display positions of other page elements are maintained unchanged. The method is mainly used for independently adjusting the target page elements belonging to the type of the elements to be adjusted so as to avoid the target page elements from being displayed in the curved surface display area. The method is particularly suitable for the case that the page type of the page to be displayed is a front-end display type, for example, the position of an interactive element such as a close button of a floating window can be independently adjusted to avoid a curved display area, and the positions of other elements in the page are kept unchanged. Of course, when a certain element is adjusted independently, it is necessary to avoid affecting other elements, and therefore, it is necessary to determine whether a blank area exists in a neighboring area of the target page element corresponding to the center direction of the screen, and if so, it is described that moving the target page element toward the center direction of the screen does not affect other page elements.
In a second implementation manner, a screen display size matched with the adjustment offset is set, and all page contents in the page to be displayed are adjusted according to the set screen display size, so that the adjusted page to be displayed is limited to be contracted to a plane display area; wherein, the screen display size is determined according to the page margin parameter and/or the screen resolution. The method is mainly used for uniformly adjusting all page contents, and is particularly suitable for the condition that the page type of the page to be displayed is the reading page type. Wherein, the screen display size matched with the adjustment offset is as follows: and after the adjustment, the size of the effective display area for displaying the content on the screen. After adjustment, the curved display area of the curved screen is further subdivided into an active display area for displaying content (i.e., corresponding to the screen display size described above) and an inactive display area for not displaying content (typically corresponding to the curved arc portion of the screen edge). For example, the page margin parameter can be adjusted to keep the text at a certain distance from the curved surface part of the screen edge, so as to prevent the reading from being influenced. In another example, the display content can be limited to the flat display area by adjusting the screen resolution. For example, assuming that the actual displayable area of the screen is 1440 pixels wide, the resolution of the screen is set to 1080 pixels, so as to achieve the purpose of shrinking the displayed content, so as to ensure that all the content in the reading page is displayed in the flat display area.
In addition, in this embodiment, different adjustment strategies are respectively adopted for different types of pages:
for example, when the page identifier is a native page identifier, when the initial display position of the target page element is adjusted, the initial display position of the target page element is adjusted locally at the client. The original page is also called a localization page, and the page display content of the page is controlled by the client, so that the initial display position of the target page element can be directly adjusted locally at the client without the participation of a server in the adjustment process. During specific implementation, the client checks page materials of the localized page, confirms that the right-side interval parameter of the screen meets the width requirement of the edge display area of the curved-surface screen, can ensure that page elements are in the plane display area, and can ensure that the curved-surface display area is covered by a background, so that the page elements are not left blank.
For another example, when the page identifier is the H5 page identifier, when the initial display position of the target page element is adjusted, a page adjustment request including an adjustment parameter is sent to the server, and the initial display position of the target page element is adjusted in response to a page adjustment instruction sent by the server based on the page adjustment request. Since the content of the elements in the H5 page is controlled by the server, when the client determines that adjustment needs to be performed on the target page element, a page adjustment request including an adjustment parameter needs to be sent to the server, so that the server adjusts the arrangement position of the page element. For example, when the adjustment mode is the first implementation mode mentioned above, the adjustment parameter may be an element identifier of a target page element to be adjusted and position information thereof; when the adjustment mode is the second implementation mode mentioned above, the adjustment parameter may be a page margin parameter and/or screen display size information such as screen resolution.
Step S240: and displaying the page to be displayed according to the adjusted target page element, and shielding the detected touch interaction instruction belonging to the holding mis-touch instruction in the display process.
Specifically, in the page display process, when a touch interaction instruction is detected, instruction description information corresponding to the touch interaction instruction is acquired; judging whether the touch interaction instruction is a holding mis-touch instruction or not according to the instruction description information; and if so, shielding the touch interaction instruction. Wherein, the holding and mis-touching instruction is as follows: and in a scene that the user holds the terminal equipment, the touch interactive instruction is triggered by the holding operation error. For example, when a user holds the terminal device for reading an electronic book, a palm part may touch an edge area of the screen unintentionally, and since the edge area of the screen of the curved screen also belongs to the instruction response area, the interactive instruction may be triggered by mistake. In order to avoid false triggering of the interactive instruction caused by the holding operation in the above process, the judgment of the continuous false touch instruction needs to be performed, so as to shield the holding false touch instruction. The shielding of the touch interaction instruction means that the application to which the page to be displayed belongs does not respond to the touch interaction instruction, and the problem of curved screen false interaction caused by holding and false touch can be effectively avoided through a shielding and non-responding mode.
Wherein, the instruction description information corresponding to the touch interaction instruction comprises: interaction position, interaction duration, interaction displacement and/or touch trajectory, etc. Correspondingly, when judging whether the touch interactive instruction is a holding mistaken touch instruction or not according to the instruction attribute information, judging in the following way: when the interaction position of the touch interaction instruction comprises a curved surface display area, further judging whether instruction description information of the touch interaction instruction meets at least one of the following conditions: the interaction duration is greater than a preset duration threshold, the interaction displacement is less than a preset displacement threshold, and the touch track is a static track or is not matched with a preset interaction track; wherein, predetermine the interactive orbit and include: a first interaction track corresponding to the page turning type interaction operation and/or a second interaction track corresponding to the sliding type interaction operation; and when the instruction description information of the touch interactive instruction meets at least one condition, determining that the touch interactive instruction is a holding mis-touch instruction.
Specifically, it is first determined whether the interaction position of the touch interaction instruction includes a curved surface display area. In an actual situation, two situations may be possible, the first situation may be that the interaction position of the touch interaction instruction includes both the curved surface display area and the flat surface display area, and the second situation may be that the interaction position of the touch interaction instruction includes only the curved surface display area. Correspondingly, when the condition that the interaction position of the touch interaction instruction includes the curved surface display area is met, whether the touch interaction instruction meets at least one of the following three conditions is further judged:
(1) the interaction duration is greater than a preset duration threshold: since the holding operation is generally an operation that is continuously performed for a long time, it is necessary that the interaction duration is greater than the preset duration threshold. Generally, an operation of shorter duration should not belong to the holding touch operation.
(2) The interactive displacement is smaller than a preset displacement threshold value: since the holding operation is usually a state in which one posture is held for a long time, the interaction displacement is usually zero, and if the interaction displacement is large, it is described that the holding operation is not the erroneous touch operation.
(3) The touch track is a static track or is not matched with a preset interaction track: and if the touch track is a static track, indicating that the user is in a static holding state. In addition, whether the touch track is not matched with the touch track corresponding to the known touch interaction instruction can be judged through an exclusion method, and if the touch track is not matched with the touch track corresponding to the known touch interaction instruction, the touch interaction instruction is probably held and mistakenly touched. The preset interaction track comprises interaction tracks corresponding to various common interaction operations. Specifically, the preset interaction trajectory may be divided in a plurality of ways, for example, the preset interaction trajectory may be divided according to a moving path or may be divided according to an interaction function. In this embodiment, the preset interaction trajectory is divided into: a first interaction trajectory corresponding to a horizontal movement path and/or a second interaction trajectory corresponding to a vertical movement path. Of course, in other embodiments, the preset interaction trajectory may also be divided into a page-turning type trajectory, a mark type trajectory, a call menu type trajectory, and the like according to the interaction function, and the specific type of the preset interaction trajectory is not limited in the present invention. The first interaction track corresponding to the horizontal moving path can realize a page turning function in a left-right sliding mode; the second interaction track corresponding to the vertical movement path can realize the up-and-down switching of the display content by sliding up and down (for example, books such as cartoons usually switch the display content by sliding up and down). Of course, the present invention does not limit the specific path of the first interactive trajectory and the second interactive trajectory. In addition, the horizontal movement path need not be a completely horizontal path, but may be a substantially horizontal path (allowing for some offset in the horizontal direction); likewise, the vertical movement path need not be a completely vertical path, but may be a generally vertical path (allowing for some offset in the vertical direction). For example, in a partial e-book application, the text page turning behavior may also be triggered by clicking from the center region of the screen and moving in a direction toward the edge region of the screen; or, the preset interaction trajectory may be triggered from the edge area of the screen and moves in a direction toward the center area of the screen (the deviation is allowed to occur in the horizontal direction during the movement).
In specific implementation, if discontinuous linear single-point or multi-point touch is detected in the curved surface display area of the screen and no large-amplitude sliding operation is performed, the touch interaction instruction is a holding and mis-touch instruction, and the front-end page is not processed. Therefore, continuous linear single-point touch means that a finger slides across a screen, which generally corresponds to an interactive instruction such as page turning, and the screen edge touch information which does not move for a long time due to multiple points or a single point is a holding miss touch. Therefore, if the user has single-point touch at the edge of the screen and finally faces the center of the screen, the user can turn pages left and right on the text reading page as an operation of sliding the screen; if the single-point touch slides up and down, the character reading scroll rolls or pages up and down; if the touch track is not matched with the preset interaction track, the touch operation is the holding miss touch.
In summary, the mode in this embodiment can automatically determine whether there is a page element displayed in the curved surface display area when the page is displayed, so as to adjust the position of the page element, so that the page element is displayed in the plane display area, thereby avoiding the problem of difficulty in reading caused by defects such as difficulty in checking the curved surface display area, improving the reading experience of the user, and facilitating the user to obtain more effective information from the display page. And the element types of the target page elements to be adjusted can be respectively set based on different characteristics of the reading page and the front-end display page. And moreover, the interaction instructions triggered by the curved screen device in the holding process can be further distinguished, so that the mistaken touch caused by holding is avoided. Because the screen edge part of curved screen also can respond interactive instruction, consequently, compare with conventional plane screen, the mistake takes place to touch more easily, so, the page bandwagon effect and the interactive effect of curved screen can effectively be promoted to the mode in this embodiment.
EXAMPLE III
The embodiment of the application provides a non-volatile computer storage medium, wherein at least one executable instruction is stored in the computer storage medium, and the computer executable instruction can execute the page display method based on the curved screen in any method embodiment.
The executable instructions may be specifically configured to cause the processor to:
when the screen of the terminal equipment is judged to be the curved screen, acquiring each page element contained in the page to be displayed and an initial display position of each page element, and determining the page element of which the initial display position is located in a curved display area of the curved screen as a target page element; the screen display area of the curved screen comprises a plane display area and a curved surface display area;
judging whether the initial display position of the target page element needs to be adjusted or not according to the element type of the target page element; if so, adjusting the initial display position of the target page element so as to enable the adjusted actual display position of the target page element to be located in the plane display area.
In an alternative implementation, the executable instructions further cause the processor to:
in the page display process, when a touch interaction instruction is detected, acquiring instruction description information corresponding to the touch interaction instruction;
judging whether the touch interaction instruction is a holding mis-touch instruction or not according to the instruction description information;
if yes, shielding the touch interaction instruction; wherein the instruction description information corresponding to the touch interaction instruction comprises: interaction position, interaction duration, interaction displacement and/or touch trajectory.
In an alternative implementation, the executable instructions cause the processor to:
when the interaction position of the touch interaction instruction comprises the curved surface display area, further judging whether instruction description information of the touch interaction instruction meets at least one of the following conditions:
the interaction duration is greater than a preset duration threshold, the interaction displacement is less than a preset displacement threshold, and the touch track is a static track or is not matched with a preset interaction track; wherein the preset interaction track comprises: the preset interaction track comprises a first interaction track corresponding to the horizontal movement path and/or a second interaction track corresponding to the vertical movement path: a first interaction track corresponding to the horizontal movement path and/or a second interaction track corresponding to the vertical movement path;
and when the instruction description information of the touch interaction instruction meets at least one condition, determining that the touch interaction instruction is a holding mis-touch instruction.
In an alternative implementation, the executable instructions cause the processor to:
acquiring page layout information of a page to be displayed according to a page identifier of the page to be displayed;
and determining each page element contained in the page to be displayed and the initial display position of each page element according to the page layout information.
In an alternative implementation, when the page identifier is a native page identifier, the executable instructions cause the processor to: adjusting the initial display position of the target page element locally at the client;
when the page identification is an H5 page identification, the executable instructions cause the processor to: and sending a page adjusting request containing adjusting parameters to a server, and adjusting the initial display position of the target page element in response to a page adjusting instruction sent by the server based on the page adjusting request.
In an alternative implementation, the executable instructions cause the processor to:
determining the element type to be adjusted corresponding to the page type according to the page type of the page to be displayed;
and when the element type of the target page element belongs to the element type to be adjusted, determining that the initial display position of the target page element needs to be adjusted.
In an optional implementation manner, the page to be displayed is a page included in an electronic book application;
when the page type of the page to be displayed is a reading page type, the element type to be adjusted corresponding to the reading page type comprises: a text element type, and/or a picture element type;
when the page type of the page to be displayed is a front-end display type, the element type to be adjusted corresponding to the front-end display type includes: an interactive element type; wherein the page elements belonging to the interactive element type include: button type elements, and/or hot zone type elements.
In an alternative implementation, the executable instructions cause the processor to:
calculating the adjustment offset of the target page element according to the area coordinate of the initial display position of the target page element corresponding to the curved surface display area;
and adjusting the target page element towards the center direction of the screen according to the adjustment offset.
In an alternative implementation, the executable instructions cause the processor to:
if a blank area exists in a neighboring area of the target page element corresponding to the center direction of the screen, adjusting the target page element towards the center direction of the screen, and keeping the initial display positions of other page elements unchanged; alternatively, the first and second electrodes may be,
setting a screen display size matched with the adjustment offset, and adjusting all page contents in the page to be displayed according to the set screen display size so as to limit the adjusted page to be displayed to the plane display area; and determining the screen display size according to the page margin parameter and/or the screen resolution.
In an alternative implementation, the executable instructions further cause the processor to:
acquiring the screen size and/or curvature parameters of the curved screen, and calculating the appearance size characteristic of the edge curved part of the curved screen according to the screen size and/or curvature parameters;
and dividing a screen display area of the curved screen into a plane display area and a curved surface display area according to the appearance size characteristics of the edge curved surface part of the curved screen.
Example four
Fig. 3 is a schematic structural diagram of an electronic device according to another embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the electronic device.
As shown in fig. 3, the electronic device may include: a processor (processor)302, a communication Interface 304, a memory 306, and a communication bus 308.
Wherein: the processor 302, communication interface 304, and memory 306 communicate with each other via a communication bus 308. A communication interface 304 for communicating with network elements of other devices, such as clients or other servers. The processor 302 is configured to execute the program 310, and may specifically perform relevant steps in the above-described embodiment of the page display method based on the curved screen.
In particular, program 310 may include program code comprising computer operating instructions.
The processor 302 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the present invention. The electronic device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 306 for storing a program 310. Memory 306 may comprise high-speed RAM memory and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 310 may specifically be configured to cause the processor 302 to perform the following operations:
when the screen of the terminal equipment is judged to be the curved screen, acquiring each page element contained in the page to be displayed and an initial display position of each page element, and determining the page element of which the initial display position is located in a curved display area of the curved screen as a target page element; the screen display area of the curved screen comprises a plane display area and a curved surface display area;
judging whether the initial display position of the target page element needs to be adjusted or not according to the element type of the target page element; if so, adjusting the initial display position of the target page element so as to enable the adjusted actual display position of the target page element to be located in the plane display area.
In an alternative implementation, the executable instructions further cause the processor to:
in the page display process, when a touch interaction instruction is detected, acquiring instruction description information corresponding to the touch interaction instruction;
judging whether the touch interaction instruction is a holding mis-touch instruction or not according to the instruction description information;
if yes, shielding the touch interaction instruction; wherein the instruction description information corresponding to the touch interaction instruction comprises: interaction position, interaction duration, interaction displacement and/or touch trajectory.
In an alternative implementation, the executable instructions cause the processor to:
when the interaction position of the touch interaction instruction comprises the curved surface display area, further judging whether instruction description information of the touch interaction instruction meets at least one of the following conditions:
the interaction duration is greater than a preset duration threshold, the interaction displacement is less than a preset displacement threshold, and the touch track is a static track or is not matched with a preset interaction track; wherein the preset interaction track comprises: the preset interaction track comprises a first interaction track corresponding to the horizontal movement path and/or a second interaction track corresponding to the vertical movement path: a first interaction track corresponding to the horizontal movement path and/or a second interaction track corresponding to the vertical movement path;
and when the instruction description information of the touch interaction instruction meets at least one condition, determining that the touch interaction instruction is a holding mis-touch instruction.
In an alternative implementation, the executable instructions cause the processor to:
acquiring page layout information of a page to be displayed according to a page identifier of the page to be displayed;
and determining each page element contained in the page to be displayed and the initial display position of each page element according to the page layout information.
In an alternative implementation, when the page identifier is a native page identifier, the executable instructions cause the processor to: adjusting the initial display position of the target page element locally at the client;
when the page identification is an H5 page identification, the executable instructions cause the processor to: and sending a page adjusting request containing adjusting parameters to a server, and adjusting the initial display position of the target page element in response to a page adjusting instruction sent by the server based on the page adjusting request.
In an alternative implementation, the executable instructions cause the processor to:
determining the element type to be adjusted corresponding to the page type according to the page type of the page to be displayed;
and when the element type of the target page element belongs to the element type to be adjusted, determining that the initial display position of the target page element needs to be adjusted.
In an optional implementation manner, the page to be displayed is a page included in an electronic book application;
when the page type of the page to be displayed is a reading page type, the element type to be adjusted corresponding to the reading page type comprises: a text element type, and/or a picture element type;
when the page type of the page to be displayed is a front-end display type, the element type to be adjusted corresponding to the front-end display type includes: an interactive element type; wherein the page elements belonging to the interactive element type include: button type elements, and/or hot zone type elements.
In an alternative implementation, the executable instructions cause the processor to:
calculating the adjustment offset of the target page element according to the area coordinate of the initial display position of the target page element corresponding to the curved surface display area;
and adjusting the target page element towards the center direction of the screen according to the adjustment offset.
In an alternative implementation, the executable instructions cause the processor to:
if a blank area exists in a neighboring area of the target page element corresponding to the center direction of the screen, adjusting the target page element towards the center direction of the screen, and keeping the initial display positions of other page elements unchanged; alternatively, the first and second electrodes may be,
setting a screen display size matched with the adjustment offset, and adjusting all page contents in the page to be displayed according to the set screen display size so as to limit the adjusted page to be displayed to the plane display area; and determining the screen display size according to the page margin parameter and/or the screen resolution.
In an alternative implementation, the executable instructions further cause the processor to:
acquiring the screen size and/or curvature parameters of the curved screen, and calculating the appearance size characteristic of the edge curved part of the curved screen according to the screen size and/or curvature parameters;
and dividing a screen display area of the curved screen into a plane display area and a curved surface display area according to the appearance size characteristics of the edge curved surface part of the curved screen.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The invention also discloses A1. a page display method based on the curved screen, wherein the method comprises the following steps:
when the screen of the terminal equipment is judged to be the curved screen, acquiring each page element contained in the page to be displayed and an initial display position of each page element, and determining the page element of which the initial display position is located in a curved display area of the curved screen as a target page element; the screen display area of the curved screen comprises a plane display area and a curved surface display area;
judging whether the initial display position of the target page element needs to be adjusted or not according to the element type of the target page element; if so, adjusting the initial display position of the target page element so as to enable the adjusted actual display position of the target page element to be located in the plane display area.
A2. The method according to a1, wherein the acquiring of each page element included in the page to be displayed and the initial display position of each page element includes:
acquiring page layout information of a page to be displayed according to a page identifier of the page to be displayed;
and determining each page element contained in the page to be displayed and the initial display position of each page element according to the page layout information.
A3. The method according to a1 or 2, wherein, when the page identifier is a native page identifier, the adjusting the initial display position of the target page element comprises: adjusting the initial display position of the target page element locally at the client;
when the page identifier is an H5 page identifier, the adjusting the initial display position of the target page element includes: and sending a page adjusting request containing adjusting parameters to a server, and adjusting the initial display position of the target page element in response to a page adjusting instruction sent by the server based on the page adjusting request.
A4. The method according to any one of a1-3, wherein the determining, according to the element type of the target page element, whether the initial display position of the target page element needs to be adjusted includes:
determining the element type to be adjusted corresponding to the page type according to the page type of the page to be displayed;
and when the element type of the target page element belongs to the element type to be adjusted, determining that the initial display position of the target page element needs to be adjusted.
A5. The method according to A4, wherein the page to be shown is a page included in an electronic book application;
when the page type of the page to be displayed is a reading page type, the element type to be adjusted corresponding to the reading page type comprises: a text element type, and/or a picture element type;
when the page type of the page to be displayed is a front-end display type, the element type to be adjusted corresponding to the front-end display type includes: an interactive element type; wherein the page elements belonging to the interactive element type include: button type elements, and/or hot zone type elements.
A6. The method according to any one of a1-5, wherein the adjusting the initial display position of the target page element comprises:
calculating the adjustment offset of the target page element according to the area coordinate of the initial display position of the target page element corresponding to the curved surface display area;
and adjusting the target page element towards the center direction of the screen according to the adjustment offset.
A7. The method according to a6, wherein the adjusting the target page element toward the screen center direction according to the adjustment offset includes:
if a blank area exists in a neighboring area of the target page element corresponding to the center direction of the screen, adjusting the target page element towards the center direction of the screen, and keeping the initial display positions of other page elements unchanged; alternatively, the first and second electrodes may be,
setting a screen display size matched with the adjustment offset, and adjusting all page contents in the page to be displayed according to the set screen display size so as to limit the adjusted page to be displayed to the plane display area; and determining the screen display size according to the page margin parameter and/or the screen resolution.
A8. The method according to any of a1-7, wherein before the method is performed, further comprising:
acquiring the screen size and/or curvature parameters of the curved screen, and calculating the appearance size characteristic of the edge curved part of the curved screen according to the screen size and/or curvature parameters;
and dividing a screen display area of the curved screen into a plane display area and a curved surface display area according to the appearance size characteristics of the edge curved surface part of the curved screen.
A9. The method according to any one of a1-8, wherein, if yes, adjusting the initial display position of the target page element so that the adjusted actual display position of the target page element is located behind the flat display area, further includes:
in the page display process, when a touch interaction instruction is detected, acquiring instruction description information corresponding to the touch interaction instruction;
judging whether the touch interaction instruction is a holding mis-touch instruction or not according to the instruction description information;
if yes, shielding the touch interaction instruction; wherein the instruction description information corresponding to the touch interaction instruction comprises: interaction position, interaction duration, interaction displacement and/or touch trajectory.
A10. The method according to a9, wherein the determining, according to the instruction attribute information, whether the touch interaction instruction is a hold miss-touch instruction includes:
when the interaction position of the touch interaction instruction comprises the curved surface display area, further judging whether instruction description information of the touch interaction instruction meets at least one of the following conditions:
the interaction duration is greater than a preset duration threshold, the interaction displacement is less than a preset displacement threshold, and the touch track is a static track or is not matched with a preset interaction track; wherein the preset interaction track comprises: a first interaction track corresponding to the horizontal movement path and/or a second interaction track corresponding to the vertical movement path;
and when the instruction description information of the touch interaction instruction meets at least one condition, determining that the touch interaction instruction is a holding mis-touch instruction.
B11. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
when the screen of the terminal equipment is judged to be the curved screen, acquiring each page element contained in the page to be displayed and an initial display position of each page element, and determining the page element of which the initial display position is located in a curved display area of the curved screen as a target page element; the screen display area of the curved screen comprises a plane display area and a curved surface display area;
judging whether the initial display position of the target page element needs to be adjusted or not according to the element type of the target page element; if so, adjusting the initial display position of the target page element so as to enable the adjusted actual display position of the target page element to be located in the plane display area.
B12. The electronic device of B11, wherein the executable instructions cause the processor to:
acquiring page layout information of a page to be displayed according to a page identifier of the page to be displayed;
and determining each page element contained in the page to be displayed and the initial display position of each page element according to the page layout information.
B13. The electronic device of B11 or 12, wherein when the page identification is a native page identification, the executable instructions cause the processor to: adjusting the initial display position of the target page element locally at the client;
when the page identification is an H5 page identification, the executable instructions cause the processor to: and sending a page adjusting request containing adjusting parameters to a server, and adjusting the initial display position of the target page element in response to a page adjusting instruction sent by the server based on the page adjusting request.
B14. The electronic device of any of B11-13, wherein the executable instructions cause the processor to:
determining the element type to be adjusted corresponding to the page type according to the page type of the page to be displayed;
and when the element type of the target page element belongs to the element type to be adjusted, determining that the initial display position of the target page element needs to be adjusted.
B15. The electronic device according to B14, wherein the page to be displayed is a page included in an e-book application;
when the page type of the page to be displayed is a reading page type, the element type to be adjusted corresponding to the reading page type comprises: a text element type, and/or a picture element type;
when the page type of the page to be displayed is a front-end display type, the element type to be adjusted corresponding to the front-end display type includes: an interactive element type; wherein the page elements belonging to the interactive element type include: button type elements, and/or hot zone type elements.
B16. The electronic device of any of B11-15, wherein the executable instructions cause the processor to:
calculating the adjustment offset of the target page element according to the area coordinate of the initial display position of the target page element corresponding to the curved surface display area;
and adjusting the target page element towards the center direction of the screen according to the adjustment offset.
B17. The electronic device of B16, wherein the executable instructions cause the processor to:
if a blank area exists in a neighboring area of the target page element corresponding to the center direction of the screen, adjusting the target page element towards the center direction of the screen, and keeping the initial display positions of other page elements unchanged; alternatively, the first and second electrodes may be,
setting a screen display size matched with the adjustment offset, and adjusting all page contents in the page to be displayed according to the set screen display size so as to limit the adjusted page to be displayed to the plane display area; and determining the screen display size according to the page margin parameter and/or the screen resolution.
B18. The electronic device of any of B11-17, wherein the executable instructions further cause the processor to:
acquiring the screen size and/or curvature parameters of the curved screen, and calculating the appearance size characteristic of the edge curved part of the curved screen according to the screen size and/or curvature parameters;
and dividing a screen display area of the curved screen into a plane display area and a curved surface display area according to the appearance size characteristics of the edge curved surface part of the curved screen.
B19. The electronic device of any of B11-18, wherein the executable instructions further cause the processor to:
in the page display process, when a touch interaction instruction is detected, acquiring instruction description information corresponding to the touch interaction instruction;
judging whether the touch interaction instruction is a holding mis-touch instruction or not according to the instruction description information;
if yes, shielding the touch interaction instruction; wherein the instruction description information corresponding to the touch interaction instruction comprises: interaction position, interaction duration, interaction displacement and/or touch trajectory.
B20. The electronic device of B19, wherein the executable instructions cause the processor to:
when the interaction position of the touch interaction instruction comprises the curved surface display area, further judging whether instruction description information of the touch interaction instruction meets at least one of the following conditions:
the interaction duration is greater than a preset duration threshold, the interaction displacement is less than a preset displacement threshold, and the touch track is a static track or is not matched with a preset interaction track; wherein the preset interaction track comprises: the preset interaction track comprises a first interaction track corresponding to the horizontal movement path and/or a second interaction track corresponding to the vertical movement path: a first interaction track corresponding to the horizontal movement path and/or a second interaction track corresponding to the vertical movement path;
and when the instruction description information of the touch interaction instruction meets at least one condition, determining that the touch interaction instruction is a holding mis-touch instruction.
C21. A computer storage medium having stored therein at least one executable instruction for causing a processor to execute a method of displaying a page based on a curved screen as described in any of a 1-10.

Claims (10)

1. A page display method based on a curved screen, wherein the method comprises the following steps:
when the screen of the terminal equipment is judged to be the curved screen, acquiring each page element contained in the page to be displayed and an initial display position of each page element, and determining the page element of which the initial display position is located in a curved display area of the curved screen as a target page element; the screen display area of the curved screen comprises a plane display area and a curved surface display area;
judging whether the initial display position of the target page element needs to be adjusted or not according to the element type of the target page element; if so, adjusting the initial display position of the target page element so as to enable the adjusted actual display position of the target page element to be located in the plane display area.
2. The method according to claim 1, wherein the obtaining of each page element included in the page to be displayed and the initial display position of each page element comprises:
acquiring page layout information of a page to be displayed according to a page identifier of the page to be displayed;
and determining each page element contained in the page to be displayed and the initial display position of each page element according to the page layout information.
3. The method of claim 1 or 2, wherein when the page identifier is a native page identifier, the adjusting the initial presentation position of the target page element comprises: adjusting the initial display position of the target page element locally at the client;
when the page identifier is an H5 page identifier, the adjusting the initial display position of the target page element includes: and sending a page adjusting request containing adjusting parameters to a server, and adjusting the initial display position of the target page element in response to a page adjusting instruction sent by the server based on the page adjusting request.
4. The method according to any one of claims 1-3, wherein said determining whether the initial display position of the target page element needs to be adjusted according to the element type of the target page element comprises:
determining the element type to be adjusted corresponding to the page type according to the page type of the page to be displayed;
and when the element type of the target page element belongs to the element type to be adjusted, determining that the initial display position of the target page element needs to be adjusted.
5. The method of claim 4, wherein the page to be presented is a page included in an e-book application;
when the page type of the page to be displayed is a reading page type, the element type to be adjusted corresponding to the reading page type comprises: a text element type, and/or a picture element type;
when the page type of the page to be displayed is a front-end display type, the element type to be adjusted corresponding to the front-end display type includes: an interactive element type; wherein the page elements belonging to the interactive element type include: button type elements, and/or hot zone type elements.
6. The method of any of claims 1-5, wherein the adjusting the initial presentation position of the target page element comprises:
calculating the adjustment offset of the target page element according to the area coordinate of the initial display position of the target page element corresponding to the curved surface display area;
and adjusting the target page element towards the center direction of the screen according to the adjustment offset.
7. The method of claim 6, wherein said adjusting said target page element toward the center of the screen according to said adjustment offset comprises:
if a blank area exists in a neighboring area of the target page element corresponding to the center direction of the screen, adjusting the target page element towards the center direction of the screen, and keeping the initial display positions of other page elements unchanged; alternatively, the first and second electrodes may be,
setting a screen display size matched with the adjustment offset, and adjusting all page contents in the page to be displayed according to the set screen display size so as to limit the adjusted page to be displayed to the plane display area; and determining the screen display size according to the page margin parameter and/or the screen resolution.
8. The method of any of claims 1-7, wherein prior to performing the method, further comprising:
acquiring the screen size and/or curvature parameters of the curved screen, and calculating the appearance size characteristic of the edge curved part of the curved screen according to the screen size and/or curvature parameters;
and dividing a screen display area of the curved screen into a plane display area and a curved surface display area according to the appearance size characteristics of the edge curved surface part of the curved screen.
9. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
when the screen of the terminal equipment is judged to be the curved screen, acquiring each page element contained in the page to be displayed and an initial display position of each page element, and determining the page element of which the initial display position is located in a curved display area of the curved screen as a target page element; the screen display area of the curved screen comprises a plane display area and a curved surface display area;
judging whether the initial display position of the target page element needs to be adjusted or not according to the element type of the target page element; if so, adjusting the initial display position of the target page element so as to enable the adjusted actual display position of the target page element to be located in the plane display area.
10. A computer storage medium having stored therein at least one executable instruction for causing a processor to perform the method for curved screen based page display of any of claims 1-8.
CN202110333844.8A 2021-03-29 2021-03-29 Page display method based on curved screen, electronic equipment and storage medium Pending CN112925468A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110333844.8A CN112925468A (en) 2021-03-29 2021-03-29 Page display method based on curved screen, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110333844.8A CN112925468A (en) 2021-03-29 2021-03-29 Page display method based on curved screen, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112925468A true CN112925468A (en) 2021-06-08

Family

ID=76176366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110333844.8A Pending CN112925468A (en) 2021-03-29 2021-03-29 Page display method based on curved screen, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112925468A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113590992A (en) * 2021-07-30 2021-11-02 咪咕数字传媒有限公司 Page display method, device and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108052247A (en) * 2017-11-29 2018-05-18 努比亚技术有限公司 Desktop icons method of adjustment, mobile terminal and computer readable storage medium
US20200201545A1 (en) * 2017-09-07 2020-06-25 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for Split-Screen Display, Terminal, and Non-Transitory Computer Readable Storage Medium
CN111966268A (en) * 2020-07-31 2020-11-20 维沃移动通信有限公司 Interface display method and device and electronic equipment
CN112527230A (en) * 2019-09-17 2021-03-19 华为技术有限公司 Parameter adjusting method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200201545A1 (en) * 2017-09-07 2020-06-25 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for Split-Screen Display, Terminal, and Non-Transitory Computer Readable Storage Medium
CN108052247A (en) * 2017-11-29 2018-05-18 努比亚技术有限公司 Desktop icons method of adjustment, mobile terminal and computer readable storage medium
CN112527230A (en) * 2019-09-17 2021-03-19 华为技术有限公司 Parameter adjusting method and electronic equipment
CN111966268A (en) * 2020-07-31 2020-11-20 维沃移动通信有限公司 Interface display method and device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113590992A (en) * 2021-07-30 2021-11-02 咪咕数字传媒有限公司 Page display method, device and equipment

Similar Documents

Publication Publication Date Title
US10866730B2 (en) Touch screen-based control method and apparatus
US10185459B2 (en) Display processing method, display processing apparatus and electronic device
WO2018196457A1 (en) On-screen comment display method and electronic device
US9430139B2 (en) Information processing apparatus, information processing method, and program
CN107980158B (en) Display control method and device of flexible display screen
US20130033524A1 (en) Method for performing display control in response to eye activities of a user, and associated apparatus
US11693544B2 (en) Mobile terminal display picture control method, apparatus, and device and storage medium
CN106406708A (en) A display method and a mobile terminal
US10042445B1 (en) Adaptive display of user interface elements based on proximity sensing
US8952994B2 (en) Information processing device, control method for information processing device, program, and information storage medium
CN115454233A (en) Multi-screen interaction method and device
CN112925468A (en) Page display method based on curved screen, electronic equipment and storage medium
CN111124111A (en) Processing method and electronic equipment
CN112198929B (en) Control method and device
CN106249879A (en) The display packing of a kind of virtual reality image and terminal
CN106681590B (en) Method and device for displaying screen content of driving recording device
US20220263929A1 (en) Mobile terminal and control method therefor
CN111783393A (en) Method, device and storage medium for synchronizing handwritten notes during bilingual contrast reading
CN103513866B (en) Display packing, device and the mobile device of face shape informosome set
CN115730092A (en) Method, apparatus, device and storage medium for content presentation
CN112667931B (en) Webpage collecting method, electronic equipment and storage medium
CN114895815A (en) Data processing method and electronic equipment
CN114721565A (en) Application program starting method and device, electronic equipment and storage medium
CN114089868A (en) Touch operation method and device and electronic equipment
CN111831198B (en) Double-screen touch method and device

Legal Events

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