CN114327732B - Page configuration method, page configuration device, electronic equipment and computer readable medium - Google Patents

Page configuration method, page configuration device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN114327732B
CN114327732B CN202111671965.XA CN202111671965A CN114327732B CN 114327732 B CN114327732 B CN 114327732B CN 202111671965 A CN202111671965 A CN 202111671965A CN 114327732 B CN114327732 B CN 114327732B
Authority
CN
China
Prior art keywords
sub
input layout
configuration
configuration page
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111671965.XA
Other languages
Chinese (zh)
Other versions
CN114327732A (en
Inventor
庞立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing 58 Information Technology Co Ltd
Original Assignee
Beijing 58 Information 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 Beijing 58 Information Technology Co Ltd filed Critical Beijing 58 Information Technology Co Ltd
Priority to CN202111671965.XA priority Critical patent/CN114327732B/en
Publication of CN114327732A publication Critical patent/CN114327732A/en
Application granted granted Critical
Publication of CN114327732B publication Critical patent/CN114327732B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

Embodiments of the present disclosure disclose page configuration methods, apparatuses, electronic devices, and computer-readable media. The method is used for the application terminal, wherein the application terminal comprises a plurality of configuration pages. The configuration pages have a display sequence. Each configuration page is configured with at least one input layout, and the input layout of each configuration page has a corresponding relation with the input layout of other configuration pages. One embodiment of the method comprises the following steps: in response to detecting that a user sets any one of the plurality of configuration pages as a first input layout, at least an input layout of a next configuration page of the any one configuration page is adjusted to a second input layout corresponding to the first input layout. According to the embodiment, the layout form of the switched page with the next arranged multiple views can be automatically adjusted according to the personalized setting of the user for the layout form of the page with the multiple views arranged, so that the personalized experience of the user is improved.

Description

Page configuration method, page configuration device, electronic equipment and computer readable medium
Technical Field
Embodiments of the present disclosure relate to the field of computer technology, and in particular, to a page configuration method, an apparatus, an electronic device, and a computer readable medium.
Background
With the development of computer technology, the interactive interfaces of application programs are more and more diversified. The user can view each view arranged on the same page in the display interface of the terminal device, and can switch from the currently displayed page to another page in which a plurality of views are arranged. Currently, when determining a layout form of a page in which a plurality of views are arranged, which is switched by a user, a method is generally adopted as follows: and determining a layout form preset by a developer or a user as the layout form of the switched page in which the multiple views are arranged.
However, when the layout form of the page in which the plurality of views are arranged, which is switched by the user, is determined in the above manner, there are often the following technical problems: the layout form of the switched page next arranged with multiple views cannot be automatically adjusted according to the personalized setting of the user for the layout form of the page arranged with multiple views, so that the user personalized experience is poor.
Disclosure of Invention
The disclosure is in part intended to introduce concepts in a simplified form that are further described below in the detailed description. The disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose page configuration methods, apparatuses, electronic devices, and computer-readable media to solve the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a page configuration method for an application terminal, where the application terminal includes a plurality of configuration pages, the plurality of configuration pages have a display order, each configuration page configures at least one input layout, and each configuration page has a correspondence between input layouts of other configuration pages, and the method includes: in response to detecting that a user sets any one of the plurality of configuration pages as a first input layout, at least an input layout of a next configuration page of the any one configuration page is adjusted to a second input layout corresponding to the first input layout.
In a second aspect, some embodiments of the present disclosure provide a page configuration apparatus for an application terminal, where the application terminal includes a plurality of configuration pages, the plurality of configuration pages have a presentation order, each configuration page configures at least one input layout, and each configuration page has a correspondence between input layouts of other configuration pages, and the apparatus includes: an adjustment unit configured to adjust at least an input layout of a next configuration page of any configuration page of the plurality of configuration pages to a second input layout corresponding to the first input layout in response to detecting that a user sets any configuration page of the plurality of configuration pages to the first input layout.
In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors causes the one or more processors to implement the method described in any of the implementations of the first aspect above.
In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect above.
The above embodiments of the present disclosure have the following advantageous effects: according to the page configuration method of some embodiments of the present disclosure, according to the personalized setting of the user for the layout form of the page in which the multiple views are arranged, the switched layout form of the page in which the multiple views are arranged next can be automatically adjusted, so that the personalized experience of the user is improved. The page configuration method of some embodiments of the present disclosure is used for an application terminal. The application terminal comprises a plurality of configuration pages. The configuration pages have a display sequence. Each configuration page is configured with at least one input layout, and the input layout of each configuration page has a corresponding relation with the input layout of other configuration pages. In response to detecting that a user sets any one of the plurality of configuration pages as a first input layout, at least an input layout of a next configuration page of the any one configuration page is adjusted to a second input layout corresponding to the first input layout. Also, since the input layout of the next configuration page corresponds to the first input layout set by the user for the previous configuration page of the next configuration page, the layout form of the switched page in which the views are next arranged can be automatically adjusted according to the personalized setting of the layout form of the user for the page in which the views are arranged. Thereby improving the personalized experience of the user.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
FIG. 1 is a schematic illustration of one application scenario of a page configuration method according to some embodiments of the present disclosure;
FIG. 2 is a flow chart of some embodiments of a page configuration method according to the present disclosure;
3-4 are schematic diagrams of configuration pages according to some embodiments of the page configuration methods of the present disclosure;
FIG. 5 is a flow chart of other embodiments of page configuration methods according to the present disclosure;
FIG. 6 is a schematic structural diagram of some embodiments of a page configuration device according to the present disclosure;
Fig. 7 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain 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 construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings. Embodiments of the present disclosure and features of embodiments may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 is a schematic diagram of an application scenario of a page configuration method according to some embodiments of the present disclosure.
In the application scenario of fig. 1, the application terminal 101 includes a plurality of configuration pages. The configuration pages have a display sequence. Each configuration page is configured with at least one input layout, and the input layout of each configuration page has a corresponding relation with the input layout of other configuration pages. The application terminal 101 may, in response to detecting that a user sets any configuration page 102 of the plurality of configuration pages as the first input layout 103, adjust at least an input layout of a next configuration page 104 of the any configuration page 102 to a second input layout 105 corresponding to the first input layout 103.
The application terminal 101 may be hardware or software. When the application terminal is hardware, the application terminal may be implemented as a distributed cluster formed by a plurality of servers or terminal devices, or may be implemented as a single server or a single terminal device. When the application terminal is embodied as software, it may be installed in the above-listed hardware device. It may be implemented as a plurality of software or software modules, for example, for providing distributed services, or as a single software or software module. The present invention is not particularly limited herein.
It should be understood that the number of application terminals in fig. 1 is merely illustrative. There may be any number of application terminals, as desired for implementation.
With continued reference to fig. 2, a flow 200 of some embodiments of a page configuration method according to the present disclosure is shown. The page configuration method is used for the application terminal. The application terminal comprises a plurality of configuration pages. The configuration pages have a display sequence. Each configuration page is configured with at least one input layout, and the input layout of each configuration page has a corresponding relation with the input layout of other configuration pages. The method comprises the following steps:
in response to detecting that the user has set any one of the plurality of configuration pages as the first input layout, at least the input layout of the next configuration page of any configuration page is adjusted to a second input layout corresponding to the first input layout, step 201.
In some embodiments, the execution body of the page configuration method (e.g., the application terminal 101 shown in fig. 1) may, in response to detecting that the user sets any configuration page of the plurality of configuration pages to a first input layout, adjust at least an input layout of a next configuration page of the any configuration page to a second input layout corresponding to the first input layout. The configuration page may be a page displayed in the application terminal. The configuration page may be configured with a plurality of UI views for presentation. The UI view may be a preset icon displayed in a graphical user interface of the application terminal. For example, the plurality of configuration pages may include a keyboard presentation page and an image presentation selection page. Any configuration page can be the keyboard display page. The next configuration page of any of the configuration pages may be the selection page for the image presentation. The keyboard presentation page may be a page for a user to input information. The image presentation selection page may be a page for a user to input an image. For example, the image presentation selection page may be an expression package page, where each expression presented in the expression package page may be understood as a UI view. The plurality of configuration pages have a display sequence, and it can be understood that a user can look up each configuration page in the plurality of configuration pages in turn through the application terminal. For example, when the configuration page currently displayed by the application terminal is a keyboard display page, the user slides leftwards on the keyboard display page, so that the image display selection page can be viewed. Each configuration page is configured with at least one input layout, it being understood that a developer or user has previously configured for each configuration page one or more input layouts for presenting the respective UI view. The input layout may be an arrangement layout of the presented individual UI views. For example, when the configuration page is a keyboard presentation page, the input layout may be a full keyboard layout. The full keyboard layout may be a layout that fully exposes a UI view of the input keys. The input layout may also be a nine-grid layout. The nine-grid layout may be a layout of a UI view showing letter keys in nine-grid form. When the configuration page is an image presentation selection page, the input layout may be a 3*3 layout. 3*3 the layout may be a layout in which the UI view is presented in 3 rows and 3 columns. The input layout of each configuration page has a corresponding relationship with the input layout of other configuration pages, and it can be understood that if the input layout of one configuration page is adjusted, the input layout of other configuration pages should be correspondingly adjusted. It is understood that the input layout may be a layout in which the input layout is arranged in a horizontal direction, or a layout in which the input layout is arranged in a vertical direction. When the input layout is a layout in which the input layout is not arranged in any of the up-down, left-right directions, the number of rows of the input layout may be the maximum number of rows, and the number of columns of the input layout may be the maximum number of columns. As shown in fig. 3, the number of rows of the input layout (nine-square layout) of the configuration page 301 is 4, and the number of columns is 5. As shown in fig. 4, the number of rows of the input layout (full keyboard layout) of the configuration page 401 is 4, and the number of columns is 9. Note that each block of the arrangement in fig. 3 and 4 may be any UI view, and the setting of a specific UI view is not limited.
The first input layout may be an input layout set by a user for any configuration page. Here, the specific setting of the first input layout is not limited. The second input layout may be an input layout having a number of rows and/or columns corresponding to the number of rows and/or columns of the first input layout. For example, the second input layout may be an input layout having the same number of rows and columns as the first input layout. The second input layout may be an input layout having the same number of lines as the first input layout. The second input layout may be an input layout having the same number of columns as the first input layout. The second input layout may be an input layout corresponding to a total number of views corresponding to the first input layout. For example, the second input layout may be the same input layout as the total number of views corresponding to the first input layout. The total number of views may be a total number of UI views corresponding to the first input layout. For example, 3*3 layouts correspond to a total number of views of 9. The next configuration page of any configuration page may be a configuration page after any configuration page in display order. In practice, the executing body may, in response to detecting that a user sets any configuration page of the plurality of configuration pages as a first input layout, adjust at least an input layout of a next configuration page of the any configuration page to a second input layout corresponding to a number of rows and/or columns of the first input layout. In practice, the execution body may, in response to detecting that a user sets any one of the plurality of configuration pages as a first input layout, adjust at least an input layout of a next configuration page of the any one configuration page to a second input layout that is the same as a total number of views of the first input layout.
The above embodiments of the present disclosure have the following advantageous effects: according to the page configuration method of some embodiments of the present disclosure, according to the personalized setting of the user for the layout form of the page in which the multiple views are arranged, the switched layout form of the page in which the multiple views are arranged next can be automatically adjusted, so that automatic dynamic configuration of the page layout is realized, and personalized experience of the user is improved. The page configuration method of some embodiments of the present disclosure is used for an application terminal. The application terminal comprises a plurality of configuration pages. The configuration pages have a display sequence. Each configuration page is configured with at least one input layout, and the input layout of each configuration page has a corresponding relation with the input layout of other configuration pages. In response to detecting that a user sets any one of the plurality of configuration pages as a first input layout, at least an input layout of a next configuration page of the any one configuration page is adjusted to a second input layout corresponding to the first input layout. Also, since the input layout of the next configuration page corresponds to the first input layout set by the user for the previous configuration page of the next configuration page, the layout form of the switched page in which the views are next arranged can be automatically adjusted according to the personalized setting of the layout form of the user for the page in which the views are arranged. Thereby improving the personalized experience of the user.
With further reference to FIG. 5, a flow 500 of further embodiments of a page configuration method is shown. The page configuration method flow 500 includes the following steps:
in step 501, in response to the input layout sequence of the next configuration page, where there is an input layout identical to the first input layout, the input layout identical to the first input layout is selected as the second input layout in the input layout sequence.
In some embodiments, the execution body of the page configuration method (for example, the application terminal 101 shown in fig. 1) may select, as the second input layout, an input layout identical to the first input layout in the input layout sequence in response to the existence of the input layout identical to the first input layout in the input layout sequence of the next configuration page. Thus, the same input layout as the first input layout in the input layout sequence of the next configuration page can be determined as the second input layout. So that the next configuration page can be rendered according to the same second input layout as the first input layout.
Step 502, in response to the fact that the input layout sequence of the next configuration page does not have the same input layout as the first input layout, the input layout in the input layout sequence is ordered according to the similarity with the first input layout, and the input layout with the highest similarity with the first input layout in the input layout sequence is used as the second input layout.
In some embodiments, the execution body may, in response to the absence of the same input layout as the first input layout in the input layout sequence of the next configuration page, rank the input layouts in the input layout sequence according to the similarity with the first input layout, and use the input layout with the highest similarity with the first input layout in the input layout sequence as the second input layout. The input layout sequence may be each input layout previously configured in sequence for the next configuration page. In practice, the execution body may determine a vector composed of the number of rows and the number of columns corresponding to the first input layout as the first input layout vector. Then, a vector composed of the number of rows and columns of each input layout in the input layout sequence may be determined as an input layout vector, resulting in an input layout vector sequence. Then, the execution body may determine a similarity between each input layout vector in the input layout vector sequence and the first input layout vector, so as to obtain a similarity sequence. Then, the execution body may select, as the target similarity, a similarity having the largest value from the sequence of similarities. Finally, the input layout corresponding to the target similarity may be determined as the second input layout. The similarity may be cosine similarity. Thus, in the input layout sequence of the next configuration page, when there is no input layout identical to the first input layout, the input layout most similar to the first input layout can be selected as the second input layout.
In response to detecting the selection operation for the next configuration page, the next configuration page is rendered according to the second input layout, step 503.
In some embodiments, the execution body may perform rendering processing on the next configuration page according to the second input layout in response to detecting a selection operation on the next configuration page. In practice, the execution body may perform rendering processing on the next configuration page according to the first input layout in response to the second input layout being the same input layout as the first input layout. Thereby, the input layout of the next configuration page can be made identical to the first input layout.
In some optional implementations of some embodiments, the executing body may perform rendering processing on the next configuration page according to the second input layout by:
And a first step of determining the total number of sub-views included in each sub-configuration page included in the next configuration page as the total number of sub-views in response to the second input layout being the input layout having the highest similarity to the first input layout in the input layout sequence. The sub-configuration page may be a configuration page of a next stage that can be switched to be displayed in the next configuration page. For example, when the next configuration page is an expression package page (for example, a page for displaying emoji expressions), the corresponding plurality of sub-configuration pages may be respective sub-pages in which a plurality of expressions are arranged. The user can slide the currently displayed sub-configuration page of the expression package page leftwards or rightwards so as to browse each expression displayed in the switched sub-configuration page. Each sub-configuration page includes at least one sub-view. Each sub-view has a corresponding display bit. The child view may be a UI view displayed within a child configuration page. The display bit may be a range of positions for which the child view is displayed within the child configuration page. For example, the display bit may be a box within the child configuration page that is used to populate the child view. Each sub-configuration page includes the same number of display bits as the total number of views corresponding to the second input layout. The total number of sub-views may be the sum of the number of sub-views included in each sub-configuration page.
And a second step of generating the number of sub-configuration pages of the next configuration page corresponding to the second input layout according to the total sub-view and the number of display bits corresponding to the second input layout. In practice, the execution body may determine a ratio of the total number of sub-views to the number as a sub-configuration page value. The sub-configuration page value after the rounding-up process may then be determined as the number of sub-configuration pages. As an example, the total number of sub-views may be 20. The second input layout may be 2×4. The number of display bits corresponding to the second input layout is 8. The sub-configuration page value is 2.5 and the number of sub-configuration pages is 3.
And thirdly, rendering the next configuration page according to the second input layout, the number of the sub-configuration pages and the sub-views included in each sub-configuration page.
In some alternative implementations of some embodiments, the plurality of sub-configuration pages have a presentation order. The at least one sub-view has a presentation order. The execution body may execute the third step by:
And a first sub-step of sequentially forming sub-views included in each sub-configuration page into a sub-view sequence. The sub-view sequence may be a sequence formed by sequentially identifying sub-views included in each sub-configuration page. The sub-views in the sequence of sub-views may be represented by an identification that uniquely characterizes the sub-views. As an example, the first sub-configuration page includes sub-view 1, sub-view 2, sub-view 3, and the second sub-configuration page includes sub-view 4, sub-view 5, sub-view 6, then the sub-view sequence is [ sub-view 1, sub-view 2, sub-view 3, sub-view 4, sub-view 5, sub-view 6].
And a second sub-step of rendering a sub-configuration page as an initial sub-configuration page in the next configuration page according to the second input layout. The number of the display bits in the initial sub-configuration page is the target number. The target number corresponds to the second input layout. That is, the target number is the total number of views of the second input layout. The initial sub-configuration page may be a rendered page that only displays the respective display bits. The display positions show the state of the views to be filled.
And a third sub-step of selecting the target number of sub-views from the sub-view sequence according to the order of the sub-views in the sub-view sequence, and sequentially rendering the target number of sub-views in each display bit of the initial sub-configuration page according to the display bit order. Wherein, the display bit sequence can be a horizontal or longitudinal font sequence from top to bottom and from left to right. In practice, the execution body may select the target number of sub-views from the sub-view sequence according to the sequence of sub-views in the sub-view sequence. Then, the target number of sub-views may be sequentially rendered at the corresponding presentation bits according to the presentation bit order. It will be appreciated that the aspect ratio of the rendered sub-view is the same as the aspect ratio of the corresponding presentation bit. Thus, the initial sub-configuration page may be rendered within the next configuration page.
In some optional implementations of some embodiments, the third step may further include:
And a fourth sub-step of deleting each rendered sub-view from the sub-view sequence to update the sub-view sequence in response to the sub-configuration page to be rendered being an intermediate sub-configuration page. The sub-configuration page to be rendered may be a sub-configuration page that is selected for display for the first time. For example, the sub-configuration page to be rendered may be a sub-configuration page that is first opened or switched by a user to be displayed. As an example, each sub-configuration page included in the next configuration page may be [ sub-configuration page a, sub-configuration page B, sub-configuration page C ]. The sub-configuration page A and the sub-configuration page B are displayed by the previous selection of the user. The sub-configuration page C is not selected by the user before, and when the user opens or switches to the sub-configuration page C, the sub-configuration page C is the sub-configuration page to be rendered. The intermediate sub-configuration page may be any one of the plurality of sub-configuration pages that is not the first and not the last sub-configuration page. Therefore, when the current sub-configuration page which is selected for display for the first time is the middle sub-configuration page, the sub-view which is rendered can be deleted from the sub-view sequence.
And a fifth sub-step of selecting the target number of sub-views from the updated sub-view sequence according to the order of sub-views in the updated sub-view sequence, and sequentially rendering the target number of sub-views in each presentation bit of the intermediate sub-configuration page according to the presentation bit order. Therefore, when the current sub-configuration page selected for display for the first time is the middle sub-configuration page, the sub-views can be fully rendered on the display bit in the middle sub-configuration page.
In some optional implementations of some embodiments, the third step may further include:
And a sixth sub-step of determining the updated sub-view sequence as a remaining sub-view sequence in response to the sub-configuration page to be rendered being the last sub-configuration page. Wherein the remaining sub-view sequence includes a remainder of the total number of sub-views divided by the target number. And when the number of the sub-configuration pages included in the plurality of sub-configuration pages is greater than 1, the last sub-configuration page is the last sub-configuration page arranged in the plurality of sub-configuration pages.
And a seventh sub-step of sequentially rendering each remaining sub-view in the remaining sub-view sequence in each display bit of the last sub-configuration page according to the order of the remaining sub-views in the remaining sub-view sequence and the display bit order. Therefore, when the current first-time selected sub-configuration page is the last sub-configuration page, the residual unrendered sub-view can be rendered on the display bit in the last sub-configuration page.
It should be noted that, when the sub-configuration page is a sub-configuration page that is not first selected for display, the execution body may call the sub-configuration page rendered when first selected from the cache for display.
As can be seen in fig. 5, the flow 500 of the page configuration method in some embodiments corresponding to fig. 5 embodies the steps extended to render the next configuration page, as compared to the description of some embodiments corresponding to fig. 2. Thus, the embodiments describe a solution that can render the next configuration page according to the automatically determined second input layout. The layout form of the next rendered configuration page is automatically adjusted according to the personalized setting of the user, so that the personalized experience of the user is improved.
With further reference to fig. 6, as an implementation of the method shown in the above figures, the present disclosure provides some embodiments of a page configuration apparatus, which correspond to those method embodiments shown in fig. 2, for an application terminal. The application terminal comprises a plurality of configuration pages. The configuration pages have a display sequence. Each configuration page is configured with at least one input layout, and the input layout of each configuration page has a corresponding relation with the input layout of other configuration pages. The device can be applied to various electronic equipment.
As shown in fig. 6, the page configuration apparatus 600 of some embodiments includes: the adjustment unit 601 is configured to adjust at least an input layout of a next configuration page of any configuration page of the plurality of configuration pages to a second input layout corresponding to the first input layout in response to detecting that the user sets any configuration page of the plurality of configuration pages to the first input layout.
Optionally, the adjusting unit 601 may be further configured to: in response to the input layout sequence of the next configuration page, selecting the same input layout as the first input layout as the second input layout in the input layout sequence if the same input layout as the first input layout exists; and in response to the fact that the input layout sequence of the next configuration page does not have the same input layout as the first input layout, sorting the input layouts in the input layout sequence according to the similarity with the first input layout, and taking the input layout with the highest similarity with the first input layout in the input layout sequence as the second input layout.
Optionally, the page configuration apparatus 600 may further include: a rendering unit (not shown in the figure) configured to perform rendering processing on the next configuration page according to the second input layout in response to detection of a selection operation acting on the next configuration page.
Alternatively, the rendering unit may include: a sub view total amount determining unit, a sub configuration page amount generating unit, and a next configuration page rendering unit (not shown in the figure). The sub-view total amount determining unit is configured to determine, as a sub-view total amount, a total amount of sub-views included in each sub-configuration page included in the next configuration page, wherein each sub-configuration page includes at least one sub-view, and each sub-view has a corresponding display bit, in response to the second input layout being an input layout having a highest similarity to the first input layout in the input layout sequence. The sub-configuration page number generating unit is configured to generate a sub-configuration page number of the next configuration page corresponding to the second input layout according to the total sub-view number and the number of presentation bits corresponding to the second input layout. The next configuration page rendering unit is configured to render the next configuration page according to the second input layout, the number of sub configuration pages, and sub views included in each of the sub configuration pages.
Optionally, the plurality of sub-configuration pages have a display order, and the at least one sub-view has a display order.
Alternatively, the next configuration page rendering unit may include: the sub-view sequence composing unit, the initial sub-configuration page rendering unit, the first sub-view rendering unit (not shown in the figure). The sub-view sequence composing unit is configured to compose sub-views included in each sub-configuration page into a sub-view sequence in turn. The initial sub-configuration page rendering unit is configured to render the sub-configuration page as an initial sub-configuration page in the next configuration page according to the second input layout, wherein the number of display bits in the initial sub-configuration page is a target number, and the target number corresponds to the second input layout. The first sub-view rendering unit is configured to select the target number of sub-views from the sequence of sub-views according to an order of sub-views in the sequence of sub-views, and sequentially render the target number of sub-views in each display bit of the initial sub-configuration page according to a display bit order.
Optionally, the next configuration page rendering unit may further include: a sub-view sequence updating unit and a second sub-view rendering unit (not shown in the figure). The sub-view sequence updating unit is configured to delete each rendered sub-view from the sub-view sequence to update the sub-view sequence in response to the sub-configuration page to be rendered being an intermediate sub-configuration page. The second sub-view rendering unit is configured to select the target number of sub-views from the updated sub-view sequence according to the order of sub-views in the updated sub-view sequence, and sequentially render the target number of sub-views in each presentation bit of the intermediate sub-configuration page according to the presentation bit order.
Optionally, the next configuration page rendering unit may further include: a remaining sub-view sequence determining unit and a third sub-view rendering unit (not shown in the figure). The method comprises the steps that a sub-view sequence determining unit is configured to determine the updated sub-view sequence as a remaining sub-view sequence in response to a sub-configuration page to be rendered being a last sub-configuration page, wherein the number of remaining sub-views included in the remaining sub-view sequence is the remainder of the total number of sub-views divided by the target number. The third sub-view rendering unit is configured to sequentially render each of the remaining sub-views in the remaining sub-view sequence in each display bit of the last sub-configuration page according to the order of the remaining sub-views in the remaining sub-view sequence and the display bit order.
It will be appreciated that the elements described in the apparatus 600 correspond to the various steps in the method described with reference to fig. 2. Thus, the operations, features and resulting benefits described above with respect to the method are equally applicable to the apparatus 600 and the units contained therein, and are not described in detail herein.
Referring now to fig. 7, a schematic diagram of an electronic device (e.g., application terminal 101 of fig. 1) 700 suitable for use in implementing some embodiments of the present disclosure is shown. The electronic devices in some embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), car terminals (e.g., car navigation terminals), and the like, as well as stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 7 is only one example and should not impose any limitations on the functionality and scope of use of embodiments of the present disclosure.
As shown in fig. 7, the electronic device 700 may include a processing means (e.g., a central processor, a graphics processor, etc.) 701, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 702 or a program loaded from a storage means 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
In general, the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 707 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; and a communication device 709. The communication means 709 may allow the electronic device 700 to communicate wirelessly or by wire with other devices to exchange data. While fig. 7 shows an electronic device 700 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead. Each block shown in fig. 7 may represent one device or a plurality of devices as needed.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via communications device 709, or from storage 708, or from ROM 702. The above-described functions defined in the methods of some embodiments of the present disclosure are performed when the computer program is executed by the processing means 701.
It should be noted that, the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, the computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: in response to detecting that a user sets any one of a plurality of configuration pages as a first input layout, at least an input layout of a next configuration page of the any one configuration page is adjusted to a second input layout corresponding to the first input layout.
Computer program code for carrying out operations for some embodiments of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The described units may also be provided in a processor, for example, described as: a processor includes an adjustment unit. The names of the units are not limited to the unit itself in some cases, and for example, the adjustment unit may be further described as "a unit that adjusts, in response to detection of a user setting any one of a plurality of configuration pages as a first input layout, at least an input layout of a next configuration page of the any one configuration page as a second input layout corresponding to the first input layout".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above technical features, but encompasses other technical features formed by any combination of the above technical features or their equivalents without departing from the spirit of the invention. Such as the above-described features, are mutually substituted with (but not limited to) the features having similar functions disclosed in the embodiments of the present disclosure.

