CN110413165B - Icon configuration method and device, electronic equipment and computer readable medium - Google Patents

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

Info

Publication number
CN110413165B
CN110413165B CN201910562824.0A CN201910562824A CN110413165B CN 110413165 B CN110413165 B CN 110413165B CN 201910562824 A CN201910562824 A CN 201910562824A CN 110413165 B CN110413165 B CN 110413165B
Authority
CN
China
Prior art keywords
icon
icons
configuration information
fixed
client
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
CN201910562824.0A
Other languages
Chinese (zh)
Other versions
CN110413165A (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.)
Wuba Co Ltd
Original Assignee
Wuba 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 Wuba Co Ltd filed Critical Wuba Co Ltd
Priority to CN201910562824.0A priority Critical patent/CN110413165B/en
Publication of CN110413165A publication Critical patent/CN110413165A/en
Application granted granted Critical
Publication of CN110413165B publication Critical patent/CN110413165B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses an icon configuration method and device, electronic equipment and a computer readable medium. An embodiment of the method comprises: receiving a data acquisition request sent by a client, wherein the data acquisition request comprises client information and a user identifier of the client; acquiring icon configuration information corresponding to the client information, wherein the icon configuration information comprises fixed icons, the arrangement sequence of the fixed icons and the arrangement sequence of non-fixed icons; determining a preset number of non-fixed icons based on the user identification; and sending the icon data containing the icon configuration information and the non-fixed icons to the client so that the client displays the icons corresponding to each arrangement order. This embodiment improves the pertinence of the icon configuration.

Description

