WO2018000604A1 - Information display method, device and server - Google Patents

Information display method, device and server 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
Application number
PCT/CN2016/099910
Other languages
French (fr)
Chinese (zh)
Inventor
王国涛
刘庆平
Original Assignee
乐视控股(北京)有限公司
乐视致新电子科技(天津)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 乐视控股(北京)有限公司, 乐视致新电子科技(天津)有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2018000604A1 publication Critical patent/WO2018000604A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

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

An information display method, device and server, which are used for providing a method for reasonably displaying information. The information display method comprises: detecting an event of displaying first pre-set information needing to be displayed on an upper layer of a web page (101); when the event is detected, determining whether second pre-set information is displayed in a display area, in the web page, shielded by a default display area for displaying the first pre-set information (102); and if the second pre-set information is displayed in a display area shielded by the default display area, displaying the first pre-set information on the first display area on the upper layer of the web page, wherein the first display area is not overlapped with the display area of the second pre-set information in the web page (103).

Description

一种信息显示方法、设备及服务器Information display method, device and server
本申请要求在2016年6月28日提交中国专利局、申请号为201610495279.4、发明名称为“一种信息显示方法、设备及服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201610495279.4, entitled "Information Display Method, Apparatus and Server" on June 28, 2016, the entire contents of which are incorporated herein by reference. In the application.
技术领域Technical field
本发明涉及电子技术领域,特别涉及一种信息显示方法、设备及服务器。The present invention relates to the field of electronic technologies, and in particular, to an information display method, device, and server.
背景技术Background technique
目前,设备在进行显示时,通常需要在当前显示界面中增加显示一些信息,如弹窗显示即时通信信息;又如,用户在使用搜索工具时,显示历史搜索内容;再如,用户在网页上填写个人信息时,浏览器会显示自动填充内容,这些自动填充内容为浏览器缓存的用户历史输入内容。Currently, 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. When filling in personal information, the browser displays auto-fill content, which is the user history input cached by the browser.
通常,用户或设备定义了这些增加显示的信息的默认显示区域,设备始终在默认显示区域显示这些增加显示的信息。Typically, 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.
但是,本发明发明人发现,始终在默认显示区域显示增加显示的信息,通常会遮挡住界面中原显示的部分信息,而这些被遮挡的信息可能为用户不想被遮挡的信息,因此,现有的上述显示方式不太合理。However, 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.
发明内容Summary of the invention
本发明实施例提供一种信息显示方法、设备及服务器,用于提供一种合理地显示信息的方式。Embodiments of the present invention provide an information display method, device, and server for providing a manner of displaying information reasonably.
第一方面,本发明实施例提供一种信息显示方法,包括:In a first aspect, an embodiment of the present invention provides an information display method, including:
检测需要在网页上层显示第一预设信息的事件;Detecting an event that needs to display the first preset information on the upper layer of the webpage;
在检测到所述事件后,判断所述网页中被用于显示所述第一预设信息的默认显示区域遮挡的显示区域内,是否显示有第二预设信息;After detecting the event, determining 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;
若所述被所述默认显示区域遮挡的显示区域内显示有所述第二预设信息,则在所述网页上层的第一显示区域显示所述第一预设信息,且使所述第二显示区域与所述网页中所述第二预设信息的显示区域不重叠。 If 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.
上述设备在检测到需要在网页上层显示第一预设信息的事件后,在显示第一预设信息之前,先判断该第一预设信息的默认显示区域是否会遮挡网页中原显示的第二预设信息,并在该默认显示区域会遮挡第二预设信息时,设备将同时显示第一预设信息以及第二预设信息,并保持二者不重叠,避免二者互相遮挡,保证用户能够同时查看第一预设信息以及第二预设信息。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.
在一种可选的实现中,所述在所述网页上层的第一显示区域显示所述第一预设信息,且使所述第二显示区域与所述网页中所述第二预设信息的显示区域不重叠,包括:In an optional implementation, 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:
在所述网页上层确定与所述第二预设信息的当前显示区域不重叠的所述第一显示区域;Determining, 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;
在所述第一显示区域显示所述第一预设信息。Displaying the first preset information in the first display area.
在一种可选的实现中,所述第一显示区域为所述默认显示区域,所述在所述网页上层的第一显示区域显示所述第一预设信息,且使所述第二显示区域与所述网页中所述第二预设信息的显示区域不重叠,包括:In an optional implementation, 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, and the second display is enabled. The area does not overlap with the display area of the second preset information in the webpage, and includes:
向服务器发送位置更改请求,所述位置更改请求用于请求所述服务器将所述第二预设信息的显示区域更改为与所述默认显示区域不重叠的第二显示区域;Sending a location change request to the server, 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;
在所述默认显示区域显示所述第一预设信息;以及Displaying the first preset information in the default display area;
接收所述服务器更新的网页数据,并根据所述更新的网页数据在所述第二显示区域显示所述第二预设信息。Receiving webpage data updated by the server, and displaying the second preset information in the second display area according to the updated webpage data.
在一种可选的实现中,所述第一预设信息包括历史输入内容、热点信息、候选信息、弹窗信息中的任一项;和/或,In an optional implementation, 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.
在一种可选的实现中,所述第一预设信息为根据设备本地数据形成的信息。In an optional implementation, the first preset information is information formed according to device local data.
第二方面,本发明实施例提供一种信息显示设备,包括:In a second aspect, an embodiment of the present invention provides 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.
在一种可选的实现中,所述显示模块具体用于:在所述网页上层确定与所述第二预设信息的当前显示区域不重叠的所述第一显示区域;在所述第一显示区域显示所述第一预设信息。In an optional implementation, 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.
在一种可选的实现中,所述第一显示区域为所述默认显示区域,所述显示模块具体用于:向服务器发送位置更改请求,所述位置更改请求用于请求所述服务器将所述第二预设信息的显示区域更改为与所述默认显示区域不重叠的第二显示区域;在所述默认显示区域显示所述第一预设信息;以及接收所述服务器更新的网页数据,并根据所述更新的网页数据在所述第二显示区域显示所述第二预设信息。In an optional implementation, the first display area is the default display area, and 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.
在一种可选的实现中,所述第一预设信息包括历史输入内容、热点信息、候选信息、弹窗信息中的任一项;和/或,In an optional implementation, 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.
在一种可选的实现中,所述第一预设信息为根据设备本地数据形成的信息。In an optional implementation, the first preset information is information formed according to device local data.
第三方面,本发明实施例提供一种信息显示方法,包括:In a third aspect, 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.
在一种可选的实现中,所述位置更改请求包括所述第二显示区域的信息;或者,In an optional implementation, 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.
第四方面,本发明实施例提供一种服务器,包括:In a fourth aspect, 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;
发送模块,用于向所述用户设备发送更新后的网页数据,所述更新后的网页数据用于使所述用户终端在所述第二显示区域显示所述第二预设信息。And 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.
在一种可选的实现中,所述位置更改请求包括所述第二显示区域的信息;或者,In an optional implementation, 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.
第五方面,本发明实施例提供一种信息显示设备,该设备用于执行上述第一方面或第一方面的任意可能的实现中的方法。具体的,该设备包括处理器、存储器、收发器以及输入单元,其中,处理器与存储器、收发器以及输入单元分别通过总线通信,收发器用于与其它设备进行信息传输,输入单元用于接收输入操作,存储器用于存储指令。处理器用于执行存储器中存储的指令,以使得设备执行上述第一方面或第一方面的任意可能的实现中的方法。In a fifth aspect, 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. Specifically, 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. Operation, 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.
第六方面,本发明实施例提供一种服务器,该服务器用于执行上述第三方面或第三方面的任意可能的实现中的方法。具体的,该服务器包括处理器、存储器以及收发器,其中,处理器与存储器、收发器分别通过总线通信,收发器用于与用户设备进行信息传输,存储器用于存储网页数据。处理器用于通过存储器、收发器执行上述第三方面或第三方面的任意可能的实现中的方法。In a sixth aspect, 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. Specifically, 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.
第七方面,本发明实施例提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行第一方面或第一方面的任意可能的实现中的方法的指令。In a seventh 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 of the first aspect or any possible implementation of the first aspect.
第八方面,本发明实施例提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行第三方面或第三方面的任意可能的实现中的方法的指令。 In an eighth 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.
第九方面,本发明实施例提供一种电子设备,包括:存储器,用于存储指令;处理器,与所述存储器相连,用于执行所述指令,以在执行所述指令时执行如下步骤:检测需要在网页上层显示第一预设信息的事件;在检测到所述事件后,判断所述网页中被用于显示所述第一预设信息的默认显示区域遮挡的显示区域内,是否显示有第二预设信息;若所述被所述默认显示区域遮挡的显示区域内显示有所述第二预设信息,则在所述网页上层的第一显示区域显示所述第一预设信息,且使所述第二显示区域与所述网页中所述第二预设信息的显示区域不重叠。According to a ninth 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.
第十方面,本发明实施例提供一种计算机程序,所述计算机程序包括用于执行第一方面或第一方面的任意可能的实现中方法的指令。In a tenth aspect, 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.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明实施例的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in view of these drawings without the inventive labor.
图1为本发明实施例1中信息显示方法的流程示意图;1 is a schematic flowchart of an information display method in Embodiment 1 of the present invention;
图2为本发明实施例1中信息显示方法的应用场景的示意图;2 is a schematic diagram of an application scenario of an information display method according to Embodiment 1 of the present invention;
图3为本发明实施例2中信息显示方法的流程示意图;3 is a schematic flowchart of a method for displaying information in Embodiment 2 of the present invention;
图4为本发明实施例3中信息显示设备的示意图;4 is a schematic diagram of an information display device according to Embodiment 3 of the present invention;
图5为本发明实施例4中服务器的示意图;Figure 5 is a schematic diagram of a server in Embodiment 4 of the present invention;
图6为本发明实施例提供的电子设备500的示意图。FIG. 6 is a schematic diagram of an electronic device 500 according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
实施例1Example 1
图1为本发明实施例提供的信息显示方法的流程示意图,该方法包括如下步骤: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:
步骤101:检测需要在网页上层显示第一预设信息的事件。Step 101: Detect an event that needs to display the first preset information on the upper layer of the webpage.
具体的,本发明实施例中,网页指的是由网络服务器提供的数据所形成的显示有信息的界面,例如,该网页可以为通过浏览器显示的页面,也可以为通过设备安装的应用程序显示的html5页面。Specifically, in the embodiment of the present invention, 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. In one case, 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; In the case, 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. In combination with the first situation of the upper layer of the webpage, the first preset information is displayed on the upper layer of the webpage; In the second case, the first preset information is displayed outside the webpage and occludes at least a part of the display area of the webpage.
下面列举第一预设信息的几种实现方式,实际情况中,还包括以下实现方式之间的结合以及根据以下实现方式而容易想到的其他实现方式:Several implementations of the first preset information are listed below. In actual cases, the combination of the following implementations and other implementations that are easily conceived according to the following implementations are also included:
其一,第一预设信息为用户的历史输入内容。例如,参照图2,用户在使用浏览器的搜索框搜索过“太古里”之后,当用户下一次点击地图的搜索框后,设备会自动显示用户之前搜索过的“太古里”。First, 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.
其二,第一预设信息为热点信息。例如,用户在选中浏览器的搜索框后,设备自动显示热点新闻或热点词汇。Second, 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.
其三,第一预设信息为候选信息,例如第一预设信息为输入法应用显示的候选输入文字;又例如,第一预设信息为对用户的语音输入内容或手写输入内容进行识别后的候选识别结果。再例如,浏览器的主菜单中的一菜单项下包括3个子菜单,用户选中该菜单项后,浏览器在页面上的内容显示区域显示扩展选项卡,通过该扩展选项卡该菜单项的3个子菜单。Third, 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.
其四,第一预设信息为弹窗信息。例如,第一预设信息为浏览器中的Web应用的弹窗显示的即时消息。Fourth, the first preset information is popup information. For example, the first preset information is an instant message displayed by a pop-up window of a web application in the browser.
其五,第一预设信息为候选信息。再例如,浏览器的主菜单中的一菜单项下包括3个子菜单,用户选中该菜单项后,浏览器在页面上的内容显示区 域显示扩展选项卡,通过该扩展选项卡该菜单项的3个子菜单。Fifth, the first preset information is candidate information. For another example, 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.
例如,结合前述其一,所谓事件可以是用户选中输入框的操作,或者所谓事件可以为将光标移动至输入框的操作,或者所谓事件可以为打开搜索引擎的操作。For example, in conjunction with the foregoing, 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.
又例如,结合前述其二,所谓事件为用户打开新闻网站的操作。For another example, in conjunction with the foregoing two, the so-called event is an operation for the user to open a news website.
又例如,结合前述其三,所谓事件可以为用户进行需要应用程序提供多个候选结果的操作。For another example, in conjunction with the foregoing three, the so-called event may perform an operation for the user to provide a plurality of candidate results for the application.
再例如,结合前述其四,所谓事件可以为设备接收即时消息,也可以为设备接收到推送消息。For another example, in combination with the foregoing four, the so-called event may be that the device receives the instant message, and may also receive the push message for the device.
本发明实施例中,该需要显示第一预设信息的事件还有很多其他实现方式,在此不一一举例。In the embodiment of the present invention, there are many other implementation manners for the event that needs to display the first preset information, which are not exemplified herein.
步骤102:在检测到该需要显示第一预设信息的事件后,判断网页中被用于显示第一预设信息的默认显示区域遮挡的的显示区域内是否显示有第二预设信息。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.
具体的,默认显示区域指的是:在默认情况下,第一预设信息的显示区域,该默认显示区域可以是用户预先定义的,也可以是设备或应用中预先定义的。例如,结合前述其一,第一预设信息为用户的历史输入内容时,通常在输入框(或,搜索框)的下拉菜单中显示该历史输入内容,在这种情况中,输入框正下方的下拉菜单处即为该默认显示区域。Specifically, 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. For example, in combination with the foregoing, when 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.
本发明实施例中,该默认显示区域也可以有其它实现方式,如默认显示区域在输入框的正上方,位于整个显示界面的最下方,等等。在此不一一举例说明。In the embodiment of the present invention, 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.
本发明实施例中,在检测到需要显示第一预设信息的事件后,设备判断用于显示第一预设信息的默认显示区域是否遮挡了网页中原显示的第二预设 信息,以确定在该默认显示区域处显示该第一预设信息是否会影响用户查看第二预设信息。In the embodiment of the present invention, after detecting the event that the first preset information needs to be displayed, 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.
步骤103:在被默认显示区域遮挡的显示区域内显示有第二预设信息时,在网页上层的第一显示区域显示第一预设信息,且使第一显示区域与第二预设信息的显示区域不重叠。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.
具体的,设备在确定默认显示区域遮挡有有第二预设信息时,设备会同时显示第一预设信息以及第二预设信息,并保证二者的显示区域不重叠。具体包括如下两种显示方式:Specifically, when 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. Specifically, the following two display modes are included:
方式1,设备保持第二预设信息的当前显示区域不变;并在网页上层确定与第二预设信息的当前显示区域不重叠的该第一显示区域,在该第一显示区域显示第一预设信息。In the mode 1, 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.
且在与第二预设信息的显示区域不重叠的第一显示区域显示第一预设信息。And displaying the first preset information in the first display area that does not overlap with the display area of the second preset information.
即,设备不在该默认显示区域处显示第一预设信息,而是在不遮挡第二预设信息的第一显示区域显示该第一预设信息。That is, 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.
需要说明的是,结合前述页面上层的第一种情形,该默认显示位置为网页多层中的上(顶)层的显示区域时,该第一显示区域同样位于网页多层中的上层;结合前述页面上层的第二种情形,该默认显示位置为遮挡网页的第二窗口对应的显示区域时,该第一显示区域同样为第二窗口对应的显示区域。It should be noted that, in combination with the first case of the upper layer of the foregoing page, when the default display position is the display area of the upper (top) layer in the plurality of layers of the webpage, the first display area is also located in the upper layer of the plurality of webpage layers; In the second case of the upper layer of the foregoing page, when the default display position is the display area corresponding to the second window of the occlusion webpage, the first display area is also the display area corresponding to the second window.
方式2,设备在默认显示区域显示第一预设信息,并在与默认显示区域不重叠的第二显示区域显示第二预设信息。In the mode 2, 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.
即,设备仍然在默认显示区域处显示该第一预设信息,但是调整第二预设信息的显示区域,将第二预设信息从原显示区域调整至与默认显示区域不重叠的第二显示区域。That is, 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.
上述方式2可以有2种实现方式,第一种方式为设备获取第二预设信息对应的数据,根据第二预设信息对应的数据在该第二显示区域显示第二预设信息。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.
例如,位置更改请求中包括的该信息包括默认显示区域的位置信息以及第二预设信息的标识,服务器根据该第二预设信息的标识定位需要更改显示位置的显示内容,并根据该默认显示区域确定一不与默认显示区域相重叠的显示区域作为该第二显示区域。For example, 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.
又例如,位置更改请求中包括的该信息包括第二预设信息的标识以及用户设备指定的用于显示第二预设信息的第二显示区域的位置信息,服务器根据该第二预设信息的标识定位需要更改显示位置的显示内容,并根据第二显示区域的位置信息更新网页数据,使得用户设备使用更新的数据显示网页时,第二预设信息被显示在该第二显示区域。For example, 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.
上述技术方案中,设备在检测到需要在网页上层显示第一预设信息的事件后,在显示第一预设信息之前,先判断该第一预设信息的默认显示区域是否会遮挡网页中原显示的第二预设信息,并在该默认显示区域会遮挡第二预设信息时,设备将同时显示第一预设信息以及第二预设信息,并保证二者不重叠,避免二者互相遮挡,保证用户能够同时查看第一预设信息以及第二预设信息。In the foregoing technical solution, 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 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.
可选的,在执行步骤101,检测到该需要显示第一预设信息的事件之后,设备先判断当前显示界面是否显示有第二预设信息。如果当前显示界面没有显示第二预设信息,设备直接在默认显示区域显示该第一预设信息;如果当前显示界面显示有第二预设信息,再执行步骤102,判断该第二预设信息是否至少有一部分显示在该默认显示区域处,若是,则执行步骤103,同时显示第一预设信息以及第二预设信息,并保证二者的显示区域不重叠。Optionally, 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.
上述可选方案中,设备通过先检测是否显示有第二预设信息,并在没有显示第二预设信息时,直接在默认显示区域显示第二预设信息,减少运算量。In the above alternative, 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.
可选的,在步骤102之后,如果默认位置处没有显示该第二预设信息,则直接在默认显示区域显示第二预设信息。Optionally, after the step 102, if the second preset information is not displayed at the default location, the second preset information is directly displayed in the default display area.
可选的,本发明实施例中,所述第一预设信息可以为根据设备本地数据形成的信息。例如,结合前述步骤101中第一预设信息的多种实现方式中的 其一,用户在使用浏览器的搜索框进行搜索后,设备会在本地保存用户使用过的搜索关键字,以便在用户下一次进行搜索操作时,向用户显示该历史关键字,方便用户快速搜索该历史关键字。Optionally, in the embodiment of the present invention, the first preset information may be information formed according to local data of the device. For example, in combination with the multiple implementations of the first preset information in the foregoing step 101 First, after the user searches in the search box of the browser, 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.
本发明实施例上述信息显示方法可以由手机、平板电脑、笔记本电脑、智能手表、虚拟显示设备、增强显示设备等多种设备执行,本发明实施例不予限定。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.
为了便于理解本发明实施例技术方案,下面以在手机中输入验证码的过程,对本发明实施例方案进行说明。In order to facilitate the understanding of the technical solution of the embodiment of the present invention, the following describes the solution of the embodiment of the present invention by the process of inputting the verification code in the mobile phone.
用户在手机打开的页面上登录帐号时,需要输入验证码,不妨设该验证码中包含多个汉字,例如“乐”以及“体”,用户需要使用输入法在验证输入框中先输入该“乐”字,不妨设用户使用的的是“T9”键盘,为了输入乐“字”,用户触按输入T9键盘中的“5”键(对应j、k、l)以及“3”键(对应d、e、f)。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".
本发明实施例中,手机在确定上述候选词的默认显示区域遮挡了验证码之后,可以移动验证码的显示区域,使得验证码的显示区域与上述候选词的默认显示区域不重叠。另一种方式为:手机保持验证码的显示区域不变,在与验证码不重叠的显示区域显示上述候选词。In the embodiment of the present invention, after determining that the default display area of the candidate word occludes the verification code, 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.
需要说明的是,上述例子仅在于对本发明实施例技术方案进行举例说明,不能以此限定本发明实施例的保护范围。It should be noted that the above examples are merely illustrative of the technical solutions of the embodiments of the present invention, and the scope of protection of the embodiments of the present invention is not limited thereto.
实施例2Example 2
本发明通过实施例2提供一种信息显示方法,该方法由服务器执行,服务器可以为一台计算机,也可以为多台计算机组成的计算机群。参照图3,该方法包括如下步骤: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. Referring to Figure 3, the method includes the following steps:
步骤201:服务器接收用户设备发送的位置更改请求,位置更改请求包括指向网页中显示的第二预设信息,该位置更改请求为用户终端在检测到第二预设信息的当前显示区域与需要显示的第一预设信息的默认显示区域重叠时生成; 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;
步骤202:服务器将第二预设信息的显示区域更改为与默认显示区域不重叠的第二显示区域;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.
步骤203:服务器根据第二显示区域更新网页数据,并向用户设备发送更新后的网页数据,更新后的网页数据用于使用户终端在第二显示区域显示第二预设信息。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.
上述步骤201至步骤203的实现方式已包含在实施例1中对服务器所执行动作的描述中,在此不再重复。The implementation of the foregoing steps 201 to 203 has been included in the description of the actions performed by the server in Embodiment 1, and is not repeated here.
实施例3Example 3
本发明通过实施例3提供一种信息显示设备,参照图4,该信息显示设备300包括:The present invention provides an information display device through Embodiment 3. Referring to FIG. 4, the information display device 300 includes:
检测模块301,用于检测需要在网页上层显示第一预设信息的事件;The detecting module 301 is configured to detect an event that needs to display the first preset information on a webpage upper layer;
判断模块302,用于在检测到该事件后,判断该网页中被用于显示该第一预设信息的默认显示区域遮挡的显示区域内是否显示有第二预设信息;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;
显示模块303,用于在该被该默认显示区域遮挡的显示区域内显示有该第二预设信息,则在该网页上层的第一显示区域显示该第一预设信息,且使该第二显示区域与该网页中该第二预设信息的显示区域不重叠。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.
可选的,本发明实施例中,显示模块303具体用于:在该网页上层确定与该第二预设信息的当前显示区域不重叠的该第一显示区域;在该第一显示区域显示该第一预设信息。Optionally, in the embodiment of the present invention, 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.
可选的,本发明实施例中,该第一显示区域为该默认显示区域,显示模块303具体用于:向服务器发送位置更改请求,该位置更改请求用于请求该服务器将该第二预设信息的显示区域更改为与该默认显示区域不重叠的第二显示区域;在该默认显示区域显示该第一预设信息;以及接收该服务器更新的网页数据,并根据该更新的网页数据在该第二显示区域显示该第二预设信息。Optionally, in the embodiment of the present invention, the first display area is the default display area, and 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.
可选的,本发明实施例中,该第一预设信息包括历史输入内容、热点信息、候选信息、弹窗信息中的任一项;和/或,Optionally, in the embodiment of the present invention, 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.
可选的,本发明实施例中,该第一预设信息为根据设备本地数据形成的信息。Optionally, in the embodiment of the present invention, the first preset information is information formed according to local data of the device.
以上信息显示设备300包含的各模块的具体实现方式可以参照实施例1中的信息显示方法的各步骤的实施方式,本发明实施例不再赘述。For the specific implementation of the modules included in the above information display device 300, reference may be made to the implementation of the steps of the information display method in the first embodiment, which is not described in detail in the embodiments of the present invention.
实施例4Example 4
本发明通过实施例提供一种服务器400,参照图5,服务器400包括:The present invention provides a server 400 by using an embodiment. Referring to FIG. 5, the server 400 includes:
接收模块401,用于接收用户设备发送的位置更改请求,该位置更改请求包括指向网页中显示的第二预设信息,该位置更改请求为该用户终端在检测到该第二预设信息的当前显示区域与需要显示的第一预设信息的默认显示区域重叠时生成;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;
更改模块402,用于将该第二预设信息的显示区域更改为与该默认显示区域不重叠的第二显示区域,并根据该第二显示区域更新网页数据;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;
发送模块403,用于向该用户设备发送更新后的网页数据,该更新后的网页数据用于使该用户终端在该第二显示区域显示该第二预设信息。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.
可选的,本发明实施例中,该位置更改请求包括该第二显示区域的信息;或者,该位置更改请求包括该第一显示区域的信息,该第一显示区域的信息用于使该服务器确定该第二显示区域。Optionally, in the embodiment of the present invention, 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.
以上服务器400包含的各模块的具体实现方式可以参照实施例1的信息显示方法中由服务器执行的各步骤的实施方式,本发明实施例不再赘述。For the specific implementation of the modules included in the foregoing server 400, reference may be made to the implementation of the steps performed by the server in the information display method of the first embodiment, which is not described in detail in the embodiments of the present invention.
本发明实施例还提供一种信息显示设备,该设备包括处理器,以及与该处理器相耦合的存储器、输入单元和收发器。该输入单元用于接收用户的输入操作,该收发器用于与其它设备进行信息传输,该存储器用于存储指令。该处理器用于执行存储器中指令,以便在执行该指令的过程中,控制设备执行实施例1提供的信息显示方法中的各步骤。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.
本发明实施例提供一种服务器,该服务器用于执行实施例2提供的信息显示方法中的各步骤。具体的,该服务器包括处理器、存储器以及收发器,其中,处理器与存储器、收发器分别通过总线通信,收发器用于与用户设备进行信息传输,存储器用于存储网页数据以及指令。处理器用于执行存储器中的指令,以通过存储器、收发器执行上述实施例2提供的信息显示方法中的各步骤,包括:通过收发器接收用户设备发送的位置更改请求,位置更改请求包括指向网页中显示的第二预设信息,该位置更改请求为用户终端在检 测到第二预设信息的当前显示区域与需要显示的第一预设信息的默认显示区域重叠时生成;将第二预设信息的显示区域更改为与默认显示区域不重叠的第二显示区域;根据第二显示区域更新网页数据,并指示收发器向用户设备发送更新后的网页数据,更新后的网页数据用于使用户终端在第二显示区域显示第二预设信息。其中,位置更改请求包括第二显示区域的信息;或者,位置更改请求包括第一显示区域的信息,第一显示区域的信息用于使服务器确定第二显示区域。The embodiment of the present invention provides a server for performing each step in the information display method provided in Embodiment 2. Specifically, 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, the location change request 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.
图6所示为本发明实施例提供的一种电子设备500的示意图,电子设备500包括总线501,以及分别连接到总线501的存储器502以及处理器503。存储器502用于存储指令;处理器503用于执行所述指令,以在执行所述指令时执行如下步骤: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:
检测需要在网页上层显示第一预设信息的事件;Detecting an event that needs to display the first preset information on the upper layer of the webpage;
在检测到所述事件后,判断所述网页中被用于显示所述第一预设信息的默认显示区域遮挡的显示区域内,是否显示有第二预设信息;After detecting the event, determining 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;
若所述被所述默认显示区域遮挡的显示区域内显示有所述第二预设信息,则在所述网页上层的第一显示区域显示所述第一预设信息,且使所述第二显示区域与所述网页中所述第二预设信息的显示区域不重叠。If 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.
本发明实施例提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行实施例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 by Embodiment 1.
本发明实施例提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行实施例2提供的信息显示方法的指令。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.
本发明实施例提供了一种计算机程序,所述计算机程序包括用于执行实施例1提供的信息显示方法的指令。An embodiment of the present invention provides a computer program including instructions for executing the information display method provided in Embodiment 1.
本发明实施例提供了另一种计算机程序,所述计算机程序包括用于执行实施例2提供的信息显示方法的指令。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.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可 读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the various embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware. Based on such understanding, the above technical solution may be embodied in the form of a software product in essence or in the form of a software product, which may be stored in a computer. Reading a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform portions of various embodiments or embodiments Methods.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not limited thereto; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that The technical solutions described in the foregoing embodiments are modified, or the equivalents of the technical features are replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (17)

  1. 一种信息显示方法,其特征在于,包括:An information display method, comprising:
    检测需要在网页上层显示第一预设信息的事件;Detecting an event that needs to display the first preset information on the upper layer of the webpage;
    在检测到所述事件后,判断所述网页中被用于显示所述第一预设信息的默认显示区域遮挡的显示区域内,是否显示有第二预设信息;After detecting the event, determining 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;
    若所述被所述默认显示区域遮挡的显示区域内显示有所述第二预设信息,则在所述网页上层的第一显示区域显示所述第一预设信息,且使所述第二显示区域与所述网页中所述第二预设信息的显示区域不重叠。If 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.
  2. 根据权利要求1所述的方法,其特征在于,所述在所述网页上层的第一显示区域显示所述第一预设信息,且使所述第二显示区域与所述网页中所述第二预设信息的显示区域不重叠,包括:The method according to claim 1, wherein the first display area is displayed on the first display area of the upper layer of the webpage, and the second display area is compared with the first display area The display areas of the two preset information do not overlap, including:
    在所述网页上层确定与所述第二预设信息的当前显示区域不重叠的所述第一显示区域;Determining, 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;
    在所述第一显示区域显示所述第一预设信息。Displaying the first preset information in the first display area.
  3. 根据权利要求1所述的方法,其特征在于,所述第一显示区域为所述默认显示区域,所述在所述网页上层的第一显示区域显示所述第一预设信息,且使所述第二显示区域与所述网页中所述第二预设信息的显示区域不重叠,包括:The method according to claim 1, wherein the first display area is the default display area, and the first display area of the upper layer of the webpage displays the first preset information, and The second display area does not overlap with the display area of the second preset information in the webpage, and includes:
    向服务器发送位置更改请求,所述位置更改请求用于请求所述服务器将所述第二预设信息的显示区域更改为与所述默认显示区域不重叠的第二显示区域;Sending a location change request to the server, 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;
    在所述默认显示区域显示所述第一预设信息;以及Displaying the first preset information in the default display area;
    接收所述服务器更新的网页数据,并根据所述更新的网页数据在所述第二显示区域显示所述第二预设信息。Receiving webpage data updated by the server, and displaying the second preset information in the second display area according to the updated webpage data.
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述第一预设信息包括历史输入内容、热点信息、候选信息、弹窗信息中的任一项;和/或,The method according to any one of claims 1 to 3, wherein the first preset information comprises 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.
  5. 根据权利要求1至3任一项所述的方法,其特征在于,所述第一预设信息为根据设备本地数据形成的信息。The method according to any one of claims 1 to 3, wherein the first preset information is information formed according to device local data.
  6. 一种信息显示设备,其特征在于,包括: An information display device, comprising:
    检测模块,用于检测需要在网页上层显示第一预设信息的事件;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 the second preset information in the display area that is occluded by the default display area, and display the first preset information in a first display area of the upper layer of the webpage, and And causing the second display area to not overlap with the display area of the second preset information in the webpage.
  7. 根据权利要求6所述的设备,其特征在于,所述显示模块具体用于:在所述网页上层确定与所述第二预设信息的当前显示区域不重叠的所述第一显示区域;在所述第一显示区域显示所述第一预设信息。The device according to claim 6, wherein the display module is 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 first display area displays the first preset information.
  8. 根据权利要求6所述的设备,其特征在于,所述第一显示区域为所述默认显示区域,所述显示模块具体用于:向服务器发送位置更改请求,所述位置更改请求用于请求所述服务器将所述第二预设信息的显示区域更改为与所述默认显示区域不重叠的第二显示区域;在所述默认显示区域显示所述第一预设信息;以及接收所述服务器更新的网页数据,并根据所述更新的网页数据在所述第二显示区域显示所述第二预设信息。The device according to claim 6, wherein the first display area is the default display area, and 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 location The server changes a display area of the second preset information to a second display area that does not overlap the default display area; displays the first preset information in the default display area; and receives the server update The webpage data, and displaying the second preset information in the second display area according to the updated webpage data.
  9. 根据权利要求6至8任一项所述的设备,其特征在于,所述第一预设信息包括历史输入内容、热点信息、候选信息、弹窗信息中的任一项;和/或,The device according to any one of claims 6 to 8, wherein the first preset information comprises 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.
  10. 根据权利要求6至8任一项所述的设备,其特征在于,所述第一预设信息为根据设备本地数据形成的信息。The device according to any one of claims 6 to 8, wherein the first preset information is information formed according to device local data.
  11. 一种信息显示方法,其特征在于,包括:An information display method, comprising:
    服务器接收用户设备发送的位置更改请求,所述位置更改请求包括指向网页中显示的第二预设信息,所述位置更改请求为所述用户终端在检测到所述第二预设信息的当前显示区域与需要显示的第一预设信息的默认显示区域重叠时生成;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.
  12. 根据权利要求11所述的方法,其特征在于,所述位置更改请求包括所述第二显示区域的信息;或者,The method according to claim 11, wherein 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.
  13. 一种服务器,其特征在于,包括:A server, comprising:
    接收模块,用于接收用户设备发送的位置更改请求,所述位置更改请求包括指向网页中显示的第二预设信息,所述位置更改请求为所述用户终端在检测到所述第二预设信息的当前显示区域与需要显示的第一预设信息的默认显示区域重叠时生成;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;
    发送模块,用于向所述用户设备发送更新后的网页数据,所述更新后的网页数据用于使所述用户终端在所述第二显示区域显示所述第二预设信息。And 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.
  14. 根据权利要求13所述的服务器,其特征在于,所述位置更改请求包括所述第二显示区域的信息;或者,The server according to claim 13, wherein 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.
  15. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    存储器,用于存储指令;a memory for storing instructions;
    处理器,与所述存储器相连,用于执行所述指令,以在执行所述指令时执行如下步骤:a processor coupled to the memory for executing the instructions to perform the following steps when the instructions are executed:
    检测需要在网页上层显示第一预设信息的事件;Detecting an event that needs to display the first preset information on the upper layer of the webpage;
    在检测到所述事件后,判断所述网页中被用于显示所述第一预设信息的默认显示区域遮挡的显示区域内,是否显示有第二预设信息;After detecting the event, determining 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;
    若所述被所述默认显示区域遮挡的显示区域内显示有所述第二预设信息,则在所述网页上层的第一显示区域显示所述第一预设信息,且使所述第二显示区域与所述网页中所述第二预设信息的显示区域不重叠。If 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.
  16. 一种计算机可读介质,其特征在于,所述计算机可读介质用于存储计算机程序,所述计算机程序包括用于执行权利要求1至5任一项所述的方法的指令。A computer readable medium for storing a computer program, the computer program comprising instructions for performing the method of any one of claims 1 to 5.
  17. 一种计算机程序,其特征在于,所述计算机程序包括用于执行权利 要求1至5任一项所述的方法的指令。 A computer program, characterized in that the computer program includes means for executing rights The instructions of the method of any of 1 to 5 are claimed.
