Round page display method, computer equipment, storage medium and program product
By configuring arc control components in the page display, the problem of the existing rectangular page control components not matching the page is solved, the page interaction efficiency and control accuracy are improved, and the operation experience that matches the page shape is achieved.
Patent Information
- Application Number
- CN202411007397.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-12-27
AI Technical Summary
Existing page control components (such as progress bars and sliding bars) are designed in a single and fixed rectangular form, resulting in mismatch with the page, affecting user operation efficiency, and reducing page interaction efficiency.
Provide a circular page display method, by obtaining the component information of the arc control component configured by the page type, including the progress bar type and the sliding bar type, displaying the arc control component according to the page type, ensuring that the component shape and settings match the page shape. , improve user operation efficiency.
By adapting to arc control components, users can quickly perform page operations, improve page interaction efficiency, enhance control accuracy and display coordination effect.
Smart Images

Figure CN119202437A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a circular page display method, a computer device, a computer-readable storage medium, and a computer program product. Background Art
[0002] With the advent of the digital age, the application of computers is becoming more and more extensive. At present, the control components of the page (progress bar, slider, etc.) are mostly rectangular bars with a relatively simple and fixed design. When the page is switched, there may be a mismatch between the control component and the page, making it impossible for users to quickly operate the page, resulting in low page interaction efficiency. Summary of the invention
[0003] Based on this, it is necessary to provide a circular page display method, device, computer equipment, computer-readable storage medium and computer program product that can improve page interaction efficiency in response to the above technical problems.
[0004] In a first aspect, the present application provides a circular page display method, comprising:
[0005] Get the page type of the circular page to be displayed;
[0006] According to the page type, configuring component information of the arc control component corresponding to the circular page to be displayed, wherein the component information includes a component type and component control information, and the component type includes at least one of a progress bar type and a slide bar type;
[0007] The circular page to be displayed is displayed according to the configured component information.
[0008] In a second aspect, the present application further provides a circular page display device, comprising:
[0009] An acquisition module, used to acquire the page type of the circular page to be displayed;
[0010] A configuration module, configured to configure component information of the arc control component corresponding to the circular page to be displayed according to the page type, wherein the component information includes a component type and component control information, and the component type includes at least one of a progress bar type and a slide bar type;
[0011] The display module is used to display the circular page to be displayed according to the configured component information.
[0012] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0013] Get the page type of the circular page to be displayed;
[0014] According to the page type, configuring component information of the arc control component corresponding to the circular page to be displayed, wherein the component information includes a component type and component control information, and the component type includes at least one of a progress bar type and a slide bar type;
[0015] The circular page to be displayed is displayed according to the configured component information.
[0016] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0017] Get the page type of the circular page to be displayed;
[0018] According to the page type, configuring component information of the arc control component corresponding to the circular page to be displayed, wherein the component information includes a component type and component control information, and the component type includes at least one of a progress bar type and a slide bar type;
[0019] The circular page to be displayed is displayed according to the configured component information.
[0020] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0021] Get the page type of the circular page to be displayed;
[0022] According to the page type, configuring component information of the arc control component corresponding to the circular page to be displayed, wherein the component information includes a component type and component control information, and the component type includes at least one of a progress bar type and a slide bar type;
[0023] The circular page to be displayed is displayed according to the configured component information.
[0024] The above-mentioned circular page display method, device, computer equipment, computer-readable storage medium and computer program product obtain the page type of the circular page to be displayed; according to the page type, configure the component information of the arc control component corresponding to the circular page to be displayed, wherein the component information includes component type and component control information, and the component type includes at least one of a progress bar type and a sliding bar type; display the circular page to be displayed according to the configured component information, adapt the arc control component for the circular page, and the component information of the arc control component matches the page type of the circular page to be displayed, so that the arc control component corresponds to the shape of the display page in shape and component setting. In this case, the user can quickly perform page operations through the arc control component, thereby improving the efficiency of page interaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0026] Figure 1 A diagram showing an application environment of a circular page display method in an embodiment;
[0027] Figure 2 It is a flowchart of a circular page display method in one embodiment;
[0028] Figure 3 A schematic flow chart of a step of determining component information of an arc control component corresponding to a circular page to be displayed according to a page type in an embodiment;
[0029] Figure 4 It is a display schematic diagram of a circular page to be displayed when the component type of the arc control component is a slide bar type in an embodiment;
[0030] Figure 5 It is a flowchart of a step of determining component information of an arc control component corresponding to a circular page to be displayed according to a page type in another embodiment;
[0031] Figure 6 It is a display schematic diagram of a circular page to be displayed when the component type of the arc control component is a progress bar type in an embodiment;
[0032] Figure 7 is a structural block diagram of a circular page display device in an embodiment;
[0033] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0035] It should be noted that the data involved in this application (including but not limited to data for analysis, data for storage, data for display, etc.) are all information and data authorized by the user or fully authorized by all parties, and the acquisition, transmission, storage, use and processing of relevant data are in compliance with the relevant provisions of national laws and regulations. In the embodiments of this application, some existing solutions in the industry such as certain software, components, models, etc. may be mentioned, which should be regarded as exemplary, and their purpose is only to illustrate the feasibility of the implementation of the technical solution of this application, but it does not mean that the applicant has or will necessarily use the solution.
[0036] The circular page display method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 can communicate with the server 104 through the network, and / or, the terminal 102 can also communicate with the home appliance directly or through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The terminal 102 obtains the page type of the circular page to be displayed; according to the page type, the component information of the arc control component corresponding to the circular page to be displayed is configured, wherein the component information includes the component type and the component control information, and the component type includes at least one of the progress bar type and the slider type, and the terminal 102 displays the circular page to be displayed according to the configured component information. Among them, taking the communication between the terminal 102 and the home appliance as an example, the circular page to be displayed can be a page for the terminal 102 to interact with the home appliance, for example, the circular page to be displayed is used to provide an area for controlling and / or displaying the parameters of the home appliance. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices, and the Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. Server 104 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services. Home appliances are indoor devices used to provide services. Home appliances can be, but are not limited to, various air conditioners, fans, lights, curtains, and speakers.
[0037] In an exemplary embodiment, Figure 2 As shown, a circular page display method is provided, which is applied to Figure 1 The terminal 102 in the example is used as an example to illustrate, including the following steps 202 to 206. Among them:
[0038] Step 202: Obtain the page type of the circular page to be displayed.
[0039] The circular page to be displayed in step 202 is a circular page waiting to be displayed, and the circular page to be displayed may be a display page of a circular screen, or a display page of a circular area on a display screen of an unlimited shape, for example, a display page of a circular area on a rectangular display screen, etc. The page type includes at least one of an incomplete page display type and a page progress display type.
[0040] Exemplarily, step 202 includes: acquiring display content of the circular page to be displayed, and generating a page type of the circular page to be displayed according to the display content.
[0041] As one embodiment, a page type of a circular page to be displayed is generated based on the displayed content, including: if the displayed content is completely displayed and there is progress display content in the displayed content, the page progress display type is determined as the page type of the circular page to be displayed; or, if the displayed content is not completely displayed, the page incomplete display type is determined as the page type of the circular page to be displayed; or, if the displayed content is not completely displayed and there is progress display content in the displayed content, the page progress display type and the page incomplete display type are determined as the page type of the circular page to be displayed.
[0042] In this way, considering the way of determining the page type in various cases, and the page type is the basis for configuring the component, it is ensured that the configured control component can adapt to the circular page to be displayed.
[0043] Further, a first display area of the display content of the circular page to be displayed is obtained, and a second display area of the circular page to be displayed is obtained; if the first display area is larger than the second display area, it is determined that the display content is not fully displayed; if the first display area is not larger than the second display area, it is determined that the display content is fully displayed.
[0044] Optionally, as an embodiment, before step 202, the process also includes, in response to a user's page operation on the circular page to be displayed, executing step 202, wherein the page operation includes but is not limited to a page viewing operation and a page setting operation, etc. The page setting operation can be a page function setting, such as a display brightness setting, a playback volume setting, a page function upgrade setting, etc., or a knob control, such as control of a brightness knob.
[0045] In this way, since the page type obtained is used to configure the component information of the arc control component, and the function of the arc control component can be known from the following text to be progress display or page control, when the user's page operation is detected, the page type of the circular page to be displayed is obtained, so that the corresponding arc control component can be configured in time, thereby improving the user's control efficiency for the circular page to be displayed.
[0046] Optionally, before step 204, the method further includes: determining the number of components of the arc control component corresponding to the circular page to be displayed according to the page type.
[0047] Further, according to the page type, the number of components of the arc control component corresponding to the circular page to be displayed is determined, including: if the page type of the circular page to be displayed is a page progress display type, the number of progress display contents of the circular page to be displayed is obtained, and the number of components of the arc control component corresponding to the circular page to be displayed is determined as the number of progress display contents; or, if the page type of the circular page to be displayed is an incomplete page display type, the number of incompletely displayed positions of the circular page to be displayed is determined, and the number of components of the arc control component corresponding to the circular page to be displayed is determined as the number of incompletely displayed positions of the page; or, if the page type of the circular page to be displayed is a page progress display type and an incomplete page display type, the number of incompletely displayed positions of the circular page to be displayed and the number of progress display contents of the circular page to be displayed are determined, the number of incompletely displayed positions and the number of progress display contents are summed to obtain the total number, and the number of components of the arc control component corresponding to the circular page to be displayed is determined as the total number.
[0048] As one embodiment, determining the number of positions in which the circular page to be displayed is not fully displayed includes: determining the position of the incomplete display area corresponding to the display content of the circular page to be displayed on the display content, and determining the number of positions in which the circular page to be displayed is not fully displayed as the number of the positions. For example, if the display content of the circular page A to be displayed is not fully displayed in the horizontal direction, the number of positions in which the circular page to be displayed is not fully displayed is determined to be 1; if the display content of the circular page B to be displayed is not fully displayed in the horizontal and vertical directions, the number of positions in which the circular page to be displayed is determined to be 2.
[0049] Optionally, the number of arc control components corresponding to the circular page to be displayed can also be set by the user as needed, and is not limited here.
[0050] Step 204: configure component information of the arc control component corresponding to the circular page to be displayed according to the page type, wherein the component information includes component type and component control information, and the component type includes at least one of a progress bar type and a slide bar type.
[0051] Among them, the arc control component in step 204 is a control component set in the circular page to be displayed for progress display or page control. The number of arc control components can be single or multiple, and the number of arc control components depends on the page type of the circular page to be displayed.
[0052] Exemplarily, step 204 includes: for each arc control component, configuring the component type of the arc control component corresponding to the circular page to be displayed according to the page type; and configuring the component control information of the arc control component according to the component type of the arc control component.
[0053] As an embodiment, according to the page type, the component type of the arc control component corresponding to the circular page to be displayed is configured, including: if the page type is a page progress display type, the component type of the arc control component corresponding to the circular page to be displayed is determined to be a progress bar type; or, if the page type is an incomplete page display type, the component type of the arc control component corresponding to the circular page to be displayed is determined to be a sliding bar type; or, if the page type is a page progress display type and an incomplete page display type, the component type of the arc control component corresponding to the circular page to be displayed is determined to be a sliding bar type and a progress bar type.
[0054] As an embodiment, component control information of the arc control component is configured according to the component type of the arc control component, including: if the component type of the arc control component is a sliding bar type, first setting information of the arc control component is generated, and the component control information of the arc control component is determined as the first setting information; or, if the component type of the arc control component is a progress bar type, second setting information of the arc control component is generated, and the component control information of the arc control component is determined as the second setting information.
[0055] Step 206: Display the circular page to be displayed according to the configured component information.
[0056] Exemplarily, step 206 includes: generating an arc control component corresponding to the circular page to be displayed according to the configured component information; and displaying the arc control component on the circular page to be displayed.
[0057] In the above circular page display method, the page type of the circular page to be displayed is obtained; according to the page type, the component information of the arc control component corresponding to the circular page to be displayed is configured, wherein the component information includes the component type and the component control information, and the component type includes at least one of the progress bar type and the sliding bar type; the circular page to be displayed is displayed according to the configured component information, and for the circular page, the arc control component is adapted, and the component information of the arc control component is matched with the page type of the circular page to be displayed, so that the arc control component corresponds to the shape of the display page in terms of shape and component setting. In this case, the user can quickly perform page operations through the arc control component, thereby improving the efficiency of page interaction.
[0058] In an exemplary embodiment, Figure 3 and Figure 4As shown, an arc control component is configured on the circular page 10 to be displayed. When the component type of the arc control component is a slider type, the arc control component includes an arc slider 20 and a sliding area 30 corresponding to the arc slider. Since the arc slider 20 slides in the sliding area 30, the size of the sliding area 30 is greater than or equal to the size of the arc slider 20, and the difference in size between the sliding area 30 and the arc slider 20 is the slidable area of the arc slider 20 in the sliding area 30; according to the page type, the component information of the arc control component corresponding to the circular page to be displayed is determined, specifically including steps 302 to 304. Among them:
[0059] Step 302: If the component type of the arc control component is a slider type, then obtain page content information of the circular page to be displayed.
[0060] The page content information is used to characterize the display of the page content, and the page content information includes at least one of the number of content fields and content field distribution information.
[0061] Exemplarily, step 302 includes: if the component type of the arc control component is a slider type, obtaining at least one of the number of content fields and content field distribution information of the circular page to be displayed.
[0062] Step 304, based on the page content information, generate the first setting information corresponding to the arc control component, and determine the component control information in the component information of the arc control component as the first setting information, wherein the first setting information includes at least one of the sliding speed of the arc slider, the sliding speed of the circular page to be displayed, and the area information of the sliding area.
[0063] The area information of the sliding area in step 304 includes at least one of the area arc length of the sliding area and the area of the sliding area.
[0064] Exemplarily, based on the page content information, the first setting information corresponding to the arc control component is generated, including: configuring the content display duration of each content in the circular page to be displayed based on the page content information, and generating the first setting information corresponding to the arc control component based on the content display duration corresponding to each content in the circular page to be displayed.
[0065] Further, as an embodiment, the content display time of each content in the circular page to be displayed is configured according to the page content information, including: the page content information includes the number of content fields of the circular page to be displayed, wherein the larger the number of content fields, the longer the content display time corresponding to each content in the circular page to be displayed.
[0066] The larger the number of content fields, that is, the more content displayed in the circular page to be displayed, the longer the content display time corresponding to each content in the circular page to be displayed. In this way, when the user uses the slider type arc control component, there will be no content omissions, so that the user can accurately stay at the position the user wants when using the slider type arc control component, thereby improving the control accuracy of the arc control component.
[0067] It is understandable that there may be a situation where the amount of displayed content of each content in the circular page to be displayed is not evenly distributed. For example, part A of the circular page to be displayed displays more content, while part B displays less content. If the above method is adopted and a unified content display duration is used for all content, then there may be a situation where when the user wants to view the content of part A, the content display duration is shorter, and when the user wants to view the content of part B, the content display duration is longer, resulting in lower control accuracy of the arc control component.
[0068] Furthermore, in order to overcome the above-mentioned technical defect of low control accuracy of the arc control component caused by the use of a unified content display duration for all content, as an embodiment, the content display duration of each content in the circular page to be displayed is configured according to the page content information, including: the page content information includes the content field distribution information of the circular page to be displayed, and the content field distribution information includes the number of distribution fields of each content in the circular page to be displayed; for each content in the circular page to be displayed, according to the number of distribution fields corresponding to each content, the content display duration corresponding to each content is configured, wherein the larger the number of distribution fields, the longer the content display duration corresponding to the content.
[0069] The larger the number of distribution fields of the current content, that is, the more content currently displayed in the circular page to be displayed, the longer the content display time corresponding to the current content in the circular page to be displayed. Similarly, the smaller the number of distribution fields of the current content, that is, the less content currently displayed in the circular page to be displayed, the shorter the content display time corresponding to the current content in the circular page to be displayed. In this way, a reasonable distribution of the content display time of each content in the circular page to be displayed is achieved, ensuring that when the circular page to be displayed has less content, the user can quickly complete the browsing or setting of the page, and when the circular page to be displayed has more content, the user has sufficient time to browse or set the page without missing details in the displayed content of the circular page to be displayed, thereby improving the control accuracy of the arc control component.
[0070] As another embodiment, according to the page content information, the content display time of each content in the circular page to be displayed is configured, including: the page content information includes the content field distribution information of the circular page to be displayed and the number of content fields of the circular page to be displayed; for each content in the circular page to be displayed, according to the number of distribution fields corresponding to each content, the initial content display time corresponding to each content is configured, wherein the larger the number of distribution fields, the longer the initial content display time corresponding to the content; according to the number of content fields of the circular page to be displayed, a first adjustment coefficient corresponding to the initial content display time is generated, wherein the larger the number of content fields of the circular page to be displayed, the larger the first adjustment coefficient; the initial content display time corresponding to each content and the first adjustment coefficient are merged to obtain the content display time of each content, wherein the fusion method includes but is not limited to summation, product, etc.
[0071] In this way, the content field distribution information of the circular page to be displayed and the number of content fields of the circular page to be displayed are used together as the basis for configuring the corresponding content display time of each content in the circular page to be displayed, so that the configured corresponding content display time of each content in the circular page to be displayed takes into account both the overall display content of the circular page to be displayed and the display content of each content in the circular page to be displayed, thereby improving the control accuracy of the arc control component.
[0072] As an embodiment, the content display time of each content in the circular page to be displayed is configured according to the page content information, including: obtaining the time used by the user for each content in the circular page to be displayed; and configuring the content display time of each content in the circular page to be displayed according to the used time and the page content information.
[0073] As an embodiment, the content display time of each content in the circular page to be displayed is configured according to the used time and the page content information, including: for each content in the circular page to be displayed, according to the page content information, the initial content display time of each content in the circular page to be displayed is configured; according to the used time of each content, a second adjustment coefficient corresponding to the initial content display time is determined, wherein the longer the used time is, the larger the second adjustment coefficient is; the second adjustment coefficient is merged with the initial content display time to obtain the content display time of each content, wherein the fusion method includes but is not limited to summation, product, etc.
[0074] In this way, the user's demand for the usage of each content in the circular page to be displayed is quantified by the usage time, and the usage time and the page content information are used together as the basis for configuring the content display time of each content in the circular page to be displayed. The content display time of each content in the circular page to be displayed is configured from two dimensions: the user's demand for the usage of each content in the circular page to be displayed and the display status of each content in the circular page to be displayed. Therefore, the control accuracy of the arc control component is improved.
[0075] Optionally, for each content in the circular page, a specific implementation method for configuring the initial content display time of each content in the circular page to be displayed according to the page content information can be referred to the specific implementation content of configuring the content display time of each content in the circular page to be displayed according to the page content information in the above embodiment, which will not be repeated here.
[0076] As an embodiment, first setting information corresponding to the arc control component is generated according to the content display time corresponding to each content in the circular page to be displayed, including: for each content in the circular page to be displayed, the longer the content display time corresponding to each content, the slower the sliding speed of the arc slider of the arc control component corresponding to each content, the slower the sliding speed of the arc control component corresponding to each content, and the larger the area represented by the area information of the sliding area of the arc control component corresponding to each content.
[0077] In this way, when the sliding speed of the arc control component corresponding to each content is slower, the content display time is longer when the user performs the same sliding operation. Therefore, the sliding speed of the arc slider corresponding to the generated arc control component is adapted to the content display time corresponding to each content in the circular page to be displayed, thereby improving the control accuracy of the arc control component.
[0078] In this way, when the sliding speed of the arc control component corresponding to each content is slower, the content display time is longer when the user performs the same sliding operation. Therefore, the sliding speed of the generated arc control component corresponding to each content is adapted to the content display time corresponding to each content in the circular page to be displayed, thereby improving the control accuracy of the arc control component.
[0079] In this way, when the size of the arc slider is fixed, the larger the area range of the sliding area of the arc control component corresponding to each content, the longer the content in the circular page to be displayed stays when the arc slider is controlled (the arc slider slides the same distance, the longer the content in the circular page to be displayed stays). Therefore, it is ensured that the first setting information corresponding to the generated arc control component is adapted to the content display duration corresponding to each content in the circular page to be displayed, thereby improving the control accuracy of the arc control component.
[0080] Optionally, the method also includes: if the component type of the arc control component is a sliding bar type, then accumulating the time that users use the arc control component to stay on each content in the circular page to be displayed; screening target content whose stay time is greater than a preset time threshold among the contents of the circular page to be displayed; and marking the sliding area corresponding to the target content in the arc control component.
[0081] Furthermore, marking the sliding area corresponding to the target content in the arc control component includes: highlighting the sliding area corresponding to the target content in the arc control component; or marking the sliding area corresponding to the target content in the arc control component through a label.
[0082] In this way, the user's preference for each content to be displayed on the circular page is quantified by the dwell time, so that the sliding area corresponding to the content with a longer dwell time, that is, the user is more inclined to use, can be marked. Therefore, when the user wants to continue to use the target content next time, the target content can be found more quickly through the marked sliding area, thereby improving the control efficiency of the arc control component.
[0083] In this embodiment, when the component type of the arc control component is a sliding bar type, the arc control component includes an arc slider and a sliding area corresponding to the arc slider; if the component type of the arc control component is a sliding bar type, the page content information of the circular page to be displayed is obtained; according to the page content information, the first setting information corresponding to the arc control component is generated, and the component control information in the component information of the arc control component is determined as the first setting information, wherein the first setting information includes at least one of the sliding speed of the arc slider, the sliding speed of the circular page to be displayed and the area information of the sliding area, and provides a configuration method for the component information of the arc control component when the component type of the arc control component is a sliding bar type, and uses the page content information as the basis for configuring the component information of the arc control component, thereby ensuring that the configured component information of the arc control component matches the page content of the circular page to be displayed, thereby improving the control accuracy of the arc control component.
[0084] In an exemplary embodiment, Figure 5 As shown, according to the page type, the component information of the arc control component corresponding to the circular page to be displayed is configured, specifically including steps 502 to 504. Among them:
[0085] Step 502: If the component type of the arc control component is a progress bar type, then obtain function display information corresponding to the circular page to be displayed.
[0086] The function display information in step 502 includes the display position and display size of the display function in the circular page to be displayed;
[0087] Exemplarily, step 502 includes: if the component type of the arc control component is a progress bar type, obtaining a display position and a display size of a display function in a circular page to be displayed.
[0088] Step 504, generating second setting information of the arc control component according to the function display information, and determining the component control information in the component information of the arc control component as the second setting information, the second setting information including the arc size and component position of the arc control component.
[0089] Exemplarily, based on the function display information, second setting information of the arc control component is generated, including: based on the display position and display size of the display function in the circular page to be displayed, filtering the placeable area corresponding to the arc control component in the circular page to be displayed; based on the placeable area corresponding to the arc control component, generating the arc size of the arc control component and the component position of the arc control component.
[0090] As one embodiment, generating the arc size and component position of the arc control component according to the placeable area corresponding to the arc control component includes: selecting a target area in the placeable area corresponding to the arc control component, determining the component position of the arc control component as the position of the target area, and determining the arc size of the arc control component as the size of the target area.
[0091] Further, as an embodiment, selecting a target area in the placeable area corresponding to the arc control component includes: selecting a target area with the largest arc area in the placeable area corresponding to the arc control component.
[0092] In this way, the arc control component is set as large as possible, so that the arc control component can more accurately express the progress of the display function, thereby improving the display accuracy effect of the arc control component.
[0093] As another embodiment, selecting a target area in a placeable area corresponding to the arc control component includes: selecting a target area in the placeable area that matches the display position and display size of the display function in the circular page to be displayed, wherein when the interval distance between a preset point (which may be a center point, a boundary point, or other points in the preset area, which are not limited here) in the preset area in the placeable area and the display position of the display function in the circular page to be displayed is less than a preset distance threshold, it is determined that the preset area matches the display position of the display function in the circular page to be displayed, and when the difference between the area size of the preset area and the display size of the display function in the circular page to be displayed is less than a preset difference threshold, it is determined that the preset area matches the display size of the display function in the circular page to be displayed.
[0094] In this way, the arc control component is arranged to match the display function in the circular page to be displayed, so that the arc control component is consistent with the display function in the circular page to be displayed in appearance, thereby improving the display coordination effect of the arc control component.
[0095] As an example, refer to Figure 6 An arc control component is configured on the circular page 10 to be displayed. When the component type of the arc control component is a progress bar type, the arc control component includes a completed progress part 40 and an unfinished progress part 50. At this time, the arc control component is consistent with the display function 60 (the display function as shown in the figure includes a voice function, a return function and a setting function).
[0096] In the present embodiment, if the component type of the arc control component is a progress bar type, the function display information corresponding to the circular page to be displayed is obtained; according to the function display information, the second setting information of the arc control component is generated, and the component control information in the component information of the arc control component is determined as the second setting information, the second setting information includes the arc size of the arc control component and the component position of the arc control component, and provides a configuration method for the component information of the arc control component when the component type of the arc control component is a progress bar type, and uses the function display information as a basis for configuring the component information of the arc control component, thereby ensuring that the configured component information of the arc control component matches the display function in the circular page to be displayed, thereby improving the display effect of the arc control component.
[0097] As a detailed embodiment, the page type of the circular page to be displayed is obtained; if the page type is an incomplete page display type, the component type of the arc control component corresponding to the circular page to be displayed is determined as a sliding bar type; if the page type is a page progress display type, the component type of the arc control component corresponding to the circular page to be displayed is determined as a progress bar type.
[0098] Further, in the case where the component type of the arc control component is a slider type, the arc control component includes an arc slider and a sliding area corresponding to the arc slider; if the component type of the arc control component is a slider type, the page content information of the circular page to be displayed is obtained; the user's used time for each content in the circular page to be displayed is obtained; according to the used time and the page content information, the content display time of each content in the circular page to be displayed is configured; according to the content display time, the first setting information corresponding to the arc control component is generated; if the component type of the arc control component is a progress bar type, the function display information corresponding to the circular page to be displayed is obtained; the function display information includes the display position and display size of the display function in the circular page to be displayed; according to the display position and display size of the display function in the circular page to be displayed, the placeable area corresponding to the arc control component is screened in the circular page to be displayed; according to the placeable area corresponding to the arc control component, the arc size of the arc control component and the component position of the arc control component are generated.
[0099] In this way, by obtaining the page type of the circular page to be displayed; according to the page type, configuring the component information of the arc control component corresponding to the circular page to be displayed, wherein the component information includes the component type and the component control information, and the component type includes at least one of the progress bar type and the sliding bar type; displaying the circular page to be displayed according to the configured component information, adapting the arc control component for the circular page, and matching the component information of the arc control component with the page type of the circular page to be displayed, so that the arc control component corresponds to the shape of the display page in terms of shape and component settings. In this case, the user can quickly perform page operations through the arc control component, thereby improving the efficiency of page interaction.
[0100] Furthermore, a method for configuring the component information of the arc control component when the component type of the arc control component is a sliding bar type is provided, and the page content information is used as the basis for configuring the component information of the arc control component, thereby ensuring that the component information of the arc control component obtained by configuration matches the page content of the circular page to be displayed, thereby improving the control accuracy of the arc control component; and a method for configuring the component information of the arc control component when the component type of the arc control component is a progress bar type is provided, and the function display information is used as the basis for configuring the component information of the arc control component, thereby ensuring that the component information of the arc control component obtained by configuration matches the display function in the circular page to be displayed, thereby improving the display effect of the arc control component.
[0101] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0102] Based on the same inventive concept, the embodiment of the present application also provides a circular page display device for implementing the circular page display method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more circular page display device embodiments provided below can refer to the limitations of the circular page display method above, and will not be repeated here.
[0103] In an exemplary embodiment, Figure 7 As shown, a circular page display device 500 is provided, comprising: an acquisition module 702, a configuration module 704 and a display module 706, wherein:
[0104] An acquisition module 702 is used to acquire the page type of the circular page to be displayed;
[0105] Configuration module 704, configured to configure component information of the arc control component corresponding to the circular page to be displayed according to the page type, wherein the component information includes component type and component control information, and the component type includes at least one of a progress bar type and a slide bar type;
[0106] The display module 706 is used to display the circular page to be displayed according to the configured component information.
[0107] In one of the embodiments, the configuration module 704 is also used to determine the component type of the arc control component corresponding to the circular page to be displayed as a sliding bar type if the page type is an incomplete page display type; if the page type is a page progress display type, then the component type of the arc control component corresponding to the circular page to be displayed is determined as a progress bar type.
[0108] In one of the embodiments, when the component type of the arc control component is a sliding bar type, the arc control component includes an arc slider and a sliding area corresponding to the arc slider; the configuration module 704 is also used to obtain page content information of the circular page to be displayed if the component type of the arc control component is a sliding bar type; based on the page content information, generate first setting information corresponding to the arc control component, and determine the component control information in the component information of the arc control component as the first setting information, wherein the first setting information includes at least one of the sliding speed of the arc slider, the sliding speed of the circular page to be displayed, and the area information of the sliding area.
[0109] In one of the embodiments, the configuration module 704 is also used to obtain the user's used time for each content in the circular page to be displayed; configure the content display time of each content in the circular page to be displayed according to the used time and the page content information; and generate the first setting information corresponding to the arc control component according to the content display time.
[0110] In one embodiment, the circular page display device 700 also includes: a marking module, which is used to accumulate the time that users use the arc control component to stay on each content in the circular page to be displayed if the component type of the arc control component is a sliding bar type; filter the target content whose stay time is greater than a preset time threshold among the contents of the circular page to be displayed; and mark the sliding area corresponding to the target content in the arc control component.
[0111] In one of the embodiments, the configuration module 704 is also used to obtain function display information corresponding to the circular page to be displayed if the component type of the arc control component is a progress bar type; generate second setting information of the arc control component according to the function display information, and determine the component control information in the component information of the arc control component as the second setting information, the second setting information including the arc size of the arc control component and the component position of the arc control component.
[0112] In one of the embodiments, the function display information includes the display position and display size of the display function in the circular page to be displayed; the configuration module 704 is also used to filter the placeable area corresponding to the arc control component in the circular page to be displayed according to the display position and display size of the display function in the circular page to be displayed; and generate the arc size and component position of the arc control component according to the placeable area corresponding to the arc control component.
[0113] Each module in the circular page display device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0114] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 8 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a circular page display method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0115] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0116] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0117] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0118] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0119] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0120] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0121] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A circular page display method, characterized in that: The method comprises: Get the page type of the circular page to be displayed; According to the page type, configuring component information of the arc control component corresponding to the circular page to be displayed, wherein the component information includes a component type and component control information, and the component type includes at least one of a progress bar type and a slide bar type; The circular page to be displayed is displayed according to the configured component information.
2. The method according to claim 1, characterized in that The configuring, according to the page type, component information of the arc control component corresponding to the circular page to be displayed specifically includes: If the page type is an incompletely displayed page type, determining the component type of the arc control component corresponding to the circular page to be displayed as a slide bar type; If the page type is a page progress display type, the component type of the arc control component corresponding to the circular page to be displayed is determined to be a progress bar type.
3. The method according to claim 1, characterized in that When the component type of the arc control component is the slider type, the arc control component includes an arc slider and a sliding area corresponding to the arc slider; and configuring the component information of the arc control component corresponding to the circular page to be displayed according to the page type specifically includes: If the component type of the arc control component is a slide bar type, obtaining page content information of the circular page to be displayed; Based on the page content information, the first setting information corresponding to the arc control component is generated, and the component control information in the component information of the arc control component is determined as the first setting information, wherein the first setting information includes at least one of the sliding speed of the arc slider, the sliding speed of the circular page to be displayed, and the area information of the sliding area.
4. The method according to claim 3, characterized in that Generating first setting information corresponding to the arc control component according to the page content information specifically includes: Obtaining the time the user has used for each content in the circular page to be displayed; According to the used time and the page content information, configure the content display time of each content in the circular page to be displayed; According to the content display duration, first setting information corresponding to the arc control component is generated.
5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: If the component type of the arc control component is a slider type, then the dwell time of the user using the arc control component on each content of the circular page to be displayed is accumulated; Filtering target content whose dwelling time is greater than a preset time threshold from the contents of the circular page to be displayed; Mark the sliding area corresponding to the target content in the arc control component.
6. The method according to claim 1, characterized in that The configuring, according to the page type, component information of the arc control component corresponding to the circular page to be displayed specifically includes: If the component type of the arc control component is the progress bar type, obtaining function display information corresponding to the circular page to be displayed; According to the function display information, second setting information of the arc control component is generated, and the component control information in the component information of the arc control component is determined as the second setting information, wherein the second setting information includes the arc size of the arc control component and the component position of the arc control component.
7. The method according to claim 6, characterized in that The function display information includes the display position and display size of the display function in the circular page to be displayed; and the second setting information of the arc control component is generated according to the function display information, specifically including: According to the display position and display size of the display function in the circular page to be displayed, selecting a placeable area corresponding to the arc control component in the circular page to be displayed; The arc size of the arc control component and the component position of the arc control component are generated according to the placement area corresponding to the arc control component.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Method and device for quickly positioning page contents and mobile terminal
CN105786352A
E-book-based reading clocking method, electronic equipment and computer storage medium
CN107180090A
E-book page turning method, electronic equipment and computer storage medium
CN109917991A