Claims (9)

1. A page configuration method for an application terminal, wherein the application terminal includes a plurality of configuration pages, the plurality of configuration pages have a presentation order, each configuration page configures at least one input layout, and each configuration page has a correspondence between input layouts of other configuration pages, comprising:
In response to detecting that a user has set any one of the plurality of configuration pages as a first input layout, adjusting at least an input layout of a next configuration page of the any one configuration page to a second input layout corresponding to the first input layout, the adjusting at least an input layout of a next configuration page of the any one configuration page to a second input layout corresponding to the first input layout, comprising:
in response to the input layout sequence of the next configuration page, selecting the same input layout as the first input layout as the second input layout in the input layout sequence if the same input layout as the first input layout exists;
And responding to the input layout sequence of the next configuration page, if the input layout which is the same as the first input layout does not exist, sorting the input layout in the input layout sequence according to the similarity with the first input layout, and taking the input layout with the highest similarity with the first input layout in the input layout sequence as the second input layout.
2. The method of claim 1, wherein the method further comprises:
In response to detecting a selection operation acting on the next configuration page, rendering the next configuration page according to the second input layout.
3. The method of claim 2, wherein the rendering the next configuration page according to the second input layout comprises:
Responding to the second input layout as the input layout with the highest similarity with the first input layout in the input layout sequence, wherein the next configuration page comprises a plurality of sub-configuration pages, and the total number of sub-views included in each sub-configuration page included in the next configuration page is determined as the total number of sub-views, wherein each sub-configuration page comprises at least one sub-view, and each sub-view is provided with a corresponding display position;
Generating the number of sub-configuration pages of the next configuration page corresponding to the second input layout according to the total sub-view amount and the number of display bits corresponding to the second input layout;
and rendering the next configuration page according to the second input layout, the number of the sub-configuration pages and the sub-views included in each sub-configuration page.
4. A method according to claim 3, wherein the plurality of sub-configuration pages have a presentation order, the at least one sub-view having a presentation order; and
The rendering processing of the next configuration page according to the second input layout, the number of sub-configuration pages and the sub-views included in each sub-configuration page includes:
sequentially forming sub-views included in each sub-configuration page into a sub-view sequence;
Rendering a sub-configuration page in the next configuration page as an initial sub-configuration page according to the second input layout, wherein the number of display bits in the initial sub-configuration page is a target number, and the target number corresponds to the second input layout;
Selecting the target number of sub-views from the sequence of sub-views according to the sequence of sub-views in the sequence of sub-views, and sequentially rendering the target number of sub-views in each display bit of the initial sub-configuration page according to the sequence of display bits.
5. The method of claim 4, wherein the rendering the next configuration page according to the second input layout, the number of sub-configuration pages, and the sub-views included in the respective sub-configuration pages comprises:
deleting each rendered sub-view from the sub-view sequence to update the sub-view sequence in response to the sub-configuration page to be rendered being an intermediate sub-configuration page;
Selecting the target number of sub-views from the updated sub-view sequence according to the sequence of sub-views in the updated sub-view sequence, and sequentially rendering the target number of sub-views in each display bit of the intermediate sub-configuration page according to the display bit sequence.
6. The method of claim 5, wherein the rendering the next configuration page according to the second input layout, the number of sub-configuration pages, and the sub-views included in the respective sub-configuration pages comprises:
determining the updated sub-view sequence as a remaining sub-view sequence in response to the sub-configuration page to be rendered being a last sub-configuration page, wherein the number of remaining sub-views included in the remaining sub-view sequence is a remainder of the total number of sub-views divided by the target number;
And sequentially rendering each remaining sub-view in the remaining sub-view sequence in each display bit of the last sub-configuration page according to the sequence of the remaining sub-views in the remaining sub-view sequence and the display bit sequence.
7. A page configuration apparatus for an application terminal, wherein the application terminal includes a plurality of configuration pages having a presentation order, each configuration page configuring at least one input layout, and each configuration page having a correspondence between input layouts of other configuration pages, comprising:
An adjustment unit configured to adjust, in response to detection of a user setting any one of the plurality of configuration pages as a first input layout, at least an input layout of a next configuration page of the any one configuration page as a second input layout corresponding to the first input layout, the at least an input layout of a next configuration page of the any one configuration page as a second input layout corresponding to the first input layout, including: in response to the input layout sequence of the next configuration page, selecting the same input layout as the first input layout as the second input layout in the input layout sequence if the same input layout as the first input layout exists; and responding to the input layout sequence of the next configuration page, if the input layout which is the same as the first input layout does not exist, sorting the input layout in the input layout sequence according to the similarity with the first input layout, and taking the input layout with the highest similarity with the first input layout in the input layout sequence as the second input layout.
8. An electronic device, comprising:
one or more processors;
A storage device having one or more programs stored thereon;
When executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-6.
9. A computer readable medium having stored thereon a computer program, wherein the program when executed by a processor implements the method of any of claims 1-6.
CN202111671965.XA 2021-12-31 2021-12-31 Page configuration method, page configuration device, electronic equipment and computer readable medium Active CN114327732B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111671965.XA CN114327732B (en) 2021-12-31 2021-12-31 Page configuration method, page configuration device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111671965.XA CN114327732B (en) 2021-12-31 2021-12-31 Page configuration method, page configuration device, electronic equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN114327732A CN114327732A (en) 2022-04-12
CN114327732B true CN114327732B (en) 2024-04-19

