CN114911388B - Intelligent updating method and communication system for website LOGO icon - Google Patents

Intelligent updating method and communication system for website LOGO icon Download PDF

Info

Publication number
CN114911388B
CN114911388B CN202210584159.7A CN202210584159A CN114911388B CN 114911388 B CN114911388 B CN 114911388B CN 202210584159 A CN202210584159 A CN 202210584159A CN 114911388 B CN114911388 B CN 114911388B
Authority
CN
China
Prior art keywords
logo
user
server
browser
website
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
CN202210584159.7A
Other languages
Chinese (zh)
Other versions
CN114911388A (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.)
Shenzhen Valueonline Technology Co ltd
Original Assignee
Shenzhen Valueonline Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Valueonline Technology Co ltd filed Critical Shenzhen Valueonline Technology Co ltd
Priority to CN202210584159.7A priority Critical patent/CN114911388B/en
Publication of CN114911388A publication Critical patent/CN114911388A/en
Application granted granted Critical
Publication of CN114911388B publication Critical patent/CN114911388B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application is applicable to the technical field of Internet, and provides an intelligent updating method and a communication system of a website LOGO icon, wherein the method comprises the following steps: the browser displays a first page of a first website, and a first LOGO icon is displayed in the first page; in response to a second input (including user identity information or an operation to trigger a page jump) by the user, the browser obtains LOGO update information from the server, the LOGO update information including a storage address of a second LOGO icon in the server, the LOGO update information being determined in accordance with the second input; and the browser updates the first LOGO icon of the first website to the second LOGO icon according to the LOGO updating information. According to the scheme, the LOGO icons can be intelligently switched according to the user identity information, or the LOGO icons can be intelligently switched when the page jumps, so that flexible and various display effects of the LOGO icons are improved.

Description

