WO2018000604A1 - 一种信息显示方法、设备及服务器 - Google Patents

一种信息显示方法、设备及服务器 Download PDF

Info

Publication number
WO2018000604A1
WO2018000604A1 PCT/CN2016/099910 CN2016099910W WO2018000604A1 WO 2018000604 A1 WO2018000604 A1 WO 2018000604A1 CN 2016099910 W CN2016099910 W CN 2016099910W WO 2018000604 A1 WO2018000604 A1 WO 2018000604A1
Authority
WO
WIPO (PCT)
Prior art keywords
display area
information
preset information
webpage
display
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.)
Ceased
Application number
PCT/CN2016/099910
Other languages
English (en)
French (fr)
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.)
Le Holdings Beijing Co Ltd
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Le Holdings Beijing Co Ltd
Leshi Zhixin Electronic Technology Tianjin 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 Le Holdings Beijing Co Ltd, Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Le Holdings Beijing Co Ltd
Publication of WO2018000604A1 publication Critical patent/WO2018000604A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Definitions

  • the present invention relates to the field of electronic technologies, and in particular, to an information display method, device, and server.
  • the device when the device is displaying, it is usually necessary to add some information to the current display interface, such as pop-up window to display instant communication information; for example, when the user uses the search tool, the historical search content is displayed; for example, the user is on the webpage.
  • the browser displays auto-fill content, which is the user history input cached by the browser.
  • the user or device defines the default display area for these added displays, and the device always displays these added information in the default display area.
  • the inventors of the present invention have found that the information displayed by the display is always displayed in the default display area, and usually the partial information originally displayed in the interface is blocked, and the occluded information may be information that the user does not want to be occluded. Therefore, the existing information The above display method is not reasonable.
  • Embodiments of the present invention provide an information display method, device, and server for providing a manner of displaying information reasonably.
  • an embodiment of the present invention provides an information display method, including:
  • the second preset information is displayed in the display area that is blocked by the default display area, displaying the first preset information in the first display area of the upper layer of the webpage, and causing the second The display area does not overlap with the display area of the second preset information in the webpage.
  • the device After detecting the event that the first preset information needs to be displayed on the upper layer of the webpage, the device determines whether the default display area of the first preset information will block the second preset displayed in the webpage before displaying the first preset information. When the information is set, and the second preset information is blocked in the default display area, the device displays the first preset information and the second preset information at the same time, and keeps the two from overlapping, thereby preventing the two from occluding each other and ensuring that the user can The first preset information and the second preset information are simultaneously viewed.
  • the first display area on the upper layer of the webpage displays the first preset information, and the second display area and the second preset information in the webpage The display areas do not overlap, including:
  • the first display area is the default display area
  • the first display area of the upper layer of the webpage displays the first preset information
  • the second display is enabled.
  • the area does not overlap with the display area of the second preset information in the webpage, and includes:
  • the location change request for requesting the server to change a display area of the second preset information to a second display area that does not overlap the default display area;
  • the first preset information includes any one of historical input content, hotspot information, candidate information, and pop-up information; and/or,
  • the second preset information includes at least one of a verification code, an advertisement, control information, and status information.
  • the first preset information is information formed according to device local data.
  • an information display device including:
  • a detecting module configured to detect an event that needs to display the first preset information on a webpage upper layer
  • a determining module configured to determine, after the event is detected, whether the second preset information is displayed in a display area of the webpage that is used to display the default display area of the first preset information
  • a display module configured to display in the display area occluded by the default display area Displaying the second preset information, displaying the first preset information in the first display area of the upper layer of the webpage, and causing the second display area and the display area of the second preset information in the webpage Do not overlap.
  • the display module is specifically configured to: determine, in the upper layer of the webpage, the first display area that does not overlap with a current display area of the second preset information; The display area displays the first preset information.
  • the first display area is the default display area
  • the display module is specifically configured to: send a location change request to the server, where the location change request is used to request the server to The display area of the second preset information is changed to a second display area that does not overlap with the default display area; the first preset information is displayed in the default display area; and the webpage data updated by the server is received, And displaying the second preset information in the second display area according to the updated webpage data.
  • the first preset information includes any one of historical input content, hotspot information, candidate information, and pop-up information; and/or,
  • the second preset information includes at least one of a verification code, an advertisement, control information, and status information.
  • the first preset information is information formed according to device local data.
  • an embodiment of the present invention provides an information display method, including:
  • the server receives a location change request sent by the user equipment, where the location change request includes a second preset information that is displayed in the webpage, where the location change request is that the user terminal detects the current display of the second preset information.
  • the area is generated when the default display area of the first preset information to be displayed overlaps;
  • the server changes a display area of the second preset information to a second display area that does not overlap with the default display area;
  • the server updates the webpage data according to the second display area, and sends the updated webpage data to the user equipment, where the updated webpage data is used to display the user terminal in the second display area.
  • the second preset information is described.
  • the location change request includes information of the second display area
  • the location change request includes information of the first display area, and the information of the first display area is used to cause the server to determine the second display area.
  • an embodiment of the present invention provides a server, including:
  • a receiving module configured to receive a location change request sent by the user equipment, where the location change request includes a second preset information that is displayed in the webpage, where the location change request is that the user terminal detects the second preset
  • the current display area of the information is generated when the default display area of the first preset information to be displayed overlaps
  • a change module configured to change a display area of the second preset information to a second display area that does not overlap with the default display area, and update webpage data according to the second display area;
  • a sending module configured to send the updated webpage data to the user equipment, where the updated webpage data is used to enable the user terminal to display the second preset information in the second display area.
  • the location change request includes information of the second display area
  • the location change request includes information of the first display area, and the information of the first display area is used to cause the server to determine the second display area.
  • an embodiment of the present invention provides an information display device, which is used to perform the method in any of the foregoing first aspect or any possible implementation of the first aspect.
  • the device includes a processor, a memory, a transceiver, and an input unit, wherein the processor communicates with the memory, the transceiver, and the input unit through a bus, the transceiver is used for information transmission with other devices, and the input unit is configured to receive input.
  • the memory is used to store instructions.
  • the processor is operative to execute instructions stored in the memory to cause the apparatus to perform the method of any of the first aspect or the first aspect of the first aspect described above.
  • an embodiment of the present invention provides a server, where the server is configured to perform the method in any of the foregoing possible implementations of the third aspect or the third aspect.
  • the server includes a processor, a memory, and a transceiver, wherein the processor communicates with the memory and the transceiver through a bus, the transceiver is used for transmitting information with the user equipment, and the memory is used for storing webpage data.
  • the processor is operative to perform the method of any of the above-described third aspect or any of the possible implementations of the third aspect by a memory, a transceiver.
  • an embodiment of the present invention provides a computer readable medium for storing a computer program, the computer program comprising instructions for performing the method of the first aspect or any possible implementation of the first aspect.
  • an embodiment of the present invention provides a computer readable medium for storing a computer program, the computer program comprising instructions for performing the method in any of the possible implementations of the third aspect or the third aspect.
  • an embodiment of the present invention provides an electronic device, including: a memory for storing an instruction; and a processor connected to the memory, for executing the instruction, to perform the following steps when the instruction is executed: Detecting an event that needs to display the first preset information on the upper layer of the webpage; and after detecting the event, determining whether the display area of the webpage that is used to display the default display area of the first preset information is displayed The second preset information is displayed; if the second preset information is displayed in the display area that is blocked by the default display area, the first preset information is displayed on the first display area of the upper layer of the webpage And causing the second display area not to overlap with the display area of the second preset information in the webpage.
  • an embodiment of the present invention provides a computer program, the computer program comprising instructions for performing the method of the first aspect or any possible implementation of the first aspect.
  • the embodiments of the present invention may further combine to provide more implementations based on the implementations provided by the above aspects.
  • Embodiment 1 is a schematic flowchart of an information display method in Embodiment 1 of the present invention.
  • FIG. 2 is a schematic diagram of an application scenario of an information display method according to Embodiment 1 of the present invention.
  • Embodiment 3 is a schematic flowchart of a method for displaying information in Embodiment 2 of the present invention.
  • FIG. 4 is a schematic diagram of an information display device according to Embodiment 3 of the present invention.
  • FIG. 5 is a schematic diagram of a server in Embodiment 4 of the present invention.
  • FIG. 6 is a schematic diagram of an electronic device 500 according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart diagram of an information display method according to an embodiment of the present disclosure, where the method includes the following steps:
  • Step 101 Detect an event that needs to display the first preset information on the upper layer of the webpage.
  • a webpage refers to an interface that displays information formed by data provided by a web server, for example, the webpage may be a page displayed by a browser, or may be an application installed through a device.
  • the html5 page is displayed.
  • the so-called upper layer of the webpage includes two cases.
  • the content display area of the webpage is set to multiple layers, and the upper layer of the webpage refers to a layer that is topped in a plurality of layers of the content display area of the webpage;
  • the web page is displayed through the first window, and the upper layer of the web page refers to a display area that is presented by the second window on the upper layer of the first window.
  • the first preset information refers to information that needs to be added (added) to the current display interface.
  • the first preset information is displayed on the upper layer of the webpage;
  • the first preset information is displayed outside the webpage and occludes at least a part of the display area of the webpage.
  • the first preset information is a historical input content of the user. For example, referring to FIG. 2, after the user searches for "Taigu Li" using the search box of the browser, when the user clicks on the search box of the map next time, the device automatically displays the "Taigu Li" that the user has previously searched for.
  • the first preset information is hotspot information. For example, after the user selects the browser's search box, the device automatically displays hot news or hot words.
  • the first preset information is candidate information, for example, the first preset information is a candidate input text displayed by the input method application; for example, the first preset information is after identifying the voice input content or the handwritten input content of the user.
  • Candidate recognition results For another example, a menu item in the main menu of the browser includes three sub-menus. After the user selects the menu item, the browser displays an extended tab in the content display area on the page, and the menu item 3 through the extended tab. Submenu.
  • the first preset information is popup information.
  • the first preset information is an instant message displayed by a pop-up window of a web application in the browser.
  • the first preset information is candidate information.
  • a menu item in the main menu of the browser includes three sub-menus, and after the user selects the menu item, the browser displays the content display area on the page.
  • the field displays the Extensions tab through which the submenu of the menu item is 3 submenus.
  • the event that the first preset information needs to be displayed refers to an event that triggers the device to display the first preset information on the webpage.
  • the so-called event includes multiple implementation manners.
  • the so-called event may be an operation in which the user selects the input box, or the so-called event may be an operation of moving the cursor to the input box, or the so-called event may be an operation to open the search engine.
  • the so-called event is an operation for the user to open a news website.
  • the so-called event may perform an operation for the user to provide a plurality of candidate results for the application.
  • the so-called event may be that the device receives the instant message, and may also receive the push message for the device.
  • Step 102 After detecting the event that the first preset information needs to be displayed, determine whether the second preset information is displayed in the display area of the webpage that is used to display the default display area of the first preset information.
  • the default display area refers to: a display area of the first preset information by default, the default display area may be predefined by the user, or may be predefined in the device or the application.
  • the first preset information is a historical input content of the user
  • the historical input content is usually displayed in a drop-down menu of the input box (or the search box), in which case the input box is directly below.
  • the default display area is the drop-down menu.
  • the default display area may also have other implementation manners, such as the default display area directly above the input box, at the bottom of the entire display interface, and the like. I will not give an example here.
  • the second preset information refers to the preset type information originally displayed in the webpage before the event is detected.
  • the second preset information includes various implementations, such as a verification code, an advertisement, a web page control, status information (such as information displayed in a status bar at the top or bottom of the browser), a video, and the like.
  • the type of the second preset information may be preset by the user, may be predefined in the device, or may be predefined in the application or web content server.
  • the device determines whether the default display area for displaying the first preset information blocks the second preset originally displayed in the webpage. Information to determine whether displaying the first preset information at the default display area affects the user viewing the second preset information.
  • Step 103 When the second preset information is displayed in the display area occluded by the default display area, displaying the first preset information in the first display area of the upper layer of the webpage, and making the first display area and the second preset information The display areas do not overlap.
  • the device determines that the default display area is occluded with the second preset information
  • the device displays the first preset information and the second preset information at the same time, and ensures that the display areas of the two do not overlap.
  • the following two display modes are included:
  • the device keeps the current display area of the second preset information unchanged; and determines, in the upper layer of the webpage, the first display area that does not overlap with the current display area of the second preset information, and displays the first display area in the first display area. Preset information.
  • the device does not display the first preset information at the default display area, but displays the first preset information in the first display area that does not block the second preset information.
  • the first display area is also located in the upper layer of the plurality of webpage layers;
  • the first display area is also the display area corresponding to the second window.
  • the device displays the first preset information in the default display area, and displays the second preset information in the second display area that does not overlap with the default display area.
  • the device still displays the first preset information at the default display area, but adjusts the display area of the second preset information, and adjusts the second preset information from the original display area to the second display that does not overlap with the default display area. region.
  • the foregoing mode 2 may have two implementation manners.
  • the first mode is that the device acquires data corresponding to the second preset information, and displays the second preset information in the second display area according to the data corresponding to the second preset information.
  • the second way is: the device sends a location change request to the server, where the location change request is used to request the server to change the display area of the second preset information to a second display area that does not overlap the default display area; then, the device Continue to display the first preset information in the default display area; and receive webpage data updated by the server, and display the second webpage according to the updated webpage data Second preset information.
  • the location change request sent by the device to the server includes information for determining the second display area, and the server determines the second display area according to the information for determining the second display area.
  • the information included in the location change request includes the location information of the default display area and the identifier of the second preset information, and the server needs to change the display content of the display location according to the identifier of the second preset information, and according to the default display.
  • the area determines a display area that does not overlap with the default display area as the second display area.
  • the information included in the location change request includes the identifier of the second preset information and the location information of the second display area that is specified by the user equipment for displaying the second preset information, and the server is configured according to the second preset information.
  • the identification positioning needs to change the display content of the display position, and update the webpage data according to the location information of the second display area, so that when the user equipment displays the webpage using the updated data, the second preset information is displayed in the second display area.
  • the device determines whether the default display area of the first preset information may block the original display in the webpage before displaying the first preset information.
  • the second preset information and when the second preset information is blocked in the default display area, the device will simultaneously display the first preset information and the second preset information, and ensure that the two do not overlap, so as to prevent the two from obscuring each other. To ensure that the user can view the first preset information and the second preset information at the same time.
  • the device after performing the step 101, after detecting the event that the first preset information needs to be displayed, the device first determines whether the current display interface displays the second preset information. If the current preset interface does not display the second preset information, the device directly displays the first preset information in the default display area; if the current display interface displays the second preset information, step 102 is performed to determine the second preset information. Whether at least a part is displayed at the default display area, and if yes, step 103 is executed to simultaneously display the first preset information and the second preset information, and ensure that the display areas of the two do not overlap.
  • the device first detects whether the second preset information is displayed, and displays the second preset information in the default display area when the second preset information is not displayed, thereby reducing the amount of calculation.
  • the second preset information is directly displayed in the default display area.
  • the first preset information may be information formed according to local data of the device.
  • the device locally saves the search keyword used by the user, so that the user can display the historical keyword to the user when the user performs the search operation next time, so that the user can quickly search.
  • the historical keyword is a registered trademark of the device.
  • the foregoing information display method may be performed by a plurality of devices, such as a mobile phone, a tablet computer, a notebook computer, a smart watch, a virtual display device, and an enhanced display device, which are not limited in the embodiment of the present invention.
  • the verification code When the user logs in to the account on the page opened by the mobile phone, he/she needs to input a verification code. It is possible to set the verification code to include multiple Chinese characters, such as “music” and “body”. The user needs to input the “first” in the verification input box by using the input method. "Le”, you may wish to set the user to use the "T9” keyboard. In order to input the music "word”, the user touches the "5" key (corresponding to j, k, l) and "3" key in the input T9 keyboard (corresponding d, e, f).
  • the device then displays multiple candidate words, such as "Yes”, “Can”, “Class”, “Le”, “Ke”, “Guest”, and so on. Since the screen of the mobile phone is small, the default display area of the above candidate words obscures the verification code, so that the user cannot view the character after the word “le”, preventing the user from continuing to input the character after the word "le”.
  • the mobile phone may move the display area of the verification code so that the display area of the verification code does not overlap with the default display area of the candidate word. Another way is that the mobile phone keeps the display area of the verification code unchanged, and displays the candidate words in the display area that does not overlap with the verification code.
  • the present invention provides an information display method by Embodiment 2.
  • the method is executed by a server, and the server may be a computer or a computer group composed of a plurality of computers.
  • the method includes the following steps:
  • Step 201 The server receives a location change request sent by the user equipment, where the location change request includes a second preset information that is displayed in the webpage, where the location change request is that the user terminal detects the current display area of the second preset information and needs to be displayed.
  • the default display area of the first preset information is generated when overlapping;
  • Step 202 The server changes the display area of the second preset information to a second display area that does not overlap with the default display area.
  • Step 203 The server updates the webpage data according to the second display area, and sends the updated webpage data to the user equipment, where the updated webpage data is used to enable the user terminal to display the second preset information in the second display area.
  • the location change request includes information of the second display area; or the location change request includes information of the first display area, and the information of the first display area is used to cause the server to determine the second display area.
  • the present invention provides an information display device through Embodiment 3.
  • the information display device 300 includes:
  • the detecting module 301 is configured to detect an event that needs to display the first preset information on a webpage upper layer;
  • the determining module 302 is configured to: after detecting the event, determine whether the second preset information is displayed in the display area of the webpage that is used to display the default display area of the first preset information;
  • the display module 303 is configured to display the second preset information in the display area that is occluded by the default display area, and display the first preset information in the first display area of the upper layer of the webpage, and make the second preset information The display area does not overlap with the display area of the second preset information in the webpage.
  • the display module 303 is specifically configured to: determine, in the upper layer of the webpage, the first display area that does not overlap with the current display area of the second preset information; and display the first display area in the first display area First preset information.
  • the first display area is the default display area
  • the display module 303 is specifically configured to: send a location change request to the server, where the location change request is used to request the server to use the second preset
  • the display area of the information is changed to a second display area that does not overlap the default display area; the first preset information is displayed in the default display area; and the webpage data updated by the server is received, and the updated webpage data is
  • the second display area displays the second preset information.
  • the first preset information includes any one of historical input content, hotspot information, candidate information, and popup information; and/or,
  • the second preset information includes at least one of a verification code, an advertisement, control information, and status information.
  • the first preset information is information formed according to local data of the device.
  • the present invention provides a server 400 by using an embodiment.
  • the server 400 includes:
  • the receiving module 401 is configured to receive a location change request sent by the user equipment, where the location change request includes a second preset information that is displayed in the webpage, where the location change request is that the user terminal detects the current preset information.
  • the display area is generated when the default display area of the first preset information to be displayed overlaps;
  • the change module 402 is configured to change the display area of the second preset information to a second display area that does not overlap the default display area, and update the webpage data according to the second display area;
  • the sending module 403 is configured to send the updated webpage data to the user equipment, where the updated webpage data is used to enable the user terminal to display the second preset information in the second display area.
  • the location change request includes information about the second display area; or the location change request includes information of the first display area, where information of the first display area is used to enable the server The second display area is determined.
  • Embodiments of the present invention also provide an information display device including a processor, and a memory, an input unit, and a transceiver coupled to the processor.
  • the input unit is configured to receive an input operation of a user for transmitting information with other devices for storing instructions.
  • the processor is configured to execute an instruction in the memory, so that the control device performs the steps in the information display method provided in Embodiment 1 during the execution of the instruction.
  • the embodiment of the present invention provides a server for performing each step in the information display method provided in Embodiment 2.
  • the server includes a processor, a memory, and a transceiver, wherein the processor communicates with the memory and the transceiver through a bus, the transceiver is used for information transmission with the user equipment, and the memory is used for storing webpage data and instructions.
  • the processor is configured to execute the instructions in the memory to perform the steps in the information display method provided in the foregoing Embodiment 2 by using the memory and the transceiver, including: receiving, by the transceiver, a location change request sent by the user equipment, where the location change request includes pointing to the webpage
  • the second preset information displayed in the location is for the user terminal to check Generating when the current display area of the second preset information overlaps with the default display area of the first preset information to be displayed; changing the display area of the second preset information to the second display area not overlapping the default display area And updating the webpage data according to the second display area, and instructing the transceiver to send the updated webpage data to the user equipment, where the updated webpage data is used to enable the user terminal to display the second preset information in the second display area.
  • the location change request includes information of the second display area; or the location change request includes information of the first display area, and the information of the first display area is used to cause the server to determine the second display area.
  • FIG. 6 is a schematic diagram of an electronic device 500 according to an embodiment of the present invention.
  • the electronic device 500 includes a bus 501, and a memory 502 and a processor 503 respectively connected to the bus 501.
  • the memory 502 is configured to store instructions; the processor 503 is configured to execute the instructions to perform the following steps when the instructions are executed:
  • the second preset information is displayed in the display area that is blocked by the default display area, displaying the first preset information in the first display area of the upper layer of the webpage, and causing the second The display area does not overlap with the display area of the second preset information in the webpage.
  • An embodiment of the present invention provides a computer readable medium for storing a computer program, the computer program comprising instructions for executing the information display method provided by Embodiment 1.
  • An embodiment of the present invention provides a computer readable medium for storing a computer program, the computer program comprising instructions for executing the information display method provided in Embodiment 2.
  • An embodiment of the present invention provides a computer program including instructions for executing the information display method provided in Embodiment 1.
  • An embodiment of the present invention provides another computer program including instructions for executing the information display method provided in Embodiment 2.
  • the present invention may further combine to provide more implementations based on the implementations provided by the above embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种信息显示方法、设备及服务器,用于提供一种合理地显示信息的方式。该信息显示方式包括:检测需要在网页上层显示第一预设信息的事件(101);在检测到所述事件后,判断所述网页中被用于显示所述第一预设信息的默认显示区域遮挡的显示区域内,是否显示有第二预设信息(102);若所述被所述默认显示区域遮挡的显示区域内显示有所述第二预设信息,则在所述网页上层的第一显示区域显示所述第一预设信息,且使第一显示区域与所述网页中所述第二预设信息的显示区域不重叠(103)。

