WO2022218152A1 - Window switching method, storage medium, and related device - Google Patents
Window switching method, storage medium, and related device Download PDFInfo
- Publication number
- WO2022218152A1 WO2022218152A1 PCT/CN2022/083928 CN2022083928W WO2022218152A1 WO 2022218152 A1 WO2022218152 A1 WO 2022218152A1 CN 2022083928 W CN2022083928 W CN 2022083928W WO 2022218152 A1 WO2022218152 A1 WO 2022218152A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- window
- switching
- focus
- window switching
- display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Definitions
- the present application relates to the technical field of multi-window operations, for example, to a window switching method, a storage medium and related devices.
- the user can switch the focus within the window through touch or non-touch operations.
- the non-touch operation refers to an operation performed by, for example, a remote control, a keyboard, a trackball, and other buttons of a control device such as up, down, left, and right. If the current operable window is switched from the window of application A to the window of application B, it is necessary to return to the desktop first, and then find and open the window of application B from the desktop program.
- the electronic device can simultaneously display the windows of multiple applications on the screen, that is, a multi-application window display mode.
- a multi-application window display mode it is not possible to directly switch from the window of application A to the window of application B through a non-touch operation.
- Embodiments of the present application provide a window switching method, a storage medium, and a related device, so as to solve the problem that the current non-touch operation cannot directly perform window switching between different applications.
- the technical solution is as follows:
- an embodiment of the present application provides a method for switching windows, including:
- the window of one application among the windows of multiple applications is the focus window before the window is switched, and the window is in non-full-screen display mode;
- the window switching instruction is sent by the control device when it detects a window switching operation that the user acts on the control device, and the window switching instruction is used to indicate the relationship between the focus window after the window switching and the focus window before the window switching;
- the focus window before the window switch and the window switch instruction determine the focus window after the window switch.
- the window switching instruction is used to indicate the positional relationship between the focus window after the window switching and the focus window before the window switching.
- the above-mentioned determination of the focus window after the window switching according to the focus window before the window switching and the window switching instruction may include: according to the window switching instruction, determining the direction of the focus window after the window switching relative to the focus window before the window switching;
- the focus window is the benchmark, and at least one window located in the above direction is determined as the window to be selected; the coordinate difference in the direction between the window to be selected and the focus window before the window switching is determined; the focus window after the window switching is determined according to the coordinate difference. .
- determining the focus window after window switching according to the coordinate difference includes: determining the window to be selected corresponding to the coordinate difference satisfying a preset condition as the focus window after window switching, where the preset condition includes the smallest coordinate difference.
- the window switching instruction is used to indicate the display hierarchy relationship between the focus window after the window switching and the focus window before the window switching.
- the above-mentioned determining the focus window after the window switching according to the focus window and the window switching instruction before the window switching includes: according to the window switching instruction, determining that the focus window after the window switching is the first one located under the display level of the focus window before the window switching. N windows, N is a positive integer, and N is less than the number of currently displayed windows; take the focus window before the window switching as the benchmark, determine the window corresponding to the Nth display level in the preset window switching sequence as the focus after the window switching Window, the preset window switching sequence includes the display level of the windows of multiple applications.
- the window switching method may further include: setting a preset window switching sequence according to the following methods:
- the display level of the focus window before the window switching is set to bottom.
- the above-mentioned window for displaying multiple applications may include: incompletely overlapping windows for displaying multiple applications.
- the above-mentioned incompletely overlapping windows for displaying multiple applications include: obtaining the package name of the application in response to the opening operation acting on the corresponding application; determining the offset information of the corresponding window according to the package name and the hash function, The offset information contains the offset of the window relative to the display in the middle of the screen; the window of the application is displayed according to the offset.
- the above-mentioned displaying the window of the application according to the offset includes: determining whether the window display overflows the screen according to the offset and the size of the window; if the window display overflows the screen, completely displaying the application window on the screen according to the overflow amount. middle.
- the window switching method further includes: in response to a closing operation acting on the window of the application, saving the display position of the corresponding window, so as to display the window of the application according to the display position when the corresponding application is opened again.
- the window switching method further includes: after determining the focus window after the window switching, displaying the focus window after the window switching is displayed on top.
- the windows of the above multiple applications include a top window. If the focus window after the window switching is not the top window, the above-mentioned focus window after the window switching may include: displaying the focus window after the window switching at the front of the non-top window, and the non-top window is a window of multiple applications windows other than the top window.
- the window switching method further includes: receiving a mode switching instruction, the mode switching instruction is sent by the control device when detecting a mode switching operation that the user acts on the control device, and the mode switching instruction is used to indicate the switching of the control mode, and the control mode Including the focus control mode within a window and the focus control mode between windows, the focus control mode between windows includes window switching; if the current control mode is the focus control mode within the window, then switch to the focus control mode between windows, or, if If the current control mode is the focus control mode between windows, switch to the focus control mode within the window.
- an embodiment of the present application provides a window switching device, including:
- the display module is used to display the windows of multiple applications, the window of one application among the windows of multiple applications is the focus window before the window is switched, and the window is in a non-full-screen display mode;
- the transceiver module is used to receive the window switching instruction.
- the window switching instruction is sent by the control device when it detects the window switching operation that the user acts on the control device.
- the window switching instruction is used to indicate the focus window after the window switching and the focus before the window switching. window relationship;
- the processing module is used for determining the focus window after the window switching according to the focus window before the window switching and the window switching instruction.
- the window switching instruction is used to indicate the positional relationship between the focus window after the window switching and the focus window before the window switching.
- the processing module can be used to: according to the window switching instruction, determine the direction of the focus window after the window switching relative to the focus window before the window switching; take the focus window before the window switching as a benchmark, determine that at least one window located in the direction is to be selected window; determine the coordinate difference between the window to be selected and the focus window before the window switching in the direction; determine the focus window after the window switching according to the coordinate difference.
- the processing module when the processing module is used to determine the focus window after the window switching according to the coordinate difference, the processing module is used to: determine the window to be selected corresponding to the coordinate difference that satisfies a preset condition as the focus window after the window switching, and the preset condition includes the coordinates.
- the difference is minimal.
- the window switching instruction is used to indicate the display hierarchy relationship between the focus window after the window switching and the focus window before the window switching.
- the processing module can be used to: determine, according to the window switching instruction, that the focus window after the window switching is the Nth window located under the display level of the focus window before the window switching, where N is a positive integer, and N is less than the number of currently displayed windows ; Based on the focus window before the window switching, determine the window corresponding to the Nth display level in the preset window switching sequence as the focus window after the window switching, and the preset window switching sequence includes the display levels of the windows of multiple applications.
- processing module can also be used to: set the preset window switching sequence according to the following methods:
- the display level of the focus window before the window switching is set to bottom.
- the display module when used to display the windows of multiple applications, it is configured to: display the windows of multiple applications in an incompletely overlapped manner.
- the display module when displaying the windows of multiple applications that are not completely overlapped, is used to: in response to the opening operation acting on the corresponding application, obtain the package name of the application; according to the package name and the hash function, determine the corresponding window's Offset information, the offset information contains the offset of the window relative to the display in the middle of the screen; the window of the application is displayed according to the offset.
- the display module when displaying the window of the application according to the offset, is used to: determine whether the window display overflows the screen according to the offset and the window size; if the window display overflows the screen, then according to the overflow The window is fully displayed on the screen.
- the processing module may be further configured to: in response to a closing operation acting on the window of the application, save the display position of the corresponding window, so as to display the window of the application according to the display position when the corresponding application is opened again.
- the processing module is further configured to: after determining the focus window after the window switching, trigger the display module to display the focus window after the window switching on top.
- the windows of the plurality of applications include top windows. If the focus window after window switching is not the top window, when the display module displays the focus window after window switching on top, it is used to: display the focus window after window switching at the front of the non-top window, and the non-top windows are multiple A window other than the top window in the application's window.
- the transceiver module is further configured to receive a mode switching instruction, the mode switching instruction is issued when the control device detects a mode switching operation that the user acts on the control device, and the mode switching instruction is used to indicate the switching of the control mode, and the control mode It includes a focus control mode within a window and a focus control mode between windows, and the focus control mode between windows includes window switching.
- the processing module is further configured to switch to the focus control mode between windows when the current control mode is the focus control mode within the window, or switch to the focus control mode within the window when the current control mode is the focus control mode between the windows model.
- an embodiment of the present application provides a computer storage medium, where the computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above method steps.
- an embodiment of the present application provides an electronic device, including: a processor and a memory; wherein, the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the above method steps.
- an embodiment of the present application provides a computer program product, which includes a plurality of instructions, and the instructions are adapted to be loaded by a processor and execute the above method steps.
- an embodiment of the present application provides a window switching system, including the electronic device and the control device as described in the fourth aspect.
- the control device is configured to issue a window switching instruction when detecting a window switching operation performed by the user on the control device, and the window switching instruction is used to indicate the relationship between the focus window after the window switching and the focus window before the window switching.
- the windows of multiple applications are displayed, and the window of one application among the windows of multiple applications is the focus window before the window switching, and the window is in a non-full-screen display mode;
- the window switching instruction is received, and the window switching instruction is the control device Sent when a window switching operation acting on the control device by the user is detected, the window switching instruction is used to indicate the relationship between the focus window after the window switching and the focus window before the window switching; according to the focus window before the window switching and the window switching instruction , to determine the focus window after window switching; the focus window after window switching is displayed on top.
- the multi-window display mode by receiving the window switching instruction to control the device, and combining the relationship between the focus window after the window switching indicated by the window switching instruction and the focus window before the window switching, determine the focus window after the window switching, so as to solve the problem.
- a non-touch operation cannot directly switch between windows of different applications, so as to achieve the effect of free switching between windows of different applications.
- Figure 1 is a schematic diagram of window switching in single-window full-screen mode
- FIG. 2 is a schematic flowchart of a window switching method provided by an embodiment of the present application.
- FIG. 3 is a schematic diagram of a multi-window display effect provided by an embodiment of the present application.
- FIG. 4 is a schematic diagram of a non-full-screen display effect provided by an embodiment of the present application.
- FIG. 5 is a schematic diagram of a display effect before and after window switching provided by an embodiment of the present application.
- FIG. 6 is a schematic diagram of another display effect before and after window switching provided by an embodiment of the present application.
- FIG. 7 is a schematic diagram of another display effect before and after window switching provided by an embodiment of the present application.
- FIG. 8 is a schematic diagram of a window offset display effect provided by an embodiment of the present application.
- FIG. 9 is a schematic diagram of an application scenario provided by an embodiment of the present application.
- FIG. 10 is a schematic structural diagram of a window switching device provided by an embodiment of the present application.
- FIG. 11 is a schematic structural diagram of an intelligent interactive tablet provided by an embodiment of the present application.
- the hardware part of the intelligent interactive white board is composed of a touch display module, an intelligent processing system (including a controller) and other parts, which are combined by the overall structural parts, and are also supported by a dedicated software system.
- the touch display module includes a display screen, a touch component and a backlight component.
- the backlight component is used to provide a backlight source for the display screen.
- the display screen generally adopts a liquid crystal display device for screen display.
- the touch component is arranged on the display screen. It is used to collect the user's touch operation data, and send the collected touch operation data to the intelligent processing system for processing.
- screen data is displayed on the display screen of the intelligent interactive tablet.
- a touch object such as a finger or a stylus
- the intelligent interactive tablet The touch component will collect the touch data, so that the touch component converts the touch data into the coordinate data of the touch point and sends it to the intelligent processing system, or sends it to the intelligent processing system where the intelligent processing system converts the touch data into touch
- the intelligent processing system realizes the corresponding control operation according to the preset program, drives the display content of the display screen to change, and realizes various display and operation effects.
- touch components can be divided into five basic categories: vector pressure sensing technology touch components, resistive technology touch components, capacitive technology touch components, electromagnetic technology touch screens, infrared technology touch components, and surface acoustic wave technology touch components.
- touch components can be divided into four types: resistive type, capacitive induction type, electromagnetic induction type, infrared type and surface acoustic wave type.
- the touch component can collect the data of the touch point and send it to the intelligent processing system, and then realize different functional applications with the built-in software of the intelligent processing system, so as to realize the intelligent processing system. Touch control.
- the "screen” and “large screen” mentioned in this application all refer to the display screen of electronic equipment such as intelligent interactive white board (interactive white board) and smart TV; the display of a certain interface/window on the intelligent interactive flat panel refers to the intelligent interactive flat panel The screen/window is displayed on the display.
- intelligent interactive white board interactive white board
- smart TV the display of a certain interface/window on the intelligent interactive flat panel refers to the intelligent interactive flat panel
- the screen/window is displayed on the display.
- Control devices including but not limited to remote controls, keyboards, trackballs, etc.
- the control device is provided with a communication interface, a processor and a key, and the processor is respectively connected with the communication interface and the key.
- the control device is connected with the electronic device through the communication interface.
- the key is used to trigger the processor to generate relevant control instructions. For example, after the key is clicked, the processor will receive the operation data sent by the key, and correspondingly generate a window switching instruction according to the operation data. Optionally, there is a binding relationship between the key and the control instruction.
- buttons for example, the remote controller contains four or fewer buttons, at this time, by distinguishing the duration or strength of the buttons pressed by the user, they can be bound to control instructions of different functions respectively.
- Open application B and display the window of application B.
- the Android system of windowed display is introduced, and the electronic device of the Android system can display multiple windows on the screen at the same time, that is, the multi-window display mode.
- the multi-window display mode it is not possible to directly switch from the window of application A to the window of application B through a non-touch operation.
- the embodiments of the present application provide a window switching method, a storage medium, and a related device, which can realize window switching between different applications without exiting the application/returning to the desktop.
- Example 1 For example, in one embodiment of Example 1, one technical feature a is described, and in another embodiment of Example 1 or in Example 2, another technical feature b is described. Since the above two technical features are not contradictory to each other, those skilled in the art should be able to think after reading the specification of this application that the embodiment with these two features at the same time is also an optional embodiment, namely a and b.
- Non-contradictory technical features described in different embodiments can also be combined arbitrarily to form optional embodiments.
- Embodiment 1 Embodiment 1, Embodiment 2, and Embodiment 3 will be described in detail below.
- the embodiment of the present application discloses a window switching method, and the method is applied to electronic devices such as intelligent interactive tablet.
- the following description takes the intelligent interactive tablet as an example.
- FIG. 2 is a flowchart of a window switching method disclosed in an embodiment of the present application. The method includes the following steps:
- the intelligent interactive tablet displays a window corresponding to the application, and presents the interface of the application in the window.
- the smart interactive tablet simultaneously displays windows of multiple applications, that is, multi-window display, as shown in FIG. 3 .
- the size of the window is smaller than the size of the screen, that is, the window is in a non-full-screen display mode, as shown in FIG. 4 .
- the focus window refers to the current operation window, and the user can control the focus window through touch operation and/or non-touch operation, for example, click the close button of the focus window to close the focus window, or click the control in the menu bar of the focus window to achieve the corresponding function, and so on.
- S202 Receive a window switching instruction, where the window switching instruction is issued by the control device when detecting a window switching operation performed by the user on the control device, and the window switching instruction is used to indicate the difference between the focus window after the window switching and the focus window before the window switching. relation.
- the embodiment of the present application switches the windows of different applications through a non-touch operation, the user directly operates the control device, wherein the relevant description of the control device and the relationship between the control device and the intelligent interactive tablet are as described above, here No longer.
- the window switching operation it can be understood that it is related to the functions of the keys on the control device in different states.
- the window switching operation can be the operation of clicking the direction keys;
- long-pressing the direction key means switching windows, the window switching operation is the operation of long-pressing the direction key, etc., which need to be determined according to the actual situation.
- the function of the window switching instruction is also determined according to the actual situation.
- the relationship between the focus window after the window switching and the focus window before the window switching may be: the positional relationship between the focus window after the window switching and the focus window before the window switching, for example, the focus window after the window switching is located before the window switching. or, the display hierarchy relationship between the focus window after the window switch and the focus window before the window switch, for example, the focus window after the window switch is the window to become the focus window after the focus window before the window switch.
- the window switching instruction indicates the relationship between the focus window after window switching and the focus window before window switching, and the information of the focus window before window switching is known to the intelligent interactive tablet, therefore, according to the focus window before window switching and the The window switching instruction can determine which one of the windows of the multiple applications is the focus window after the window switching as described above, and reference may be made to subsequent embodiments for the determination method.
- the windows of multiple applications are displayed, and the window of one application among the windows of multiple applications is the focus window before the window switching, and the window is in a non-full-screen display mode;
- the window switching instruction is received, and the window switching instruction is the control device Sent when a window switching operation acting on the control device by the user is detected, the window switching instruction is used to indicate the relationship between the focus window after the window switching and the focus window before the window switching; according to the focus window before the window switching and the window switching instruction , which determines the focus window after the window is switched.
- the multi-window display mode by receiving the window switching instruction to control the device, and combining the relationship between the focus window after the window switching indicated by the window switching instruction and the focus window before the window switching, determine the focus window after the window switching, so as to solve the problem.
- a non-touch operation cannot directly switch between windows of different applications, so as to achieve the effect of free switching between windows of different applications.
- the window switching method may further include: after determining the focus window after the window switching, displaying the focus window after the window switching is displayed on top.
- the display levels of different windows are different.
- the top display means that it is displayed at the front. For the window displayed on the top, there is no phenomenon that it is blocked by other windows. Still taking the multiple windows shown in FIG. 3 as an example, referring to FIG. 5 , after the window is switched, the focus window displayed on top is changed from the window of application A to the window of application C.
- step S203 may include: according to the window switching instruction, determining the direction of the focus window after the window switching relative to the focus window before the window switching; taking the focus window before the window switching as a benchmark, determining at least one window located in the above direction is the window to be selected; the coordinate difference in the direction between the window to be selected and the focus window before the window switching is determined; the focus window after the window switching is determined according to the coordinate difference.
- the display area of each window on the screen is stored in the intelligent interactive tablet, so the intelligent interactive tablet can obtain the display areas of the windows of the currently displayed multiple applications from the inside.
- the intelligent interactive tablet can determine information such as the size of the window and the coordinates of the center point or the corner mark of the window according to the display area of the window.
- the focus window before the window switching is the window of application A.
- the coordinates of the center point as an example, if the coordinates of the center point of the window of application A are (X A , Y A ), the coordinates of the center point of the window of application B are is (X B , Y B ), the coordinates of the center point of the window where C is applied is (X C , Y C ), and it is determined according to the window switching instruction that the focus window after window switching is on the right side of the focus window before window switching, then
- the window to be selected is the window of application B and the window of application C, respectively calculate the coordinate difference between the window of application B and the window of application C, and the window of application A in the direction, and determine the focus after the window is switched according to the coordinate difference window.
- the coordinate difference between the window of application B and the window of application A is X B -X A ; the coordinate difference between the window of application C and the window of application A is X C -X A
- determining the focus window after the window switching according to the coordinate difference may include: determining that the window to be selected corresponding to the coordinate difference that satisfies a preset condition is the focus window after the window switching, and the preset condition includes but is not limited to The coordinate difference is the smallest and the coordinate difference is the largest. If the preset condition is that the coordinate difference is the smallest, in the above example, the coordinate difference between the window of application B and the window of application A is X B -X A , which is smaller than the coordinate difference between the window of application C and the window of application A is X C -X A , therefore, determine that the window of application B is the focus window after the window is switched.
- Focus window Assuming the center point coordinates (X0, Y0) of the focus window before the window switching, and the center point coordinates (Xn, Yn) of the windows of other applications, the direction can be determined according to the navigation key (WSAD), and the window after the window switching is determined based on the following criteria. Focus window:
- Yn ⁇ Y0 means that the point whose center point coordinates are (Xn, Yn) is above the point whose center point coordinates are (X0, Y0).
- FIG. 6 shows a schematic diagram of switching among three windows, namely, the window of application A, the window of application B, and the window of application C. Visible: When the window of application A is the focus window before the window is switched, you can switch to the window of application B through W (top), and then you can switch to the window of application C through A (left), and then through A (left) or W (top) can switch to the window of application A; or, when the window of application A is the focus window before the window switching, you can switch to the window of application C through S (bottom) or D (right), and further You can switch to the window of application B by pressing D (right), and then switch to the window of application A by pressing S (bottom).
- the window switching instruction is used to indicate the display hierarchy relationship between the focus window after the window switching and the focus window before the window switching.
- step S203 may include: according to the window switching instruction, determining that the focus window after the window switching is the Nth window located under the display level of the focus window before the window switching, N is a positive integer, and N is smaller than the current display The number of windows; the focus window before the window switching is used as the benchmark, and the window corresponding to the Nth display level in the preset window switching sequence is determined as the focus window after the window switching.
- the preset window switching sequence includes the windows of multiple applications. Display hierarchy.
- a window switching instruction can be used to indicate the relationship between the display levels of the two focus windows before and after the window is switched.
- the value of N is 1, that is, after receiving a window switching instruction, the intelligent interactive tablet determines the first window below the display level of the current focus window as the focus window after the window switching, so as to realize one-key switching.
- the preset window switching sequence is represented as a queue container, and each application is added to a queue container according to the startup sequence.
- the logic of one-click switching the window of the currently displayed application, that is, the frontmost queue container.
- the application is moved to the end of the queue container; the second application in the original queue container becomes the front application in the queue container, that is, the application that has the latest focus.
- FIG. 7 shows yet another schematic diagram of switching between three windows, namely the window of application A, the window of application B, and the window of application C. Visible: When the window of application A is the focus window before the window switching, you can switch to the window of application C through G (one-key switching), and then you can switch to the window of application B through G (one-key switching). G (one key switch) can switch to the window of application A; cycle in turn.
- the preset window switching sequence is represented as a circular linked list, and each application is added to a circular linked list according to the startup order.
- the size of N may be determined according to the duration of pressing the button G or the pressing force of the user. For example, to set different duration ranges, when the duration is greater than 0 and less than 1ms, the value of N is 1; when the duration is greater than or equal to 1ms and less than 2ms, the value of N is 2, and so on.
- the window switching method may further include: setting a preset window switching sequence according to the following manner:
- the display level of the focus window before the window switching is set to bottom.
- displaying windows of multiple applications may include: displaying windows of multiple applications that are not completely overlapped.
- the windows of multiple applications are displayed staggered from each other, so that the user can determine the number of opened applications according to the number of currently displayed windows.
- displaying the windows of multiple applications that are not completely overlapped may include: obtaining the package name of the application in response to the opening operation acting on the corresponding application; determining the offset of the corresponding window according to the package name and a hash function.
- the offset information contains the offset of the window relative to the display in the middle of the screen; the window of the application is displayed according to the offset.
- each application has a "package name" attribute, and the package name uniquely identifies a certain application.
- the package name of the application read by the machine is the same.
- the package name is an English string with a length of about 10-30 characters.
- the package name of WeChat is com.tencent.mm
- the package name of QQ is com.tencent.mobileqq.
- a hash function converts an input of arbitrary length (also called a pre-image pre-image) into a fixed-length output through a hashing algorithm, and the output is the hash value.
- the characteristic of the hash function is that different inputs will definitely get different outputs, which ensures that the positions of the window offsets of different applications are different.
- the input of the hash function is a package name, and the output is a number.
- dx is the x-axis offset value
- dy is the y-axis offset value
- w is the screen width
- h the screen height
- the dotted border in the middle is the position where the window is displayed in the middle of the screen.
- dx and dy can be obtained by the following formulas:
- % means taking the remainder to calculate.
- dx and dy can be positive or negative, representing two offset directions respectively.
- displaying the window of the application according to the offset may include: determining whether the window display overflows the screen according to the offset and the window size; if the window display overflows the screen, completely displaying the window of the application according to the overflow amount. displayed on the screen. For example, set an offset of up to 1/4 of the screen to prevent the offset window from being too close to the edge of the screen.
- the intelligent interactive tablet can store the display position of the corresponding window, for example, record it in the memory. In this way, when the application is opened next time, if the smart interactive tablet detects the display position of the window of the application in the memory, the window will be displayed based on the display position.
- the window switching method may further include: in response to the closing operation acting on the window of the application, saving the display position of the corresponding window, so as to display the window of the application according to the display position when the corresponding application is opened again.
- the embodiments of the present application are used to describe a situation when the windows of multiple applications include a top window. Since the above embodiment has emphasized that the focus window after the window switching should be displayed on the top, and the top window refers to the window displayed in the front, therefore, if the focus window after the window switching is not the top window, the focus window after the switch is displayed on the top.
- the window may include: displaying the focus window after the window is switched in front of a non-top window, where the non-top window is a window other than the top window among the windows of multiple applications.
- the top window is not necessarily the currently operating window, that is to say, the top window is not necessarily the current focus window.
- the user controls the intelligent interactive tablet through the control device, and the control modes include a focus control mode within a window and a focus control mode between windows without applications.
- the focus control mode between windows includes window switching.
- the window switching method may further include: receiving a mode switching instruction, the mode switching instruction is sent by the control device when detecting a mode switching operation performed by the user on the control device, and the mode switching instruction is used to instruct the switching of the control mode; If the current control mode is the focus control mode within a window, switch to the focus control mode between windows, or, if the current control mode is the focus control mode between windows, switch to the focus control mode within the window.
- the mode switching of the intelligent interactive tablet is performed through the mode switching instruction from the control device, so as to realize more functions by using a limited number of buttons on the control device.
- the smart interactive tablet 91 displays windows of multiple applications, the user controls the smart interactive tablet 91 through the remote controller 92 , and the smart interactive tablet 91 is connected to the server 93 .
- the intelligent interactive tablet 91 communicates with the server 93 through a local area network (LAN), a wireless local area network (WLAN) and other networks.
- the server 93 may provide various contents and interactions to the intelligent interactive tablet 91 .
- the server 93 may be a cluster or multiple clusters, and may include one or more types of servers.
- This example is described by taking the electronic device as an intelligent interactive tablet and the control device as a remote controller, but this application does not limit it; and the application does not limit the number of intelligent interactive tablet and remote controller.
- the controller controls two smart interactive tablets, or one smart interactive tablet is controlled by two remote controls, and so on.
- the user inputs a mode switching operation on the remote controller 92, and the remote controller 92 controls the smart interactive tablet 91 to switch to the focus control mode between windows.
- the user inputs a window switching operation on the remote controller 92, and controls the intelligent interactive tablet 91 to switch the currently displayed window through the remote controller 92, so as to achieve the switching effect shown in, for example, FIG. 6 or FIG. 7 .
- FIG. 10 shows a schematic structural diagram of a window switching apparatus provided by an exemplary embodiment of the present application.
- the window switching device can be realized by software, hardware or a combination of the two to become all or a part of an electronic device such as an intelligent interactive tablet.
- the window switching device 10 includes a display module 11 , a transceiver module 12 and a processing module 13 . Among them, the three modules are connected to each other.
- the display module 11 is used to display the windows of multiple applications, the window of one application among the windows of multiple applications is the focus window before the window is switched, and the window is in a non-full-screen display mode;
- the transceiver module 12 is used to receive a window switching instruction, the window switching instruction is issued when the control device detects a window switching operation that the user acts on the control device, and the window switching instruction is used to indicate the focus window after the window switching and the window before the window switching.
- the processing module 13 is configured to determine the focus window after the window switching according to the focus window before the window switching and the window switching instruction.
- the window switching instruction is used to indicate the positional relationship between the focus window after the window switching and the focus window before the window switching.
- the processing module 13 can be used to: according to the window switching instruction, determine the direction of the focus window after the window switching relative to the focus window before the window switching; take the focus window before the window switching as a benchmark, determine that at least one window located in the direction is to be selecting a window; determining the coordinate difference between the window to be selected and the focus window before the window switching in the direction; determining the focus window after the window switching according to the coordinate difference.
- the processing module 13 when used to determine the focus window after window switching according to the coordinate difference, it is used to: determine that the window to be selected corresponding to the coordinate difference that satisfies a preset condition is the focus window after the window switching, and the preset condition includes: The coordinate difference is minimal.
- the window switching instruction is used to indicate the display hierarchy relationship between the focus window after the window switching and the focus window before the window switching.
- the processing module 13 can be used to: according to the window switching instruction, determine that the focus window after the window switching is the Nth window located under the display level of the focus window before the window switching, where N is a positive integer, and N is less than the number of currently displayed windows. number; based on the focus window before the window switching, determine the window corresponding to the Nth display level in the preset window switching sequence as the focus window after the window switching, and the preset window switching sequence includes the display levels of the windows of multiple applications.
- processing module 13 can also be used to: set the preset window switching sequence according to the following methods:
- the transceiver module 12 sets the display level of the focus window before the window switching to bottom.
- the display module 11 when used to display the windows of multiple applications, it is configured to: display the windows of multiple applications in an incompletely overlapped manner.
- the display module 11 is used to: in response to the opening operation acting on the corresponding application, obtain the package name of the application program when the windows of the multiple applications are not completely overlapped; determine the corresponding window according to the package name and the hash function.
- the offset information contains the offset of the window relative to the display in the middle of the screen; the application window is displayed according to the offset.
- the display module 11 when displaying the window of the application according to the offset, is used to: according to the offset and the size of the window, determine whether the window display overflows the screen; if the window display overflows the screen, the window of the application is displayed according to the overflow. fully displayed on the screen.
- the processing module 13 may be further configured to: in response to the closing operation acting on the window of the application, save the display position of the corresponding window, so as to display the window of the application according to the display position when the corresponding application is opened again.
- the processing module 13 is further configured to: after determining the focus window after the window switching, trigger the display module 11 to display the focus window after the window switching on top.
- the windows of the plurality of applications include top windows. If the focus window after the window switching is not the top window, the display module 11 is used to display the focus window after the window switching at the front of the non-top window when the focus window after the window switch is displayed on top, and the non-top window is multi- A window other than the top window among the windows of an application.
- the transceiver module 12 is further configured to receive a mode switching instruction, the mode switching instruction is issued when the control device detects a mode switching operation that the user acts on the control device, and the mode switching instruction is used to indicate the switching of the control mode, and the control
- the modes include a focus control mode within a window and a focus control mode between windows, and the focus control mode between windows includes window switching.
- the processing module 13 can also be used to switch to the focus control mode between windows when the current control mode is the focus control mode within the window, or switch to the focus control mode within the window when the current control mode is the focus control mode between windows control mode.
- the window switching apparatus when the window switching apparatus provided in the above embodiments executes the window switching method, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions may be allocated to different functional modules as required. , that is, dividing the internal structure of the device into different functional modules to complete all or part of the functions described above.
- the window switching device and the window switching method embodiments provided by the above embodiments belong to the same concept, and the implementation process of which is embodied in the method embodiments, which will not be repeated here.
- the windows of multiple applications are displayed, and the window of one application among the windows of multiple applications is the focus window before the window switching, and the window is in a non-full-screen display mode;
- the window switching instruction is received, and the window switching instruction is the control device Sent when a window switching operation acting on the control device by the user is detected, the window switching instruction is used to indicate the relationship between the focus window after the window switching and the focus window before the window switching; according to the focus window before the window switching and the window switching instruction , which determines the focus window after the window is switched.
- the device can be controlled by receiving the window switching instruction, and combining the relationship between the focus window after the window switching indicated by the window switching instruction and the focus window before the window switching, determine the focus window after the window switching, and set it to the top Displaying the focus window after the window switching can solve the problem that the current non-touch operation cannot directly switch the windows of different applications, and achieve the effect of free switching between the windows of different applications.
- Embodiments of the present application further provide a computer storage medium, where the computer storage medium can store multiple instructions, and the instructions are suitable for being loaded by a processor and executing the method steps of the foregoing method embodiments.
- the specific execution process please refer to The specific description of the method embodiment will not be repeated here.
- the device where the storage medium is located may be an electronic device such as an intelligent interactive tablet.
- the intelligent interactive tablet 1000 may include: at least one processor 1001 , at least one network interface 1004 , user interface 1003 , memory 1005 , and at least one communication bus 1002 .
- the communication bus 1002 is used to realize the connection and communication between these components.
- the user interface 1003 may include a display screen (Display) and a camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
- Display display screen
- Camera Camera
- the optional user interface 1003 may also include a standard wired interface and a wireless interface.
- the network interface 1004 may optionally include a standard wired interface and a wireless interface (eg, a WI-FI interface).
- the processor 1001 may include one or more processing cores.
- the processor 1001 uses various interfaces and lines to connect various parts in the entire intelligent interactive tablet 1000, and by running or executing the instructions, programs, code sets or instruction sets stored in the memory 1005, and calling the data stored in the memory 1005, Execute various functions of the intelligent interactive tablet 1000 and process data.
- the processor 1001 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). A hardware form is implemented.
- DSP Digital Signal Processing
- FPGA Field-Programmable Gate Array
- PLA programmable logic array
- the processor 1001 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like.
- CPU Central Processing Unit
- GPU Graphics Processing Unit
- the CPU mainly handles the operating system, user interface, and application programs
- the GPU is used to render and draw the content that needs to be displayed on the display screen
- the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 1001, but is implemented by a single chip.
- the memory 1005 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory).
- the memory 1005 includes a non-transitory computer-readable storage medium.
- Memory 1005 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
- the memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions and the like used to implement the above method embodiments; the storage data area may store the data and the like involved in the above method embodiments.
- the memory 1005 may also be at least one storage device located away from the aforementioned processor 1001 .
- the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an operation application program of an intelligent interactive tablet.
- the operating system of the smart interactive tablet is an Android system.
- the user interface 1003 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 1001 can be used to call the operation application of the smart interactive tablet stored in the memory 1005 program, and do the following:
- the window of one application among the windows of multiple applications is the focus window before the window is switched, and the window is in non-full-screen display mode;
- the window switching instruction is sent by the control device when it detects a window switching operation that the user acts on the control device, and the window switching instruction is used to indicate the relationship between the focus window after the window switching and the focus window before the window switching;
- the focus window before the window switch and the window switch instruction determine the focus window after the window switch.
- the window switching instruction is used to indicate the positional relationship between the focus window after the window switching and the focus window before the window switching.
- the operating system of the smart interactive tablet is the Android system.
- the processor 1001 executes the step of determining the focus window after the window switching according to the focus window before the window switching and the window switching instruction, as follows: according to the window switching instruction, determining the focus window after the window switching relative to the focus before the window switching The direction of the window; taking the focus window before window switching as a benchmark, determine that at least one window located in the above direction is the window to be selected; determine the coordinate difference between the window to be selected and the focus window before window switching in the direction; according to the coordinates The difference determines the focus window after the window is switched.
- the step of determining the focus window after window switching according to the coordinate difference performed by the processor 1001 is: determining the window to be selected corresponding to the coordinate difference satisfying a preset condition as the focus window after the window switching, and the preset condition includes: The coordinate difference is minimal.
- the window switching instruction is used to indicate a display hierarchy relationship between the focus window after the window switching and the focus window before the window switching.
- the operating system of the smart interactive tablet is the Android system.
- the processor 1001 executes the step of determining the focus window after the window switching according to the focus window before the window switching and the window switching instruction as follows: according to the window switching instruction, determining that the focus window after the window switching is located before the window switching The Nth window under the display level of the focus window, N is a positive integer, and N is less than the number of currently displayed windows; based on the focus window before window switching, determine the Nth display level in the preset window switching sequence The corresponding window is the focus window after the window switching, and the preset window switching sequence includes the display levels of the windows of multiple applications.
- the processor 1001 further performs the following steps: setting the preset window switching sequence according to the following manner:
- the display level of the focus window before the window switching is set to bottom.
- the step of displaying multiple windows performed by the processor 1001 is: displaying the windows of multiple applications in an incompletely overlapping manner.
- the processor 1001 executes the steps of displaying windows of multiple applications that are not completely overlapped: obtaining the package name of the application in response to the opening operation acting on the corresponding application; determining the corresponding application according to the package name and the hash function. Offset information of the window, the offset information includes the offset of the window relative to the display in the middle of the screen; the application window is displayed according to the offset.
- the step of displaying the window of the application according to the offset by the processor 1001 is: according to the offset and the size of the window, determine whether the window display overflows the screen; if the window display overflows the screen, display the application's window according to the overflow amount. The window is fully displayed on the screen.
- the processor 1001 further performs the following steps: in response to the closing operation of the window of the application, saving the display position of the corresponding window, so as to display the window of the application according to the display position when the corresponding application is opened again.
- the processor 1001 further performs the following steps: after determining the focus window after the window switching, display the focus window after the window switching on top.
- the windows of the above plurality of applications include top windows. If the focus window after the window switching is not the top window, the step of the processor 1001 performing the top display of the focus window after the window switch may be: displaying the focus window after the window switching at the front of the non-top window, and the non-top windows are multiple A window other than the top window among the windows of an application.
- the processor 1001 further performs the following steps: receiving a mode switching instruction, the mode switching instruction is sent by the control device when detecting a mode switching operation performed by the user on the control device, and the mode switching instruction is used to indicate the control mode Switch, the control mode includes the focus control mode within the window and the focus control mode between windows, the focus control mode between windows includes window switching; when the current control mode is the focus control mode within the window, switch to the focus control mode between windows , or, when the current control mode is the focus control mode between windows, switch to the focus control mode within the window.
- the processor 1001 displays the windows of multiple applications, which can also be expressed as the processor 1001 displays the windows of multiple applications through the display screen. Those skilled in the art can understand its meaning.
- the windows of multiple applications are displayed, and the window of one application among the windows of multiple applications is the focus window before the window switching, and the window is in a non-full-screen display mode;
- the window switching instruction is received, and the window switching instruction is the control device Sent when a window switching operation acting on the control device by the user is detected, the window switching instruction is used to indicate the relationship between the focus window after the window switching and the focus window before the window switching; according to the focus window before the window switching and the window switching instruction , which determines the focus window after the window is switched.
- the device can be controlled by receiving the window switching instruction, and combining the relationship between the focus window after the window switching indicated by the window switching instruction and the focus window before the window switching, determine the focus window after the window switching, and set it to the top Displaying the focus window after the window switching can solve the problem that the current non-touch operation cannot directly switch the windows of different applications, and achieve the effect of free switching between the windows of different applications.
- the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
- computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
- These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions
- the apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
- a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
- processors CPUs
- input/output interfaces network interfaces
- memory volatile and non-volatile memory
- Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
- RAM random access memory
- ROM read only memory
- flash RAM flash memory
- Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology.
- Information may be computer readable instructions, data structures, modules of programs, or other data.
- Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
- computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
本申请要求于2021年04月16日提交国家知识产权局、申请号为202110411302.8、发明名称为“窗口切换方法、存储介质及相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110411302.8 and the invention titled "Window switching method, storage medium and related equipment", which was submitted to the State Intellectual Property Office on April 16, 2021, the entire contents of which are incorporated by reference in in this application.
本申请涉及多窗口操作技术领域,例如涉及一种窗口切换方法、存储介质及相关设备。The present application relates to the technical field of multi-window operations, for example, to a window switching method, a storage medium and related devices.
对于单窗口全屏模式,用户可以通过触摸操作或非触摸操作实现窗口内的焦点切换。其中,非触摸操作是指通过例如遥控器、键盘或轨迹球等控制设备的上下左右等按键实施的操作。若将当前可操作窗口由应用A的窗口切换到应用B的窗口,则需要先返回桌面,再从桌面程序中找到并打开应用B的窗口。For single-window full-screen mode, the user can switch the focus within the window through touch or non-touch operations. Wherein, the non-touch operation refers to an operation performed by, for example, a remote control, a keyboard, a trackball, and other buttons of a control device such as up, down, left, and right. If the current operable window is switched from the window of application A to the window of application B, it is necessary to return to the desktop first, and then find and open the window of application B from the desktop program.
但随着电子设备的屏幕越来越大,电子设备可以将多个应用的窗口同时显示在屏幕上,即多应用窗口显示模式。在多应用窗口显示模式下,通过非触摸操作无法直接从应用A的窗口切换到应用B的窗口。However, as the screen of the electronic device becomes larger and larger, the electronic device can simultaneously display the windows of multiple applications on the screen, that is, a multi-application window display mode. In the multi-application window display mode, it is not possible to directly switch from the window of application A to the window of application B through a non-touch operation.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种窗口切换方法、存储介质及相关设备,以解决目前非触摸操作无法直接进行不同应用间窗口切换的问题。所述技术方案如下:Embodiments of the present application provide a window switching method, a storage medium, and a related device, so as to solve the problem that the current non-touch operation cannot directly perform window switching between different applications. The technical solution is as follows:
第一方面,本申请实施例提供了一种窗口切换方法,包括:In a first aspect, an embodiment of the present application provides a method for switching windows, including:
显示多个应用的窗口,多个应用的窗口中一个应用的窗口为窗口切换前的焦点窗口,窗口为非全屏显示模式;Display the windows of multiple applications, the window of one application among the windows of multiple applications is the focus window before the window is switched, and the window is in non-full-screen display mode;
接收窗口切换指令,窗口切换指令是控制设备在检测到用户作用于该控制设备的窗口切换操作时发出的,窗口切换指令用于指示窗口切换后的焦点窗口与窗口切换前的焦点窗口的关系;Receive a window switching instruction, the window switching instruction is sent by the control device when it detects a window switching operation that the user acts on the control device, and the window switching instruction is used to indicate the relationship between the focus window after the window switching and the focus window before the window switching;
根据窗口切换前的焦点窗口及窗口切换指令,确定窗口切换后的焦点窗口。According to the focus window before the window switch and the window switch instruction, determine the focus window after the window switch.
可选地,窗口切换指令用于指示窗口切换后的焦点窗口与窗口切换前的焦点窗口的位置关系。上述根据窗口切换前的焦点窗口及窗口切换指令,确定窗口切换后的焦点窗口,可以包括:根据窗口切换指令,确定窗口切换后的焦点窗口相对窗口切换前的焦点窗口的方向;以窗口切换前的焦点窗口为基准,确定位于上述方向上的至少一个窗口为待选窗口;确定待选窗口与窗口切换前的焦点窗口在所述方向上的坐标差;根据坐标差确定窗口切换 后的焦点窗口。Optionally, the window switching instruction is used to indicate the positional relationship between the focus window after the window switching and the focus window before the window switching. The above-mentioned determination of the focus window after the window switching according to the focus window before the window switching and the window switching instruction may include: according to the window switching instruction, determining the direction of the focus window after the window switching relative to the focus window before the window switching; The focus window is the benchmark, and at least one window located in the above direction is determined as the window to be selected; the coordinate difference in the direction between the window to be selected and the focus window before the window switching is determined; the focus window after the window switching is determined according to the coordinate difference. .
可选地,上述根据坐标差确定窗口切换后的焦点窗口,包括:确定满足预设条件的坐标差对应的待选窗口为窗口切换后的焦点窗口,该预设条件包括坐标差最小。Optionally, determining the focus window after window switching according to the coordinate difference includes: determining the window to be selected corresponding to the coordinate difference satisfying a preset condition as the focus window after window switching, where the preset condition includes the smallest coordinate difference.
可选地,窗口切换指令用于指示窗口切换后的焦点窗口与所述窗口切换前的焦点窗口的显示层级关系。上述根据窗口切换前的焦点窗口及窗口切换指令,确定窗口切换后的焦点窗口,包括:根据窗口切换指令,确定窗口切换后的焦点窗口是位于窗口切换前的焦点窗口的显示层级之下的第N个窗口,N为正整数,且N小于当前显示的窗口个数;以窗口切换前的焦点窗口为基准,确定预设窗口切换顺序中第N个显示层级对应的窗口为窗口切换后的焦点窗口,预设窗口切换顺序包含多个应用的窗口的显示层级。Optionally, the window switching instruction is used to indicate the display hierarchy relationship between the focus window after the window switching and the focus window before the window switching. The above-mentioned determining the focus window after the window switching according to the focus window and the window switching instruction before the window switching includes: according to the window switching instruction, determining that the focus window after the window switching is the first one located under the display level of the focus window before the window switching. N windows, N is a positive integer, and N is less than the number of currently displayed windows; take the focus window before the window switching as the benchmark, determine the window corresponding to the Nth display level in the preset window switching sequence as the focus after the window switching Window, the preset window switching sequence includes the display level of the windows of multiple applications.
可选地,窗口切换方法还可以包括:根据以下方式设置预设窗口切换顺序:Optionally, the window switching method may further include: setting a preset window switching sequence according to the following methods:
响应作用于应用的打开操作,在预设窗口切换顺序中将新创建窗口的显示层级设置为置顶;In response to the open operation acting on the application, set the display level of the newly created window to top in the preset window switching sequence;
响应作用于窗口的关闭操作,在预设窗口切换顺序中删除所关闭窗口的信息;In response to the closing operation acting on the window, delete the information of the closed window in the preset window switching sequence;
响应于接收到窗口切换指令,将窗口切换前的焦点窗口的显示层级设置为置底。In response to receiving the window switching instruction, the display level of the focus window before the window switching is set to bottom.
可选地,上述显示多个应用的窗口,可以包括:不完全重合的显示多个应用的窗口。Optionally, the above-mentioned window for displaying multiple applications may include: incompletely overlapping windows for displaying multiple applications.
可选地,上述不完全重合的显示多个应用的窗口,包括:响应作用于对应应用的打开操作,获取应用程序的包名;根据包名及哈希函数,确定对应窗口的偏移信息,偏移信息包含窗口相对屏幕中间显示的偏移量;根据偏移量显示应用的窗口。Optionally, the above-mentioned incompletely overlapping windows for displaying multiple applications include: obtaining the package name of the application in response to the opening operation acting on the corresponding application; determining the offset information of the corresponding window according to the package name and the hash function, The offset information contains the offset of the window relative to the display in the middle of the screen; the window of the application is displayed according to the offset.
可选地,上述根据偏移量显示应用的窗口,包括:根据偏移量及窗口大小,确定窗口显示是否溢出屏幕;若窗口显示溢出屏幕,则根据溢出量将应用的窗口完整地显示在屏幕中。Optionally, the above-mentioned displaying the window of the application according to the offset includes: determining whether the window display overflows the screen according to the offset and the size of the window; if the window display overflows the screen, completely displaying the application window on the screen according to the overflow amount. middle.
可选地,窗口切换方法还包括:响应作用于应用的窗口的关闭操作,保存对应窗口的显示位置,以在再次打开对应应用时按照该显示位置显示应用的窗口。Optionally, the window switching method further includes: in response to a closing operation acting on the window of the application, saving the display position of the corresponding window, so as to display the window of the application according to the display position when the corresponding application is opened again.
可选地,窗口切换方法还包括:在确定窗口切换后的焦点窗口之后,置顶显示窗口切换后的焦点窗口。Optionally, the window switching method further includes: after determining the focus window after the window switching, displaying the focus window after the window switching is displayed on top.
可选地,上述多个应用的窗口包括置顶窗口。若窗口切换后的焦点窗口不是置顶窗口,则上述置顶显示窗口切换后的焦点窗口,可以包括:将窗口切换后的焦点窗口显示在非置顶窗口的最前面,非置顶窗口为多个应用的窗口中除置顶窗口之外的窗口。Optionally, the windows of the above multiple applications include a top window. If the focus window after the window switching is not the top window, the above-mentioned focus window after the window switching may include: displaying the focus window after the window switching at the front of the non-top window, and the non-top window is a window of multiple applications windows other than the top window.
可选地,窗口切换方法还包括:接收模式切换指令,模式切换指令是控制设备在检测到用户作用于控制设备的模式切换操作时发出的,模式切换指令用于指示控制模式的切换, 控制模式包括窗口内的焦点控制模式和窗口间的焦点控制模式,窗口间的焦点控制模式包括窗口切换;若当前控制模式为窗口内的焦点控制模式,则切换为窗口间的焦点控制模式,或者,若当前控制模式为窗口间的焦点控制模式,则切换为窗口内的焦点控制模式。Optionally, the window switching method further includes: receiving a mode switching instruction, the mode switching instruction is sent by the control device when detecting a mode switching operation that the user acts on the control device, and the mode switching instruction is used to indicate the switching of the control mode, and the control mode Including the focus control mode within a window and the focus control mode between windows, the focus control mode between windows includes window switching; if the current control mode is the focus control mode within the window, then switch to the focus control mode between windows, or, if If the current control mode is the focus control mode between windows, switch to the focus control mode within the window.
第二方面,本申请实施例提供了一种窗口切换装置,包括:In a second aspect, an embodiment of the present application provides a window switching device, including:
显示模块,用于显示多个应用的窗口,多个应用的窗口中一个应用的窗口为窗口切换前的焦点窗口,窗口为非全屏显示模式;The display module is used to display the windows of multiple applications, the window of one application among the windows of multiple applications is the focus window before the window is switched, and the window is in a non-full-screen display mode;
收发模块,用于接收窗口切换指令,窗口切换指令是控制设备在检测到用户作用于控制设备的窗口切换操作时发出的,窗口切换指令用于指示窗口切换后的焦点窗口与窗口切换前的焦点窗口的关系;The transceiver module is used to receive the window switching instruction. The window switching instruction is sent by the control device when it detects the window switching operation that the user acts on the control device. The window switching instruction is used to indicate the focus window after the window switching and the focus before the window switching. window relationship;
处理模块,用于根据窗口切换前的焦点窗口及窗口切换指令,确定窗口切换后的焦点窗口。The processing module is used for determining the focus window after the window switching according to the focus window before the window switching and the window switching instruction.
可选地,窗口切换指令用于指示窗口切换后的焦点窗口与所述窗口切换前的焦点窗口的位置关系。处理模块可用于:根据窗口切换指令,确定窗口切换后的焦点窗口相对窗口切换前的焦点窗口的方向;以窗口切换前的焦点窗口为基准,确定位于所述方向上的至少一个窗口为待选窗口;确定待选窗口与窗口切换前的焦点窗口在所述方向上的坐标差;根据坐标差确定窗口切换后的焦点窗口。Optionally, the window switching instruction is used to indicate the positional relationship between the focus window after the window switching and the focus window before the window switching. The processing module can be used to: according to the window switching instruction, determine the direction of the focus window after the window switching relative to the focus window before the window switching; take the focus window before the window switching as a benchmark, determine that at least one window located in the direction is to be selected window; determine the coordinate difference between the window to be selected and the focus window before the window switching in the direction; determine the focus window after the window switching according to the coordinate difference.
可选地,处理模块在用于根据坐标差确定窗口切换后的焦点窗口时,用于:确定满足预设条件的坐标差对应的待选窗口为窗口切换后的焦点窗口,预设条件包括坐标差最小。Optionally, when the processing module is used to determine the focus window after the window switching according to the coordinate difference, the processing module is used to: determine the window to be selected corresponding to the coordinate difference that satisfies a preset condition as the focus window after the window switching, and the preset condition includes the coordinates. The difference is minimal.
可选地,窗口切换指令用于指示窗口切换后的焦点窗口与窗口切换前的焦点窗口的显示层级关系。处理模块可用于:根据窗口切换指令,确定窗口切换后的焦点窗口是位于窗口切换前的焦点窗口的显示层级之下的第N个窗口,N为正整数,且N小于当前显示的窗口个数;以窗口切换前的焦点窗口为基准,确定预设窗口切换顺序中第N个显示层级对应的窗口为窗口切换后的焦点窗口,预设窗口切换顺序包含多个应用的窗口的显示层级。Optionally, the window switching instruction is used to indicate the display hierarchy relationship between the focus window after the window switching and the focus window before the window switching. The processing module can be used to: determine, according to the window switching instruction, that the focus window after the window switching is the Nth window located under the display level of the focus window before the window switching, where N is a positive integer, and N is less than the number of currently displayed windows ; Based on the focus window before the window switching, determine the window corresponding to the Nth display level in the preset window switching sequence as the focus window after the window switching, and the preset window switching sequence includes the display levels of the windows of multiple applications.
可选地,处理模块还可以用于:根据以下方式设置预设窗口切换顺序:Optionally, the processing module can also be used to: set the preset window switching sequence according to the following methods:
响应作用于应用的打开操作,在预设窗口切换顺序中将新创建窗口的显示层级设置为置顶;In response to the open operation acting on the application, set the display level of the newly created window to top in the preset window switching sequence;
响应作用于窗口的关闭操作,在预设窗口切换顺序中删除所关闭窗口的信息;In response to the closing operation acting on the window, delete the information of the closed window in the preset window switching sequence;
响应于接收到窗口切换指令,将窗口切换前的焦点窗口的显示层级设置为置底。In response to receiving the window switching instruction, the display level of the focus window before the window switching is set to bottom.
可选地,显示模块在用于显示多个应用的窗口时,用于:不完全重合的显示多个应用的窗口。Optionally, when the display module is used to display the windows of multiple applications, it is configured to: display the windows of multiple applications in an incompletely overlapped manner.
可选地,显示模块在不完全重合的显示多个应用的窗口时,用于:响应作用于对应应用的打开操作,获取应用程序的包名;根据包名及哈希函数,确定对应窗口的偏移信息,偏移信息包含窗口相对屏幕中间显示的偏移量;根据偏移量显示应用的窗口。Optionally, when displaying the windows of multiple applications that are not completely overlapped, the display module is used to: in response to the opening operation acting on the corresponding application, obtain the package name of the application; according to the package name and the hash function, determine the corresponding window's Offset information, the offset information contains the offset of the window relative to the display in the middle of the screen; the window of the application is displayed according to the offset.
可选地,显示模块在根据所述偏移量显示应用的窗口时,用于:根据偏移量及窗口大小,确定窗口显示是否溢出屏幕;若窗口显示溢出屏幕,则根据溢出量将应用的窗口完整地显示在屏幕中。Optionally, when displaying the window of the application according to the offset, the display module is used to: determine whether the window display overflows the screen according to the offset and the window size; if the window display overflows the screen, then according to the overflow The window is fully displayed on the screen.
可选地,处理模块还可以用于:响应作用于应用的窗口的关闭操作,保存对应窗口的显示位置,以在再次打开对应应用时按照该显示位置显示应用的窗口。Optionally, the processing module may be further configured to: in response to a closing operation acting on the window of the application, save the display position of the corresponding window, so as to display the window of the application according to the display position when the corresponding application is opened again.
可选地,处理模块还用于:在确定窗口切换后的焦点窗口之后,触发显示模块置顶显示窗口切换后的焦点窗口。Optionally, the processing module is further configured to: after determining the focus window after the window switching, trigger the display module to display the focus window after the window switching on top.
可选地,多个应用的窗口包括置顶窗口。若窗口切换后的焦点窗口不是置顶窗口,则显示模块在置顶显示窗口切换后的焦点窗口时,用于:将窗口切换后的焦点窗口显示在非置顶窗口的最前面,非置顶窗口为多个应用的窗口中除置顶窗口之外的窗口。Optionally, the windows of the plurality of applications include top windows. If the focus window after window switching is not the top window, when the display module displays the focus window after window switching on top, it is used to: display the focus window after window switching at the front of the non-top window, and the non-top windows are multiple A window other than the top window in the application's window.
可选地,收发模块,还用于接收模式切换指令,模式切换指令是控制设备在检测到用户作用于控制设备的模式切换操作时发出的,模式切换指令用于指示控制模式的切换,控制模式包括窗口内的焦点控制模式和窗口间的焦点控制模式,窗口间的焦点控制模式包括窗口切换。处理模块,还用于在当前控制模式为窗口内的焦点控制模式时,切换为窗口间的焦点控制模式,或者,在当前控制模式为窗口间的焦点控制模式时,切换为窗口内的焦点控制模式。Optionally, the transceiver module is further configured to receive a mode switching instruction, the mode switching instruction is issued when the control device detects a mode switching operation that the user acts on the control device, and the mode switching instruction is used to indicate the switching of the control mode, and the control mode It includes a focus control mode within a window and a focus control mode between windows, and the focus control mode between windows includes window switching. The processing module is further configured to switch to the focus control mode between windows when the current control mode is the focus control mode within the window, or switch to the focus control mode within the window when the current control mode is the focus control mode between the windows model.
第三方面,本申请实施例提供一种计算机存储介质,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行上述的方法步骤。In a third aspect, an embodiment of the present application provides a computer storage medium, where the computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above method steps.
第四方面,本申请实施例提供一种电子设备,包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行上述的方法步骤。In a fourth aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory; wherein, the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the above method steps.
第五方面,本申请实施例提供一种计算机程序产品,包括包含多条指令,指令适于由处理器加载并执行上述的方法步骤。In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a plurality of instructions, and the instructions are adapted to be loaded by a processor and execute the above method steps.
第六方面,本申请实施例提供一种窗口切换系统,包括如第四方面所述的电子设备和控制设备。其中,该控制设备用于在检测到用户作用于该控制设备的窗口切换操作时发出窗口切换指令,窗口切换指令用于指示窗口切换后的焦点窗口与窗口切换前的焦点窗口的关系。In a sixth aspect, an embodiment of the present application provides a window switching system, including the electronic device and the control device as described in the fourth aspect. The control device is configured to issue a window switching instruction when detecting a window switching operation performed by the user on the control device, and the window switching instruction is used to indicate the relationship between the focus window after the window switching and the focus window before the window switching.
在本申请实施例中,显示多个应用的窗口,多个应用的窗口中一个应用的窗口为 窗口切换前的焦点窗口,窗口为非全屏显示模式;接收窗口切换指令,窗口切换指令是控制设备在检测到用户作用于该控制设备的窗口切换操作时发出的,窗口切换指令用于指示窗口切换后的焦点窗口与窗口切换前的焦点窗口的关系;根据窗口切换前的焦点窗口及窗口切换指令,确定窗口切换后的焦点窗口;置顶显示窗口切换后的焦点窗口。可以在多窗口显示模式下,通过接收来控制设备的窗口切换指令,结合窗口切换指令指示的窗口切换后的焦点窗口与窗口切换前的焦点窗口的关系,确定窗口切换后的焦点窗口,从而解决目前非触摸操作无法直接进行不同应用的窗口切换的问题,达到不同应用的窗口间自由切换的效果。In the embodiment of the present application, the windows of multiple applications are displayed, and the window of one application among the windows of multiple applications is the focus window before the window switching, and the window is in a non-full-screen display mode; the window switching instruction is received, and the window switching instruction is the control device Sent when a window switching operation acting on the control device by the user is detected, the window switching instruction is used to indicate the relationship between the focus window after the window switching and the focus window before the window switching; according to the focus window before the window switching and the window switching instruction , to determine the focus window after window switching; the focus window after window switching is displayed on top. In the multi-window display mode, by receiving the window switching instruction to control the device, and combining the relationship between the focus window after the window switching indicated by the window switching instruction and the focus window before the window switching, determine the focus window after the window switching, so as to solve the problem. Currently, a non-touch operation cannot directly switch between windows of different applications, so as to achieve the effect of free switching between windows of different applications.
为了更清楚地说明本申请实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图做简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application or related technologies more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments or related technologies. Obviously, the drawings in the following description are the drawings of the present application. For some embodiments of the present invention, for those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1是单窗口全屏模式下窗口切换示意图;Figure 1 is a schematic diagram of window switching in single-window full-screen mode;
图2是本申请实施例提供的一种窗口切换方法的流程示意图;2 is a schematic flowchart of a window switching method provided by an embodiment of the present application;
图3是本申请实施例提供的多窗口显示效果示意图;3 is a schematic diagram of a multi-window display effect provided by an embodiment of the present application;
图4是本申请实施例提供的非全屏显示效果示意图;4 is a schematic diagram of a non-full-screen display effect provided by an embodiment of the present application;
图5是本申请实施例提供的窗口切换前后的一显示效果示意图;5 is a schematic diagram of a display effect before and after window switching provided by an embodiment of the present application;
图6是本申请实施例提供的窗口切换前后的另一显示效果示意图;6 is a schematic diagram of another display effect before and after window switching provided by an embodiment of the present application;
图7是本申请实施例提供的窗口切换前后的又一显示效果示意图;7 is a schematic diagram of another display effect before and after window switching provided by an embodiment of the present application;
图8是本申请实施例提供的窗口偏移显示效果示意图;8 is a schematic diagram of a window offset display effect provided by an embodiment of the present application;
图9是本申请实施例提供的应用场景示意图;9 is a schematic diagram of an application scenario provided by an embodiment of the present application;
图10是本申请实施例提供的一种窗口切换装置的结构示意图;10 is a schematic structural diagram of a window switching device provided by an embodiment of the present application;
图11是本申请实施例提供的一种智能交互平板的结构示意图。FIG. 11 is a schematic structural diagram of an intelligent interactive tablet provided by an embodiment of the present application.
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施例方式做详细描述。In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
应当明确,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。It should be clear that the described embodiments are some, but not all, embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application, as recited in the appended claims.
在本申请的描述中,需要理解的是,术语“第一”、“第二”、“第三”等仅用于区别类似的对象,而不必用于描述特定的顺序或先后次序,也不能理解为指示或暗示相对重要性。对于本领域的普通技术人员而言,可以根据情况理解上述术语在本申请中的含义。此外,在本申请的描述中,除非另有说明,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。In the description of this application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence, nor can understood as indicating or implying relative importance. For those of ordinary skill in the art, the meanings of the above terms in the present application can be understood according to the situation. Also, in the description of the present application, unless otherwise specified, "a plurality" means two or more. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects are an "or" relationship.
智能交互平板(interactive white board)的硬件部分由触控显示模组、智能处理系统(包括控制器)等部分所构成,由整体结构件结合到一起,同时也由专用的软件系统作为支撑,其中触控显示模组包括显示屏、触控组件和背光灯组件,背光灯组件用于为显示屏提供背光光源,显示屏一般采用液晶显示装置,用于进行画面展示,触控组件设置在显示屏上或者设置在显示屏前端,用于采集用户的触控操作数据,并将采集的触控操作数据发送到智能处理系统进行处理。The hardware part of the intelligent interactive white board is composed of a touch display module, an intelligent processing system (including a controller) and other parts, which are combined by the overall structural parts, and are also supported by a dedicated software system. The touch display module includes a display screen, a touch component and a backlight component. The backlight component is used to provide a backlight source for the display screen. The display screen generally adopts a liquid crystal display device for screen display. The touch component is arranged on the display screen. It is used to collect the user's touch operation data, and send the collected touch operation data to the intelligent processing system for processing.
在实际使用中,智能交互平板的显示屏上显示画面数据,当用户通过手指或者触控笔等触控物体点击显示屏上显示的内容,例如点击显示屏上显示的图形按钮时,智能交互平板的触控组件将采集到触控数据,从而触控组件将该触控数据转换为触控点的坐标数据后发送到智能处理系统,或者发送到智能处理系统处由智能处理系统转换为触控点的坐标数据,智能处理系统获得触控点的坐标数据后,根据预先设定的程序实现相应的控制操作,驱动显示屏显示内容发生变化,实现多样化的显示、操作效果。In actual use, screen data is displayed on the display screen of the intelligent interactive tablet. When the user clicks the content displayed on the display with a touch object such as a finger or a stylus, for example, when clicking a graphic button displayed on the display, the intelligent interactive tablet The touch component will collect the touch data, so that the touch component converts the touch data into the coordinate data of the touch point and sends it to the intelligent processing system, or sends it to the intelligent processing system where the intelligent processing system converts the touch data into touch After obtaining the coordinate data of the touch point, the intelligent processing system realizes the corresponding control operation according to the preset program, drives the display content of the display screen to change, and realizes various display and operation effects.
从技术原理来区别触摸组件,可以分为五个基本种类;矢量压力传感技术触摸组件、电阻技术触摸组件、电容技术触摸组件、电磁技术触摸屏、红外线技术触摸组件、表面声波技术触摸组件。按照触摸组件的工作原理和传输信息的介质,可以把触摸组件分为四个种类:电阻式、电容感应式、电磁感应式、红外线式以及表面声波式。To distinguish touch components from technical principles, they can be divided into five basic categories: vector pressure sensing technology touch components, resistive technology touch components, capacitive technology touch components, electromagnetic technology touch screens, infrared technology touch components, and surface acoustic wave technology touch components. According to the working principle of touch components and the medium for transmitting information, touch components can be divided into four types: resistive type, capacitive induction type, electromagnetic induction type, infrared type and surface acoustic wave type.
当用户用手指或笔触摸显示屏时,触摸组件可以采集触控点的数据并发送到智能处理系统,然后随着智能处理系统内置的软件来实现不同的功能应用,从而实现对智能处理系统的触控控制。When the user touches the display screen with a finger or a pen, the touch component can collect the data of the touch point and send it to the intelligent processing system, and then realize different functional applications with the built-in software of the intelligent processing system, so as to realize the intelligent processing system. Touch control.
在本申请中所提到的“屏幕”、“大屏”均指智能交互平板(interactive white board)、智能电视等电子设备的显示屏;智能交互平板显示某个界面/窗口是指智能交互平板的显示屏显示该界面/窗口。The "screen" and "large screen" mentioned in this application all refer to the display screen of electronic equipment such as intelligent interactive white board (interactive white board) and smart TV; the display of a certain interface/window on the intelligent interactive flat panel refers to the intelligent interactive flat panel The screen/window is displayed on the display.
控制设备,包括但不限于遥控器、键盘、轨迹球等。该控制设备设置有通信接口、处理器和按键,处理器分别与通信接口和按键连接。控制设备通过通信接口与电子设备连接。按键用于触发处理器产生相关的控制指令,例如按键被点击操作后,处理器将接收到按键发送的操作数据,并根据该操作数据对应生成窗口切换指令。可选地,按键与控制指令存在绑定关系。例如,由于键盘上包含的按键较多,此时可通过键盘包含的上下左右这四个方向按键进行应用内焦点控制;另外,选择其他四个按键用于应用间焦点控制,即在应用之间进行上下左右四个方向的焦点控制。又例如,由于遥控器上包含的按键较少,例如遥控器包含四个或更少的按键,此时可通过区分用户按压按键的时长或力度,分别与不同功能的控制指令进行绑定。Control devices, including but not limited to remote controls, keyboards, trackballs, etc. The control device is provided with a communication interface, a processor and a key, and the processor is respectively connected with the communication interface and the key. The control device is connected with the electronic device through the communication interface. The key is used to trigger the processor to generate relevant control instructions. For example, after the key is clicked, the processor will receive the operation data sent by the key, and correspondingly generate a window switching instruction according to the operation data. Optionally, there is a binding relationship between the key and the control instruction. For example, since there are many keys on the keyboard, you can use the four direction keys included in the keyboard to control the focus within the application; in addition, select the other four keys for focus control between applications, that is, between applications Perform focus control in four directions: up, down, left, and right. For another example, since the remote controller contains fewer buttons, for example, the remote controller contains four or fewer buttons, at this time, by distinguishing the duration or strength of the buttons pressed by the user, they can be bound to control instructions of different functions respectively.
目前市场上安卓(Android)系统的设备广泛使用触摸操作,对于非触摸操作,如通过控制设备实施的操作,存在一些操作的问题。目前,非触摸操作只适用于单窗口全屏模式,通过上/下/左/右/确定按键,实现应用内部的操作。如果从应用A的窗口切换到应用B的窗口,如图1所示:At present, devices of the Android (Android) system on the market widely use touch operations. For non-touch operations, such as operations performed by controlling the device, there are some operational problems. Currently, the non-touch operation is only applicable to the single-window full-screen mode, and the operation inside the application is realized through the up/down/left/right/OK button. If you switch from the window of application A to the window of application B, as shown in Figure 1:
关闭或最小化应用A的窗口,退出应用A;或者按起始键(Home键)返回桌面;Close or minimize the window of application A and exit application A; or press the home key (Home key) to return to the desktop;
在桌面包含的应用中找到应用B;Find application B among the applications included in the desktop;
打开应用B,显示应用B的窗口。Open application B, and display the window of application B.
随着安卓系统的电子设备的屏幕越来越大,推出了窗口化显示的安卓系统,安卓系统的电子设备可以将多个窗口同时显示在屏幕上,即多窗口显示模式。在多窗口显示模式下,通过非触摸操作无法直接从应用A的窗口切换到应用B的窗口。As the screen of the electronic device of the Android system is getting larger and larger, the Android system of windowed display is introduced, and the electronic device of the Android system can display multiple windows on the screen at the same time, that is, the multi-window display mode. In the multi-window display mode, it is not possible to directly switch from the window of application A to the window of application B through a non-touch operation.
基于上述问题,本申请实施例提供一种窗口切换方法、存储介质及相关设备,可以实现不退出应用/不返回桌面的情况下,实现焦点在不同应用间的窗口切换。Based on the above problems, the embodiments of the present application provide a window switching method, a storage medium, and a related device, which can realize window switching between different applications without exiting the application/returning to the desktop.
需要注意的是,由于篇幅所限,本申请说明书没有穷举所有可选的实施方式,本领域技术人员在阅读本申请说明书后,应该能够想到,只要技术特征不互相矛盾,那么技术特征的任意组合均可以构成可选的实施方式。It should be noted that, due to space limitations, the description of this application does not exhaustively list all optional implementations. After reading the description of this application, those skilled in the art should be able to imagine that as long as the technical features are not contradictory, any Combinations can constitute alternative embodiments.
例如,在实施例1的一个实施方式中,记载了一个技术特征a,在实施例1的另一个实施方式中或在实施例2中,记载了另一个技术特征b。由于以上两个技术特征不互相矛盾,本领域技术人员在阅读本申请说明书后,应该能够想到,同时具有这两个特征的实施 方式也是一种可选的实施方式,即a且b。For example, in one embodiment of Example 1, one technical feature a is described, and in another embodiment of Example 1 or in Example 2, another technical feature b is described. Since the above two technical features are not contradictory to each other, those skilled in the art should be able to think after reading the specification of this application that the embodiment with these two features at the same time is also an optional embodiment, namely a and b.
记载在不同实施例中的不互相矛盾的技术特征也可以任意组合,构成可选的实施方式。Non-contradictory technical features described in different embodiments can also be combined arbitrarily to form optional embodiments.
例如,实施例1中记载了技术特征c。为了控制本申请说明书的篇幅,在实施例2、实施例3中,并没有记载这个技术特征。但是本领域技术人员在阅读本申请说明书后,应该能够想到,实施例2、实施例3所提供的窗口切换方法也可以包括该技术特征。For example, technical feature c is described in Example 1. In order to control the length of the description of the present application, in Embodiment 2 and Embodiment 3, this technical feature is not described. However, after reading the description of the present application, those skilled in the art should be able to think that the window switching methods provided in Embodiment 2 and Embodiment 3 may also include this technical feature.
下面对实施例1、实施例2、实施例3进行详细说明。Embodiment 1, Embodiment 2, and Embodiment 3 will be described in detail below.
实施例1Example 1
本申请实施例公开了一种窗口切换方法,该方法应用于智能交互平板等电子设备。以下以智能交互平板为例进行说明。The embodiment of the present application discloses a window switching method, and the method is applied to electronic devices such as intelligent interactive tablet. The following description takes the intelligent interactive tablet as an example.
下面将结合图2,对本申请实施例提供的窗口切换方法进行详细介绍。The window switching method provided by the embodiment of the present application will be described in detail below with reference to FIG. 2 .
请参见图2,为本申请实施例公开的一种窗口切换方法的流程图。该方法包括以下步骤:Please refer to FIG. 2 , which is a flowchart of a window switching method disclosed in an embodiment of the present application. The method includes the following steps:
S201,显示多个应用的窗口,多个应用的窗口中一个应用的窗口为窗口切换前的焦点窗口,窗口为非全屏显示模式。S201 , displaying windows of multiple applications, wherein the window of one application among the windows of multiple applications is the focus window before the window is switched, and the window is in a non-full-screen display mode.
在实际应用中,当用户打开应用时,智能交互平板显示该应用对应的窗口,在窗口中呈现该应用的界面。在用户打开的应用有多个时,智能交互平板同时显示多个应用的窗口,即多窗口显示,如图3所示。In practical applications, when a user opens an application, the intelligent interactive tablet displays a window corresponding to the application, and presents the interface of the application in the window. When there are multiple applications opened by the user, the smart interactive tablet simultaneously displays windows of multiple applications, that is, multi-window display, as shown in FIG. 3 .
多窗口显示模式下,窗口的大小是小于屏幕的大小的,也就是说,窗口为非全屏显示模式,如图4所示。In the multi-window display mode, the size of the window is smaller than the size of the screen, that is, the window is in a non-full-screen display mode, as shown in FIG. 4 .
在显示的多个应用的窗口中,只有一个应用的窗口为焦点窗口。其中,焦点窗口是指当前操作窗口,用户可以通过触摸操作和/或非触摸操作对焦点窗口进行控制,例如点击焦点窗口的关闭按钮以关闭焦点窗口,或者,点击焦点窗口的菜单栏中的控件以实现相应功能,等等。Among the displayed windows of multiple applications, only the window of one application is the focus window. The focus window refers to the current operation window, and the user can control the focus window through touch operation and/or non-touch operation, for example, click the close button of the focus window to close the focus window, or click the control in the menu bar of the focus window to achieve the corresponding function, and so on.
S202,接收窗口切换指令,窗口切换指令是控制设备在检测到用户作用于该控制设备的窗口切换操作时发出的,窗口切换指令用于指示窗口切换后的焦点窗口与窗口切换前的焦点窗口的关系。S202: Receive a window switching instruction, where the window switching instruction is issued by the control device when detecting a window switching operation performed by the user on the control device, and the window switching instruction is used to indicate the difference between the focus window after the window switching and the focus window before the window switching. relation.
由于本申请实施例是通过非触摸操作对不同应用的窗口进行切换,因此用户直接操作的是控制设备,其中,控制设备的相关说明以及控制设备与智能交互平板的关系如前所述,此处不再赘述。Since the embodiment of the present application switches the windows of different applications through a non-touch operation, the user directly operates the control device, wherein the relevant description of the control device and the relationship between the control device and the intelligent interactive tablet are as described above, here No longer.
示例性地,用户点击键盘的方向键,该方向键的功能是切换窗口;相应地,键盘响应 用户的点击操作,向智能交互平板发送窗口切换指令,指示智能交互平板进行窗口的切换。Exemplarily, the user clicks the direction key of the keyboard, and the function of the direction key is to switch windows; correspondingly, the keyboard responds to the user's click operation and sends a window switching instruction to the intelligent interactive tablet, instructing the intelligent interactive tablet to switch windows.
至于窗口切换操作,可以理解,与控制设备上按键在不同状态下的功能相关,示例地,如上文所述,当方向键的功能是切换窗口时,窗口切换操作可以为点击方向键的操作;或者,若长按方向键表示切换窗口,则窗口切换操作即长按方向键的操作,等等,需根据实际情况确定。As for the window switching operation, it can be understood that it is related to the functions of the keys on the control device in different states. For example, as described above, when the function of the direction keys is to switch windows, the window switching operation can be the operation of clicking the direction keys; Or, if long-pressing the direction key means switching windows, the window switching operation is the operation of long-pressing the direction key, etc., which need to be determined according to the actual situation.
另外,窗口切换指令的功能也是根据实际情况确定。示例地,窗口切换后的焦点窗口与窗口切换前的焦点窗口的关系可以为:窗口切换后的焦点窗口与窗口切换前的焦点窗口的位置关系,例如,窗口切换后的焦点窗口位于窗口切换前的焦点窗口的右侧;或者,窗口切换后的焦点窗口与窗口切换前的焦点窗口的显示层级关系,例如,窗口切换后的焦点窗口为窗口切换前的焦点窗口后要成为焦点窗口的窗口。In addition, the function of the window switching instruction is also determined according to the actual situation. For example, the relationship between the focus window after the window switching and the focus window before the window switching may be: the positional relationship between the focus window after the window switching and the focus window before the window switching, for example, the focus window after the window switching is located before the window switching. or, the display hierarchy relationship between the focus window after the window switch and the focus window before the window switch, for example, the focus window after the window switch is the window to become the focus window after the focus window before the window switch.
S203,根据窗口切换前的焦点窗口及窗口切换指令,确定窗口切换后的焦点窗口。S203 , according to the focus window before the window switching and the window switching instruction, determine the focus window after the window switching.
由于窗口切换指令指示了窗口切换后的焦点窗口与窗口切换前的焦点窗口的关系,而窗口切换前的焦点窗口的信息,智能交互平板是已知的,因此,根据窗口切换前的焦点窗口及窗口切换指令,可以确定如前所述多个应用的窗口中哪一个是窗口切换后的焦点窗口,确定方式可参考后续实施例。Since the window switching instruction indicates the relationship between the focus window after window switching and the focus window before window switching, and the information of the focus window before window switching is known to the intelligent interactive tablet, therefore, according to the focus window before window switching and the The window switching instruction can determine which one of the windows of the multiple applications is the focus window after the window switching as described above, and reference may be made to subsequent embodiments for the determination method.
在本申请实施例中,显示多个应用的窗口,多个应用的窗口中一个应用的窗口为窗口切换前的焦点窗口,窗口为非全屏显示模式;接收窗口切换指令,窗口切换指令是控制设备在检测到用户作用于该控制设备的窗口切换操作时发出的,窗口切换指令用于指示窗口切换后的焦点窗口与窗口切换前的焦点窗口的关系;根据窗口切换前的焦点窗口及窗口切换指令,确定窗口切换后的焦点窗口。可以在多窗口显示模式下,通过接收来控制设备的窗口切换指令,结合窗口切换指令指示的窗口切换后的焦点窗口与窗口切换前的焦点窗口的关系,确定窗口切换后的焦点窗口,从而解决目前非触摸操作无法直接进行不同应用的窗口切换的问题,达到不同应用的窗口间自由切换的效果。In the embodiment of the present application, the windows of multiple applications are displayed, and the window of one application among the windows of multiple applications is the focus window before the window switching, and the window is in a non-full-screen display mode; the window switching instruction is received, and the window switching instruction is the control device Sent when a window switching operation acting on the control device by the user is detected, the window switching instruction is used to indicate the relationship between the focus window after the window switching and the focus window before the window switching; according to the focus window before the window switching and the window switching instruction , which determines the focus window after the window is switched. In the multi-window display mode, by receiving the window switching instruction to control the device, and combining the relationship between the focus window after the window switching indicated by the window switching instruction and the focus window before the window switching, determine the focus window after the window switching, so as to solve the problem. Currently, a non-touch operation cannot directly switch between windows of different applications, so as to achieve the effect of free switching between windows of different applications.
一些实施例中,该窗口切换方法还可以包括:在确定窗口切换后的焦点窗口之后,置顶显示窗口切换后的焦点窗口。在多窗口显示模式下,不同窗口的显示层级是不同的。置顶显示是指显示在最前面,对于置顶显示的窗口,不存在被其他窗口遮挡的现象。仍以图3所示多个窗口为例,参考图5,在窗口切换后,置顶显示的焦点窗口由应用A的窗口变为的应用C的窗口。In some embodiments, the window switching method may further include: after determining the focus window after the window switching, displaying the focus window after the window switching is displayed on top. In multi-window display mode, the display levels of different windows are different. The top display means that it is displayed at the front. For the window displayed on the top, there is no phenomenon that it is blocked by other windows. Still taking the multiple windows shown in FIG. 3 as an example, referring to FIG. 5 , after the window is switched, the focus window displayed on top is changed from the window of application A to the window of application C.
实施例2Example 2
本申请实施例中,窗口切换指令用于指示窗口切换后的焦点窗口与窗口切换前的焦点 窗口的位置关系。该情况下,S203步骤可以包括:根据窗口切换指令,确定窗口切换后的焦点窗口相对窗口切换前的焦点窗口的方向;以窗口切换前的焦点窗口为基准,确定位于上述方向上的至少一个窗口为待选窗口;确定待选窗口与窗口切换前的焦点窗口在所述方向上的坐标差;根据坐标差确定窗口切换后的焦点窗口。In this embodiment of the present application, the window switching instruction is used to indicate the positional relationship between the focus window after the window switching and the focus window before the window switching. In this case, step S203 may include: according to the window switching instruction, determining the direction of the focus window after the window switching relative to the focus window before the window switching; taking the focus window before the window switching as a benchmark, determining at least one window located in the above direction is the window to be selected; the coordinate difference in the direction between the window to be selected and the focus window before the window switching is determined; the focus window after the window switching is determined according to the coordinate difference.
其中,各窗口在屏幕中的显示区域是以存储在智能交互平板中的,因此,智能交互平板可从内部获取当前显示的多个应用的窗口的显示区域。在一实施例中,智能交互平板可以根据窗口的显示区域,确定例如窗口的大小和窗口的中心点坐标或角标等信息。The display area of each window on the screen is stored in the intelligent interactive tablet, so the intelligent interactive tablet can obtain the display areas of the windows of the currently displayed multiple applications from the inside. In one embodiment, the intelligent interactive tablet can determine information such as the size of the window and the coordinates of the center point or the corner mark of the window according to the display area of the window.
仍参考图3,窗口切换前的焦点窗口为应用A的窗口,以中心点坐标为例,若应用A的窗口的中心点坐标为(X A,Y A),应用B的窗口的中心点坐标为(X B,Y B),应用C的窗口的中心点坐标为(X C,Y C),且根据窗口切换指令确定窗口切换后的焦点窗口在窗口切换前的焦点窗口的右侧,则待选窗口为应用B的窗口和应用C的窗口,分别计算应用B的窗口和应用C的窗口,与应用A的窗口在所述方向上的坐标差,并根据坐标差确定窗口切换后的焦点窗口。该示例中,应用B的窗口与应用A的窗口的坐标差为X B-X A;应用C的窗口与应用A的窗口的坐标差为X C-X A。 Still referring to Figure 3, the focus window before the window switching is the window of application A. Taking the coordinates of the center point as an example, if the coordinates of the center point of the window of application A are (X A , Y A ), the coordinates of the center point of the window of application B are is (X B , Y B ), the coordinates of the center point of the window where C is applied is (X C , Y C ), and it is determined according to the window switching instruction that the focus window after window switching is on the right side of the focus window before window switching, then The window to be selected is the window of application B and the window of application C, respectively calculate the coordinate difference between the window of application B and the window of application C, and the window of application A in the direction, and determine the focus after the window is switched according to the coordinate difference window. In this example, the coordinate difference between the window of application B and the window of application A is X B -X A ; the coordinate difference between the window of application C and the window of application A is X C -X A .
一种示例性实施例中,根据坐标差确定窗口切换后的焦点窗口可以包括:确定满足预设条件的坐标差对应的待选窗口为窗口切换后的焦点窗口,该预设条件包括但不限于坐标差最小和坐标差最大。若预设条件为坐标差最小,则在上述示例中,应用B的窗口与应用A的窗口的坐标差为X B-X A,要小于应用C的窗口与应用A的窗口的坐标差为X C-X A,因此,确定应用B的窗口为窗口切换后的焦点窗口。 In an exemplary embodiment, determining the focus window after the window switching according to the coordinate difference may include: determining that the window to be selected corresponding to the coordinate difference that satisfies a preset condition is the focus window after the window switching, and the preset condition includes but is not limited to The coordinate difference is the smallest and the coordinate difference is the largest. If the preset condition is that the coordinate difference is the smallest, in the above example, the coordinate difference between the window of application B and the window of application A is X B -X A , which is smaller than the coordinate difference between the window of application C and the window of application A is X C -X A , therefore, determine that the window of application B is the focus window after the window is switched.
假设窗口切换前的焦点窗口的中心点坐标(X0,Y0),其他应用的窗口的中心点坐标(Xn,Yn),可以根据导航键(WSAD)确定方向,并基于以下准则确定窗口切换后的焦点窗口:Assuming the center point coordinates (X0, Y0) of the focus window before the window switching, and the center point coordinates (Xn, Yn) of the windows of other applications, the direction can be determined according to the navigation key (WSAD), and the window after the window switching is determined based on the following criteria. Focus window:
W(上):Yn<Y0,Y0-Yn取最小值的窗口;W (top): Yn<Y0, the window where Y0-Yn takes the minimum value;
S(下):Yn>Y0,Yn-Y0取最小值的窗口;S (bottom): Yn>Y0, Yn-Y0 takes the minimum value of the window;
A(左):Xn<X0,X0-Xn取最小值的窗口;A (left): Xn<X0, the window where X0-Xn takes the minimum value;
D(右):Xn>X0,Xn-X0取最小值的窗口。D (right): Xn>X0, the window where Xn-X0 takes the minimum value.
其中,Yn<Y0,说明中心点坐标为(Xn,Yn)的点在中心点坐标为(X0,Y0)的点的上方。Wherein, Yn<Y0 means that the point whose center point coordinates are (Xn, Yn) is above the point whose center point coordinates are (X0, Y0).
例如,图6示出应用A的窗口、应用B的窗口和应用C的窗口这3个窗口之间的切换示意图。可见:当应用A的窗口为窗口切换前的焦点窗口时,通过W(上)可以切换至应用B的窗口,进一步通过A(左)可以切换至应用C的窗口,接下来通过A(左)或W(上)均可以切换至应用A的窗口;或者,当应用A的窗口为窗口切换前的焦点窗口时,通过S(下) 或D(右)均可以切换至应用C的窗口,进一步通过D(右)可以切换至应用B的窗口,接下来通过S(下)或可以切换至应用A的窗口。For example, FIG. 6 shows a schematic diagram of switching among three windows, namely, the window of application A, the window of application B, and the window of application C. Visible: When the window of application A is the focus window before the window is switched, you can switch to the window of application B through W (top), and then you can switch to the window of application C through A (left), and then through A (left) or W (top) can switch to the window of application A; or, when the window of application A is the focus window before the window switching, you can switch to the window of application C through S (bottom) or D (right), and further You can switch to the window of application B by pressing D (right), and then switch to the window of application A by pressing S (bottom).
实施例3Example 3
本申请实施例中,窗口切换指令用于指示窗口切换后的焦点窗口与窗口切换前的焦点窗口的显示层级关系。该情况下,S203步骤可以包括:根据窗口切换指令,确定窗口切换后的焦点窗口是位于窗口切换前的焦点窗口的显示层级之下的第N个窗口,N为正整数,且N小于当前显示的窗口个数;以窗口切换前的焦点窗口为基准,确定预设窗口切换顺序中第N个显示层级对应的窗口为窗口切换后的焦点窗口,预设窗口切换顺序包含多个应用的窗口的显示层级。In this embodiment of the present application, the window switching instruction is used to indicate the display hierarchy relationship between the focus window after the window switching and the focus window before the window switching. In this case, step S203 may include: according to the window switching instruction, determining that the focus window after the window switching is the Nth window located under the display level of the focus window before the window switching, N is a positive integer, and N is smaller than the current display The number of windows; the focus window before the window switching is used as the benchmark, and the window corresponding to the Nth display level in the preset window switching sequence is determined as the focus window after the window switching. The preset window switching sequence includes the windows of multiple applications. Display hierarchy.
在多窗口显示模式下,各应用的窗口的显示层级是不同的,因此,可通过窗口切换指令指示窗口切换前后两个焦点窗口的显示层级之间关系。可选地,N取值为1,即智能交互平板接收到一个窗口切换指令后,将当前焦点窗口的显示层级之下的第一个窗口确定为窗口切换后的焦点窗口,实现一键切换。In the multi-window display mode, the display levels of the windows of each application are different. Therefore, a window switching instruction can be used to indicate the relationship between the display levels of the two focus windows before and after the window is switched. Optionally, the value of N is 1, that is, after receiving a window switching instruction, the intelligent interactive tablet determines the first window below the display level of the current focus window as the focus window after the window switching, so as to realize one-key switching.
示例性地,预设窗口切换顺序表现为队列容器,每个应用都是按照启动顺序添加到一个队列容器中,一键切换的逻辑:将当前显示的应用的窗口,即队列容器中最前面的应用,移动到队列容器的尾部;原来队列容器中的第二个应用变为队列容器中最前面的应用,也即最新获取焦点的应用。Exemplarily, the preset window switching sequence is represented as a queue container, and each application is added to a queue container according to the startup sequence. The logic of one-click switching: the window of the currently displayed application, that is, the frontmost queue container. The application is moved to the end of the queue container; the second application in the original queue container becomes the front application in the queue container, that is, the application that has the latest focus.
例如,图7示出应用A的窗口、应用B的窗口和应用C的窗口这3个窗口之间的又一切换示意图。可见:当应用A的窗口为窗口切换前的焦点窗口时,通过G(一键切换)可以切换至应用C的窗口,进一步通过G(一键切换)可以切换至应用B的窗口,接下来通过G(一键切换)可以切换至应用A的窗口;依次循环。For example, FIG. 7 shows yet another schematic diagram of switching between three windows, namely the window of application A, the window of application B, and the window of application C. Visible: When the window of application A is the focus window before the window switching, you can switch to the window of application C through G (one-key switching), and then you can switch to the window of application B through G (one-key switching). G (one key switch) can switch to the window of application A; cycle in turn.
或者,预设窗口切换顺序表现为环形链表,每个应用都是按照启动顺序添加到一个环形链表中,一键切换的逻辑:将当前显示的应用的窗口,即环形链表中最前面的应用,移动到环形链表的尾部;原来环形链表中的第二个应用变为环形链表中最前面的应用,也即最新获取焦点的应用。Alternatively, the preset window switching sequence is represented as a circular linked list, and each application is added to a circular linked list according to the startup order. The logic of one-key switching: the currently displayed application window, that is, the foremost application in the circular linked list, Move to the end of the circular linked list; the second application in the original circular linked list becomes the foremost application in the circular linked list, that is, the application that gains the latest focus.
补充说明的是,N的大小可以根据用户按压按键G的持续时长或按压力度进行确定。例如,设置不同的持续时长范围,当持续时长大于0,且小于1ms时,N取值为1;当持续时长大于或等于1ms,且小于2ms时,N取值为2,等等。It should be supplemented that the size of N may be determined according to the duration of pressing the button G or the pressing force of the user. For example, to set different duration ranges, when the duration is greater than 0 and less than 1ms, the value of N is 1; when the duration is greater than or equal to 1ms and less than 2ms, the value of N is 2, and so on.
一些实施例中,窗口切换方法还可以包括:根据以下方式设置预设窗口切换顺序:In some embodiments, the window switching method may further include: setting a preset window switching sequence according to the following manner:
响应作用于应用的打开操作,在预设窗口切换顺序中将新创建窗口的显示层级设置为 置顶;In response to the open operation acting on the application, set the display level of the newly created window to top in the preset window switching sequence;
响应作用于窗口的关闭操作,在预设窗口切换顺序中删除所关闭窗口的信息;In response to the closing operation acting on the window, delete the information of the closed window in the preset window switching sequence;
响应于接收到窗口切换指令,将窗口切换前的焦点窗口的显示层级设置为置底。In response to receiving the window switching instruction, the display level of the focus window before the window switching is set to bottom.
实施例4Example 4
本申请实施例在上述实施例的基础上,说明如何显示多个应用的窗口。一种示例性实施方式中,显示多个应用的窗口可以包括:不完全重合的显示多个应用的窗口。多个应用的窗口相互错开显示,这样,用户根据当前显示的窗口的个数即可确定已打开的应用的个数。Based on the foregoing embodiments, the embodiments of the present application describe how to display windows of multiple applications. In an exemplary embodiment, displaying windows of multiple applications may include: displaying windows of multiple applications that are not completely overlapped. The windows of multiple applications are displayed staggered from each other, so that the user can determine the number of opened applications according to the number of currently displayed windows.
可选地,不完全重合的显示多个应用的窗口,可以包括:响应作用于对应应用的打开操作,获取应用程序的包名;根据包名及哈希(hash)函数,确定对应窗口的偏移信息,偏移信息包含窗口相对屏幕中间显示的偏移量;根据偏移量显示应用的窗口。Optionally, displaying the windows of multiple applications that are not completely overlapped may include: obtaining the package name of the application in response to the opening operation acting on the corresponding application; determining the offset of the corresponding window according to the package name and a hash function. The offset information contains the offset of the window relative to the display in the middle of the screen; the window of the application is displayed according to the offset.
可以理解,每个应用程序具有“包名”属性,包名唯一标示某个应用程序。安装在不同机器上的相同应用程序,机器读取到的该应用程序的包名是相同的。包名是一个长度约为10-30个字符的英文字符串,例如,微信的包名为com.tencent.mm,QQ的包名为com.tencent.mobileqq。利用包名这个唯一的属性计算出2个数字,作为窗口x轴、y轴(横向、竖向)的相对屏幕中间的偏移量。这里需要使用到哈希函数。哈希函数是将任意长度的输入(又叫做预映射pre-image)通过散列算法变换成固定长度的输出,该输出就是散列值。哈希函数的特点是不同的输入一定会得到不同输出,这样就能确保不同的应用的窗口偏移的位置不同。本申请实施例中,哈希函数的输入是包名,输出是数字。示例性地,参考图8,dx为x轴偏移值,dy为y轴偏移值;w为屏幕宽度,h为屏幕高度;中间的虚线边框为窗口在屏幕中间显示的位置。其中,dx和dy可通过以下公式得到:It can be understood that each application has a "package name" attribute, and the package name uniquely identifies a certain application. For the same application installed on different machines, the package name of the application read by the machine is the same. The package name is an English string with a length of about 10-30 characters. For example, the package name of WeChat is com.tencent.mm, and the package name of QQ is com.tencent.mobileqq. Use the unique property of the package name to calculate 2 numbers as the offset of the window's x-axis and y-axis (horizontal, vertical) relative to the middle of the screen. Here you need to use a hash function. A hash function converts an input of arbitrary length (also called a pre-image pre-image) into a fixed-length output through a hashing algorithm, and the output is the hash value. The characteristic of the hash function is that different inputs will definitely get different outputs, which ensures that the positions of the window offsets of different applications are different. In the embodiment of the present application, the input of the hash function is a package name, and the output is a number. Exemplarily, referring to FIG. 8 , dx is the x-axis offset value, dy is the y-axis offset value; w is the screen width, h is the screen height; the dotted border in the middle is the position where the window is displayed in the middle of the screen. Among them, dx and dy can be obtained by the following formulas:
dx=hash(包名)%(w/2)-(w/4)dx=hash(package name)%(w/2)-(w/4)
dy=hash(包名)%(h/2)-(h/4)dy=hash(package name)%(h/2)-(h/4)
上述公式中,%表示取余数计算。dx与dy均可正可负,分别代表2个偏移方向。In the above formula, % means taking the remainder to calculate. Both dx and dy can be positive or negative, representing two offset directions respectively.
一种可能的实现方式中,根据偏移量显示应用的窗口可以包括:根据偏移量及窗口大小,确定窗口显示是否溢出屏幕;若窗口显示溢出屏幕,则根据溢出量将应用的窗口完整地显示在屏幕中。例如,设定偏移量最多为1/4的屏幕,以防止偏移后的窗口过分贴近屏幕边缘。In a possible implementation manner, displaying the window of the application according to the offset may include: determining whether the window display overflows the screen according to the offset and the window size; if the window display overflows the screen, completely displaying the window of the application according to the overflow amount. displayed on the screen. For example, set an offset of up to 1/4 of the screen to prevent the offset window from being too close to the edge of the screen.
另外,每次应用的窗口关闭时,智能交互平板可以存储对应窗口的显示位置,例如将其记录到内存里。这样,在下次打开应用时,若智能交互平板检测到内存中有该应用的窗 口的显示位置时,基于该显示位置进行窗口的显示。在一实施例中,考虑到内存中的数据关机后会丢失,所以关机重启后再打开该应用时,内存中没有存储显示位置,则使用上面公式得到应用的窗口的显示位置。因此,窗口切换方法还可以包括:响应作用于应用的窗口的关闭操作,保存对应窗口的显示位置,以在再次打开对应应用时按照该显示位置显示该应用的窗口。In addition, every time the window of the application is closed, the intelligent interactive tablet can store the display position of the corresponding window, for example, record it in the memory. In this way, when the application is opened next time, if the smart interactive tablet detects the display position of the window of the application in the memory, the window will be displayed based on the display position. In one embodiment, considering that the data in the memory will be lost after shutdown, when the application is restarted after shutdown, the display position is not stored in the memory, and the above formula is used to obtain the display position of the application window. Therefore, the window switching method may further include: in response to the closing operation acting on the window of the application, saving the display position of the corresponding window, so as to display the window of the application according to the display position when the corresponding application is opened again.
实施例5Example 5
本申请实施例用于描述当多个应用的窗口包括置顶窗口时的情况。由于上述实施例已强调要置顶显示窗口切换后的焦点窗口,而置顶窗口是指显示在最前面的窗口,因此,若窗口切换后的焦点窗口不是置顶窗口,则上述置顶显示窗口切换后的焦点窗口,可以包括:将窗口切换后的焦点窗口显示在非置顶窗口的最前面,非置顶窗口为多个应用的窗口中除置顶窗口之外的窗口。The embodiments of the present application are used to describe a situation when the windows of multiple applications include a top window. Since the above embodiment has emphasized that the focus window after the window switching should be displayed on the top, and the top window refers to the window displayed in the front, therefore, if the focus window after the window switching is not the top window, the focus window after the switch is displayed on the top. The window may include: displaying the focus window after the window is switched in front of a non-top window, where the non-top window is a window other than the top window among the windows of multiple applications.
需明确的是,置顶窗口不一定是当前操作的窗口,也就是说置顶窗口不一定是当前的焦点窗口。It should be clear that the top window is not necessarily the currently operating window, that is to say, the top window is not necessarily the current focus window.
实施例6Example 6
用户通过控制设备对智能交互平板进行控制,控制模式包括窗口内的焦点控制模式和不用应用的窗口间的焦点控制模式。其中,窗口间的焦点控制模式包括窗口切换。该场景下,窗口切换方法还可以包括:接收模式切换指令,模式切换指令是控制设备在检测到用户作用于控制设备的模式切换操作时发出的,模式切换指令用于指示控制模式的切换;若当前控制模式为窗口内的焦点控制模式,则切换为窗口间的焦点控制模式,或者,若当前控制模式为窗口间的焦点控制模式,则切换为窗口内的焦点控制模式。The user controls the intelligent interactive tablet through the control device, and the control modes include a focus control mode within a window and a focus control mode between windows without applications. The focus control mode between windows includes window switching. In this scenario, the window switching method may further include: receiving a mode switching instruction, the mode switching instruction is sent by the control device when detecting a mode switching operation performed by the user on the control device, and the mode switching instruction is used to instruct the switching of the control mode; If the current control mode is the focus control mode within a window, switch to the focus control mode between windows, or, if the current control mode is the focus control mode between windows, switch to the focus control mode within the window.
本申请实施例通过来自控制设备的模式切换指令对智能交互平板进行模式切换,以利用控制设备上有限个数的按键实现更多的功能。In the embodiment of the present application, the mode switching of the intelligent interactive tablet is performed through the mode switching instruction from the control device, so as to realize more functions by using a limited number of buttons on the control device.
需要注意的是,由于篇幅所限,本申请中并没有穷举所有的实施方式,只要是不互相矛盾的特征,均可以自由随意组合,成为本申请可选的实施方式。It should be noted that, due to space limitations, this application does not exhaust all implementations, as long as the features are not contradictory, they can be combined freely and become optional implementations of this application.
实施例7Example 7
参考图9,智能交互平板91显示多个应用的窗口,用户通过遥控器92对智能交互平板91进行控制,智能交互平板91与服务器93连接。智能交互平板91通过局域网(LAN)、无线局域网(WLAN)和其他网络,与服务器93进行通信连接。服务器93可以向智能交互平板91提供各种内容和互动。服务器93可以是一个集群,也可以是多个集群,可以包括一类或多类服务器。Referring to FIG. 9 , the smart
该示例以电子设备为智能交互平板,控制设备为遥控器为例进行说明,但本申请不以此为限制;且,本申请不限制智能交互平板和遥控器的个数,例如,通过一个遥控器控制两个智能交互平板,或者,通过两个遥控器控制一个智能交互平板,等等。This example is described by taking the electronic device as an intelligent interactive tablet and the control device as a remote controller, but this application does not limit it; and the application does not limit the number of intelligent interactive tablet and remote controller. The controller controls two smart interactive tablets, or one smart interactive tablet is controlled by two remote controls, and so on.
若智能交互平板91处于窗口内的焦点控制模式,则用户在遥控器92上输入模式切换操作,通过遥控器92控制智能交互平板91切换为窗口间的焦点控制模式。之后,用户在遥控器92上输入窗口切换操作,通过遥控器92控制智能交互平板91进行当前所显示窗口的切换,达到例如图6或图7所示的切换效果。If the smart
实施例8Example 8
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are apparatus embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
请参见图10,其示出了本申请一个示例性实施例提供的窗口切换装置的结构示意图。该窗口切换装置可以通过软件、硬件或者两者的结合实现成为智能交互平板等电子设备的全部或一部分。该窗口切换装置10包括显示模块11、收发模块12和处理模块13。其中,三个模块之间相互连接。Please refer to FIG. 10 , which shows a schematic structural diagram of a window switching apparatus provided by an exemplary embodiment of the present application. The window switching device can be realized by software, hardware or a combination of the two to become all or a part of an electronic device such as an intelligent interactive tablet. The window switching device 10 includes a display module 11 , a transceiver module 12 and a processing module 13 . Among them, the three modules are connected to each other.
显示模块11,用于显示多个应用的窗口,多个应用的窗口中一个应用的窗口为窗口切换前的焦点窗口,窗口为非全屏显示模式;The display module 11 is used to display the windows of multiple applications, the window of one application among the windows of multiple applications is the focus window before the window is switched, and the window is in a non-full-screen display mode;
收发模块12,用于接收窗口切换指令,窗口切换指令是控制设备在检测到用户作用于控制设备的窗口切换操作时发出的,窗口切换指令用于指示窗口切换后的焦点窗口与窗口切换前的焦点窗口的关系;The transceiver module 12 is used to receive a window switching instruction, the window switching instruction is issued when the control device detects a window switching operation that the user acts on the control device, and the window switching instruction is used to indicate the focus window after the window switching and the window before the window switching. The relationship of the focus window;
处理模块13,用于根据窗口切换前的焦点窗口及窗口切换指令,确定窗口切换后的焦点窗口。The processing module 13 is configured to determine the focus window after the window switching according to the focus window before the window switching and the window switching instruction.
可选地,窗口切换指令用于指示窗口切换后的焦点窗口与所述窗口切换前的焦点窗口的位置关系。处理模块13可用于:根据窗口切换指令,确定窗口切换后的焦点窗口相对窗口切换前的焦点窗口的方向;以窗口切换前的焦点窗口为基准,确定位于所述方向上的至少一个窗口为待选窗口;确定待选窗口与窗口切换前的焦点窗口在所述方向上的坐标差;根据坐标差确定窗口切换后的焦点窗口。Optionally, the window switching instruction is used to indicate the positional relationship between the focus window after the window switching and the focus window before the window switching. The processing module 13 can be used to: according to the window switching instruction, determine the direction of the focus window after the window switching relative to the focus window before the window switching; take the focus window before the window switching as a benchmark, determine that at least one window located in the direction is to be selecting a window; determining the coordinate difference between the window to be selected and the focus window before the window switching in the direction; determining the focus window after the window switching according to the coordinate difference.
可选地,处理模块13在用于根据坐标差确定窗口切换后的焦点窗口时,用于:确定满足预设条件的坐标差对应的待选窗口为窗口切换后的焦点窗口,预设条件包括坐标差最小。Optionally, when the processing module 13 is used to determine the focus window after window switching according to the coordinate difference, it is used to: determine that the window to be selected corresponding to the coordinate difference that satisfies a preset condition is the focus window after the window switching, and the preset condition includes: The coordinate difference is minimal.
可选地,窗口切换指令用于指示窗口切换后的焦点窗口与窗口切换前的焦点窗口的显 示层级关系。处理模块13可用于:根据窗口切换指令,确定窗口切换后的焦点窗口是位于窗口切换前的焦点窗口的显示层级之下的第N个窗口,N为正整数,且N小于当前显示的窗口个数;以窗口切换前的焦点窗口为基准,确定预设窗口切换顺序中第N个显示层级对应的窗口为窗口切换后的焦点窗口,预设窗口切换顺序包含多个应用的窗口的显示层级。Optionally, the window switching instruction is used to indicate the display hierarchy relationship between the focus window after the window switching and the focus window before the window switching. The processing module 13 can be used to: according to the window switching instruction, determine that the focus window after the window switching is the Nth window located under the display level of the focus window before the window switching, where N is a positive integer, and N is less than the number of currently displayed windows. number; based on the focus window before the window switching, determine the window corresponding to the Nth display level in the preset window switching sequence as the focus window after the window switching, and the preset window switching sequence includes the display levels of the windows of multiple applications.
可选地,处理模块13还可以用于:根据以下方式设置预设窗口切换顺序:Optionally, the processing module 13 can also be used to: set the preset window switching sequence according to the following methods:
响应作用于应用的打开操作,在预设窗口切换顺序中将新创建窗口的显示层级设置为置顶;In response to the open operation acting on the application, set the display level of the newly created window to top in the preset window switching sequence;
响应作用于窗口的关闭操作,在预设窗口切换顺序中删除所关闭窗口的信息;In response to the closing operation acting on the window, delete the information of the closed window in the preset window switching sequence;
响应于收发模块12接收到窗口切换指令,将窗口切换前的焦点窗口的显示层级设置为置底。In response to receiving the window switching instruction, the transceiver module 12 sets the display level of the focus window before the window switching to bottom.
可选地,显示模块11在用于显示多个应用的窗口时,用于:不完全重合的显示多个应用的窗口。Optionally, when the display module 11 is used to display the windows of multiple applications, it is configured to: display the windows of multiple applications in an incompletely overlapped manner.
可选地,显示模块11在不完全重合的显示多个应用的窗口时,用于:响应作用于对应应用的打开操作,获取应用程序的包名;根据包名及哈希函数,确定对应窗口的偏移信息,偏移信息包含窗口相对屏幕中间显示的偏移量;根据偏移量显示应用的窗口。Optionally, the display module 11 is used to: in response to the opening operation acting on the corresponding application, obtain the package name of the application program when the windows of the multiple applications are not completely overlapped; determine the corresponding window according to the package name and the hash function. The offset information contains the offset of the window relative to the display in the middle of the screen; the application window is displayed according to the offset.
可选地,显示模块11在根据偏移量显示应用的窗口时,用于:根据偏移量及窗口大小,确定窗口显示是否溢出屏幕;若窗口显示溢出屏幕,则根据溢出量将应用的窗口完整地显示在屏幕中。Optionally, when displaying the window of the application according to the offset, the display module 11 is used to: according to the offset and the size of the window, determine whether the window display overflows the screen; if the window display overflows the screen, the window of the application is displayed according to the overflow. fully displayed on the screen.
可选地,处理模块13还可以用于:响应作用于应用的窗口的关闭操作,保存对应窗口的显示位置,以在再次打开对应应用时按照该显示位置显示该应用的窗口。Optionally, the processing module 13 may be further configured to: in response to the closing operation acting on the window of the application, save the display position of the corresponding window, so as to display the window of the application according to the display position when the corresponding application is opened again.
一些实施例中,处理模块13还用于:在确定窗口切换后的焦点窗口之后,触发显示模块11置顶显示窗口切换后的焦点窗口。In some embodiments, the processing module 13 is further configured to: after determining the focus window after the window switching, trigger the display module 11 to display the focus window after the window switching on top.
可选地,多个应用的窗口包括置顶窗口。若窗口切换后的焦点窗口不是置顶窗口,则显示模块11在置顶显示窗口切换后的焦点窗口时,用于:将窗口切换后的焦点窗口显示在非置顶窗口的最前面,非置顶窗口为多个应用的窗口中除置顶窗口之外的窗口。Optionally, the windows of the plurality of applications include top windows. If the focus window after the window switching is not the top window, the display module 11 is used to display the focus window after the window switching at the front of the non-top window when the focus window after the window switch is displayed on top, and the non-top window is multi- A window other than the top window among the windows of an application.
可选地,收发模块12,还用于接收模式切换指令,模式切换指令是控制设备在检测到用户作用于控制设备的模式切换操作时发出的,模式切换指令用于指示控制模式的切换,控制模式包括窗口内的焦点控制模式和窗口间的焦点控制模式,窗口间的焦点控制模式包括窗口切换。处理模块13还可以用于在当前控制模式为窗口内的焦点控制模式时,切换 为窗口间的焦点控制模式,或者,在当前控制模式为窗口间的焦点控制模式时,切换为窗口内的焦点控制模式。Optionally, the transceiver module 12 is further configured to receive a mode switching instruction, the mode switching instruction is issued when the control device detects a mode switching operation that the user acts on the control device, and the mode switching instruction is used to indicate the switching of the control mode, and the control The modes include a focus control mode within a window and a focus control mode between windows, and the focus control mode between windows includes window switching. The processing module 13 can also be used to switch to the focus control mode between windows when the current control mode is the focus control mode within the window, or switch to the focus control mode within the window when the current control mode is the focus control mode between windows control mode.
需要说明的是,上述实施例提供的窗口切换装置在执行窗口切换方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的窗口切换装置与窗口切换方法实施例属于同一构思,其体现实现过程详见方法实施例,这里不再赘述。It should be noted that, when the window switching apparatus provided in the above embodiments executes the window switching method, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions may be allocated to different functional modules as required. , that is, dividing the internal structure of the device into different functional modules to complete all or part of the functions described above. In addition, the window switching device and the window switching method embodiments provided by the above embodiments belong to the same concept, and the implementation process of which is embodied in the method embodiments, which will not be repeated here.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.
在本申请实施例中,显示多个应用的窗口,多个应用的窗口中一个应用的窗口为窗口切换前的焦点窗口,窗口为非全屏显示模式;接收窗口切换指令,窗口切换指令是控制设备在检测到用户作用于该控制设备的窗口切换操作时发出的,窗口切换指令用于指示窗口切换后的焦点窗口与窗口切换前的焦点窗口的关系;根据窗口切换前的焦点窗口及窗口切换指令,确定窗口切换后的焦点窗口。可以在多窗口显示模式下,通过接收来控制设备的窗口切换指令,结合窗口切换指令指示的窗口切换后的焦点窗口与窗口切换前的焦点窗口的关系,确定窗口切换后的焦点窗口,并置顶显示窗口切换后的焦点窗口,可以解决目前非触摸操作无法直接进行不同应用的窗口切换的问题,达到不同应用的窗口间自由切换的效果。In the embodiment of the present application, the windows of multiple applications are displayed, and the window of one application among the windows of multiple applications is the focus window before the window switching, and the window is in a non-full-screen display mode; the window switching instruction is received, and the window switching instruction is the control device Sent when a window switching operation acting on the control device by the user is detected, the window switching instruction is used to indicate the relationship between the focus window after the window switching and the focus window before the window switching; according to the focus window before the window switching and the window switching instruction , which determines the focus window after the window is switched. In the multi-window display mode, the device can be controlled by receiving the window switching instruction, and combining the relationship between the focus window after the window switching indicated by the window switching instruction and the focus window before the window switching, determine the focus window after the window switching, and set it to the top Displaying the focus window after the window switching can solve the problem that the current non-touch operation cannot directly switch the windows of different applications, and achieve the effect of free switching between the windows of different applications.
实施例9Example 9
本申请实施例还提供了一种计算机存储介质,所述计算机存储介质可以存储有多条指令,所述指令适于由处理器加载并执行如上述方法实施例的方法步骤,具体执行过程可以参见方法实施例的具体说明,在此不进行赘述。Embodiments of the present application further provide a computer storage medium, where the computer storage medium can store multiple instructions, and the instructions are suitable for being loaded by a processor and executing the method steps of the foregoing method embodiments. For the specific execution process, please refer to The specific description of the method embodiment will not be repeated here.
存储介质所在设备可以是智能交互平板等电子设备。The device where the storage medium is located may be an electronic device such as an intelligent interactive tablet.
实施例10Example 10
请参见图11,为本申请实施例提供了一种智能交互平板的结构示意图。如图11所示,智能交互平板1000可以包括:至少一个处理器1001,至少一个网络接口1004,用户接口1003,存储器1005,至少一个通信总线1002。Referring to FIG. 11 , a schematic structural diagram of an intelligent interactive tablet is provided in an embodiment of the present application. As shown in FIG. 11 , the intelligent interactive tablet 1000 may include: at least one processor 1001 , at least one network interface 1004 , user interface 1003 , memory 1005 , and at least one
其中,通信总线1002用于实现这些组件之间的连接通信。Among them, the
其中,用户接口1003可以包括显示屏(Display)、摄像头(Camera),可选用户接口1003还可以包括标准的有线接口、无线接口。The user interface 1003 may include a display screen (Display) and a camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
其中,网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。Wherein, the network interface 1004 may optionally include a standard wired interface and a wireless interface (eg, a WI-FI interface).
其中,处理器1001可以包括一个或者多个处理核心。处理器1001利用各种接口和线路连接整个智能交互平板1000内的各个部分,通过运行或执行存储在存储器1005内的指令、程序、代码集或指令集,以及调用存储在存储器1005内的数据,执行智能交互平板1000的各种功能和处理数据。可选的,处理器1001可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1001可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1001中,单独通过一块芯片进行实现。The processor 1001 may include one or more processing cores. The processor 1001 uses various interfaces and lines to connect various parts in the entire intelligent interactive tablet 1000, and by running or executing the instructions, programs, code sets or instruction sets stored in the memory 1005, and calling the data stored in the memory 1005, Execute various functions of the intelligent interactive tablet 1000 and process data. Optionally, the processor 1001 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). A hardware form is implemented. The processor 1001 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly handles the operating system, user interface, and application programs; the GPU is used to render and draw the content that needs to be displayed on the display screen; the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 1001, but is implemented by a single chip.
其中,存储器1005可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选的,该存储器1005包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器1005可用于存储指令、程序、代码、代码集或指令集。存储器1005可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储上面各个方法实施例中涉及到的数据等。存储器1005可选的还可以是至少一个位于远离前述处理器1001的存储装置。如图11所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及智能交互平板的操作应用程序。可选地,智能交互平板的操作系统为安卓系统。The memory 1005 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable storage medium. Memory 1005 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions and the like used to implement the above method embodiments; the storage data area may store the data and the like involved in the above method embodiments. Optionally, the memory 1005 may also be at least one storage device located away from the aforementioned processor 1001 . As shown in FIG. 11 , the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an operation application program of an intelligent interactive tablet. Optionally, the operating system of the smart interactive tablet is an Android system.
在图11所示的智能交互平板1000中,用户接口1003主要用于为用户提供输入的接口,获取用户输入的数据;而处理器1001可以用于调用存储器1005中存储的智能交互平板的操作应用程序,并执行以下操作:In the smart interactive tablet 1000 shown in FIG. 11 , the user interface 1003 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 1001 can be used to call the operation application of the smart interactive tablet stored in the memory 1005 program, and do the following:
显示多个应用的窗口,多个应用的窗口中一个应用的窗口为窗口切换前的焦点窗口,窗口为非全屏显示模式;Display the windows of multiple applications, the window of one application among the windows of multiple applications is the focus window before the window is switched, and the window is in non-full-screen display mode;
接收窗口切换指令,窗口切换指令是控制设备在检测到用户作用于该控制设备的窗口切换操作时发出的,窗口切换指令用于指示窗口切换后的焦点窗口与窗口切换前的焦点窗口的关系;Receive a window switching instruction, the window switching instruction is sent by the control device when it detects a window switching operation that the user acts on the control device, and the window switching instruction is used to indicate the relationship between the focus window after the window switching and the focus window before the window switching;
根据窗口切换前的焦点窗口及窗口切换指令,确定窗口切换后的焦点窗口。According to the focus window before the window switch and the window switch instruction, determine the focus window after the window switch.
在一些实施例中,窗口切换指令用于指示窗口切换后的焦点窗口与所述窗口切换前的焦点窗口的位置关系。示例地,智能交互平板的操作系统为安卓系统。在安卓系统中,处理器1001执行根据窗口切换前的焦点窗口及窗口切换指令,确定窗口切换后的焦点窗口的步骤为:根据窗口切换指令,确定窗口切换后的焦点窗口相对窗口切换前的焦点窗口的方向;以窗口切换前的焦点窗口为基准,确定位于上述方向上的至少一个窗口为待选窗口;确定待选窗口与窗口切换前的焦点窗口在所述方向上的坐标差;根据坐标差确定窗口切换后的焦点窗口。In some embodiments, the window switching instruction is used to indicate the positional relationship between the focus window after the window switching and the focus window before the window switching. For example, the operating system of the smart interactive tablet is the Android system. In the Android system, the processor 1001 executes the step of determining the focus window after the window switching according to the focus window before the window switching and the window switching instruction, as follows: according to the window switching instruction, determining the focus window after the window switching relative to the focus before the window switching The direction of the window; taking the focus window before window switching as a benchmark, determine that at least one window located in the above direction is the window to be selected; determine the coordinate difference between the window to be selected and the focus window before window switching in the direction; according to the coordinates The difference determines the focus window after the window is switched.
在一些实施例中,处理器1001执行根据坐标差确定窗口切换后的焦点窗口的步骤为:确定满足预设条件的坐标差对应的待选窗口为窗口切换后的焦点窗口,该预设条件包括坐标差最小。In some embodiments, the step of determining the focus window after window switching according to the coordinate difference performed by the processor 1001 is: determining the window to be selected corresponding to the coordinate difference satisfying a preset condition as the focus window after the window switching, and the preset condition includes: The coordinate difference is minimal.
在一些实施例中,窗口切换指令用于指示窗口切换后的焦点窗口与所述窗口切换前的焦点窗口的显示层级关系。示例地,智能交互平板的操作系统为安卓系统。在安卓系统中,处理器1001执行根据窗口切换前的焦点窗口及窗口切换指令,确定窗口切换后的焦点窗口的步骤为:根据窗口切换指令,确定窗口切换后的焦点窗口是位于窗口切换前的焦点窗口的显示层级之下的第N个窗口,N为正整数,且N小于当前显示的窗口个数;以窗口切换前的焦点窗口为基准,确定预设窗口切换顺序中第N个显示层级对应的窗口为窗口切换后的焦点窗口,预设窗口切换顺序包含多个应用的窗口的显示层级。In some embodiments, the window switching instruction is used to indicate a display hierarchy relationship between the focus window after the window switching and the focus window before the window switching. For example, the operating system of the smart interactive tablet is the Android system. In the Android system, the processor 1001 executes the step of determining the focus window after the window switching according to the focus window before the window switching and the window switching instruction as follows: according to the window switching instruction, determining that the focus window after the window switching is located before the window switching The Nth window under the display level of the focus window, N is a positive integer, and N is less than the number of currently displayed windows; based on the focus window before window switching, determine the Nth display level in the preset window switching sequence The corresponding window is the focus window after the window switching, and the preset window switching sequence includes the display levels of the windows of multiple applications.
在一些实施例中,处理器1001还执行以下步骤:根据以下方式设置预设窗口切换顺序:In some embodiments, the processor 1001 further performs the following steps: setting the preset window switching sequence according to the following manner:
响应作用于应用的打开操作,在预设窗口切换顺序中将新创建窗口的显示层级设置为置顶;In response to the open operation acting on the application, set the display level of the newly created window to top in the preset window switching sequence;
响应作用于窗口的关闭操作,在预设窗口切换顺序中删除所关闭窗口的信息;In response to the closing operation acting on the window, delete the information of the closed window in the preset window switching sequence;
响应于接收到窗口切换指令,将窗口切换前的焦点窗口的显示层级设置为置底。In response to receiving the window switching instruction, the display level of the focus window before the window switching is set to bottom.
在一些实施例中,处理器1001执行显示多个窗口的步骤为:不完全重合的显示多个应用的窗口。In some embodiments, the step of displaying multiple windows performed by the processor 1001 is: displaying the windows of multiple applications in an incompletely overlapping manner.
在一些实施例中,处理器1001执行不完全重合的显示多个应用的窗口的步骤为:响应作用于对应应用的打开操作,获取应用程序的包名;根据包名及哈希函数,确定对应窗口的偏移信息,偏移信息包含窗口相对屏幕中间显示的偏移量;根据偏移量显示应用的窗口。In some embodiments, the processor 1001 executes the steps of displaying windows of multiple applications that are not completely overlapped: obtaining the package name of the application in response to the opening operation acting on the corresponding application; determining the corresponding application according to the package name and the hash function. Offset information of the window, the offset information includes the offset of the window relative to the display in the middle of the screen; the application window is displayed according to the offset.
在一些实施例中,处理器1001执行根据偏移量显示应用的窗口的步骤为:根据偏移 量及窗口大小,确定窗口显示是否溢出屏幕;若窗口显示溢出屏幕,则根据溢出量将应用的窗口完整地显示在屏幕中。In some embodiments, the step of displaying the window of the application according to the offset by the processor 1001 is: according to the offset and the size of the window, determine whether the window display overflows the screen; if the window display overflows the screen, display the application's window according to the overflow amount. The window is fully displayed on the screen.
在一些实施例中,处理器1001还执行以下步骤:响应作用于应用的窗口的关闭操作,保存对应窗口的显示位置,以在再次打开对应应用时按照该显示位置显示该应用的窗口。In some embodiments, the processor 1001 further performs the following steps: in response to the closing operation of the window of the application, saving the display position of the corresponding window, so as to display the window of the application according to the display position when the corresponding application is opened again.
可选地,处理器1001还执行以下步骤:在确定窗口切换后的焦点窗口之后,置顶显示窗口切换后的焦点窗口。Optionally, the processor 1001 further performs the following steps: after determining the focus window after the window switching, display the focus window after the window switching on top.
在一些实施例中,上述多个应用的窗口包括置顶窗口。若窗口切换后的焦点窗口不是置顶窗口,则处理器1001执行置顶显示窗口切换后的焦点窗口的步骤可以为:将窗口切换后的焦点窗口显示在非置顶窗口的最前面,非置顶窗口为多个应用的窗口中除置顶窗口之外的窗口。In some embodiments, the windows of the above plurality of applications include top windows. If the focus window after the window switching is not the top window, the step of the processor 1001 performing the top display of the focus window after the window switch may be: displaying the focus window after the window switching at the front of the non-top window, and the non-top windows are multiple A window other than the top window among the windows of an application.
在一些实施例中,处理器1001还执行以下步骤:接收模式切换指令,模式切换指令是控制设备在检测到用户作用于控制设备的模式切换操作时发出的,模式切换指令用于指示控制模式的切换,控制模式包括窗口内的焦点控制模式和窗口间的焦点控制模式,窗口间的焦点控制模式包括窗口切换;在当前控制模式为窗口内的焦点控制模式时,切换为窗口间的焦点控制模式,或者,在当前控制模式为窗口间的焦点控制模式时,切换为窗口内的焦点控制模式。In some embodiments, the processor 1001 further performs the following steps: receiving a mode switching instruction, the mode switching instruction is sent by the control device when detecting a mode switching operation performed by the user on the control device, and the mode switching instruction is used to indicate the control mode Switch, the control mode includes the focus control mode within the window and the focus control mode between windows, the focus control mode between windows includes window switching; when the current control mode is the focus control mode within the window, switch to the focus control mode between windows , or, when the current control mode is the focus control mode between windows, switch to the focus control mode within the window.
在有些情况下,处理器1001显示多个应用的窗口,也可以表述为,处理器1001通过显示屏显示多个应用的窗口。本领域的技术人员可以理解其含义。In some cases, the processor 1001 displays the windows of multiple applications, which can also be expressed as the processor 1001 displays the windows of multiple applications through the display screen. Those skilled in the art can understand its meaning.
在本申请实施例中,显示多个应用的窗口,多个应用的窗口中一个应用的窗口为窗口切换前的焦点窗口,窗口为非全屏显示模式;接收窗口切换指令,窗口切换指令是控制设备在检测到用户作用于该控制设备的窗口切换操作时发出的,窗口切换指令用于指示窗口切换后的焦点窗口与窗口切换前的焦点窗口的关系;根据窗口切换前的焦点窗口及窗口切换指令,确定窗口切换后的焦点窗口。可以在多窗口显示模式下,通过接收来控制设备的窗口切换指令,结合窗口切换指令指示的窗口切换后的焦点窗口与窗口切换前的焦点窗口的关系,确定窗口切换后的焦点窗口,并置顶显示窗口切换后的焦点窗口,可以解决目前非触摸操作无法直接进行不同应用的窗口切换的问题,达到不同应用的窗口间自由切换的效果。In the embodiment of the present application, the windows of multiple applications are displayed, and the window of one application among the windows of multiple applications is the focus window before the window switching, and the window is in a non-full-screen display mode; the window switching instruction is received, and the window switching instruction is the control device Sent when a window switching operation acting on the control device by the user is detected, the window switching instruction is used to indicate the relationship between the focus window after the window switching and the focus window before the window switching; according to the focus window before the window switching and the window switching instruction , which determines the focus window after the window is switched. In the multi-window display mode, the device can be controlled by receiving the window switching instruction, and combining the relationship between the focus window after the window switching indicated by the window switching instruction and the focus window before the window switching, determine the focus window after the window switching, and set it to the top Displaying the focus window after the window switching can solve the problem that the current non-touch operation cannot directly switch the windows of different applications, and achieve the effect of free switching between the windows of different applications.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机 可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
在一个配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In one configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。存储器是计算机可读介质的示例。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的 数据信号和载波。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a series of elements includes not only those elements, but also Other elements not expressly listed, or which are inherent to such a process, method, article of manufacture, or apparatus are also included. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article of manufacture or apparatus that includes the element.
以上仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above are merely examples of the present application, and are not intended to limit the present application. Various modifications and variations of this application are possible for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the scope of the claims of this application.
Claims (28)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110411302.8 | 2021-04-16 | ||
| CN202110411302.8A CN113093961B (en) | 2021-04-16 | 2021-04-16 | Window switching method, storage medium and related equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2022218152A1 true WO2022218152A1 (en) | 2022-10-20 |
Family
ID=76678238
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/083928 Ceased WO2022218152A1 (en) | 2021-04-16 | 2022-03-30 | Window switching method, storage medium, and related device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN113093961B (en) |
| WO (1) | WO2022218152A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113093961B (en) * | 2021-04-16 | 2022-09-13 | 广州视源电子科技股份有限公司 | Window switching method, storage medium and related equipment |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102004609A (en) * | 2010-11-26 | 2011-04-06 | 王琦凡 | Mouse and method for controlling window switching by using same |
| US20120174020A1 (en) * | 2010-12-31 | 2012-07-05 | International Business Machines Corporation | Indication of active window when switching tasks in a multi-monitor environment |
| CN103455244A (en) * | 2013-08-18 | 2013-12-18 | 苏州量跃信息科技有限公司 | Method for cursor shifting between windows and client |
| CN103916710A (en) * | 2014-03-31 | 2014-07-09 | 优视科技有限公司 | Focal point switching method and system |
| CN113093961A (en) * | 2021-04-16 | 2021-07-09 | 广州视源电子科技股份有限公司 | Window switching method, storage medium and related equipment |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101137079B (en) * | 2007-09-27 | 2011-10-05 | 腾讯科技(深圳)有限公司 | Method and apparatus for combining web page browsing and instant communication based on mobile terminal |
| CN104077016B (en) * | 2013-03-29 | 2018-07-24 | 中兴通讯股份有限公司 | A kind of windows display and switching method and device |
| CN105898512A (en) * | 2015-12-09 | 2016-08-24 | 四川长虹电器股份有限公司 | Multi-window display and interaction method for intelligent TV Android system |
| CN111026383A (en) * | 2019-11-29 | 2020-04-17 | 国电南瑞科技股份有限公司 | Graph multi-window monitoring method and device based on power grid dispatching control system |
-
2021
- 2021-04-16 CN CN202110411302.8A patent/CN113093961B/en active Active
-
2022
- 2022-03-30 WO PCT/CN2022/083928 patent/WO2022218152A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102004609A (en) * | 2010-11-26 | 2011-04-06 | 王琦凡 | Mouse and method for controlling window switching by using same |
| US20120174020A1 (en) * | 2010-12-31 | 2012-07-05 | International Business Machines Corporation | Indication of active window when switching tasks in a multi-monitor environment |
| CN103455244A (en) * | 2013-08-18 | 2013-12-18 | 苏州量跃信息科技有限公司 | Method for cursor shifting between windows and client |
| CN103916710A (en) * | 2014-03-31 | 2014-07-09 | 优视科技有限公司 | Focal point switching method and system |
| CN113093961A (en) * | 2021-04-16 | 2021-07-09 | 广州视源电子科技股份有限公司 | Window switching method, storage medium and related equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113093961A (en) | 2021-07-09 |
| CN113093961B (en) | 2022-09-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9996176B2 (en) | Multi-touch uses, gestures, and implementation | |
| US11216158B2 (en) | Method and apparatus for multitasking | |
| US10372238B2 (en) | User terminal device and method for controlling the user terminal device thereof | |
| US10318149B2 (en) | Method and apparatus for performing touch operation in a mobile device | |
| CN106662964B (en) | Dynamic joint divider of application windows | |
| EP2409222B1 (en) | Event recognition | |
| CN106537318B (en) | Assistive rendering of application windows | |
| KR101814391B1 (en) | Edge gesture | |
| KR20170041219A (en) | Hover-based interaction with rendered content | |
| KR20140025493A (en) | Edge gesture | |
| CN103729065A (en) | System and method for mapping touch operations to entity keys | |
| CN108762657B (en) | Operation method, device and intelligent interactive tablet for intelligent interactive tablet | |
| CN113093961B (en) | Window switching method, storage medium and related equipment | |
| CN112363783B (en) | Window switching method, device, medium and interactive tablet | |
| WO2018132971A1 (en) | Interactive control method and terminal | |
| JP6127892B2 (en) | Multi-window control system and program for the system |
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: 22787380 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: 22787380 Country of ref document: EP Kind code of ref document: A1 |