CN110457109B - Multi-window parallel method and device, terminal and storage medium - Google Patents

Multi-window parallel method and device, terminal and storage medium Download PDF

Info

Publication number
CN110457109B
CN110457109B CN201910755267.4A CN201910755267A CN110457109B CN 110457109 B CN110457109 B CN 110457109B CN 201910755267 A CN201910755267 A CN 201910755267A CN 110457109 B CN110457109 B CN 110457109B
Authority
CN
China
Prior art keywords
window
windows
focus
loading
activated state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910755267.4A
Other languages
Chinese (zh)
Other versions
CN110457109A (en
Inventor
汤友科
陈志永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910755267.4A priority Critical patent/CN110457109B/en
Publication of CN110457109A publication Critical patent/CN110457109A/en
Priority to PCT/CN2020/108919 priority patent/WO2021027875A1/en
Application granted granted Critical
Publication of CN110457109B publication Critical patent/CN110457109B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure provides a method and apparatus for multi-window parallelization, a terminal and a storage medium. The multi-window parallel method comprises the following steps: loading a first window, and setting the first window to be in an activated state; loading N second windows, wherein N is an integer not less than 1, and setting the N second windows to be in an activated state; and the first window and the N second windows are in an active state simultaneously. The multi-window parallel method can keep the simultaneous operation of the windows when the windows are loaded, and improves the information processing efficiency of a user.

Description

Multi-window parallel method and device, terminal and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a multi-window parallel method and apparatus, a terminal, and a storage medium.
Background
Currently, a smart terminal is generally capable of operating only one window. When multiple windows are running simultaneously, it is inevitable to activate only one window and pause or freeze other windows to solve the conflict problem, which will greatly limit the application scenario of one screen sharing.
Disclosure of Invention
The present disclosure provides a multi-window parallel method and apparatus, a terminal and a storage medium, which can at least achieve the effect of operating a plurality of windows simultaneously.
The present disclosure adopts the following technical solutions.
In some embodiments, the present disclosure provides a multi-window parallel method comprising:
loading a first window, and setting the first window to be in an activated state; and
loading N second windows, wherein N is an integer not less than 1, and setting the N second windows to be in an activated state;
and the first window and the N second windows are in an active state simultaneously.
In some embodiments, the present disclosure provides a multi-window parallel method comprising:
loading a first window, creating a first channel, binding the first window and the first channel, and transmitting information to the first window through the first channel; and
loading an Nth window, wherein N is an integer greater than 1, creating N Nth channels, binding one of the Nth channels with the Nth window, and transmitting information to the Nth window through the one of the Nth channels; and unbinding (N-1) windows and (N-1) th channels, binding the (N-1) windows and (N-1) th channels, respectively, and transmitting information to the (N-1) windows through the (N-1) th channels, respectively.
In some embodiments, the present disclosure provides a multi-window parallel device comprising:
a receiving module, configured to receive a plurality of window trigger requests;
the loading module is used for responding to the window triggering requests to respectively load the windows; and
and the control module is used for controlling the plurality of windows to be in an activated state.
In some embodiments, the present disclosure provides a terminal comprising: at least one memory and at least one processor;
the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the method.
In some embodiments, the present disclosure provides a storage medium for storing program code for performing the above-described method.
The multi-window parallel method and device, the terminal and the storage medium provided by the disclosure can support simultaneous operation and running of a plurality of windows, and a window which is loaded in advance cannot be frozen or suspended due to the fact that a focus is moved out, so that a user can simultaneously perform multi-operation, and the use efficiency of the user is improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
FIG. 1 is a flow chart of a multi-window parallel method of an embodiment of the present disclosure.
FIG. 2 is a flowchart of a method of loading an activation window according to an embodiment of the present disclosure.
FIG. 3 is a flow diagram of a method of loading an activation window of yet another embodiment of the present disclosure.
Fig. 4 is a schematic diagram of a focus label transfer process of an embodiment of the present disclosure.
Fig. 5 is a schematic structural diagram of a multi-window parallel device according to an embodiment of the present disclosure.
Fig. 6 is a schematic structural diagram of a multi-window parallel device according to another embodiment of the present disclosure.
FIG. 7 is a schematic diagram of a multi-window arrangement of an embodiment of the present disclosure.
FIG. 8 is a flow chart of a multi-window parallel method of an embodiment of the present disclosure.
Fig. 9 is a schematic diagram of a multi-window arrangement according to yet another embodiment of the present disclosure.
Fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that various steps recited in method embodiments of the present disclosure may be performed in parallel and/or in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a" or "an" in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that reference to "one or more" unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
As shown in fig. 1, the multi-window parallel method proposed by the embodiment of the present disclosure includes the following steps.
S100, loading a first window, and setting the first window to be in an activated state.
Specifically, the disclosed embodiment may include a start path of a program, an identifier of a display window of the program, and a display area of the display window. The starting path of the program is, for example, an installation path or a desktop shortcut of the program on the running terminal. The identification of the display window of the program may be the name or other identification of the display window. The display area of the display window may belong to a screen map area.
It should be noted that, when a terminal of the android operating system creates a window, the terminal is implemented by creating an Activity component, and when the terminal creates an Activity component, a default manner is to transfer a parameter of full-screen display into the created Activity component, so that the created window is also displayed in full screen. However, in the embodiment of the invention, when the first window is created, the preset display parameters of the first window are transmitted to the created Activity component, so that the created first window can be displayed in the screen in a windowing way.
S200, loading N second windows, wherein N is an integer not less than 1, and setting the N second windows to be in an activated state.
Specifically, the loading step may be the same as the loading step in S100, and is not described herein again. After the first window is loaded and activated, the plurality of second windows are continuously loaded in sequence, and because the display parameters of the windows are different, the screen mapping areas occupied by the windows are different, and the windows can be simultaneously created in the same screen mapping area. In particular, when the terminal detects a new window creation instruction, it will typically transfer the focus label to the newly created window, i.e., perform focus transfer. The detection focus label belongs to the concept of a master task and a slave task on the terminal. Wherein, the window designated as the focus is the primary task, and the primary task can perform various operations, such as dragging, playing, and the like. A slave task may refer to a window that has been created but not operating, at which time the window of the slave task is typically in a paused or frozen state because it is not designated as a focus window. In order to solve the problem of suspension or freezing of the slave task window, the embodiment of the present disclosure proposes that when the focus of the application is switched, a notification of focus transfer can be intercepted, that is, the focus of the window with transferred focus is not notified to be transferred, and the application state is not changed, so that the window continues to run. For example, the current focus window is a video window, and the focus tab is transferred to the chat page window after the user newly creates the chat page window. It should be noted that, while the chat page window obtains the focus tab, the video window still keeps the playing status due to not receiving the notification of focus transition, and does not become a pause or freeze status due to losing focus.
The above scheme can be expressed as: (1) acquiring a starting path of a program and starting a window; (2) detecting windows of the started program, generally all valid windows of the program; (3) all detected windows are set as active windows.
As shown in fig. 2, fig. 2 is a flowchart of a method for loading an activation window according to an embodiment of the present disclosure. In step S100, loading the active first window may include the following steps.
S101, obtaining a first window triggering request, responding to the first window triggering request, and loading the first window.
S102, simultaneously sending a focus label to the first window.
More specifically, when there is no application task on the current terminal, the user selects an application to start, the terminal opens the application, creates a window and displays the window to the user, and simultaneously sends a focus tab to the newly created window. It is understood that the terminal may not acquire data information when the focus window is not detected.
As shown in fig. 3, fig. 3 is a flowchart of a method for loading an activation window according to another embodiment of the present disclosure. In step S200, loading and activating the plurality of second windows may further include the following steps.
S201, obtaining a second window triggering request, responding to the second window triggering request, and loading the second window.
S202, receiving a focus transfer request, and transferring the focus label from the first window to the second window based on the focus transfer request, while not notifying the first window that the focus label has been transferred, so that the first window is still in an activated state.
More specifically, at least one second window may also be created while the first window is running. And responding to the plurality of window triggering requests, and correspondingly and respectively loading the new windows. For example, as shown in FIG. 4, while current window 1 is running, window 2 is created, while the focus tab is transferred from window 1 to window 2. At this point, if window 1 is notified of the loss of the focus tab, window 1 may enter a paused or frozen state. However, if only the focus label is transferred without notifying window 1, window 1 also continues to run in a state where the focus label is not transferred, i.e., the continued running of window 1 is not affected. On the other hand, window 2 receives the focus label, and window 2 operates as a normal focus window. At this time, both the window 1 and the window 2 are in a state of having a focus label, and are operated at the same time. Then, when more windows are created to the window N, the focus label is transferred according to the creation sequence of the windows, and the window with the focus label removed in advance does not receive the focus transfer notice and still runs in the focus mode, so that the windows 1-N in the same screen mapping area are in an operable state at the same time, and the window utilization rate is improved.
In addition, the windows are arranged in the screen mapping area, and the windows can be partially overlapped with each other or not overlapped with each other. Further, the arrangement of the windows may be determined by display parameters. In this disclosure, for example, the display parameter of the first window may include position information and size information of the first window, and specifically may include an X coordinate of a first pixel in an upper left corner of the first window on the screen mapping area, a Y coordinate of the first pixel in the upper left corner of the first window on the terminal screen, a length of the first window, and a width of the first window. The terminal can display the first window on the terminal screen mapping area according to the four display parameters. The display area of the display window may be represented by a display start coordinate and a window length and width, and the display area of the display window is set, for example, represented by the display start coordinate and the window length and width, where the size of the display area is generally smaller than or equal to the screen mapping area size of the display screen to be operated, i.e., located in the screen mapping area. The window of the program may then be displayed in a display area within the screen mapping area in which it is running. It will be appreciated that the display area may occupy only a portion of the screen map, while other portions may display other content, such as a running window for other programs.
Therefore, the user can simultaneously operate a plurality of windows, and the information processing efficiency of the user is improved.
Because there is no operation priority distinction between multiple windows, the user can also control multiple windows at the same time. In the embodiment of the disclosure, the terminal receives and executes the operation instructions respectively aiming at the first window and the second window at the same time. Specifically, the operation instruction may be an operation instruction for modifying a display parameter of the window. For example, the terminal receives position information and/or size information in display parameters of a window, and the like, which are changed by dragging the window on the screen with a mouse or a finger, and is not specifically limited in this embodiment.
In addition, in the embodiment of the present disclosure, the window manager may also be utilized to determine the size of the respective display areas of the plurality of windows according to the size and the number of displayable areas available for displaying the plurality of windows on the screen map. Accordingly, the situation that the arrangement of the windows is unreasonable to influence the operation of the user can be avoided.
As shown in fig. 5, fig. 5 is a schematic structural diagram of a multi-window parallel device according to an embodiment of the present disclosure. The multi-window parallel device 10 may include: a receiving module 30, a loading module 50, and a control module 70. Wherein the receiving module 30 is configured to receive a plurality of window trigger requests; loading module 50 may be configured to load a plurality of windows in response to the plurality of window trigger requests, respectively; the control module 70 may be configured to control the plurality of windows to be active.
Specifically, the receiving module 30 receives the window trigger request and sends the window trigger request to the loading module 50, the loading module 50 receives the window trigger request and loads a window accordingly and sends loading information to the control module 70, and the control module 70 receives the loading information and controls the loaded window to be in an activated state. Further, the control module 70 may intercept the notification information, and the notification information may be an occurrence of an event for notifying that the window focus of the shifted focus tab is shifted.
As shown in fig. 6, fig. 6 is a schematic structural diagram of a multi-window parallel device according to another embodiment of the present disclosure. The multi-window parallel device 10 may further include: an identification module 40 and a partition module 60. The identification module 40 may be configured to sequentially send the focus label to the last loaded window in the multiple windows according to the loading order of the multiple windows; partitioning module 60 may be configured to provide a plurality of display regions for the plurality of windows, respectively. Further, the control module 70 may be further configured to control a window of the plurality of windows to which the focus label is transferred to remain in an activated state when the focus label is transferred.
FIG. 7 is a schematic diagram of a multi-window arrangement of an embodiment of the present disclosure. As shown in fig. 7, in a display area of the screen map area that can be used to display a plurality of windows, 4 windows can be simultaneously created, and the 4 windows can be displayed in the same size and in a tiled manner. From the window 1 located at the upper layer to the window 4 located at the lower layer, are all in the activated state. In this embodiment, when a user operates one of the windows, for example, the window 4 (for example, mouse click, touch screen click, drag, keyboard operation, etc.), the terminal receives a signal of the operation, confirms which window the operation is directed to, and adjusts the window 4 to the uppermost layer for display in response to the signal, and the window 1 may run on the second layer.
Another embodiment of the present disclosure further provides a method for multi-window parallel, as shown in fig. 8, including:
s1001, loading a first window, creating a first channel, binding the first window and the first channel, and transmitting information to the first window through the first channel.
S1002, loading an Nth window, wherein N is an integer greater than 1, creating N Nth channels, binding one of the Nth channels with the Nth window, and transmitting information to the Nth window through one of the Nth channels; and unbinding (N-1) windows and (N-1) th channels, binding the (N-1) windows and (N-1) th channels, respectively, and transmitting information to the (N-1) windows through the (N-1) th channels, respectively.
In particular, the above steps describe the allocation of instruction channels in multi-window parallel operation. When the new channel replaces the old channel, the attribute of the established new channel belongs to non-exclusivity, and thus, a plurality of newly established channels are in an available state. More specifically, for example, first creating a window 1, creating a first channel for the window 1, binding the window 1 with the first channel, and at this time, sending an instruction to the window 1 through the first channel; window 2 is then created and two second channels are created. One of the second channels is bound with the window 2 and sends an instruction to the window 2; and unbinding the window 1 and the first channel, and binding the window 1 and another second channel, namely, at the moment, sending instructions to the window 1 and the window 2 by the two second channels respectively, and simultaneously operating. When more and more windows are loaded, the distribution channel is updated accordingly, and the user can realize the simultaneous operation of dragging the window 1 and the window 2. For example, the terminal receives the first operation signal and the second operation signal accordingly, and simultaneously changes the coordinates of the window 1 and the window 2 in the display area in response to the two signals. Specifically, the layer position relationship of the window 1 and the window 2 positively correlates with the signal generation order. For example, the user first drags the window 1, at this time, the window 1 is located at the uppermost layer, then the user selects the drag window 2 while the window 1 is dragged, the window 2 will be located at the uppermost layer, and the window 1 is dropped to the second layer for display.
Fig. 9 is a schematic diagram of a multi-window arrangement of another embodiment of the present disclosure. As shown in fig. 9, the plurality of windows are not overlapped with each other and are located in the same layer. The arrangement ensures that the windows are not influenced mutually, and can obtain better operation experience. It is understood that the window in this embodiment may also be dragged or otherwise manipulated at the same time, and will not be repeated here. In addition, although fig. 9 illustrates that 4 windows are displayed in the same size, the embodiments of the present disclosure are not limited thereto and may be displayed in different sizes.
For the embodiments of the apparatus, since they correspond substantially to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described apparatus embodiments are merely illustrative, wherein the modules described as separate modules may or may not be separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The multi-window parallel method and apparatus of the present disclosure are described above based on the embodiments and application examples. In addition, the present disclosure also provides a terminal and a storage medium, which are described below.
Referring now to fig. 10, a schematic diagram of an electronic device (e.g., a terminal device or server) 800 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 10 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 10, the electronic device 800 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 801 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage means 808 into a Random Access Memory (RAM) 803. In the RAM803, various programs and data necessary for the operation of the electronic apparatus 800 are also stored. The processing apparatus 801, the ROM 802, and the RAM803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
Generally, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 807 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage 808 including, for example, magnetic tape, hard disk, etc.; and a communication device 809. The communication means 809 may allow the electronic device 800 to communicate wirelessly or by wire with other devices to exchange data. While fig. 10 illustrates an electronic device 800 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 809, or installed from the storage means 808, or installed from the ROM 802. The computer program, when executed by the processing apparatus 801, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the methods of the present disclosure as described above.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In accordance with one or more embodiments of the present disclosure, there is provided a multi-window parallel method, including:
loading a first window, and setting the first window to be in an activated state; and
loading N second windows, wherein N is an integer not less than 1, and setting the N second windows to be in an activated state;
and the first window and the N second windows are in an active state simultaneously.
According to one or more embodiments of the present disclosure, there is provided a multi-window parallel method, where the loading a first window, and the setting the first window to be in an active state includes:
obtaining a first window trigger request, responding to the first window trigger request, and loading the first window; and
and simultaneously sending a focus label to the first window.
According to one or more embodiments of the present disclosure, there is provided a multi-window parallel method, wherein the step of loading N second windows includes:
when N is equal to 1, obtaining a second window trigger request, and responding to the second window trigger request, and loading the second window.
According to one or more embodiments of the present disclosure, there is provided a multi-window parallel method, wherein the step of setting the N second windows to an active state further includes:
receiving a focus transfer request, and transferring the focus label from the first window to the second window based on the focus transfer request, and simultaneously intercepting notification information so as to enable the first window to be still in an activated state;
wherein the notification information is used to notify the first window that the focus label has been transferred.
According to one or more embodiments of the present disclosure, there is provided a multi-window parallel method, wherein the step of loading N second windows includes:
and when N is greater than 1, obtaining N second window trigger requests, respectively responding to the N second window trigger requests, and sequentially loading the N second windows.
According to one or more embodiments of the present disclosure, there is provided a multi-window parallel method, wherein the step of setting the N second windows to an active state further includes:
respectively responding to the N second window triggering requests, receiving a focus transfer request, sequentially transferring the focus label from the first window to a last loaded second window in the N second windows based on the focus transfer request, and simultaneously intercepting notification information so as to enable the first window and (N-1) second windows except the last loaded second window to be still in an activated state;
wherein the notification information is used to notify the first window and the (N-1) second windows that the focus has been transferred.
According to one or more embodiments of the present disclosure, there is provided a multi-window parallel method, wherein the first window is loaded in a first display region, and the N second windows are respectively loaded in N second display regions.
According to one or more embodiments of the present disclosure, there is provided a multi-window parallel method, wherein the first display region does not completely overlap with the N second display regions, and the N second display regions do not completely overlap.
According to one or more embodiments of the present disclosure, there is provided a multi-window parallel method, wherein the first display region and the N second display regions do not overlap, and the N second display regions do not overlap with each other.
In accordance with one or more embodiments of the present disclosure, there is provided a multi-window parallel method, including:
loading a first window, creating a first channel, binding the first window and the first channel, and transmitting information to the first window through the first channel;
loading an Nth window, wherein N is an integer greater than 1, creating N Nth channels, binding one of the Nth channels with the Nth window, and transmitting information to the Nth window through the one of the Nth channels; and unbinding (N-1) windows and (N-1) th channels, binding the (N-1) windows and (N-1) th channels, respectively, and transmitting information to the (N-1) windows through the (N-1) th channels, respectively.
According to one or more embodiments of the present disclosure, there is provided a multi-window parallel device including:
a receiving module, configured to receive a plurality of window trigger requests;
the loading module is used for responding to the window triggering requests to respectively load the windows; and
and the control module is used for controlling the plurality of windows to be in an activated state.
According to one or more embodiments of the present disclosure, there is provided a multi-window parallel apparatus, characterized in that the apparatus further comprises:
and the identification module is used for sequentially sending the focus label to the last loaded window in the windows according to the loading sequence of the windows.
According to one or more embodiments of the present disclosure, there is provided a multi-window parallel apparatus, wherein the control module is configured to intercept notification information, wherein the notification information is configured to notify a window of the plurality of windows to which the focus label is transferred that the focus label is transferred.
According to one or more embodiments of the present disclosure, there is provided a multi-window parallel apparatus, characterized in that the apparatus further comprises:
and the partition module is used for respectively providing a plurality of display areas for the windows.
According to one or more embodiments of the present disclosure, there is provided a multi-window parallel device, wherein the plurality of display regions do not completely overlap.
According to one or more embodiments of the present disclosure, there is provided a multi-window parallel device, wherein the plurality of display regions do not overlap with each other.
According to one or more embodiments of the present disclosure, there is provided a terminal including: at least one memory and at least one processor;
wherein the at least one memory is configured to store program code, and the at least one processor is configured to call the program code stored in the at least one memory to perform the method of any one of the above.
According to one or more embodiments of the present disclosure, there is provided a storage medium for storing program code for performing the above-described method.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (18)

1. A method of multi-window parallelization, comprising:
loading a first window, setting the first window to be in an activated state, and sending a focus label to the first window; and
loading N second windows, wherein N is an integer not less than 1, setting the N second windows to be in an activated state, receiving a focus transfer request, and simultaneously intercepting notification information to enable the first window to be still in the activated state; the notification information is used for notifying the first window that the focus label is transferred;
and the first window and the N second windows are in an active state simultaneously.
2. The method of claim 1, wherein loading the first window, and wherein setting the first window to an active state comprises:
and obtaining a first window trigger request, and responding to the first window trigger request to load the first window.
3. The method of claim 2, wherein the step of loading N second windows comprises:
and when N =1, obtaining a second window trigger request, and loading the second window in response to the second window trigger request.
4. The method of claim 3, wherein the step of setting the N second windows to active states, receiving focus shift requests, and intercepting notification messages to keep the first window in active states further comprises:
and receiving a focus transfer request, and transferring the focus label from the first window to the second window based on the focus transfer request, and simultaneously intercepting notification information so as to enable the first window to be still in an activated state.
5. The method of claim 2, wherein the step of loading N second windows comprises:
and when N is greater than 1, obtaining N second window trigger requests, respectively responding to the N second window trigger requests, and sequentially loading the N second windows.
6. The method of claim 5, wherein the step of setting the N second windows to an active state further comprises:
respectively responding to the N second window triggering requests, receiving a focus transfer request, sequentially transferring the focus label from the first window to a last loaded second window in the N second windows based on the focus transfer request, and simultaneously intercepting notification information so as to enable the first window and (N-1) second windows except the last loaded second window to be still in an activated state;
wherein the notification information is used to notify the first window and the (N-1) second windows that the focus has been transferred.
7. The method of claim 1, wherein the first window is loaded in a first display area and the N second windows are loaded in N second display areas, respectively.
8. The method of claim 7, wherein the first display area does not completely overlap with the N second display areas, and wherein the N second display areas do not completely overlap.
9. The method of claim 8, wherein the first display area is not overlapped by the N second display areas, and wherein the N second display areas are not overlapped by each other.
10. A method of multi-window parallelization, comprising:
loading a first window, creating a first channel, binding the first window and the first channel, transmitting information to the first window through the first channel, setting the first window to be in an activated state, and sending a focus label to the first window; and
loading an Nth window, wherein N is an integer greater than 1, creating N Nth channels, binding one of the Nth channels with the Nth window, and transmitting information to the Nth window through the one of the Nth channels; and unbinding (N-1) windows and (N-1) th channels, binding the (N-1) windows and (N-1) th channels, respectively, and transmitting information to the (N-1) windows through the (N-1) th channels, respectively; setting the N second windows to be in an activated state, receiving a focus transfer request, and simultaneously intercepting notification information to enable the first window to be still in the activated state; wherein the notification information is used to notify the first window that the focus label has been transferred.
11. A multi-window parallelizing apparatus comprising:
a receiving module, configured to receive a plurality of window trigger requests;
the loading module is used for responding to the window triggering requests to respectively load the windows, setting the windows to be in an activated state and sending the focus label to the first window; and
the control module is used for controlling the plurality of windows to be in an activated state; receiving a focus transfer request, and simultaneously intercepting notification information so as to enable the first window to be still in an activated state; the notification information is used for notifying the first window that the focus label is transferred.
12. The apparatus of claim 11, further comprising:
and the identification module is used for sequentially sending the focus label to the last loaded window in the windows according to the loading sequence of the windows.
13. The apparatus of claim 12, wherein the control module is configured to intercept notification information, and wherein the notification information is configured to notify a window of the plurality of windows for which the focus label is transferred that the focus label is transferred.
14. The apparatus of claim 11, further comprising:
and the partition module is used for respectively providing a plurality of display areas for the windows.
15. The apparatus of claim 11, wherein the plurality of display regions do not completely overlap.
16. The apparatus of claim 15, wherein the plurality of display regions do not overlap.
17. A terminal, comprising:
at least one memory and at least one processor;
wherein the at least one memory is configured to store program code and the at least one processor is configured to invoke the program code stored in the at least one memory to perform the method of any of claims 1 to 10.
18. A storage medium for storing program code for performing the method of any one of claims 1 to 10.
CN201910755267.4A 2019-08-15 2019-08-15 Multi-window parallel method and device, terminal and storage medium Active CN110457109B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910755267.4A CN110457109B (en) 2019-08-15 2019-08-15 Multi-window parallel method and device, terminal and storage medium
PCT/CN2020/108919 WO2021027875A1 (en) 2019-08-15 2020-08-13 Multi-window parellel computing method and apparatus, terminal, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910755267.4A CN110457109B (en) 2019-08-15 2019-08-15 Multi-window parallel method and device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110457109A CN110457109A (en) 2019-11-15
CN110457109B true CN110457109B (en) 2021-07-23

Family

ID=68486924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910755267.4A Active CN110457109B (en) 2019-08-15 2019-08-15 Multi-window parallel method and device, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN110457109B (en)
WO (1) WO2021027875A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110457109B (en) * 2019-08-15 2021-07-23 北京字节跳动网络技术有限公司 Multi-window parallel method and device, terminal and storage medium
CN112068742A (en) * 2020-04-28 2020-12-11 北京字节跳动网络技术有限公司 Method, device, terminal and storage medium for controlling application window
CN112083871A (en) * 2020-09-11 2020-12-15 北京字节跳动网络技术有限公司 Method, device, terminal and storage medium for controlling electronic equipment
CN112256173A (en) * 2020-10-20 2021-01-22 北京字节跳动网络技术有限公司 Window display method and device of electronic equipment, terminal and storage medium
CN112791386A (en) * 2021-01-08 2021-05-14 杭州雾联科技有限公司 Multi-window activation state generation method, device, equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399710A (en) * 2013-08-07 2013-11-20 福州瑞芯微电子有限公司 Multi-window operating achieving mobile terminal and method
CN103425431A (en) * 2013-08-07 2013-12-04 福州瑞芯微电子有限公司 Mobile terminal and method for achieving multi-window operation
CN105005427A (en) * 2014-04-23 2015-10-28 中兴通讯股份有限公司 Window management method and apparatus
CN105589619A (en) * 2014-11-17 2016-05-18 深圳市腾讯计算机系统有限公司 Multi-window display method and device for terminal
CN107329721A (en) * 2017-06-30 2017-11-07 联想(北京)有限公司 Display methods, electronic equipment and computer-readable recording medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020135617A1 (en) * 2001-03-23 2002-09-26 Backweb Technologies Ltd. Proactive desktop portal
US7490299B2 (en) * 2004-06-30 2009-02-10 International Business Machines Corporation System and method for handling unexpected focus change messages in a computing device
CN101566909A (en) * 2008-04-22 2009-10-28 鸿富锦精密工业(深圳)有限公司 Multiwindow operation interface display method
CN102346644A (en) * 2011-09-16 2012-02-08 百度在线网络技术(北京)有限公司 Method and device for activating part of screen in mobile terminal
CN103455234A (en) * 2012-06-01 2013-12-18 腾讯科技(深圳)有限公司 Method and device for displaying application program interfaces
JP2015125567A (en) * 2013-12-26 2015-07-06 株式会社東芝 Electronic device, method, and program
CN107340967A (en) * 2017-07-10 2017-11-10 广州视源电子科技股份有限公司 A kind of smart machine and its operating method and device and computer-readable storage medium
CN107450830B (en) * 2017-07-19 2020-08-14 瑞芯微电子股份有限公司 Method and device for simultaneously supporting multi-point input in single-screen and multi-window mode
CN108536506A (en) * 2018-03-20 2018-09-14 青岛海信移动通信技术股份有限公司 A kind of application state management method and device
CN110457109B (en) * 2019-08-15 2021-07-23 北京字节跳动网络技术有限公司 Multi-window parallel method and device, terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399710A (en) * 2013-08-07 2013-11-20 福州瑞芯微电子有限公司 Multi-window operating achieving mobile terminal and method
CN103425431A (en) * 2013-08-07 2013-12-04 福州瑞芯微电子有限公司 Mobile terminal and method for achieving multi-window operation
CN105005427A (en) * 2014-04-23 2015-10-28 中兴通讯股份有限公司 Window management method and apparatus
CN105589619A (en) * 2014-11-17 2016-05-18 深圳市腾讯计算机系统有限公司 Multi-window display method and device for terminal
CN107329721A (en) * 2017-06-30 2017-11-07 联想(北京)有限公司 Display methods, electronic equipment and computer-readable recording medium

Also Published As

Publication number Publication date
WO2021027875A1 (en) 2021-02-18
CN110457109A (en) 2019-11-15

Similar Documents

Publication Publication Date Title
CN110457109B (en) Multi-window parallel method and device, terminal and storage medium
CN109542614B (en) Resource allocation method, device, terminal and storage medium
CN114217707B (en) Sharing method, sharing device, electronic equipment and storage medium
CN111309415B (en) User Interface (UI) information processing method and device of application program and electronic equipment
WO2023000888A1 (en) Cloud application implementing method and apparatus, electronic device, and storage medium
CN110457522B (en) Information sharing method and device, terminal and storage medium
CN114390360B (en) Live voting method and device, electronic equipment and storage medium
CN113609419B (en) Information display method, information display device, electronic equipment and computer readable medium
CN110611847A (en) Video preview method and device, storage medium and electronic equipment
WO2023231688A1 (en) Media content display method and apparatus, device, storage medium, and program product
CN113886105B (en) Cross-process calling method and device, storage medium and electronic equipment
CN112241229B (en) Terminal display control method, device, terminal and storage medium
CN110795194B (en) Desktop display control method, device, terminal and storage medium
CN111552531B (en) Page display method, device, terminal and storage medium
CN111182062B (en) Service multi-activity calling method, system and electronic equipment
CN113127101A (en) Application program control method, device, equipment and medium
CN110704782A (en) Page response method and device, electronic equipment and storage medium
KR20210042992A (en) Method and apparatus for training a deep learning model
CN112243219A (en) Display device, terminal control method and device, terminal and storage medium
CN111324387A (en) Application task control method, device, terminal and system
CN114385096B (en) Display control method, device, terminal and storage medium
CN116339846A (en) Process management method and device, storage medium and electronic equipment
CN112068742A (en) Method, device, terminal and storage medium for controlling application window
CN116634006A (en) Multisystem Bluetooth state adjustment method and device, electronic equipment and storage medium
CN116127215A (en) Page state synchronization method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant