WO2019154095A1 - Data display method and device, storage medium, and electronic device - Google Patents

Data display method and device, storage medium, and electronic device Download PDF

Info

Publication number
WO2019154095A1
WO2019154095A1 PCT/CN2019/072970 CN2019072970W WO2019154095A1 WO 2019154095 A1 WO2019154095 A1 WO 2019154095A1 CN 2019072970 W CN2019072970 W CN 2019072970W WO 2019154095 A1 WO2019154095 A1 WO 2019154095A1
Authority
WO
WIPO (PCT)
Prior art keywords
window
instruction
display
terminal
data
Prior art date
Application number
PCT/CN2019/072970
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 WO2019154095A1 publication Critical patent/WO2019154095A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present application relates to the field of computers, and in particular to a data display method and apparatus, a storage medium, and an electronic device.
  • the browser is used to display the HTML file content of the web server or file system, and can process the contents of the file through interaction with the user. For example, after the browser obtains the URL link requested by the user, the content included in the URL link, such as text, image, video, etc., may be loaded in the browser page.
  • the content included in the URL link such as text, image, video, etc.
  • the browser in order to view the updated file content in time, it is necessary to frequently perform the operation of starting and closing the browser.
  • the browser Each time the browser starts, it needs to send a startup request to the browser's control server. After receiving the permission to start the response returned by the control server, the browser can start various control functions in the browser and load the display browser.
  • the main page implements loading to display the contents of the file requested by the user. That is to say, in the data display method provided by the related art, there is a problem that the display efficiency when the data is displayed in the browser is low due to the long time required to repeatedly start the browser.
  • the embodiment of the present application provides a data display method and device, a storage medium, and an electronic device, so as to at least solve the technical problem that the browser display method provided by the related art has low display efficiency.
  • a data display method including: a terminal acquiring a window load instruction for requesting loading of a first window of a browser, wherein the first window is configured to provide a first control function,
  • the first control function includes a partial control function in the control function set matching the browser; the terminal loads the first window in response to the window loading instruction; and the terminal acquires the operation generated by performing an operation on the data displayed in the first window Displaying an instruction; the terminal displays target data corresponding to the above display instruction.
  • a data display apparatus which is applied to a terminal, comprising: a first acquiring unit, configured to acquire a window loading instruction for requesting loading of a first window of a browser, wherein The first window is configured to provide a first control function, where the first control function includes a partial control function in the control function set matched with the browser; the loading unit is configured to load the first window in response to the window loading instruction; The second obtaining unit is configured to acquire a display instruction generated by performing an operation on the data displayed in the first window; and the first display unit is configured to display the target data corresponding to the display instruction.
  • a storage medium having stored therein a computer program, wherein the computer program is configured to execute the above method at runtime.
  • an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the above by using a computer program method.
  • the first window for providing the first control function is loaded by the terminal, wherein the first control function is a partial control function in the control function set that matches the browser.
  • the first control function is a partial control function in the control function set that matches the browser.
  • FIG. 1 is a schematic diagram of an application environment of a data display method according to an embodiment of the present application
  • FIG. 2 is a schematic flow chart of an optional data display method according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of an alternative data display method according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of another alternative data display method according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of still another alternative data display method according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of still another alternative data display method according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of still another alternative data display method according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of still another alternative data display method according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of still another alternative data display method according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of still another alternative data display method according to an embodiment of the present application.
  • FIG. 11 is a schematic diagram of still another alternative data display method according to an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of an optional data display device according to an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of an optional electronic device according to an embodiment of the present application.
  • a data display method is provided.
  • the foregoing data display method may be, but is not limited to, applied to a hardware environment as shown in FIG. 1.
  • the PC terminal 102 After acquiring the window loading instruction for requesting loading the first window of the browser, the PC terminal 102 loads the first window of the browser in response to the window loading instruction, wherein the first window is configured to provide a match with the browser.
  • Controlling a partial control function in the function set acquiring a display instruction generated by performing an operation on the data displayed in the first window in the first window, and transmitting, by the network 104, a data acquisition request carrying the display instruction to the server 106, the server 106
  • the database 108 pulls the target data corresponding to the display instruction in the data acquisition request, and returns the target data to the PC terminal 102 for display.
  • the foregoing terminal may include, but is not limited to, at least one of the following: a tablet computer, a notebook computer, a personal computer (PC), or the like, which allows the browser to display multi-tab data.
  • the foregoing network may include, but is not limited to, a wireless network or a wired network, where the wireless network may include, but is not limited to, Bluetooth, WIFI, and other networks that implement wireless communication.
  • the above wired network may include, but is not limited to, a wide area network, a metropolitan area network, and a local area network.
  • the above server may include, but is not limited to, a hardware device with a large processing capability. The above is only an example, and the embodiment does not limit this.
  • the foregoing data display method may include:
  • the terminal acquires a window loading instruction for requesting loading of a first window of the browser, where the first window is configured to provide a first control function, and the first control function includes a part of the control function in the control function set matched with the browser. ;
  • the terminal loads the first window in response to the window loading instruction.
  • the terminal acquires a display instruction generated by performing an operation on the data displayed in the first window.
  • the terminal displays target data corresponding to the display instruction.
  • the above data display method may be, but is not limited to, applied to a process of displaying the requested data through a browser.
  • the browser may be, but is not limited to, loading and displaying various types of data in the respective data links, such as text data, image data, video data, and the like.
  • a first window is configured for the browser running in the terminal, wherein the first window is used to provide a first control function, and the first control function is part of the control function set matching the browser.
  • the first window (also referred to as “ultra-light window”) is used to provide a partial control function in a control function set that matches the browser, wherein the partial control function may be Including but not limited to: window display function, page jump function.
  • the partial control function may be Including but not limited to: window display function, page jump function.
  • all of the control functions in the set of control functions that match the browser may be, but are not limited to, provided through a second window (which may also be referred to as a "main window").
  • the second window may also provide, but is not limited to, providing at least one of the following control functions:
  • Account system Configure an account system in the browser. For example, after establishing an account for login, user personalization and personal data management are performed based on the account.
  • bookmarks The loading of bookmarks itself involves local disk reads and writes and network communication, which is a time consuming process.
  • bookmarks also involve operations such as additions and deletions, management, and the like.
  • the first window may be, but not limited to, the control function 1)-3) provided by the second window is trimmed, and only the core control function is retained (such as the above window display function, page jump) Turn the feature) to simplify the interactive steps of the browser.
  • FIG. 3 it is assumed that a shortcut key for quickly loading the first window of the browser is set in the task bar, and a window loading instruction is generated by clicking the shortcut key, and the first window is displayed on the desktop of the PC terminal in response to the window loading instruction ( As shown on the right side of Figure 3.
  • the first window shown in Figure 3 shows two data links for today's temperature and today's hotspot. After the display instruction generated by performing the operation on the data of "Today's temperature" in the first window is acquired, the target data corresponding to the display instruction, such as the temperature data corresponding to the currently updated "Today's temperature", is displayed.
  • the foregoing second window may be, but is not limited to, loading and displaying by: acquiring a startup request for starting a browser; and loading a second window of the display browser in response to the startup request. That is to say, in the embodiment, when the browser is started, the second window is directly loaded and displayed.
  • the window loading instruction that the terminal acquires the first window for requesting to load the browser may include, but is not limited to:
  • the terminal acquires a separate instruction generated by performing a separating operation on the second window; and generates a window loading instruction of the first window according to the separating instruction;
  • the terminal acquires an operation instruction generated by performing an operation on the shortcut key displayed on the main interface, and generates a window loading instruction of the first window according to the operation instruction.
  • a startup key for starting a browser is set on a terminal desktop, and a startup request is generated after clicking a startup key, and a second window is displayed on the terminal desktop in response to the startup request (also referred to as a “main window”. ").
  • the side window of the second window of the browser displays data of a type such as music, movies, news, and animation.
  • a shortcut key for recording the first window of the browser is set on the desktop of the terminal, and a window loading instruction of the first window is generated after clicking the shortcut key, and the window loading instruction is directly responded to the window loading instruction, directly at the terminal desktop.
  • Load display the first window also known as "ultra-light window”
  • the manner of performing a separation operation on the second window to obtain the separation instruction may include:
  • the terminal acquires a separate instruction generated by performing a click operation on the separate button displayed in the second window;
  • the terminal acquires a separate instruction generated by performing a drag operation on the first target area of the second window.
  • the first target area may be, but is not limited to, any visible area in the second window, such as the left side column, the right side column, the bottom column of the second window, and the like for displaying a quick view.
  • the area of the data type is made by taking the left side column as an example.
  • FIGS. 5-6 The process of performing a click operation on the separate button displayed in the second window will be described with particular reference to FIGS. 5-6.
  • FIG. 5 when the mouse is placed in the side column "News", an operation floating layer is displayed, and the operation floating layer provides a "pop-up” button, after acquiring a separate instruction generated by performing a click operation on the "eject” button.
  • the first window shown on the right side of FIG. 5 is displayed, and the data link of the "news" type in the second window is displayed in the first window.
  • Figure 6 after selecting the side column "News", click the "Eject” button that is fixedly set in the tab bar, and after obtaining the separation command generated by performing the click operation on the "Eject” button, the screen is displayed as shown in Figure 6.
  • a first window is shown on the side, and a data link of the "news” type in the second window is displayed in the first window.
  • the process of performing a drag operation on the first target area of the second window is specifically described with reference to FIG.
  • the display is as shown in the right side of FIG. 4, and the second window is displayed in the second window.
  • a data link of the "News" type in the window is specifically described with reference to FIG.
  • one type of data displayed in the second window side column may be separated by a separation instruction to obtain a first window; or the second window sidebar may be separated by a separate instruction. At least two types of data displayed in the separation are separated to obtain a first window. Wherein at least two types of data are superimposed and displayed in the first window.
  • first window and the second window may be, but are not limited to, independent of each other, that is, after the first window is closed, the second window may continue to run; after the second window is closed, the first window may continue to run. .
  • displaying the target data corresponding to the display instruction comprises: 1) displaying the target data in the first window; and 2) displaying the target data in the second window.
  • the display command may include, but is not limited to, carrying a data link corresponding to the operated data, and acquiring target data to be displayed according to the data link. That is, each piece of data displayed in the first window may be, but is not limited to, a binding corresponding data link, and after obtaining the display instruction generated by performing an operation on the data, may be, but is not limited to, being obtained according to the display instruction.
  • the method further includes: acquiring a merge instruction generated by performing the merge operation; and merging the first window into the second target area in the second window in response to the merge instruction.
  • the second target area may be, but is not limited to, any visible area in the second window, such as the left side column, the right side column, the bottom column of the second window, and the like for displaying a quick view.
  • the area of the data type. That is to say, the first window displayed separately and divided can be, but is not limited to, merged into the second target area in the second window again.
  • the manner in which the terminal acquires the merge instruction includes:
  • the terminal acquires a merge instruction generated by performing a click operation on the merge button displayed in the first window or the second window;
  • the terminal in the case that it is detected that the first window is dragged to the target position, the terminal generates a merge instruction
  • the terminal when detecting a double-click operation on the first window, the terminal generates a merge instruction
  • the first window and the second window are displayed on the desktop of the terminal, if it is detected that the user performs a double-click operation on the first window, a merge command may be generated, and the first window is merged in response to the merge command.
  • the second target area in the second window for example, the second target area may be the left side column in the second window.
  • the method further includes: acquiring a top display instruction; and displaying the layer of the first window on the layer where the second window is located in response to the top display instruction.
  • the above-mentioned top display instruction may be, but is not limited to, an instruction generated after a pin operation.
  • the top display instruction is used to indicate that the layer where the first window is located is fixed at the uppermost layer of the browser window. As shown in FIG. 8, after the pin display instruction generated after the pin operation is acquired, the layer where the first window is located will always be above the layer where the second window is located.
  • the top display command is used to indicate that the window where the window is located is topped, and the first window itself can be arbitrarily moved in the interface, and the relative position relationship between the second window and the second window. I don't do anything like this here.
  • the first window for providing the first control function is loaded by the terminal, wherein the first control function is a partial control function in the control function set that matches the browser.
  • the first control function is a partial control function in the control function set that matches the browser.
  • the method further includes: the terminal acquiring a startup request for starting the browser; and loading the second window of the display browser in response to the startup request, where The second window is used to provide all the control functions in the control function set;
  • the window acquiring, by the terminal, the window loading instruction for requesting loading the first window of the browser comprises: acquiring, by the terminal, a separate instruction generated by performing a separating operation on the second window, wherein the separating instruction is used to indicate that the second window is separated from the second window. a window; a window load instruction that generates a first window in response to the separation instruction.
  • a startup key for starting a browser is set on a terminal desktop, and a startup request is generated after clicking a startup key, and a second window is displayed on the terminal desktop in response to the startup request (also referred to as a “main window”. ").
  • the side window of the second window of the browser displays data of a type such as music, movies, news, and animation.
  • the window loading instruction of the first window is generated by the terminal in response to the separated instruction generated by performing the separating operation on the second window, so that the terminal generates the first window when receiving the separating operation on the second window.
  • the window loading instruction loads the first window to achieve the purpose of displaying the target information according to the first window, thereby avoiding the problem that the browser display efficiency is low due to too many control functions in the browser.
  • the terminal obtains the separation instruction generated by performing the separation operation on the second window, and includes at least one of the following:
  • the terminal acquires a separate instruction generated by performing a click operation on the split button displayed in the second window;
  • the terminal acquires a separation instruction generated by performing a drag operation on the first target area of the second window.
  • FIGS. 5-6 The process of performing a click operation on the separate button displayed in the second window will be described with particular reference to FIGS. 5-6.
  • FIG. 5 when the mouse is placed in the side column "News", an operation floating layer is displayed, and the operation floating layer provides a "pop-up” button, after acquiring a separate instruction generated by performing a click operation on the "eject” button.
  • the first window shown on the right side of FIG. 5 is displayed, and the data link of the "news" type in the second window is displayed in the first window.
  • Figure 6 after selecting the side column "News", click the "Eject” button that is fixedly set in the tab bar, and after obtaining the separation command generated by performing the click operation on the "Eject” button, the screen is displayed as shown in Figure 6.
  • a first window is shown on the side, and a data link of the "news” type in the second window is displayed in the first window.
  • the process of performing a drag operation on the first target area of the second window is specifically described with reference to FIG.
  • the display is as shown in the right side of FIG. 4, and the second window is displayed in the second window.
  • a data link of the "News" type in the window is specifically described with reference to FIG.
  • the present embodiment by using the above method to generate a separate instruction, the first window is separated in the second window, thereby improving the flexibility of separating the first window, thereby improving the flexibility of data display.
  • the terminal acquiring the window loading instruction for requesting to load the first window of the browser includes:
  • the terminal acquires an operation instruction generated by performing an operation on the shortcut key displayed on the main interface.
  • the terminal generates a window loading instruction of the first window in response to the operation instruction.
  • the foregoing main interface may be, but not limited to, a desktop of the terminal, and the shortcut keys may be, but are not limited to, shortcut keys displayed on the desktop of the terminal.
  • the shortcut key for loading the first window and the shortcut key for starting the browser to load the second window may be, but are not limited to, different identifiers.
  • the desktop displays a browser for loading the first window.
  • the first window shortcut key as shown in FIG. 4, the desktop display has a "browser start key" for starting the browser to load the second window.
  • the shortcut keys for loading the first window and the shortcut keys for launching the browser to load the second window may also be, but are not limited to, the same identifier. If a shortcut key is displayed in the browser in advance, the shortcut key may be, but not limited to, for loading and displaying the first window, or for starting the browser to load and display the second window.
  • FIG. 3 it is assumed that a shortcut key for quickly loading the first window of the browser is set in the task bar, and a window loading instruction is generated by clicking the shortcut key, and the first window is displayed on the desktop of the PC terminal in response to the window loading instruction ( As shown on the right side of Figure 3.
  • the first window shown in Figure 3 shows two data links for today's temperature and today's hotspot. After the display instruction generated by performing the operation on the data of "Today's temperature" in the first window is acquired, the temperature data corresponding to the currently updated "Today's temperature” is displayed according to the display instruction.
  • an operation instruction is generated by performing an operation on the shortcut key displayed on the main interface, thereby generating a window loading instruction to load the first window, thereby achieving the purpose of directly loading the first window through the shortcut key, thereby avoiding starting.
  • the problem of loading the first window can be improved, and the loading efficiency of the first window is improved.
  • the target data indicated by the terminal display display instruction includes:
  • the terminal acquires the target data, and displays the target data in the first window;
  • the terminal acquires the target data and displays the target data in the second window, wherein the second window is used to provide all the control functions in the control function set.
  • the terminal achieves the effect of improving the display flexibility of the target data by displaying the target data in different manners.
  • the terminal acquires the target data and displays the target data in the first window, including:
  • the terminal replaces the first identifier with the second identifier, where the second identifier is a user agent identifier that matches the mobile terminal;
  • the terminal generates a first data display request for sending to the server of the browser according to the data link and the second identifier corresponding to the target data carried in the display instruction.
  • the terminal acquires the target data returned by the server in response to the first data display request, and displays the target data in the first window.
  • the first identifier and the second identifier may be a UI mark of the first window, where the UI mark is a mark that identifies a type of page layout of the first window.
  • the first identifier indicates that the first window uses a typesetting manner displayed on the PC
  • the second identifier indicates that the first window uses a typesetting manner displayed on the mobile phone.
  • the terminal acquires the target data and displays the target data in the second window, including:
  • the terminal transmits the data link corresponding to the target data carried in the instruction to the second window through the process;
  • the terminal generates a second data display request for sending to a server of the browser according to the data link.
  • the terminal acquires the target data returned by the server in response to the second data display request, and displays the target data in the second window.
  • the background after receiving the display instruction, the background will parse the display instruction to obtain the window type and data display mode of the receiving operation carried in the display instruction. Includes at least one of the following:
  • the terminal transmits the data link to the second window, and the second window displays the request of the display instruction.
  • the target data corresponding to the displayed data link.
  • the terminal will display the target data corresponding to the data link requested by the display instruction by the first window.
  • the background will determine to control the first window and/or the second window to display the target data by recognizing the information carried in the display instruction.
  • the triggering process delivery is determined by the type of the window and the data display mode of the receiving operation, which is only an example. In this embodiment, the operation mode of the triggering process is not limited.
  • the case where the display instruction is acquired in the first window and the target data is displayed in the second window is not limited to being performed by a right click operation.
  • a left-click operation is performed on the data in the first window, and the process is configured to trigger the process transfer
  • the process transfer is triggered, and the background control is passed through the second window.
  • the target data corresponding to the data link requested by the display instruction is displayed.
  • the data link selected by the user is passed to the second window by the process, and when the second window receives the data link, the second data display request is sent to the server, requesting The content corresponding to the link is displayed on the second window.
  • the target data is displayed in the second window, thereby improving the transmission speed of the first window and the second window, thereby Improve the efficiency of data display.
  • the method further includes:
  • the terminal acquires a window closing instruction
  • the terminal closes the first window and continues to display the second window
  • the terminal closes the second window and continues to display the first window.
  • the first window and the second window may be, but are not limited to, independent of each other, that is, after the first window is closed, the second window may continue to run; after the second window is closed, the first window may continue run.
  • FIGS. 9 and 10 As shown in FIG. 9, when the second window is closed, the first window is still in the display state. As shown in FIG. 10, when the first window is closed, the second window is still displayed. The first window and the second window do not affect each other.
  • the area occupied by the display window is reduced while the content of the display data is guaranteed.
  • the terminal closing the second window includes:
  • the terminal hides the second window, and clears the page data in the tab page displayed in the second window, wherein, when the first window continues to be displayed, and the display instruction for instructing to redisplay the second window is acquired, Reloading displays the second window, and the reloaded second window is in the initial display state.
  • a loading button is displayed on the first window.
  • the second window can be loaded directly by clicking the load button.
  • loading the second window by the loading button is only an optional method, and does not constitute a limitation on the present application. For example, you can double-click the fixed area of the first window to load the second window, and so on.
  • the second window is reloaded, thereby shortening the closing of the second window After re-loading the second window when the second window is opened again, the efficiency of data display is improved.
  • the method further includes:
  • the terminal acquires a merge instruction generated by performing a merge operation.
  • the terminal responds to the merge instruction to merge the first window into the second target area in the second window.
  • the merge instruction generated by the terminal acquiring the performing merge operation includes at least one of the following:
  • the terminal acquires a merge instruction generated by performing a click operation on the merge button displayed in the first window or the second window.
  • the terminal In a case that detecting that the first window is dragged to the target location, the terminal generates a merge instruction, wherein when the first window is at the target location, the overlapping area of the first window and the second window is greater than a predetermined threshold.
  • the first window and the second window are displayed on the desktop of the terminal, if it is detected that the user performs a double-click operation on the first window, a merge command may be generated, and the first window is merged in response to the merge command.
  • the second target area in the second window for example, the second target area may be the left side column in the second window.
  • the shaded portion in FIG. 11 is a portion where the first window overlaps with the second window.
  • a merge instruction is generated, and the first window is merged into the second target area in the second window in response to the merge instruction.
  • the second target area may be any position of the second window, which is not limited in this embodiment.
  • the first window is merged into the second target area in the second window by using the above method, thereby achieving flexible separation and merging of the first window and the second window, thereby achieving an effect of improving data display efficiency.
  • the method further includes:
  • the terminal acquires a top display instruction
  • the terminal responds to the top display instruction, and displays the layer where the first window is located on the layer where the second window is located.
  • the above-mentioned top display instruction may be, but is not limited to, an instruction generated after a pin operation.
  • the top display instruction is used to indicate that the layer where the first window is located is fixed at the uppermost layer of the browser window. As shown in FIG. 8, after the pin display instruction generated after the pin operation is acquired, the layer where the first window is located will always be above the layer where the second window is located.
  • the layer of the first window is displayed on the layer where the second window is located, thereby keeping the first window from being blocked by the second window.
  • the display priority of the first window is improved, and the effect of improving data display efficiency is achieved.
  • a data display apparatus for implementing the above data display method, which is applied to a terminal, as shown in FIG. 12, the apparatus includes:
  • the first obtaining unit 1202 is configured to acquire a window loading instruction for requesting loading of the first window of the browser, wherein the first window is configured to provide a first control function, and the first control function includes a control matching the browser Part of the control function in the feature set;
  • loading unit 1204 configured to load the first window in response to the window loading instruction
  • the second obtaining unit 1206 is configured to acquire a display instruction generated by performing an operation on the data displayed in the first window
  • the first display unit 1208 is configured to display target data indicated by the display instruction.
  • the above data display device may be, but is not limited to, applied to a process of displaying the requested data through a browser.
  • the browser may be, but is not limited to, loading and displaying various types of data in the respective data links, such as text data, image data, video data, and the like.
  • a first window is configured for the browser running in the terminal, wherein the first window is used to provide a first control function, and the first control function is part of the control function set matching the browser.
  • the first window (also referred to as “ultra-light window”) is used to provide a partial control function in a control function set that matches the browser, wherein the partial control function may be Including but not limited to: window display function, page jump function.
  • the partial control function may be Including but not limited to: window display function, page jump function.
  • all of the control functions in the set of control functions that match the browser may be, but are not limited to, provided through a second window (which may also be referred to as a "main window").
  • the second window may also provide, but is not limited to, providing at least one of the following control functions:
  • Account system Configure an account system in the browser. For example, after establishing an account for login, user personalization and personal data management are performed based on the account.
  • bookmarks The loading of bookmarks itself involves local disk reads and writes and network communication, which is a time consuming process.
  • bookmarks also involve operations such as additions and deletions, management, and the like.
  • the first window may be, but not limited to, the control function 1)-3) provided by the second window is trimmed, and only the core control function is retained (such as the above window display function, page jump) Turn the feature) to simplify the interactive steps of the browser.
  • FIG. 3 it is assumed that a shortcut key for quickly loading the first window of the browser is set in the task bar, and a window loading instruction is generated by clicking the shortcut key, and the first window is displayed on the desktop of the PC terminal in response to the window loading instruction ( As shown on the right side of Figure 3.
  • the first window shown in Figure 3 shows two data links for today's temperature and today's hotspot. After the display instruction generated by performing the operation on the data of "Today's temperature" in the first window is acquired, the target data corresponding to the display instruction, such as the temperature data corresponding to the currently updated "Today's temperature", is displayed.
  • the foregoing second window may be, but not limited to, loading the display by acquiring a startup request for starting the browser; and loading a second window displaying the browser in response to the startup request. That is to say, in the embodiment, when the browser is started, the second window is directly loaded and displayed.
  • the window load instruction for obtaining the first window for requesting loading of the browser may include but is not limited to:
  • a startup key for starting a browser is set on a terminal desktop, and a startup request is generated after clicking a startup key, and a second window is displayed on the terminal desktop in response to the startup request (also referred to as a “main window”. ").
  • the side window of the second window of the browser displays data of a type such as music, movies, news, and animation.
  • a shortcut key for recording the first window of the browser is set on the desktop of the terminal, and a window loading instruction of the first window is generated after clicking the shortcut key, and the window loading instruction is directly responded to the window loading instruction, directly at the terminal desktop.
  • Load display the first window also known as "ultra-light window”
  • the manner of performing a separation operation on the second window to obtain the separation instruction may include:
  • the first target area may be, but is not limited to, any visible area in the second window, such as the left side column, the right side column, the bottom column of the second window, and the like for displaying a quick view.
  • the area of the data type is made by taking the left side column as an example.
  • FIGS. 5-6 The process of performing a click operation on the separate button displayed in the second window will be described with particular reference to FIGS. 5-6.
  • FIG. 5 when the mouse is placed in the side column "News", an operation floating layer is displayed, and the operation floating layer provides a "pop-up” button, after acquiring a separate instruction generated by performing a click operation on the "eject” button.
  • the first window shown on the right side of FIG. 5 is displayed, and the data link of the "news" type in the second window is displayed in the first window.
  • Figure 6 after selecting the side column "News", click the "Eject” button that is fixedly set in the tab bar, and after obtaining the separation command generated by performing the click operation on the "Eject” button, the screen is displayed as shown in Figure 6.
  • a first window is shown on the side, and a data link of the "news” type in the second window is displayed in the first window.
  • the process of performing a drag operation on the first target area of the second window is specifically described with reference to FIG.
  • the display is as shown in the right side of FIG. 4, and the second window is displayed in the second window.
  • a data link of the "News" type in the window is specifically described with reference to FIG.
  • one type of data displayed in the second window side column may be separated by a separation instruction to obtain a first window; or the second window sidebar may be separated by a separate instruction. At least two types of data displayed in the separation are separated to obtain a first window. Wherein at least two types of data are superimposed and displayed in the first window.
  • first window and the second window may be, but are not limited to, independent of each other, that is, after the first window is closed, the second window may continue to run; after the second window is closed, the first window may continue to run. .
  • displaying the target data corresponding to the display instruction comprises: 1) displaying the target data in the first window; and 2) displaying the target data in the second window.
  • the display command may include, but is not limited to, carrying a data link corresponding to the operated data, and acquiring target data to be displayed according to the data link. That is, each piece of data displayed in the first window may be, but is not limited to, a binding corresponding data link, and after obtaining the display instruction generated by performing an operation on the data, may be, but is not limited to, being obtained according to the display instruction.
  • the method further includes: acquiring a merge instruction generated by performing the merge operation; and in response to the merge instruction, merging the first window into the second target area in the second window.
  • the second target area may be, but is not limited to, any visible area in the second window, such as the left side column, the right side column, the bottom column of the second window, and the like for displaying a quick view.
  • the area of the data type. That is to say, the first window displayed separately and divided can be, but is not limited to, merged into the second target area in the second window again.
  • the manner of obtaining the merge instruction includes:
  • the first window and the second window are displayed on the desktop of the terminal, if it is detected that the user performs a double-click operation on the first window, a merge command may be generated, and the first window is merged in response to the merge command.
  • the second target area in the second window for example, the second target area may be the left side column in the second window.
  • the method further includes: acquiring a top display instruction; and displaying the layer of the first window on the layer where the second window is located in response to the top display instruction.
  • the above-mentioned top display instruction may be, but is not limited to, an instruction generated after a pin operation.
  • the top display instruction is used to indicate that the layer where the first window is located is fixed at the uppermost layer of the browser window. As shown in FIG. 8, after the pin display instruction generated after the pin operation is acquired, the layer where the first window is located will always be above the layer where the second window is located.
  • the top display command is used to indicate that the window where the window is located is topped, and the first window itself can be arbitrarily moved in the interface, and the relative position relationship between the second window and the second window. I don't do anything like this here.
  • the present embodiment by loading a first window for providing a first control function, wherein the first control function is a partial control function in a control function set that matches the browser.
  • the first control function is a partial control function in a control function set that matches the browser.
  • the device further includes: 1) a third obtaining unit, configured to acquire a startup request for starting the browser before acquiring a window loading instruction for requesting loading of the first window of the browser; 1) the second display unit, setting Loading a second window of the display browser in response to the activation request, wherein the second window is configured to provide all control functions in the control function set;
  • the first obtaining unit includes: (1) a first obtaining module, configured to acquire a separate instruction generated by performing a separating operation on the second window, wherein the separating instruction is configured to indicate that the first window is separated from the second window; (2) The first generation module is configured to generate a window load instruction of the first window in response to the separation instruction.
  • a startup key for starting a browser is set on a terminal desktop, and a startup request is generated after clicking a startup key, and a second window is displayed on the terminal desktop in response to the startup request (also referred to as a “main window”. ").
  • the side window of the second window of the browser displays data of a type such as music, movies, news, and animation.
  • the window loading instruction of the first window is generated by responding to the obtained separate instruction generated by performing the separating operation on the second window, thereby generating the window of the first window when receiving the separating operation on the second window
  • the instruction is loaded to load the first window, and the purpose of displaying the target information according to the first window is achieved, thereby avoiding the problem that the browser display efficiency is low due to too many control functions in the browser.
  • the first obtaining module includes at least one of the following:
  • a first acquisition submodule configured to acquire a separation instruction generated by performing a click operation on the separate button displayed in the second window
  • the second acquisition submodule is configured to acquire a separation instruction generated by performing a drag operation on the first target area of the second window.
  • FIGS. 5-6 The process of performing a click operation on the separate button displayed in the second window will be described with particular reference to FIGS. 5-6.
  • FIG. 5 when the mouse is placed in the side column "News", an operation floating layer is displayed, and the operation floating layer provides a "pop-up” button, after acquiring a separate instruction generated by performing a click operation on the "eject” button.
  • the first window shown on the right side of FIG. 5 is displayed, and the data link of the "news" type in the second window is displayed in the first window.
  • Figure 6 after selecting the side column "News", click the "Eject” button that is fixedly set in the tab bar, and after obtaining the separation command generated by performing the click operation on the "Eject” button, the screen is displayed as shown in Figure 6.
  • a first window is shown on the side, and a data link of the "news” type in the second window is displayed in the first window.
  • the process of performing a drag operation on the first target area of the second window is specifically described with reference to FIG.
  • the display is as shown in the right side of FIG. 4, and the second window is displayed in the second window.
  • a data link of the "News" type in the window is specifically described with reference to FIG.
  • the present embodiment by using the above method to generate a separate instruction, the first window is separated in the second window, thereby improving the flexibility of separating the first window, thereby improving the flexibility of data display.
  • the first obtaining unit includes:
  • the second obtaining module is configured to acquire an operation instruction generated by performing an operation on the shortcut key displayed on the main interface
  • the second generation module is configured to generate a window load instruction of the first window in response to the operation instruction.
  • the foregoing main interface may be, but not limited to, a desktop of the terminal, and the shortcut keys may be, but are not limited to, shortcut keys displayed on the desktop of the terminal.
  • the shortcut key for loading the first window and the shortcut key for starting the browser to load the second window may be, but are not limited to, different identifiers.
  • the desktop displays a browser for loading the first window.
  • the first window shortcut key as shown in FIG. 4, the desktop display has a "browser start key" for starting the browser to load the second window.
  • the shortcut keys for loading the first window and the shortcut keys for launching the browser to load the second window may also be, but are not limited to, the same identifier. If a shortcut key is displayed in the browser in advance, the shortcut key may be, but not limited to, for loading and displaying the first window, or for starting the browser to load and display the second window.
  • FIG. 3 it is assumed that a shortcut key for quickly loading the first window of the browser is set in the task bar, and a window loading instruction is generated by clicking the shortcut key, and the first window is displayed on the desktop of the PC terminal in response to the window loading instruction ( As shown on the right side of Figure 3.
  • the first window shown in Figure 3 shows two data links between today's temperature and today's hotspot. After the display instruction generated by performing the operation on the data of "Today's temperature" in the first window is acquired, the temperature data corresponding to the currently updated "Today's temperature" is displayed according to the display instruction.
  • an operation instruction is generated by performing an operation on the shortcut key displayed on the main interface, thereby generating a window loading instruction to load the first window, thereby achieving the purpose of directly loading the first window through the shortcut key, thereby avoiding starting.
  • the problem of loading the first window can be improved, and the loading efficiency of the first window is improved.
  • the first display unit includes:
  • a first display module configured to acquire target data in a case where the display instruction indicates that the target data is displayed in the first window, and display the target data in the first window;
  • a second display module configured to acquire target data in a case where the display instruction indicates that the target data is displayed in the second window, and display the target data in the second window, wherein the second window is configured to provide the control function set All control functions in the middle.
  • the present embodiment by displaying the target data in a different manner, the effect of improving the display flexibility of the target data is achieved.
  • the first display module includes:
  • the replacement sub-module is configured to replace the first identifier with the second identifier when the user agent identifier of the terminal where the browser is located is the first identifier, where the second identifier is a user agent identifier that matches the mobile terminal;
  • the first generation submodule is configured to generate a first data display request for sending to the server of the browser according to the data link and the second identifier corresponding to the target data carried in the display instruction;
  • the third obtaining submodule is configured to obtain the target data returned by the server in response to the first data display request, and display the target data in the first window.
  • the first identifier and the second identifier may be a UI mark of the first window, where the UI mark is a mark that identifies a type of page layout of the first window.
  • the first identifier indicates that the first window uses a typesetting manner displayed on the PC
  • the second identifier indicates that the first window uses a typesetting manner displayed on the mobile phone.
  • the second display module includes:
  • a transfer submodule configured to pass the data link corresponding to the target data carried in the display instruction to the second window through the process
  • a second generation submodule configured to generate a second data display request for sending to a server of the browser according to the data link
  • the background after receiving the display instruction, the background will parse the display instruction to obtain the window type and data display mode of the receiving operation carried in the display instruction. Includes at least one of the following:
  • the data link is transmitted to the second window, and the second window is displayed to display the request of the display instruction.
  • the target data corresponding to the displayed data link.
  • the background will determine to control the first window and/or the second window to display the target data by recognizing the information carried in the display instruction.
  • the triggering process delivery is determined by the type of the window and the data display mode of the receiving operation, which is only an example. In this embodiment, the operation mode of the triggering process is not limited.
  • the case where the display instruction is acquired in the first window and the target data is displayed in the second window is not limited to being performed by a right click operation.
  • a left-click operation is performed on the data in the first window, and the process is configured to trigger the process transfer
  • the process transfer is triggered, and the background control is passed through the second window.
  • the target data corresponding to the data link requested by the display instruction is displayed.
  • the data link selected by the user is passed to the second window by the process, and when the second window receives the data link, the second data display request is sent to the server, requesting The content corresponding to the link is displayed on the second window.
  • the target data is displayed in the second window, thereby improving the transmission speed of the first window and the second window, thereby Improve the efficiency of data display.
  • the above device further includes:
  • a fourth obtaining unit configured to acquire a window closing instruction after loading the first window by the response window loading instruction
  • a first closing unit configured to close the first window and continue to display the second window if the window closing instruction indicates that the first window is closed;
  • the second closing unit is configured to close the second window and continue to display the first window if the window closing instruction indicates that the second window is closed.
  • the first window and the second window may be, but are not limited to, independent of each other, that is, after the first window is closed, the second window may continue to run; after the second window is closed, the first window may continue run.
  • FIGS. 9 and 10 As shown in FIG. 9, when the second window is closed, the first window is still in the display state. As shown in FIG. 10, when the first window is closed, the second window is still displayed. The first window and the second window do not affect each other.
  • the area occupied by the display window is reduced while the content of the display data is guaranteed.
  • the second closing unit comprises:
  • a loading button is displayed on the first window.
  • the second window can be loaded directly by clicking the load button.
  • loading the second window by the loading button is only an optional method, and does not constitute a limitation on the present application. For example, you can double-click the fixed area of the first window to load the second window, and so on.
  • the second window is reloaded, thereby shortening the closing of the second window After re-loading the second window when the second window is opened again, the efficiency of data display is improved.
  • the device further includes:
  • a fifth obtaining unit configured to acquire a merge instruction generated by performing a merge operation after loading the first window by the response window loading instruction
  • the merging unit is configured to merge the first window into the second target area in the second window in response to the merge instruction.
  • the fifth obtaining unit includes at least one of the following:
  • a third obtaining module configured to acquire a merge instruction generated by performing a click operation on the merge button displayed in the first window or the second window;
  • the third generation module is configured to generate a merge instruction when detecting that the first window is dragged to the target position, wherein when the first window is at the target position, the overlapping area of the first window and the second window is greater than The threshold is predetermined.
  • the first window and the second window are displayed on the desktop of the terminal, if it is detected that the user performs a double-click operation on the first window, a merge command may be generated, and the first window is merged in response to the merge command.
  • the second target area in the second window for example, the second target area may be the left side column in the second window.
  • the shaded portion in FIG. 11 is a portion where the first window overlaps with the second window.
  • a merge instruction is generated, and the first window is merged into the second target area in the second window in response to the merge instruction.
  • the second target area may be any position of the second window, which is not limited in this embodiment.
  • the first window is merged into the second target area in the second window by using the above method, thereby achieving flexible separation and merging of the first window and the second window, thereby achieving an effect of improving data display efficiency.
  • the device further includes:
  • a sixth obtaining unit configured to acquire a top display instruction after loading the first window in response to the window loading instruction
  • the third display unit is configured to display the layer of the first window on the layer where the second window is located in response to the top display instruction.
  • the above-mentioned top display instruction may be, but is not limited to, an instruction generated after a pin operation.
  • the top display instruction is used to indicate that the layer where the first window is located is fixed at the uppermost layer of the browser window. As shown in FIG. 8, after the pin display instruction generated after the pin operation is acquired, the layer where the first window is located will always be above the layer where the second window is located.
  • the layer of the first window is displayed on the layer where the second window is located, thereby keeping the first window from being blocked by the second window.
  • the display priority of the first window is improved, and the effect of improving data display efficiency is achieved.
  • a storage medium having stored therein a computer program, wherein the computer program is configured to execute the steps of any one of the method embodiments described above.
  • the above storage medium may be configured to store a computer program for performing the following steps:
  • S1 acquiring a window loading instruction for requesting loading of a first window of the browser, wherein the first window is configured to provide a first control function, and the first control function comprises a partial control function in a control function set matched with the browser;
  • the above storage medium may be configured to store a computer program for performing the following steps:
  • the method Before acquiring the window loading instruction for requesting to load the first window of the browser, the method further includes: acquiring a startup request for starting the browser; loading a second window of the display browser in response to the startup request, wherein the second window Used to provide all control functions in the control function set;
  • Acquiring a window loading instruction for requesting loading of the first window of the browser comprises: acquiring a separate instruction generated by performing a separating operation on the second window, wherein the separating instruction is used to indicate that the first window is separated from the second window
  • the window load instruction of the first window is generated in response to the separation instruction.
  • the above storage medium may be configured to store a computer program for performing the following steps:
  • the above storage medium may be configured to store a computer program for performing the following steps:
  • the above storage medium may be configured to store a computer program for performing the following steps:
  • the display instruction indicates that the target data is displayed in the second window
  • the target data is acquired, and the target data is displayed in the second window, wherein the second window is used to provide all the control functions in the control function set.
  • the above storage medium may be configured to store a computer program for performing the following steps:
  • the first identifier is replaced with the second identifier, where the second identifier is a user agent identifier that matches the mobile terminal;
  • the acquiring server responds to the target data returned by the first data display request, and displays the target data in the first window.
  • the above storage medium may be configured to store a computer program for performing the following steps:
  • the acquiring server responds to the target data returned by the second data display request, and displays the target data in the second window.
  • the above storage medium may be configured to store a computer program for performing the following steps:
  • window close instruction indicates that the first window is closed, the first window is closed, and the second window is continued to be displayed
  • window close instruction indicates that the second window is closed, the second window is closed, and the first window is continued to be displayed.
  • the above storage medium may be configured to store a computer program for performing the following steps:
  • the above storage medium may be configured to store a computer program for performing the following steps:
  • the above storage medium may be configured to store a computer program for performing the following steps:
  • the storage medium is further configured to store a computer program for performing the steps included in the method in the above embodiments, which will not be described in detail in this embodiment.
  • the storage medium may include a flash disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like.
  • an electronic device for implementing the above data display method is further provided.
  • the electronic device includes a memory 1302 and a processor 1304, where the computer program is stored in the memory.
  • the processor is arranged to perform the steps in any of the above method embodiments by a computer program.
  • the electronic device may be located in at least one network device of the plurality of network devices of the computer network.
  • the foregoing processor may be configured to perform the following steps by using a computer program:
  • S1 acquiring a window loading instruction for requesting loading of a first window of the browser, wherein the first window is configured to provide a first control function, and the first control function comprises a partial control function in a control function set matched with the browser;
  • FIG. 13 is only schematic, and the electronic device can also be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palmtop computer, and a mobile Internet device (Mobile). Terminal devices such as Internet Devices, MID) and PAD.
  • FIG. 13 does not limit the structure of the above electronic device.
  • the electronic device may also include more or fewer components (such as a network interface, display device, etc.) than shown in FIG. 13, or have a different configuration than that shown in FIG.
  • the memory 1302 can be used to store software programs and modules, such as the data display method and the program instructions/modules corresponding to the device in the embodiment of the present application.
  • the processor 1304 executes each of the software programs and modules stored in the memory 1302. A functional application and data processing, that is, the above data display method is implemented.
  • Memory 1302 can include high speed random access memory, and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 1302 can further include memory remotely located relative to processor 1304, which can be connected to the terminal over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the electronic device further includes: a display 1308, which may be, but not limited to, data for displaying the first window, the second window, and the window of the browser; the user interface 1306 may but not It is limited to obtaining user operations to generate corresponding operation instructions, such as display instructions, separate instructions, generated instructions, and the like. This embodiment does not limit this.
  • the foregoing electronic device further includes: a transmission device 1310, which may be, but is not limited to, for receiving or transmitting data via a network.
  • a transmission device 1310 which may be, but is not limited to, for receiving or transmitting data via a network.
  • the transmission device 1310 includes a Network Interface Controller (NIC) that can be connected to other network devices and routers via a network cable to communicate with the Internet or a local area network.
  • the transmission device 1310 is a Radio Frequency (RF) module for communicating with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • the memory 1302 may be, but not limited to, used to store instructions generated during the process of displaying the first window and/or the second window, and to be displayed in the first window and/or the second window. The data.
  • the integrated unit in the above embodiment if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in the above-described computer readable storage medium.
  • the technical solution of the present application may be embodied in the form of a software product, or the whole or part of the technical solution, which is stored in the storage medium, including
  • the instructions are used to cause one or more computer devices (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.
  • the disclosed client may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the present application by loading a first window for providing a first control function, wherein the first control function is a partial control function in a control function set that matches the browser.
  • the first control function is a partial control function in a control function set that matches the browser.

Abstract

Disclosed by the present application are a data display method and device, storage medium, and electronic device. The method comprises: a terminal obtaining a window load instruction used for requesting to load a first window of a browser; the first window is used for providing a first control function, and the first control function comprises some of the control functions of a set of control functions matching the browser; the terminal loading the first window in response to the window load instruction; the terminal obtaining a display instruction generated by performing an operation on data displayed in the first window; the terminal displaying target data corresponding to the display instruction. The present application solves the technical problem of low display efficiency in browser display methods provided by the related art.

Description

数据显示方法和装置、存储介质及电子装置Data display method and device, storage medium and electronic device
本申请要求于2018年2月8日提交中国专利局、优先权号为2018101290989、申请名称为“数据显示方法和装置、存储介质及电子装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 2018101290989, filed on February 8, 2018, the entire disclosure of which is incorporated herein by reference. Combined in this application.
技术领域Technical field
本申请涉及计算机领域,具体而言,涉及一种数据显示方法和装置、存储介质及电子装置。The present application relates to the field of computers, and in particular to a data display method and apparatus, a storage medium, and an electronic device.
背景技术Background technique
浏览器用于显示网页服务器或文件系统的HTML文件内容,并可以通过与用户之间的交互,来对这些文件内容进行处理。例如,在浏览器获取到用户所请求访问的网址链接后,可以在浏览器的页面内加载显示该网址链接中所包含的内容,如文字、图像、视频等。The browser is used to display the HTML file content of the web server or file system, and can process the contents of the file through interaction with the user. For example, after the browser obtains the URL link requested by the user, the content included in the URL link, such as text, image, video, etc., may be loaded in the browser page.
然而,在用户通过浏览器请求显示的文件内容更新频率较高的情况下,为了及时查看更新后的文件内容,就需要频繁执行启动关闭浏览器的操作。其中,浏览器每次在启动时,都需要向浏览器的控制服务器发送启动请求,在收到控制服务器返回的允许启动响应后,才可以启动浏览器中各项控制功能,并加载显示浏览器的主页面,进而实现加载显示用户所请求的文件内容。也就是说,在目前相关技术所提供的数据显示方法中,存在由于反复启动浏览器所需时间较长,导致请求在浏览器中显示数据时的显示效率较低的问题。However, in the case that the frequency of file content update requested by the user through the browser is high, in order to view the updated file content in time, it is necessary to frequently perform the operation of starting and closing the browser. Each time the browser starts, it needs to send a startup request to the browser's control server. After receiving the permission to start the response returned by the control server, the browser can start various control functions in the browser and load the display browser. The main page, in turn, implements loading to display the contents of the file requested by the user. That is to say, in the data display method provided by the related art, there is a problem that the display efficiency when the data is displayed in the browser is low due to the long time required to repeatedly start the browser.
针对上述的问题,目前尚未提出有效的解决方案。In response to the above problems, no effective solution has been proposed yet.
发明内容Summary of the invention
本申请实施例提供一种数据显示方法和装置、存储介质及电子装置, 以至少解决相关技术所提供的浏览器显示方法存在显示效率较低的技术问题。The embodiment of the present application provides a data display method and device, a storage medium, and an electronic device, so as to at least solve the technical problem that the browser display method provided by the related art has low display efficiency.
根据本申请实施例的一个方面,提供了一种数据显示方法,包括:终端获取用于请求加载浏览器的第一窗口的窗口加载指令,其中,上述第一窗口用于提供第一控制功能,上述第一控制功能包括与上述浏览器匹配的控制功能集合中的部分控制功能;终端响应上述窗口加载指令加载上述第一窗口;终端获取对上述第一窗口中所显示的数据执行操作所生成的显示指令;终端显示与上述显示指令对应的目标数据。According to an aspect of the embodiments of the present application, a data display method is provided, including: a terminal acquiring a window load instruction for requesting loading of a first window of a browser, wherein the first window is configured to provide a first control function, The first control function includes a partial control function in the control function set matching the browser; the terminal loads the first window in response to the window loading instruction; and the terminal acquires the operation generated by performing an operation on the data displayed in the first window Displaying an instruction; the terminal displays target data corresponding to the above display instruction.
根据本申请实施例的另一方面,还提供了一种数据显示装置,应用于终端中,包括:第一获取单元,设置为获取用于请求加载浏览器的第一窗口的窗口加载指令,其中,上述第一窗口用于提供第一控制功能,上述第一控制功能包括与上述浏览器匹配的控制功能集合中的部分控制功能;加载单元,设置为响应上述窗口加载指令加载上述第一窗口;第二获取单元,设置为获取对上述第一窗口中所显示的数据执行操作所生成的显示指令;第一显示单元,设置为显示与上述显示指令对应的目标数据。According to another aspect of the embodiments of the present application, there is further provided a data display apparatus, which is applied to a terminal, comprising: a first acquiring unit, configured to acquire a window loading instruction for requesting loading of a first window of a browser, wherein The first window is configured to provide a first control function, where the first control function includes a partial control function in the control function set matched with the browser; the loading unit is configured to load the first window in response to the window loading instruction; The second obtaining unit is configured to acquire a display instruction generated by performing an operation on the data displayed in the first window; and the first display unit is configured to display the target data corresponding to the display instruction.
根据本申请实施例的又一方面,还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述方法。According to still another aspect of embodiments of the present application, there is also provided a storage medium having stored therein a computer program, wherein the computer program is configured to execute the above method at runtime.
根据本申请实施例的又一方面,还提供了一种电子装置,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,上述处理器通过计算机程序执行上述的方法。According to still another aspect of the embodiments of the present application, there is provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the above by using a computer program method.
在本申请实施例中,通过终端加载用于提供第一控制功能的第一窗口,其中,第一控制功能为与浏览器匹配的控制功能集合中的部分控制功能。从而实现减少第一窗口的加载时长,而无需每次都等待浏览器启动全部控制功能,以便于快速获取对第一窗口中所显示的数据执行操作所生成的显示指令,并显示与显示指令对应的的目标数据,进而缩短用于显示目标数据的等待时间,达到提高数据显示效率的效果,解决了相关技术所提供的浏览器显示方法存在显示效率较低的技术问题。In the embodiment of the present application, the first window for providing the first control function is loaded by the terminal, wherein the first control function is a partial control function in the control function set that matches the browser. Thereby reducing the loading time of the first window, without waiting for the browser to start all the control functions each time, in order to quickly acquire the display instruction generated by performing the operation on the data displayed in the first window, and displaying the corresponding corresponding to the display instruction The target data, thereby shortening the waiting time for displaying the target data, achieves the effect of improving the data display efficiency, and solves the technical problem that the browser display method provided by the related art has low display efficiency.
附图说明DRAWINGS
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the present application, and are intended to be a part of this application. In the drawing:
图1是根据本申请实施例的一种数据显示方法的应用环境的示意图;1 is a schematic diagram of an application environment of a data display method according to an embodiment of the present application;
图2是根据本申请实施例的一种可选的数据显示方法的流程示意图;2 is a schematic flow chart of an optional data display method according to an embodiment of the present application;
图3是根据本申请实施例的一种可选的数据显示方法的示意图;3 is a schematic diagram of an alternative data display method according to an embodiment of the present application;
图4是根据本申请实施例的另一种可选的数据显示方法的示意图;4 is a schematic diagram of another alternative data display method according to an embodiment of the present application;
图5是根据本申请实施例的又一种可选的数据显示方法的示意图;FIG. 5 is a schematic diagram of still another alternative data display method according to an embodiment of the present application; FIG.
图6是根据本申请实施例的又一种可选的数据显示方法的示意图;6 is a schematic diagram of still another alternative data display method according to an embodiment of the present application;
图7是根据本申请实施例的又一种可选的数据显示方法的示意图;7 is a schematic diagram of still another alternative data display method according to an embodiment of the present application;
图8是根据本申请实施例的又一种可选的数据显示方法的示意图;FIG. 8 is a schematic diagram of still another alternative data display method according to an embodiment of the present application; FIG.
图9是根据本申请实施例的又一种可选的数据显示方法的示意图;9 is a schematic diagram of still another alternative data display method according to an embodiment of the present application;
图10是根据本申请实施例的又一种可选的数据显示方法的示意图;FIG. 10 is a schematic diagram of still another alternative data display method according to an embodiment of the present application; FIG.
图11是根据本申请实施例的又一种可选的数据显示方法的示意图;11 is a schematic diagram of still another alternative data display method according to an embodiment of the present application;
图12是根据本申请实施例的一种可选的数据显示装置的结构示意图;FIG. 12 is a schematic structural diagram of an optional data display device according to an embodiment of the present application; FIG.
图13是根据本申请实施例的一种可选的电子装置的结构示意图。FIG. 13 is a schematic structural diagram of an optional electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. It is an embodiment of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope shall fall within the scope of the application.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or order. It is to be understood that the data so used may be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
根据本申请实施例的一个方面,提供了一种数据显示方法。作为一种可选的实施方式,上述数据显示方法可以但不限于应用于如图1所示的硬件环境中。PC终端102在获取到用于请求加载浏览器的第一窗口的窗口加载指令之后,响应该窗口加载指令加载上述浏览器的第一窗口,其中,该第一窗口用于提供与浏览器匹配的控制功能集合中的部分控制功能,在第一窗口获取对第一窗口中所显示的数据执行操作所生成的显示指令,通过网络104向服务器106发送携带上述显示指令的数据获取请求,服务器106从数据库108中拉取与数据获取请求中的显示指令对应的目标数据,并将该目标数据返回PC终端102进行显示。According to an aspect of an embodiment of the present application, a data display method is provided. As an optional implementation manner, the foregoing data display method may be, but is not limited to, applied to a hardware environment as shown in FIG. 1. After acquiring the window loading instruction for requesting loading the first window of the browser, the PC terminal 102 loads the first window of the browser in response to the window loading instruction, wherein the first window is configured to provide a match with the browser. Controlling a partial control function in the function set, acquiring a display instruction generated by performing an operation on the data displayed in the first window in the first window, and transmitting, by the network 104, a data acquisition request carrying the display instruction to the server 106, the server 106 The database 108 pulls the target data corresponding to the display instruction in the data acquisition request, and returns the target data to the PC terminal 102 for display.
可选地,在本实施例中,上述终端可以包括但不限于以下至少之一:平板电脑、笔记本电脑、个人电脑(Personal Computer,简称PC)等允许浏览器显示多标签页数据的硬件设备。上述网络可以包括但不限于无线网络、有线网络,其中,该无线网络可以包括但不限于:蓝牙、WIFI及其他实现无线通信的网络。上述有线网络可以包括但不限于:广域网、城域网、局域网。上述服务器可以包括但不限于:处理能力较大的硬件设备。上述只是一种示例,本实施例对此不做任何限定。Optionally, in this embodiment, the foregoing terminal may include, but is not limited to, at least one of the following: a tablet computer, a notebook computer, a personal computer (PC), or the like, which allows the browser to display multi-tab data. The foregoing network may include, but is not limited to, a wireless network or a wired network, where the wireless network may include, but is not limited to, Bluetooth, WIFI, and other networks that implement wireless communication. The above wired network may include, but is not limited to, a wide area network, a metropolitan area network, and a local area network. The above server may include, but is not limited to, a hardware device with a large processing capability. The above is only an example, and the embodiment does not limit this.
可选地,在本实施例中,作为一种可选的实施方式,如图2所示,上述数据显示方法可以包括:Optionally, in this embodiment, as an optional implementation manner, as shown in FIG. 2, the foregoing data display method may include:
S202,终端获取用于请求加载浏览器的第一窗口的窗口加载指令,其 中,第一窗口用于提供第一控制功能,第一控制功能包括与浏览器匹配的控制功能集合中的部分控制功能;S202. The terminal acquires a window loading instruction for requesting loading of a first window of the browser, where the first window is configured to provide a first control function, and the first control function includes a part of the control function in the control function set matched with the browser. ;
S204,终端响应窗口加载指令加载第一窗口;S204. The terminal loads the first window in response to the window loading instruction.
S206,终端获取对第一窗口中所显示的数据执行操作所生成的显示指令;S206. The terminal acquires a display instruction generated by performing an operation on the data displayed in the first window.
S208,终端显示与显示指令对应的目标数据。S208. The terminal displays target data corresponding to the display instruction.
可选地,上述数据显示方法可以但不限于应用于通过浏览器来显示所请求的数据的过程中。其中,上述浏览器可以但不限于用于加载显示各个数据链接中的各种类型数据,如文字数据、图像数据、视频数据等。在本实施例中,为终端中所运行的浏览器配置第一窗口,其中,该第一窗口用于提供第一控制功能,第一控制功能为与浏览器匹配的控制功能集合中的部分控制功能。通过加载上述控制功能较少的第一窗口,从而实现减少第一窗口的加载时长,而无需每次都等待浏览器启动全部控制功能,以便于快速获取对第一窗口中所显示的数据执行操作所生成的显示指令,并显示与该显示指令对应的目标数据,进而缩短用于显示目标数据的等待时间,达到提高数据显示效率的效果。Alternatively, the above data display method may be, but is not limited to, applied to a process of displaying the requested data through a browser. The browser may be, but is not limited to, loading and displaying various types of data in the respective data links, such as text data, image data, video data, and the like. In this embodiment, a first window is configured for the browser running in the terminal, wherein the first window is used to provide a first control function, and the first control function is part of the control function set matching the browser. Features. By loading the first window with less control function described above, the loading time of the first window is reduced, without waiting for the browser to start all control functions each time, so as to quickly obtain an operation on the data displayed in the first window. The generated display command displays the target data corresponding to the display command, thereby shortening the waiting time for displaying the target data, thereby achieving an effect of improving data display efficiency.
需要说明的是,在本实施例中,上述第一窗口(也可称作“超轻窗口”)用于提供与浏览器匹配的控制功能集合中的部分控制功能,其中,上述部分控制功能可以包括但不限于:窗口显示功能,页面跳转功能。此外,与浏览器匹配的控制功能集合中的全部控制功能可以但不限于通过第二窗口(也可称作“主窗口”)提供。It should be noted that, in this embodiment, the first window (also referred to as “ultra-light window”) is used to provide a partial control function in a control function set that matches the browser, wherein the partial control function may be Including but not limited to: window display function, page jump function. Moreover, all of the control functions in the set of control functions that match the browser may be, but are not limited to, provided through a second window (which may also be referred to as a "main window").
其中,上述第二窗口还可以但不限于提供以下至少一种控制功能:The second window may also provide, but is not limited to, providing at least one of the following control functions:
1)账号体系。在浏览器中配置一个账号体系。如在建立用于登录的账号之后,会以该账号为依据进行用户个性化设置以及个人数据管理等。1) Account system. Configure an account system in the browser. For example, after establishing an account for login, user personalization and personal data management are performed based on the account.
2)书签。书签的加载本身涉及本地磁盘读写和网络通信,属于耗时过程。此外,书签还涉及增删、管理等操作。2) Bookmarks. The loading of bookmarks itself involves local disk reads and writes and network communication, which is a time consuming process. In addition, bookmarks also involve operations such as additions and deletions, management, and the like.
2)皮肤机制。提供丰富的皮肤。2) Skin mechanism. Provides rich skin.
也就是说,在本实施例中,第一窗口可以但不限于将通过第二窗口所提供的控制功能1)—3)裁剪掉,仅保留核心的控制功能(如上述窗口显示功能,页面跳转功能),以简化浏览器的交互步骤。That is to say, in the embodiment, the first window may be, but not limited to, the control function 1)-3) provided by the second window is trimmed, and only the core control function is retained (such as the above window display function, page jump) Turn the feature) to simplify the interactive steps of the browser.
例如,以下结合图3进行说明。如图3所示,假设任务栏中设置有用于快速加载浏览器第一窗口的快捷键,通过点击该快捷键生成窗口加载指令,响应该窗口加载指令在PC终端桌面加载显示出第一窗口(如图3右侧所示)。图3所示的第一窗口中显示有今日气温与今日热点两条数据链接。当获取到对第一窗口中“今日气温”的数据执行操作而生成的显示指令之后,显示与该显示指令对应的目标数据,如当前已更新的“今日气温”对应的气温数据。For example, the following description will be made with reference to FIG. 3. As shown in FIG. 3, it is assumed that a shortcut key for quickly loading the first window of the browser is set in the task bar, and a window loading instruction is generated by clicking the shortcut key, and the first window is displayed on the desktop of the PC terminal in response to the window loading instruction ( As shown on the right side of Figure 3. The first window shown in Figure 3 shows two data links for today's temperature and today's hotspot. After the display instruction generated by performing the operation on the data of "Today's temperature" in the first window is acquired, the target data corresponding to the display instruction, such as the temperature data corresponding to the currently updated "Today's temperature", is displayed.
需要说明的是,在本实施例中,上述第二窗口可以但不限于通过以下方式加载显示:获取用于启动浏览器的启动请求;响应该启动请求加载显示浏览器的第二窗口。也就是说,在本实施例中,在启动浏览器时,将直接加载显示第二窗口。It should be noted that, in this embodiment, the foregoing second window may be, but is not limited to, loading and displaying by: acquiring a startup request for starting a browser; and loading a second window of the display browser in response to the startup request. That is to say, in the embodiment, when the browser is started, the second window is directly loaded and displayed.
可选地,终端获取用于请求加载浏览器的第一窗口的窗口加载指令可以包括但不限于:Optionally, the window loading instruction that the terminal acquires the first window for requesting to load the browser may include, but is not limited to:
1)终端获取对第二窗口执行分离操作所生成的分离指令;根据该分离指令生成第一窗口的窗口加载指令;1) the terminal acquires a separate instruction generated by performing a separating operation on the second window; and generates a window loading instruction of the first window according to the separating instruction;
2)终端获取对主界面上所显示的快捷键执行操作所生成的操作指令,根据该操作指令生成第一窗口的窗口加载指令。2) The terminal acquires an operation instruction generated by performing an operation on the shortcut key displayed on the main interface, and generates a window loading instruction of the first window according to the operation instruction.
例如,如图4所示,在终端桌面上设置用于启动浏览器的启动键,点击启动键后生成启动请求,响应该启动请求在终端桌面加载显示第二窗口(也可称作“主窗口”)。如图4所示,浏览器第二窗口侧栏显示有音乐、电影、新闻、动漫等类型的数据。当获取到对第二窗口中所显示的“新闻”执行分离操作所生成的分离指令后,根据该分离指令生成第一窗口的窗口 加载指令,并根据窗口加载指令加载显示第一窗口,如图4右侧所示,该第一窗口中显示有第二窗口中“新闻”类型的数据链接。For example, as shown in FIG. 4, a startup key for starting a browser is set on a terminal desktop, and a startup request is generated after clicking a startup key, and a second window is displayed on the terminal desktop in response to the startup request (also referred to as a “main window”. "). As shown in FIG. 4, the side window of the second window of the browser displays data of a type such as music, movies, news, and animation. After acquiring the separation instruction generated by performing the separation operation on the "news" displayed in the second window, generating a window loading instruction of the first window according to the separation instruction, and loading and displaying the first window according to the window loading instruction, as shown in FIG. As shown on the right side of the fourth window, a data link of the "news" type in the second window is displayed in the first window.
又例如,如图3所示,在终端桌面上设置用于记载显示浏览器第一窗口的快捷键,点击快捷键后生成第一窗口的窗口加载指令,响应该窗口加载指令,直接在终端桌面加载显示第一窗口(也可称作“超轻窗口”)。For another example, as shown in FIG. 3, a shortcut key for recording the first window of the browser is set on the desktop of the terminal, and a window loading instruction of the first window is generated after clicking the shortcut key, and the window loading instruction is directly responded to the window loading instruction, directly at the terminal desktop. Load display the first window (also known as "ultra-light window").
可选地,在本实施例中,对第二窗口执行分离操作以获取分离指令的方式可以包括:Optionally, in this embodiment, the manner of performing a separation operation on the second window to obtain the separation instruction may include:
1)终端获取对第二窗口中所显示的分离按钮执行点击操作所生成的分离指令;1) the terminal acquires a separate instruction generated by performing a click operation on the separate button displayed in the second window;
2)终端获取对第二窗口的第一目标区域执行拖动操作所生成的分离指令。2) The terminal acquires a separate instruction generated by performing a drag operation on the first target area of the second window.
需要说明的是,在本实施例中,上述第一目标区域可以但不限于第二窗口内的任意可视区域,如第二窗口左侧栏、右侧栏、底栏等用于显示快速浏览数据类型的区域。下文以左侧栏为例进行描述。It should be noted that, in this embodiment, the first target area may be, but is not limited to, any visible area in the second window, such as the left side column, the right side column, the bottom column of the second window, and the like for displaying a quick view. The area of the data type. The following description is made by taking the left side column as an example.
具体结合图5-图6说明对第二窗口中所显示的分离按钮执行点击操作的过程。如图5所示,在鼠标放置在侧栏“新闻”时,将显示操作浮层,该操作浮层提供“弹出”按钮,在获取到对“弹出”按钮执行点击操作而生成的分离指令后,显示如图5右侧所示第一窗口,该第一窗口中显示有第二窗口中“新闻”类型的数据链接。如图6所示,在选中侧栏“新闻”后,再点击标签栏固定设置的“弹出”按钮,在获取到对“弹出”按钮执行点击操作而生成的分离指令后,显示如图6右侧所示第一窗口,该第一窗口中显示有第二窗口中“新闻”类型的数据链接。The process of performing a click operation on the separate button displayed in the second window will be described with particular reference to FIGS. 5-6. As shown in FIG. 5, when the mouse is placed in the side column "News", an operation floating layer is displayed, and the operation floating layer provides a "pop-up" button, after acquiring a separate instruction generated by performing a click operation on the "eject" button. The first window shown on the right side of FIG. 5 is displayed, and the data link of the "news" type in the second window is displayed in the first window. As shown in Figure 6, after selecting the side column "News", click the "Eject" button that is fixedly set in the tab bar, and after obtaining the separation command generated by performing the click operation on the "Eject" button, the screen is displayed as shown in Figure 6. A first window is shown on the side, and a data link of the "news" type in the second window is displayed in the first window.
具体结合图4说明对第二窗口的第一目标区域执行拖动操作的过程。,如图4所示,当获取到对第二窗口中所显示的“新闻”执行拖动操作所生成的分离指令后,显示如图4右侧所示,该第一窗口中显示有第二窗口中“新闻”类型的数据链接。The process of performing a drag operation on the first target area of the second window is specifically described with reference to FIG. As shown in FIG. 4, after the separation instruction generated by performing the drag operation on the "news" displayed in the second window is acquired, the display is as shown in the right side of FIG. 4, and the second window is displayed in the second window. A data link of the "News" type in the window.
需要说明的是,在本实施例中,可以通过分离指令将第二窗口侧栏中所显示的一种类型的数据,分离出以得到第一窗口;也可以通过分离指令将第二窗口侧栏中所显示的至少两种类型的数据,分离出以得到第一窗口。其中,至少两种类型的数据在第一窗口中叠加显示。上述仅是示例,本实施例中对分离过程不做任何限定。It should be noted that, in this embodiment, one type of data displayed in the second window side column may be separated by a separation instruction to obtain a first window; or the second window sidebar may be separated by a separate instruction. At least two types of data displayed in the separation are separated to obtain a first window. Wherein at least two types of data are superimposed and displayed in the first window. The above is only an example, and the separation process is not limited in this embodiment.
此外,上述第一窗口与第二窗口可以但不限于相互独立,也就是说,在第一窗口被关闭后,第二窗口可以继续运行;在第二窗口被关闭后,第一窗口可以继续运行。In addition, the first window and the second window may be, but are not limited to, independent of each other, that is, after the first window is closed, the second window may continue to run; after the second window is closed, the first window may continue to run. .
可选地,在本实施例中,显示与显示指令对应的目标数据包括:1)在第一窗口显示目标数据;2)在第二窗口显示目标数据。Optionally, in the embodiment, displaying the target data corresponding to the display instruction comprises: 1) displaying the target data in the first window; and 2) displaying the target data in the second window.
需要说明的是,在本实施例中,上述显示指令中可以但不限于携带有与所操作的数据对应的数据链接,根据该数据链接获取所要显示的目标数据。也就是说,在第一窗口中所显示的每条数据可以但不限于绑定对应数据链接,在获取到对数据执行操作所生成的显示指令之后,可以但不限于根据显示指令获得用于向服务器发送的数据获取请求,以请求获取上述数据链接所对应的目标数据。It should be noted that, in this embodiment, the display command may include, but is not limited to, carrying a data link corresponding to the operated data, and acquiring target data to be displayed according to the data link. That is, each piece of data displayed in the first window may be, but is not limited to, a binding corresponding data link, and after obtaining the display instruction generated by performing an operation on the data, may be, but is not limited to, being obtained according to the display instruction. A data acquisition request sent by the server to request acquisition of target data corresponding to the data link.
例如,在直接点击第一窗口中所显示的数据链接后,将实现在第一窗口内直接进行页面跳转,显示与该数据链接对应的目标数据;此外,在对所选中的数据链接点击右键后,可通过选择“在第二窗口显示”,实现跳转至第二窗口显示与数据链接对应的目标数据。For example, after directly clicking on the data link displayed in the first window, a page jump directly in the first window is performed, and the target data corresponding to the data link is displayed; in addition, right click on the selected data link After that, by selecting "display in the second window", it is possible to jump to the second window to display the target data corresponding to the data link.
如图7所示,在显示指令指示:对“新闻链接2”进行右键操作后选择“在第二窗口显示”,则被选中的第一窗口中的“新闻链接2”将被传递至第二窗口,从而实现在第二窗口显示上述“新闻链接2”对应的目标数据。As shown in FIG. 7, after the display instruction indicates that "display in the second window" is selected after performing a right-click operation on "news link 2", "news link 2" in the selected first window is transmitted to the second a window, thereby realizing display of the target data corresponding to the above-mentioned "news link 2" in the second window.
可选地,在响应窗口加载指令加载第一窗口之后,还包括:获取执行合并操作所生成的合并指令;响应合并指令,将第一窗口合并到第二窗口 中的第二目标区域。Optionally, after the first window is loaded in response to the window load instruction, the method further includes: acquiring a merge instruction generated by performing the merge operation; and merging the first window into the second target area in the second window in response to the merge instruction.
需要说明的是,在本实施例中,上述第二目标区域可以但不限于第二窗口内的任意可视区域,如第二窗口左侧栏、右侧栏、底栏等用于显示快速浏览数据类型的区域。也就是说,被独立分割显示的第一窗口,可以但不限于再次合并到第二窗口中的第二目标区域。It should be noted that, in this embodiment, the second target area may be, but is not limited to, any visible area in the second window, such as the left side column, the right side column, the bottom column of the second window, and the like for displaying a quick view. The area of the data type. That is to say, the first window displayed separately and divided can be, but is not limited to, merged into the second target area in the second window again.
可选地,在本实施例中,终端获取合并指令的方式包括:Optionally, in this embodiment, the manner in which the terminal acquires the merge instruction includes:
1)终端获取对第一窗口或第二窗口中所显示的合并按钮执行点击操作所生成的合并指令;1) the terminal acquires a merge instruction generated by performing a click operation on the merge button displayed in the first window or the second window;
2)在检测到第一窗口被拖动至目标位置的情况下,终端生成合并指令;2) in the case that it is detected that the first window is dragged to the target position, the terminal generates a merge instruction;
3)在检测到对第一窗口的执行双击操作时,终端生成合并指令;3) when detecting a double-click operation on the first window, the terminal generates a merge instruction;
例如结合图6进行说明,当终端桌面上显示有第一窗口与第二窗口时,若检测到用户对第一窗口执行双击操作,则可以生成合并指令,并响应该合并指令将第一窗口合并至第二窗口中第二目标区域,例如第二目标区域可以为第二窗口中的左侧栏。For example, when the first window and the second window are displayed on the desktop of the terminal, if it is detected that the user performs a double-click operation on the first window, a merge command may be generated, and the first window is merged in response to the merge command. To the second target area in the second window, for example, the second target area may be the left side column in the second window.
可选地,在响应窗口加载指令加载第一窗口之后,还包括:获取置顶显示指令;响应置顶显示指令,将第一窗口所在图层显示在第二窗口所在图层之上。Optionally, after the first window is loaded by the response window loading instruction, the method further includes: acquiring a top display instruction; and displaying the layer of the first window on the layer where the second window is located in response to the top display instruction.
可选地,上述置顶显示指令可以但不限于pin操作后生成的指令。其中,上述置顶显示指令用于指示将第一窗口所在图层固定在浏览器窗口的最上层。如图8所示,在获取到pin操作后生成的置顶显示指令,第一窗口所在图层将始终位于第二窗口所在图层之上。Optionally, the above-mentioned top display instruction may be, but is not limited to, an instruction generated after a pin operation. The top display instruction is used to indicate that the layer where the first window is located is fixed at the uppermost layer of the browser window. As shown in FIG. 8, after the pin display instruction generated after the pin operation is acquired, the layer where the first window is located will always be above the layer where the second window is located.
需要说明的是,在本实施例中,上述置顶显示指令用于指示窗口所在图层置顶,而第一窗口本身可以在界面中任意移动,与第二窗口之间的相对位置关系,本实施例中在此不做任何显得那个。It should be noted that, in this embodiment, the top display command is used to indicate that the window where the window is located is topped, and the first window itself can be arbitrarily moved in the interface, and the relative position relationship between the second window and the second window. I don't do anything like this here.
通过本实施例,通过终端加载用于提供第一控制功能的第一窗口,其中,第一控制功能为与浏览器匹配的控制功能集合中的部分控制功能。从而实现减少第一窗口的加载时长,而无需每次都等待浏览器启动全部控制功能,以便于快速获取对第一窗口中所显示的数据执行操作所生成的显示指令,并显示与该显示指令显示对应的目标数据,进而缩短用于显示目标数据的等待时间,达到提高数据显示效率的效果,解决了相关技术所提供的浏览器显示方法存在显示效率较低的技术问题。With this embodiment, the first window for providing the first control function is loaded by the terminal, wherein the first control function is a partial control function in the control function set that matches the browser. Thereby reducing the loading time of the first window without waiting for the browser to start all the control functions each time, in order to quickly acquire the display instruction generated by performing the operation on the data displayed in the first window, and displaying the display instruction with the display instruction The corresponding target data is displayed, thereby shortening the waiting time for displaying the target data, thereby improving the efficiency of data display, and solving the technical problem that the browser display method provided by the related art has low display efficiency.
作为一种可选的方案,As an alternative,
S1,在终端获取用于请求加载浏览器的第一窗口的窗口加载指令之前,还包括:终端获取用于启动浏览器的启动请求;响应启动请求加载显示浏览器的第二窗口,其中,第二窗口用于提供控制功能集合中的全部控制功能;S1. Before the terminal acquires the window loading instruction for requesting to load the first window of the browser, the method further includes: the terminal acquiring a startup request for starting the browser; and loading the second window of the display browser in response to the startup request, where The second window is used to provide all the control functions in the control function set;
S2,终端获取用于请求加载浏览器的第一窗口的窗口加载指令包括:终端获取对第二窗口执行分离操作所生成的分离指令,其中,分离指令用于指示从第二窗口中分离出第一窗口;响应分离指令生成第一窗口的窗口加载指令。S2. The window acquiring, by the terminal, the window loading instruction for requesting loading the first window of the browser comprises: acquiring, by the terminal, a separate instruction generated by performing a separating operation on the second window, wherein the separating instruction is used to indicate that the second window is separated from the second window. a window; a window load instruction that generates a first window in response to the separation instruction.
例如,如图4所示,在终端桌面上设置用于启动浏览器的启动键,点击启动键后生成启动请求,响应该启动请求在终端桌面加载显示第二窗口(也可称作“主窗口”)。如图4所示,浏览器第二窗口侧栏显示有音乐、电影、新闻、动漫等类型的数据。当获取到对第二窗口中所显示的“新闻”执行分离操作所生成的分离指令后,根据该分离指令生成第一窗口的窗口加载指令,并根据窗口加载指令加载显示第一窗口,如图4右侧所示,该第一窗口中显示有第二窗口中“新闻”类型的数据链接。For example, as shown in FIG. 4, a startup key for starting a browser is set on a terminal desktop, and a startup request is generated after clicking a startup key, and a second window is displayed on the terminal desktop in response to the startup request (also referred to as a “main window”. "). As shown in FIG. 4, the side window of the second window of the browser displays data of a type such as music, movies, news, and animation. After acquiring the separation instruction generated by performing the separation operation on the "news" displayed in the second window, generating a window loading instruction of the first window according to the separation instruction, and loading and displaying the first window according to the window loading instruction, as shown in FIG. As shown on the right side of the fourth window, a data link of the "news" type in the second window is displayed in the first window.
通过本实施例,通过终端响应获取到的对第二窗口执行分离操作所生成的分离指令生成第一窗口的窗口加载指令,从而在接收到对第二窗口的分离操作时,终端生成第一窗口的窗口加载指令,以加载第一窗口,达到了根据第一窗口显示目标信息的目的,从而避免了因为浏览器中的控制功 能过多而导致的浏览器显示效率低的问题。With the embodiment, the window loading instruction of the first window is generated by the terminal in response to the separated instruction generated by performing the separating operation on the second window, so that the terminal generates the first window when receiving the separating operation on the second window. The window loading instruction loads the first window to achieve the purpose of displaying the target information according to the first window, thereby avoiding the problem that the browser display efficiency is low due to too many control functions in the browser.
作为一种可选的方案,终端获取对第二窗口执行分离操作所生成的分离指令包括以下至少之一:As an optional solution, the terminal obtains the separation instruction generated by performing the separation operation on the second window, and includes at least one of the following:
S1,终端获取对第二窗口中所显示的分离按钮执行点击操作所生成的分离指令;S1. The terminal acquires a separate instruction generated by performing a click operation on the split button displayed in the second window;
S2,终端获取对第二窗口的第一目标区域执行拖动操作所生成的分离指令。S2. The terminal acquires a separation instruction generated by performing a drag operation on the first target area of the second window.
具体结合图5-图6说明对第二窗口中所显示的分离按钮执行点击操作的过程。如图5所示,在鼠标放置在侧栏“新闻”时,将显示操作浮层,该操作浮层提供“弹出”按钮,在获取到对“弹出”按钮执行点击操作而生成的分离指令后,显示如图5右侧所示第一窗口,该第一窗口中显示有第二窗口中“新闻”类型的数据链接。如图6所示,在选中侧栏“新闻”后,再点击标签栏固定设置的“弹出”按钮,在获取到对“弹出”按钮执行点击操作而生成的分离指令后,显示如图6右侧所示第一窗口,该第一窗口中显示有第二窗口中“新闻”类型的数据链接。The process of performing a click operation on the separate button displayed in the second window will be described with particular reference to FIGS. 5-6. As shown in FIG. 5, when the mouse is placed in the side column "News", an operation floating layer is displayed, and the operation floating layer provides a "pop-up" button, after acquiring a separate instruction generated by performing a click operation on the "eject" button. The first window shown on the right side of FIG. 5 is displayed, and the data link of the "news" type in the second window is displayed in the first window. As shown in Figure 6, after selecting the side column "News", click the "Eject" button that is fixedly set in the tab bar, and after obtaining the separation command generated by performing the click operation on the "Eject" button, the screen is displayed as shown in Figure 6. A first window is shown on the side, and a data link of the "news" type in the second window is displayed in the first window.
具体结合图4说明对第二窗口的第一目标区域执行拖动操作的过程。,如图4所示,当获取到对第二窗口中所显示的“新闻”执行拖动操作所生成的分离指令后,显示如图4右侧所示,该第一窗口中显示有第二窗口中“新闻”类型的数据链接。The process of performing a drag operation on the first target area of the second window is specifically described with reference to FIG. As shown in FIG. 4, after the separation instruction generated by performing the drag operation on the "news" displayed in the second window is acquired, the display is as shown in the right side of FIG. 4, and the second window is displayed in the second window. A data link of the "News" type in the window.
通过本实施例,通过采用上述方法以生成分离指令,从而在第二窗口中分离出第一窗口,从而提高了分离第一窗口的灵活性,进而提高了数据显示的灵活性。With the present embodiment, by using the above method to generate a separate instruction, the first window is separated in the second window, thereby improving the flexibility of separating the first window, thereby improving the flexibility of data display.
作为一种可选的方案,终端获取用于请求加载浏览器的第一窗口的窗口加载指令包括:As an optional solution, the terminal acquiring the window loading instruction for requesting to load the first window of the browser includes:
S1,终端获取对主界面上所显示的快捷键执行操作所生成的操作指令;S1. The terminal acquires an operation instruction generated by performing an operation on the shortcut key displayed on the main interface.
S2,终端响应操作指令生成第一窗口的窗口加载指令。S2. The terminal generates a window loading instruction of the first window in response to the operation instruction.
需要说明的是,上述主界面可以但不限于为终端的桌面,上述快捷键可以但不限于为终端的桌面上所显示的快捷键。其中,用于加载第一窗口的快捷键与用于启动浏览器加载第二窗口的快捷键可以但不限于为不同标识,如图3所示,桌面显示有用于加载第一窗口的“浏览器第一窗口快捷键”;如图4所示,桌面显示有用于启动浏览器加载第二窗口的“浏览器启动键”。此外,用于加载第一窗口的快捷键与用于启动浏览器加载第二窗口的快捷键也可以但不限于为相同标识。如预先在浏览器中设置显示一个快捷键,该快捷键可以但不限于:用于加载显示第一窗口,或,用于启动浏览器加载显示第二窗口。It should be noted that the foregoing main interface may be, but not limited to, a desktop of the terminal, and the shortcut keys may be, but are not limited to, shortcut keys displayed on the desktop of the terminal. The shortcut key for loading the first window and the shortcut key for starting the browser to load the second window may be, but are not limited to, different identifiers. As shown in FIG. 3, the desktop displays a browser for loading the first window. The first window shortcut key; as shown in FIG. 4, the desktop display has a "browser start key" for starting the browser to load the second window. In addition, the shortcut keys for loading the first window and the shortcut keys for launching the browser to load the second window may also be, but are not limited to, the same identifier. If a shortcut key is displayed in the browser in advance, the shortcut key may be, but not limited to, for loading and displaying the first window, or for starting the browser to load and display the second window.
例如,以下结合图3进行说明。如图3所示,假设任务栏中设置有用于快速加载浏览器第一窗口的快捷键,通过点击该快捷键生成窗口加载指令,响应该窗口加载指令在PC终端桌面加载显示出第一窗口(如图3右侧所示)。图3所示的第一窗口中显示有今日气温与今日热点两条数据链接。当获取到对第一窗口中“今日气温”的数据执行操作而生成的显示指令之后,根据该显示指令,显示当前已更新的“今日气温”对应的气温数据。For example, the following description will be made with reference to FIG. 3. As shown in FIG. 3, it is assumed that a shortcut key for quickly loading the first window of the browser is set in the task bar, and a window loading instruction is generated by clicking the shortcut key, and the first window is displayed on the desktop of the PC terminal in response to the window loading instruction ( As shown on the right side of Figure 3. The first window shown in Figure 3 shows two data links for today's temperature and today's hotspot. After the display instruction generated by performing the operation on the data of "Today's temperature" in the first window is acquired, the temperature data corresponding to the currently updated "Today's temperature" is displayed according to the display instruction.
通过本实施例,通过对主界面上显示的快捷键执行操作而生成操作指令,进而生成窗口加载指令,以加载第一窗口,从而达到了直接通过快捷键加载第一窗口的目的,避免了启动第二窗口后才能加载第一窗口的问题,提高了第一窗口的加载效率。In this embodiment, an operation instruction is generated by performing an operation on the shortcut key displayed on the main interface, thereby generating a window loading instruction to load the first window, thereby achieving the purpose of directly loading the first window through the shortcut key, thereby avoiding starting. After the second window, the problem of loading the first window can be improved, and the loading efficiency of the first window is improved.
作为一种可选的方案,终端显示显示指令所指示的目标数据包括:As an optional solution, the target data indicated by the terminal display display instruction includes:
S1,在显示指令指示在第一窗口显示目标数据的情况下,终端获取目标数据,并将目标数据显示在第一窗口中;S1, in a case that the display instruction indicates that the target data is displayed in the first window, the terminal acquires the target data, and displays the target data in the first window;
S2,在显示指令指示在第二窗口显示目标数据的情况下,终端获取目标数据,并将目标数据显示在第二窗口中,其中,第二窗口用于提供控制 功能集合中的全部控制功能。S2. In the case that the display instruction indicates that the target data is displayed in the second window, the terminal acquires the target data and displays the target data in the second window, wherein the second window is used to provide all the control functions in the control function set.
例如,在直接点击第一窗口中所显示的数据链接后,将实现在第一窗口内直接进行页面跳转,显示与该数据链接对应的目标数据;此外,在对所选中的数据链接点击右键后,可通过选择“在第二窗口显示”,实现跳转至第二窗口显示与数据链接对应的目标数据。For example, after directly clicking on the data link displayed in the first window, a page jump directly in the first window is performed, and the target data corresponding to the data link is displayed; in addition, right click on the selected data link After that, by selecting "display in the second window", it is possible to jump to the second window to display the target data corresponding to the data link.
如图7所示,在显示指令指示:对“新闻链接2”进行右键操作后选择“在第二窗口显示”,则被选中的第一窗口中的“新闻链接2”将被传递至第二窗口,从而实现在第二窗口显示上述“新闻链接2”对应的目标数据。As shown in FIG. 7, after the display instruction indicates that "display in the second window" is selected after performing a right-click operation on "news link 2", "news link 2" in the selected first window is transmitted to the second a window, thereby realizing display of the target data corresponding to the above-mentioned "news link 2" in the second window.
通过本实施例,终端通过以不同的方式显示目标数据,从而达到了提高目标数据的显示灵活性的效果。With the present embodiment, the terminal achieves the effect of improving the display flexibility of the target data by displaying the target data in different manners.
作为一种可选的方案,终端获取目标数据,并将目标数据显示在第一窗口中包括:As an optional solution, the terminal acquires the target data and displays the target data in the first window, including:
S1,在浏览器所在终端的用户代理标识为第一标识的情况下,终端将第一标识替换为第二标识,其中,第二标识为与移动终端匹配的用户代理标识;S1, in a case where the user agent identifier of the terminal where the browser is located is the first identifier, the terminal replaces the first identifier with the second identifier, where the second identifier is a user agent identifier that matches the mobile terminal;
S2,终端根据显示指令中所携带的与目标数据对应的数据链接及第二标识生成用于向浏览器的服务器发送的第一数据显示请求;S2. The terminal generates a first data display request for sending to the server of the browser according to the data link and the second identifier corresponding to the target data carried in the display instruction.
S3,终端获取服务器响应第一数据显示请求所返回的目标数据,并在第一窗口显示目标数据。S3. The terminal acquires the target data returned by the server in response to the first data display request, and displays the target data in the first window.
可选地,上述第一标识与第二标识可以为第一窗口的UI标记,其中,上述UI标记为标识第一窗口页面排版类型的标记。例如,第一标识表示第一窗口使用在PC机上显示的排版方式,第二标识表示第一窗口使用在手机上显示的排版方式。当检测到用户代理标识为第一标识的情况下,将第一标识替换为第二标识,并将第二标识与显示指令所携带的与目标数据对应的数据链接发送给服务器,并接收服务器返回的目标数据。Optionally, the first identifier and the second identifier may be a UI mark of the first window, where the UI mark is a mark that identifies a type of page layout of the first window. For example, the first identifier indicates that the first window uses a typesetting manner displayed on the PC, and the second identifier indicates that the first window uses a typesetting manner displayed on the mobile phone. When the user agent identifier is detected as the first identifier, the first identifier is replaced with the second identifier, and the second identifier is sent to the server with a data link corresponding to the target data carried by the display instruction, and the receiving server returns Target data.
通过本实施例,通过根据用户代理标识返回对应的目标数据,从而避免了目标数据在不同的终端上的显示格式错误的问题,保证了在相应的界面上显示的目标数据清楚完整。In this embodiment, by returning the corresponding target data according to the user agent identifier, the problem that the target data is displayed on different terminals is avoided, and the target data displayed on the corresponding interface is ensured to be clear and complete.
作为一种可选的方案,终端获取目标数据,并将目标数据显示在第二窗口中包括:As an optional solution, the terminal acquires the target data and displays the target data in the second window, including:
S1,终端将显示指令中所携带的与目标数据对应的数据链接通过进程传递至第二窗口;S1, the terminal transmits the data link corresponding to the target data carried in the instruction to the second window through the process;
S2,终端根据数据链接生成用于向浏览器的服务器发送的第二数据显示请求;S2. The terminal generates a second data display request for sending to a server of the browser according to the data link.
S3,终端获取服务器响应第二数据显示请求所返回的目标数据,并在第二窗口显示目标数据。S3. The terminal acquires the target data returned by the server in response to the second data display request, and displays the target data in the second window.
需要说明的是,在本实施例中,后台在收到显示指令后,将解析该显示指令,获取显示指令中所携带的接收操作的窗口类型及数据显示方式。包括以下至少一种:It should be noted that, in this embodiment, after receiving the display instruction, the background will parse the display instruction to obtain the window type and data display mode of the receiving operation carried in the display instruction. Includes at least one of the following:
1)在窗口类型指示为第一窗口,且数据显示方式指示为以新建标签页的方式进行显示的情况下,终端将上述数据链接传递给第二窗口,通过第二窗口显示上述显示指令所请求显示的数据链接对应的目标数据。1) When the window type is indicated as the first window, and the data display mode indicates that the display is performed by creating a new tab, the terminal transmits the data link to the second window, and the second window displays the request of the display instruction. The target data corresponding to the displayed data link.
2)在窗口类型指示为第一窗口,但数据显示方式指示为在当前标签页中进行显示的情况下,终端将通过第一窗口显示上述显示指令所请求显示的数据链接对应的目标数据。2) When the window type is indicated as the first window, but the data display mode indicates that the display is in the current tab page, the terminal will display the target data corresponding to the data link requested by the display instruction by the first window.
也就是说,在本实施例中,后台将通过识别显示指令中所携带的信息,来确定控制第一窗口和/或第二窗口显示上述目标数据。需要说明的是,上述通过接收操作的窗口类型及数据显示方式来确定触发进程传递,只是一种示例,本实施例中对于触发进程传递的操作方式不做任何限定。That is to say, in the present embodiment, the background will determine to control the first window and/or the second window to display the target data by recognizing the information carried in the display instruction. It should be noted that the triggering process delivery is determined by the type of the window and the data display mode of the receiving operation, which is only an example. In this embodiment, the operation mode of the triggering process is not limited.
此外,在第一窗口获取显示指令,且在第二窗口显示目标数据的情况, 并不限于通过右键点击操作进行。例如,若预先将在第一窗口对数据执行左键点击操作,配置为可触发进程传递,则在第一窗口接收到左键点击操作后,即可触发进程传递,后台将控制通过第二窗口显示上述显示指令所请求显示的数据链接对应的目标数据。Further, the case where the display instruction is acquired in the first window and the target data is displayed in the second window is not limited to being performed by a right click operation. For example, if a left-click operation is performed on the data in the first window, and the process is configured to trigger the process transfer, after the left-click operation is received in the first window, the process transfer is triggered, and the background control is passed through the second window. The target data corresponding to the data link requested by the display instruction is displayed.
例如,当用户选择在第二窗口中显示目标内容时,通过进程将用户选择的数据链接传递给第二窗口,当第二窗口接收到上述数据链接后,向服务器发送第二数据显示请求,请求在第二窗口上显示链接所对应的内容。For example, when the user selects to display the target content in the second window, the data link selected by the user is passed to the second window by the process, and when the second window receives the data link, the second data display request is sent to the server, requesting The content corresponding to the link is displayed on the second window.
通过本实施例,通过使用进程传递的方式,从而在接收到第一窗口中的显示指令后,在第二窗口中显示目标数据,从而实现了提高第一窗口与第二窗口的传输速度,从而提高数据显示效率的效果。With the embodiment, by using the way of the process transfer, after receiving the display instruction in the first window, the target data is displayed in the second window, thereby improving the transmission speed of the first window and the second window, thereby Improve the efficiency of data display.
作为一种可选的方案,在终端响应窗口加载指令加载第一窗口之后,还包括:As an optional solution, after the terminal responds to the window loading instruction to load the first window, the method further includes:
S1,终端获取窗口关闭指令;S1, the terminal acquires a window closing instruction;
S2,在窗口关闭指令指示关闭第一窗口的情况下,终端关闭第一窗口,继续显示第二窗口;S2. If the window close instruction indicates that the first window is closed, the terminal closes the first window and continues to display the second window;
S3,在窗口关闭指令指示关闭第二窗口的情况下,终端关闭第二窗口,继续显示第一窗口。S3. In the case that the window close instruction indicates that the second window is closed, the terminal closes the second window and continues to display the first window.
可选地,第一窗口与第二窗口可以但不限于相互独立,也就是说,在第一窗口被关闭后,第二窗口可以继续运行;在第二窗口被关闭后,第一窗口可以继续运行。Optionally, the first window and the second window may be, but are not limited to, independent of each other, that is, after the first window is closed, the second window may continue to run; after the second window is closed, the first window may continue run.
例如结合图9、图10进行说明。如图9所示,当第二窗口关闭后,第一窗口仍然处于显示状态,如图10所示,当关闭第一窗口后,第二窗口仍然显示。第一窗口与第二窗口彼此不影响。For example, description will be made with reference to FIGS. 9 and 10. As shown in FIG. 9, when the second window is closed, the first window is still in the display state. As shown in FIG. 10, when the first window is closed, the second window is still displayed. The first window and the second window do not affect each other.
需要说明的是,上述设置关闭按钮仅为一种可选的实施方式,本实施例对此不做限定。It should be noted that the above-mentioned setting of the closing button is only an optional implementation manner, which is not limited in this embodiment.
通过本实施例,通过根据关闭指令关闭第二窗口并显示第一窗口,或者关闭第一窗口并显示第二窗口,从而在保证了显示数据内容的同时,减少了显示窗口所占用的面积,提高了显示的友好度。With the embodiment, by closing the second window according to the closing instruction and displaying the first window, or closing the first window and displaying the second window, the area occupied by the display window is reduced while the content of the display data is guaranteed. The friendliness of the display.
作为一种可选的方案,终端关闭第二窗口包括:As an optional solution, the terminal closing the second window includes:
S1,终端隐藏第二窗口,清空第二窗口中所显示的标签页中的页面数据,其中,在第一窗口继续显示,且获取到用于指示重新显示第二窗口的显示指令的情况下,重新加载显示第二窗口,重新加载后的第二窗口为初始显示状态。S1. The terminal hides the second window, and clears the page data in the tab page displayed in the second window, wherein, when the first window continues to be displayed, and the display instruction for instructing to redisplay the second window is acquired, Reloading displays the second window, and the reloaded second window is in the initial display state.
例如结合图9进行说明,如图9所示,当第二窗口关闭后,第一窗口上显示有加载按钮。可以通过点击加载按钮,直接加载第二窗口。For example, as described with reference to FIG. 9, as shown in FIG. 9, when the second window is closed, a loading button is displayed on the first window. The second window can be loaded directly by clicking the load button.
需要说明的是,上述通过加载按钮加载第二窗口仅为一种可选的方法,并不构成对本申请的限定。例如,可以双击第一窗口的固定区域加载第二窗口等。It should be noted that loading the second window by the loading button is only an optional method, and does not constitute a limitation on the present application. For example, you can double-click the fixed area of the first window to load the second window, and so on.
通过本实施例,通过在关闭第二窗口时隐藏第二窗口,并在获取到用于指示重新显示第二窗口的显示指令的情况下,重新加载显示第二窗口,从而缩短了关闭第二窗口后再次打开第二窗口时重新加载第二窗口的时间,提高了数据显示的效率。With the embodiment, by hiding the second window when the second window is closed, and displaying the display instruction for instructing to redisplay the second window, the second window is reloaded, thereby shortening the closing of the second window After re-loading the second window when the second window is opened again, the efficiency of data display is improved.
作为一种可选的方案,在终端响应窗口加载指令加载第一窗口之后,还包括:As an optional solution, after the terminal responds to the window loading instruction to load the first window, the method further includes:
S1,终端获取执行合并操作所生成的合并指令;S1. The terminal acquires a merge instruction generated by performing a merge operation.
S2,终端响应合并指令,将第一窗口合并到第二窗口中的第二目标区域。S2. The terminal responds to the merge instruction to merge the first window into the second target area in the second window.
其中,终端获取执行合并操作所生成的合并指令包括以下至少之一:The merge instruction generated by the terminal acquiring the performing merge operation includes at least one of the following:
S11,终端获取对第一窗口或第二窗口中所显示的合并按钮执行点击操作所生成的合并指令;S11. The terminal acquires a merge instruction generated by performing a click operation on the merge button displayed in the first window or the second window.
S12,在检测到第一窗口被拖动至目标位置的情况下,终端生成合并指令,其中,第一窗口在目标位置时,第一窗口与第二窗口的重叠面积大于预定阈值。S12. In a case that detecting that the first window is dragged to the target location, the terminal generates a merge instruction, wherein when the first window is at the target location, the overlapping area of the first window and the second window is greater than a predetermined threshold.
例如结合图6进行说明,当终端桌面上显示有第一窗口与第二窗口时,若检测到用户对第一窗口执行双击操作,则可以生成合并指令,并响应该合并指令将第一窗口合并至第二窗口中第二目标区域,例如第二目标区域可以为第二窗口中的左侧栏。For example, when the first window and the second window are displayed on the desktop of the terminal, if it is detected that the user performs a double-click operation on the first window, a merge command may be generated, and the first window is merged in response to the merge command. To the second target area in the second window, for example, the second target area may be the left side column in the second window.
或者结合图11进行说明。如图11所示,图11中阴影部分为第一窗口与第二窗口重叠的部分。当检测到第一窗口与第二窗口的重叠部分大于预定阈值时,则生成合并指令,并响应合并指令将第一窗口合并至第二窗口中的第二目标区域。Or it is explained with reference to FIG. As shown in FIG. 11, the shaded portion in FIG. 11 is a portion where the first window overlaps with the second window. When it is detected that the overlapping portion of the first window and the second window is greater than a predetermined threshold, a merge instruction is generated, and the first window is merged into the second target area in the second window in response to the merge instruction.
需要说明的是,上述第二目标区域可以为第二窗口的任何位置,本实施例对此不做限定。It should be noted that the second target area may be any position of the second window, which is not limited in this embodiment.
通过本实施例,通过使用上述方法将第一窗口合并到第二窗口中的第二目标区域,从而实现了第一窗口与第二窗口的灵活分离与合并,实现了提高数据显示效率的效果。With the embodiment, the first window is merged into the second target area in the second window by using the above method, thereby achieving flexible separation and merging of the first window and the second window, thereby achieving an effect of improving data display efficiency.
作为一种可选的方案,在终端响应窗口加载指令加载第一窗口之后,还包括:As an optional solution, after the terminal responds to the window loading instruction to load the first window, the method further includes:
S1,终端获取置顶显示指令;S1, the terminal acquires a top display instruction;
S2,终端响应置顶显示指令,将第一窗口所在图层显示在第二窗口所在图层之上。S2. The terminal responds to the top display instruction, and displays the layer where the first window is located on the layer where the second window is located.
可选地,上述置顶显示指令可以但不限于pin操作后生成的指令。其中,上述置顶显示指令用于指示将第一窗口所在图层固定在浏览器窗口的最上层。如图8所示,在获取到pin操作后生成的置顶显示指令,第一窗口所在图层将始终位于第二窗口所在图层之上。Optionally, the above-mentioned top display instruction may be, but is not limited to, an instruction generated after a pin operation. The top display instruction is used to indicate that the layer where the first window is located is fixed at the uppermost layer of the browser window. As shown in FIG. 8, after the pin display instruction generated after the pin operation is acquired, the layer where the first window is located will always be above the layer where the second window is located.
通过本申请实施例,通过获取置顶显示指令,并响应置顶显示指令,将第一窗口所在图层显示在第二窗口所在图层之上,从而保持第一窗口不会被第二窗口所遮挡,提高了第一窗口的显示优先级,达到了提高数据显示效率的效果。In the embodiment of the present application, by acquiring the top display instruction and responding to the top display instruction, the layer of the first window is displayed on the layer where the second window is located, thereby keeping the first window from being blocked by the second window. The display priority of the first window is improved, and the effect of improving data display efficiency is achieved.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present application is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present application. In the following, those skilled in the art should also understand that the embodiments described in the specification are optional embodiments, and the actions and modules involved are not necessarily required by the present application.
根据本申请实施例的另一个方面,还提供了一种用于实施上述数据显示方法的数据显示装置,应用于终端中,如图12所示,该装置包括:According to another aspect of the embodiments of the present application, there is also provided a data display apparatus for implementing the above data display method, which is applied to a terminal, as shown in FIG. 12, the apparatus includes:
1)第一获取单元1202,设置为获取用于请求加载浏览器的第一窗口的窗口加载指令,其中,第一窗口用于提供第一控制功能,第一控制功能包括与浏览器匹配的控制功能集合中的部分控制功能;1) The first obtaining unit 1202 is configured to acquire a window loading instruction for requesting loading of the first window of the browser, wherein the first window is configured to provide a first control function, and the first control function includes a control matching the browser Part of the control function in the feature set;
2)加载单元1204,设置为响应窗口加载指令加载第一窗口;2) loading unit 1204, configured to load the first window in response to the window loading instruction;
3)第二获取单元1206,设置为获取对第一窗口中所显示的数据执行操作所生成的显示指令;3) The second obtaining unit 1206 is configured to acquire a display instruction generated by performing an operation on the data displayed in the first window;
4)第一显示单元1208,设置为显示显示指令所指示的目标数据。4) The first display unit 1208 is configured to display target data indicated by the display instruction.
可选地,上述数据显示装置可以但不限于应用于通过浏览器来显示所请求的数据的过程中。其中,上述浏览器可以但不限于用于加载显示各个数据链接中的各种类型数据,如文字数据、图像数据、视频数据等。在本实施例中,为终端中所运行的浏览器配置第一窗口,其中,该第一窗口用于提供第一控制功能,第一控制功能为与浏览器匹配的控制功能集合中的部分控制功能。通过加载上述控制功能较少的第一窗口,从而实现减少第一窗口的加载时长,而无需每次都等待浏览器启动全部控制功能,以便于 快速获取对第一窗口中所显示的数据执行操作所生成的显示指令,并根据该显示指令显示所请求的目标数据,进而缩短用于显示目标数据的等待时间,达到提高数据显示效率的效果。Alternatively, the above data display device may be, but is not limited to, applied to a process of displaying the requested data through a browser. The browser may be, but is not limited to, loading and displaying various types of data in the respective data links, such as text data, image data, video data, and the like. In this embodiment, a first window is configured for the browser running in the terminal, wherein the first window is used to provide a first control function, and the first control function is part of the control function set matching the browser. Features. By loading the first window with less control function described above, the loading time of the first window is reduced, without waiting for the browser to start all control functions each time, so as to quickly obtain an operation on the data displayed in the first window. The generated display instruction displays the requested target data according to the display instruction, thereby shortening the waiting time for displaying the target data, thereby achieving an effect of improving data display efficiency.
需要说明的是,在本实施例中,上述第一窗口(也可称作“超轻窗口”)用于提供与浏览器匹配的控制功能集合中的部分控制功能,其中,上述部分控制功能可以包括但不限于:窗口显示功能,页面跳转功能。此外,与浏览器匹配的控制功能集合中的全部控制功能可以但不限于通过第二窗口(也可称作“主窗口”)提供。It should be noted that, in this embodiment, the first window (also referred to as “ultra-light window”) is used to provide a partial control function in a control function set that matches the browser, wherein the partial control function may be Including but not limited to: window display function, page jump function. Moreover, all of the control functions in the set of control functions that match the browser may be, but are not limited to, provided through a second window (which may also be referred to as a "main window").
其中,上述第二窗口还可以但不限于提供以下至少一种控制功能:The second window may also provide, but is not limited to, providing at least one of the following control functions:
1)账号体系。在浏览器中配置一个账号体系。如在建立用于登录的账号之后,会以该账号为依据进行用户个性化设置以及个人数据管理等。1) Account system. Configure an account system in the browser. For example, after establishing an account for login, user personalization and personal data management are performed based on the account.
2)书签。书签的加载本身涉及本地磁盘读写和网络通信,属于耗时过程。此外,书签还涉及增删、管理等操作。2) Bookmarks. The loading of bookmarks itself involves local disk reads and writes and network communication, which is a time consuming process. In addition, bookmarks also involve operations such as additions and deletions, management, and the like.
2)皮肤机制。提供丰富的皮肤。2) Skin mechanism. Provides rich skin.
也就是说,在本实施例中,第一窗口可以但不限于将通过第二窗口所提供的控制功能1)—3)裁剪掉,仅保留核心的控制功能(如上述窗口显示功能,页面跳转功能),以简化浏览器的交互步骤。That is to say, in the embodiment, the first window may be, but not limited to, the control function 1)-3) provided by the second window is trimmed, and only the core control function is retained (such as the above window display function, page jump) Turn the feature) to simplify the interactive steps of the browser.
例如,以下结合图3进行说明。如图3所示,假设任务栏中设置有用于快速加载浏览器第一窗口的快捷键,通过点击该快捷键生成窗口加载指令,响应该窗口加载指令在PC终端桌面加载显示出第一窗口(如图3右侧所示)。图3所示的第一窗口中显示有今日气温与今日热点两条数据链接。当获取到对第一窗口中“今日气温”的数据执行操作而生成的显示指令之后,显示与该显示指令对应的目标数据,如当前已更新的“今日气温”对应的气温数据。For example, the following description will be made with reference to FIG. 3. As shown in FIG. 3, it is assumed that a shortcut key for quickly loading the first window of the browser is set in the task bar, and a window loading instruction is generated by clicking the shortcut key, and the first window is displayed on the desktop of the PC terminal in response to the window loading instruction ( As shown on the right side of Figure 3. The first window shown in Figure 3 shows two data links for today's temperature and today's hotspot. After the display instruction generated by performing the operation on the data of "Today's temperature" in the first window is acquired, the target data corresponding to the display instruction, such as the temperature data corresponding to the currently updated "Today's temperature", is displayed.
需要说明的是,在本实施例中,上述第二窗口可以但不限于通过以下方式加载显示:获取用于启动浏览器的启动请求;响应该启动请求加载显 示浏览器的第二窗口。也就是说,在本实施例中,在启动浏览器时,将直接加载显示第二窗口。It should be noted that, in this embodiment, the foregoing second window may be, but not limited to, loading the display by acquiring a startup request for starting the browser; and loading a second window displaying the browser in response to the startup request. That is to say, in the embodiment, when the browser is started, the second window is directly loaded and displayed.
可选地,获取用于请求加载浏览器的第一窗口的窗口加载指令可以包括但不限于:Optionally, the window load instruction for obtaining the first window for requesting loading of the browser may include but is not limited to:
1)获取对第二窗口执行分离操作所生成的分离指令;根据该分离指令生成第一窗口的窗口加载指令;1) acquiring a separate instruction generated by performing a separating operation on the second window; generating a window loading instruction of the first window according to the separating instruction;
2)获取对主界面上所显示的快捷键执行操作所生成的操作指令,根据该操作指令生成第一窗口的窗口加载指令。2) Obtain an operation instruction generated by performing an operation on the shortcut key displayed on the main interface, and generate a window loading instruction of the first window according to the operation instruction.
例如,如图4所示,在终端桌面上设置用于启动浏览器的启动键,点击启动键后生成启动请求,响应该启动请求在终端桌面加载显示第二窗口(也可称作“主窗口”)。如图4所示,浏览器第二窗口侧栏显示有音乐、电影、新闻、动漫等类型的数据。当获取到对第二窗口中所显示的“新闻”执行分离操作所生成的分离指令后,根据该分离指令生成第一窗口的窗口加载指令,并根据窗口加载指令加载显示第一窗口,如图4右侧所示,该第一窗口中显示有第二窗口中“新闻”类型的数据链接。For example, as shown in FIG. 4, a startup key for starting a browser is set on a terminal desktop, and a startup request is generated after clicking a startup key, and a second window is displayed on the terminal desktop in response to the startup request (also referred to as a “main window”. "). As shown in FIG. 4, the side window of the second window of the browser displays data of a type such as music, movies, news, and animation. After acquiring the separation instruction generated by performing the separation operation on the "news" displayed in the second window, generating a window loading instruction of the first window according to the separation instruction, and loading and displaying the first window according to the window loading instruction, as shown in FIG. As shown on the right side of the fourth window, a data link of the "news" type in the second window is displayed in the first window.
又例如,如图3所示,在终端桌面上设置用于记载显示浏览器第一窗口的快捷键,点击快捷键后生成第一窗口的窗口加载指令,响应该窗口加载指令,直接在终端桌面加载显示第一窗口(也可称作“超轻窗口”)。For another example, as shown in FIG. 3, a shortcut key for recording the first window of the browser is set on the desktop of the terminal, and a window loading instruction of the first window is generated after clicking the shortcut key, and the window loading instruction is directly responded to the window loading instruction, directly at the terminal desktop. Load display the first window (also known as "ultra-light window").
可选地,在本实施例中,对第二窗口执行分离操作以获取分离指令的方式可以包括:Optionally, in this embodiment, the manner of performing a separation operation on the second window to obtain the separation instruction may include:
1)获取对第二窗口中所显示的分离按钮执行点击操作所生成的分离指令;1) acquiring a separate instruction generated by performing a click operation on the separate button displayed in the second window;
2)获取对第二窗口的第一目标区域执行拖动操作所生成的分离指令。2) Acquire a separate instruction generated by performing a drag operation on the first target area of the second window.
需要说明的是,在本实施例中,上述第一目标区域可以但不限于第二窗口内的任意可视区域,如第二窗口左侧栏、右侧栏、底栏等用于显示快 速浏览数据类型的区域。下文以左侧栏为例进行描述。It should be noted that, in this embodiment, the first target area may be, but is not limited to, any visible area in the second window, such as the left side column, the right side column, the bottom column of the second window, and the like for displaying a quick view. The area of the data type. The following description is made by taking the left side column as an example.
具体结合图5-图6说明对第二窗口中所显示的分离按钮执行点击操作的过程。如图5所示,在鼠标放置在侧栏“新闻”时,将显示操作浮层,该操作浮层提供“弹出”按钮,在获取到对“弹出”按钮执行点击操作而生成的分离指令后,显示如图5右侧所示第一窗口,该第一窗口中显示有第二窗口中“新闻”类型的数据链接。如图6所示,在选中侧栏“新闻”后,再点击标签栏固定设置的“弹出”按钮,在获取到对“弹出”按钮执行点击操作而生成的分离指令后,显示如图6右侧所示第一窗口,该第一窗口中显示有第二窗口中“新闻”类型的数据链接。The process of performing a click operation on the separate button displayed in the second window will be described with particular reference to FIGS. 5-6. As shown in FIG. 5, when the mouse is placed in the side column "News", an operation floating layer is displayed, and the operation floating layer provides a "pop-up" button, after acquiring a separate instruction generated by performing a click operation on the "eject" button. The first window shown on the right side of FIG. 5 is displayed, and the data link of the "news" type in the second window is displayed in the first window. As shown in Figure 6, after selecting the side column "News", click the "Eject" button that is fixedly set in the tab bar, and after obtaining the separation command generated by performing the click operation on the "Eject" button, the screen is displayed as shown in Figure 6. A first window is shown on the side, and a data link of the "news" type in the second window is displayed in the first window.
具体结合图4说明对第二窗口的第一目标区域执行拖动操作的过程。,如图4所示,当获取到对第二窗口中所显示的“新闻”执行拖动操作所生成的分离指令后,显示如图4右侧所示,该第一窗口中显示有第二窗口中“新闻”类型的数据链接。The process of performing a drag operation on the first target area of the second window is specifically described with reference to FIG. As shown in FIG. 4, after the separation instruction generated by performing the drag operation on the "news" displayed in the second window is acquired, the display is as shown in the right side of FIG. 4, and the second window is displayed in the second window. A data link of the "News" type in the window.
需要说明的是,在本实施例中,可以通过分离指令将第二窗口侧栏中所显示的一种类型的数据,分离出以得到第一窗口;也可以通过分离指令将第二窗口侧栏中所显示的至少两种类型的数据,分离出以得到第一窗口。其中,至少两种类型的数据在第一窗口中叠加显示。上述仅是示例,本实施例中对分离过程不做任何限定。It should be noted that, in this embodiment, one type of data displayed in the second window side column may be separated by a separation instruction to obtain a first window; or the second window sidebar may be separated by a separate instruction. At least two types of data displayed in the separation are separated to obtain a first window. Wherein at least two types of data are superimposed and displayed in the first window. The above is only an example, and the separation process is not limited in this embodiment.
此外,上述第一窗口与第二窗口可以但不限于相互独立,也就是说,在第一窗口被关闭后,第二窗口可以继续运行;在第二窗口被关闭后,第一窗口可以继续运行。In addition, the first window and the second window may be, but are not limited to, independent of each other, that is, after the first window is closed, the second window may continue to run; after the second window is closed, the first window may continue to run. .
可选地,在本实施例中,显示与显示指令对应的目标数据包括:1)在第一窗口显示目标数据;2)在第二窗口显示目标数据。Optionally, in the embodiment, displaying the target data corresponding to the display instruction comprises: 1) displaying the target data in the first window; and 2) displaying the target data in the second window.
需要说明的是,在本实施例中,上述显示指令中可以但不限于携带有与所操作的数据对应的数据链接,根据该数据链接获取所要显示的目标数据。也就是说,在第一窗口中所显示的每条数据可以但不限于绑定对应数 据链接,在获取到对数据执行操作所生成的显示指令之后,可以但不限于根据显示指令获得用于向服务器发送的数据获取请求,以请求获取上述数据链接所对应的目标数据。It should be noted that, in this embodiment, the display command may include, but is not limited to, carrying a data link corresponding to the operated data, and acquiring target data to be displayed according to the data link. That is, each piece of data displayed in the first window may be, but is not limited to, a binding corresponding data link, and after obtaining the display instruction generated by performing an operation on the data, may be, but is not limited to, being obtained according to the display instruction. A data acquisition request sent by the server to request acquisition of target data corresponding to the data link.
例如,在直接点击第一窗口中所显示的数据链接后,将实现在第一窗口内直接进行页面跳转,显示与该数据链接对应的目标数据;此外,在对所选中的数据链接点击右键后,可通过选择“在第二窗口显示”,实现跳转至第二窗口显示与数据链接对应的目标数据。For example, after directly clicking on the data link displayed in the first window, a page jump directly in the first window is performed, and the target data corresponding to the data link is displayed; in addition, right click on the selected data link After that, by selecting "display in the second window", it is possible to jump to the second window to display the target data corresponding to the data link.
如图7所示,在显示指令指示:对“新闻链接2”进行右键操作后选择“在第二窗口显示”,则被选中的第一窗口中的“新闻链接2”将被传递至第二窗口,从而实现在第二窗口显示上述“新闻链接2”对应的目标数据。As shown in FIG. 7, after the display instruction indicates that "display in the second window" is selected after performing a right-click operation on "news link 2", "news link 2" in the selected first window is transmitted to the second a window, thereby realizing display of the target data corresponding to the above-mentioned "news link 2" in the second window.
可选地,在响应窗口加载指令加载第一窗口之后,还包括:获取执行合并操作所生成的合并指令;响应合并指令,将第一窗口合并到第二窗口中的第二目标区域。Optionally, after the first window is loaded in response to the window load instruction, the method further includes: acquiring a merge instruction generated by performing the merge operation; and in response to the merge instruction, merging the first window into the second target area in the second window.
需要说明的是,在本实施例中,上述第二目标区域可以但不限于第二窗口内的任意可视区域,如第二窗口左侧栏、右侧栏、底栏等用于显示快速浏览数据类型的区域。也就是说,被独立分割显示的第一窗口,可以但不限于再次合并到第二窗口中的第二目标区域。It should be noted that, in this embodiment, the second target area may be, but is not limited to, any visible area in the second window, such as the left side column, the right side column, the bottom column of the second window, and the like for displaying a quick view. The area of the data type. That is to say, the first window displayed separately and divided can be, but is not limited to, merged into the second target area in the second window again.
可选地,在本实施例中,获取合并指令的方式包括:Optionally, in this embodiment, the manner of obtaining the merge instruction includes:
1)获取对第一窗口或第二窗口中所显示的合并按钮执行点击操作所生成的合并指令;1) acquiring a merge instruction generated by performing a click operation on the merge button displayed in the first window or the second window;
2)在检测到第一窗口被拖动至目标位置的情况下,生成合并指令;2) generating a merge instruction when detecting that the first window is dragged to the target position;
3)在检测到对第一窗口的执行双击操作时,生成合并指令;3) generating a merge instruction when detecting a double click operation on the first window;
例如结合图6进行说明,当终端桌面上显示有第一窗口与第二窗口时,若检测到用户对第一窗口执行双击操作,则可以生成合并指令,并响应该 合并指令将第一窗口合并至第二窗口中第二目标区域,例如第二目标区域可以为第二窗口中的左侧栏。For example, when the first window and the second window are displayed on the desktop of the terminal, if it is detected that the user performs a double-click operation on the first window, a merge command may be generated, and the first window is merged in response to the merge command. To the second target area in the second window, for example, the second target area may be the left side column in the second window.
可选地,在响应窗口加载指令加载第一窗口之后,还包括:获取置顶显示指令;响应置顶显示指令,将第一窗口所在图层显示在第二窗口所在图层之上。Optionally, after the first window is loaded by the response window loading instruction, the method further includes: acquiring a top display instruction; and displaying the layer of the first window on the layer where the second window is located in response to the top display instruction.
可选地,上述置顶显示指令可以但不限于pin操作后生成的指令。其中,上述置顶显示指令用于指示将第一窗口所在图层固定在浏览器窗口的最上层。如图8所示,在获取到pin操作后生成的置顶显示指令,第一窗口所在图层将始终位于第二窗口所在图层之上。Optionally, the above-mentioned top display instruction may be, but is not limited to, an instruction generated after a pin operation. The top display instruction is used to indicate that the layer where the first window is located is fixed at the uppermost layer of the browser window. As shown in FIG. 8, after the pin display instruction generated after the pin operation is acquired, the layer where the first window is located will always be above the layer where the second window is located.
需要说明的是,在本实施例中,上述置顶显示指令用于指示窗口所在图层置顶,而第一窗口本身可以在界面中任意移动,与第二窗口之间的相对位置关系,本实施例中在此不做任何显得那个。It should be noted that, in this embodiment, the top display command is used to indicate that the window where the window is located is topped, and the first window itself can be arbitrarily moved in the interface, and the relative position relationship between the second window and the second window. I don't do anything like this here.
通过本实施例,通过加载用于提供第一控制功能的第一窗口,其中,第一控制功能为与浏览器匹配的控制功能集合中的部分控制功能。从而实现减少第一窗口的加载时长,而无需每次都等待浏览器启动全部控制功能,以便于快速获取对第一窗口中所显示的数据执行操作所生成的显示指令,并显示与该显示指令显示对应的目标数据,进而缩短用于显示目标数据的等待时间,达到提高数据显示效率的效果,解决了相关技术所提供的浏览器显示方法存在显示效率较低的技术问题。With the present embodiment, by loading a first window for providing a first control function, wherein the first control function is a partial control function in a control function set that matches the browser. Thereby reducing the loading time of the first window without waiting for the browser to start all the control functions each time, in order to quickly acquire the display instruction generated by performing the operation on the data displayed in the first window, and displaying the display instruction with the display instruction The corresponding target data is displayed, thereby shortening the waiting time for displaying the target data, thereby improving the efficiency of data display, and solving the technical problem that the browser display method provided by the related art has low display efficiency.
作为一种可选的方案,As an alternative,
上述装置还包括:1)第三获取单元,设置为在获取用于请求加载浏览器的第一窗口的窗口加载指令之前,获取用于启动浏览器的启动请求;1)第二显示单元,设置为响应启动请求加载显示浏览器的第二窗口,其中,第二窗口用于提供控制功能集合中的全部控制功能;The device further includes: 1) a third obtaining unit, configured to acquire a startup request for starting the browser before acquiring a window loading instruction for requesting loading of the first window of the browser; 1) the second display unit, setting Loading a second window of the display browser in response to the activation request, wherein the second window is configured to provide all control functions in the control function set;
2)第一获取单元包括:(1)第一获取模块,设置为获取对第二窗口执行分离操作所生成的分离指令,其中,分离指令用于指示从第二窗口中 分离出第一窗口;(2)第一生成模块,设置为响应分离指令生成第一窗口的窗口加载指令。2) The first obtaining unit includes: (1) a first obtaining module, configured to acquire a separate instruction generated by performing a separating operation on the second window, wherein the separating instruction is configured to indicate that the first window is separated from the second window; (2) The first generation module is configured to generate a window load instruction of the first window in response to the separation instruction.
例如,如图4所示,在终端桌面上设置用于启动浏览器的启动键,点击启动键后生成启动请求,响应该启动请求在终端桌面加载显示第二窗口(也可称作“主窗口”)。如图4所示,浏览器第二窗口侧栏显示有音乐、电影、新闻、动漫等类型的数据。当获取到对第二窗口中所显示的“新闻”执行分离操作所生成的分离指令后,根据该分离指令生成第一窗口的窗口加载指令,并根据窗口加载指令加载显示第一窗口,如图4右侧所示,该第一窗口中显示有第二窗口中“新闻”类型的数据链接。For example, as shown in FIG. 4, a startup key for starting a browser is set on a terminal desktop, and a startup request is generated after clicking a startup key, and a second window is displayed on the terminal desktop in response to the startup request (also referred to as a “main window”. "). As shown in FIG. 4, the side window of the second window of the browser displays data of a type such as music, movies, news, and animation. After acquiring the separation instruction generated by performing the separation operation on the "news" displayed in the second window, generating a window loading instruction of the first window according to the separation instruction, and loading and displaying the first window according to the window loading instruction, as shown in FIG. As shown on the right side of the fourth window, a data link of the "news" type in the second window is displayed in the first window.
通过本实施例,通过响应获取到的对第二窗口执行分离操作所生成的分离指令生成第一窗口的窗口加载指令,从而在接收到对第二窗口的分离操作时,生成第一窗口的窗口加载指令,以加载第一窗口,达到了根据第一窗口显示目标信息的目的,从而避免了因为浏览器中的控制功能过多而导致的浏览器显示效率低的问题。With the embodiment, the window loading instruction of the first window is generated by responding to the obtained separate instruction generated by performing the separating operation on the second window, thereby generating the window of the first window when receiving the separating operation on the second window The instruction is loaded to load the first window, and the purpose of displaying the target information according to the first window is achieved, thereby avoiding the problem that the browser display efficiency is low due to too many control functions in the browser.
作为一种可选的方案,第一获取模块包括以下至少之一:As an optional solution, the first obtaining module includes at least one of the following:
1)第一获取子模块,设置为获取对第二窗口中所显示的分离按钮执行点击操作所生成的分离指令;1) a first acquisition submodule configured to acquire a separation instruction generated by performing a click operation on the separate button displayed in the second window;
2)第二获取子模块,设置为获取对第二窗口的第一目标区域执行拖动操作所生成的分离指令。2) The second acquisition submodule is configured to acquire a separation instruction generated by performing a drag operation on the first target area of the second window.
具体结合图5-图6说明对第二窗口中所显示的分离按钮执行点击操作的过程。如图5所示,在鼠标放置在侧栏“新闻”时,将显示操作浮层,该操作浮层提供“弹出”按钮,在获取到对“弹出”按钮执行点击操作而生成的分离指令后,显示如图5右侧所示第一窗口,该第一窗口中显示有第二窗口中“新闻”类型的数据链接。如图6所示,在选中侧栏“新闻”后,再点击标签栏固定设置的“弹出”按钮,在获取到对“弹出”按钮执行点击操作而生成的分离指令后,显示如图6右侧所示第一窗口,该第一 窗口中显示有第二窗口中“新闻”类型的数据链接。The process of performing a click operation on the separate button displayed in the second window will be described with particular reference to FIGS. 5-6. As shown in FIG. 5, when the mouse is placed in the side column "News", an operation floating layer is displayed, and the operation floating layer provides a "pop-up" button, after acquiring a separate instruction generated by performing a click operation on the "eject" button. The first window shown on the right side of FIG. 5 is displayed, and the data link of the "news" type in the second window is displayed in the first window. As shown in Figure 6, after selecting the side column "News", click the "Eject" button that is fixedly set in the tab bar, and after obtaining the separation command generated by performing the click operation on the "Eject" button, the screen is displayed as shown in Figure 6. A first window is shown on the side, and a data link of the "news" type in the second window is displayed in the first window.
具体结合图4说明对第二窗口的第一目标区域执行拖动操作的过程。,如图4所示,当获取到对第二窗口中所显示的“新闻”执行拖动操作所生成的分离指令后,显示如图4右侧所示,该第一窗口中显示有第二窗口中“新闻”类型的数据链接。The process of performing a drag operation on the first target area of the second window is specifically described with reference to FIG. As shown in FIG. 4, after the separation instruction generated by performing the drag operation on the "news" displayed in the second window is acquired, the display is as shown in the right side of FIG. 4, and the second window is displayed in the second window. A data link of the "News" type in the window.
通过本实施例,通过采用上述方法以生成分离指令,从而在第二窗口中分离出第一窗口,从而提高了分离第一窗口的灵活性,进而提高了数据显示的灵活性。With the present embodiment, by using the above method to generate a separate instruction, the first window is separated in the second window, thereby improving the flexibility of separating the first window, thereby improving the flexibility of data display.
作为一种可选的方案,第一获取单元包括:As an optional solution, the first obtaining unit includes:
1)第二获取模块,设置为获取对主界面上所显示的快捷键执行操作所生成的操作指令;1) The second obtaining module is configured to acquire an operation instruction generated by performing an operation on the shortcut key displayed on the main interface;
2)第二生成模块,设置为响应操作指令生成第一窗口的窗口加载指令。2) The second generation module is configured to generate a window load instruction of the first window in response to the operation instruction.
需要说明的是,上述主界面可以但不限于为终端的桌面,上述快捷键可以但不限于为终端的桌面上所显示的快捷键。其中,用于加载第一窗口的快捷键与用于启动浏览器加载第二窗口的快捷键可以但不限于为不同标识,如图3所示,桌面显示有用于加载第一窗口的“浏览器第一窗口快捷键”;如图4所示,桌面显示有用于启动浏览器加载第二窗口的“浏览器启动键”。此外,用于加载第一窗口的快捷键与用于启动浏览器加载第二窗口的快捷键也可以但不限于为相同标识。如预先在浏览器中设置显示一个快捷键,该快捷键可以但不限于:用于加载显示第一窗口,或,用于启动浏览器加载显示第二窗口。It should be noted that the foregoing main interface may be, but not limited to, a desktop of the terminal, and the shortcut keys may be, but are not limited to, shortcut keys displayed on the desktop of the terminal. The shortcut key for loading the first window and the shortcut key for starting the browser to load the second window may be, but are not limited to, different identifiers. As shown in FIG. 3, the desktop displays a browser for loading the first window. The first window shortcut key; as shown in FIG. 4, the desktop display has a "browser start key" for starting the browser to load the second window. In addition, the shortcut keys for loading the first window and the shortcut keys for launching the browser to load the second window may also be, but are not limited to, the same identifier. If a shortcut key is displayed in the browser in advance, the shortcut key may be, but not limited to, for loading and displaying the first window, or for starting the browser to load and display the second window.
例如,以下结合图3进行说明。如图3所示,假设任务栏中设置有用于快速加载浏览器第一窗口的快捷键,通过点击该快捷键生成窗口加载指令,响应该窗口加载指令在PC终端桌面加载显示出第一窗口(如图3右侧所示)。图3所示的第一窗口中显示有今日气温与今日热点两条数据链 接。当获取到对第一窗口中“今日气温”的数据执行操作而生成的显示指令之后,根据该显示指令,显示当前已更新的“今日气温”对应的气温数据。For example, the following description will be made with reference to FIG. 3. As shown in FIG. 3, it is assumed that a shortcut key for quickly loading the first window of the browser is set in the task bar, and a window loading instruction is generated by clicking the shortcut key, and the first window is displayed on the desktop of the PC terminal in response to the window loading instruction ( As shown on the right side of Figure 3. The first window shown in Figure 3 shows two data links between today's temperature and today's hotspot. After the display instruction generated by performing the operation on the data of "Today's temperature" in the first window is acquired, the temperature data corresponding to the currently updated "Today's temperature" is displayed according to the display instruction.
通过本实施例,通过对主界面上显示的快捷键执行操作而生成操作指令,进而生成窗口加载指令,以加载第一窗口,从而达到了直接通过快捷键加载第一窗口的目的,避免了启动第二窗口后才能加载第一窗口的问题,提高了第一窗口的加载效率。In this embodiment, an operation instruction is generated by performing an operation on the shortcut key displayed on the main interface, thereby generating a window loading instruction to load the first window, thereby achieving the purpose of directly loading the first window through the shortcut key, thereby avoiding starting. After the second window, the problem of loading the first window can be improved, and the loading efficiency of the first window is improved.
作为一种可选的方案,第一显示单元包括:As an alternative, the first display unit includes:
1)第一显示模块,设置为在显示指令指示在第一窗口显示目标数据的情况下,获取目标数据,并将目标数据显示在第一窗口中;1) a first display module, configured to acquire target data in a case where the display instruction indicates that the target data is displayed in the first window, and display the target data in the first window;
2)第二显示模块,设置为在显示指令指示在第二窗口显示目标数据的情况下,获取目标数据,并将目标数据显示在第二窗口中,其中,第二窗口用于提供控制功能集合中的全部控制功能。2) a second display module, configured to acquire target data in a case where the display instruction indicates that the target data is displayed in the second window, and display the target data in the second window, wherein the second window is configured to provide the control function set All control functions in the middle.
例如,在直接点击第一窗口中所显示的数据链接后,将实现在第一窗口内直接进行页面跳转,显示与该数据链接对应的目标数据;此外,在对所选中的数据链接点击右键后,可通过选择“在第二窗口显示”,实现跳转至第二窗口显示与数据链接对应的目标数据。For example, after directly clicking on the data link displayed in the first window, a page jump directly in the first window is performed, and the target data corresponding to the data link is displayed; in addition, right click on the selected data link After that, by selecting "display in the second window", it is possible to jump to the second window to display the target data corresponding to the data link.
如图7所示,在显示指令指示:对“新闻链接2”进行右键操作后选择“在第二窗口显示”,则被选中的第一窗口中的“新闻链接2”将被传递至第二窗口,从而实现在第二窗口显示上述“新闻链接2”对应的目标数据。As shown in FIG. 7, after the display instruction indicates that "display in the second window" is selected after performing a right-click operation on "news link 2", "news link 2" in the selected first window is transmitted to the second a window, thereby realizing display of the target data corresponding to the above-mentioned "news link 2" in the second window.
通过本实施例,通过以不同的方式显示目标数据,从而达到了提高目标数据的显示灵活性的效果。With the present embodiment, by displaying the target data in a different manner, the effect of improving the display flexibility of the target data is achieved.
作为一种可选的方案,第一显示模块包括:As an alternative, the first display module includes:
1)替换子模块,设置为在浏览器所在终端的用户代理标识为第一标 识的情况下,将第一标识替换为第二标识,其中,第二标识为与移动终端匹配的用户代理标识;1) The replacement sub-module is configured to replace the first identifier with the second identifier when the user agent identifier of the terminal where the browser is located is the first identifier, where the second identifier is a user agent identifier that matches the mobile terminal;
2)第一生成子模块,设置为根据显示指令中所携带的与目标数据对应的数据链接及第二标识生成用于向浏览器的服务器发送的第一数据显示请求;2) The first generation submodule is configured to generate a first data display request for sending to the server of the browser according to the data link and the second identifier corresponding to the target data carried in the display instruction;
3)第三获取子模块,设置为获取服务器响应第一数据显示请求所返回的目标数据,并在第一窗口显示目标数据。3) The third obtaining submodule is configured to obtain the target data returned by the server in response to the first data display request, and display the target data in the first window.
可选地,上述第一标识与第二标识可以为第一窗口的UI标记,其中,上述UI标记为标识第一窗口页面排版类型的标记。例如,第一标识表示第一窗口使用在PC机上显示的排版方式,第二标识表示第一窗口使用在手机上显示的排版方式。当检测到用户代理标识为第一标识的情况下,将第一标识替换为第二标识,并将第二标识与显示指令所携带的与目标数据对应的数据链接发送给服务器,并接收服务器返回的目标数据。Optionally, the first identifier and the second identifier may be a UI mark of the first window, where the UI mark is a mark that identifies a type of page layout of the first window. For example, the first identifier indicates that the first window uses a typesetting manner displayed on the PC, and the second identifier indicates that the first window uses a typesetting manner displayed on the mobile phone. When the user agent identifier is detected as the first identifier, the first identifier is replaced with the second identifier, and the second identifier is sent to the server with a data link corresponding to the target data carried by the display instruction, and the receiving server returns Target data.
通过本实施例,通过根据用户代理标识返回对应的目标数据,从而避免了目标数据在不同的终端上的显示格式错误的问题,保证了在相应的界面上显示的目标数据清楚完整。In this embodiment, by returning the corresponding target data according to the user agent identifier, the problem that the target data is displayed on different terminals is avoided, and the target data displayed on the corresponding interface is ensured to be clear and complete.
作为一种可选的方案,第二显示模块包括:As an alternative, the second display module includes:
1)传递子模块,设置为将显示指令中所携带的与目标数据对应的数据链接通过进程传递至第二窗口;1) a transfer submodule, configured to pass the data link corresponding to the target data carried in the display instruction to the second window through the process;
2)第二生成子模块,设置为根据数据链接生成用于向浏览器的服务器发送的第二数据显示请求;2) a second generation submodule configured to generate a second data display request for sending to a server of the browser according to the data link;
3)显示子模块,设置为获取服务器响应第二数据显示请求所返回的目标数据,并在第二窗口显示目标数据。3) Display the sub-module, set to obtain the target data returned by the server in response to the second data display request, and display the target data in the second window.
需要说明的是,在本实施例中,后台在收到显示指令后,将解析该显示指令,获取显示指令中所携带的接收操作的窗口类型及数据显示方式。 包括以下至少一种:It should be noted that, in this embodiment, after receiving the display instruction, the background will parse the display instruction to obtain the window type and data display mode of the receiving operation carried in the display instruction. Includes at least one of the following:
1)在窗口类型指示为第一窗口,且数据显示方式指示为以新建标签页的方式进行显示的情况下,则将上述数据链接传递给第二窗口,通过第二窗口显示上述显示指令所请求显示的数据链接对应的目标数据。1) When the window type is indicated as the first window, and the data display mode is indicated to be displayed in the manner of creating a new tab page, the data link is transmitted to the second window, and the second window is displayed to display the request of the display instruction. The target data corresponding to the displayed data link.
2)在窗口类型指示为第一窗口,但数据显示方式指示为在当前标签页中进行显示的情况下,则将通过第一窗口显示上述显示指令所请求显示的数据链接对应的目标数据。2) When the window type is indicated as the first window, but the data display mode indicates that the display is in the current tab page, the target data corresponding to the data link requested by the display instruction is displayed through the first window.
也就是说,在本实施例中,后台将通过识别显示指令中所携带的信息,来确定控制第一窗口和/或第二窗口显示上述目标数据。需要说明的是,上述通过接收操作的窗口类型及数据显示方式来确定触发进程传递,只是一种示例,本实施例中对于触发进程传递的操作方式不做任何限定。That is to say, in the present embodiment, the background will determine to control the first window and/or the second window to display the target data by recognizing the information carried in the display instruction. It should be noted that the triggering process delivery is determined by the type of the window and the data display mode of the receiving operation, which is only an example. In this embodiment, the operation mode of the triggering process is not limited.
此外,在第一窗口获取显示指令,且在第二窗口显示目标数据的情况,并不限于通过右键点击操作进行。例如,若预先将在第一窗口对数据执行左键点击操作,配置为可触发进程传递,则在第一窗口接收到左键点击操作后,即可触发进程传递,后台将控制通过第二窗口显示上述显示指令所请求显示的数据链接对应的目标数据。Further, the case where the display instruction is acquired in the first window and the target data is displayed in the second window is not limited to being performed by a right click operation. For example, if a left-click operation is performed on the data in the first window, and the process is configured to trigger the process transfer, after the left-click operation is received in the first window, the process transfer is triggered, and the background control is passed through the second window. The target data corresponding to the data link requested by the display instruction is displayed.
例如,当用户选择在第二窗口中显示目标内容时,通过进程将用户选择的数据链接传递给第二窗口,当第二窗口接收到上述数据链接后,向服务器发送第二数据显示请求,请求在第二窗口上显示链接所对应的内容。For example, when the user selects to display the target content in the second window, the data link selected by the user is passed to the second window by the process, and when the second window receives the data link, the second data display request is sent to the server, requesting The content corresponding to the link is displayed on the second window.
通过本实施例,通过使用进程传递的方式,从而在接收到第一窗口中的显示指令后,在第二窗口中显示目标数据,从而实现了提高第一窗口与第二窗口的传输速度,从而提高数据显示效率的效果。With the embodiment, by using the way of the process transfer, after receiving the display instruction in the first window, the target data is displayed in the second window, thereby improving the transmission speed of the first window and the second window, thereby Improve the efficiency of data display.
作为一种可选的方案,上述装置还包括:As an alternative, the above device further includes:
1)第四获取单元,设置为在响应窗口加载指令加载第一窗口之后,获取窗口关闭指令;1) a fourth obtaining unit, configured to acquire a window closing instruction after loading the first window by the response window loading instruction;
2)第一关闭单元,设置为在窗口关闭指令指示关闭第一窗口的情况下,关闭第一窗口,继续显示第二窗口;2) a first closing unit, configured to close the first window and continue to display the second window if the window closing instruction indicates that the first window is closed;
3)第二关闭单元,设置为在窗口关闭指令指示关闭第二窗口的情况下,关闭第二窗口,继续显示第一窗口。3) The second closing unit is configured to close the second window and continue to display the first window if the window closing instruction indicates that the second window is closed.
可选地,第一窗口与第二窗口可以但不限于相互独立,也就是说,在第一窗口被关闭后,第二窗口可以继续运行;在第二窗口被关闭后,第一窗口可以继续运行。Optionally, the first window and the second window may be, but are not limited to, independent of each other, that is, after the first window is closed, the second window may continue to run; after the second window is closed, the first window may continue run.
例如结合图9、图10进行说明。如图9所示,当第二窗口关闭后,第一窗口仍然处于显示状态,如图10所示,当关闭第一窗口后,第二窗口仍然显示。第一窗口与第二窗口彼此不影响。For example, description will be made with reference to FIGS. 9 and 10. As shown in FIG. 9, when the second window is closed, the first window is still in the display state. As shown in FIG. 10, when the first window is closed, the second window is still displayed. The first window and the second window do not affect each other.
需要说明的是,上述设置关闭按钮仅为一种可选的实施方式,本实施例对此不做限定。It should be noted that the above-mentioned setting of the closing button is only an optional implementation manner, which is not limited in this embodiment.
通过本实施例,通过根据关闭指令关闭第二窗口并显示第一窗口,或者关闭第一窗口并显示第二窗口,从而在保证了显示数据内容的同时,减少了显示窗口所占用的面积,提高了显示的友好度。With the embodiment, by closing the second window according to the closing instruction and displaying the first window, or closing the first window and displaying the second window, the area occupied by the display window is reduced while the content of the display data is guaranteed. The friendliness of the display.
作为一种可选的方案,第二关闭单元包括:As an alternative, the second closing unit comprises:
1)隐藏模块,设置为隐藏第二窗口,清空第二窗口中所显示的标签页中的页面数据,其中,在第一窗口继续显示,且获取到用于指示重新显示第二窗口的显示指令的情况下,重新加载显示第二窗口,重新加载后的第二窗口为初始显示状态。1) hiding the module, setting to hide the second window, clearing the page data in the tab page displayed in the second window, wherein the displaying continues in the first window, and obtaining a display instruction for instructing to redisplay the second window In the case of reloading, the second window is displayed, and the second window after reloading is the initial display state.
例如结合图9进行说明,如图9所示,当第二窗口关闭后,第一窗口上显示有加载按钮。可以通过点击加载按钮,直接加载第二窗口。For example, as described with reference to FIG. 9, as shown in FIG. 9, when the second window is closed, a loading button is displayed on the first window. The second window can be loaded directly by clicking the load button.
需要说明的是,上述通过加载按钮加载第二窗口仅为一种可选的方法,并不构成对本申请的限定。例如,可以双击第一窗口的固定区域加载第二窗口等。It should be noted that loading the second window by the loading button is only an optional method, and does not constitute a limitation on the present application. For example, you can double-click the fixed area of the first window to load the second window, and so on.
通过本实施例,通过在关闭第二窗口时隐藏第二窗口,并在获取到用于指示重新显示第二窗口的显示指令的情况下,重新加载显示第二窗口,从而缩短了关闭第二窗口后再次打开第二窗口时重新加载第二窗口的时间,提高了数据显示的效率。With the embodiment, by hiding the second window when the second window is closed, and displaying the display instruction for instructing to redisplay the second window, the second window is reloaded, thereby shortening the closing of the second window After re-loading the second window when the second window is opened again, the efficiency of data display is improved.
作为一种可选的方案,装置还包括:As an alternative, the device further includes:
1)第五获取单元,设置为在响应窗口加载指令加载第一窗口之后,获取执行合并操作所生成的合并指令;1) a fifth obtaining unit, configured to acquire a merge instruction generated by performing a merge operation after loading the first window by the response window loading instruction;
2)合并单元,设置为响应合并指令,将第一窗口合并到第二窗口中的第二目标区域。2) The merging unit is configured to merge the first window into the second target area in the second window in response to the merge instruction.
其中,上述第五获取单元包括以下至少之一:The fifth obtaining unit includes at least one of the following:
3)第三获取模块,设置为获取对第一窗口或第二窗口中所显示的合并按钮执行点击操作所生成的合并指令;3) a third obtaining module, configured to acquire a merge instruction generated by performing a click operation on the merge button displayed in the first window or the second window;
4)第三生成模块,设置为在检测到第一窗口被拖动至目标位置的情况下,生成合并指令,其中,第一窗口在目标位置时,第一窗口与第二窗口的重叠面积大于预定阈值。4) The third generation module is configured to generate a merge instruction when detecting that the first window is dragged to the target position, wherein when the first window is at the target position, the overlapping area of the first window and the second window is greater than The threshold is predetermined.
例如结合图6进行说明,当终端桌面上显示有第一窗口与第二窗口时,若检测到用户对第一窗口执行双击操作,则可以生成合并指令,并响应该合并指令将第一窗口合并至第二窗口中第二目标区域,例如第二目标区域可以为第二窗口中的左侧栏。For example, when the first window and the second window are displayed on the desktop of the terminal, if it is detected that the user performs a double-click operation on the first window, a merge command may be generated, and the first window is merged in response to the merge command. To the second target area in the second window, for example, the second target area may be the left side column in the second window.
或者结合图11进行说明。如图11所示,图11中阴影部分为第一窗口与第二窗口重叠的部分。当检测到第一窗口与第二窗口的重叠部分大于预定阈值时,则生成合并指令,并响应合并指令将第一窗口合并至第二窗口中的第二目标区域。Or it is explained with reference to FIG. As shown in FIG. 11, the shaded portion in FIG. 11 is a portion where the first window overlaps with the second window. When it is detected that the overlapping portion of the first window and the second window is greater than a predetermined threshold, a merge instruction is generated, and the first window is merged into the second target area in the second window in response to the merge instruction.
需要说明的是,上述第二目标区域可以为第二窗口的任何位置,本实施例对此不做限定。It should be noted that the second target area may be any position of the second window, which is not limited in this embodiment.
通过本实施例,通过使用上述方法将第一窗口合并到第二窗口中的第二目标区域,从而实现了第一窗口与第二窗口的灵活分离与合并,实现了提高数据显示效率的效果。With the embodiment, the first window is merged into the second target area in the second window by using the above method, thereby achieving flexible separation and merging of the first window and the second window, thereby achieving an effect of improving data display efficiency.
作为一种可选的方案,装置还包括:As an alternative, the device further includes:
1)第六获取单元,设置为在响应窗口加载指令加载第一窗口之后,获取置顶显示指令;1) a sixth obtaining unit, configured to acquire a top display instruction after loading the first window in response to the window loading instruction;
2)第三显示单元,设置为响应置顶显示指令,将第一窗口所在图层显示在第二窗口所在图层之上。2) The third display unit is configured to display the layer of the first window on the layer where the second window is located in response to the top display instruction.
可选地,上述置顶显示指令可以但不限于pin操作后生成的指令。其中,上述置顶显示指令用于指示将第一窗口所在图层固定在浏览器窗口的最上层。如图8所示,在获取到pin操作后生成的置顶显示指令,第一窗口所在图层将始终位于第二窗口所在图层之上。Optionally, the above-mentioned top display instruction may be, but is not limited to, an instruction generated after a pin operation. The top display instruction is used to indicate that the layer where the first window is located is fixed at the uppermost layer of the browser window. As shown in FIG. 8, after the pin display instruction generated after the pin operation is acquired, the layer where the first window is located will always be above the layer where the second window is located.
通过本申请实施例,通过获取置顶显示指令,并响应置顶显示指令,将第一窗口所在图层显示在第二窗口所在图层之上,从而保持第一窗口不会被第二窗口所遮挡,提高了第一窗口的显示优先级,达到了提高数据显示效率的效果。In the embodiment of the present application, by acquiring the top display instruction and responding to the top display instruction, the layer of the first window is displayed on the layer where the second window is located, thereby keeping the first window from being blocked by the second window. The display priority of the first window is improved, and the effect of improving data display efficiency is achieved.
根据本申请的实施例的又一方面还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to still another aspect of the embodiments of the present application, there is also provided a storage medium having stored therein a computer program, wherein the computer program is configured to execute the steps of any one of the method embodiments described above.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in the embodiment, the above storage medium may be configured to store a computer program for performing the following steps:
S1,获取用于请求加载浏览器的第一窗口的窗口加载指令,其中,第一窗口用于提供第一控制功能,第一控制功能包括与浏览器匹配的控制功能集合中的部分控制功能;S1, acquiring a window loading instruction for requesting loading of a first window of the browser, wherein the first window is configured to provide a first control function, and the first control function comprises a partial control function in a control function set matched with the browser;
S2,响应窗口加载指令加载第一窗口;S2, loading a first window in response to a window loading instruction;
S3,获取对第一窗口中所显示的数据执行操作所生成的显示指令;S3. Acquire a display instruction generated by performing an operation on the data displayed in the first window;
S4,显示显示指令所指示的目标数据。S4, displaying the target data indicated by the display instruction.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in the embodiment, the above storage medium may be configured to store a computer program for performing the following steps:
S1,在获取用于请求加载浏览器的第一窗口的窗口加载指令之前,还包括:获取用于启动浏览器的启动请求;响应启动请求加载显示浏览器的第二窗口,其中,第二窗口用于提供控制功能集合中的全部控制功能;S1. Before acquiring the window loading instruction for requesting to load the first window of the browser, the method further includes: acquiring a startup request for starting the browser; loading a second window of the display browser in response to the startup request, wherein the second window Used to provide all control functions in the control function set;
S2,获取用于请求加载浏览器的第一窗口的窗口加载指令包括:获取对第二窗口执行分离操作所生成的分离指令,其中,分离指令用于指示从第二窗口中分离出第一窗口;响应分离指令生成第一窗口的窗口加载指令。S2. Acquiring a window loading instruction for requesting loading of the first window of the browser comprises: acquiring a separate instruction generated by performing a separating operation on the second window, wherein the separating instruction is used to indicate that the first window is separated from the second window The window load instruction of the first window is generated in response to the separation instruction.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in the embodiment, the above storage medium may be configured to store a computer program for performing the following steps:
S1,获取对第二窗口中所显示的分离按钮执行点击操作所生成的分离指令;S1. Acquire a separate instruction generated by performing a click operation on the split button displayed in the second window;
S2,获取对第二窗口的第一目标区域执行拖动操作所生成的分离指令。S2. Acquire a separate instruction generated by performing a drag operation on the first target area of the second window.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in the embodiment, the above storage medium may be configured to store a computer program for performing the following steps:
S1,获取对主界面上所显示的快捷键执行操作所生成的操作指令;S1, acquiring an operation instruction generated by performing an operation on the shortcut key displayed on the main interface;
S2,响应操作指令生成第一窗口的窗口加载指令。S2. Generate a window load instruction of the first window in response to the operation instruction.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in the embodiment, the above storage medium may be configured to store a computer program for performing the following steps:
S1,在显示指令指示在第一窗口显示目标数据的情况下,获取目标数据,并将目标数据显示在第一窗口中;S1. In a case that the display instruction indicates that the target data is displayed in the first window, the target data is acquired, and the target data is displayed in the first window;
S2,在显示指令指示在第二窗口显示目标数据的情况下,获取目标数据,并将目标数据显示在第二窗口中,其中,第二窗口用于提供控制功能集合中的全部控制功能。S2. In the case that the display instruction indicates that the target data is displayed in the second window, the target data is acquired, and the target data is displayed in the second window, wherein the second window is used to provide all the control functions in the control function set.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in the embodiment, the above storage medium may be configured to store a computer program for performing the following steps:
S1,在浏览器所在终端的用户代理标识为第一标识的情况下,将第一标识替换为第二标识,其中,第二标识为与移动终端匹配的用户代理标识;S1, in the case that the user agent identifier of the terminal where the browser is located is the first identifier, the first identifier is replaced with the second identifier, where the second identifier is a user agent identifier that matches the mobile terminal;
S2,根据显示指令中所携带的与目标数据对应的数据链接及第二标识生成用于向浏览器的服务器发送的第一数据显示请求;S2. Generate a first data display request for sending to a server of the browser according to the data link and the second identifier corresponding to the target data carried in the display instruction.
S3,获取服务器响应第一数据显示请求所返回的目标数据,并在第一窗口显示目标数据。S3. The acquiring server responds to the target data returned by the first data display request, and displays the target data in the first window.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in the embodiment, the above storage medium may be configured to store a computer program for performing the following steps:
S1,将显示指令中所携带的与目标数据对应的数据链接通过进程传递至第二窗口;S1, the data link corresponding to the target data carried in the display instruction is transmitted to the second window through the process;
S2,根据数据链接生成用于向浏览器的服务器发送的第二数据显示请求;S2, generating a second data display request for sending to a server of the browser according to the data link;
S3,获取服务器响应第二数据显示请求所返回的目标数据,并在第二窗口显示目标数据。S3. The acquiring server responds to the target data returned by the second data display request, and displays the target data in the second window.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in the embodiment, the above storage medium may be configured to store a computer program for performing the following steps:
S1,获取窗口关闭指令;S1, acquiring a window close instruction;
S2,在窗口关闭指令指示关闭第一窗口的情况下,关闭第一窗口,继续显示第二窗口;S2. If the window close instruction indicates that the first window is closed, the first window is closed, and the second window is continued to be displayed;
S3,在窗口关闭指令指示关闭第二窗口的情况下,关闭第二窗口,继续显示第一窗口。S3. If the window close instruction indicates that the second window is closed, the second window is closed, and the first window is continued to be displayed.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in the embodiment, the above storage medium may be configured to store a computer program for performing the following steps:
S1,隐藏第二窗口,清空第二窗口中所显示的标签页中的页面数据, 其中,在第一窗口继续显示,且获取到用于指示重新显示第二窗口的显示指令的情况下,重新加载显示第二窗口,重新加载后的第二窗口为初始显示状态。S1, hiding the second window, clearing the page data in the tab displayed in the second window, wherein, in the case where the first window continues to be displayed, and the display instruction for instructing to redisplay the second window is acquired, The second window is loaded and the second window after reloading is the initial display state.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in the embodiment, the above storage medium may be configured to store a computer program for performing the following steps:
S1,获取执行合并操作所生成的合并指令;S1, obtaining a merge instruction generated by performing a merge operation;
S2,响应合并指令,将第一窗口合并到第二窗口中的第二目标区域。S2. In response to the merge instruction, merge the first window into the second target area in the second window.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in the embodiment, the above storage medium may be configured to store a computer program for performing the following steps:
S1,获取对第一窗口或第二窗口中所显示的合并按钮执行点击操作所生成的合并指令;S1. Acquire a merge instruction generated by performing a click operation on the merge button displayed in the first window or the second window;
S2,在检测到第一窗口被拖动至目标位置的情况下,生成合并指令,其中,第一窗口在目标位置时,第一窗口与第二窗口的重叠面积大于预定阈值。S2, in a case that detecting that the first window is dragged to the target position, generating a merge instruction, wherein when the first window is at the target position, the overlapping area of the first window and the second window is greater than a predetermined threshold.
可选地,存储介质还被设置为存储用于执行上述实施例中的方法中所包括的步骤的计算机程序,本实施例中对此不再赘述。Optionally, the storage medium is further configured to store a computer program for performing the steps included in the method in the above embodiments, which will not be described in detail in this embodiment.
可选地,在本实施例中,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。Optionally, in this embodiment, those skilled in the art may understand that all or part of the steps of the foregoing embodiments may be completed by using a program to instruct terminal device related hardware, and the program may be stored in a In a computer readable storage medium, the storage medium may include a flash disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like.
根据本申请实施例的又一个方面,还提供了一种用于实施上述数据显示方法的电子装置,如图13所示,该电子装置包括存储器1302和处理器1304,该存储器中存储有计算机程序,该处理器被设置为通过计算机程序执行上述任一项方法实施例中的步骤。According to still another aspect of the embodiments of the present application, an electronic device for implementing the above data display method is further provided. As shown in FIG. 13, the electronic device includes a memory 1302 and a processor 1304, where the computer program is stored in the memory. The processor is arranged to perform the steps in any of the above method embodiments by a computer program.
可选地,在本实施例中,上述电子装置可以位于计算机网络的多个网 络设备中的至少一个网络设备。Optionally, in this embodiment, the electronic device may be located in at least one network device of the plurality of network devices of the computer network.
可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the foregoing processor may be configured to perform the following steps by using a computer program:
S1,获取用于请求加载浏览器的第一窗口的窗口加载指令,其中,第一窗口用于提供第一控制功能,第一控制功能包括与浏览器匹配的控制功能集合中的部分控制功能;S1, acquiring a window loading instruction for requesting loading of a first window of the browser, wherein the first window is configured to provide a first control function, and the first control function comprises a partial control function in a control function set matched with the browser;
S2,响应窗口加载指令加载第一窗口;S2, loading a first window in response to a window loading instruction;
S3,获取对第一窗口中所显示的数据执行操作所生成的显示指令;S3. Acquire a display instruction generated by performing an operation on the data displayed in the first window;
S4,显示显示指令所指示的目标数据。S4, displaying the target data indicated by the display instruction.
可选地,本领域普通技术人员可以理解,图13所示的结构仅为示意,电子装置也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。图13其并不对上述电子装置的结构造成限定。例如,电子装置还可包括比图13中所示更多或者更少的组件(如网络接口、显示装置等),或者具有与图13所示不同的配置。Optionally, those skilled in the art can understand that the structure shown in FIG. 13 is only schematic, and the electronic device can also be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palmtop computer, and a mobile Internet device (Mobile). Terminal devices such as Internet Devices, MID) and PAD. FIG. 13 does not limit the structure of the above electronic device. For example, the electronic device may also include more or fewer components (such as a network interface, display device, etc.) than shown in FIG. 13, or have a different configuration than that shown in FIG.
其中,存储器1302可用于存储软件程序以及模块,如本申请实施例中的数据显示方法和装置对应的程序指令/模块,处理器1304通过运行存储在存储器1302内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的数据显示方法。存储器1302可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器1302可进一步包括相对于处理器1304远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 1302 can be used to store software programs and modules, such as the data display method and the program instructions/modules corresponding to the device in the embodiment of the present application. The processor 1304 executes each of the software programs and modules stored in the memory 1302. A functional application and data processing, that is, the above data display method is implemented. Memory 1302 can include high speed random access memory, and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 1302 can further include memory remotely located relative to processor 1304, which can be connected to the terminal over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
可选地,在本实施例中,上述电子装置中还包括:显示器1308,可以但不限于用于显示上述浏览器的第一窗口、第二窗口及窗口中数据;用户接口1306,可以但不限于用于获取用户操作,以生成对应的操作指令,如显示指令、分离指令、生成指令等。本实施例中对此不做任何限定。Optionally, in the embodiment, the electronic device further includes: a display 1308, which may be, but not limited to, data for displaying the first window, the second window, and the window of the browser; the user interface 1306 may but not It is limited to obtaining user operations to generate corresponding operation instructions, such as display instructions, separate instructions, generated instructions, and the like. This embodiment does not limit this.
可选地,在本实施例中,上述电子装置中还包括:传输装置1310,该传输装置1310可以但不限于用于经由一个网络接收或者发送数据。上述的网络具体实例可包括有线网络及无线网络。在一个实例中,传输装置1310包括一个网络适配器(Network Interface Controller,NIC),其可通过网线与其他网络设备与路由器相连从而可与互联网或局域网进行通讯。在一个实例中,传输装置1310为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。Optionally, in this embodiment, the foregoing electronic device further includes: a transmission device 1310, which may be, but is not limited to, for receiving or transmitting data via a network. Specific examples of the above network may include a wired network and a wireless network. In one example, the transmission device 1310 includes a Network Interface Controller (NIC) that can be connected to other network devices and routers via a network cable to communicate with the Internet or a local area network. In one example, the transmission device 1310 is a Radio Frequency (RF) module for communicating with the Internet wirelessly.
其中,在本实施例中,存储器1302,可以但不限于用于存储在显示第一窗口和/或第二窗口的过程中所生成的指令,及第一窗口和/或第二窗口中所要显示的数据。In this embodiment, the memory 1302 may be, but not limited to, used to store instructions generated during the process of displaying the first window and/or the second window, and to be displayed in the first window and/or the second window. The data.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
上述实施例中的集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在上述计算机可读取的存储介质中。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在存储介质中,包括若干指令用以使得一台或多台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。The integrated unit in the above embodiment, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in the above-described computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, or the whole or part of the technical solution, which is stored in the storage medium, including The instructions are used to cause one or more computer devices (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.
在本申请的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present application, the descriptions of the various embodiments are different, and the parts that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的客户端,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed client may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
以上所述仅是本申请的可选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above description is only an alternative embodiment of the present application, and it should be noted that those skilled in the art can make several improvements and retouchings without departing from the principles of the present application. It should also be considered as the scope of protection of this application.
工业实用性Industrial applicability
在本申请中,通过加载用于提供第一控制功能的第一窗口,其中,第一控制功能为与浏览器匹配的控制功能集合中的部分控制功能。从而实现减少第一窗口的加载时长,而无需每次都等待浏览器启动全部控制功能,以便于快速获取对第一窗口中所显示的数据执行操作所生成的显示指令,并显示与显示指令对应的的目标数据,进而缩短用于显示目标数据的等待时间,达到提高数据显示效率的效果。In the present application, by loading a first window for providing a first control function, wherein the first control function is a partial control function in a control function set that matches the browser. Thereby reducing the loading time of the first window, without waiting for the browser to start all the control functions each time, in order to quickly acquire the display instruction generated by performing the operation on the data displayed in the first window, and displaying the corresponding corresponding to the display instruction The target data, thereby shortening the waiting time for displaying the target data, and improving the efficiency of data display.

Claims (21)

  1. 一种数据显示方法,包括:A data display method comprising:
    终端获取用于请求加载浏览器的第一窗口的窗口加载指令,其中,所述第一窗口用于提供第一控制功能,所述第一控制功能包括与所述浏览器匹配的控制功能集合中的部分控制功能;The terminal acquires a window loading instruction for requesting loading of a first window of the browser, wherein the first window is configured to provide a first control function, and the first control function includes a control function set matching the browser Partial control function;
    所述终端响应所述窗口加载指令加载所述第一窗口;The terminal loads the first window in response to the window loading instruction;
    所述终端获取对所述第一窗口中所显示的数据执行操作所生成的显示指令;The terminal acquires a display instruction generated by performing an operation on the data displayed in the first window;
    所述终端显示与所述显示指令对应的目标数据。The terminal displays target data corresponding to the display instruction.
  2. 根据权利要求1所述的方法,其中,The method of claim 1 wherein
    在所述终端获取用于请求加载浏览器的第一窗口的窗口加载指令之前,还包括:所述终端获取用于启动所述浏览器的启动请求;所述终端响应所述启动请求加载显示所述浏览器的第二窗口,其中,所述第二窗口用于提供所述控制功能集合中的全部控制功能;Before the terminal acquires a window loading instruction for requesting loading of the first window of the browser, the method further includes: the terminal acquiring a startup request for starting the browser; and the terminal loading the display in response to the startup request a second window of the browser, wherein the second window is configured to provide all control functions in the control function set;
    所述终端获取用于请求加载浏览器的第一窗口的窗口加载指令包括:所述终端获取对所述第二窗口执行分离操作所生成的分离指令,其中,所述分离指令用于指示从所述第二窗口中分离出所述第一窗口;响应所述分离指令生成所述第一窗口的所述窗口加载指令。And obtaining, by the terminal, a window loading instruction for requesting loading of the first window of the browser, the terminal acquiring a separate instruction generated by performing a separating operation on the second window, wherein the separating instruction is used to indicate Separating the first window from the second window; generating the window load instruction of the first window in response to the separating instruction.
  3. 根据权利要求2所述的方法,其中,所述终端获取对所述第二窗口执行分离操作所生成的分离指令包括以下至少之一:The method according to claim 2, wherein the separation instruction generated by the terminal to perform a separation operation on the second window comprises at least one of the following:
    所述终端获取对所述第二窗口中所显示的分离按钮执行点击操作所生成的所述分离指令;The terminal acquires the separation instruction generated by performing a click operation on the separate button displayed in the second window;
    所述终端获取对所述第二窗口的第一目标区域执行拖动操作所生成的所述分离指令。The terminal acquires the separation instruction generated by performing a drag operation on the first target area of the second window.
  4. 根据权利要求1所述的方法,其中,所述终端获取用于请求加载浏览器的第一窗口的窗口加载指令包括:The method of claim 1, wherein the window obtaining the window loading instruction for requesting loading of the first window of the browser comprises:
    所述终端获取对主界面上所显示的快捷键执行操作所生成的操作指令;The terminal acquires an operation instruction generated by performing an operation on a shortcut key displayed on the main interface;
    所述终端响应所述操作指令生成所述第一窗口的所述窗口加载指令。The terminal generates the window load instruction of the first window in response to the operation instruction.
  5. 根据权利要求1所述的方法,其中,所述终端显示与所述显示指令对应的目标数据包括:The method of claim 1, wherein the displaying, by the terminal, the target data corresponding to the display instruction comprises:
    在所述显示指令指示在所述第一窗口显示所述目标数据的情况下,所述终端获取所述目标数据,并将所述目标数据显示在所述第一窗口中;In a case where the display instruction indicates that the target data is displayed in the first window, the terminal acquires the target data, and displays the target data in the first window;
    在所述显示指令指示在第二窗口显示所述目标数据的情况下,所述终端获取所述目标数据,并将所述目标数据显示在所述第二窗口中,其中,所述第二窗口用于提供所述控制功能集合中的全部控制功能。In a case where the display instruction indicates that the target data is displayed in a second window, the terminal acquires the target data, and displays the target data in the second window, wherein the second window Used to provide all of the control functions in the set of control functions.
  6. 根据权利要求5所述的方法,其中,所述终端获取所述目标数据,并将所述目标数据显示在所述第一窗口中包括:The method of claim 5, wherein the acquiring the target data by the terminal and displaying the target data in the first window comprises:
    在所述浏览器所在终端的用户代理标识为第一标识的情况下,所述终端将所述第一标识替换为第二标识,其中,所述第二标识为与移动终端匹配的用户代理标识;When the user agent identifier of the terminal where the browser is located is the first identifier, the terminal replaces the first identifier with the second identifier, where the second identifier is a user proxy identifier that matches the mobile terminal. ;
    所述终端根据所述显示指令中所携带的与所述目标数据对应的数据链接及所述第二标识生成用于向所述浏览器的服务器发送的第一数据显示请求;The terminal generates a first data display request for sending to a server of the browser according to the data link corresponding to the target data and the second identifier carried in the display instruction;
    所述终端获取所述服务器响应所述第一数据显示请求所返回的所述目标数据,并在所述第一窗口显示所述目标数据。The terminal acquires the target data returned by the server in response to the first data display request, and displays the target data in the first window.
  7. 根据权利要求5所述的方法,其中,所述终端获取所述目标数据,并将所述目标数据显示在所述第二窗口中包括:The method of claim 5, wherein the acquiring the target data by the terminal and displaying the target data in the second window comprises:
    所述终端将所述显示指令中所携带的与所述目标数据对应的数 据链接通过进程传递至所述第二窗口;Transmitting, by the terminal, the data link corresponding to the target data carried in the display instruction to the second window through a process;
    所述终端根据所述数据链接生成用于向所述浏览器的服务器发送的第二数据显示请求;Generating, by the terminal, a second data display request for sending to a server of the browser according to the data link;
    所述终端获取所述服务器响应所述第二数据显示请求所返回的所述目标数据,并在所述第二窗口显示所述目标数据。The terminal acquires the target data returned by the server in response to the second data display request, and displays the target data in the second window.
  8. 根据权利要求2所述的方法,其中,在所述终端响应所述窗口加载指令加载所述第一窗口之后,还包括:The method of claim 2, after the terminal loads the first window in response to the window loading instruction, further comprising:
    所述终端获取窗口关闭指令;The terminal acquires a window close instruction;
    在所述窗口关闭指令指示关闭所述第一窗口的情况下,所述终端关闭所述第一窗口,继续显示所述第二窗口;In a case that the window close instruction indicates that the first window is closed, the terminal closes the first window and continues to display the second window;
    在所述窗口关闭指令指示关闭所述第二窗口的情况下,所述终端关闭所述第二窗口,继续显示所述第一窗口。In a case where the window close instruction indicates that the second window is closed, the terminal closes the second window and continues to display the first window.
  9. 根据权利要求8所述的方法,其中,所述终端关闭所述第二窗口包括:The method of claim 8, wherein the closing the second window by the terminal comprises:
    所述终端隐藏所述第二窗口,清空所述第二窗口中所显示的标签页中的页面数据,其中,在所述第一窗口继续显示,且获取到用于指示重新显示所述第二窗口的显示指令的情况下,重新加载显示所述第二窗口,重新加载后的所述第二窗口为初始显示状态。The terminal hides the second window, and clears page data in the tab page displayed in the second window, wherein the first window continues to be displayed, and the second window is obtained for instructing to redisplay the second window In the case of a display instruction of the window, the second window is reloaded, and the second window after reloading is in an initial display state.
  10. 根据权利要求2所述的方法,其中,在所述终端响应所述窗口加载指令加载所述第一窗口之后,还包括:The method of claim 2, after the terminal loads the first window in response to the window loading instruction, further comprising:
    所述终端获取执行合并操作所生成的合并指令;The terminal acquires a merge instruction generated by performing a merge operation;
    所述终端响应所述合并指令,将所述第一窗口合并到所述第二窗口中的第二目标区域。The terminal merges the first window into a second target area in the second window in response to the merge instruction.
  11. 根据权利要求10所述的方法,其中,所述终端获取执行合并操作所生成的合并指令包括以下至少之一:The method according to claim 10, wherein the merge instruction generated by the terminal acquisition execution merge operation comprises at least one of the following:
    所述终端获取对所述第一窗口或所述第二窗口中所显示的合并按钮执行点击操作所生成的所述合并指令;The terminal acquires the merge instruction generated by performing a click operation on the merge button displayed in the first window or the second window;
    在检测到所述第一窗口被拖动至目标位置的情况下,所述终端生成所述合并指令,其中,所述第一窗口在所述目标位置时,所述第一窗口与所述第二窗口的重叠面积大于预定阈值。The terminal generates the merge instruction when detecting that the first window is dragged to a target location, wherein the first window and the first window are at the target location The overlap area of the two windows is greater than a predetermined threshold.
  12. 根据权利要求2所述的方法,其中,在所述终端响应所述窗口加载指令加载所述第一窗口之后,还包括:The method of claim 2, after the terminal loads the first window in response to the window loading instruction, further comprising:
    所述终端获取置顶显示指令;The terminal acquires a top display instruction;
    所述终端响应所述置顶显示指令,将所述第一窗口所在图层显示在所述第二窗口所在图层之上。The terminal displays the layer where the first window is located on the layer where the second window is located in response to the top display instruction.
  13. 一种数据显示装置,应用于终端中,包括:A data display device is applied to a terminal, including:
    第一获取单元,设置为获取用于请求加载浏览器的第一窗口的窗口加载指令,其中,所述第一窗口用于提供第一控制功能,所述第一控制功能包括与所述浏览器匹配的控制功能集合中的部分控制功能;a first obtaining unit, configured to acquire a window loading instruction for requesting loading of a first window of the browser, wherein the first window is configured to provide a first control function, and the first control function includes Part of the control function in the set of matching control functions;
    加载单元,设置为响应所述窗口加载指令加载所述第一窗口;a loading unit, configured to load the first window in response to the window loading instruction;
    第二获取单元,用于获取对所述第一窗口中所显示的数据执行操作所生成的显示指令;a second acquiring unit, configured to acquire a display instruction generated by performing an operation on the data displayed in the first window;
    第一显示单元,设置为显示与所述显示指令对应的目标数据。The first display unit is configured to display target data corresponding to the display instruction.
  14. 根据权利要求13所述的装置,其中,The device according to claim 13, wherein
    所述装置还包括:第三获取单元,设置为在所述获取用于请求加载浏览器的第一窗口的窗口加载指令之前,获取用于启动所述浏览器的启动请求;第二显示单元,设置为响应所述启动请求加载显示所述浏览器的第二窗口,其中,所述第二窗口用于提供所述控制功能集合中的全部控制功能;The device further includes: a third obtaining unit, configured to acquire a startup request for starting the browser before the acquiring a window loading instruction for requesting loading the first window of the browser; and the second display unit, Providing to load a second window displaying the browser in response to the startup request, wherein the second window is configured to provide all control functions in the control function set;
    所述第一获取单元包括:第一获取模块,设置为获取对所述第二窗口执行分离操作所生成的分离指令,其中,所述分离指令用于指示 从所述第二窗口中分离出所述第一窗口;第一生成模块,设置为响应所述分离指令生成所述第一窗口的所述窗口加载指令。The first obtaining unit includes: a first acquiring module, configured to acquire a separate instruction generated by performing a separating operation on the second window, wherein the separating instruction is used to indicate that the second window is separated from the second window a first window; a first generation module configured to generate the window load instruction of the first window in response to the separate instruction.
  15. 根据权利要求13所述的装置,其中,所述第一获取单元包括:The apparatus of claim 13, wherein the first obtaining unit comprises:
    第二获取模块,设置为获取对主界面上所显示的快捷键执行操作所生成的操作指令;a second obtaining module, configured to acquire an operation instruction generated by performing an operation on the shortcut key displayed on the main interface;
    第二生成模块,设置为响应所述操作指令生成所述第一窗口的所述窗口加载指令。And a second generation module configured to generate the window load instruction of the first window in response to the operation instruction.
  16. 根据权利要求13所述的装置,其中,所述第一显示单元包括:The apparatus of claim 13, wherein the first display unit comprises:
    第一显示模块,设置为在所述显示指令指示在所述第一窗口显示所述目标数据的情况下,获取所述目标数据,并将所述目标数据显示在所述第一窗口中;a first display module, configured to: when the display instruction indicates that the target data is displayed in the first window, acquire the target data, and display the target data in the first window;
    第二显示模块,设置为在所述显示指令指示在第二窗口显示所述目标数据的情况下,获取所述目标数据,并将所述目标数据显示在所述第二窗口中,其中,所述第二窗口用于提供所述控制功能集合中的全部控制功能。a second display module, configured to: when the display instruction indicates that the target data is displayed in the second window, acquire the target data, and display the target data in the second window, where The second window is used to provide all of the control functions in the set of control functions.
  17. 根据权利要求14所述的装置,其中,所述装置还包括:The apparatus of claim 14 wherein said apparatus further comprises:
    第四获取单元,设置为在所述响应所述窗口加载指令加载所述第一窗口之后,获取窗口关闭指令;a fourth obtaining unit, configured to acquire a window closing instruction after the loading the first window in response to the window loading instruction;
    第一关闭单元,设置为在所述窗口关闭指令指示关闭所述第一窗口的情况下,关闭所述第一窗口,继续显示所述第二窗口;a first closing unit, configured to close the first window and continue to display the second window if the window closing instruction indicates that the first window is closed;
    第二关闭单元,设置为在所述窗口关闭指令指示关闭所述第二窗口的情况下,关闭所述第二窗口,继续显示所述第一窗口。And a second closing unit configured to close the second window and continue to display the first window if the window closing instruction indicates that the second window is closed.
  18. 根据权利要求14所述的装置,其中,所述装置还包括:The apparatus of claim 14 wherein said apparatus further comprises:
    第五获取单元,设置为在所述响应所述窗口加载指令加载所述第 一窗口之后,获取执行合并操作所生成的合并指令;a fifth obtaining unit, configured to acquire a merge instruction generated by performing a merge operation after the window is loaded in response to the window loading instruction;
    合并单元,设置为响应所述合并指令,将所述第一窗口合并到所述第二窗口中的第二目标区域。a merging unit configured to merge the first window into a second target area in the second window in response to the merging instruction.
  19. 根据权利要求18所述的装置,其中,所述第五获取单元包括以下至少之一:The apparatus of claim 18, wherein the fifth acquisition unit comprises at least one of:
    第三获取模块,设置为获取对所述第一窗口或所述第二窗口中所显示的合并按钮执行点击操作所生成的所述合并指令;a third obtaining module, configured to acquire the merge instruction generated by performing a click operation on the merge button displayed in the first window or the second window;
    第三生成模块,设置为在检测到所述第一窗口被拖动至目标位置的情况下,生成所述合并指令,其中,所述第一窗口在所述目标位置时,所述第一窗口与所述第二窗口的重叠面积大于预定阈值。a third generation module, configured to generate the merge instruction when detecting that the first window is dragged to a target location, wherein the first window is at the target location, the first window The area of overlap with the second window is greater than a predetermined threshold.
  20. 一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至12任一项中所述的方法。A storage medium having stored therein a computer program, wherein the computer program is arranged to execute the method of any one of claims 1 to 12 when executed.
  21. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行所述权利要求1至12任一项中所述的方法。An electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor being arranged to perform the method of any one of claims 1 to 12 by the computer program.
PCT/CN2019/072970 2018-02-08 2019-01-24 Data display method and device, storage medium, and electronic device WO2019154095A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810129098.9 2018-02-08
CN201810129098.9A CN110134451B (en) 2018-02-08 2018-02-08 Data display method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
WO2019154095A1 true WO2019154095A1 (en) 2019-08-15

Family

ID=67549282

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/072970 WO2019154095A1 (en) 2018-02-08 2019-01-24 Data display method and device, storage medium, and electronic device

Country Status (2)

Country Link
CN (1) CN110134451B (en)
WO (1) WO2019154095A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111694631A (en) * 2020-06-15 2020-09-22 北京达佳互联信息技术有限公司 Pendant display method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343492B (en) * 2020-02-17 2022-02-22 海信电子科技(深圳)有限公司 Display method and display device of browser in different layers

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650739A (en) * 2008-07-10 2010-02-17 论理工场株式会社 Method for system for interface of wep page
CN101937454A (en) * 2010-08-26 2011-01-05 宇龙计算机通信科技(深圳)有限公司 Method for displaying webpage on electronic terminal and electronic terminal
CN102411469A (en) * 2010-09-17 2012-04-11 Lg电子株式会社 Method for displaying internet page and mobile terminal using the same
CN104063484A (en) * 2014-07-03 2014-09-24 车智互联(北京)科技有限公司 Webpage presenting method and device and electronic device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9286619B2 (en) * 2010-12-27 2016-03-15 Microsoft Technology Licensing, Llc System and method for generating social summaries
CN103543996B (en) * 2012-07-17 2019-01-11 腾讯科技(深圳)有限公司 A kind of browser window management method and device
CN103281457B (en) * 2013-06-03 2016-08-10 贝壳网际(北京)安全技术有限公司 Video playing method and device in mobile terminal browser
US20150213148A1 (en) * 2014-01-28 2015-07-30 Jeffrey Blemaster Systems and methods for browsing
CN104268251A (en) * 2014-09-30 2015-01-07 北京奇虎科技有限公司 Playing method and device of video elements in web page
CN105630305A (en) * 2015-12-18 2016-06-01 北京奇虎科技有限公司 Method for displaying menu options in browser, and electronic equipment
CN105867937B (en) * 2016-04-18 2019-02-12 浙江慧脑信息科技有限公司 A kind of more window design methods of interactive mode

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650739A (en) * 2008-07-10 2010-02-17 论理工场株式会社 Method for system for interface of wep page
CN101937454A (en) * 2010-08-26 2011-01-05 宇龙计算机通信科技(深圳)有限公司 Method for displaying webpage on electronic terminal and electronic terminal
CN102411469A (en) * 2010-09-17 2012-04-11 Lg电子株式会社 Method for displaying internet page and mobile terminal using the same
CN104063484A (en) * 2014-07-03 2014-09-24 车智互联(北京)科技有限公司 Webpage presenting method and device and electronic device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111694631A (en) * 2020-06-15 2020-09-22 北京达佳互联信息技术有限公司 Pendant display method and device
US11663022B2 (en) 2020-06-15 2023-05-30 Beijing Dajia Internet Information Technology Co., Ltd. Method and apparatus for displaying widget

Also Published As

Publication number Publication date
CN110134451A (en) 2019-08-16
CN110134451B (en) 2022-02-08

Similar Documents

Publication Publication Date Title
JP7013466B2 (en) Application data processing methods, equipment, and computer programs
US10140107B2 (en) Dynamic web application notifications including task bar overlays
EP2580679B1 (en) Web application transitioning and transient web applications
CA2821507C (en) Extensible system action for sharing while remaining in context
US7921372B2 (en) System and method for pinning tabs in a tabbed browser
US9367636B2 (en) Web application home button
US9021469B2 (en) Web application pinning including task bar pinning
EP2580684B1 (en) Creating task sessions
US8434135B2 (en) Creating and launching a web application with credentials
US9628546B2 (en) Systems and methods for downloading files
WO2017005167A1 (en) Method and device for recommending applications
WO2013075667A1 (en) Operating, generating and starting method and device thereof for application
CN102939584A (en) List integration
WO2011156154A2 (en) Web application navigation domains
EP3242197B1 (en) Desktop sharing method and mobile terminal
WO2019154095A1 (en) Data display method and device, storage medium, and electronic device
US9537894B1 (en) Ephemeral user account system
CN115167721A (en) Display method and device of functional interface
CN117590984A (en) Processing method, first electronic device and electronic device
CN115494993A (en) Information display method, computing device and computer storage medium
CN115793919A (en) Application icon management method and device, electronic equipment and readable storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1