Portal home page icon management method and system

Through the location information configuration file of the secondary index and the instructions executed by the processor, the flexible management of icons and groups on the portal homepage is realized, which solves the problems of low efficiency and inflexible grouping in the processing of a large number of icons on the traditional portal homepage, and improves the application Find efficiency and user experience.

CN118689353APending Publication Date: 2024-09-24BEIJING TONGTONG YILIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410817684.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

When the traditional portal homepage handles a large number of icons, it cannot efficiently classify, organize and batch transfer locations, resulting in low efficiency when users find applications, and the grouping method is not flexible enough to manage freely.

Method used

Use a location information configuration file with a secondary index to receive user operations, synchronously update icons and group location information in real time, and execute corresponding instructions through the processor to implement customized icon and group drag and rename operations, optimizing users Interface layout.

Benefits of technology

It improves application search efficiency, optimizes user interface operations, and improves personalized user experience. Users can freely adjust layout and classification according to their habits.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118689353A
    Figure CN118689353A
Patent Text Reader

Abstract

The invention relates to the technical field of user interface interaction, in particular to a portal home page icon management method, which comprises the following steps of: for a logged-in user, receiving user operation of a front end, calling a position information configuration file interface, synchronously updating data of a position information configuration file, and storing the updated position information configuration file to a rear end; arranging and displaying application icons and groups of a desktop of a front-end portal home page according to the position information configuration file; the position information configuration file is configured as data with two-level indexes, the first-level index is a page index of a current desktop, and the second-level index is an index of all groups and applications in each page; the second-level index is composed of id information of the application and position index information, and the id information of the application is used for matching the current application in the application list information returned by the back end. According to the invention, the layout of the portal home page is personalized to the user level.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of front-end interaction, and in particular relates to a method and system for managing portal homepage icons. Background Art

[0002] In recent years, with the widespread use of smart devices, people's demand for device operation interfaces has become increasingly high. As the most direct interactive interface between users and devices, the homepage desktop of the device is particularly important in terms of convenience, efficiency and customization. However, the traditional portal homepage often piles icons together, and users need to spend a lot of time sliding and turning pages when looking for specific applications. Although the grouping function solves this problem to a certain extent, the grouping method of most systems is not flexible, and users cannot group and classify freely. The authorized patent with patent number CN105930064 B discloses a method and system for managing items in a user interface and a computing device, and changes the position coordinates of icons or icon clusters in the front-end interface by dragging operations such as moving a cursor or pointing device in the user interface. The prior art provides an improved user experience based on the drag function, and can manage desktop icons. However, its defect is that when a large number of icons exist, the icons cannot be efficiently classified, sorted and transferred in batches. Summary of the invention

[0003] In view of the above technical problems, the present invention proposes a method for managing portal homepage icons.

[0004] Receive user operations at the front end, call the location information configuration file interface, synchronously update the data of the location information configuration file, and save the updated location information configuration file to the back end;

[0005] Arrange and display application icons and groups on the desktop of the front-end portal homepage according to the location information configuration file;

[0006] The location information configuration file is configured as data with a secondary index, wherein the first-level index is the page index of the current desktop, and the second-level index is the index of all groups and applications in each page; the second-level index consists of the application id information and location index information, and the application id information is used to match the current application in the application list information returned by the backend.

[0007] The present invention also correspondingly proposes a management system for portal home page icons, the system comprising at least one processor; and a memory storing instructions, which, when executed by at least one processor, executes the steps of the above method.

[0008] The present invention personalizes the layout of the portal homepage to the user level, and has the following technical effects:

[0009] 1. Improve application search efficiency: Traditional portal homepage desktops usually display applications in a disorderly manner. When there are many applications, users need to spend a lot of time to find a specific application. Grouping can solve this problem to a certain extent and improve search efficiency.

[0010] 2. Optimize user interface operations: Users can customize groups and applications by dragging, deleting, and renaming, realizing free management of groups and applications.

[0011] 3. Improve personalized user experience. Users can freely adjust the layout of the portal homepage desktop and the classification of applications according to their personal usage habits and needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 : Flowcharts of some schemes;

[0013] Figure 2 : Flowcharts of some schemes;

[0014] Figure 3 : Flowcharts of some schemes;

[0015] Figure 4 :System structure diagrams of some solutions. DETAILED DESCRIPTION

[0016] The following examples further illustrate the content of the present invention, but should not be construed as limiting the present invention. Without departing from the spirit and substance of the present invention, modifications or substitutions made to the methods, steps or conditions of the present invention all fall within the scope of the present invention.

[0017] The solution of the present invention, for a logged-in user, at least includes Figure 1 The following steps:

[0018] Receive user operations at the front end, call the location information configuration file interface, synchronously update the data of the location information configuration file, and save the updated location information configuration file to the back end;

[0019] Arrange and display application icons and groups on the desktop of the front-end portal homepage according to the location information configuration file;

[0020] The location information configuration file is configured as data with a secondary index, wherein the first-level index is the page index of the current desktop, and the second-level index is the index of all groups and applications in each page; the second-level index consists of the application id information and location index information, and the application id information is used to match the current application in the application list information returned by the backend.

[0021] Some solutions, in Figure 1 Based on the above, the following steps are also included: for a user login request for the first login, the application list is read, and the location information configuration file is initialized according to the application order of the application list. The steps of this solution are as follows: Figure 2 .

[0022] It should be noted that the location information configuration file is configured as data with a secondary index, where the first-level index is the page index of the current desktop, and the second-level index is the index of all groups and applications in each page; each item of data under the second-level index corresponds to the position of each application or group in the current page. The id information is used to match some information of the current application in the application list information returned by the backend. In order to simplify the size of the location information configuration file, the location information matching file only saves the application id information and location index information, such as the application name, icon, and which corresponding application to jump to after clicking, etc.

[0023] Based on the above scheme, some schemes specifically include the step of synchronously updating the primary index and the secondary index or only the secondary index after receiving the front-end drag operation of the logged-in user. The step includes: obtaining the current position of a selected application or group on the desktop in real time, and if the current position is a blank position, modifying the position of the selected application or group to the current position.

[0024] If you drag within the current page, you only need to update the secondary index. If you need to drag from the current page to another page, the primary index also needs to be updated (because it involves the operation of deleting the current application from the first page and then adding it to the second page).

[0025] In some solutions based on the above solution, if the current position of the selected application or group covers the position of another icon, perform the following steps:

[0026] Calculating a coverage rate, and if the coverage rate reaches a threshold, calculating whether the current position can accommodate a first group, where the first group consists of the selected application or group and the covered icon;

[0027] If the current position can accommodate both the selected application or group and the covered icon: creating a group identifier of a first group consisting of the selected application or group and the application of the covered icon under the second level index, and setting the position of the first group to the current position;

[0028] If the current position cannot accommodate the selected application or group and the covered icon at the same time, and there is a blank position on the desktop that can accommodate the selected application or group and the covered icon at the same time: establish a group identifier of the second group under the second-level index, and set the position of the second group to the blank position.

[0029] It should be noted that, on the desktop, an icon only occupies one position unit, and a group occupies at least four position units. That is, the size of each application is 1×1, and the size of each group is 2×2.

[0030] Based on the above solution, if the desktop cannot accommodate the selected application or group and the covered icon at the same time: the position of the selected application or group is restored to its position before the dragging operation;

[0031] If the coverage ratio does not reach the threshold: swapping the positions of the selected application or group and the application or group of the covered icon under the second level index.

[0032] Based on the above solution, when the selected application or group is dragged to the edge of the desktop, the page turning step is implemented, which includes:

[0033] adding a new page to the first level index in the location information configuration file,

[0034] And the page identifier of the selected application or group under the first-level index is modified to the page identifier of the new page.

[0035] Based on the above solution, if the front-end drag operation drags the application icon in the group out of the group, the following steps are performed:

[0036] Calculate whether there is a blank position on the current page according to the position configuration file. If there is no blank position on the current page, feedback the position information of the current page to the front end. If there is a blank position on the current page, execute the corresponding steps in the above solution.

[0037] Based on the above solutions, some solutions further include a step of deleting the grouping, which step includes: deleting the position of the selected grouping in the data under the second-level index.

[0038] Based on the above scheme, some schemes also include the following steps of configuring the application list: storing the application information in the application list, the application information including: the id, icon, name, type and jump path after clicking of each application.

[0039] Some more specific schemes based on the above scheme are as follows: each time an application is added or deleted from the application list, the location information configuration file is traversed once. If a new application is added, the new application is placed in the first blank position of the last page. If there is no blank position on the last page, a new page is added. If an application is deleted, the application is removed from the location information configuration file. If the application is the last application of a group, the group of the application also needs to be deleted. If it is the last application of a page, the page where the application is located also needs to be deleted.

[0040] Some specific schemes, the flow chart is as follows Figure 4 .

[0041] In such Figure 4 In the solution, each user has an independent profile that stores grouping and application location information. The user's portal desktop location is rendered and positioned based on the profile.