Description

一种信息显示方法、设备及服务器
本申请要求在2016年6月28日提交中国专利局、申请号为201610495279.4、发明名称为“一种信息显示方法、设备及服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及电子技术领域,特别涉及一种信息显示方法、设备及服务器。
背景技术
目前,设备在进行显示时,通常需要在当前显示界面中增加显示一些信息,如弹窗显示即时通信信息;又如,用户在使用搜索工具时,显示历史搜索内容;再如,用户在网页上填写个人信息时,浏览器会显示自动填充内容,这些自动填充内容为浏览器缓存的用户历史输入内容。
通常,用户或设备定义了这些增加显示的信息的默认显示区域,设备始终在默认显示区域显示这些增加显示的信息。
但是,本发明发明人发现,始终在默认显示区域显示增加显示的信息,通常会遮挡住界面中原显示的部分信息,而这些被遮挡的信息可能为用户不想被遮挡的信息,因此,现有的上述显示方式不太合理。
发明内容
本发明实施例提供一种信息显示方法、设备及服务器,用于提供一种合理地显示信息的方式。
第一方面,本发明实施例提供一种信息显示方法,包括:
检测需要在网页上层显示第一预设信息的事件;
在检测到所述事件后,判断所述网页中被用于显示所述第一预设信息的默认显示区域遮挡的显示区域内,是否显示有第二预设信息;
若所述被所述默认显示区域遮挡的显示区域内显示有所述第二预设信息,则在所述网页上层的第一显示区域显示所述第一预设信息,且使所述第二显示区域与所述网页中所述第二预设信息的显示区域不重叠。
上述设备在检测到需要在网页上层显示第一预设信息的事件后,在显示第一预设信息之前,先判断该第一预设信息的默认显示区域是否会遮挡网页中原显示的第二预设信息,并在该默认显示区域会遮挡第二预设信息时,设备将同时显示第一预设信息以及第二预设信息,并保持二者不重叠,避免二者互相遮挡,保证用户能够同时查看第一预设信息以及第二预设信息。
在一种可选的实现中,所述在所述网页上层的第一显示区域显示所述第一预设信息,且使所述第二显示区域与所述网页中所述第二预设信息的显示区域不重叠,包括:
在所述网页上层确定与所述第二预设信息的当前显示区域不重叠的所述第一显示区域;
在所述第一显示区域显示所述第一预设信息。
在一种可选的实现中,所述第一显示区域为所述默认显示区域,所述在所述网页上层的第一显示区域显示所述第一预设信息,且使所述第二显示区域与所述网页中所述第二预设信息的显示区域不重叠,包括:
向服务器发送位置更改请求,所述位置更改请求用于请求所述服务器将所述第二预设信息的显示区域更改为与所述默认显示区域不重叠的第二显示区域;
在所述默认显示区域显示所述第一预设信息;以及
接收所述服务器更新的网页数据,并根据所述更新的网页数据在所述第二显示区域显示所述第二预设信息。
在一种可选的实现中,所述第一预设信息包括历史输入内容、热点信息、候选信息、弹窗信息中的任一项;和/或,
所述第二预设信息包括验证码、广告、控制信息、状态信息中的至少一项。
在一种可选的实现中,所述第一预设信息为根据设备本地数据形成的信息。
第二方面,本发明实施例提供一种信息显示设备,包括:
检测模块,用于检测需要在网页上层显示第一预设信息的事件;
判断模块,用于在检测到所述事件后,判断所述网页中被用于显示所述第一预设信息的默认显示区域遮挡的显示区域内是否显示有第二预设信息;
显示模块,用于在所述被所述默认显示区域遮挡的显示区域内显示有所 述第二预设信息,则在所述网页上层的第一显示区域显示所述第一预设信息,且使所述第二显示区域与所述网页中所述第二预设信息的显示区域不重叠。
在一种可选的实现中,所述显示模块具体用于:在所述网页上层确定与所述第二预设信息的当前显示区域不重叠的所述第一显示区域;在所述第一显示区域显示所述第一预设信息。
在一种可选的实现中,所述第一显示区域为所述默认显示区域,所述显示模块具体用于:向服务器发送位置更改请求,所述位置更改请求用于请求所述服务器将所述第二预设信息的显示区域更改为与所述默认显示区域不重叠的第二显示区域;在所述默认显示区域显示所述第一预设信息;以及接收所述服务器更新的网页数据,并根据所述更新的网页数据在所述第二显示区域显示所述第二预设信息。
在一种可选的实现中,所述第一预设信息包括历史输入内容、热点信息、候选信息、弹窗信息中的任一项;和/或,
所述第二预设信息包括验证码、广告、控制信息、状态信息中的至少一项。
在一种可选的实现中,所述第一预设信息为根据设备本地数据形成的信息。
第三方面,本发明实施例提供一种信息显示方法,包括:
服务器接收用户设备发送的位置更改请求,所述位置更改请求包括指向网页中显示的第二预设信息,所述位置更改请求为所述用户终端在检测到所述第二预设信息的当前显示区域与需要显示的第一预设信息的默认显示区域重叠时生成;
所述服务器将所述第二预设信息的显示区域更改为与所述默认显示区域不重叠的第二显示区域;
所述服务器根据所述第二显示区域更新网页数据,并向所述用户设备发送更新后的网页数据,所述更新后的网页数据用于使所述用户终端在所述第二显示区域显示所述第二预设信息。
在一种可选的实现中,所述位置更改请求包括所述第二显示区域的信息;或者,
所述位置更改请求包括所述第一显示区域的信息,所述第一显示区域的信息用于使所述服务器确定所述第二显示区域。
第四方面,本发明实施例提供一种服务器,包括:
接收模块,用于接收用户设备发送的位置更改请求,所述位置更改请求包括指向网页中显示的第二预设信息,所述位置更改请求为所述用户终端在检测到所述第二预设信息的当前显示区域与需要显示的第一预设信息的默认显示区域重叠时生成;
更改模块,用于将所述第二预设信息的显示区域更改为与所述默认显示区域不重叠的第二显示区域,并根据所述第二显示区域更新网页数据;
发送模块,用于向所述用户设备发送更新后的网页数据,所述更新后的网页数据用于使所述用户终端在所述第二显示区域显示所述第二预设信息。
在一种可选的实现中,所述位置更改请求包括所述第二显示区域的信息;或者,
所述位置更改请求包括所述第一显示区域的信息,所述第一显示区域的信息用于使所述服务器确定所述第二显示区域。
第五方面,本发明实施例提供一种信息显示设备,该设备用于执行上述第一方面或第一方面的任意可能的实现中的方法。具体的,该设备包括处理器、存储器、收发器以及输入单元,其中,处理器与存储器、收发器以及输入单元分别通过总线通信,收发器用于与其它设备进行信息传输,输入单元用于接收输入操作,存储器用于存储指令。处理器用于执行存储器中存储的指令,以使得设备执行上述第一方面或第一方面的任意可能的实现中的方法。
第六方面,本发明实施例提供一种服务器,该服务器用于执行上述第三方面或第三方面的任意可能的实现中的方法。具体的,该服务器包括处理器、存储器以及收发器,其中,处理器与存储器、收发器分别通过总线通信,收发器用于与用户设备进行信息传输,存储器用于存储网页数据。处理器用于通过存储器、收发器执行上述第三方面或第三方面的任意可能的实现中的方法。
第七方面,本发明实施例提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行第一方面或第一方面的任意可能的实现中的方法的指令。
第八方面,本发明实施例提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行第三方面或第三方面的任意可能的实现中的方法的指令。
第九方面,本发明实施例提供一种电子设备,包括:存储器,用于存储指令;处理器,与所述存储器相连,用于执行所述指令,以在执行所述指令时执行如下步骤:检测需要在网页上层显示第一预设信息的事件;在检测到所述事件后,判断所述网页中被用于显示所述第一预设信息的默认显示区域遮挡的显示区域内,是否显示有第二预设信息;若所述被所述默认显示区域遮挡的显示区域内显示有所述第二预设信息,则在所述网页上层的第一显示区域显示所述第一预设信息,且使所述第二显示区域与所述网页中所述第二预设信息的显示区域不重叠。
第十方面,本发明实施例提供一种计算机程序,所述计算机程序包括用于执行第一方面或第一方面的任意可能的实现中方法的指令。
本发明实施例在上述各方面提供的实现的基础上,还可以进行进一步组合以提供更多实现。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明实施例的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例1中信息显示方法的流程示意图;
图2为本发明实施例1中信息显示方法的应用场景的示意图;
图3为本发明实施例2中信息显示方法的流程示意图;
图4为本发明实施例3中信息显示设备的示意图;
图5为本发明实施例4中服务器的示意图;
图6为本发明实施例提供的电子设备500的示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
实施例1
图1为本发明实施例提供的信息显示方法的流程示意图,该方法包括如下步骤:
步骤101:检测需要在网页上层显示第一预设信息的事件。
具体的,本发明实施例中,网页指的是由网络服务器提供的数据所形成的显示有信息的界面,例如,该网页可以为通过浏览器显示的页面,也可以为通过设备安装的应用程序显示的html5页面。
所谓网页上层,包括两种情形,在一种情形中,网页的内容显示区域被设置为多层,网页上层指的是在网页的内容显示区域的多层中置顶的一层;在另一种情形中,通过第一窗口显示该网页,所谓网页上层指的是位于该第一窗口上层通过第二窗口呈现的显示区域。
第一预设信息指的是需要在当前显示界面中增加(追加)显示的信息,结合前述网页上层的第一种情形,第一预设信息显示在网页之内的上层;结合前述网页上层的第二种情形,第一预设信息显示在网页之外且遮挡该网页至少一部分显示区域的窗口内。
下面列举第一预设信息的几种实现方式,实际情况中,还包括以下实现方式之间的结合以及根据以下实现方式而容易想到的其他实现方式:
其一,第一预设信息为用户的历史输入内容。例如,参照图2,用户在使用浏览器的搜索框搜索过“太古里”之后,当用户下一次点击地图的搜索框后,设备会自动显示用户之前搜索过的“太古里”。
其二,第一预设信息为热点信息。例如,用户在选中浏览器的搜索框后,设备自动显示热点新闻或热点词汇。
其三,第一预设信息为候选信息,例如第一预设信息为输入法应用显示的候选输入文字;又例如,第一预设信息为对用户的语音输入内容或手写输入内容进行识别后的候选识别结果。再例如,浏览器的主菜单中的一菜单项下包括3个子菜单,用户选中该菜单项后,浏览器在页面上的内容显示区域显示扩展选项卡,通过该扩展选项卡该菜单项的3个子菜单。
其四,第一预设信息为弹窗信息。例如,第一预设信息为浏览器中的Web应用的弹窗显示的即时消息。
其五,第一预设信息为候选信息。再例如,浏览器的主菜单中的一菜单项下包括3个子菜单,用户选中该菜单项后,浏览器在页面上的内容显示区 域显示扩展选项卡,通过该扩展选项卡该菜单项的3个子菜单。
所谓需要显示第一预设信息的事件,指的是触发设备在网页显示第一预设信息的事件,所谓事件包括多种实现方式。
例如,结合前述其一,所谓事件可以是用户选中输入框的操作,或者所谓事件可以为将光标移动至输入框的操作,或者所谓事件可以为打开搜索引擎的操作。
又例如,结合前述其二,所谓事件为用户打开新闻网站的操作。
又例如,结合前述其三,所谓事件可以为用户进行需要应用程序提供多个候选结果的操作。
再例如,结合前述其四,所谓事件可以为设备接收即时消息,也可以为设备接收到推送消息。
本发明实施例中,该需要显示第一预设信息的事件还有很多其他实现方式,在此不一一举例。
步骤102:在检测到该需要显示第一预设信息的事件后,判断网页中被用于显示第一预设信息的默认显示区域遮挡的的显示区域内是否显示有第二预设信息。
具体的,默认显示区域指的是:在默认情况下,第一预设信息的显示区域,该默认显示区域可以是用户预先定义的,也可以是设备或应用中预先定义的。例如,结合前述其一,第一预设信息为用户的历史输入内容时,通常在输入框(或,搜索框)的下拉菜单中显示该历史输入内容,在这种情况中,输入框正下方的下拉菜单处即为该默认显示区域。
本发明实施例中,该默认显示区域也可以有其它实现方式,如默认显示区域在输入框的正上方,位于整个显示界面的最下方,等等。在此不一一举例说明。
所谓第二预设信息指的是:在检测到该事件前,网页中原显示的预设类型的信息。该第二预设信息包括多种实现方式,例如,验证码、广告、网页控件、状态信息(如浏览器顶部或底部的状态栏中显示的信息)、视频,等等。该第二预设信息的类型可以由用户预先设定,也可以为设备中预先定义的,还可以是应用或网页内容服务器中预先定义的。
本发明实施例中,在检测到需要显示第一预设信息的事件后,设备判断用于显示第一预设信息的默认显示区域是否遮挡了网页中原显示的第二预设 信息,以确定在该默认显示区域处显示该第一预设信息是否会影响用户查看第二预设信息。
步骤103:在被默认显示区域遮挡的显示区域内显示有第二预设信息时,在网页上层的第一显示区域显示第一预设信息,且使第一显示区域与第二预设信息的显示区域不重叠。
具体的,设备在确定默认显示区域遮挡有有第二预设信息时,设备会同时显示第一预设信息以及第二预设信息,并保证二者的显示区域不重叠。具体包括如下两种显示方式:
方式1,设备保持第二预设信息的当前显示区域不变;并在网页上层确定与第二预设信息的当前显示区域不重叠的该第一显示区域,在该第一显示区域显示第一预设信息。
且在与第二预设信息的显示区域不重叠的第一显示区域显示第一预设信息。
即,设备不在该默认显示区域处显示第一预设信息,而是在不遮挡第二预设信息的第一显示区域显示该第一预设信息。
需要说明的是,结合前述页面上层的第一种情形,该默认显示位置为网页多层中的上(顶)层的显示区域时,该第一显示区域同样位于网页多层中的上层;结合前述页面上层的第二种情形,该默认显示位置为遮挡网页的第二窗口对应的显示区域时,该第一显示区域同样为第二窗口对应的显示区域。
方式2,设备在默认显示区域显示第一预设信息,并在与默认显示区域不重叠的第二显示区域显示第二预设信息。
即,设备仍然在默认显示区域处显示该第一预设信息,但是调整第二预设信息的显示区域,将第二预设信息从原显示区域调整至与默认显示区域不重叠的第二显示区域。
上述方式2可以有2种实现方式,第一种方式为设备获取第二预设信息对应的数据,根据第二预设信息对应的数据在该第二显示区域显示第二预设信息。
第二种方式为:设备向服务器发送位置更改请求,该位置更改请求用于请求服务器将第二预设信息的显示区域更改为与所述默认显示区域不重叠的第二显示区域;然后,设备继续在该默认显示区域显示第一预设信息;以及,接收服务器更新的网页数据,并根据该更新的网页数据在第二显示区域显示 第二预设信息。
其中,设备发送给服务器的该位置更改请求包括用于确定第二显示区域的信息,服务器具体根据该用于确定第二显示区域的信息确定该第二显示区域。
例如,位置更改请求中包括的该信息包括默认显示区域的位置信息以及第二预设信息的标识,服务器根据该第二预设信息的标识定位需要更改显示位置的显示内容,并根据该默认显示区域确定一不与默认显示区域相重叠的显示区域作为该第二显示区域。
又例如,位置更改请求中包括的该信息包括第二预设信息的标识以及用户设备指定的用于显示第二预设信息的第二显示区域的位置信息,服务器根据该第二预设信息的标识定位需要更改显示位置的显示内容,并根据第二显示区域的位置信息更新网页数据,使得用户设备使用更新的数据显示网页时,第二预设信息被显示在该第二显示区域。
上述技术方案中,设备在检测到需要在网页上层显示第一预设信息的事件后,在显示第一预设信息之前,先判断该第一预设信息的默认显示区域是否会遮挡网页中原显示的第二预设信息,并在该默认显示区域会遮挡第二预设信息时,设备将同时显示第一预设信息以及第二预设信息,并保证二者不重叠,避免二者互相遮挡,保证用户能够同时查看第一预设信息以及第二预设信息。
可选的,在执行步骤101,检测到该需要显示第一预设信息的事件之后,设备先判断当前显示界面是否显示有第二预设信息。如果当前显示界面没有显示第二预设信息,设备直接在默认显示区域显示该第一预设信息;如果当前显示界面显示有第二预设信息,再执行步骤102,判断该第二预设信息是否至少有一部分显示在该默认显示区域处,若是,则执行步骤103,同时显示第一预设信息以及第二预设信息,并保证二者的显示区域不重叠。
上述可选方案中,设备通过先检测是否显示有第二预设信息,并在没有显示第二预设信息时,直接在默认显示区域显示第二预设信息,减少运算量。
可选的,在步骤102之后,如果默认位置处没有显示该第二预设信息,则直接在默认显示区域显示第二预设信息。
可选的,本发明实施例中,所述第一预设信息可以为根据设备本地数据形成的信息。例如,结合前述步骤101中第一预设信息的多种实现方式中的 其一,用户在使用浏览器的搜索框进行搜索后,设备会在本地保存用户使用过的搜索关键字,以便在用户下一次进行搜索操作时,向用户显示该历史关键字,方便用户快速搜索该历史关键字。
本发明实施例上述信息显示方法可以由手机、平板电脑、笔记本电脑、智能手表、虚拟显示设备、增强显示设备等多种设备执行,本发明实施例不予限定。
为了便于理解本发明实施例技术方案,下面以在手机中输入验证码的过程,对本发明实施例方案进行说明。
用户在手机打开的页面上登录帐号时,需要输入验证码,不妨设该验证码中包含多个汉字,例如“乐”以及“体”,用户需要使用输入法在验证输入框中先输入该“乐”字,不妨设用户使用的的是“T9”键盘,为了输入乐“字”,用户触按输入T9键盘中的“5”键(对应j、k、l)以及“3”键(对应d、e、f)。
然后,设备会显示多个候选词,例如,“了”、“可”、“课”、“乐”、“科”、“客”,等等。由于手机的屏幕较小,上述候选词的默认显示区域遮挡了验证码,使得用户不能查看“乐”字之后的字符,妨碍用户继续输入“乐”字之后的字符。
本发明实施例中,手机在确定上述候选词的默认显示区域遮挡了验证码之后,可以移动验证码的显示区域,使得验证码的显示区域与上述候选词的默认显示区域不重叠。另一种方式为:手机保持验证码的显示区域不变,在与验证码不重叠的显示区域显示上述候选词。
需要说明的是,上述例子仅在于对本发明实施例技术方案进行举例说明,不能以此限定本发明实施例的保护范围。
实施例2
本发明通过实施例2提供一种信息显示方法,该方法由服务器执行,服务器可以为一台计算机,也可以为多台计算机组成的计算机群。参照图3,该方法包括如下步骤:
步骤201:服务器接收用户设备发送的位置更改请求,位置更改请求包括指向网页中显示的第二预设信息,该位置更改请求为用户终端在检测到第二预设信息的当前显示区域与需要显示的第一预设信息的默认显示区域重叠时生成;
步骤202:服务器将第二预设信息的显示区域更改为与默认显示区域不重叠的第二显示区域;
步骤203:服务器根据第二显示区域更新网页数据,并向用户设备发送更新后的网页数据,更新后的网页数据用于使用户终端在第二显示区域显示第二预设信息。
其中,位置更改请求包括第二显示区域的信息;或者,位置更改请求包括第一显示区域的信息,第一显示区域的信息用于使服务器确定第二显示区域。
上述步骤201至步骤203的实现方式已包含在实施例1中对服务器所执行动作的描述中,在此不再重复。
实施例3
本发明通过实施例3提供一种信息显示设备,参照图4,该信息显示设备300包括:
检测模块301,用于检测需要在网页上层显示第一预设信息的事件;
判断模块302,用于在检测到该事件后,判断该网页中被用于显示该第一预设信息的默认显示区域遮挡的显示区域内是否显示有第二预设信息;
显示模块303,用于在该被该默认显示区域遮挡的显示区域内显示有该第二预设信息,则在该网页上层的第一显示区域显示该第一预设信息,且使该第二显示区域与该网页中该第二预设信息的显示区域不重叠。
可选的,本发明实施例中,显示模块303具体用于:在该网页上层确定与该第二预设信息的当前显示区域不重叠的该第一显示区域;在该第一显示区域显示该第一预设信息。
可选的,本发明实施例中,该第一显示区域为该默认显示区域,显示模块303具体用于:向服务器发送位置更改请求,该位置更改请求用于请求该服务器将该第二预设信息的显示区域更改为与该默认显示区域不重叠的第二显示区域;在该默认显示区域显示该第一预设信息;以及接收该服务器更新的网页数据,并根据该更新的网页数据在该第二显示区域显示该第二预设信息。
可选的,本发明实施例中,该第一预设信息包括历史输入内容、热点信息、候选信息、弹窗信息中的任一项;和/或,
该第二预设信息包括验证码、广告、控制信息、状态信息中的至少一项。
可选的,本发明实施例中,该第一预设信息为根据设备本地数据形成的信息。
以上信息显示设备300包含的各模块的具体实现方式可以参照实施例1中的信息显示方法的各步骤的实施方式,本发明实施例不再赘述。
实施例4
本发明通过实施例提供一种服务器400,参照图5,服务器400包括:
接收模块401,用于接收用户设备发送的位置更改请求,该位置更改请求包括指向网页中显示的第二预设信息,该位置更改请求为该用户终端在检测到该第二预设信息的当前显示区域与需要显示的第一预设信息的默认显示区域重叠时生成;
更改模块402,用于将该第二预设信息的显示区域更改为与该默认显示区域不重叠的第二显示区域,并根据该第二显示区域更新网页数据;
发送模块403,用于向该用户设备发送更新后的网页数据,该更新后的网页数据用于使该用户终端在该第二显示区域显示该第二预设信息。
可选的,本发明实施例中,该位置更改请求包括该第二显示区域的信息;或者,该位置更改请求包括该第一显示区域的信息,该第一显示区域的信息用于使该服务器确定该第二显示区域。
以上服务器400包含的各模块的具体实现方式可以参照实施例1的信息显示方法中由服务器执行的各步骤的实施方式,本发明实施例不再赘述。
本发明实施例还提供一种信息显示设备,该设备包括处理器,以及与该处理器相耦合的存储器、输入单元和收发器。该输入单元用于接收用户的输入操作,该收发器用于与其它设备进行信息传输,该存储器用于存储指令。该处理器用于执行存储器中指令,以便在执行该指令的过程中,控制设备执行实施例1提供的信息显示方法中的各步骤。
本发明实施例提供一种服务器,该服务器用于执行实施例2提供的信息显示方法中的各步骤。具体的,该服务器包括处理器、存储器以及收发器,其中,处理器与存储器、收发器分别通过总线通信,收发器用于与用户设备进行信息传输,存储器用于存储网页数据以及指令。处理器用于执行存储器中的指令,以通过存储器、收发器执行上述实施例2提供的信息显示方法中的各步骤,包括:通过收发器接收用户设备发送的位置更改请求,位置更改请求包括指向网页中显示的第二预设信息,该位置更改请求为用户终端在检 测到第二预设信息的当前显示区域与需要显示的第一预设信息的默认显示区域重叠时生成;将第二预设信息的显示区域更改为与默认显示区域不重叠的第二显示区域;根据第二显示区域更新网页数据,并指示收发器向用户设备发送更新后的网页数据,更新后的网页数据用于使用户终端在第二显示区域显示第二预设信息。其中,位置更改请求包括第二显示区域的信息;或者,位置更改请求包括第一显示区域的信息,第一显示区域的信息用于使服务器确定第二显示区域。
图6所示为本发明实施例提供的一种电子设备500的示意图,电子设备500包括总线501,以及分别连接到总线501的存储器502以及处理器503。存储器502用于存储指令;处理器503用于执行所述指令,以在执行所述指令时执行如下步骤:
检测需要在网页上层显示第一预设信息的事件;
在检测到所述事件后,判断所述网页中被用于显示所述第一预设信息的默认显示区域遮挡的显示区域内,是否显示有第二预设信息;
若所述被所述默认显示区域遮挡的显示区域内显示有所述第二预设信息,则在所述网页上层的第一显示区域显示所述第一预设信息,且使所述第二显示区域与所述网页中所述第二预设信息的显示区域不重叠。
本发明实施例提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行实施例1提供的信息显示方法的指令。
本发明实施例提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行实施例2提供的信息显示方法的指令。
本发明实施例提供了一种计算机程序,所述计算机程序包括用于执行实施例1提供的信息显示方法的指令。
本发明实施例提供了另一种计算机程序,所述计算机程序包括用于执行实施例2提供的信息显示方法的指令。
本发明在上述各实施例提供的实现的基础上,还可以进行进一步组合以提供更多实现。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可 读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分的方法。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (17)

  1. 一种信息显示方法,其特征在于,包括:
    检测需要在网页上层显示第一预设信息的事件;
    在检测到所述事件后,判断所述网页中被用于显示所述第一预设信息的默认显示区域遮挡的显示区域内,是否显示有第二预设信息;
    若所述被所述默认显示区域遮挡的显示区域内显示有所述第二预设信息,则在所述网页上层的第一显示区域显示所述第一预设信息,且使所述第二显示区域与所述网页中所述第二预设信息的显示区域不重叠。
  2. 根据权利要求1所述的方法,其特征在于,所述在所述网页上层的第一显示区域显示所述第一预设信息,且使所述第二显示区域与所述网页中所述第二预设信息的显示区域不重叠,包括:
    在所述网页上层确定与所述第二预设信息的当前显示区域不重叠的所述第一显示区域;
    在所述第一显示区域显示所述第一预设信息。
  3. 根据权利要求1所述的方法,其特征在于,所述第一显示区域为所述默认显示区域,所述在所述网页上层的第一显示区域显示所述第一预设信息,且使所述第二显示区域与所述网页中所述第二预设信息的显示区域不重叠,包括:
    向服务器发送位置更改请求,所述位置更改请求用于请求所述服务器将所述第二预设信息的显示区域更改为与所述默认显示区域不重叠的第二显示区域;
    在所述默认显示区域显示所述第一预设信息;以及
    接收所述服务器更新的网页数据,并根据所述更新的网页数据在所述第二显示区域显示所述第二预设信息。
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述第一预设信息包括历史输入内容、热点信息、候选信息、弹窗信息中的任一项;和/或,
    所述第二预设信息包括验证码、广告、控制信息、状态信息中的至少一项。
  5. 根据权利要求1至3任一项所述的方法,其特征在于,所述第一预设信息为根据设备本地数据形成的信息。
  6. 一种信息显示设备,其特征在于,包括:
    检测模块,用于检测需要在网页上层显示第一预设信息的事件;
    判断模块,用于在检测到所述事件后,判断所述网页中被用于显示所述第一预设信息的默认显示区域遮挡的显示区域内是否显示有第二预设信息;
    显示模块,用于在所述被所述默认显示区域遮挡的显示区域内显示有所述第二预设信息,则在所述网页上层的第一显示区域显示所述第一预设信息,且使所述第二显示区域与所述网页中所述第二预设信息的显示区域不重叠。
  7. 根据权利要求6所述的设备,其特征在于,所述显示模块具体用于:在所述网页上层确定与所述第二预设信息的当前显示区域不重叠的所述第一显示区域;在所述第一显示区域显示所述第一预设信息。
  8. 根据权利要求6所述的设备,其特征在于,所述第一显示区域为所述默认显示区域,所述显示模块具体用于:向服务器发送位置更改请求,所述位置更改请求用于请求所述服务器将所述第二预设信息的显示区域更改为与所述默认显示区域不重叠的第二显示区域;在所述默认显示区域显示所述第一预设信息;以及接收所述服务器更新的网页数据,并根据所述更新的网页数据在所述第二显示区域显示所述第二预设信息。
  9. 根据权利要求6至8任一项所述的设备,其特征在于,所述第一预设信息包括历史输入内容、热点信息、候选信息、弹窗信息中的任一项;和/或,
    所述第二预设信息包括验证码、广告、控制信息、状态信息中的至少一项。
  10. 根据权利要求6至8任一项所述的设备,其特征在于,所述第一预设信息为根据设备本地数据形成的信息。
  11. 一种信息显示方法,其特征在于,包括:
    服务器接收用户设备发送的位置更改请求,所述位置更改请求包括指向网页中显示的第二预设信息,所述位置更改请求为所述用户终端在检测到所述第二预设信息的当前显示区域与需要显示的第一预设信息的默认显示区域重叠时生成;
    所述服务器将所述第二预设信息的显示区域更改为与所述默认显示区域不重叠的第二显示区域;
    所述服务器根据所述第二显示区域更新网页数据,并向所述用户设备发送更新后的网页数据,所述更新后的网页数据用于使所述用户终端在所述第二显示区域显示所述第二预设信息。
  12. 根据权利要求11所述的方法,其特征在于,所述位置更改请求包括所述第二显示区域的信息;或者,
    所述位置更改请求包括所述第一显示区域的信息,所述第一显示区域的信息用于使所述服务器确定所述第二显示区域。
  13. 一种服务器,其特征在于,包括:
    接收模块,用于接收用户设备发送的位置更改请求,所述位置更改请求包括指向网页中显示的第二预设信息,所述位置更改请求为所述用户终端在检测到所述第二预设信息的当前显示区域与需要显示的第一预设信息的默认显示区域重叠时生成;
    更改模块,用于将所述第二预设信息的显示区域更改为与所述默认显示区域不重叠的第二显示区域,并根据所述第二显示区域更新网页数据;
    发送模块,用于向所述用户设备发送更新后的网页数据,所述更新后的网页数据用于使所述用户终端在所述第二显示区域显示所述第二预设信息。
  14. 根据权利要求13所述的服务器,其特征在于,所述位置更改请求包括所述第二显示区域的信息;或者,
    所述位置更改请求包括所述第一显示区域的信息,所述第一显示区域的信息用于使所述服务器确定所述第二显示区域。
  15. 一种电子设备,其特征在于,包括:
    存储器,用于存储指令;
    处理器,与所述存储器相连,用于执行所述指令,以在执行所述指令时执行如下步骤:
    检测需要在网页上层显示第一预设信息的事件;
    在检测到所述事件后,判断所述网页中被用于显示所述第一预设信息的默认显示区域遮挡的显示区域内,是否显示有第二预设信息;
    若所述被所述默认显示区域遮挡的显示区域内显示有所述第二预设信息,则在所述网页上层的第一显示区域显示所述第一预设信息,且使所述第二显示区域与所述网页中所述第二预设信息的显示区域不重叠。
  16. 一种计算机可读介质,其特征在于,所述计算机可读介质用于存储计算机程序,所述计算机程序包括用于执行权利要求1至5任一项所述的方法的指令。
  17. 一种计算机程序,其特征在于,所述计算机程序包括用于执行权利 要求1至5任一项所述的方法的指令。