PCT/CN2016/099910 2016-06-28 2016-09-23 Information display method, device and server WO2018000604A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610495279.4A CN106156292A (en) 2016-06-28 2016-06-28 A kind of method for information display, equipment and server
CN201610495279.4 2016-06-28

Publications (1)

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

Family

ID=57350449

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/099910 WO2018000604A1 (en) 2016-06-28 2016-09-23 Information display method, device and server

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710088A (en) * 2018-12-29 2019-05-03 北京金山安全软件有限公司 Information searching method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112765508A (en) * 2021-01-27 2021-05-07 维沃移动通信有限公司 Information display method and device and electronic equipment

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 (en) * 2009-12-31 2011-07-06 联想(北京)有限公司 A window management method, device thereof and computer
CN102131122A (en) * 2011-01-21 2011-07-20 四川长虹电器股份有限公司 Method for digital television to display advertisement in play state
CN102981699A (en) * 2011-11-01 2013-03-20 微软公司 Adjusting content to avoid occlusion by a virtual input panel

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100478881C (en) * 2007-05-16 2009-04-15 珠海金山软件股份有限公司 Device and method for user operating sheltered area
US8078979B2 (en) * 2007-11-27 2011-12-13 Microsoft Corporation Web page editor with element selection mechanism
CN102193719A (en) * 2010-03-15 2011-09-21 联想(北京)有限公司 Display method and display terminal
CN105094586B (en) * 2014-05-19 2018-08-10 联想(北京)有限公司 A kind of adjusting method and electronic equipment of display window
CN104035690B (en) * 2014-06-25 2017-11-03 联想(北京)有限公司 A kind of captions displaying location method of adjustment and electronic equipment
CN105451062B (en) * 2015-09-15 2017-05-31 北京合盒互动科技有限公司 A kind of method and device for showing pushed information

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 (en) * 2009-12-31 2011-07-06 联想(北京)有限公司 A window management method, device thereof and computer
CN102131122A (en) * 2011-01-21 2011-07-20 四川长虹电器股份有限公司 Method for digital television to display advertisement in play state
CN102981699A (en) * 2011-11-01 2013-03-20 微软公司 Adjusting content to avoid occlusion by a virtual input panel

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710088A (en) * 2018-12-29 2019-05-03 北京金山安全软件有限公司 Information searching method and device