[0042] The location information configuration file is preferably in the format of a two-digit group, where the first dimension indicates how many pages the current portal desktop has, and the second dimension indicates the total number of groups and applications in a certain page, where each item is an object representing an application or a group, the size of the application is 1×1, and the size of the group is 2×2. The object has a position attribute that indicates the specific position of the current application or group in the current page layout.

[0043] When a user logs in for the first time, the corresponding location information configuration file is blank. In this case, the system will refer to the list of applications owned by the current user in the portal and initialize the location information configuration file for these applications in the order of the list. After that, the system will complete the arrangement of the desktop according to the data in the configuration file and save the configuration file to the background server. The subsequent series of operations on the desktop, dragging, merging groups, deleting groups, renaming applications or groups, deleting applications or groups, etc. are all achieved by modifying the configuration file.

[0044] The drag and drop function is realized by using the H5 drag and drop API. The main function of this API is to allow the elements in the browser to be dragged with the mouse, and to obtain the coordinate position of the current element on the browser desktop in real time. The real-time position of the current element on the portal desktop can be calculated based on the coordinate position of the current element on the browser desktop, and a hover event will be triggered every 0.3 seconds according to the position information of the current dragged element during the dragging process. When this event is triggered, according to the position information of the current dragged element, the following logic is mainly involved:

[0045] 1. Drag an application or group to a blank location. When dragging an application to a blank location, simply change the location information of the currently dragged application to the current location. When dragging a group to a blank location, it is necessary to calculate the location of the application and group owned by the current page in the location information configuration file to see if the group can be dropped at the current location. If it can be dropped, change the coordinate information of the group location to the current location.

[0046] 2. When an application is dragged onto an application and the hover event is triggered, if the dragged application happens to cover other applications, the coverage ratio of the two applications will be calculated based on the coordinate position information of the two application icons. If the coverage ratio reaches the set threshold, a background color will be added to the covered element to remind the user that if the user lets go, the elements will be merged into a large group. When merging large groups, the position of the covered element will be used to calculate whether a new large group can be placed in the current position as any position in the large group. If not, it will be calculated whether there is still a position on the current page that can hold the large group. If so, it will be placed in the corresponding position. Otherwise, it will be prompted that there is insufficient space on the current page and the two elements will be put back to their previous positions. If the coverage ratio does not reach the set threshold, the position coordinates of the two applications will be swapped.

[0047] 3. Drag the app to the group. When the app is dragged to the group, if the user lets go, the current app will be removed from the current page and added to the group.

[0048] 4. Drag a group onto a group or application. When a group is dragged onto a group or application, the movement of the group will create a blank area of ​​four positions. Therefore, there will be no situation where the covered group or application cannot fit on the current page. So directly drop the group to the current position, and then drop the group or application at the current position to the position where the dragged group was previously located.

[0049] 5. Another dragging situation is dragging applications within a group: click a blank position in the group, the group will expand, and the applications in the expanded group will be arranged in a row of six. If there are more than three rows, a vertical scroll bar will be formed, and the applications in the group will also be dragged. The logic of dragging applications in the group is: when application A is dragged above application B, the order of applications A and B in the sub-group will be calculated based on the position information of applications A and B. For example, the position information of application A is (0, 0, 1) and the position of application B is (0, 1, 1). The first one represents the page number, and the page number of all applications in the group is 0. The second one represents the row starting from 0, and the third one represents the column. This is the order of application A in the sub-group, which is 0*6+1=1, and the order of application B in the sub-group is 1*6+1=7. When B is dragged above A, it is necessary to move group A to the position. If A is dragged above B, because the order of A is smaller than that of B, all applications from 1 to 7 are moved forward one position.

[0050] 6. Drag the app out of the group. After dragging it out of the group, it will not calculate whether there is any empty space on the current page. It will first calculate whether the current dragged position is empty. If it is empty, delete the app from the group and add it to the position of the current page. The other logic is the same as dragging in the page. If the position is not empty, determine whether the current position is an app or a group. If it is a group, the app will be deleted from the dragged group when you release it, and then added to the group at the current position. If it is an app, determine whether there is any empty space on the current page. If there is an empty space, add the current The application at the position is squeezed to the empty space, and the selected application or group is placed in the empty space. If there is no empty space, the dragging style will be maintained until the mouse is released. It will not be deleted from the group or added to the current page. However, it can be dragged to the side of the current page, that is, dragged to other pages. The logic is the same as dragging the application to other pages. If it is not dragged to other pages, just release the mouse and it will return to the logic at the beginning of the drag (the logic of dragging outside the group in the expanded group state is the same, except that dragging outside the group expanded modal box in the expanded group state will automatically close the group expanded state).