PCT/CN2016/099910 2016-06-28 2016-09-23 一种信息显示方法、设备及服务器 Ceased WO2018000604A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610495279.4A CN106156292A (zh) 2016-06-28 2016-06-28 一种信息显示方法、设备及服务器
CN201610495279.4 2016-06-28

Publications (1)

Publication Number Publication Date
WO2018000604A1 true WO2018000604A1 (zh) 2018-01-04

Family

ID=57350449

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/099910 Ceased WO2018000604A1 (zh) 2016-06-28 2016-09-23 一种信息显示方法、设备及服务器

Country Status (2)

Country Link
CN (1) CN106156292A (zh)
WO (1) WO2018000604A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710088A (zh) * 2018-12-29 2019-05-03 北京金山安全软件有限公司 一种信息搜索方法及装置

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112765508A (zh) * 2021-01-27 2021-05-07 维沃移动通信有限公司 信息显示方法、装置及电子设备
CN116467542A (zh) * 2023-04-23 2023-07-21 北京沃东天骏信息技术有限公司 显示页面的方法、装置、设备和计算机可读介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080174564A1 (en) * 2007-01-20 2008-07-24 Lg Electronics Inc. Mobile communication device equipped with touch screen and method of controlling operation thereof
US20100122195A1 (en) * 2008-11-13 2010-05-13 Hwang Hoyoung Mobile terminal with touch screen and method of processing data using the same
CN102117169A (zh) * 2009-12-31 2011-07-06 联想(北京)有限公司 一种窗口管理方法、装置及计算机
CN102131122A (zh) * 2011-01-21 2011-07-20 四川长虹电器股份有限公司 一种数字电视在播放状态下显示广告的方法
CN102981699A (zh) * 2011-11-01 2013-03-20 微软公司 调整内容以避免被虚拟输入面板遮挡

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100478881C (zh) * 2007-05-16 2009-04-15 珠海金山软件股份有限公司 一种用户操作区域反遮挡的装置和方法
US8078979B2 (en) * 2007-11-27 2011-12-13 Microsoft Corporation Web page editor with element selection mechanism
CN102193719A (zh) * 2010-03-15 2011-09-21 联想(北京)有限公司 显示方法及显示终端
CN109062486B (zh) * 2014-05-19 2022-03-25 联想(北京)有限公司 一种显示窗口的调节方法及电子设备
CN104035690B (zh) * 2014-06-25 2017-11-03 联想(北京)有限公司 一种字幕显示位置调整方法及电子设备
CN105451062B (zh) * 2015-09-15 2017-05-31 北京合盒互动科技有限公司 一种显示推送信息的方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080174564A1 (en) * 2007-01-20 2008-07-24 Lg Electronics Inc. Mobile communication device equipped with touch screen and method of controlling operation thereof
US20100122195A1 (en) * 2008-11-13 2010-05-13 Hwang Hoyoung Mobile terminal with touch screen and method of processing data using the same
CN102117169A (zh) * 2009-12-31 2011-07-06 联想(北京)有限公司 一种窗口管理方法、装置及计算机
CN102131122A (zh) * 2011-01-21 2011-07-20 四川长虹电器股份有限公司 一种数字电视在播放状态下显示广告的方法
CN102981699A (zh) * 2011-11-01 2013-03-20 微软公司 调整内容以避免被虚拟输入面板遮挡

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710088A (zh) * 2018-12-29 2019-05-03 北京金山安全软件有限公司 一种信息搜索方法及装置