Also Published As

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

Similar Documents

Publication Publication Date Title
US11782581B2 (en) Display control method and device, electronic device and storage medium
JP7013466B2 (en) Application data processing methods, equipment, and computer programs
US9847955B2 (en) Device and method for displaying image in chatting area and server for managing chatting data
US9594505B1 (en) Prediction completion gesture
JP5912083B2 (en) User interface providing method and apparatus
US10109079B2 (en) Method and apparatus for processing tab in graphical interface
US10878044B2 (en) System and method for providing content recommendation service
US20140095967A1 (en) Method and apparatus for displaying information
TW201606631A (en) Context menu utilizing a context indicator and floating menu bar
US11134051B2 (en) Apparatus and method for managing notification
WO2017167123A1 (en) Method and apparatus for displaying resource entrance on mobile device, and mobile device
US10318605B2 (en) Method and device for relocating input box to target position in mobile terminal browser, storage medium
US11989383B2 (en) Application window display method and terminal
US9720557B2 (en) Method and apparatus for providing always-on-top user interface for mobile application
US10073618B2 (en) Supplementing a virtual input keyboard
US20160285859A1 (en) Method and device for accessing webpage
US10013497B1 (en) Background reloading of currently displayed content
US11157576B2 (en) Method, system and terminal for performing search in a browser
CN105793844A (en) Contextual information lookup and navigation
US10838612B2 (en) Apparatus and method for processing drag and drop
WO2015123432A1 (en) Suggestions to install and/or open a native application
WO2017139178A1 (en) Effecting multi-step operations in an application in response to direct manipulation of a selected object
US20160299978A1 (en) Device dependent search experience
CN112988006A (en) Display method, display device, electronic equipment and storage medium
CN115698987A (en) Sidebar search pane

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