[0051] 7. Drag the group or application to other pages. When the group or application is dragged to the leftmost or rightmost side of the portal desktop, a page turning event will be triggered. If the current page is already the last page, a new page will be added to the location profile, and then the dragged element will be placed in the new page. There must be empty space when the dragged element is placed in the new page.

[0052] When adding or deleting applications, the location information configuration file mainly stores the location information and application ID of each application. The portal desktop also has an application list information, which mainly stores the ID, icon, name, type of each application, and the information of the entire application such as the corresponding page jumped to after the application is clicked. The essence of adding or deleting applications is to add or delete applications in the application list. When the number of applications in the application list increases or decreases, the location information configuration file is traversed. If a new application is added, the new application is placed in the first blank position of the last page. If there is no blank position on the last page, a new page is added. If the application is deleted, the application is removed from the location information configuration file. If the application is the last application of a group, the group of the application also needs to be deleted. If it is the last application of a page, the page where the application is located also needs to be deleted.

[0053] The group and application basic information modification function, the group name is stored in the location information configuration, you only need to modify the corresponding location configuration information, the application information is stored in the application list, you need to call the backend interface to modify the corresponding application basic information, the location information configuration only saves the application id, when displaying the application information, the id is used to query the application list information.

[0054] Deletion of a group. When a group is deleted, first delete the position occupied by the current group in the location information configuration file, then take out the applications in the current group's application list and put them into the blank page of the current page in order. If the current page cannot accommodate them, put them in the blank page of the next page, and so on. If all pages cannot fit in the end, a new page will be added to put them in order.

[0055] Whenever a user drags, renames, or deletes an application or group, the system calls the location profile saving API to update the data in the location information profile in real time.

[0056] When the user logs in again, the system will query the backend interface and check the corresponding location information configuration file. If the file is not empty, the system will rearrange and display applications and groups according to the data in it, so as to ensure that the user sees the most familiar interface layout that he or she adjusted last time.

[0057] Some of the schemes involve Figure 4 A management system for portal homepage icons, the system includes at least one processor; and a memory storing instructions, which, when executed by at least one processor, implement the steps of any of the above schemes.

[0058] The embodiments of the subject matter described in this specification may be implemented as one or more computer programs, that is, one or more modules of computer program instructions encoded on one or more tangible non-transitory program carriers, for being executed by a data processing device or controlling the operation of a data processing device. A computer program (which may also be referred to or described as a program, software, software application, module, software module, script or code) may be written in any form of programming language, including a compiled language or an interpreted language or a declarative language or a procedural language, and the computer program may be deployed in any form, including as an independent program or as a module, component, subroutine or other unit suitable for use in a computing environment. A computer program may but need not correspond to a file in a file system. A program may be stored in a portion of a file that stores other programs or data, for example, one or more scripts stored in the following: in a markup language document; in a single file dedicated to a related program; or in multiple collaborative files, for example, a file storing one or more modules, subroutines or code portions. A computer program may be deployed to execute on one or more computers, the computers being located in one place, or distributed to multiple locations and interconnected through a communication network.

[0059] A computer suitable for executing a computer program includes and may be based, for example, on a general purpose microprocessor or a special purpose microprocessor or both, or a central processing unit of any other kind. Typically, the central processing unit will receive instructions and data from a read-only memory or a random access memory or both. The essential elements of a computer are a central processing unit for running or executing instructions and one or more memory devices for storing instructions and data.

[0060] To transmit interactions with a user, embodiments of the subject matter described in this specification may be implemented on a computer having: a display device, such as a CRT (cathode ray tube) or LCD (liquid crystal display) monitor, for displaying information to the user; and a keyboard and a pointing device, such as a mouse or a trackball, with which the user can transmit input to the computer. Other kinds of devices may also be used to transmit interactions with a user; for example, feedback provided to the user may be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback; and input from the user may be received in any form, including acoustic input, voice input, or tactile input. In addition, a computer may interact with a user by sending documents to a device used by the user and receiving documents from the device; for example, by sending a web page to a web browser on a user's client device in response to a request received from the web browser.

[0061] The embodiments of the subject matter described in this specification can be implemented in a computing system, which includes a back-end component such as a data server, or includes an intermediate component such as an application server, or includes a front-end component such as a client computer, which has a graphical user interface or a web browser, and a user can interact with the implementation of the subject matter described in this specification through a graphical user interface or a web browser, or the computer system includes any combination of one or more such back-end components, intermediate components or front-end components. The components in the system can be interconnected by digital data communication of any form or medium such as a communication network. Examples of communication networks include local area networks ("LANs") and wide area networks ("WANs"), for example, the Internet. The computing system can include a client and a server. The client and the server are usually far away from each other and usually interact through a communication network. The relationship between the client and the server is generated using a computer program that runs on each computer and has a client-server relationship between each other.