Icon configuration method and device, electronic equipment and computer readable medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to an icon configuration method, an icon configuration device, electronic equipment and a computer readable medium.
Background
An icon (icon) is a graphic symbol with meaning, and has the characteristics of high concentration, quick information transmission and convenient memory. Typically, multiple icons need to be exposed in the client interface (e.g., client home page) to facilitate service access by the user.
In the conventional method, fixed icons are usually displayed in a fixed arrangement order configured in advance by a human operator, and the icons displayed for each user are the same. However, since different users have different service requirements and usage habits, different icons cannot be configured for different users in this way, resulting in low pertinence of icon configuration.
Disclosure of Invention
The embodiment of the application provides an icon configuration method and device, electronic equipment and a computer readable medium, so as to solve the technical problem that the icon configuration in the prior art is low in pertinence.
In a first aspect, an embodiment of the present application provides an icon configuring method, including: receiving a data acquisition request sent by a client, wherein the data acquisition request comprises client information and a user identifier of the client; acquiring icon configuration information corresponding to client information, wherein the icon configuration information comprises fixed icons, the arrangement sequence of the fixed icons and the arrangement sequence of non-fixed icons; determining a preset number of non-fixed icons based on the user identification; and sending the icon data containing the determined non-fixed icons and the icon configuration information to the client so that the client displays the icons corresponding to the arrangement orders.
In some embodiments, determining a preset number of non-anchor icons based on the user identification comprises: acquiring a user portrait corresponding to a user identifier, wherein the user portrait comprises a user tag; and selecting a preset number of personalized icons corresponding to the user tags from a preset personalized icon set, and determining the selected personalized icons as non-fixed icons.
In some embodiments, determining a preset number of non-anchor icons based on the user identification further comprises: in response to the fact that the number of the selected personalized icons is smaller than the preset number, selecting a target number of the alternative icons from a preset alternative icon set according to the sequence of the priorities of the alternative icons from high to low, wherein the priorities of the alternative icons in the alternative icon set are preset, and the target number is a difference value between the preset number and the number of the selected personalized icons; and determining the selected alternative icon and the selected personalized icon as non-fixed icons.
In some embodiments, obtaining icon configuration information corresponding to the client information includes: inquiring icon configuration information corresponding to the client information from a cache database; responding to the query, and acquiring icon configuration information; and responding to the inquiry failure, acquiring the icon configuration information from the disk database, and storing the icon configuration information to a cache database.
In some embodiments, the method further comprises: and in response to not acquiring the icon configuration information from the disk database, acquiring preset configuration information from the cache database, and sending the preset configuration information to the client.
In some embodiments, the method further comprises: in response to that preset configuration information is not obtained, obtaining appointed icon configuration information corresponding to appointed client information from a disk database; selecting a preset number of alternative icons from a preset alternative icon set as non-fixed icons according to the sequence of the priorities of the alternative icons from high to low; recording the selected alternative icons into the designated icon configuration information, storing the updated designated icon configuration information as preset configuration information into a cache database, and sending icon data containing the updated designated icon configuration information to the client so that the client can display the icons corresponding to each arrangement order.
In some embodiments, the icon configuration information is generated by: acquiring an icon template, wherein the icon template comprises a plurality of icon positions; receiving a setting request, wherein the setting request is used for setting a fixed icon position, a non-fixed icon position and a fixed icon of each fixed icon position in a plurality of icon positions; determining the arrangement order of the fixed icons and the arrangement order of the non-fixed icons based on the positions of the fixed icons and the positions of the non-fixed icons; icon arrangement information including the anchor icons at the positions of the anchor icons, the determined arrangement order of the anchor icons, and the determined arrangement order of the non-anchor icons is generated.
In a second aspect, an embodiment of the present application provides an icon configuring apparatus, including: the data acquisition unit is configured to receive a data acquisition request sent by a client, wherein the data acquisition request comprises client information and a user identifier of the client; a first acquisition unit configured to acquire icon configuration information corresponding to the client information, wherein the icon configuration information includes fixed icons, an arrangement order of the fixed icons, and an arrangement order of the non-fixed icons; a determination unit configured to determine a preset number of non-anchor icons based on the user identification; and the sending unit is configured to send the icon data containing the determined non-fixed icons and the icon configuration information to the client so that the client displays the icons corresponding to the arrangement orders.
In some embodiments, the determining unit comprises: the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is configured to acquire a user portrait corresponding to a user identifier, and the user portrait comprises a user tag; the first selection module is configured to select a preset number of personalized icons corresponding to the user tags from a preset personalized icon set, and determine the selected personalized icons as non-fixed icons.
In some embodiments, the determining unit further comprises: a second selecting module, configured to select, in response to determining that the number of the selected personalized icons is smaller than a preset number, a target number of alternative icons from a preset alternative icon set according to an order from high to low of priorities of the alternative icons, wherein the priorities of the alternative icons in the alternative icon set are preset, and the target number is a difference between the preset number and the number of the selected personalized icons; a determination module configured to determine the selected candidate icon and the selected personalized icon as non-anchor icons.
In some embodiments, the first obtaining unit includes: the query module is configured to query icon configuration information corresponding to the client information from the cache database; the second acquisition module is configured to respond to the inquiry and acquire the icon configuration information; and the third acquisition module is configured to respond to the non-inquiry, acquire the icon configuration information from the disk database and store the icon configuration information to the cache database.
In some embodiments, the apparatus further comprises: and the second acquisition unit is configured to respond to that the icon configuration information is not acquired from the disk database, acquire the preset configuration information from the cache database and send the preset configuration information to the client.
In some embodiments, the apparatus further comprises: a third obtaining unit configured to obtain, in response to not obtaining the preset configuration information, designated icon configuration information corresponding to the designated client information from the disk database; the selecting unit is configured to select a preset number of alternative icons from a preset alternative icon set as non-fixed icons according to the sequence of the priorities of the alternative icons from high to low; the storage unit is configured to record the selected candidate icons into the designated icon configuration information, store the updated designated icon configuration information as preset configuration information into the cache database, and send icon data containing the updated designated icon configuration information to the client so that the client displays the icons corresponding to the arrangement orders.
In some embodiments, the icon configuration information is generated by: acquiring an icon template, wherein the icon template comprises a plurality of icon positions; receiving a setting request, wherein the setting request is used for setting a fixed icon position, a non-fixed icon position and a fixed icon of each fixed icon position in a plurality of icon positions; determining the arrangement order of the fixed icons and the arrangement order of the non-fixed icons based on the positions of the fixed icons and the positions of the non-fixed icons; icon arrangement information including the anchor icons at the positions of the anchor icons, the determined arrangement order of the anchor icons, and the determined arrangement order of the non-anchor icons is generated.
In a third aspect, an embodiment of the present application provides an electronic device, including: one or more processors; storage means having one or more programs stored thereon which, when executed by one or more processors, cause the one or more processors to implement a method as in any one of the embodiments of the first aspect described above.
In a fourth aspect, the present application provides a computer-readable medium, on which a computer program is stored, which when executed by a processor implements the method according to any one of the embodiments of the first aspect.
According to the icon configuration method and device, the electronic device and the computer readable medium, the client information and the user identification in the data acquisition request are acquired by receiving the data acquisition request sent by the client. And then acquiring icon configuration information corresponding to the client information, thereby obtaining the fixed icons, the arrangement order of the fixed icons and the arrangement order of the non-fixed icons in the icon configuration information. Then, a preset number of non-fixed icons is determined based on the user identification. And finally, sending the icon data containing the determined non-fixed icons and the icon configuration information to the client so that the client displays the icons corresponding to all the arrangement orders. Therefore, the fixed icon and the non-fixed icon can be configured for the display interface of the client at the same time. Different user identifications indicate different users, so that the non-fixed icons are obtained based on the user identifications, different non-fixed icons can be configured for different users, and the pertinence of icon configuration is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is a flow diagram of one embodiment of a method of icon configuration according to the present application;
FIG. 2 is a schematic diagram of an icon template according to the icon configuration method of the present application;
FIG. 3 is a flow diagram of yet another embodiment of a method of icon configuration according to the present application;
FIG. 4 is a schematic block diagram of one embodiment of an icon configuration device according to the present application;
FIG. 5 is a schematic block diagram of a computer system suitable for use in implementing an electronic device according to embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Referring to FIG. 1, a flow 100 of one embodiment of an icon configuration method according to the present application is shown. The icon configuration method comprises the following steps:
step 101, receiving a data acquisition request sent by a client.
In this embodiment, an execution subject (e.g., an electronic device such as a server) of the icon configuration method may receive a data acquisition request sent by a client. The data obtaining request may include client information and a user identifier of the client. Here, the client information may include, but is not limited to, the client's current location information (e.g., city), the client's version number, the platform to which the client is applicable, and the like. The user identifier may be information such as a name and an account of a user who logs in the client.
And 102, acquiring icon configuration information corresponding to the client information.
In this embodiment, the execution body may store a corresponding relationship between the client information and the icon configuration information. The execution main body can search the icon configuration information corresponding to the received client information, so as to obtain the icon configuration information. The icon configuration information may include fixed icons, an arrangement order of the fixed icons, and an arrangement order of the non-fixed icons.
Here, the fixed icon may be an icon to be displayed to the entire number of users. The non-fixed icons may be flexibly configured icons for different users. The non-anchor icons presented for different users may be different.
Here, the arrangement order of the fixed icons and the arrangement order of the non-fixed icons may be represented by a serial number. It should be noted that each arrangement order may correspond to one icon (fixed icon or non-fixed icon), and the icons corresponding to the arrangement orders are different. As an example, a total of 15 icons need to be presented. The 15 icons include 10 fixed icons and 5 non-fixed icons. The 10 fixed icons may be arranged in an order of 1, 2, 3, 4, 5, 6, 7, 11, 12, 15. The 5 non-fixed icons may be arranged in an order of 8, 9, 10, 13, and 14, respectively.
It should be noted that the icon configuration information may be represented in a list form. Each row in the list corresponds to a sort order. In a row corresponding to the arrangement order of each anchor icon, an anchor icon (e.g., an identifier of an icon or an image of an icon, etc.) may be recorded. Since the non-anchor icons are not yet determined, the information of the corresponding row in the arrangement order of each non-anchor icon may be null.
In some optional implementation manners of this embodiment, the icon configuration information may be generated by the following steps:
firstly, an icon template is obtained. The icon template comprises a plurality of icon positions.
And secondly, receiving a setting request. The setting request is used for setting a fixed icon position, a non-fixed icon position and a fixed icon positioned at each fixed icon position in the plurality of icon positions. Here, the icon template may be referred to fig. 2. FIG. 2 shows a schematic diagram of an icon template. In the icon template shown in fig. 2, 15 icon positions are included. For each icon position, whether the icon position is a personalized icon position can be set by checking a 'personalized' option. When the 'personalized' option is selected, the icon position is the personalized icon position, and at this time, the icon is empty because the personalized icon is not determined yet. When the 'personalized' option is not selected, the icon position is the fixed icon position. At this point, the anchor icon at the icon location may be selected or modified by clicking the "modify" button.
And thirdly, determining the arrangement sequence of the fixed icons and the arrangement sequence of the non-fixed icons based on the positions of the fixed icons and the positions of the non-fixed icons. Taking fig. 2 as an example, the arrangement order of the icons may be set in order from top to bottom and from left to right.
And fourthly, generating icon configuration information containing the fixed icons at the positions of the fixed icons, the determined arrangement order of the fixed icons and the determined arrangement order of the non-fixed icons.
The icon template only contains the image and the name of the icon and does not contain the service attributes such as the applicable client version and the applicable city, so that the icon configuration information does not contain the service attributes, and the complexity of icon configuration is reduced.
Step 103, determining a preset number of non-fixed icons based on the user identifier.
In this embodiment, the execution body may determine a preset number (e.g., 5) of non-fixed icons based on the user identifier. Specifically, the execution subject may obtain the relevant information of the user indicated by the user identifier. For example, the related information may include, but is not limited to, at least one of: user behavior data, user attribute information (e.g., age, gender, etc.), user profile, user tags, etc. Then, a preset number of non-anchor icons suitable for the user may be determined based on the user information.
In some optional implementation manners of this embodiment, the execution subject may take the user indicated by the user identifier as a target user, and obtain behavior data of the target user. By analyzing the behavior data, the icon that the target user has accessed can be determined. Then, the execution subject may delete anchor icons from the icons that have been accessed by the target user, so that a preset number of icons may be selected as non-anchor icons from the remaining icons in descending order of the number of accesses.
In some optional implementations of this embodiment, the execution main body may store attribute information of a full amount of users in advance. The execution body may cluster the users based on the attribute information, and may preset non-fixed icons corresponding to the users of each category. At this time, the execution subject may determine the category of the target user by taking the user indicated by the user identifier in the data acquisition request as the target user, determine the non-anchor icons corresponding to the category, and select a preset number of non-anchor icons from the determined non-anchor icons.
In some optional implementations of this embodiment, the execution body may be preset with a fixed icon set and a personalized icon set. None of the personalized icons in the set of personalized icons is a fixed icon. The execution body may store user images of users in advance. In practice, the user representation may be descriptive information of the user, which characterizes the user. Here, the user representation may include a user tag (i.e., a word or the like for characterizing a user). In addition, the execution main body may further store a corresponding relationship between each user tag and the personalized icon in advance. As an example, the user tag "driver" may correspond to a personalized icon relating to a vehicle sales service. The user label "student" may correspond to a personalized icon relating to the part-time service. Therefore, the execution body can firstly acquire the user portrait corresponding to the user identification. Then, the preset number of personalized icons corresponding to the user tags can be selected from the personalized icon set, and the personalized icons are determined to be non-fixed icons.
In some optional implementations of this embodiment, the execution body may be further preset with an alternative icon set. Wherein, the candidate icons in the candidate icon set are preset with priority. None of the alternative icons in the set of alternative icons is a fixed icon or a personalized icon. When determining the personalized icons corresponding to the user tags, in response to determining that the number of the selected personalized icons is smaller than the preset number, the execution main body may first select a target number of the candidate icons from a preset candidate icon set according to the order from high to low of the priorities of the candidate icons. And the target number is the difference value between the preset number and the number of the selected personalized icons. Then, the execution subject may determine the selected candidate icon and the selected personalized icon as non-fixed icons.
The execution body may determine the non-fixed icon in other manners, and is not limited to the above-mentioned example.
And 104, sending the icon data containing the icon configuration information and the non-fixed icons to the client so that the client displays the icons corresponding to each arrangement order.
In this embodiment, the execution body may send icon data including the icon configuration information and the non-anchor icon to a client. Since the icon data includes fixed icons, non-fixed icons, an arrangement order of the fixed icons, and an arrangement order of the non-fixed icons, the client may arrange the icons according to the arrangement order of the icons, so as to display the icons corresponding to the arrangement orders.
The icon data may include other data (for example, icon names) related to the icons in addition to the icon arrangement information and the non-fixed icons, and is not limited herein.
In the method provided by the above embodiment of the present application, the client information and the user identifier in the data acquisition request are acquired by receiving the data acquisition request sent by the client. And then acquiring icon configuration information corresponding to the client information, thereby obtaining fixed icons, the arrangement order of the fixed icons and the arrangement order of non-fixed icons in the icon configuration information. And then determining a preset number of non-fixed icons based on the user identification. And finally, sending the icon data containing the determined non-fixed icons and the icon configuration information to a client so that the client displays the icons corresponding to the arrangement orders. Therefore, the fixed icon and the non-fixed icon can be configured for the display interface of the client at the same time. Different user identifications indicate different users, so that the non-fixed icons are obtained based on the user identifications, different non-fixed icons can be configured for different users, and the pertinence of icon configuration is improved.
With further reference to fig. 3, a flow 300 of yet another embodiment of an icon configuration method is shown. The process 300 of the icon configuring method includes the following steps:
step 301, receiving a data acquisition request sent by a client.
In this embodiment, an execution subject (e.g., an electronic device such as a server) of the icon configuration method may receive a data acquisition request sent by a client. The data obtaining request may include client information and a user identifier of the client. Here, the client information may include, but is not limited to, the client's current location information (e.g., city), the client's version number, the platform to which the client is applicable, and the like. The user identifier may be information such as a name and an account of a user who logs in the client.
Step 302, inquiring icon configuration information corresponding to the client information from the cache database.
In this embodiment, a cache database (e.g., redis) may be installed in the execution main body. Here, the cache database may store a correspondence between the client information and the icon arrangement information in the form of a key-value pair (key-value). Wherein the key (key) may be client information. The value (value) may be icon configuration information. When the client information includes a plurality of pieces of information (for example, positioning information, version number, applicable platform, and the like), the pieces of information may be concatenated, and the concatenated information may be used as a key.
In this embodiment, after receiving the client information in the data obtaining request, the execution main body may first splice various items of information in the client information to obtain the name of the key. Then, the corresponding value can be queried from the cache database according to the name, so as to obtain the icon configuration information.
Step 303, in response to the query, acquiring icon configuration information.
And 304, responding to the inquiry failure, and acquiring the icon configuration information from the disk database.
In this embodiment, the execution main body may further include a disk database (for example, mySQL database installed in a disk). In response to that the icon configuration information corresponding to the client information is not queried from the cache server, the icon configuration information may be acquired from a disk database.
Step 305, in response to acquiring the icon configuration information from the disk, storing the icon configuration information to a cache database.
Step 306, in response to not obtaining the icon configuration information from the disk database, obtaining preset configuration information from the cache database.
In this embodiment, in response to not obtaining the icon configuration information from the disk database, the execution main body may obtain preset configuration information from a cache database, and send the preset configuration information to the client. The preset configuration information may include a required number of fixed icons, a required number of non-fixed icons, an arrangement order of the icons, and the like.
Step 307, in response to acquiring the preset configuration information, sending the preset configuration information to the client.
In this embodiment, in response to acquiring the preset configuration information, the execution main body may send the preset configuration information to a client, so that the client displays icons corresponding to each arrangement order in the preset configuration information.
And 308, in response to that the preset configuration information is not acquired, acquiring the designated icon configuration information corresponding to the designated client information from the disk database.
In this embodiment, in response to not obtaining the preset configuration information, the execution main body may obtain, from the disk database, designated icon configuration information corresponding to designated client information (for example, positioning information is beijing, version number is 8.12.0, and applicable platforms are full platforms). The designated icon configuration information may also include designated anchor icons, an arrangement order of each designated anchor icon, and an arrangement order of each non-anchor icon.
Step 309, selecting a preset number of alternative icons from a preset alternative icon set as non-fixed icons according to the sequence of the priorities of the alternative icons from high to low.
In this embodiment, the execution body may be preset with a fixed icon set, a personalized icon set, and an alternative icon set. The fixed icons in the fixed icon set may be icons to be displayed to all users. The personalized icons in the personalized icon set can be flexibly configured icons for different users. The alternative icons in the above-mentioned alternative icon set may be supplemented when there is insufficient personalized icons. Wherein, the candidate icons in the candidate icon set are preset with priority.
After the configuration information of the designated icon is obtained, the execution main body may select the preset number (for example, 5) of the candidate icons from a preset candidate icon set as non-fixed icons according to the order from high to low of the priority of the candidate icons.
Step 310, recording the selected candidate icons into the designated icon configuration information, storing the updated designated icon configuration information as preset configuration information into a cache database, and sending icon data containing the updated designated icon configuration information to the client so that the client displays icons corresponding to each arrangement order.
Step 311, obtain the user portrait corresponding to the user identifier.
In this embodiment, the execution body may store a user image of each user in advance. Since the user ID is used to indicate the user, the execution body can obtain the user representation corresponding to the user ID in the data acquisition request. In practice, the user representation may be descriptive information of the user, which characterizes the user. Here, the user representation may include a user tag (i.e., a word or the like for characterizing a user). In addition, the execution main body may further store a corresponding relationship between each user tag and the personalized icon in advance. As an example, the user tag "driver" may correspond to a personalized icon relating to a vehicle sales service. The user label "student" may correspond to a personalized icon relating to the part-time service. Therefore, the execution main body can acquire the user portrait corresponding to the user identification.
Step 312, selecting a preset number of personalized icons corresponding to the user tags from a preset set of personalized icons.
Step 313, in response to determining that the number of the selected personalized icons is not less than the preset number, determining the selected personalized icons as non-fixed icons.
And step 314, in response to determining that the number of the selected personalized icons is smaller than the preset number, selecting a target number of alternative icons from a preset alternative icon set according to the sequence of the priorities of the alternative icons from high to low.
In this embodiment, when determining the personalized icons corresponding to the user tags, in response to determining that the number of the selected personalized icons is smaller than the preset number, the execution main body may first select a target number of candidate icons from a preset set of candidate icons in an order from high to low in priority of the candidate icons. And the target number is the difference value between the preset number and the number of the selected personalized icons.
Step 315, determining the selected candidate icon and the selected personalized icon as non-fixed icons.
Step 316, sending the icon data including the icon configuration information and the non-fixed icons to the client, so that the client displays the icons corresponding to each arrangement order.
In this embodiment, the execution body may send icon data including the icon configuration information and the non-anchor icon to a client. Since the icon data includes fixed icons, non-fixed icons, an arrangement order of the fixed icons, and an arrangement order of the non-fixed icons, the client may arrange the icons according to the arrangement order of the icons, so as to display the icons corresponding to the arrangement orders.
The icon configuration method in this embodiment may determine the non-fixed icon through the user portrait. Different users have different user figures, so different non-fixed icons can be configured for different users, and the pertinence of icon configuration is improved. In addition, under the condition that the number of the selected personalized icons is insufficient, the selected selectable icons are selected as the personalized icons, and the icon configuration under different conditions can be flexibly adapted.
With further reference to fig. 4, as an implementation of the method shown in the above figures, the present application provides an embodiment of an icon configuring apparatus, which corresponds to the embodiment of the method shown in fig. 1, and which can be applied in various electronic devices.
As shown in fig. 3, the icon configuring apparatus 400 according to the present embodiment includes: a receiving unit 401 configured to receive a data obtaining request sent by a client, where the data obtaining request includes client information and a user identifier of the client; a first obtaining unit 402 configured to obtain icon configuration information corresponding to the client information, wherein the icon configuration information includes anchor icons, an arrangement order of the anchor icons, and an arrangement order of non-anchor icons; a determining unit 403, configured to determine a preset number of non-fixed icons based on the user identifier; a sending unit 404 configured to send icon data including the non-fixed icons and the icon arrangement information to the client, so that the client displays icons corresponding to respective arrangement orders.
In some optional implementations of this embodiment, the determining unit 403 includes: a first obtaining module (not shown in the figure) configured to obtain a user representation corresponding to the user identifier, wherein the user representation includes a user tag; and a first selecting module (not shown in the figures) configured to select the preset number of personalized icons corresponding to the user tag from a preset personalized icon set, and determine the selected personalized icons as non-fixed icons.
In some optional implementation manners of this embodiment, the determining unit 403 further includes: a second selecting module (not shown in the drawings) configured to select a target number of alternative icons from a preset alternative icon set in an order from high to low in priority of the alternative icons in response to determining that the number of the selected personalized icons is smaller than the preset number, wherein the alternative icons in the alternative icon set are preset with priority, and the target number is a difference value between the preset number and the number of the selected personalized icons; a determination module (not shown in the figures) configured to determine the selected alternative icon and the selected personalized icon as non-anchor icons.
In some optional implementation manners of this embodiment, the first obtaining unit 402 includes: a query module (not shown in the figure) configured to query the icon configuration information corresponding to the client information from the cache database; a second obtaining module (not shown in the figure) configured to, in response to the query, obtain the icon configuration information; and a third obtaining module (not shown in the figure) configured to, in response to the non-query, obtain the icon configuration information from the disk database, and store the icon configuration information to the cache database.
In some optional implementations of this embodiment, the apparatus further includes: and a second obtaining unit (not shown in the figure) configured to, in response to not obtaining the icon configuration information from the disk database, obtain preset configuration information from the cache database, and send the preset configuration information to the client.
In some optional implementations of this embodiment, the apparatus further includes: a third obtaining unit (not shown in the figure), configured to, in response to not obtaining the preset configuration information, obtain, from the disk database, designated icon configuration information corresponding to designated client information; a selecting unit (not shown in the figure) configured to select the preset number of alternative icons from a preset alternative icon set as non-fixed icons according to the order of the priorities of the alternative icons from high to low; a storage unit (not shown in the figure) configured to record the selected candidate icons into the designated icon configuration information, store the updated designated icon configuration information as preset configuration information into the cache database, and send icon data including the updated designated icon configuration information to the client, so that the client displays icons corresponding to each arrangement order.
In some optional implementation manners of this embodiment, the icon configuration information may be generated by the following steps: acquiring an icon template, wherein the icon template comprises a plurality of icon positions; receiving a setting request, wherein the setting request is used for setting a fixed icon position, a non-fixed icon position and a fixed icon in the plurality of icon positions; determining the arrangement order of the fixed icons and the arrangement order of the non-fixed icons based on the positions of the fixed icons and the positions of the non-fixed icons; icon arrangement information including the anchor icons, the determined arrangement order of the anchor icons, and the determined arrangement order of the non-anchor icons is generated.
The device provided by the above embodiment of the present application obtains the client information and the user identifier in the data obtaining request by receiving the data obtaining request sent by the client. And then acquiring icon configuration information corresponding to the client information, thereby obtaining fixed icons, the arrangement order of the fixed icons and the arrangement order of non-fixed icons in the icon configuration information. And then determining a preset number of non-fixed icons based on the user identification. And finally, sending the icon data containing the determined non-fixed icons and the icon configuration information to the client so that the client displays the icons corresponding to all the arrangement orders. Therefore, the fixed icon and the non-fixed icon can be configured for the display interface of the client at the same time. Different user identifications indicate different users, so that the non-fixed icons are obtained based on the user identifications, different non-fixed icons can be configured for different users, and the pertinence of icon configuration is improved.
Referring now to FIG. 5, shown is a block diagram of a computer system 500 suitable for use in implementing the electronic device of an embodiment of the present application. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU)501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the system 500 are also stored. The CPU501, ROM 502, and RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a display such as a Liquid Crystal Display (LCD) and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, 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 illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511. The computer program performs the above-described functions defined in the method of the present application when executed by the Central Processing Unit (CPU) 501. It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination 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 the present application, 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 this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart 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 application. 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 the embodiments of the present application may be implemented by software or hardware. The units described may also be provided in a processor, where the names of the units do not in some cases constitute a limitation of the units themselves.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: receiving a data acquisition request sent by a client, wherein the data acquisition request comprises client information and a user identifier of the client; acquiring icon configuration information corresponding to the client information, wherein the icon configuration information comprises fixed icons, the arrangement sequence of the fixed icons and the arrangement sequence of non-fixed icons; determining a preset number of non-fixed icons based on the user identification; and sending the icon data containing the icon configuration information and the non-fixed icons to the client so that the client displays the icons corresponding to each arrangement order.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (10)