Intelligent updating method and communication system for website LOGO icon
Technical Field
The application belongs to the technical field of Internet, and particularly relates to an intelligent updating method and a communication system for a website LOGO icon.
Background
On each page tab of the browser, a website LOGO (favicon) is usually displayed, and the LOGO is a small icon on the tab page of the browser, including an icon for displaying the condition of collecting the website, etc. The LOGO icon can be words, graphics or a combination of the words and the graphics, and has the characteristics of attractive appearance, LOGO and the like. However, in general, the LOGO of the website is fixed and not modifiable by the user, but is too single, but when the user browses the website or web page, different user groups want the browser to display the specific LOGO to meet the needs of the user. Accordingly, the prior art is still in need of improvement.
Disclosure of Invention
The embodiment of the application provides an intelligent updating method and a communication system for a website LOGO icon, which can intelligently switch the LOGO icon according to user identity information or intelligently switch the LOGO icon when a page jumps, thereby improving the flexible and various display effect of the LOGO icon.
In a first aspect, an embodiment of the present application provides an intelligent update method for a website LOGO, including: the browser receives a first input of a user; responsive to the first input, the browser displaying a first page of a first website, the first page having a first LOGO displayed therein; the browser receives a second input of the user, wherein the second input contains user identity information or is an operation for triggering page skip; responsive to the second input, the browser obtains LOGO update information from the server, the LOGO update information including a storage address of the second LOGO icon in the server and indicating an update to the second LOGO icon, the LOGO update
Information is determined from the second input; and the browser updates the first LOGO icon of the first website to the second LOGO icon according to the LOGO updating information.
Further, the LOGO update information is a first code field including a first address where the second LOGO icon is stored in the server. The browser updates a first LOGO icon displayed in a first page of a first website to a second LOGO icon according to LOGO update information, and the method comprises the following steps: executing the first code segment by the browser, and calling the first address to acquire a second LOGO icon; and updating the first LOGO icon displayed in the first page of the first website to a second LOGO icon.
Further, the first page is a login page of the first website, the second input is input of a user logging in the first website, and the user identity information comprises a first user name and a first password. Wherein, responsive to the second input, the browser obtains the LOGO update information from the server, comprising: responsive to the second input, the browser sending a first request message to the server, the first request message including a first username and a first password, the first request message for requesting verification of whether the first website is authorized to be logged in according to the first username and the first password; the browser receives a first response message sent by the server, wherein the first response message is used for indicating that verification based on a first user name and a first password is successful, and the first response message comprises LOGO update information; the LOGO update information is determined according to the user identity information.
Further, when the first user name corresponds to the first user identity, the second LOGO icon is a LOGO icon corresponding to the first user identity; when the first user name corresponds to the second user identity, the second LOGO icon is a LOGO icon corresponding to the second user identity. The first user identity is a common user and the second user identity is a member or administrator. The second LOGO icon is different from the first LOGO icon, and the first LOGO icon is a LOGO icon set by default on the first website.
Further, the first website is provided with a first control for user-defining a LOGO icon.
The method further comprises the steps of: the browser receives a third input of the user to the first control; responding to the third input, displaying first prompt information by the browser, wherein the first prompt information is used for prompting a user to input a picture serving as a custom LOGO icon; the browser receives a fourth input of a user, wherein the fourth input is the operation of inputting a first user name and a first picture by the user; responding to the fourth input, the browser sends a second request message to the server, wherein the second request message comprises a first user name and a first picture, and the second request message is used for requesting the first picture to serve as a custom LOGO icon corresponding to the first user name; and the server receives the second request message, and stores the custom LOGO icon corresponding to the first user name in the server according to the second address according to the second request message.
Further, the method further comprises: when the user logs in the first website again, the browser sends a third request message to the server, wherein the third request message comprises a first user name and a first password; the server receives the third request message, and searches the custom LOGO icon corresponding to the first user name in the server according to the first user name; the server sends a third response message to the browser, wherein the third response message is used for indicating that verification based on the first user name and the first password is successful, and the third response message comprises a second address of the custom LOGO icon in the server.
Further, the third response message includes a second code field including a second address of the custom LOGO icon in the server.
The method further comprises the steps of: the browser receives a third response message sent by the server; executing a second code field by the browser, and calling a second address to acquire a custom LOGO icon; and updating the LOGO icon displayed by the first website into a custom LOGO icon.
Further, the second input triggers a jump from the first page to the second page of the first website for the user. Wherein, responsive to the second input, the browser obtains the LOGO update information from the server, comprising: responsive to the second input, the browser sending a fourth request message to the server, the fourth request message requesting a jump from the first page to the second page of the first website; and the browser receives a fourth response message sent by the server, wherein the fourth response message comprises the resource information of the second page and the LOGO updating information.
In a second aspect, the present application further provides a communication system for updating a website LOGO icon, where the communication system includes a browser and a server.
The browser is configured to display a first page of a first website in response to a first input from a user, the first page having a first LOGO displayed therein.
The browser is further configured to send a request message to the server in response to the second input by the user, the request message including a user name entered by the user when the user logs into the first web site, or the request message being configured to instruct a jump from a first page to a second page of the first web site.
The server is used for receiving the request message, determining LOGO update information according to the request message and sending the LOGO update information to the browser; the LOGO update information comprises a storage address of the second LOGO icon in the server and is used for indicating updating to the second LOGO icon.
The browser is further configured to receive the LOGO update information, and update a first LOGO icon displayed in a first page of the first website to a second LOGO icon according to the LOGO update information.
In a third aspect, the present application also provides a computer readable storage medium storing a smart update program for implementing a website LOGO icon, which when executed by a computer, causes the computer to perform the method of the first aspect.
In a fourth aspect, the present application provides an intelligent updating apparatus for a website LOGO, the apparatus comprising means for performing the method of the first aspect. The apparatus may correspond to performing the method described in the first aspect, and the relevant descriptions of the units in the apparatus are referred to the description of the first aspect, which is omitted herein for brevity.
The method described in the first aspect may be implemented by hardware, or may be implemented by executing corresponding software by hardware. The hardware or software includes one or more modules or units corresponding to the functions described above. Such as a processing module or unit, a display module or unit, etc.
In a fifth aspect, the application provides an electronic device having a browser installed thereon, the electronic device comprising a processor coupled to a memory for storing computer programs or instructions, the processor for executing the computer programs or instructions stored by the memory such that the method of the first aspect is performed. For example, the processor is configured to execute a computer program or instructions stored in the memory, to cause the browser to perform the method of the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, which when run on an electronic device, causes the electronic device to perform the method for intelligently updating a website LOGO icon of any one of the first aspects above.
Compared with the prior art, the embodiment of the application has the beneficial effects that:
according to the scheme, when logging in the website through the browser, the website LOGO icon corresponding to the user identity information can be displayed according to the user identity information, or different LOGO icons can be displayed when the user jumps to different pages. Therefore, the LOGO icon can be intelligently switched according to the user identity information, or can be intelligently switched when the page jumps, so that the flexible and various display effect of the LOGO icon is improved.
In addition, the scheme of the application can also support user-defined website LOGO icons, allows the user to upload LOGO to modify the website LOGO icons, and can display the user-defined LOGO icons when the user opens the website again. According to the scheme of the application, different website LOGO icons are displayed for the user to check according to the user requirements or business logic. The method is convenient to set and simple to operate, can fully meet the requirement of a user on changing the LOGO of the website, enhances the self-defining function of the LOGO of the website, and improves the experience of the user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a communication system according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating a method for intelligently updating a web site LOGO icon according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an interface of an application of an intelligent update method for a website LOGO icon according to an embodiment of the present application;
FIG. 4 is a diagram illustrating code fields applicable to a method for intelligent updating of a Web site LOGO icon in accordance with one embodiment of the present application;
FIG. 5 is a schematic diagram of a browser-server interaction flow for an intelligent update method for a Web site LOGO icon according to an embodiment of the present application;
FIG. 6 is a schematic diagram of an interface of an application of a method for intelligent update of a Web site LOGO icon according to an embodiment of the present application;
FIG. 7 is an interface diagram of an application of a method for intelligent updating of a Web site LOGO icon according to another embodiment of the present application;
FIG. 8 is an interface diagram of an application of a method for intelligent updating of a Web site LOGO icon according to another embodiment of the present application;
FIG. 9 is a flowchart illustrating a method for intelligently updating a website LOGO icon according to an embodiment of the present application;
FIG. 10 is an interface schematic diagram of an application of an intelligent update method for a website LOGO icon according to an embodiment of the present application;
FIG. 11 is an interface schematic diagram of an application of the intelligent update method of a website LOGO icon provided by the embodiment of the application;
FIG. 12 is a flowchart illustrating a method for intelligently updating a website LOGO icon according to an embodiment of the present application;
FIG. 13 is an interface schematic diagram of an application of the method for intelligently updating a Web site LOGO icon provided by an embodiment of the present application;
FIG. 14 is a schematic block diagram of a website LOGO icon intelligent update communication system according to an embodiment of the present application;
FIG. 15 is a block diagram illustrating a configuration of a device for intelligently updating a Web site LOGO icon according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details.
Fig. 1 is a schematic diagram of a communication system according to an embodiment of the present application. The communication system includes: an electronic device 101 and a server 102, wherein the electronic device 101 is installed with a browser application (which may also be simply referred to as browser). The electronic device 101 and the server 102 communicate via a wired and/or wireless network. The communication system provided by the embodiment of the application can be applied to Browser/Server (B/S) architecture. The intelligent updating method of the website LOGO icon provided by the embodiment of the application is applied to the B/S architecture.
The electronic device 101 may be a personal computer (personal computer, PC), among others.
Fig. 2 shows a schematic flowchart of a method for intelligently updating a website LOGO, which is provided by the present application, and the method can be applied to the electronic device 101, and the electronic device 101 is provided with a browser application by way of example and not limitation.
S201, the browser receives a first input of a user.
Optionally, the first input may be an operation of clicking the link of the first website in the browser interface by the user, or an operation of inputting a keyword of the first website in the search box by the user to perform search, or another possible operation of triggering to open the first website, which may be specifically determined according to the actual use requirement, and the embodiment of the present application is not limited.
S202, responding to a first input, displaying a first page of a first website by the browser, wherein a first LOGO icon is displayed in the first page. In the embodiment of the application, the LOGO icon can also be called LOGO, or LOGO icon or LOGO.
Wherein the LOGO icon of the browser displaying website is determined depending on the code field obtained from the server, and what icon is specifically displayed is determined by the icon address in the code field. The nature of updating the LOGO icon is to switch the address of the LOGO icon in this code.
The first LOGO icon is a LOGO icon set by default for the first website. For example, as shown in fig. 3, after the user clicks on a link of the first website (corresponding to the first website) or inputs a keyword of the first website to search in the browser interface, the browser may display a main page or other sub-page (i.e., the first page) of the first website, and may display a corresponding tab page, in which a LOGO icon (i.e., the first LOGO) default to the first website is typically displayed.
Alternatively, the display of the first LOGO icon is determined for a code field (referred to herein as an original field) that the browser retrieves from the server, which may include an address (referred to herein as an original address) at which the first LOGO icon is stored in the server.
S203, the browser receives a second input of the user, wherein the second input contains user identity information or is an operation for triggering page skip.
S204, in response to the second input, the browser obtains, from the server, LOGO update information including a storage address of the second LOGO icon in the server and indicating an update to the second LOGO icon, the LOGO update information being determined according to the second input.
It is understood that the second LOGO icon is different from the first LOGO icon.
Alternatively, the LOGO update information may be a code field (referred to herein as a first code field) that may include an address (referred to herein as a first address) where the second LOGO icon is stored in the server.
Fig. 4 exemplarily shows two code fields (a) and (b), in which href represents an address where the LOGO is stored in the server, and favicon.
As shown in fig. 4 (a), href represents the original address where the first LOGO is stored in the server, and favicon. As shown in (b) of fig. 4, href indicates a first address where the second LOGO icon is stored in the server, and favicon. As can be seen from fig. 4, as the code field acquired by the browser from the server changes, the address of the LOGO icon in the code changes, so the LOGO icon displayed by the browser correspondingly changes.
S205, the browser updates the first LOGO icon displayed in the first page of the first website to the second LOGO icon according to the LOGO updating information.
In one possible implementation, after the browser receives the first code segment returned by the server, the browser may execute the first code segment and call the first address to obtain the second LOGO icon; then, the browser updates the first LOGO icon displayed in the first page of the first website to the second LOGO icon.
Optionally, the embodiment of the application provides the following implementation manner corresponding to the website login scene and the implementation manner corresponding to the website page jump scene.
First implementation: website login scene
In this embodiment, the method for determining the web site LOGO according to the user identity information includes: the user displays a unique LOGO for a member or administrator, the user does not display other LOGOs for a member or administrator, or jumps to a different page to display a different LOGO. The problem that a website LOGO icon can not be switched according to conditions in the prior art is solved.
In this embodiment, the method for determining the web site LOGO according to the user identity information includes: the user displays a unique LOGO for a member or administrator, the user does not display other LOGOs for a member or administrator, or jumps to a different page to display a different LOGO. The problem that a website LOGO icon can not be switched according to conditions in the prior art is solved.
Specifically, in the first implementation, the first page may be a login page of the first website, and the second input may be an input that the user logs in to the first website, where the user identity information may include a first user name (also referred to as an account) and a first password.
When a user logs in to a website, a corresponding website LOGO icon can be determined according to the user identity information, and then a default website LOGO icon is updated and displayed as the website LOGO icon corresponding to the user identity information.
Alternatively, the server may store the one-to-one correspondence between the user identity information and the LOGO icon in advance. Table 1 below exemplarily shows the correspondence between user identity information and LOGO icons.
TABLE 1
User identity information Corresponding LOGO icon
Ordinary user LOGO icon 1
Member (member) LOGO icon 2
Administrator(s) LOGO icon 3
It will be appreciated that the LOGO icons 1, 2 and 3 are different LOGO icons preset for the general user, member and administrator, respectively. The form of the LOGO icon is not limited, and may be different in terms of color, style, or graphic plus text. For example, a user logs into a website using Zhang Sanhe as an administrator, and the website LOGO becomes gold, or the member displays a different LOGO. Of course, the same LOGO icon may also be preset for members and administrators. The method can be specifically determined according to actual use requirements, and the embodiment of the application is not limited.
Alternatively, the server may determine whether the user identity is a general user or a member or administrator based on the user name and the identity registration information. Wherein the identity registration information may be recorded in a list form or other forms. Table 2 below exemplarily shows identity registration information containing a large number of user names, each of which corresponds to one user identity.
Illustratively, when the user name is 111, the user identity corresponding to the user name 111 is known to be a normal user through the lookup table 2.
Illustratively, when the user name is 333, the user identity corresponding to the user name 333 is known to be a member through the lookup table 2.
TABLE 2
User name User identity
111 Ordinary user
222 Ordinary user
333 Member (member)
444 Member (member)
555 Member (member)
666 Administrator(s)
It will be appreciated that the server may register the identity of the user at the time of registration of the user, thereby obtaining identity registration information. For example, when a user registers a certain website with a general user, a user name input by the user may be registered as the general user. When a user registers a certain website with a member, a user name input by the user is registered as a member.
Of course, the server may also determine whether the user identity is a general user or a member or administrator based on the user name and password together.
When a user logs in a website, the user needs to input user identity information, and the browser acquires the user identity information and sends the user identity information to the server. After the server learns the user identity information, the server may determine the LOGO icon corresponding to the user identity information based on the pre-stored correspondence.
For example, when the user identity information indicates the normal user, the server may determine that the LOGO icon corresponding to the normal user is the LOGO icon 1, where the LOGO icon 1 is the second LOGO icon.
For another example, when the user identity information indicates a member, the server may determine that the LOGO icon corresponding to the member is the LOGO icon 2, where the LOGO icon 2 is the second LOGO icon.
For another example, when the user identity information indicates an administrator, the server may determine that the LOGO icon corresponding to the administrator is the LOGO icon 3, where the LOGO icon 3 is the second LOGO icon.
It will be appreciated that each LOGO icon is stored in a server (e.g., a disk in the server, a file server, or other storage medium capable of storing files), and each LOGO icon corresponding to different user identity information corresponds to a storage address.
In the embodiment of the application, the LOGO icon corresponding to the user identity information can be determined according to the user identity information, and the code field (namely LOGO update information) is generated based on the storage address of the LOGO icon in the server. As shown in fig. 4 above, the code field contains the storage address of the LOGO icon in the server; in particular, according to the scheme of the application, the first LOGO icon and the second LOGO icon respectively have different storage addresses, and correspondingly, the first LOGO icon and the second LOGO icon respectively correspond to different code fields.
The manner how to determine the LOGO update information according to the user identity information in the login website scene is described above, and how the browser performs information interaction with the server to achieve the acquisition of the LOGO update information is described in detail below with reference to fig. 5. As shown in fig. 5, the interaction flow of the browser and the server may include S501 to S512 described below.
S501, the browser receives a first input of a user.
S502, responding to a first input of a user, displaying a login page of a first website by the browser, wherein a first LOGO icon is displayed in the login page.
S503, the browser receives a second input of the user on the login page, wherein the second input is an operation of logging in the first website by the user.
S504, responding to the second input, the browser transmits a first request message to the server, wherein the first request message comprises a first user name and a first password.
The first request message is used for requesting verification whether the first website is authorized to be logged in according to the first user name and the first password.
S505, the server receives the first request message.
S506, the server performs user identity verification according to the first user name and the first password.
S507, the server determines the user identity corresponding to the first user name according to the first user name, and determines the LOGO icon corresponding to the user identity.
S508, the server generates a code field, wherein the code field comprises a storage address of the LOGO icon corresponding to the user identity in the server.
S509, the server sends a first response message to the browser, where the first response message is used to indicate that verification based on the first user name and the first password is successful, and the first response message includes the LOGO update information.
S510, the browser receives a first response message sent by the server.
S511, the browser executes the first code segment according to the LOGO update information and calls the first address to acquire the second LOGO icon.
S512, the browser updates the first LOGO icon displayed on the first website to the second LOGO icon.
FIG. 6 shows a schematic interface diagram of LOGO icon update when logging into a website. As shown in (a) of fig. 6, an input box of a user name and a password is displayed in a login interface of the first website, and a first LOGO (a LOGO displayed by default) is displayed in a tab page of the first website. The user may enter a user name and password, respectively, in the input box to log into the first website. As shown in fig. 6 (b), after the user successfully logs in to the first website, the browser displays a prompt for successful login, and may display the user identity as a member, and updates the tab page of the first website to display a second log (log corresponding to the user identity).
The second implementation mode: web site page jump scene
In this embodiment, the method of allowing the user to customize the LOGO of the website allows the user to upload the LOGO to modify the LOGO of the website, and when the user opens the website, the user-defined LOGO is displayed; the method solves the problem that a user cannot customize and modify the website LOGO.
Specifically, in the second implementation, the second input may trigger an operation for the user to jump from the first page to the second page of the first website.
When a web page jumps, the web LOGO icon may be updated as the page jumps.
In one embodiment, the page jump may be that a second page is additionally displayed on the basis of the first page, where the first page and the second page exist simultaneously, and different LOGO icons are displayed in the first page and the second page respectively.
Illustratively, FIG. 7 shows a schematic interface diagram of LOGO icon update when a web page jumps. As shown in fig. 7 (a), when the first page is displayed, the first LOGO is displayed in the tab page 1. As shown in fig. 7 (b), when the second page is displayed by jumping from the first page, the tab bar is increased by one tab page 2, and the second LOGO is displayed in the tab page 2. By the scheme, different LOGO icons can be displayed on different pages.
In another embodiment, the page jump may be where the second page overlays or replaces the first page. At this time, only the second page is displayed, but the first page is not displayed, and the LOGO icon displayed in the second page is different from the LOGO icon displayed in the previous first page.
Illustratively, FIG. 8 shows another interface schematic for LOGO icon update when a web page jumps. As shown in fig. 8 (a), when the first page is displayed, the first LOGO is displayed in the tab page 1. As shown in fig. 8 (b), when the second page is displayed by jumping from the first page, the first page is replaced with the second page, and correspondingly, the LOGO icon in the tab bar is also replaced, for example, the LOGO icon in tab bar 1 is updated from the first LOGO to the second LOGO. By the scheme, different LOGO icons can be displayed on different pages.
In the embodiment of the application, the website page skip refers to the page skip in the project management system.
In a second embodiment, after the browser receives the operation that the user triggers the page skip (i.e., the second input), the browser sends a fourth request message to the server to request a skip from the first page to the second page of the first website. And the server returns a fourth response message to the browser according to the fourth request message, wherein the fourth response message comprises resource information of the second page and LOGO update information, and the LOGO update information is a code field containing address 2. And the browser receives a fourth response message sent by the server, executes the code field according to the LOGO updating information, and calls the address 2 to acquire a second LOGO icon corresponding to the address 2. The browser updates the page and updates the LOGO icon, for example, to update a first LOGO icon displayed on the first website to a second LOGO icon.
The above embodiments describe in detail the implementation manner of the LOGO icon update when logging in the website or skipping the page, and the embodiments of the present application also support the user to customize the website LOGO icon, and the following describes in detail the possible implementation manner of the user to customize the website LOGO icon with reference to the accompanying drawings.
In some embodiments, the first website is provided with a first control for a user-defined LOGO icon. For example, a first control is provided in a custom LOGO settings page. Embodiments of the present application are not limited to the form of the first control, and may be represented, for example, as a "+" icon. The user can click the first control to add the picture as the LOGO icon, input information such as a user name and the like, and perform custom setting on the LOGO icon.
For example, as shown in fig. 9, the method provided by the embodiment of the present application may further include S901 to S905 described below.
And S901, the browser receives a third input of the user to the first control.
As shown in fig. 10, an input box of user information such as "+" and a user name is displayed in the custom LOGO setting page, where "+" represents a first control for the user to upload a LOGO picture.
S902, responding to the third input, displaying first prompt information by the browser, wherein the first prompt information is used for prompting a user to input a picture serving as a custom LOGO icon.
For example, after the user clicks the first control, the electronic device automatically jumps to the page on which the gallery or album is located. The user can select the required pictures on the page of the gallery or album according to personal requirements to serve as the customized LOGO icon.
S903, the browser receives a fourth input of the user, which is an operation of the user to input the first user name and the first picture.
As shown in fig. 11, when the user selects the first picture (selects picture 3 as the custom LOGO icon) on the page of the gallery or album, the electronic device automatically jumps back to the custom LOGO setting page. The user inputs an account (also called a user name) in an account column of the custom LOGO setting page, and clicks a save control, so that custom LOGO setting is completed.
S904, in response to the fourth input, the browser sends a second request message to the server, where the second request message includes the first user name and the first picture, and the second request message is used to request the first picture to be a custom LOGO icon corresponding to the first user name.
S905, the server receives the second request message, and stores the custom LOGO icon corresponding to the first user name in the server according to the second address.
The LOGO icon of the website of the browser usually supports square ico format pictures or png format pictures of 16×16, 32×32, 48×48 pixels, so after the LOGO picture is uploaded to the server by the user, the server needs to transcode and compress the LOGO picture to be in accordance with the display standard of the browser. After receiving the LOGO picture uploaded by the user, the server transcodes the LOGO picture uploaded by the user into one of the above-described satisfactory picture formats and stores the picture in the server.
Referring to fig. 9, as shown in fig. 12, after step S905, the method provided by the embodiment of the present application may further include S906 to S910 described below.
S906, in the case that the user logs in the first website again, the browser sends a third request message to the server, where the third request message includes the first user name and the first password.
S907, the server receives the third request message, and according to the first user name, the custom LOGO icon corresponding to the first user name is retrieved in the server.
S908, the server sends a third response message to the browser, where the third response message is used to indicate that the authentication based on the first user name and the first password is successful, and the third response message includes a second address of the custom LOGO icon in the server.
The third response message comprises a second code field, and the second code field comprises a second address of the custom LOGO icon in the server.
S909, after receiving the third response message sent by the server, the browser executes the second code field and invokes the second address to obtain the custom LOGO.
Optionally, if the second address of the custom LOGO icon in the server is empty, the first browser website displays the first LOGO icon (the LOGO icon displayed by default), and if the second address of the custom LOGO icon in the server is not empty, the browser executes the second code field after the user logs in to the first website successfully, and updates the LOGO icon displayed by the first website to the LOGO icon customized by the user.
S910, the browser updates the LOGO icon displayed on the first website to a custom LOGO icon.
FIG. 13 is a diagram of an interface for LOGO icon update when logging into a website. As shown in (a) of fig. 13, an input box of a user name and a password is displayed in a login interface of the first website, and a first LOGO (a LOGO displayed by default) is displayed in a tab page of the first website. The user may enter a user name and password, respectively, in the input box to log into the first website. As shown in fig. 13 (b), after the user successfully logs in to the first website, the browser displays prompt information of successful login, if the second address of the custom LOGO icon in the server is empty, the first website of the browser still displays the first LOGO icon (such as the default LOGO icon in fig. (a)), if the second address of the custom LOGO icon in the server is not empty, the browser executes the second code field after the user successfully logs in to the first website, and updates the LOGO icon displayed by the first website to the user-defined LOGO icon.
By the scheme of the application, the user-defined website LOGO icon can be supported, the user is allowed to upload LOGO to modify the website LOGO icon, and the user-defined LOGO icon can be displayed when the user opens the website again. Therefore, different website LOGO icons are displayed for the user to view according to the user requirements or business logic. The method is convenient to set and simple to operate, can fully meet the requirement of a user on changing the LOGO of the website, enhances the self-defining function of the LOGO of the website, and improves the experience of the user.
FIG. 14 is a schematic block diagram showing interaction between a browser and a server in a method for intelligently updating a Web site LOGO icon according to an embodiment of the present application.
The browser of the user is installed on the computer of the user, and when the user accesses a certain website, LOGO of the website is displayed on the tab page.
As shown in fig. 14, the browser side further includes a front end code 141, which is a code running inside the user browser, and is sent to the browser by the client server, and the browser is responsible for executing, and the code is responsible for letting the user select a picture file in the user computer and send to the server for processing.
As shown in fig. 14, a user may log in and access a website at the browser side. After the user inputs the website by using the browser, the browser requests to log in the website to the server, and the server receives the request and sends the resource (code field containing the LOGO address) to the browser. The browser executes the code field, and calls the address in the code field to acquire the LOGO icon and displays the LOGO icon.
As shown in fig. 14, the browser side may preset a passcode (front-end code) on a picture, and may perform the picture uploading code according to a user's demand. The browser side uploads the LOGO picture file selected by the user to the server side, and the server side stores the LOGO file selected by the user in association with the user name, so that the user-defined LOGO setting is realized.
The server is a remote host, and includes modules such as back-end program code, databases, hard disks, and the like. The server module is responsible for receiving the picture sent by the front-end code, performing format conversion, transcoding, etc. on the picture, storing the processed picture file or file path in a storage medium such as a database or a disk, as shown in fig. 14, storing the file body in the storage medium 144, or directly storing the base64 character string of the picture in the database (the stored file may have different schemes), when the user requests the website, returning to the specific website LOGO by judging the account number of the user.
The server side may include a database 142 for storing text information, i.e., information such as picture addresses and user ids, etc., in the database. The database can be a relational database such as mysql or oracle, a non-relational database such as redis or MongoDB, or other storage media for storing data.
The server side further includes a back-end code 143, configured to receive the picture file sent by the browser, perform operations such as format conversion and compression on the file, and is responsible for storing the file in a persistence layer (media capable of persistently storing data, such as a disk or a database).
After receiving the LOGO picture uploaded by the user, the server transcodes the LOGO picture uploaded by the user into one of the above-described satisfactory picture formats through the back-end code 143, and stores the LOGO picture in the server.
Illustratively, the LOGO image uploaded by the user can be converted into a ico image format of 32 x 32 pixels and then stored in the server, and the LOGO image can be easily transcoded by using an open source conversion toolkit.
The server side also includes a storage medium 144 for storing data, i.e., LOGO picture files displayed by default and user-defined LOGO picture files sent by the browser. The storage medium may be a remote file server, or a server disk, or other storage medium.
Alternatively, as shown in fig. 14, the server stores the transcoded picture file in a storage medium (file server) 144, and simultaneously stores text information (information such as address and user id) of the picture in a database 142.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
Corresponding to the method for intelligently updating the website LOGO icon described in the above embodiment, fig. 15 shows a block diagram of an intelligent updating device for the website LOGO icon provided in the embodiment of the present application, and for convenience of explanation, only the relevant parts of the embodiment of the present application are shown.
Referring to fig. 15, the apparatus includes a receiving unit 1501, a display unit 1502, and a communication unit 1503.
A receiving unit 1501 for receiving a first input of a user.
The display unit 1502 is configured to display, in response to a first input, a first page of a first website, where a first LOGO icon is displayed.
The receiving unit 1501 is further configured to receive a second input of the user, where the second input includes user identity information or is an operation for triggering page skip.
A communication unit 1503 for obtaining, in response to the second input, LOGO update information from the server, the LOGO update information comprising a storage address of the second LOGO icon in the server and for indicating an update to the second LOGO icon, the LOGO update information being determined according to the second input.
The display unit 1502 is further configured to update the first LOGO icon of the first website to the second LOGO icon according to the LOGO update information.
It should be noted that, because the content of information interaction and execution process between the above devices/units is based on the same concept as the method embodiment of the present application, specific functions and technical effects thereof may be referred to in the method embodiment section, and will not be described herein.
The embodiment of the application also provides electronic equipment, which comprises: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, which when executed by the processor performs the steps of any of the various method embodiments described above.
Embodiments of the present application also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements steps for implementing the various method embodiments described above.
Embodiments of the present application also provide a computer program product which, when run on an electronic device, causes the electronic device to perform steps that may be performed by the various method embodiments described above.
In summary, the solution of the present application can display the website LOGO icon corresponding to the user identity information according to the user identity information when logging in the website through the browser, or display different LOGO icons when jumping to different pages, and in addition, the solution of the present application can support the user to customize the website LOGO icon, and allow the user to upload the user-defined LOGO image to modify the website LOGO icon. According to the scheme provided by the application, the LOGO icons can be intelligently switched according to the user identity information, or the LOGO icons can be intelligently switched when the page jumps, so that the flexible and various display effects of the LOGO icons are improved, and different website LOGO icons can be displayed for the user to check according to the user demands or business logic. The method is convenient to set and simple to operate, can fully meet the requirement of a user on changing the LOGO of the website, enhances the self-defining function of the LOGO of the website, and improves the experience of the user.
The above embodiments are only for illustrating the technical solution of the present application, and are not limited thereto. Although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (7)