Also Published As

Publication number Publication date
CN106156292A (zh) 2016-11-23

Similar Documents

Publication Publication Date Title
US11782581B2 (en) Display control method and device, electronic device and storage medium
JP7013466B2 (ja) アプリケーションデータ処理方法、装置、及びコンピュータプログラム
US11989383B2 (en) Application window display method and terminal
JP5912083B2 (ja) ユーザーインターフェース提供方法及び装置
US20140095967A1 (en) Method and apparatus for displaying information
US10878044B2 (en) System and method for providing content recommendation service
US10109079B2 (en) Method and apparatus for processing tab in graphical interface
US20170177600A1 (en) Method, system, and device for processing data in connection with an application
US10013497B1 (en) Background reloading of currently displayed content
US10318605B2 (en) Method and device for relocating input box to target position in mobile terminal browser, storage medium
US9600258B2 (en) Suggestions to install and/or open a native application
US11134051B2 (en) Apparatus and method for managing notification
US20150058770A1 (en) Method and appratus for providing always-on-top user interface for mobile application
WO2017167123A1 (zh) 一种移动设备上资源入口的显示方法、装置及移动设备
US10073618B2 (en) Supplementing a virtual input keyboard
CN112988006A (zh) 显示方法、装置、电子设备和存储介质
CN106484726B (zh) 一种页面展示方法及装置
CN106462329A (zh) 轻解除管理器
US20160299978A1 (en) Device dependent search experience
US20190073428A1 (en) Method, system and terminal for performing search in a browser
JP2025501959A (ja) ブラウザ内での関連検索のための方法及び装置
WO2018000604A1 (zh) 一种信息显示方法、设备及服务器
WO2024094174A1 (zh) 画面展示方法、装置、存储介质及电子设备
US20210255765A1 (en) Display Control Method and Terminal
JP2024540494A (ja) ブラウザ内でレンダリングされた領域を検索するための方法及び装置

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: 16907000

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16907000

Country of ref document: EP

Kind code of ref document: A1