Family

ID=81020270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111671965.XA Active CN114327732B (en) 2021-12-31 2021-12-31 Page configuration method, page configuration device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN114327732B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115730092A (en) * 2022-10-28 2023-03-03 北京字跳网络技术有限公司 Method, apparatus, device and storage medium for content presentation

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011087880A1 (en) * 2010-01-15 2011-07-21 Apple Inc. Automatic keyboard layout determination
CN108182002A (en) * 2018-01-30 2018-06-19 北京小米移动软件有限公司 Layout method, device, equipment and the storage medium of enter key
CN108415703A (en) * 2018-02-08 2018-08-17 武汉斗鱼网络科技有限公司 A kind of quick interface arrangement method, device, electronic equipment and storage medium
CN108549566A (en) * 2018-04-16 2018-09-18 中山大学 A kind of personal page and client layout generation method based on user characteristics
CN112596730A (en) * 2020-12-30 2021-04-02 广州繁星互娱信息科技有限公司 Layout adjustment method, device, terminal and storage medium
CN112711457A (en) * 2021-01-05 2021-04-27 北京字跳网络技术有限公司 Method and device for field drawing and electronic equipment
CN113115119A (en) * 2021-04-02 2021-07-13 北京达佳互联信息技术有限公司 Video stream processing method, device and storage medium
CN113805755A (en) * 2021-09-24 2021-12-17 维沃移动通信有限公司 Desktop layout method and device and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160092091A1 (en) * 2014-09-30 2016-03-31 Apple Inc. Adjusting page layouts
US11385871B2 (en) * 2020-05-01 2022-07-12 Salesforce, Inc. Adjusting a user interface layout based on user usage patterns

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011087880A1 (en) * 2010-01-15 2011-07-21 Apple Inc. Automatic keyboard layout determination
CN108182002A (en) * 2018-01-30 2018-06-19 北京小米移动软件有限公司 Layout method, device, equipment and the storage medium of enter key
CN108415703A (en) * 2018-02-08 2018-08-17 武汉斗鱼网络科技有限公司 A kind of quick interface arrangement method, device, electronic equipment and storage medium
CN108549566A (en) * 2018-04-16 2018-09-18 中山大学 A kind of personal page and client layout generation method based on user characteristics
CN112596730A (en) * 2020-12-30 2021-04-02 广州繁星互娱信息科技有限公司 Layout adjustment method, device, terminal and storage medium
CN112711457A (en) * 2021-01-05 2021-04-27 北京字跳网络技术有限公司 Method and device for field drawing and electronic equipment
CN113115119A (en) * 2021-04-02 2021-07-13 北京达佳互联信息技术有限公司 Video stream processing method, device and storage medium
CN113805755A (en) * 2021-09-24 2021-12-17 维沃移动通信有限公司 Desktop layout method and device and electronic equipment

