WO2021068964A1 - 窗口排列方法、装置、终端及存储介质 - Google Patents

窗口排列方法、装置、终端及存储介质 Download PDF

Info

Publication number
WO2021068964A1
WO2021068964A1 PCT/CN2020/120390 CN2020120390W WO2021068964A1 WO 2021068964 A1 WO2021068964 A1 WO 2021068964A1 CN 2020120390 W CN2020120390 W CN 2020120390W WO 2021068964 A1 WO2021068964 A1 WO 2021068964A1
Authority
WO
WIPO (PCT)
Prior art keywords
window
icon
distance
width
application
Prior art date
Application number
PCT/CN2020/120390
Other languages
English (en)
French (fr)
Inventor
刘松
李梓淳
Original Assignee
北京字节跳动网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Publication of WO2021068964A1 publication Critical patent/WO2021068964A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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
    • G06F3/04817Interaction 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 using icons

Definitions

  • the embodiments of the present disclosure relate to the field of computer technology, and more specifically, to a window arrangement method, device, terminal, and storage medium.
  • the present disclosure provides a window arrangement method, device, terminal and storage medium.
  • the application windows and corresponding application icons of the present disclosure are arranged and displayed independently, which can display more application or task information more intuitively. Find application or task information more efficiently and improve user experience.
  • a window arrangement method including: acquiring a first window and a first icon corresponding to the first window; In the first operation event, the first window moves a first distance, and the first icon moves a second distance; wherein the first distance is different from the second distance.
  • a window arrangement device including: a window and an icon acquisition module, configured to acquire a first window and a first icon corresponding to the first window; a control module, in response to the The first operation event of the first window or the first icon causes the first window to move a first distance and causes the first icon to move a second distance; wherein the first distance is the same as the first The two distances are different.
  • a terminal includes: at least one memory and at least one processor; wherein the memory is used to store program code, and the processor is used to call the memory
  • the stored program code executes the above-mentioned window arrangement method.
  • a computer storage medium stores a program code, and the program code is used to execute the above-mentioned window arrangement method.
  • the moving distances of application windows and their corresponding application icons are different. That is, the application window of the present disclosure and the application icon corresponding to the application window are not integrated, but are arranged and displayed independently, so that more application or task information can be displayed more intuitively, and applications or tasks can be searched more efficiently. Information to enhance user experience.
  • Figure 1 shows the existing window arrangement.
  • Fig. 2 shows a schematic flowchart of a window arrangement method according to an embodiment of the present disclosure.
  • 3 to 5 show schematic diagrams of the arrangement of windows according to embodiments of the present disclosure.
  • Fig. 6 shows a schematic diagram of a window arrangement device of an embodiment of the present disclosure.
  • FIG. 7 shows a schematic structural diagram of an electronic device 700 suitable for implementing the embodiments of the present disclosure.
  • the application icon is drawn on or located on the application window, and the application window and the application icon are displayed together and disappear together.
  • windows for example, task manager windows
  • the window may include an application window
  • the icon may include an application icon.
  • the embodiments of the present disclosure take application windows and application icons as examples, they do not limit windows and icons.
  • windows and icons can also be used for other types of windows and their corresponding icons.
  • the multimedia data display window and its thumbnails are used to facilitate search or operation and improve operation efficiency.
  • displayed in the center are the first application window 11 and the first application icon 11' corresponding to the first application window 11.
  • parts of the second application window 12 and the third application window 10 are displayed on both sides of the first application window 11, respectively.
  • the second application window 12 and the third application window 10 can be fully displayed by sliding the first application window 11.
  • a method for arranging windows including step S101, obtaining a first application window and a first application icon corresponding to the first application window.
  • the "window" in the window arrangement method refers to the task manager window of the terminal, but the present disclosure is not limited thereto.
  • the terminals in the present disclosure may include, but are not limited to, mobile phones, smart phones, notebook computers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), navigation devices, in-vehicle terminal equipment, and in-vehicle displays Mobile terminal equipment such as terminals, in-vehicle electronic rear-view mirrors, etc., and fixed terminal equipment such as digital TVs, desktop computers, etc.
  • application windows and application icons refer to application windows and application icons of various applications (App).
  • the first application window 11 and the first application icon 11' corresponding to the first application window 11 are acquired.
  • the label indicating the application window is followed by "'" to indicate its corresponding application icon.
  • the label 12 represents the second application window (the application window of the second application), and the label 12' is used to represent the second application. Icon (application icon of the second application).
  • the window arrangement method of the present disclosure further includes step S102, in response to a first operation event on the first application window or the first application icon, causing the first application window to move a first distance, and the first application icon to move a second distance.
  • the first distance moved by the first application window is different from the second distance moved by the first application icon. That is, the first application window 11 of the present disclosure and the first application icon 11' corresponding to the first application window 11 are not integrated, but are arranged and displayed independently of each other.
  • the first operation event includes an operation capable of sliding the first application window 11 or the first application icon 11', including but not limited to a sliding operation, a voice command or a gesture operation.
  • the first operation event may be an operation on the first application window 11, or an operation on the first application icon 11' to make one of the first application window 11 and the first application icon 11' move or slide, and then the other One also moves or slides accordingly, but the distance moved is not the same.
  • application windows and application icons are all arranged and moved in the first direction, that is, arranged and moved in the lateral direction of the terminal screen.
  • the present disclosure is not limited to this.
  • application windows and application icons can be arranged and moved in a second direction perpendicular to the first direction (for example, the vertical direction of the terminal screen), and are within the scope of the present disclosure.
  • the first direction referred to in the present disclosure includes, but is not limited to, the horizontal or vertical direction of the terminal screen.
  • the lateral direction is taken as the first direction for illustration.
  • the first application window 11 moves a first distance in the first direction
  • the first application icon 11' moves a second distance in the first direction
  • the first application window 11 has a first distance in the first direction. Width
  • the first application icon 11' has a second width in the first direction
  • the ratio of the first width to the second width and the ratio of the first distance to the second distance are equal or positively correlated.
  • the shape of the application window (for example, the first application window 11) is generally a rectangle or a rectangle with rounded corners, but the present disclosure is not limited thereto. As shown in FIG. 3, in some embodiments, the shape of the application icon is various.
  • the width of the application window or the application icon in the first direction refers to the maximum width in the first direction.
  • the window arrangement method of the present disclosure further includes acquiring a second application window 12 and a second application icon 12' corresponding to the second application window 12.
  • the second application window 12 is in the first It is arranged adjacent to the first application window 11 in the direction
  • the second application icon 12' is arranged adjacent to the first application icon 11' in the first direction.
  • the first application window 11 and the first application icon 11' have a first display style
  • the second application window 12 and the second application icon 12' have a second display style. The style is different.
  • the first application window 11 and the first application icon 11' are located in the center of the screen, and may be highlighted, except for the first application window 11 and the first application icon 11 in the center.
  • Other application windows and application icons are non-highlighted, for example, they may be displayed in grayscale. That is, the display effect of the first display style is more prominent than that of the second display style.
  • the display effect of the first display style being more prominent than the second display style may include at least one of the following: the brightness value of the first display style is greater than the brightness value of the second display style; the size of the first display style is greater than that of the second display style Size; the first display style includes a prominent mark; among them, the prominent mark can be, for example, a frame around it, or a text, icon, etc. on it to indicate a selected mark.
  • the present disclosure is not limited to this, and other suitable settings may be adopted.
  • the application windows and application icons in the center of the screen are highlighted, and the display effect of the first display style is more prominent than the second display style, for example, the first brightness is greater than the second brightness, as shown in 3 and 4,
  • the second application window 12 moves to the central position where the first application window 11 is located
  • the second application icon 12' moves to the position where the first application icon 11' is located, and at this time the second application window 12 and the second application icon 12' changes from the second display style to the first display style, for example, from grayscale display to highlight display.
  • the second application icon 12' moves to the location where the first application icon 11' is located
  • the second application window 12 moves to the location where the first application window 11 is located
  • the second application window 12 and the first application window 12 changes from the second display style to the first display style, for example, from grayscale display to highlight display.
  • the application window and its corresponding application icon are linked, that is, if one of the application window or application icon is moved (for example, moved to a central position), the other application window or application icon One will move accordingly (for example, to the central location), and the application windows and application icons that move to the center can be highlighted.
  • an application corresponding to the first application window 11 or the first application icon 11' is started.
  • the second operation event includes, but is not limited to, a click operation, a voice command or a gesture operation, etc., and the purpose is to trigger the corresponding application window and the application corresponding to the application icon to start.
  • the terminal screen can only display the first application window 11, and the user can perform various operations on the first application window 11. .
  • the terminal screen can only display the second application window 12, and the user can perform various operations on the second application window 12.
  • the window arrangement method of the present disclosure further includes acquiring a second application window 12 and a second application icon 12' corresponding to the second application window 12.
  • the second application window 12 is in a first direction with respect to the first application.
  • the window 11 is separated by a third distance
  • the second application icon 12' is separated by a fourth distance from the first application icon 11' in the first direction
  • the first application window 11 has a first width in the first direction
  • the ratio of the first width to the second width and the ratio of the third distance to the fourth distance are equal or positively correlated.
  • the application window and the application icon can be linked by making the ratio of the first width to the second width and the ratio of the third distance to the fourth distance equal or positively correlated.
  • the ratio of the width of the application window to the corresponding application icon reflects the ratio of the distance required to move an application window or application icon.
  • the distance moved on the terminal screen can be measured by pixel coordinates. For example, moving from (1,3) to (1,5) can be considered to have moved two units. In this way, the corresponding distance ratio can be easily derived.
  • the width of the application window (e.g., the first application window 11) is generally greater than the width of the corresponding application icon (e.g., the first application icon 11'), that is, the first width is greater than the second width.
  • the application window and the application icon can be linked by making the ratio of the first width to the second width and the ratio of the third distance to the fourth distance equal or positively correlated.
  • the second application icon 12' is correspondingly moved to the location where the first application icon 11' is located.
  • the second application window 12 is moved to the location where the first application window 11 is located.
  • the second application window 12 may be an application window other than the application window adjacent to the first application window 11, and the second application icon 12' may be an application icon besides the first application icon 11'.
  • Other application icons may be used to make the ratio of the first width to the second width and the ratio of the third distance to the fourth distance equal or positively correlated.
  • the second application window 12 has a third width in the first direction
  • the second application icon 12' has a fourth width in the first direction
  • the ratio of the first width to the second width and the first is equal or positively correlated.
  • the width of each application window is the same, and the width of each application icon is the same.
  • the present disclosure is not limited to this.
  • the linkage between each application window and the corresponding application icon can be realized by satisfying one of the following conditions: the ratio of the first width to the second width and the ratio of the third distance to the fourth distance are equal or positively correlated, or the first The ratio of the first width to the second width and the ratio of the third width to the fourth width are equal or positively correlated.
  • the present disclosure is not limited to this.
  • the ratio of the gap between the corresponding application windows and the gap between the corresponding application icons and the first width are equal to
  • the ratio of the second width is equal or positively correlated. In this way, the linkage between each application window and the corresponding application icon can also be ensured.
  • the window arrangement method of the present disclosure further includes in response to triggering an emptying instruction, for example, an emptying key 15 located between the first application window 11 and the first application icon 11' to set the first application window 11 and the first application icon 11'.
  • an emptying key 15 located between the first application window 11 and the first application icon 11' to set the first application window 11 and the first application icon 11'.
  • the application window 11 and the first application icon 11' are cleared.
  • the clear key 15 is shown as being located at the position of the center line of the screen in FIG. 5, the present disclosure is not limited to this, and the clear key 15 may be provided at any other suitable position.
  • the trigger may include a click operation, a voice command or a gesture operation, etc.
  • triggering the clear key 15 will also clear the other application windows (e.g., the second application window 12) or application icons (e.g., the second application icon 12').
  • the application window and the application icon are emptied, the application window and the application icon are no longer displayed, and the background resources corresponding to the application window and the application icon may also be released.
  • the embodiment of the present disclosure also provides a window arrangement device 600 corresponding to the above method, including an application window and application icon acquisition module 601 and a control module 602.
  • the application window and application icon acquisition module 601 is configured to acquire the first application window 11 and the first application icon 11' corresponding to the first application window 11.
  • the control module 602 moves the first application window 11 by a first distance and moves the first application icon 11' by a second distance; One distance is different from the second distance.
  • the first operation event includes an operation capable of sliding the first application window 11 or the first application icon 11', including but not limited to a sliding operation, a voice command or a gesture operation.
  • the first operation event may be an operation on the first application window 11, or an operation on the first application icon 11' to make one of the first application window 11 and the first application icon 11' move or slide, and then the other One also moves or slides accordingly, but the distance moved is not the same.
  • moving the first application window 11 by the first distance and moving the first application icon 11' by the second distance includes: moving the first application window 11 in the first direction by the first distance and moving the first application The icon 11' moves a second distance in the first direction; wherein, the first application window 11 has a first width in the first direction, and the first application icon 11' has a second width in the first direction, wherein the first application window 11 has a second width in the first direction.
  • the ratio of the width to the second width and the ratio of the first distance to the second distance are equal or positively correlated. In this way, the linkage between each application window and the corresponding application icon can be realized.
  • the present disclosure also provides a terminal, including: at least one memory and at least one processor; wherein the memory is used to store program code, and the processor is used to call the program code stored in the memory to execute the above-mentioned window. Arrangement method.
  • the present disclosure also provides a computer storage medium, the computer storage medium stores a program code, and the program code is used to execute the above-mentioned window arrangement method.
  • the application windows and corresponding application icons of the present disclosure are arranged and displayed independently, and are linked with each other.
  • its corresponding application icon is also moved to the highlighted position; when an application icon is moved to the highlighted position, its corresponding The application window is also moved to the highlighted position.
  • the technical solution of the present disclosure can quickly find or browse all historical applications or tasks by moving or sliding application icons.
  • the corresponding application can be launched by triggering the application window or application icon.
  • Terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (e.g. Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc.
  • the electronic device shown in FIG. 7 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
  • the electronic device 700 may include a processing device (such as a central processing unit, a graphics processor, etc.) 701, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 702 or from a storage device 706
  • the program in the memory (RAM) 703 executes various appropriate actions and processing.
  • various programs and data required for the operation of the electronic device 700 are also stored.
  • the processing device 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704.
  • An input/output (I/O) interface 705 is also connected to the bus 704.
  • the following devices can be connected to the I/O interface 705: including input devices 706 such as touch screens, touch pads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; including, for example, liquid crystal displays (LCD), speakers, vibrations
  • input devices 706 such as touch screens, touch pads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.
  • LCD liquid crystal displays
  • An output device 707 such as a device
  • a storage device 706 such as a magnetic tape, a hard disk, etc.
  • the communication device 709 may allow the electronic device 700 to perform wireless or wired communication with other devices to exchange data.
  • FIG. 7 shows an electronic device 700 having various devices, it should be understood that it is not required to implement or have all of the illustrated devices. It may alternatively be implemented or provided with more or fewer devices.
  • the process described above with reference to the flowchart can be implemented as a computer software program.
  • the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, and the computer program contains program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 609, or installed from the storage device 706, or installed from the ROM 702.
  • the processing device 701 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
  • the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable removable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable signal medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
  • the client and server can communicate with any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium.
  • Communication e.g., communication network
  • Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (for example, the Internet), and end-to-end networks (for example, ad hoc end-to-end networks), as well as any currently known or future research and development network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs.
  • the electronic device When the above-mentioned one or more programs are executed by the electronic device, the electronic device: obtains at least two Internet protocol addresses; A node evaluation request for an Internet Protocol address, wherein the node evaluation device selects an Internet Protocol address from the at least two Internet Protocol addresses and returns it; receives the Internet Protocol address returned by the node evaluation device; wherein, the obtained The Internet Protocol address indicates the edge node in the content distribution network.
  • the aforementioned computer-readable medium carries one or more programs, and when the aforementioned one or more programs are executed by the electronic device, the electronic device: receives a node evaluation request including at least two Internet Protocol addresses; Among the at least two Internet Protocol addresses, select an Internet Protocol address; return the selected Internet Protocol address; wherein, the received Internet Protocol address indicates an edge node in the content distribution network.
  • the computer program code used to perform the operations of the present disclosure can be written in one or more programming languages or a combination thereof.
  • the above-mentioned programming languages include but are not limited to object-oriented programming languages such as Java, Smalltalk, C++, and Including conventional procedural programming languages-such as "C" language or similar programming languages.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to pass Internet connection).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagram may represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logical function Executable instructions.
  • the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown in succession can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure can be implemented in software or hardware. Wherein, the name of the unit does not constitute a limitation on the unit itself under certain circumstances.
  • the first obtaining unit can also be described as "a unit for obtaining at least two Internet Protocol addresses.”
  • exemplary types of hardware logic components include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logical device (CPLD) and so on.
  • FPGA Field Programmable Gate Array
  • ASIC Application Specific Integrated Circuit
  • ASSP Application Specific Standard Product
  • SOC System on Chip
  • CPLD Complex Programmable Logical device
  • a machine-readable medium may be a tangible medium, which may contain or store a program for use by the instruction execution system, apparatus, or device or in combination with the instruction execution system, apparatus, or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • the machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing.
  • machine-readable storage media would include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or flash memory erasable programmable read-only memory
  • CD-ROM compact disk read only memory
  • magnetic storage device or any suitable combination of the foregoing.
  • a window arrangement method including: acquiring a first window and a first icon corresponding to the first window; For a first operation event of an icon, the first window moves a first distance, and the first icon moves a second distance; wherein the first distance is different from the second distance.
  • the first operation event includes an operation capable of sliding the first window or the first icon.
  • the first window moves a first distance in a first direction
  • the first icon moves a second distance in the first direction
  • the first window moves in the first direction.
  • the first direction has a first width
  • the first icon has a second width in the first direction; the ratio of the first width to the second width and the first distance to the first The ratio of the two distances is equal or positively correlated.
  • the present disclosure further comprising: acquiring a second window and a second icon corresponding to the second window, the second window being arranged adjacent to the first window in the first direction , The second icon is arranged adjacent to the first icon in the first direction; wherein the first window and the first icon have a first display style, and the second window and the The second icon has a second display style, and the first display style is different from the second display style.
  • the display effect of the first display style is more prominent than that of the second display style, and when the second window is moved to the position where the first window is located, the first display style The second icon moves to the position where the first icon is located, and the second window and the second icon change from the second display style to the first display style.
  • the display effect of the first display style is more prominent than that of the second display style, and when the second icon moves to the position where the first icon is located, the first The second window is moved to the position where the first window is located, and the second window and the second icon are changed from the second display style to the first display style.
  • the display effect of the first display style that is more prominent than the second display style includes at least one of the following:
  • the brightness value of the first display style is greater than the brightness value of the second display style
  • the size of the first display style is greater than the size of the second display style
  • the first display style includes a prominent mark.
  • the method further includes: in response to a second operation event on the first window or the first icon, launching an application corresponding to the first window or the first icon .
  • the second operation event includes a click operation, a voice command, or a gesture operation.
  • the method further includes: acquiring a second window and a second icon corresponding to the second window, the second window being separated from the first window by a third in the first direction. Distance, the second icon is separated from the first icon by a fourth distance in the first direction, the first window has a first width in the first direction, and the first icon is in the There is a second width in the first direction; the ratio of the first width to the second width and the ratio of the third distance to the fourth distance are equal or positively correlated.
  • the first width is greater than the second width.
  • the second icon when the second window is moved to the position where the first window is located, the second icon is correspondingly moved to the position where the first icon is located; or when When the second icon is moved to the position where the first icon is located, the second window is moved to the position where the first window is located.
  • the second window has a third width in the first direction
  • the second icon has a fourth width in the first direction
  • the first width The ratio to the second width and the ratio of the third width to the fourth width are equal or positively correlated.
  • the method further includes: in response to triggering a clear instruction, clearing the first window and the first icon.
  • the method further includes:
  • first display area and the second display area are two different display areas on the display screen.
  • the first display area is used to display windows
  • the second display area is used to display icons.
  • the display size of the window is larger than the display size of the icon.
  • the window includes the first window, the first window includes a first application window; the icon includes the first icon, and the first icon includes the first window.
  • Application icon includes the first window, the first window includes a first application window; the icon includes the first icon, and the first icon includes the first window.
  • a window arrangement device including: a window and an icon acquisition module, configured to acquire a first window and a first icon corresponding to the first window; a control module, responding In the first operation event of the first window or the first icon, the first window is moved a first distance and the first icon is moved a second distance; wherein, the first distance is The second distance is different.
  • moving the first window by a first distance and moving the first icon by a second distance includes: moving the first window in a first direction by a first distance and Make the first icon move a second distance in the first direction; wherein the first window has a first width in the first direction, and the first icon has The second width; the ratio of the first width to the second width and the ratio of the first distance to the second distance are equal or positively correlated.
  • a terminal includes: at least one memory and at least one processor; wherein the memory is used to store program code, and the processor is used to call the The program code stored in the memory executes the above-mentioned window arrangement method.
  • a computer storage medium stores a program code, and the program code is used to execute the above-mentioned window arrangement method.

Landscapes

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

Abstract

本公开的实施例提供了一种窗口排列方法、装置、终端及存储介质。该方法包括:获取第一应用窗口和与第一应用窗口对应的第一应用图标;响应于对第一应用窗口或第一应用图标的第一操作事件,第一应用窗口移动第一距离,第一应用图标移动第二距离;其中,第一距离与第二距离不同。在本公开的窗口排列方法中,应用窗口及其对应的应用图标移动的距离不同。即,本公开的应用窗口和与该应用窗口对应的应用图标不是一体的,而是各自独立排列显示的,这样可以更直观地显示更多的应用或任务信息,可更高效地查找应用或任务信息,提升用户体验。

Description

窗口排列方法、装置、终端及存储介质
相关申请的交叉引用
本申请基于申请号为201910967214.9、申请日为2019年10月12日,名称为“窗口排列方法、装置、终端及存储介质”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开的实施例涉及计算机技术领域,更具体地,涉及一种窗口排列方法、装置、终端及存储介质。
背景技术
在现有的窗口(例如,任务管理器窗口)排列中,如果需要寻找或者启动某个窗口,可能需要执行翻页等操作,操作效率较低。
发明内容
提供该发明内容部分以便以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。该发明内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。
为了解决上述问题,本公开提供了一种窗口排列方法、装置、终端及存储介质,本公开的应用窗口和相应的应用图标独立排列显示,可以更直观地显示更多的应用或任务信息,可更高效地查找应用或任务信息,提升用户体验。
根据本公开的一个实施例,提供了一种窗口排列方法,包括:获取第一窗口和与所述第一窗口对应的第一图标;响应于对所述第一窗口或所述第一图标的第一操作事件,所述第一窗口移动第一距离,所述第一图标移动第二距离;其中,所述第一距离与所述第二距离不同。
根据本公开的另一实施例,提供了一种窗口排列装置,包括:窗口和图 标获取模块,配置为获取第一窗口和与所述第一窗口对应的第一图标;控制模块,响应于对所述第一窗口或所述第一图标的第一操作事件,使所述第一窗口移动第一距离并且使所述第一图标移动第二距离;其中,所述第一距离与所述第二距离不同。
根据本公开的另一实施例,提供了一种终端,所述终端包括:至少一个存储器和至少一个处理器;其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器所存储的程序代码以执行上述窗口排列方法。
根据本公开的另一实施例,提供了一种计算机存储介质,所述计算机存储介质存储有程序代码,所述程序代码用于执行上述窗口排列方法。
在本公开的窗口排列方法中,应用窗口及其对应的应用图标移动的距离不同。即,本公开的应用窗口和与该应用窗口对应的应用图标不是一体的,而是各自独立排列显示的,这样可以更直观地显示更多的应用或任务信息,可更高效地查找应用或任务信息,提升用户体验。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1示出了现有的窗口排列方式。
图2示出了本公开的实施例的窗口排列方法的示意流程图。
图3至图5示出了本公开的实施例的窗口排列方式的示意图。
图6示出了本公开的实施例的窗口排列装置的示意图。
图7示出了适于用来实现本公开的实施例的电子设备700的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用, 并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
在现有的窗口(例如,任务管理器窗口)排列中,应用图标绘于或位于应用窗口之上,且应用窗口和应用图标一起显示并且一起消失。当需要寻找到一个应用或任务时,可能需要经过长时间的翻页操作。
如图1所示,示出了一种现有的任务管理器窗口1的排列。在本公开实施例中,窗口可以包括应用窗口,图标可以包括应用图标。虽然本公开实施例以应用窗口和应用图标为例,但并不对窗口和图标做限制,除了可以应用于应用窗口和应用图标以外,窗口和图标也可以用于其他类型的窗口和与其对应图标,例如多媒体数据显示窗口及其缩略图等,用以方便查找或操作,提高操作效率。例如,显示在中央的是第一应用窗口11和第一应用窗口11所对应的第一应用图标11’。另外,在第一应用窗口11的两侧分别显示出第二应用窗口12和第三应用窗口10的部分。可以通过滑动第一应用窗口11来完整展示第二应用窗口12和第三应用窗口10,然而,当历史应用或任务较多时,查找起来可能需要经过长时间的滑动翻页操作,用户体验有待改善。
如图2所述,提供了一种窗口排列方法,包括步骤S101,获取第一应用窗口和与所述第一应用窗口对应的第一应用图标。在一些实施例中,窗口排列 方法中的“窗口”指的是终端的任务管理器窗口,但是本公开不限于此。本公开中的终端可以包括但不限于诸如移动电话、智能手机、笔记本电脑、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置、车载终端设备、车载显示终端、车载电子后视镜等等的移动终端设备以及诸如数字TV、台式计算机等等的固定终端设备。在本公开中,应用窗口和应用图标指的是各种应用(App)的应用窗口和应用图标。
如图3所示,获取第一应用窗口11和与所述第一应用窗口11对应的第一应用图标11’。在本公开中,表示应用窗口的标号后面加上“’”表示其对应的应用图标,例如,标号12表示第二应用窗口(第二应用的应用窗口),标号12’用于表示第二应用图标(第二应用的应用图标)。
本公开的窗口排列方法还包括步骤S102,响应于对第一应用窗口或第一应用图标的第一操作事件,使第一应用窗口移动第一距离,第一应用图标移动第二距离。在一些实施例中,第一应用窗口移动的第一距离与第一应用图标移动的第二距离不同。即,本公开的第一应用窗口11和与所述第一应用窗口11对应的第一应用图标11’不是一体的,而是各自独立排列显示的。
在一些实施例中,第一操作事件包括能够使第一应用窗口11或第一应用图标11’滑动的操作,包括但不限于滑动操作、语音指令或手势操作等。第一操作事件可以是对第一应用窗口11进行操作,也可以是对第一应用图标11’进行操作,使第一应用窗口11和第一应用图标11’中的一个移动或滑动,则另一个也相应地移动或滑动,只是移动的距离并不相同。
如图3所示,在一些实施例中,应用窗口和应用图标均在第一方向上排列和移动,即,在终端屏幕的横向方向上排列和移动。然而,本公开并不限于此,基于同样的原理,应用窗口和应用图标可以在垂直于第一方向的第二方向(例如,终端屏幕的竖直方向)排列和移动,并且在本公开的范围内。因此,本公开所指的第一方向包括但不限于终端屏幕的横向方面或竖直方向。下面的附图和描述中以横向方向作为第一方向进行举例说明。
在一些实施例中,第一应用窗口11在第一方向上移动第一距离,第一应用图标11’在第一方向上移动第二距离,第一应用窗口11在第一方向上具有第一宽度,第一应用图标11’在第一方向上具有第二宽度,第一宽度与第二 宽度的比值和第一距离与第二距离的比值相等或正相关。在一些实施例中,应用窗口(例如,第一应用窗口11)的形状通常为矩形或带有圆形拐角的矩形,但本公开不限于此。如图3所示,在一些实施例中,应用图标的形状各种各样。在一些实施例中,应用窗口或应用图标在第一方向上的宽度(例如,第一宽度、第二宽度等)指的是在第一方向上的最大宽度。
在一些实施例中,本公开的窗口排列方法还包括获取第二应用窗口12和与第二应用窗口12对应的第二应用图标12’,如图3所示,第二应用窗口12在第一方向上与第一应用窗口11相邻排列,第二应用图标12’在所述第一方向上与第一应用图标11’相邻排列。在一些实施例中,第一应用窗口11和第一应用图标11’具有第一显示样式,第二应用窗口12和第二应用图标12’具有第二显示样式,第一显示样式与第二显示样式不同。在一些实施例中,如图3所示,第一应用窗口11和第一应用图标11’位于屏幕中央,并且可以是高亮的,而除了中央的第一应用窗口11和第一应用图标11’之外的其他应用窗口和应用图标均是非高亮的,例如,可以是灰度显示的。即,第一显示样式的显示效果比第二显示样式突出。其中,第一显示样式的显示效果比第二显示样式突出可包括以下至少一项:第一显示样式的亮度值大于第二显示样式的亮度值;第一显示样式的尺寸大于第二显示样式的尺寸;第一显示样式包含突出标识;其中,突出标识例如可以是周围有加框、或者上面有文字、图标等表示选中的标识等。然而,本公开并不限于此,可以采用其他合适的设置。
在一些实施例中,屏幕中央的应用窗口和应用图标是高亮的,第一显示样式的显示效果比第二显示样式突出,例如第一亮度大于第二亮度,如3和图4所示,当第二应用窗口12移动到第一应用窗口11所在的中央位置时,第二应用图标12’移动到第一应用图标11’所在的位置,并且此时第二应用窗口12和第二应用图标12’从第二显示样式变为第一显示样式,例如,从灰度显示变为高亮显示。在一些实施例中,当第二应用图标12’移动到第一应用图标11’所在的位置时,第二应用窗口12移动到第一应用窗口11所在的位置,并且第二应用窗口12和第二应用图标12’从第二显示样式变为第一显示样式,例如,从灰度显示变为高亮显示。如上可知,在本公开中,应用窗口 及其相应的应用图标是联动的,即,将应用窗口或应用图标中的一个移动(例如,移动到中央位置),则应用窗口或应用图标中的另一个也会相应地移动(例如,移动到中央位置),并且移动到中央的应用窗口和应用图标可以高亮显示。
在一些实施例中,响应于对第一应用窗口11或第一应用图标11’的第二操作事件,启动与第一应用窗口11或第一应用图标11’对应的应用。在一些实施例中,第二操作事件包括但不限于点击操作、语音指令或手势操作等,目的是触发相应的应用窗口和应用图标对应的应用的启动。例如,用户点击第一应用窗口11或第一应用图标11’任意一个,可以启动第一应用,此时终端屏幕可以只显示第一应用窗口11,用户可以对第一应用窗口11进行各种操作。类似地,如果用户点击第二应用窗口12或第二应用图标12’任意一个,可以启动第二应用,此时终端屏幕可以只显示第二应用窗口12,用户可以对第二应用窗口12进行各种操作。
在一些实施例中,本公开的窗口排列方法还包括获取第二应用窗口12和与第二应用窗口12对应的第二应用图标12’,第二应用窗口12在第一方向上与第一应用窗口11相隔第三距离,第二应用图标12’在第一方向上与第一应用图标11’相隔第四距离,第一应用窗口11在第一方向上具有第一宽度,第一应用图标11’在第一方向上具有第二宽度。在一些实施例中,第一宽度与第二宽度的比值和第三距离与第四距离的比值相等或正相关。在本公开中,可以通过使第一宽度与第二宽度的比值和第三距离与第四距离的比值相等或正相关来实现应用窗口和应用图标联动。在一些实施例中,应用窗口与相应的应用图标的宽度的比值反映了移动一个应用窗口或应用图标所需经过的距离的比值。在一些实施例中,在终端屏幕上移动的距离可以通过像素坐标来测量。例如,从(1,3)移动到(1,5)可以认为移动了两个单位。这样,相应的距离的比值可以容易地得出。
在一些实施例中,应用窗口(例如,第一应用窗口11)的宽度通常大于相应的应用图标(例如,第一应用图标11’)的宽度,即,第一宽度大于第二宽度。
在一些实施例中,如上所述,可以通过使第一宽度与第二宽度的比值和 第三距离与第四距离的比值相等或正相关来实现应用窗口和应用图标联动。这样,当使第二应用窗口12移动到第一应用窗口11所在的位置时,第二应用图标12’相应地移动到第一应用图标11’所在的位置。当使第二应用图标12’移动到第一应用图标11’所在的位置时,第二应用窗口12移动到第一应用窗口11所在的位置。应该理解,第二应用窗口12可以是除了与第一应用窗口11相邻的应用窗口之外的其他应用窗口,第二应用图标12’可以是除了与第一应用图标11’相邻的应用图标之外的其他应用图标。
在一些实施例中,第二应用窗口12在第一方向上具有第三宽度,第二应用图标12’在所述第一方向上具有第四宽度,第一宽度与第二宽度的比值和第三宽度与第四宽度的比值相等或正相关。通常地,各个应用窗口的宽度是相同的,各个应用图标的宽度是相同的。然而,本公开不限于此,通过满足第一宽度与第二宽度的比值和第三宽度与第四宽度的比值相等或正相关,即使第一宽度与第三宽度不同,第二宽度与第四宽度不同,依然能够实现各个应用窗口和相应的应用图标之间的联动。因此,满足以下条件之一,即可实现各个应用窗口和相应的应用图标之间的联动:第一宽度与第二宽度的比值和第三距离与第四距离的比值相等或正相关,或者第一宽度与第二宽度的比值和第三宽度与第四宽度的比值相等或正相关。
在一些实施例中,各个应用窗口之间或者各个应用图标之间基本上是没有间隙的,以增大它们的排列密度。然而,本公开不限于此,当各个应用窗口之间和各个应用图标之间均具有间隙时,则相应的应用窗口之间的间隙与相应的应用图标之间的间隙的比值和第一宽度与第二宽度的比值相等或正相关。如此,也可以确保各个应用窗口和相应的应用图标之间的联动。
如图5所示,在一些实施例中,本公开的窗口排列方法还包括响应于触发清空指令,例如位于第一应用窗口11和第一应用图标11’之间的清空键15,将第一应用窗口11和第一应用图标11’清空。应该理解,虽然图5中将清空键15示出为位于屏幕的中心线的位置处,但是本公开不限于此,可以将清空键15设置在任何其他合适的位置处。另外,触发可以包括点击操作、语音指令或手势操作等。此外,当存在其他应用窗口和应用图标时,触发清空键15也将清空该其他应用窗口(例如,第二应用窗口12)或应用图标(例如,第 二应用图标12’)。在一些实施例中,在应用窗口和应用图标被清空时,应用窗口和应用图标不再显示,与应用窗口和应用图标对应的后台资源也可以被释放。
本公开的实施例还提供了一种与上述方法对应的用于窗口排列装置600,包括应用窗口和应用图标获取模块601和控制模块602。应用窗口和应用图标获取模块601配置为获取第一应用窗口11和与第一应用窗口11对应的第一应用图标11’。控制模块602响应于对第一应用窗口11或第一应用图标11’的第一操作事件,使第一应用窗口11移动第一距离并且使第一应用图标11’移动第二距离;其中,第一距离与第二距离不同。在一些实施例中,第一操作事件包括能够使第一应用窗口11或第一应用图标11’滑动的操作,包括但不限于滑动操作、语音指令或手势操作等。第一操作事件可以是对第一应用窗口11进行操作,也可以是对第一应用图标11’进行操作,使第一应用窗口11和第一应用图标11’中的一个移动或滑动,则另一个也相应地移动或滑动,只是移动的距离并不相同。
在一些实施例中,使第一应用窗口11移动第一距离并且使第一应用图标11’移动第二距离包括:使第一应用窗口11在第一方向上移动第一距离并且使第一应用图标11’在第一方向上移动第二距离;其中,第一应用窗口11在第一方向上具有第一宽度,第一应用图标11’在第一方向上具有第二宽度,其中,第一宽度与第二宽度的比值和第一距离与第二距离的比值相等或正相关。如此,可以实现各个应用窗口和相应的应用图标之间的联动。
此外,本公开还提供一种终端,包括:至少一个存储器和至少一个处理器;其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器所存储的程序代码以执行上述窗口排列方法。
此外,本公开还提供一种计算机存储介质,该计算机存储介质存储有程序代码,程序代码用于执行上述窗口排列方法。
在一些实施例中,本公开的应用窗口和相应的应用图标独立排列显示,并且是相互联动的。在一些实施例中,当将某个应用窗口移动到高亮显示位置时,其对应的应用图标也移动到高亮显示位置;当将某个应用图标移动到高亮显示位置时,其对应的应用窗口也移动到高亮显示位置。本公开的技术方案可以通 过移动或滑动应用图标快速地寻找或浏览所有的历史应用或任务。另外,触发应用窗口或应用图标均可以启动相应的应用。
下面参考图7,其示出了适于用来实现本公开实施例的电子设备700的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图7示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图7所示,电子设备700可以包括处理装置(例如中央处理器、图形处理器等)701,其可以根据存储在只读存储器(ROM)702中的程序或者从存储装置706加载到随机访问存储器(RAM)703中的程序而执行各种适当的动作和处理。在RAM 703中,还存储有电子设备700操作所需的各种程序和数据。处理装置701、ROM 702以及RAM 703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。
通常,以下装置可以连接至I/O接口705:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置706;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置707;包括例如磁带、硬盘等的存储装置706;以及通信装置709。通信装置709可以允许电子设备700与其他设备进行无线或有线通信以交换数据。虽然图7示出了具有各种装置的电子设备700,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置609从网络上被下载和安装,或者从存储装置706被安装,或者从ROM 702被安装。在该计算机程序被处理装置701执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质 或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:获取至少两个网际协议地址;向节点评价设备发送包括所述至少两个网际协议地址的节点评价请求,其中,所述节点评价设备从所述至少两个网际协议地址中,选取网际协议地址并返回;接收所述节点评价设备返回的网际协议地址;其中,所获取的网际协议地址指示内 容分发网络中的边缘节点。
或者,上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:接收包括至少两个网际协议地址的节点评价请求;从所述至少两个网际协议地址中,选取网际协议地址;返回选取出的网际协议地址;其中,接收到的网际协议地址指示内容分发网络中的边缘节点。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一获取单元还可以被描述为“获取至少两个网际协议地址的单元”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,提供了一种窗口排列方法,包括:获取第一窗口和与所述第一窗口对应的第一图标;响应于对所述第一窗口或所述第一图标的第一操作事件,所述第一窗口移动第一距离,所述第一图标移动第二距离;其中,所述第一距离与所述第二距离不同。
根据本公开的一个或多个实施例,所述第一操作事件包括能够使所述第一窗口或所述第一图标滑动的操作。
根据本公开的一个或多个实施例,所述第一窗口在第一方向上移动第一距离,所述第一图标在所述第一方向上移动第二距离,所述第一窗口在所述第一方向上具有第一宽度,所述第一图标在所述第一方向上具有第二宽度;所述第一宽度与所述第二宽度的比值和所述第一距离与所述第二距离的比值相等或正相关。
根据本公开的一个或多个实施例,还包括:获取第二窗口和与所述第二窗口对应的第二图标,所述第二窗口在第一方向上与所述第一窗口相邻排列,所述第二图标在所述第一方向上与所述第一图标相邻排列;其中,所述第一窗口和所述第一图标具有第一显示样式,所述第二窗口和所述第二图标具有第二显示样式,所述第一显示样式与所述第二显示样式不同。
根据本公开的一个或多个实施例,所述第一显示样式的显示效果比所述第二显示样式突出,当所述第二窗口移动到所述第一窗口所在的位置时,所述第二图标移动到所述第一图标所在的位置,并且所述第二窗口和所述第二图标从所述第二显示样式变为所述第一显示样式。
根据本公开的一个或多个实施例,所述第一显示样式的显示效果比所述第二显示样式突出,当所述第二图标移动到所述第一图标所在的位置时,所述第二窗口移动到所述第一窗口所在的位置,并且所述第二窗口和所述第二图标从所述第二显示样式变为所述第一显示样式。
根据本公开的一个或多个实施例,所述第一显示样式的显示效果比所述第二显示样式突出包括以下至少一项:
所述第一显示样式的亮度值大于所述第二显示样式的亮度值;
所述第一显示样式的尺寸大于所述第二显示样式的尺寸;
所述第一显示样式包含突出标识。
根据本公开的一个或多个实施例,还包括:响应于对所述第一窗口或所述第一图标的第二操作事件,启动与所述第一窗口或所述第一图标对应的应用。
根据本公开的一个或多个实施例,所述第二操作事件包括点击操作、语音指令或手势操作。
根据本公开的一个或多个实施例,还包括:获取第二窗口和与所述第二窗口对应的第二图标,所述第二窗口在第一方向上与所述第一窗口相隔第三距离,所述第二图标在所述第一方向上与所述第一图标相隔第四距离,所述第一窗口在所述第一方向上具有第一宽度,所述第一图标在所述第一方向上具有第二宽度;所述第一宽度与所述第二宽度的比值和所述第三距离与所述第四距离的比值相等或正相关。
根据本公开的一个或多个实施例,所述第一宽度大于所述第二宽度。
根据本公开的一个或多个实施例,当使所述第二窗口移动到所述第一窗口所在的位置时,所述第二图标相应地移动到所述第一图标所在的位置;或当使所述第二图标移动到所述第一图标所在的位置时,所述第二窗口移动到所述第一窗口所在的位置。
根据本公开的一个或多个实施例,所述第二窗口在所述第一方向上具有第三宽度,所述第二图标在所述第一方向上具有第四宽度,所述第一宽度与所述第二宽度的比值和所述第三宽度与所述第四宽度的比值相等或正相关。
根据本公开的一个或多个实施例,还包括:响应于触发清空指令,将所述第一窗口和所述第一图标清空。
根据本公开的一个或多个实施例,所述方法还包括:
将窗口显示在第一显示区域内,将图标显示在第二显示区域内;
其中,第一显示区域和第二显示区域是显示屏幕上两个不同的显示区域,第一显示区域用于显示窗口,第二显示区域用于显示图标,窗口的显示尺寸大于图标的显示尺寸。
根据本公开的一个或多个实施例,所述窗口包括所述第一窗口,所述第一窗口包括第一应用窗口;所述图标包括所述第一图标,所述第一图标包括第一应用图标。
根据本公开的一个或多个实施例,提供了一种窗口排列装置,包括:窗口和图标获取模块,配置为获取第一窗口和与所述第一窗口对应的第一图标;控制模块,响应于对所述第一窗口或所述第一图标的第一操作事件,使所述第一窗口移动第一距离并且使所述第一图标移动第二距离;其中,所述第一距离与所述第二距离不同。
根据本公开的一个或多个实施例,使所述第一窗口移动第一距离并且使所述第一图标移动第二距离包括:使所述第一窗口在第一方向上移动第一距离并且使所述第一图标在所述第一方向上移动第二距离;其中,所述第一窗口在所述第一方向上具有第一宽度,所述第一图标在所述第一方向上具有第二宽度;所述第一宽度与所述第二宽度的比值和所述第一距离与所述第二距离的比值相等或正相关。
根据本公开的一个或多个实施例,提供了一种终端,所述终端包括:至少一个存储器和至少一个处理器;其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器所存储的程序代码以执行上述窗口排列方法。
根据本公开的一个或多个实施例,提供了一种计算机存储介质,所述计算机存储介质存储有程序代码,所述程序代码用于执行上述窗口排列方法。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (20)

  1. 一种窗口排列方法,其特征在于,包括:
    获取第一窗口和与所述第一窗口对应的第一图标;
    响应于对所述第一窗口或所述第一图标的第一操作事件,
    所述第一窗口移动第一距离,所述第一图标移动第二距离;
    其中,所述第一距离与所述第二距离不同。
  2. 根据权利要求1所述的窗口排列方法,其特征在于,所述第一操作事件包括能够使所述第一窗口或所述第一图标滑动的操作。
  3. 根据权利要求1所述的窗口排列方法,其特征在于,所述第一窗口在第一方向上移动第一距离,所述第一图标在所述第一方向上移动第二距离,所述第一窗口在所述第一方向上具有第一宽度,所述第一图标在所述第一方向上具有第二宽度;
    所述第一宽度与所述第二宽度的比值和所述第一距离与所述第二距离的比值相等或正相关。
  4. 根据权利要求1所述的窗口排列方法,其特征在于,还包括:
    获取第二窗口和与所述第二窗口对应的第二图标,所述第二窗口在第一方向上与所述第一窗口相邻排列,所述第二图标在所述第一方向上与所述第一图标相邻排列;
    其中,所述第一窗口和所述第一图标具有第一显示样式,所述第二窗口和所述第二图标具有第二显示样式,所述第一显示样式与所述第二显示样式不同。
  5. 根据权利要求4所述的窗口排列方法,其特征在于,
    所述第一显示样式的显示效果比所述第二显示样式突出,
    当所述第二窗口移动到所述第一窗口所在的位置时,所述第二图标移动到所述第一图标所在的位置,并且所述第二窗口和所述第二图标从所述第二显示样式变为所述第一显示样式。
  6. 根据权利要求4所述的窗口排列方法,其特征在于,
    所述第一显示样式的显示效果比所述第二显示样式突出,
    当所述第二图标移动到所述第一图标所在的位置时,所述第二窗口移动到所述第一窗口所在的位置,并且所述第二窗口和所述第二图标从所述第二显示样式变为所述第一显示样式。
  7. 根据权利要求5或6所述的方法,其特征在于,所述第一显示样式的显示效果比所述第二显示样式突出包括以下至少一项:
    所述第一显示样式的亮度值大于所述第二显示样式的亮度值;
    所述第一显示样式的尺寸大于所述第二显示样式的尺寸;
    所述第一显示样式包含突出标识。
  8. 根据权利要求1所述的窗口排列方法,其特征在于,还包括:
    响应于对所述第一窗口或所述第一图标的第二操作事件,启动与所述第一窗口或所述第一图标对应的应用。
  9. 根据权利要求8所述的窗口排列方法,其特征在于,所述第二操作事件包括点击操作、语音指令或手势操作。
  10. 根据权利要求1所述的窗口排列方法,其特征在于,还包括:
    获取第二窗口和与所述第二窗口对应的第二图标,所述第二窗口在第一方向上与所述第一窗口相隔第三距离,所述第二图标在所述第一方向上与所述第一图标相隔第四距离,所述第一窗口在所述第一方向上具有第一宽度,所述第一图标在所述第一方向上具有第二宽度;
    所述第一宽度与所述第二宽度的比值和所述第三距离与所述第四距离的比值相等或正相关。
  11. 根据权利要求10所述的窗口排列方法,其特征在于,所述第一宽度大于所述第二宽度。
  12. 根据权利要求10所述的窗口排列方法,其特征在于,
    当使所述第二窗口移动到所述第一窗口所在的位置时,所述第二图标相应地移动到所述第一图标所在的位置;或
    当使所述第二图标移动到所述第一图标所在的位置时,所述第二窗口移动到所述第一窗口所在的位置。
  13. 根据权利要求10所述的窗口排列方法,其特征在于,所述第二窗口 在所述第一方向上具有第三宽度,所述第二图标在所述第一方向上具有第四宽度,所述第一宽度与所述第二宽度的比值和所述第三宽度与所述第四宽度的比值相等或正相关。
  14. 根据权利要求1所述的窗口排列方法,其特征在于,还包括:
    响应于触发清空指令,将所述第一窗口和所述第一图标清空。
  15. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    将窗口显示在第一显示区域内,将图标显示在第二显示区域内;
    其中,第一显示区域和第二显示区域是显示屏幕上两个不同的显示区域,第一显示区域用于显示窗口,第二显示区域用于显示图标,窗口的显示尺寸大于图标的显示尺寸。
  16. 根据权利要求15所述的方法,其特征在于,所述窗口包括所述第一窗口,所述第一窗口包括第一应用窗口;所述图标包括所述第一图标,所述第一图标包括第一应用图标。
  17. 一种窗口排列装置,其特征在于,包括:
    窗口和图标获取模块,配置为获取第一窗口和与所述第一窗口对应的第一图标;
    控制模块,响应于对所述第一窗口或所述第一图标的第一操作事件,使所述第一窗口移动第一距离并且使所述第一图标移动第二距离;
    其中,所述第一距离与所述第二距离不同。
  18. 根据权利要求17所述的窗口排列装置,其特征在于,使所述第一窗口移动第一距离并且使所述第一图标移动第二距离包括:使所述第一窗口在第一方向上移动第一距离并且使所述第一图标在所述第一方向上移动第二距离;
    其中,所述第一窗口在所述第一方向上具有第一宽度,所述第一图标在所述第一方向上具有第二宽度;
    所述第一宽度与所述第二宽度的比值和所述第一距离与所述第二距离的比值相等或正相关。
  19. 一种终端,其特征在于,所述终端包括:
    至少一个存储器和至少一个处理器;
    其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器所存储的程序代码以执行权利要求1至16中任一项所述的窗口排列方法。
  20. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有程序代码,所述程序代码用于执行权利要求1至16中任一项所述的窗口排列方法。
PCT/CN2020/120390 2019-10-12 2020-10-12 窗口排列方法、装置、终端及存储介质 WO2021068964A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910967214.9 2019-10-12
CN201910967214.9A CN110737494A (zh) 2019-10-12 2019-10-12 窗口排列方法、装置、终端及存储介质

Publications (1)

Publication Number Publication Date
WO2021068964A1 true WO2021068964A1 (zh) 2021-04-15

Family

ID=69268747

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/120390 WO2021068964A1 (zh) 2019-10-12 2020-10-12 窗口排列方法、装置、终端及存储介质

Country Status (2)

Country Link
CN (1) CN110737494A (zh)
WO (1) WO2021068964A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737494A (zh) * 2019-10-12 2020-01-31 北京字节跳动网络技术有限公司 窗口排列方法、装置、终端及存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073491A (zh) * 2009-11-10 2011-05-25 联想(新加坡)私人有限公司 多模式用户界面
EP2680119A2 (en) * 2012-06-28 2014-01-01 Orange Enhanced user interface to suspend a drag and drop operation
CN105393201A (zh) * 2013-06-09 2016-03-09 苹果公司 用于管理同时打开的软件应用的设备、方法和图形用户界面
CN106168869A (zh) * 2016-06-24 2016-11-30 北京奇虎科技有限公司 基于悬浮窗的桌面视图处理方法、装置及终端
CN109933256A (zh) * 2019-03-22 2019-06-25 网易传媒科技(北京)有限公司 应用程序切换方法、应用程序切换装置、介质和计算设备
CN110737495A (zh) * 2019-10-14 2020-01-31 北京字节跳动网络技术有限公司 窗口显示方法、装置、终端及存储介质
CN110737494A (zh) * 2019-10-12 2020-01-31 北京字节跳动网络技术有限公司 窗口排列方法、装置、终端及存储介质

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412763B (zh) * 2013-08-30 2017-05-03 广东欧珀移动通信有限公司 一种移动终端的后台程序管理方法和移动终端
CN107168613B (zh) * 2017-05-15 2020-11-17 海能达通信股份有限公司 一种界面交互方法及一种集群终端
CN109407930A (zh) * 2018-10-30 2019-03-01 维沃移动通信有限公司 一种应用程序处理方法及终端设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073491A (zh) * 2009-11-10 2011-05-25 联想(新加坡)私人有限公司 多模式用户界面
EP2680119A2 (en) * 2012-06-28 2014-01-01 Orange Enhanced user interface to suspend a drag and drop operation
CN105393201A (zh) * 2013-06-09 2016-03-09 苹果公司 用于管理同时打开的软件应用的设备、方法和图形用户界面
CN106168869A (zh) * 2016-06-24 2016-11-30 北京奇虎科技有限公司 基于悬浮窗的桌面视图处理方法、装置及终端
CN109933256A (zh) * 2019-03-22 2019-06-25 网易传媒科技(北京)有限公司 应用程序切换方法、应用程序切换装置、介质和计算设备
CN110737494A (zh) * 2019-10-12 2020-01-31 北京字节跳动网络技术有限公司 窗口排列方法、装置、终端及存储介质
CN110737495A (zh) * 2019-10-14 2020-01-31 北京字节跳动网络技术有限公司 窗口显示方法、装置、终端及存储介质

Also Published As

Publication number Publication date
CN110737494A (zh) 2020-01-31

Similar Documents

Publication Publication Date Title
WO2021218519A1 (zh) 应用程序的页面切换方法、装置、电子设备及非暂时性可读存储介质
WO2021135626A1 (zh) 菜单项选择方法、装置、可读介质及电子设备
WO2021073327A1 (zh) 窗口显示方法、装置、终端及存储介质
WO2020253453A1 (zh) 图像切换方法、装置、电子设备及存储介质
CN111291244B (zh) 房源信息展示方法、装置、终端及存储介质
WO2021190129A1 (zh) 页面处理方法、装置、电子设备及计算机可读存储介质
WO2020156055A1 (zh) 显示界面切换方法、电子设备及计算机可读存储介质
CN114491349B (zh) 页面显示方法、装置、电子设备、存储介质和程序产品
WO2022052774A1 (zh) 控制电子设备的方法、装置、终端及存储介质
EP4440099A1 (en) Method and apparatus for photographing media content, device, storage medium, and program product
WO2023138294A1 (zh) 一种信息展示方法、装置、设备及介质
EP4435635A1 (en) Control display method and apparatus, electronic device, storage medium, and program product
WO2024061201A1 (zh) 一种展示方法、装置、电子设备、计算机可读介质
CN110795196A (zh) 窗口显示方法、装置、终端及存储介质
WO2022184006A1 (zh) 文档的显示方法、装置、电子设备和存储介质
WO2022179409A1 (zh) 控件显示方法、装置、设备及介质
CN112181571A (zh) 浮窗显示方法、装置、终端及存储介质
WO2024183656A1 (zh) 直播页面的显示方法、装置、设备、存储介质和程序产品
CN111723309B (zh) 用于网页搜索的方法和装置
WO2021244651A1 (zh) 信息显示方法、装置、终端及存储介质
US12008219B2 (en) User interface presentation method and apparatus, computer-readable medium and electronic device
WO2021068964A1 (zh) 窗口排列方法、装置、终端及存储介质
WO2021185047A1 (zh) 贴纸处理方法及装置
US20230276079A1 (en) Live streaming room page jump method and apparatus, live streaming room page return method and apparatus, and electronic device
WO2020192246A1 (zh) 终端界面的显示控制方法、装置、存储介质及电子设备

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 12/08/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20873886

Country of ref document: EP

Kind code of ref document: A1