1. An icon configuring method, comprising:
receiving a data acquisition request sent by a client, wherein the data acquisition request comprises client information and a user identifier of the client;
acquiring icon configuration information corresponding to the client information, wherein the icon configuration information comprises fixed icons located at fixed icon positions, the arrangement sequence of the fixed icons and the arrangement sequence of non-fixed icons;
determining a preset number of non-fixed icons based on the user identification;
sending icon data containing the determined non-fixed icons and the icon configuration information to the client so that the client can display icons corresponding to all the arrangement orders;
the determining a preset number of non-anchor icons based on the user identification includes:
acquiring a user portrait corresponding to the user identifier, wherein the user portrait comprises a user tag;
selecting the preset number of personalized icons corresponding to the user tags from a preset personalized icon set, and determining the selected personalized icons as non-fixed icons;
in response to determining that the number of the selected personalized icons is smaller than the preset number, selecting a target number of alternative icons from a preset alternative icon set according to the sequence of the priorities of the alternative icons from high to low, wherein the priorities of the alternative icons in the alternative icon set are preset, and the target number is a difference value between the preset number and the number of the selected personalized icons;
determining the selected alternative icon and the selected personalized icon as non-fixed icons;
the icon configuration information is generated by the following steps:
acquiring an icon template, wherein the icon template comprises a plurality of icon positions;
receiving a setting request, wherein the setting request is used for setting a fixed icon position, a non-fixed icon position and a fixed icon of each fixed icon position in the plurality of icon positions;
determining the arrangement order of the fixed icons and the arrangement order of the non-fixed icons based on the positions of the fixed icons and the positions of the non-fixed icons;
generating icon arrangement information including the anchor icons at the positions of the anchor icons, the determined arrangement order of the anchor icons, and the determined arrangement order of the non-anchor icons;
wherein the position of the non-anchor icon is determined by user selection of the plurality of icon positions.
2. The icon configuration method according to claim 1, wherein the obtaining of the icon configuration information corresponding to the client information includes:
inquiring icon configuration information corresponding to the client information from a cache database;
responding to the query, and acquiring the icon configuration information;
and responding to the condition that the icon configuration information is not inquired, acquiring the icon configuration information from a disk database, and storing the icon configuration information to the cache database.
3. The icon configuring method of claim 2, further comprising:
and in response to not acquiring the icon configuration information from the disk database, acquiring preset configuration information from the cache database, and sending the preset configuration information to the client.
4. The icon configuring method of claim 3, further comprising:
in response to that the preset configuration information is not obtained, obtaining appointed icon configuration information corresponding to appointed client information from the disk database;
selecting the standby icons with the preset number from a preset standby icon set as non-fixed icons according to the sequence of the priority of the standby icons from high to low;
recording the selected alternative icons into the designated icon configuration information, storing the updated designated icon configuration information as preset configuration information into the cache database, and sending icon data containing the updated designated icon configuration information to the client so that the client can display icons corresponding to all the arrangement orders.
5. An icon configuring apparatus, comprising:
the data acquisition unit is configured to receive a data acquisition request sent by a client, wherein the data acquisition request comprises client information and a user identifier of the client;
a first obtaining unit configured to obtain icon configuration information corresponding to the client information, wherein the icon configuration information includes fixed icons located at fixed icon positions, an arrangement order of the fixed icons, and an arrangement order of non-fixed icons;
a determination unit configured to determine a preset number of non-anchor icons based on the user identification;
a sending unit configured to send icon data including the determined non-fixed icons and the icon configuration information to the client, so that the client displays icons corresponding to each arrangement order;
the determination unit includes:
a first obtaining module configured to obtain a user representation corresponding to the user identifier, wherein the user representation includes a user tag;
the first selection module is configured to select the preset number of personalized icons corresponding to the user tags from a preset personalized icon set, and determine the selected personalized icons as non-fixed icons;
a second selecting module, configured to select, in response to determining that the number of the selected personalized icons is smaller than the preset number, a target number of alternative icons from a preset alternative icon set according to an order from high to low of priorities of the alternative icons, where the alternative icons in the alternative icon set are preset with priorities, and the target number is a difference between the preset number and the number of the selected personalized icons;
a determination module configured to determine the selected alternative icon and the selected personalized icon as non-fixed icons;
the icon configuration information is generated by the following steps:
acquiring an icon template, wherein the icon template comprises a plurality of icon positions;
receiving a setting request, wherein the setting request is used for setting a fixed icon position, a non-fixed icon position and a fixed icon of each fixed icon position in the plurality of icon positions;
determining the arrangement order of the fixed icons and the arrangement order of the non-fixed icons based on the positions of the fixed icons and the positions of the non-fixed icons;
icon arrangement information including the anchor icons at the positions of the anchor icons, the determined arrangement order of the anchor icons, and the determined arrangement order of the non-anchor icons is generated.
6. The icon configuring apparatus according to claim 5, wherein the first acquiring unit includes:
the query module is configured to query the icon configuration information corresponding to the client information from a cache database;
the second acquisition module is configured to respond to the inquiry and acquire the icon configuration information;
and the third acquisition module is configured to respond to the non-query, acquire the icon configuration information from a disk database and store the icon configuration information to the cache database.
7. The icon configuring apparatus according to claim 6, further comprising:
a second obtaining unit, configured to, in response to not obtaining the icon configuration information from the disk database, obtain preset configuration information from the cache database, and send the preset configuration information to the client.
8. The icon configuring apparatus according to claim 7, further comprising:
a third obtaining unit configured to obtain, in response to not obtaining the preset configuration information, designated icon configuration information corresponding to designated client information from the disk database;
the selecting unit is configured to select the preset number of alternative icons from a preset alternative icon set as non-fixed icons according to the sequence of the priorities of the alternative icons from high to low;
the storage unit is configured to record the selected candidate icons into the designated icon configuration information, store the updated designated icon configuration information as preset configuration information into the cache database, and send icon data containing the updated designated icon configuration information to the client so that the client displays icons corresponding to the arrangement orders.
9. 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, cause the one or more processors to implement the method of any one of claims 1-4.
10. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN201910562824.0A 2019-06-26 2019-06-26 Icon configuration method and device, electronic equipment and computer readable medium Active CN110413165B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910562824.0A CN110413165B (en) 2019-06-26 2019-06-26 Icon configuration method and device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910562824.0A CN110413165B (en) 2019-06-26 2019-06-26 Icon configuration method and device, electronic equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN110413165A CN110413165A (en) 2019-11-05
CN110413165B true CN110413165B (en) 2021-07-16