1. An intelligent updating method of a website LOGO icon is characterized by comprising the following steps:
the browser receives a first input of a user;
responding to the first input, and displaying a first page of a first website by the browser, wherein a first LOGO icon is displayed in the first page; wherein, the LOGO icon of the browser display website is determined by the code field acquired from the server and determined by the icon address in the code field; the first LOGO icon is a LOGO icon set by default of the first website;
the browser receives a second input of a user, wherein the second input comprises user identity information or is an operation for triggering page skip;
responsive to the second input, the browser obtains, from a server, LOGO update information comprising a storage address of a second LOGO icon in the server and indicating an update to the second LOGO icon, the LOGO update information determined from the second input;
the browser updates the first LOGO icon of the first website to the second LOGO icon according to the LOGO updating information;
the first website is provided with a first control for user-defined LOGO icons;
The method further comprises the steps of:
the browser receives a third input of a user to the first control;
responding to the third input, displaying first prompt information by the browser, wherein the first prompt information is used for prompting a user to input a picture serving as a custom LOGO icon;
the browser receives a fourth input of a user, wherein the fourth input is an operation of inputting a first user name and a first picture by the user;
responding to the fourth input, the browser sends a second request message to the server, wherein the second request message comprises the first user name and the first picture, and the second request message is used for requesting the first picture to serve as a custom LOGO icon corresponding to the first user name;
the server receives the second request message, and stores the custom LOGO icon corresponding to the first user name in the server according to a second address according to the second request message;
when the user logs in the first website again, the browser sends a third request message to the server, wherein the third request message comprises the first user name and the first password;
the server receives the third request message, and searches a custom LOGO icon corresponding to the first user name in the server according to the first user name;
The server sends a third response message to the browser, wherein the third response message is used for indicating that verification based on the first user name and the first password is successful, and the third response message comprises the second address of the custom LOGO icon in the server;
the third response message includes a second code field including a second address of the custom LOGO icon in the server;
the browser receives the third response message sent by the server;
executing the second code field by the browser, and calling the second address to acquire the custom LOGO icon;
and updating the LOGO icon displayed by the first website into the custom LOGO icon.
2. The method of claim 1, wherein the LOGO update information is a first code field comprising a first address where the second LOGO icon is stored in the server;
the browser updates the first LOGO icon displayed in the first page of the first website to the second LOGO icon according to the LOGO update information, including:
The browser executes the first code field and calls the first address to acquire the second LOGO icon;
updating the first LOGO icon displayed in the first page of the first website to the second LOGO icon.
3. The method of claim 2, wherein the first page is a login page of the first website, the second input is an input of a user logging into the first website, and the user identity information includes a first user name and a first password;
wherein the browser, in response to the second input, obtains LOGO update information from a server, comprising:
responsive to the second input, the browser sends a first request message to the server, the first request message including the first username and the first password, the first request message for requesting verification of whether the first website is authorized to be logged in according to the first username and the first password;
the browser receives a first response message sent by the server, wherein the first response message is used for indicating that verification based on the first user name and the first password is successful, and the first response message comprises the LOGO updating information;
Wherein the LOGO update information is determined based on the user identity information.
4. The method of claim 3, wherein the method comprises,
when the first user name corresponds to a first user identity, the second LOGO icon is a LOGO icon corresponding to the first user identity;
when the first user name corresponds to a second user identity, the second LOGO icon is a LOGO icon corresponding to the second user identity;
the first user identity is a common user, and the second user identity is a member or an administrator;
the second LOGO icon is different from the first LOGO icon, and the first LOGO icon is a LOGO icon set by default for the first website.
5. The method of claim 1 or 2, wherein the second input is a user trigger a jump from a first page to a second page of the first website;
wherein the browser, in response to the second input, obtains LOGO update information from a server, comprising:
responsive to the second input, the browser sends a fourth request message to the server, the fourth request message requesting a jump from a first page to a second page of the first website;
And the browser receives a fourth response message sent by the server, wherein the fourth response message comprises the resource information of the second page and the LOGO updating information.
6. A communication system for updating a web LOGO, the communication system comprising a browser and a server;
the browser is used for responding to first input of a user, displaying a first page of a first website, and displaying a first LOGO icon in the first page; wherein, the LOGO icon of the browser display website is determined by the code field acquired from the server and determined by the icon address in the code field; the first LOGO icon is a LOGO icon set by default of the first website;
the browser is further configured to send a request message to the server in response to a second input of the user, where the request message includes a user name input by the user when the user logs in to the first website, or the request message is used to instruct a jump from a first page to a second page of the first website;
the server is used for receiving the request message, determining LOGO update information according to the request message and sending the LOGO update information to the browser; wherein the LOGO update information comprises a storage address of a second LOGO icon in the server and is used for indicating updating to the second LOGO icon;
The browser is further configured to receive the LOGO update information, and update the first LOGO icon displayed in the first page of the first website to the second LOGO icon according to the LOGO update information;
the first website is provided with a first control for user-defined LOGO icons;
the browser receives a third input of a user to the first control;
responding to the third input, displaying first prompt information by the browser, wherein the first prompt information is used for prompting a user to input a picture serving as a custom LOGO icon;
the browser receives a fourth input of a user, wherein the fourth input is an operation of inputting a first user name and a first picture by the user;
responding to the fourth input, the browser sends a second request message to the server, wherein the second request message comprises the first user name and the first picture, and the second request message is used for requesting the first picture to serve as a custom LOGO icon corresponding to the first user name;
the server receives the second request message, and stores the custom LOGO icon corresponding to the first user name in the server according to a second address according to the second request message;
When the user logs in the first website again, the browser sends a third request message to the server, wherein the third request message comprises the first user name and the first password;
the server receives the third request message, and searches a custom LOGO icon corresponding to the first user name in the server according to the first user name;
the server sends a third response message to the browser, wherein the third response message is used for indicating that verification based on the first user name and the first password is successful, and the third response message comprises the second address of the custom LOGO icon in the server;
the third response message includes a second code field including a second address of the custom LOGO icon in the server;
the browser receives the third response message sent by the server;
executing the second code field by the browser, and calling the second address to acquire the custom LOGO icon;
and updating the LOGO icon displayed by the first website into the custom LOGO icon.
7. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the method according to any one of claims 1 to 5.
CN202210584159.7A 2022-05-26 2022-05-26 Intelligent updating method and communication system for website LOGO icon Active CN114911388B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210584159.7A CN114911388B (en) 2022-05-26 2022-05-26 Intelligent updating method and communication system for website LOGO icon

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210584159.7A CN114911388B (en) 2022-05-26 2022-05-26 Intelligent updating method and communication system for website LOGO icon

