WO2021197161A1 - 图标更新方法、装置和电子设备 - Google Patents

图标更新方法、装置和电子设备 Download PDF

Info

Publication number
WO2021197161A1
WO2021197161A1 PCT/CN2021/082737 CN2021082737W WO2021197161A1 WO 2021197161 A1 WO2021197161 A1 WO 2021197161A1 CN 2021082737 W CN2021082737 W CN 2021082737W WO 2021197161 A1 WO2021197161 A1 WO 2021197161A1
Authority
WO
WIPO (PCT)
Prior art keywords
page icon
preset
icon
subpage
user
Prior art date
Application number
PCT/CN2021/082737
Other languages
English (en)
French (fr)
Inventor
王岳晨
Original Assignee
北京字节跳动网络技术有限公司
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 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Priority to EP21779781.0A priority Critical patent/EP4089516A4/en
Publication of WO2021197161A1 publication Critical patent/WO2021197161A1/zh
Priority to US17/886,790 priority patent/US11861381B2/en
Priority to US18/525,538 priority patent/US20240168778A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • 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
    • 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/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/134Hyperlinking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • G06F40/143Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation

Definitions

  • the embodiments of the present disclosure relate to the field of computer technology, and in particular to an icon update method, device, and electronic equipment.
  • the displayed page can contain multiple sub-pages. Moreover, different subpages can contain different information. When a user opens a certain subpage, the information contained in the opened subpage can be shown to the user.
  • the icon of the sub-page may be displayed in different colors. For example, before the user opens a certain subpage, the page icon of the subpage may be displayed in white. After the user opens the sub-page, the page icon of the sub-page can be displayed in green.
  • the embodiments of the present disclosure provide an icon update method, device, and electronic device, which prompt the user to open the preset subpage by updating the initial page icon of the preset subpage to the generated first page icon.
  • an embodiment of the present disclosure provides an icon update method, the method includes: determining whether a user needs to be prompted to open a preset subpage, wherein the preset subpage has an initial page icon; in response to determining that the user needs to be prompted to open Preset sub-pages to obtain a reference image for updating the initial page icon; generate the first page icon based on the reference image; update the initial page icon to the first page icon.
  • an embodiment of the present disclosure provides an icon update device, the device includes: a determining unit, configured to determine whether it is necessary to prompt the user to open a preset subpage, wherein the preset subpage has an initial page icon; and an acquiring unit , Used to prompt the user to open the preset sub-page in response to determining the need to obtain the reference image for updating the initial page icon; the first generation unit is used to generate the first page icon based on the reference image; the first update unit is used to update the initial page icon The page icon is updated to the first page icon.
  • an embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device, configured to store one or more programs, when the one or more programs are used by the one or more A plurality of processors execute, so that the one or more processors implement the icon update method as described in the first aspect.
  • the embodiments of the present disclosure provide a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the steps of the icon update method as described in the first aspect are implemented.
  • the icon update method, device and electronic device provided by the embodiments of the present disclosure firstly determine whether the user needs to be prompted to open a preset sub-page, and then, in response to determining that the user needs to be prompted to open the preset sub-page, obtain a benchmark for updating the icon of the initial page Image, further, based on the reference image, the first page icon is generated, and finally, the initial page icon is updated to the first page icon.
  • the initial page icon of the preset subpage to the generated first page icon, the user is prompted to open the preset subpage.
  • Fig. 1 is a flowchart of some embodiments of an icon update method according to the present disclosure
  • Fig. 2 is a schematic diagram of an application scenario of the icon update method according to the present disclosure
  • FIG. 3 is a flowchart of still other embodiments of the icon update method according to the present disclosure.
  • Fig. 4 is a schematic structural diagram of some embodiments of an icon updating apparatus according to the present disclosure.
  • FIG. 5 is an exemplary system architecture in which the icon update method of some embodiments of the present disclosure can be applied;
  • Fig. 6 is a schematic diagram of a basic structure of an electronic device provided according to some embodiments of the present disclosure.
  • FIG. 1 shows the flow of some embodiments of the icon update method according to the present disclosure.
  • the icon update method includes the following steps:
  • Step 101 Determine whether it is necessary to prompt the user to open a preset subpage.
  • the execution subject of the icon update method (for example, the terminal devices 501 and 502 shown in FIG. 5) can determine whether it is necessary to prompt the user to open a preset subpage.
  • the page displayed in the application can contain multiple sub-pages.
  • the preset sub-page may be a sub-page preset from a plurality of sub-pages included in the page.
  • the preset subpage has an initial page icon.
  • the initial page icon may be the page icon that the preset subpage has when the page icon is not updated.
  • the above-mentioned execution subject may determine the length of time since the user opened the preset sub-page last time. If the time period since the user opened the preset sub-page last time is greater than or equal to the preset time period, the above-mentioned execution subject may determine that the user needs to be prompted to open the preset sub-page. Otherwise, the above-mentioned execution subject may determine that there is no need to prompt the user to open the preset subpage.
  • Step 102 In response to determining that it is necessary to prompt the user to open a preset subpage, obtain a reference image for updating the icon of the initial page.
  • the above-mentioned execution subject may obtain a reference image for updating the icon of the initial page.
  • the reference image may be a reference image used to update the initial page icon.
  • the above-mentioned execution subject may obtain a reference image for updating the initial page icon from a local or a communication-connected server (for example, the server 504 shown in FIG. 5).
  • Step 103 Generate a first page icon based on the reference image.
  • the above-mentioned execution subject may generate the first page icon.
  • the first page icon may be a page icon used to update the initial page icon.
  • the above-mentioned execution subject may compress the reference image into a thumbnail to generate the first page icon. That is, the first page icon may be a thumbnail of the reference image.
  • Step 104 Update the initial page icon to the first page icon.
  • the above-mentioned execution subject may update the initial page icon of the preset subpage to the first page icon.
  • FIG. 2 shows an application scenario of the icon update method according to an embodiment of the present disclosure.
  • the terminal device 201 can determine whether it is necessary to prompt the user to open the preset subpage 202. Further, in response to determining that the user needs to be prompted to open the preset sub-page 202, the terminal device 201 may obtain a reference image 204 for updating the initial page icon 203 of the preset sub-page 202. Still further, the terminal device 201 may generate the first page icon 205 based on the reference image 204. Finally, the terminal device 201 may update the initial page icon 203 to the first page icon 205.
  • a prompt mark is displayed near the page icon of the sub-page to prompt the user to open The subpage. It is not difficult to understand that when the size of the displayed prompt mark is small, the user easily ignores the existence of the prompt mark, which results in a poor effect of prompting the user to open the sub-page.
  • a reference image for updating the initial page icon of the preset subpage is obtained, and further, based on the obtained reference image, the first page icon is generated, and further, The initial page icon of the preset subpage is updated to the generated first page icon.
  • the user is prompted to open the preset subpage. It is not difficult to understand that by updating the initial page icon of the preset subpage, it is easy to cause the user to notice the change of the page icon of the preset subpage, thereby improving the effect of prompting the user to open the preset subpage.
  • the above-mentioned execution subject may perform the following steps.
  • the first page icon is restored to the initial page icon.
  • the above-mentioned execution subject may detect the operation of opening the preset sub-page performed by the user through a preset detection program.
  • the above-mentioned execution subject may restore the first page icon to the initial page icon.
  • the user still does not open the preset subpage for a long period of time, and ends the prompting the user to open the preset subpage.
  • the above-mentioned execution subject may generate the first page icon in the following manner.
  • a page icon matching the style of the initial page icon is generated as the first page icon.
  • the style of the initial page icon may include but is not limited to at least one of the following: the size of the initial page icon, the shape of the initial page icon, and the pixel value of the initial page icon.
  • matching with the style of the initial page icon means that the gap with the style of the initial page icon is within the preset gap range.
  • the above-mentioned executive body can adjust the size, shape, pixel value, etc. of the initial page icon, and generate a page icon that is within a preset range of the initial page icon size, shape, pixel value, etc., as the first page icon .
  • the icon update method includes the following steps:
  • Step 301 Determine whether it is necessary to prompt the user to open a preset subpage.
  • Step 302 In response to determining that it is necessary to prompt the user to open the preset subpage, obtain a reference image for updating the icon of the initial page.
  • Step 303 Generate a first page icon based on the reference image.
  • step 301, step 302, and step 303 can be performed in a manner similar to step 101, step 102, and step 103 in the embodiment shown in FIG. 1, respectively.
  • step 101, step 102, and step 103 is also applicable to Step 301, step 302, and step 303 are not repeated here.
  • Step 304 Generate a second page icon based on the reference image.
  • the execution subject of the icon update method may generate the second page icon based on the acquired reference image.
  • the second page icon may also be a page icon used to update the initial page icon. Also, the second page icon is different from the first page icon.
  • the size of the second page icon and the first page icon are different.
  • the above-mentioned execution subject may compress the reference image into a thumbnail whose size is different from the size of the first page icon to generate the second page icon.
  • the pixel value of the icon on the second page is different from the pixel value of the icon on the first page.
  • the above-mentioned execution subject may compress the reference image into a thumbnail with the same size as the first page icon, and adjust the pixel value of the obtained thumbnail to a preset pixel value, thereby generating the second page icon.
  • step 303 and step 304 can execute step 303 and step 304 in parallel, or can execute step 303 and step 304 respectively, and there is no specific limitation here.
  • Step 305 Update the initial page icon to the first page icon.
  • step 305 can be performed in a similar manner to step 104 in the embodiment shown in FIG.
  • Step 306 In response to detecting an operation of opening a preset subpage after updating the initial page icon, switch from the currently displayed subpage to the preset subpage.
  • the above-mentioned execution subject may detect the operation of opening the preset sub-page performed by the user through a preset detection program.
  • the operation of the user to open the preset sub-page may be various operations performed by the user.
  • it may be an operation of sliding from the currently displayed page to the preset sub-page.
  • it may be an operation such as a single click, double click, or long press performed by the user on the page icon of the preset subpage.
  • the above-mentioned execution subject may switch from the currently displayed subpage to the preset subpage.
  • Step 307 Update the first page icon to the second page icon.
  • the above-mentioned execution subject may update the first page icon to the second page icon.
  • the above-mentioned execution subject may update the first page icon to the second page icon. In other scenarios, when switching from the currently displayed sub-page to the preset sub-page, the above-mentioned execution subject may update the icon of the first page to the icon of the second page.
  • the above-mentioned execution subject may perform the following steps.
  • the second page icon is restored to the initial page icon.
  • the above-mentioned execution subject may determine whether it is necessary to prompt the user to open a preset subpage in the following manner.
  • a request to follow the target user is sent to the communication connected server.
  • the target user may be a user whose attention is requested by the above-mentioned user.
  • the operation of following the target user may be an operation of the above-mentioned user requesting to follow the target user.
  • the operation of following the target user may be an operation performed by the user on a control that prompts the following target user.
  • the second step in response to the following result information returned by the server indicating that the user succeeded in following the target user, it is determined that the user needs to be prompted to open the preset sub-page.
  • the attention result information may represent the result of the above-mentioned user requesting attention to the target user.
  • the above-mentioned execution subject may obtain the avatar of the target user as a reference image.
  • the avatar of the target user is used as the reference image for generating the first page icon.
  • the preset sub-page displays the information published by the user that the user has followed.
  • the information posted by the user may include but is not limited to at least one of the following: text, image, video, and audio.
  • the present disclosure provides some embodiments of an icon updating device.
  • the device embodiments correspond to the method embodiments shown in FIG. Used in various electronic devices.
  • the icon updating apparatus of this embodiment includes: a determining unit 401, an acquiring unit 402, a first generating unit 403, and a first updating unit 404.
  • the determining unit 401 is configured to determine whether the user needs to be prompted to open a preset subpage, where the preset subpage has an initial page icon.
  • the obtaining unit 402 is configured to: in response to determining that it is necessary to prompt the user to open a preset subpage, obtain a reference image for updating the icon of the initial page.
  • the first generating unit 403 is configured to generate a first page icon based on the reference image.
  • the first update unit 404 is configured to: update the initial page icon to the first page icon.
  • step 101 the specific processing of the determining unit 401, the acquiring unit 402, the first generating unit 403, and the first updating unit 404 of the icon updating apparatus and the technical effects brought by them can be referred to the steps in the corresponding embodiment in FIG. 1 respectively.
  • the related description of step 101, step 102, step 103, and step 104 will not be repeated here.
  • the icon updating apparatus may further include: a second generating unit (not shown in the figure) and a second updating unit (not shown in the figure).
  • the second generating unit is used for generating a second page icon based on the reference image.
  • the second update unit is configured to: in response to detecting the operation of opening the preset subpage after updating the initial page icon, switch from the currently displayed subpage to the preset subpage; and update the first page icon to the second page icon.
  • the icon updating apparatus may further include: a first restoration unit (not shown in the figure).
  • the first restoring unit is used for restoring the second page icon to the initial page icon in response to the duration of the update to the second page icon being not less than the first preset duration.
  • the icon updating apparatus may further include: a second restoration unit (not shown in the figure).
  • the second restoring unit is used for restoring the first page icon to the initial page icon in response to the failure to detect that the duration of the operation to open the preset sub-page after updating the initial page icon is not less than the second preset duration.
  • the first generating unit 403 is further configured to generate a page icon matching the style of the initial page icon as the first page icon.
  • the determining unit 401 is further configured to: in response to detecting the operation performed by the user to follow the target user, send a request to follow the target user to the communication connected server; The user succeeds in following the target user and determines that the user needs to be prompted to open the preset sub-page.
  • the acquiring unit 402 is further configured to acquire the avatar of the target user as a reference image.
  • the preset subpage displays information published by users that the user has followed.
  • FIG. 5 illustrates an exemplary system architecture in which the icon update method of some embodiments of the present disclosure can be applied.
  • the system architecture may include terminal devices 501 and 502, a network 503, and a server 504.
  • the network 503 is used to provide a medium for communication links between the terminal devices 501 and 502 and the server 504.
  • the network 503 may include various connection types, such as wired, wireless communication links, or fiber optic cables, and so on.
  • the terminal devices 501 and 502 can interact with the server 504 through the network 503.
  • Various client applications may be installed on the terminal devices 501 and 502.
  • shopping applications, search applications, social applications, etc. may be installed on the terminal devices 501 and 502.
  • the terminal devices 501 and 502 may generate the first page icon. Further, the terminal devices 501 and 502 may update the initial page icon of the preset subpage to the generated first page icon.
  • the terminal devices 501 and 502 may be hardware or software.
  • the terminal devices 501 and 502 may be various electronic devices that have a display screen and support information interaction, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and so on.
  • the terminal devices 501 and 502 are software, they can be installed in the electronic devices listed above, and they can be implemented as multiple software or software modules, or as a single software or software module. There is no specific limitation here.
  • the server 504 may be a server that provides various services. In some scenarios, the server 504 may provide the terminal devices 501 and 502 with a reference image for updating the initial page icon of the preset subpage.
  • the server 504 may be hardware or software. When the server 504 is hardware, it can be implemented as a distributed server cluster composed of multiple servers, or as a single server. When the server 504 is software, it may be implemented as multiple software or software modules (for example, multiple software or software modules used to provide distributed services), or may be implemented as a single software or software module. There is no specific limitation here.
  • the icon update method provided by the embodiment of the present disclosure can be executed by the terminal devices 501 and 502, and accordingly, the icon update apparatus can be set in the terminal devices 501 and 502.
  • terminal devices, networks, and servers in FIG. 5 are merely illustrative. There can be any number of terminal devices, networks, and servers according to implementation needs.
  • FIG. 6 shows a schematic structural diagram of an electronic device (such as the terminal device in FIG. 5) suitable for implementing some embodiments of the present disclosure.
  • the terminal devices in some embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals, etc. (E.g. car navigation terminal) and other mobile terminals, and fixed terminals such as digital TVs, desktop computers, etc.
  • the electronic device shown in FIG. 6 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
  • the electronic device shown in FIG. 6 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
  • the electronic device may include a processing device (such as a central processing unit, a graphics processor, etc.) 601, which may be loaded into a random access memory according to a program stored in a read-only memory (ROM) 602 or from a storage device 608 (RAM)
  • the program in 603 executes various appropriate actions and processing.
  • RAM 603 various programs and data required for the operation of electronic devices are also stored.
  • the processing device 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604.
  • An input/output (I/O) interface 605 is also connected to the bus 604.
  • the following devices can be connected to the I/O interface 605: including input devices 606 such as touch screens, touch pads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; including, for example, liquid crystal displays (LCD), speakers, vibration An output device 607 such as a device; a storage device 608 such as a magnetic tape, a hard disk, etc.; and a communication device 609.
  • the communication device 609 may allow the electronic device to perform wireless or wired communication with other devices to exchange data.
  • FIG. 6 shows an electronic device with various devices, it should be understood that it is not required to implement or have all of the illustrated devices. It may be implemented alternatively or provided with more or fewer devices. Each block shown in FIG. 6 can represent one device, or can represent multiple devices as needed.
  • the process described above with reference to the flowchart may be implemented as a computer software program.
  • some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, and the computer program contains program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602.
  • the processing device 601 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
  • the computer-readable medium described in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable removable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • the computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may be included in a baseband or a data signal propagated as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable signal medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
  • the client and server can communicate with any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium.
  • Communication e.g., communication network
  • Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (for example, the Internet), and end-to-end networks (for example, ad hoc end-to-end networks), as well as any currently known or future research and development network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist alone without being assembled into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs.
  • the electronic device determines whether it is necessary to prompt the user to open a preset sub-page, wherein the preset sub-page has Initial page icon; in response to determining that it is necessary to prompt the user to open a preset sub-page, obtain a reference image for updating the initial page icon; generate the first page icon based on the reference image; update the initial page icon to the first page icon.
  • the computer program code used to perform the operations of some embodiments of the present disclosure can be written in one or more programming languages or a combination thereof.
  • the above-mentioned programming languages include, but are not limited to, object-oriented programming languages—such as Java and Smalltalk. , C++, also includes conventional procedural programming languages-such as "C" language or similar programming languages.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to pass Internet connection).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagram can represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logic function.
  • Executable instructions can also occur in a different order from the order marked in the drawings. For example, two blocks shown one after another can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
  • the units described in some embodiments of the present disclosure may be implemented in software or hardware. Among them, the names of these units do not constitute a limitation on the unit itself under certain circumstances.
  • the determining unit can also be described as a unit that "determines whether the user needs to be prompted to open a preset subpage".
  • exemplary types of hardware logic components include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logical device (CPLD) and so on.
  • FPGA Field Programmable Gate Array
  • ASIC Application Specific Integrated Circuit
  • ASSP Application Specific Standard Product
  • SOC System on Chip
  • CPLD Complex Programmable Logical device
  • a machine-readable medium may be a tangible medium, which may contain or store a program for use by the instruction execution system, apparatus, or device or in combination with the instruction execution system, apparatus, or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • the machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing.
  • machine-readable storage media would include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or flash memory erasable programmable read-only memory
  • CD-ROM compact disk read only memory
  • magnetic storage device or any suitable combination of the foregoing.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Security & Cryptography (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公开的实施例公开了图标更新方法、装置和电子设备。该方法的一具体实施方式包括:确定是否需要提示用户打开预设子页面,其中,预设子页面具有初始页面图标;响应于确定需要提示用户打开预设子页面,获取更新初始页面图标的基准图像;基于基准图像,生成第一页面图标;将初始页面图标更新为第一页面图标。该实施方式通过将预设子页面的初始页面图标更新为所生成的第一页面图标,提示用户打开预设子页面。

Description

图标更新方法、装置和电子设备
相关申请的交叉引用
本申请要求于2020年04月01日提交的,申请号为202010252303.8、发明名称为“图标更新方法、装置和电子设备”的中国专利申请的优先权,该申请的全文通过引用结合在本申请中。
技术领域
本公开的实施例涉及计算机技术领域,尤其涉及一种图标更新方法、装置和电子设备。
背景技术
在一些应用程序中,所展示的页面可以包含多个子页面。并且,不同的子页面中可以包含不同的信息。当用户打开某一个子页面时,可以向用户展示所打开的子页面中包含的信息。
在一些场景中,用户打开子页面之前和打开子页面之后,子页面的图标可以显示为不同的颜色。例如,用户打开某一子页面之前,该子页面的页面图标可以显示为白色。用户打开该子页面之后,该子页面的页面图标可以显示为绿色。
发明内容
提供该公开内容部分以便以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。该公开内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。
本公开的实施例提供了一种图标更新方法、装置和电子设备,通过将预设子页面的初始页面图标更新为所生成的第一页面图标,提示用户打开预设子页面。
第一方面,本公开的实施例提供了一种图标更新方法,该方法包括:确定是否需要提示用户打开预设子页面,其中,预设子页面具有初始页面图标;响应于确定需要提示用户打开预设子页面,获取更新初始页面图标的基准图像;基于基准图像,生成第一页面图标;将初始页面图标更新为第一页面图标。
第二方面,本公开的实施例提供了一种图标更新装置,该装置包括:确定单元,用于确定是否需要提示用户打开预设子页面,其中,预设子页面具有初始页面图标;获取单元,用于响应于确定需要提示用户打开预设子页面,获取更新初始页面图标的基准图像;第一生成单元,用于基于基准图像,生成第一页面图标;第一更新单元,用于将初始页面图标更新为第一页面图标。
第三方面,本公开的实施例提供了一种电子设备,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如第一方面所述的图标更新方法。
第四方面,本公开的实施例提供了一种计算机可读介质,其上存储有计算机程序,该程序被处理器执行时实现如第一方面所述的图标更新方法的步骤。
本公开的实施例提供的图标更新方法、装置和电子设备,首先,确定是否需要提示用户打开预设子页面,然后,响应于确定需要提示用户打开预设子页面,获取更新初始页面图标的基准图像,进一步,基于基准图像,生成第一页面图标,最后,将初始页面图标更新为第一页面图标。从而,通过将预设子页面的初始页面图标更新为所生成的第一页面图标,提示用户打开预设子页面。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1是根据本公开的图标更新方法的一些实施例的流程图;
图2是根据本公开的图标更新方法的一个应用场景的示意图;
图3是根据本公开的图标更新方法的又一些实施例的流程图;
图4是根据本公开的图标更新装置的一些实施例的结构示意图;
图5是本公开的一些实施例的图标更新方法可以应用于其中的示例性系统架构;
图6是根据本公开的一些实施例提供的电子设备的基本结构的示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
请参考图1,其示出了根据本公开的图标更新方法的一些实施例的流程。如图1所示,该图标更新方法,包括以下步骤:
步骤101,确定是否需要提示用户打开预设子页面。
在本实施例中,图标更新方法的执行主体(例如图5中所示的终端设备501、502)可以确定是否需要提示用户打开预设子页面。
应用程序中所展示的页面可以包含多个子页面。预设子页面可以是从页面所包含的多个子页面中预先设置的子页面。
预设子页面具有初始页面图标。初始页面图标可以是预设子页面在未更新页面图标时所具有的页面图标。
在一些场景中,上述执行主体可以确定距离用户上一次打开预设子页面的时长。若距离用户上一次打开预设子页面的时长大于或者等于预设时长,上述执行主体可以确定需要提示用户打开预设子页面。否则,上述执行主体可以确定不需要提示用户打开预设子页面。
步骤102,响应于确定需要提示用户打开预设子页面,获取更新初始页面图标的基准图像。
在本实施例中,响应于确定需要提示用户打开预设子页面,上述执行主体可以获取更新初始页面图标的基准图像。
基准图像可以是用于更新初始页面图标的基准图像。
在一些场景中,上述执行主体可以从本地或者通信连接的服务器(例如图5中所示的服务器504)获取用于更新初始页面图标的基准图像。
步骤103,基于基准图像,生成第一页面图标。
在本实施例中,获取基准图像之后,上述执行主体可以生成第一页面图标。
第一页面图标可以是用于更新初始页面图标的页面图标。
在一些场景中,上述执行主体可以将基准图像压缩为缩略图,来生成第一页面图标。也即,第一页面图标可以是基准图像的缩略图。
步骤104,将初始页面图标更新为第一页面图标。
在本实施例中,生成第一页面图标之后,上述执行主体可以将预设子页面的初始页面图标更新为第一页面图标。
请参考图2,其示出了根据本公开的实施例的图标更新方法的一个应用场景。如图2所示,终端设备201可以确定是否需要提示用户打开预设子页面202。进一步,响应于确定需要提示用户打开预设子页面202,终端设备201可以获取更新预设子页面202的初始页面图标203的基准图像204。再进一步,终端设备201可以基于基准图像204,生成第一页面图标205。最后,终端设备201可以将初始页面图标203更新为第一页面图标205。
目前,关于提示用户打开某一子页面的方面,在相关技术中,当某一子页面中包含待用户查看的信息时,通过在该子页面的页面图标的附近显示提示标识,来提示用户打开该子页面。不难理解,当所显示的提示标识的尺寸较小时,用户容易忽略该提示标识的存在,从而造成提示用户打开子页面的效果较差。
在本实施例中,响应于确定需要提示用户打开预设子页面,获取更新预设子页面的初始页面图标的基准图像,进一步,基于所获取的基准图像,生成第一页面图标,再进一步,将预设子页面的初始页面图标更新为所生成的第一页面图标。从而,通过将预设子页面的初始页面图标更新为所生成的第一页面图标,提示用户打开预设子页面。不难理解,通过更新预设子页面的初始页面图标的方式,容易引起用户注意到预设子页面的页面图标的变化,从而改善提示用户打开预设子页面的效果。
在一些可选的实现方式中,上述执行主体可以执行如下步骤。
具体地,响应于更新初始页面图标后未检测到打开预设子页面的时长不小于第二预设时长,将第一页面图标恢复为初始页面图标。
在这些实现方式中,上述执行主体可以通过预先设置的检测程序,检测用户执行的打开预设子页面的操作。
在这些实现方式中,响应于更新初始页面图标后未检测到打开预设子页面的操作的时长不小于第二预设时长,上述执行主体可以将第 一页面图标恢复为初始页面图标。
从而,当预设子页面的初始页面图标更新为第一页面图标后,用户在较长时间内仍然未打开预设子页面,结束提示用户打开预设子页面。
在一些可选的实现方式中,上述执行主体可以按照如下方式,生成第一页面图标。
具体地,生成与初始页面图标的样式匹配的页面图标,作为第一页面图标。
初始页面图标的样式可以包括但不限于以下至少一项:初始页面图标的尺寸,初始页面图标的形状,初始页面图标的像素值。
在这里,与初始页面图标的样式匹配,是指与初始页面图标的样式之间的差距在预设差距范围内。
在一些场景中,上述执行主体可以调整初始页面图标的尺寸、形状、像素值等,生成与初始页面图标的尺寸、形状、像素值等在预设差距范围内的页面图标,作为第一页面图标。
请继续参考图3,其示出了根据本公开的图标更新方法的又一些实施例的流程。如图3所示,该图标更新方法,包括以下步骤:
步骤301,确定是否需要提示用户打开预设子页面。
步骤302,响应于确定需要提示用户打开预设子页面,获取更新初始页面图标的基准图像。
步骤303,基于基准图像,生成第一页面图标。
上述步骤301、步骤302、步骤303可以分别按照如图1所示实施例中的步骤101、步骤102、步骤103类似的方式执行,上文针对步骤101、步骤102、步骤103的描述也适用于步骤301、步骤302、步骤303,此处不再赘述。
步骤304,基于基准图像,生成第二页面图标。
在本实施例中,获取更新初始页面图标的基准图像之后,图标更新方法的执行主体(例如图5中所示的终端设备501、502)可以基于所获取的基准图像,生成第二页面图标。
第二页面图标也可以是用于更新初始页面图标的页面图标。并且,第二页面图标与第一页面图标不相同。
在一些场景中,第二页面图标和第一页面图标的尺寸不相同。上述执行主体可以将基准图像压缩为与第一页面图标的尺寸不相同的缩略图,来生成第二页面图标。
在另一些场景中,第二页面图标的像素值和第一页面图标的像素值不相同。上述执行主体可以将基准图像压缩为与第一页面图标的尺寸相同的缩略图,并将所得到的缩略图的像素值调整为预设像素值,从而生成第二页面图标。
需要说明的是,上述执行主体可以并行地执行步骤303和步骤304,也可以分别执行步骤303和步骤304,此处不做具体的限定。
步骤305,将初始页面图标更新为第一页面图标。
上述步骤305可以按照如图1所示实施例中的步骤104类似的方式执行,上文针对步骤104的描述也适用于步骤305,此处不再赘述。
步骤306,响应于更新初始页面图标后检测到打开预设子页面的操作,从当前显示的子页面切换至预设子页面。
在本实施例中,上述执行主体可以通过预先设置的检测程序,检测用户执行的打开预设子页面的操作。
实践中,用户打开预设子页面的操作可以是用户执行的各种操作。例如,可以是从当前显示的页面向预设子页面滑动的操作。又例如,可以是用户对预设子页面的页面图标执行的单击、双击、长按等操作。
在本实施例中,响应于更新初始页面图标后检测到用户执行的打开预设子页面的操作,上述执行主体可以从当前显示的子页面切换至预设子页面。
步骤307,将第一页面图标更新为第二页面图标。
在本实施例中,上述执行主体可以将第一页面图标更新为第二页面图标。
在一些场景中,当检测到用户执行的打开预设子页面的操作时,上述执行主体可以将第一页面图标更新为第二页面图标。在另一些场景中,当从当前显示的子页面切换至预设子页面时,上述执行主体可 以将第一页面图标更新为第二页面图标。
在一些可选的实现方式中,上述执行主体可以执行如下步骤。
具体地,响应于更新为第二页面图标的时长不小于第一预设时长,将第二页面图标恢复为初始页面图标。
不难理解,当更新为第二页面图标的时长不小于第一预设时长时,意味着,用户打开预设子页面的时长较长。从而,当成功提示用户打开预设子页面时,结束提示用户打开预设子页面。
在本实施例中,响应于检测到打开预设子页面的操作,从当前显示的子页面切换至预设子页面,并将第一页面图标更新为第二页面图标。从而,通过将预设子页面的第一页面图标更新为第二页面图标,来提示用户已切换至预设子页面。
在本公开的图标更新方法的各实施例的一些可选的实现方式中,上述执行主体可以按照如下方式,确定是否需要提示用户打开预设子页面。
第一步,响应于检测到用户执行的关注目标用户的操作,向通信连接的服务器发送关注目标用户的请求。
目标用户可以是上述用户请求关注的用户。
关注目标用户的操作可以是上述用户请求关注目标用户的操作。在一些场景中,关注目标用户的操作可以是,用户对提示关注目标用户的控件执行的操作。
第二步,响应于服务器返回的关注结果信息表征用户关注目标用户成功,确定需要提示用户打开预设子页面。
关注结果信息可以表征上述用户申请关注目标用户的结果。
从而,当用户成功关注目标用户后,确定需要提示用户打开预设子页面。
在本公开的图标更新方法的各实施例的一些可选的实现方式中,上述执行主体可以获取目标用户的头像作为基准图像。从而,在用户成功关注目标用户后,将目标用户的头像作为生成第一页面图标的基准图像。
在本公开的图标更新方法的各实施例的一些可选的实现方式中,预设子页面中展示上述用户已关注的用户所发布的信息。
用户已发布的信息可以包括但不限于以下至少一项:文本、图像、视频、音频。
不难理解,当用户成功关注目标用户后,通过提示用户打开预设子页面,进一步提示用户查看所关注的用户发布的信息。
进一步参考图4,作为对上述各图所示方法的实现,本公开提供了一种图标更新装置的一些实施例,该装置实施例与图1所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。
如图4所示,本实施例的图标更新装置包括:确定单元401、获取单元402、第一生成单元403、第一更新单元404。确定单元401用于:确定是否需要提示用户打开预设子页面,其中,预设子页面具有初始页面图标。获取单元402用于:响应于确定需要提示用户打开预设子页面,获取更新初始页面图标的基准图像。第一生成单元403用于:基于基准图像,生成第一页面图标。第一更新单元404用于:将初始页面图标更新为第一页面图标。
在本实施例中,图标更新装置的确定单元401、获取单元402、第一生成单元403、第一更新单元404的具体处理及其所带来的技术效果可分别参考图1对应实施例中步骤101、步骤102、步骤103、步骤104的相关说明,在此不再赘述。
在一些可选的实现方式中,图标更新装置还可以包括:第二生成单元(图中未示出)、第二更新单元(图中未示出)。第二生成单元用于:基于基准图像,生成第二页面图标。第二更新单元用于:响应于更新初始页面图标后检测到打开预设子页面的操作,从当前显示的子页面切换至预设子页面;将第一页面图标更新为第二页面图标。
在一些可选的实现方式中,图标更新装置还可以包括:第一恢复单元(图中未示出)。第一恢复单元用于:响应于更新为第二页面图标的时长不小于第一预设时长,将第二页面图标恢复为初始页面图标。
在一些可选的实现方式中,图标更新装置还可以包括:第二恢复 单元(图中未示出)。第二恢复单元用于:响应于更新初始页面图标后未检测到打开预设子页面的操作的时长不小于第二预设时长,将第一页面图标恢复为初始页面图标。
在一些可选的实现方式中,第一生成单元403进一步用于:生成与初始页面图标的样式匹配的页面图标,作为第一页面图标。
在一些可选的实现方式中,确定单元401进一步用于:响应于检测到用户执行的关注目标用户的操作,向通信连接的服务器发送关注目标用户的请求;响应于服务器返回的关注结果信息表征用户关注目标用户成功,确定需要提示用户打开预设子页面。
在一些可选的实现方式中,获取单元402进一步用于:获取目标用户的头像作为基准图像。
在一些可选的实现方式中,预设子页面中展示用户已关注的用户所发布的信息。
进一步参考图5,图5示出了本公开的一些实施例的图标更新方法可以应用于其中的示例性系统架构。
如图5所示,系统架构可以包括终端设备501、502,网络503,服务器504。网络503用以在终端设备501、502和服务器504之间提供通信链路的介质。网络503可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。
终端设备501、502可以通过网络503与服务器504交互。终端设备501、502上可以安装有各种客户端应用。例如,终端设备501、502上可以安装有购物类应用、搜索类应用、社交类应用等。在一些场景中,响应于确定需要提示用户打开预设子页面,终端设备501、502可以生成第一页面图标。进一步,终端设备501、502可以将预设子页面的初始页面图标更新为所生成的第一页面图标。
终端设备501、502可以是硬件,也可以是软件。当终端设备501、502为硬件时,可以是具有显示屏并且支持信息交互的各种电子设备,包括但不限于智能手机、平板电脑、膝上型便携计算机和台式计算机等等。当终端设备501、502为软件时,可以安装在上述所列举的电子 设备中,其可以实现成多个软件或软件模块,也可以实现成单个软件或软件模块。在此不做具体限定。
服务器504可以是提供各种服务的服务器。在一些场景中,服务器504可以向终端设备501、502提供用于更新预设子页面的初始页面图标的基准图像。
服务器504可以是硬件,也可以是软件。当服务器504为硬件时,可以实现成多个服务器组成的分布式服务器集群,也可以实现成单个服务器。当服务器504为软件时,可以实现成多个软件或软件模块(例如用来提供分布式服务的多个软件或软件模块),也可以实现成单个软件或软件模块。在此不做具体限定。
需要说明的是,本公开的实施例所提供的图标更新方法可以由终端设备501、502执行,相应地,图标更新装置可以设置在终端设备501、502中。
应该理解,图5中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。
下面参考图6,其示出了适于用来实现本公开的一些实施例的电子设备(例如图5中的终端设备)的结构示意图。本公开的一些实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端,以及诸如数字TV、台式计算机等等的固定终端。图6示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。图6示出的电子设备仅仅是一个示例,不应对本公开的实施例的功能和使用范围带来任何限制。
如图6所示,电子设备可以包括处理装置(例如中央处理器、图形处理器等)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储装置608加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。在RAM 603中,还存储有电子设备操作所需的各种程序和数据。处理装置601、ROM 602以及RAM 603 通过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。
通常,以下装置可以连接至I/O接口605:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置606;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置607;包括例如磁带、硬盘等的存储装置608;以及通信装置609。通信装置609可以允许电子设备与其他设备进行无线或有线通信以交换数据。虽然图6示出了具有各种装置的电子设备,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。图6中示出的每个方框可以代表一个装置,也可以根据需要代表多个装置。
特别地,根据本公开的一些实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的一些实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置609从网络上被下载和安装,或者从存储装置608被安装,或者从ROM 602被安装。在该计算机程序被处理装置601执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开的一些实施例所述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开的一些实施例中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开的一些实施例中,计算机可读信号介质可以包括在基带中 或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的,也可以是单独存在,而未装配入该电子设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:确定是否需要提示用户打开预设子页面,其中,预设子页面具有初始页面图标;响应于确定需要提示用户打开预设子页面,获取更新初始页面图标的基准图像;基于基准图像,生成第一页面图标;将初始页面图标更新为第一页面图标。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的一些实施例的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到 外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开的一些实施例中的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定,例如,确定单元还可以被描述为“确定是否需要提示用户打开预设子页面”的单元。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学 储存设备、磁储存设备、或上述内容的任何合适组合。
以上描述仅为本公开的一些较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开的实施例中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中所公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。

Claims (11)

  1. 一种图标更新方法,其特征在于,包括:
    确定是否需要提示用户打开预设子页面,其中,所述预设子页面具有初始页面图标;
    响应于确定需要提示所述用户打开所述预设子页面,获取更新所述初始页面图标的基准图像;
    基于所述基准图像,生成第一页面图标;
    将所述初始页面图标更新为所述第一页面图标。
  2. 根据权利要求1所述的方法,其特征在于,在所述获取更新所述初始页面图标的基准图像之后,所述方法还包括:
    基于所述基准图像,生成第二页面图标;以及
    所述方法还包括:
    响应于更新所述初始页面图标后检测到打开所述预设子页面的操作,从当前显示的子页面切换至所述预设子页面;
    将所述第一页面图标更新为所述第二页面图标。
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    响应于更新为所述第二页面图标的时长不小于第一预设时长,将所述第二页面图标恢复为所述初始页面图标。
  4. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    响应于更新所述初始页面图标后未检测到打开所述预设子页面的操作的时长不小于第二预设时长,将所述第一页面图标恢复为所述初始页面图标。
  5. 根据权利要求1所述的方法,其特征在于,所述生成第一页面图标,包括:
    生成与所述初始页面图标的样式匹配的页面图标,作为所述第一 页面图标。
  6. 根据权利要求1-5中任一所述的方法,其特征在于,所述确定是否需要提示用户打开预设子页面,包括:
    响应于检测到所述用户执行的关注目标用户的操作,向通信连接的服务器发送关注所述目标用户的请求;
    响应于所述服务器返回的关注结果信息表征所述用户关注所述目标用户成功,确定需要提示所述用户打开所述预设子页面。
  7. 根据权利要求6所述的方法,其特征在于,所述获取更新所述初始页面图标的基准图像,包括:
    获取所述目标用户的头像作为所述基准图像。
  8. 根据权利要求6所述的方法,其特征在于,所述预设子页面中展示所述用户已关注的用户所发布的信息。
  9. 一种图标更新装置,其特征在于,包括:
    确定单元,用于确定是否需要提示用户打开预设子页面,其中,所述预设子页面具有初始页面图标;
    获取单元,用于响应于确定需要提示所述用户打开所述预设子页面,获取更新所述初始页面图标的基准图像;
    第一生成单元,用于基于所述基准图像,生成第一页面图标;
    第一更新单元,用于将所述初始页面图标更新为所述第一页面图标。
  10. 一种电子设备,其特征在于,包括:
    一个或多个处理器;
    存储装置,用于存储一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-8中任一所述的方法。
  11. 一种计算机可读介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-8中任一所述的方法。
PCT/CN2021/082737 2020-04-01 2021-03-24 图标更新方法、装置和电子设备 WO2021197161A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP21779781.0A EP4089516A4 (en) 2020-04-01 2021-03-24 METHOD AND APPARATUS FOR UPDATING ICONS AND ELECTRONIC DEVICE
US17/886,790 US11861381B2 (en) 2020-04-01 2022-08-12 Icon updating method and apparatus, and electronic device
US18/525,538 US20240168778A1 (en) 2020-04-01 2023-11-30 Icon updating method and apparatus, and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010252303.8 2020-04-01
CN202010252303.8A CN111459364B (zh) 2020-04-01 2020-04-01 图标更新方法、装置和电子设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/886,790 Continuation US11861381B2 (en) 2020-04-01 2022-08-12 Icon updating method and apparatus, and electronic device

Publications (1)

Publication Number Publication Date
WO2021197161A1 true WO2021197161A1 (zh) 2021-10-07

Family

ID=71684410

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/082737 WO2021197161A1 (zh) 2020-04-01 2021-03-24 图标更新方法、装置和电子设备

Country Status (4)

Country Link
US (2) US11861381B2 (zh)
EP (1) EP4089516A4 (zh)
CN (1) CN111459364B (zh)
WO (1) WO2021197161A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356191A (zh) * 2022-03-04 2022-04-15 北京阿丘科技有限公司 线路板图像显示方法、装置、设备及存储介质
CN115130035A (zh) * 2022-08-31 2022-09-30 南京数睿数据科技有限公司 展示页面生成方法、装置、电子设备、介质和程序产品

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459364B (zh) 2020-04-01 2022-03-08 北京字节跳动网络技术有限公司 图标更新方法、装置和电子设备
CN115857753B (zh) * 2023-02-16 2023-05-12 北京北汽鹏龙汽车服务贸易股份有限公司 基于公私域环境下不同用户路径的车辆信息展示方法

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808152A (zh) * 2009-02-13 2010-08-18 宏达国际电子股份有限公司 联络人相关信息的提示及浏览方法、装置和计算机程序产品
CN105373387A (zh) * 2015-11-27 2016-03-02 努比亚技术有限公司 移动终端动态显示应用图标的方法及装置
CN105912195A (zh) * 2016-04-01 2016-08-31 厦门美柚信息科技有限公司 一种消息显示方法和装置
CN106095405A (zh) * 2016-05-31 2016-11-09 北京小米移动软件有限公司 图标更新方法及装置
CN107066258A (zh) * 2017-03-06 2017-08-18 武汉斗鱼网络科技有限公司 一种页面标识图像更新方法及系统
CN107220073A (zh) * 2016-03-21 2017-09-29 腾讯科技(深圳)有限公司 一种信息更新方法及用户设备
CN109359209A (zh) * 2018-10-23 2019-02-19 深圳壹账通智能科技有限公司 图标更新方法及装置、电子设备、存储介质
CN111459364A (zh) * 2020-04-01 2020-07-28 北京字节跳动网络技术有限公司 图标更新方法、装置和电子设备

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7143065B1 (en) * 1998-11-13 2006-11-28 Diebold, Incorporated Cash dispensing method for self-service facility such as motor fuel dispensing facility
US8166061B2 (en) * 2006-01-10 2012-04-24 Aol Inc. Searching recent content publication activity
GB0703276D0 (en) * 2007-02-20 2007-03-28 Skype Ltd Instant messaging activity notification
US8811948B2 (en) * 2010-07-09 2014-08-19 Microsoft Corporation Above-lock camera access
US20120084707A1 (en) * 2010-09-30 2012-04-05 Research In Motion Limited System and method for controlling event notifications
US8874665B2 (en) * 2010-12-13 2014-10-28 At&T Mobility Ii Llc Systems, apparatus and methods for facilitating display and management of information for communication devices
US8775917B2 (en) * 2012-08-09 2014-07-08 Sweetlabs, Inc. Systems and methods for alert management
CN110083287A (zh) * 2013-02-19 2019-08-02 索尼互动娱乐股份有限公司 信息处理设备和信息处理方法
CN103139050A (zh) * 2013-03-07 2013-06-05 珠海金山办公软件有限公司 关系圈类产品的信息更新提示方法、系统及装置
US10289265B2 (en) * 2013-08-15 2019-05-14 Excalibur Ip, Llc Capture and retrieval of a personalized mood icon
KR20150061336A (ko) * 2013-11-27 2015-06-04 엘지전자 주식회사 이동단말기 및 그 제어방법
CN105530351B (zh) * 2014-10-23 2019-09-10 中兴通讯股份有限公司 通话处理方法及装置
CN105142129A (zh) * 2015-06-19 2015-12-09 上海卓悠网络科技有限公司 一种更新桌面的方法、服务器和移动终端
US9880735B2 (en) * 2015-08-10 2018-01-30 Apple Inc. Devices, methods, and graphical user interfaces for manipulating user interface objects with visual and/or haptic feedback
US10303332B2 (en) * 2016-08-22 2019-05-28 Facebook, Inc. Presenting interactions with content on a social networking system in real time through icons
US10382382B2 (en) * 2016-10-04 2019-08-13 Facebook, Inc. Methods and systems for managing a user profile picture associated with an indication of user status on a social networking system
CN108021377A (zh) * 2016-11-01 2018-05-11 阿里巴巴集团控股有限公司 一种应用图标更新方法及装置
US10990279B2 (en) * 2017-03-09 2021-04-27 Google Llc Notification channels for notifications of a computing device
US10783320B2 (en) * 2017-05-16 2020-09-22 Apple Inc. Device, method, and graphical user interface for editing screenshot images
CN109885318B (zh) * 2017-12-01 2022-03-18 阿里巴巴(中国)有限公司 web应用的桌面图标更新的方法和装置
US11303600B1 (en) * 2020-05-07 2022-04-12 Meta Platforms, Inc. Displaying text conversations with contextual images
US11531646B2 (en) * 2020-06-30 2022-12-20 Microsoft Technology Licensing, Llc Facilitating generation and utilization of group folders

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808152A (zh) * 2009-02-13 2010-08-18 宏达国际电子股份有限公司 联络人相关信息的提示及浏览方法、装置和计算机程序产品
CN105373387A (zh) * 2015-11-27 2016-03-02 努比亚技术有限公司 移动终端动态显示应用图标的方法及装置
CN107220073A (zh) * 2016-03-21 2017-09-29 腾讯科技(深圳)有限公司 一种信息更新方法及用户设备
CN105912195A (zh) * 2016-04-01 2016-08-31 厦门美柚信息科技有限公司 一种消息显示方法和装置
CN106095405A (zh) * 2016-05-31 2016-11-09 北京小米移动软件有限公司 图标更新方法及装置
CN107066258A (zh) * 2017-03-06 2017-08-18 武汉斗鱼网络科技有限公司 一种页面标识图像更新方法及系统
CN109359209A (zh) * 2018-10-23 2019-02-19 深圳壹账通智能科技有限公司 图标更新方法及装置、电子设备、存储介质
CN111459364A (zh) * 2020-04-01 2020-07-28 北京字节跳动网络技术有限公司 图标更新方法、装置和电子设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4089516A4

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356191A (zh) * 2022-03-04 2022-04-15 北京阿丘科技有限公司 线路板图像显示方法、装置、设备及存储介质
CN115130035A (zh) * 2022-08-31 2022-09-30 南京数睿数据科技有限公司 展示页面生成方法、装置、电子设备、介质和程序产品

Also Published As

Publication number Publication date
US11861381B2 (en) 2024-01-02
CN111459364A (zh) 2020-07-28
EP4089516A1 (en) 2022-11-16
US20220391229A1 (en) 2022-12-08
US20240168778A1 (en) 2024-05-23
CN111459364B (zh) 2022-03-08
EP4089516A4 (en) 2023-07-19

Similar Documents

Publication Publication Date Title
WO2021197161A1 (zh) 图标更新方法、装置和电子设备
WO2021088798A1 (zh) 信息展示方法、装置、电子设备和计算机可读介质
WO2021160142A1 (zh) 视频播放方法、装置、电子设备和计算机可读介质
WO2020238320A1 (zh) 用于生成表情包的方法和装置
WO2021135626A1 (zh) 菜单项选择方法、装置、可读介质及电子设备
WO2021068634A1 (zh) 页面跳转方法、装置、电子设备及计算机可读存储介质
WO2021114979A1 (zh) 视频页面显示方法、装置、电子设备和计算机可读介质
WO2021223752A1 (zh) 展示方法、装置和电子设备
WO2021057595A1 (zh) 信息推送方法、装置、电子设备和计算机可读介质
WO2021093688A1 (zh) 目标对象显示方法、装置、电子设备和计算机可读介质
WO2021190129A1 (zh) 页面处理方法、装置、电子设备及计算机可读存储介质
CN112269959B (zh) 展示内容的控制方法、装置、可读介质和电子设备
WO2021170013A1 (zh) 图像特效处理方法及装置
CN112015314A (zh) 信息展示方法、装置、电子设备和介质
US11818491B2 (en) Image special effect configuration method, image recognition method, apparatus and electronic device
CN113254136A (zh) 信息推荐弹窗展示方法、装置、设备和计算机可读介质
WO2023138464A1 (zh) 内容显示方法、装置、存储介质及电子设备
WO2020199659A1 (zh) 用于确定推送优先级信息的方法和装置
WO2021218919A1 (zh) 人机交互方法、装置和电子设备
WO2024083149A1 (zh) 媒体内容处理方法、装置和电子设备
WO2021114981A1 (zh) 视频播放页面显示方法、装置、电子设备和介质
WO2021057738A1 (zh) 用户界面展示方法、装置、计算机可读介质及电子设备
US20230251777A1 (en) Target object display method and apparatus, electronic device and non-transitory computer-readable medium
US11962929B2 (en) Method, apparatus, and device for configuring video special effect, and storage medium
CN110619101B (zh) 用于处理信息的方法和装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21779781

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021779781

Country of ref document: EP

Effective date: 20220809

NENP Non-entry into the national phase

Ref country code: DE