Also Published As

Publication number Publication date
CN114327732A (en) 2022-04-12

Similar Documents

Publication Publication Date Title
US20230024650A1 (en) Method and apparatus for selecting menu items, readable medium and electronic device
CN111339418B (en) Page display method, page display device, electronic equipment and computer readable medium
WO2021114979A1 (en) Video page display method and apparatus, electronic device and computer-readable medium
CN113238706B (en) View display method, device, equipment and medium
CN114491349B (en) Page display method, page display device, electronic device, storage medium and program product
CN110865734A (en) Target object display method and device, electronic equipment and computer readable medium
CN113254136A (en) Information recommendation popup window display method, device, equipment and computer readable medium
CN113609419B (en) Information display method, information display device, electronic equipment and computer readable medium
CN114363686B (en) Method, device, equipment and medium for publishing multimedia content
CN113238688B (en) Form display method, device, equipment and medium
CN111273830A (en) Data display method and device, electronic equipment and computer readable medium
CN114327732B (en) Page configuration method, page configuration device, electronic equipment and computer readable medium
EP4187490A1 (en) Method and apparatus for displaying text, electronic device, and computer-readable storage medium
CN112672182B (en) Live broadcast interface display method, device, electronic equipment and computer readable medium
CN113961280B (en) View display method and device, electronic equipment and computer readable storage medium
CN111338827B (en) Method and device for pasting form data and electronic equipment
CN114428925A (en) Page rendering method and device, electronic equipment and computer readable medium
CN113296771A (en) Page display method, device, equipment and computer readable medium
CN112148417A (en) Page adjusting method and device, electronic equipment and computer readable medium
CN112711457A (en) Method and device for field drawing and electronic equipment
CN112068742A (en) Method, device, terminal and storage medium for controlling application window
CN111783390B (en) Dimension label adjusting method and device and electronic equipment
CN115033148B (en) Document display method, device, electronic equipment and storage medium
CN114564267B (en) Information processing method, apparatus, electronic device and storage medium
JP7511657B2 (en) Method, device, electronic device and non-transitory readable storage medium for page switching in an application

Legal Events

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