Publications (2)

Publication Number Publication Date
CN114911388A CN114911388A (en) 2022-08-16
CN114911388B true CN114911388B (en) 2023-11-21

Family

ID=82769541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210584159.7A Active CN114911388B (en) 2022-05-26 2022-05-26 Intelligent updating method and communication system for website LOGO icon

Country Status (1)

Country Link
CN (1) CN114911388B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117093108B (en) * 2023-10-19 2023-12-29 江苏捷成明道文化科技有限公司 Data regulation and control system and method applied to intelligent exhibition hall interaction

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105608195A (en) * 2015-12-23 2016-05-25 北京奇虎科技有限公司 Method and system for adding website icon to official website among search results
CN110580319A (en) * 2019-07-18 2019-12-17 北京小米移动软件有限公司 Webpage label display method and device, electronic equipment and storage medium
CN112529343A (en) * 2019-09-17 2021-03-19 阿里巴巴集团控股有限公司 Task state display method, device and computer readable medium
CN112799741A (en) * 2021-02-08 2021-05-14 北京乐学帮网络技术有限公司 Application program differentiation method and device, electronic equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7594193B2 (en) * 2007-02-06 2009-09-22 Novell, Inc. Visual indication of user role in an address bar
KR101541811B1 (en) * 2009-12-11 2015-08-04 삼성전자주식회사 Apparatus and method for providing bookmark service in communication terminal
WO2012068520A2 (en) * 2010-11-18 2012-05-24 Google Inc. On-demand auto-fill
US9250765B2 (en) * 2011-02-08 2016-02-02 Google Inc. Changing icons for a web page
US20150347358A1 (en) * 2014-06-01 2015-12-03 Apple Inc. Concurrent display of webpage icon categories in content browser
US10275115B2 (en) * 2015-11-25 2019-04-30 Verizon Patent And Licensing Inc. Multifunction icon for user feedback including context information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105608195A (en) * 2015-12-23 2016-05-25 北京奇虎科技有限公司 Method and system for adding website icon to official website among search results
CN110580319A (en) * 2019-07-18 2019-12-17 北京小米移动软件有限公司 Webpage label display method and device, electronic equipment and storage medium
CN112529343A (en) * 2019-09-17 2021-03-19 阿里巴巴集团控股有限公司 Task state display method, device and computer readable medium
CN112799741A (en) * 2021-02-08 2021-05-14 北京乐学帮网络技术有限公司 Application program differentiation method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
rachel.《https://www.youkaoshi.cn/help/tutorial/35-administrator-operation/147-scqylg.html》.2017,第1-2页. *