Family

ID=68358318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910562824.0A Active CN110413165B (en) 2019-06-26 2019-06-26 Icon configuration method and device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN110413165B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111142725A (en) * 2019-12-25 2020-05-12 维沃移动通信有限公司 Icon sorting method, electronic equipment and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546605A (en) * 2011-12-22 2012-07-04 北京锐讯灵通科技有限公司 Mobile application popularization system and method
CN105975472A (en) * 2015-12-09 2016-09-28 乐视网信息技术(北京)股份有限公司 Method and device for recommendation

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761610B (en) * 2012-06-29 2015-07-08 宇龙计算机通信科技(深圳)有限公司 Icon configuration method and device based on cloud computation and terminal
CN105988837B (en) * 2015-02-12 2020-04-03 Oppo广东移动通信有限公司 Application program installation method and device
CN105138226B (en) * 2015-08-27 2018-09-04 北京奇虎科技有限公司 A kind of desktop management method and apparatus of intelligent terminal
CN106484504A (en) * 2015-08-28 2017-03-08 中兴通讯股份有限公司 The sort method of application program desktop position, apparatus and system
KR101629383B1 (en) * 2015-11-11 2016-06-13 채규국 Method for auto-building homepage by architecture of cloud web-hard file and folder, and system thereof
CN107632872B (en) * 2016-07-15 2021-07-09 腾讯科技(深圳)有限公司 Desktop layout processing method, user data processing method and device and computer storage medium
CN106775832B (en) * 2016-11-25 2020-05-19 宇龙计算机通信科技(深圳)有限公司 Installation method and device for pre-installed application of mobile terminal
CN108200273B (en) * 2017-12-27 2021-04-30 努比亚技术有限公司 Desktop icon display method, terminal and computer readable storage medium
CN109062616A (en) * 2018-06-21 2018-12-21 中兴通讯股份有限公司 System self-adaption method, mobile terminal and the storage medium of mobile terminal
CN109859006A (en) * 2019-01-15 2019-06-07 上海连尚网络科技有限公司 For determining method, system, electronic equipment and the computer-readable medium of user interest profile

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546605A (en) * 2011-12-22 2012-07-04 北京锐讯灵通科技有限公司 Mobile application popularization system and method
CN105975472A (en) * 2015-12-09 2016-09-28 乐视网信息技术(北京)股份有限公司 Method and device for recommendation