[0062] Although this specification contains many specific implementation details, these should not be interpreted as limitations on the scope of any invention or the scope of what can be claimed, but rather as an illustration of features that can concretize a particular embodiment of a particular invention. The specific features described in this specification in the context of independent embodiments can also be implemented in combination with a single embodiment. Conversely, the various features described in the context of a single embodiment can also be implemented independently in multiple embodiments, or in any suitable sub-combination. In addition, although the features can be described above as a combination effect and even initially required, one or more features from the required combination can be removed from the combination in some cases, and the required combination can be turned to a sub-combination or a variation of the sub-combination.

[0063] Similarly, although operations are described in the accompanying drawings in a particular order, it should not be understood that: in order to achieve the desired results, such operations are required to be performed in the particular order shown or in a sequential order, or that all illustrated operations are performed. In certain cases, multitasking and parallel processing can be advantageous. In addition, the separation of various system modules and components in the above-mentioned embodiments should not be understood as requiring such separation in all embodiments, and it should be understood that program components and systems can generally be integrated into a single software product or packaged into multiple software products.

Claims

1. A method for managing a portal homepage icon, characterized in that: include: Receive user operations at the front end, call the location information configuration file interface, synchronously update the data of the location information configuration file, and save the updated location information configuration file to the back end; Arrange and display application icons and groups on the desktop of the front-end portal homepage according to the location information configuration file; The location information configuration file is configured as data with a secondary index, wherein the first-level index is the page index of the current desktop, and the second-level index is the index of all groups and applications in each page; the second-level index consists of the application id information and location index information, and the application id information is used to match the current application in the application list information returned by the backend.

2. The method according to claim 1, characterized in that Specifically, it includes the step of synchronously updating the primary index and the secondary index or only the secondary index after receiving the front-end drag operation of the logged-in user, and the step includes: The current position of a selected application or group on the desktop is obtained in real time, and if the current position is a blank position, the position of the selected application or group is modified to the current position.

3. The method according to claim 2, characterized in that If the current position of the selected application or group overlaps the position of another icon, perform the following steps: Calculating a coverage rate, and if the coverage rate reaches a threshold, calculating whether the current position can accommodate a first group, where the first group consists of the selected application or group and the covered icon; If the current position can accommodate both the selected application or group and the covered icon: creating a group identifier of a first group consisting of the selected application or group and the application of the covered icon under the second level index, and setting the position of the first group to the current position; If the current position cannot accommodate the selected application or group and the covered icon at the same time, and there is a blank position on the desktop that can accommodate the selected application or group and the covered icon at the same time: establish a group identifier of the second group under the second-level index, and set the position of the second group to the blank position.

4. The method according to claim 3, characterized in that If the desktop cannot accommodate the selected application or group and the covered icon at the same time: the position of the selected application or group is restored to its position before the dragging operation; If the coverage ratio does not reach the threshold: swapping the positions of the selected application or group and the application or group of the covered icon under the second level index.

5. The method according to claim 4, characterized in that When the selected application or group is dragged to the edge of the desktop, the page turning step is implemented, and the step includes: adding a new page to the first level index in the location information configuration file, And the page identifier of the selected application or group under the first-level index is modified to the page identifier of the new page.

6. The method according to claim 5, characterized in that If the front-end drag operation drags the application icon in the group out of the group, perform the following steps: Calculate whether there is a blank position on the current page according to the position configuration file. If there is no blank position on the current page, feedback the position information of the current page to the front end. If there is a blank position on the current page, execute the steps in any one of the methods described in claims 2-5.

7. The method according to claim 1, characterized in that The method also includes the steps of reading an application list for a user login request for the first login, and initializing a location information configuration file according to the application order of the application list.

8. The method according to claim 1, characterized in that The method also includes the following steps of configuring the application list: storing the application information in the application list, wherein the application information includes: the id, icon, name, type and jump path after clicking of each application.

9. The method according to claim 8, characterized in that Each time an application is added or deleted from the application list, the location information configuration file is traversed. If a new application is added, the new application is placed in the first blank position of the last page. If there is no blank position on the last page, a new page is added. If an application is deleted, the application is removed from the location information configuration file. If the application is the last application of a group, the group of the application also needs to be deleted. If it is the last application of a page, the page where the application is located also needs to be deleted.

10. A management system for portal home page icons, characterized in that: The system comprises at least one processor; and a memory storing instructions, which, when executed by the at least one processor, implement the steps of the method according to any one of claims 1 to 9.