Also Published As

Publication number Publication date
CN114911388A (en) 2022-08-16

Similar Documents

Publication Publication Date Title
US6976210B1 (en) Method and apparatus for web-site-independent personalization from multiple sites having user-determined extraction functionality
JP6272933B2 (en) Remote browsing session management
US9916293B2 (en) Module specification for a module to be incorporated into a container document
US20130080421A1 (en) Historical browsing session management
US20130080576A1 (en) Historical browsing session management
JP2002108870A (en) System and method for processing information
US9418388B1 (en) Techniques for displaying third party content
WO2007070402A2 (en) Proxy server collection of data for module incorporation into a container document
WO2007130547A2 (en) Remote module syndication system and method
US7506070B2 (en) Method and system for storing and retrieving extensible multi-dimensional display property configurations
US20140244784A1 (en) Website Impersonation System and Method
US10630755B2 (en) Selective consumption of web page data over a data-limited connection
US9706006B2 (en) System and method of context aware adaption of content for a mobile device
CN114911388B (en) Intelligent updating method and communication system for website LOGO icon
US20080275963A1 (en) Dynamically Modifying A Universal Resource Indicator
KR101265164B1 (en) System for providing shorten URL browsing with branding , method thereof, and web client thereof
US20080297521A1 (en) System and method for providing skins for a web page
RU2640635C2 (en) Method, system and server for transmitting personalized message to user electronic device
JP5393242B2 (en) Data providing method and intermediate server device
EP1389318B1 (en) Method and apparatus for web-site-independent information personalization from multiple sites having user-determined extraction functionality
JP2005115473A (en) Related information providing device
JP2013143097A (en) Information provision system and image management device
CN114077459A (en) Method, device, medium and product for controlling foreign access login
JP4502763B2 (en) Database usage system
US20180246980A1 (en) Uniform Resource Locator Link Generator

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