Also Published As

Publication number Publication date
CN110413165A (en) 2019-11-05

Similar Documents

Publication Publication Date Title
CN109241141B (en) Deep learning training data processing method and device
CN109325213B (en) Method and device for labeling data
CN109359194B (en) Method and apparatus for predicting information categories
CN114153795B (en) Method and device for intelligently calling electronic archive, electronic equipment and storage medium
CN110866205B (en) Method and apparatus for storing information
CN111913954A (en) Intelligent data standard catalog generation method and device
CN109409419B (en) Method and apparatus for processing data
US11257029B2 (en) Pickup article cognitive fitment
CN109992719B (en) Method and apparatus for determining push priority information
CN109614549B (en) Method and apparatus for pushed information
CN110413165B (en) Icon configuration method and device, electronic equipment and computer readable medium
CN112818654B (en) Message storage method, message generation method, device, electronic equipment and computer readable medium
US8479222B2 (en) Simplifying interaction with multiple applications when using forms via a common interface
US20190197453A1 (en) Aggregating computer functions across different computer applications
CN115759047A (en) Asset assessment report basis screening and automatic filling method and device
CN111460273B (en) Information pushing method and device
CN116266482A (en) Equipment software upgrading method and device
CN111125501A (en) Method and apparatus for processing information
CN112308074A (en) Method and device for generating thumbnail
CN109634827A (en) Method and apparatus for generating information
CN110580626A (en) Method and apparatus for generating information
CN111460269B (en) Information pushing method and device
CN116701305B (en) Clinical trial electronic file management method, system, terminal and storage medium
CN111414103B (en) Method and device for generating instruction
CN115357604B (en) Data query method and device

Legal Events

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