CN115016717A - Address bar-based interaction method and computing device - Google Patents

Address bar-based interaction method and computing device Download PDF

Info

Publication number
CN115016717A
CN115016717A CN202210459928.0A CN202210459928A CN115016717A CN 115016717 A CN115016717 A CN 115016717A CN 202210459928 A CN202210459928 A CN 202210459928A CN 115016717 A CN115016717 A CN 115016717A
Authority
CN
China
Prior art keywords
address
new
tab
page
label
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.)
Pending
Application number
CN202210459928.0A
Other languages
Chinese (zh)
Inventor
卢桢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Uniontech Software Technology Co Ltd
Original Assignee
Uniontech Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Uniontech Software Technology Co Ltd filed Critical Uniontech Software Technology Co Ltd
Priority to CN202210459928.0A priority Critical patent/CN115016717A/en
Publication of CN115016717A publication Critical patent/CN115016717A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/0484Interaction 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
    • G06F3/0486Drag-and-drop
    • 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
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Abstract

The invention discloses an address bar-based interaction method, which is executed in a file manager of a computing device, wherein a file management window corresponding to the file manager is suitable for being displayed on a system desktop, an address bar is included in the file management window, the address bar comprises one or more address sections, and the method comprises the following steps: receiving the dragging operation of a mouse on the address field, and judging whether the dragging operation meets a preset condition; when the dragging operation meets a preset condition, a new file management page corresponding to the address segment is created, and the new file management page comprises a file view; and determining an address corresponding to the address field, and displaying one or more files corresponding to the address field in a file view of the new text pipe page based on the address. The invention also discloses corresponding computing equipment.

Description

Address bar-based interaction method and computing device
This application is a divisional application of the invention patent application 2021108540506 filed on 7/28/2021.
Technical Field
The invention relates to the technical field of computers, in particular to an interaction method based on an address bar and computing equipment.
Background
At present, although a mainstream file manager can be switched to a specified directory by editing an address bar, most address bars have relatively single functions, and if a user needs to switch back and forth between a current directory and a parent directory, repeated switching operation by the address bar is obviously tedious. In addition, a new text pipe window can be created, the specified position is navigated in the new window through the address bar, and repeated switching operation can be avoided by operating between the two windows. However, the conventional method for creating a new window or a tab page is inconvenient to operate, and comprises a plurality of steps, namely, firstly, performing right key operation, then selecting 'open in the new window' in a pop-up right key menu, further navigating to a specified position in the newly created window through an address bar, and performing file interoperation between the two windows after the three steps are completed.
Based on the existing file manager, at least three basic operation steps are needed to simultaneously access files in a plurality of directories, and the effect of one-step in place cannot be realized, so that the operation efficiency is low and the user experience is not good.
Therefore, an address bar-based interaction method is needed to solve the problems in the above technical solutions.
Disclosure of Invention
To this end, the present invention provides an address bar based interaction method in an attempt to solve or at least alleviate the above-presented problems.
According to an aspect of the present invention, there is provided an address bar-based interaction method, executed in a file manager of a computing device, a corresponding file manager window of the file manager being suitable for displaying on a system desktop, the file manager window including an address bar therein, the address bar including one or more address segments, the method including the steps of: receiving the dragging operation of a mouse on the address segment, and judging whether the dragging operation meets a preset condition; when the dragging operation meets a preset condition, creating a new text pipe page corresponding to the address field, wherein the new text pipe page comprises a file view; and determining an address corresponding to the address field, and displaying one or more files corresponding to the address field in the file view of the new text pipe page based on the address.
Optionally, in the address bar-based interaction method according to the present invention, the new context page includes a new context window, the predetermined condition includes a first predetermined condition, and the first predetermined condition is that the address segment is dragged out of the context window and released; when the dragging operation meets a preset condition, creating a new text pipe page corresponding to the address segment comprises the following steps: and when the dragging operation meets a first preset condition, creating a new text pipe window corresponding to the address field.
Optionally, in the address bar-based interaction method according to the present invention, the new context page includes a tab page, a tab bar is included in the context window, the predetermined condition includes a second predetermined condition, and the second predetermined condition is that the address segment is dragged to the tab bar in the context window and released; when the dragging operation meets a preset condition, creating a new text pipe page corresponding to the address field segment comprises the following steps: when the dragging operation meets a second preset condition, a tab page corresponding to the address field is created, wherein the tab page comprises a corresponding tab and a file view, and the tab is suitable for being displayed in the tab bar.
Optionally, in the address bar-based interaction method according to the present invention, when the drag operation satisfies a first predetermined condition, the step of creating a new context window corresponding to the address segment includes: determining the position of a mouse pointer in real time; when the position of a mouse pointer is positioned outside the text pipe window, triggering a pre-established window state; and responding to the operation of releasing the mouse button outside the text pipe window, and creating a new text pipe window corresponding to the address field.
Optionally, in the address bar-based interaction method according to the present invention, the tab bar includes one or more tabs of a tab page, each tab corresponds to an index, and the step of creating a tab page corresponding to the address segment includes: determining the position of a mouse pointer in real time; when the position of a mouse pointer is positioned in the tab bar, triggering a state of pre-creating a new tab page; and responding to the operation of releasing a mouse button in the label column, determining a label selected by a mouse pointer in the label column according to the position of the mouse pointer, and creating a new label page based on the selected label, wherein the label of the new label page is displayed on one side of the selected label.
Optionally, in the address bar-based interaction method according to the present invention, the step of creating a new tab page based on the selected tab includes: determining an index corresponding to the label selected by the mouse pointer in the label column according to the position of the mouse pointer; taking the index corresponding to the selected label as the index of a new label, and creating a new label page based on the index of the new label so as to insert the new label at the left side of the selected label; the index of each tag to the right of the new tag is updated.
Optionally, in the address bar-based interaction method according to the present invention, the step of triggering the pre-creation of a new tab page state includes: and determining the label selected by the mouse pointer in the label column according to the position of the mouse pointer, and presenting a rectangular color block with preset width and preset color on the left side of the selected label.
Optionally, in the address bar-based interaction method according to the present invention, the step of displaying one or more files corresponding to the address field in the file view of the new text pipe page includes: and transmitting the address into the new text pipe page as a parameter so that the new text pipe page displays one or more corresponding files in a file view according to the parameter.
According to an aspect of the invention, there is provided a computing device comprising: at least one processor; and a memory storing program instructions, wherein the program instructions are configured to be executed by the at least one processor, the program instructions comprising instructions for performing the address bar based interaction method as described above.
According to an aspect of the present invention, there is provided a readable storage medium storing program instructions which, when read and executed by a computing device, cause the computing device to perform the method as described above.
According to the technical scheme of the invention, the address bar-based interaction method is provided, and the creation of the new context management page corresponding to the dragged address field can be realized only by dragging the address field through a mouse, and one or more files under the file directories corresponding to the address field are displayed in the file view of the new context management page, so that the creation of the new context management page can be realized in one step through the dragging operation of the address bar, the operation steps are simplified, the efficiency of creating the new context management page is improved, moreover, the simultaneous access of the files under the multiple directories is realized based on the newly created context management page, and the switching operation among the multiple file directories can be conveniently carried out, thereby improving the efficiency of switching the file directories.
Further, according to the technical scheme of the invention, when the address bar is dragged by the mouse, the corresponding new text pipe window or label page is created according to whether the position released by the mouse is released outside the window or in the label bar in the window, so that two creating functions of creating the text pipe window and creating the label page are integrated, and the operation mode is unified, thereby simplifying the operation process of the user and reducing the operation cost.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which are indicative of various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to be within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description read in conjunction with the accompanying drawings. Throughout this disclosure, like reference numerals generally refer to like parts or elements.
FIG. 1 shows a schematic diagram of a computing device 100, according to one embodiment of the invention;
FIG. 2 illustrates a flow diagram of an address bar-based interaction method 200 according to one embodiment of the invention;
FIG. 3 illustrates a diagram of creating a new venturi window, according to one embodiment of the present invention;
FIG. 4 illustrates a schematic diagram of a mouse pointer location, in accordance with one embodiment of the present invention; and
fig. 5-7 illustrate schematic diagrams of creating a tab page according to one embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a schematic block diagram of an example computing device 100.
As shown in FIG. 1, in a basic configuration 102, a computing device 100 typically includes a system memory 106 and one or more processors 104. A memory bus 108 may be used for communication between the processor 104 and the system memory 106.
Depending on the desired configuration, the processor 104 may be any type of processing, including but not limited to: a microprocessor (UP), a microcontroller (UC), a digital information processor (DSP), or any combination thereof. The processor 104 may include one or more levels of cache, such as a level one cache 110 and a level two cache 112, a processor core 114, and registers 116. The example processor core 114 may include an Arithmetic Logic Unit (ALU), a Floating Point Unit (FPU), a digital signal processing core (DSP core), or any combination thereof. The example memory controller 118 may be used with the processor 104, or in some implementations the memory controller 118 may be an internal part of the processor 104.
Depending on the desired configuration, system memory 106 may be any type of memory, including but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. System memory 106 may include an operating system 120, one or more applications 122, and program data 124. In some implementations, the application 122 can be arranged to execute instructions on an operating system with the program data 124 by the one or more processors 104.
Computing device 100 also includes a storage device 132, storage device 132 including removable storage 136 and non-removable storage 138.
Computing device 100 may also include a storage interface bus 134. The storage interface bus 134 enables communication from the storage devices 132 (e.g., removable storage 136 and non-removable storage 138) to the basic configuration 102 via the bus/interface controller 130. At least a portion of the operating system 120, applications 122, and data 124 may be stored on removable storage 136 and/or non-removable storage 138, and loaded into system memory 106 via storage interface bus 134 and executed by the one or more processors 104 when the computing device 100 is powered on or the applications 122 are to be executed.
Computing device 100 may also include an interface bus 140 that facilitates communication from various interface devices (e.g., output devices 142, peripheral interfaces 144, and communication devices 146) to the basic configuration 102 via the bus/interface controller 130. The example output device 142 includes a graphics processing unit 148 and an audio processing unit 150. They may be configured to facilitate communication with various external devices, such as a display or speakers, via one or more a/V ports 152. Example peripheral interfaces 144 may include a serial interface controller 154 and a parallel interface controller 156, which may be configured to facilitate communication with external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripherals (e.g., printer, scanner, etc.) via one or more I/O ports 158. An example communication device 146 may include a network controller 160, which may be arranged to facilitate communications with one or more other computing devices 162 over a network communication link via one or more communication ports 164.
The network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media, such as carrier waves or other transport mechanisms, in a modulated data signal. A "modulated data signal" may be a signal that has one or more of its data set or its changes made in a manner that encodes information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or private-wired network, and various wireless media such as acoustic, Radio Frequency (RF), microwave, Infrared (IR), or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
Computing device 100 may be implemented as a personal computer including both desktop and notebook computer configurations. Of course, computing device 100 may also be implemented as part of a small-form factor portable (or mobile) electronic device such as a cellular telephone, a digital camera, a Personal Digital Assistant (PDA), a personal media player device, a wireless web-watch device, a personal headset, an application specific device, or a hybrid device that include any of the above functions. And may even be implemented as a server, such as a file server, a database server, an application server, a WEB server, and so forth. The embodiments of the present invention are not limited thereto.
In an embodiment in accordance with the invention, the computing device 100 is configured to perform an address bar-based interaction method 200 in accordance with the invention. Wherein the application of the computing device 100 comprises a plurality of program instructions for executing the address bar-based interaction method 200 of the present invention, so that the address bar-based interaction method 200 of the present invention can be executed in the computing device 100.
According to an embodiment of the present invention, the file manager 125 is included on an operating system of the computing device 100, and the file manager 125 includes a plurality of program instructions for executing the address bar-based interaction method 200 of the present invention, so that the address bar-based interaction method 200 of the present invention can be executed in the file manager.
FIG. 2 illustrates a flow diagram of an address bar-based interaction method 200, according to one embodiment of the invention. The address bar based interaction method 200 may be performed in a file manager 125 of a computing device (e.g., the computing device 100 described above). The file manager includes a corresponding text pipe window adapted to be displayed on the system desktop of the computing device 100.
According to one embodiment of the invention, an address bar is included within the context window, and the address bar may include one or more address segments. It should be noted that the address in the address bar may include one or more associated file directories, each of which may serve as an address field.
As shown in fig. 3, the address bar of the current document management window includes addresses "/folder a/folder B/work document", where "folder a", "folder B", and "work document" are respectively one address field, and there is an association relationship between the three address fields, where "folder B" is a subdirectory under "folder a", and "work document" is a subdirectory under "folder B". In addition, a file view is also included in the text pipe window, and the file view is an area for displaying files in the text pipe window. Wherein, displayed in the file view of the current file management window are a plurality of files under the current file directory "work document".
It should be noted that, when a user needs to switch from the current file directory to another directory, for example, when a user needs to switch from the current "work document" to the "folder B" file directory, the address bar-based interaction method 200 of the present invention can be executed to create a corresponding new context page.
As shown in fig. 2, the method 200 begins at step S210.
In step S210, a drag operation of the mouse on any address field (e.g., folder B) in the address bar of the current text pipe window is received, and it is determined whether the drag operation satisfies a predetermined condition. Here, the predetermined condition is a condition related to a mouse release position.
When the drag operation satisfies a predetermined condition, step S220 is performed. In step S220, a new text pipe page corresponding to the address segment is created, the new text pipe page includes a corresponding file view therein, and the file view is used for displaying one or more files corresponding to the address segment.
According to one embodiment of the invention, the new context page comprises a new context window and a tab page, wherein the new context window is adapted to be created outside the current context window and the tab page is adapted to be created inside the current context window. A label bar is also included in the venturi window.
Accordingly, the predetermined conditions include a first predetermined condition corresponding to creation of a new text pipe window, a second predetermined condition corresponding to creation of a tab page, the first predetermined condition being a release of dragging the address field out of the text pipe window, the second predetermined condition being a release of dragging the address field to a tab bar within the text pipe window. It may be synchronously determined whether the drag operation satisfies the first predetermined condition and the second predetermined condition in step S210.
When the drag operation satisfies the first predetermined condition, that is, when the drag operation is to release the address segment from the outside of the text window, a new text window corresponding to the address segment may be created outside the current text window in step S220. Here, FIG. 3 shows a schematic diagram of creating a new context window, according to one embodiment of the invention.
When the drag operation satisfies the second predetermined condition, that is, when the drag operation is a release of dragging the address segment to the tab bar within the text pipe window, a tab page corresponding to the address segment may be created within the current text pipe window in step S220. Here, fig. 5 to 7 illustrate diagrams of creating a tab sheet according to an embodiment of the present invention.
Finally, in step S230, the address corresponding to the address field is determined, and one or more files corresponding to the address field are displayed in the file view of the new text pipe page based on the address corresponding to the address field.
Therefore, according to the technical scheme of the invention, the creation of the new text pipe page corresponding to the dragged address field can be realized only by dragging the address field by the mouse, wherein the new text pipe window or the tab page is correspondingly created according to whether the position released by the mouse is released outside the window or in the tab bar in the window. The file view within the new context page may display one or more files under the file directory corresponding to the address field. Therefore, the creation of a new text management page can be realized only by dragging the address bar, the files under a plurality of directories can be accessed simultaneously based on the newly created text management page, the switching operation among the plurality of file directories can be conveniently carried out, and the efficiency of switching the file directories is improved.
It should be noted that the dragged address field is a file directory, such as "folder B", and the address corresponding to the address field is the complete file path corresponding to the file directory. For example, the address in the address bar is "/folder A/folder B/work document", wherein the address corresponding to the address field "folder B" is "/folder A/folder B".
It should be appreciated that one or more files contained under an address segment may be accessed based on the address to which the address segment corresponds. For example, one or more files under folder B may be accessed based on address being "/folder A/folder B". In this way, one or more files contained under the address field may be displayed within the file view of the new context page, i.e., one or more files corresponding to the address field may be displayed within the file view. As shown in fig. 3, the "work document" directory is displayed as a subdirectory of folder B in the file view of the new file window corresponding to the address field "folder B".
In one implementation, the address corresponding to the dragged address segment is used as a parameter to be transmitted to the new text pipe page, so that the new text pipe page displays one or more files corresponding to the address segment in the file view according to the parameter.
In one embodiment, creating a new context window corresponding to an address field may specifically be performed according to the following steps:
and determining the position of a mouse pointer in real time in the process of dragging the address field by the mouse.
When the mouse pointer position is determined to be outside the context window, the pre-creation window state is triggered.
When it is detected that the mouse button is released outside the text pipe window, a new text pipe window corresponding to the dragged address field is created in response to an operation of releasing the mouse button outside the text pipe window. In addition, the address corresponding to the dragged address segment is taken as a parameter to be transmitted into the new file management window, so that the new file management window displays one or more files corresponding to the address segment in the file view according to the parameter. For example, the address field "folder B" has an address of "/folder A/folder B", and finally displayed within the file view of the new context window is one or more files contained under folder B acquired based on the address "/folder A/folder B".
In addition, it should be noted that during dragging the address bar by mouse, after the mouse pointer moves out of the file management window, the mouse information (e.g. mouse pointer position information) cannot be obtained in the file manager process, where the global mouse information can be obtained by hook. In the Windows operating system, the existing function SetWindowsHookEx can be directly called, and the implementation process is simple. In the Linux operating system, the mouse information can be acquired from the device event layer without a well-packaged hook function.
In one implementation, the drag operation on the address bar may be implemented by pressing a left mouse button and moving the mouse.
Fig. 4 shows a schematic diagram of the position of the mouse pointer according to an embodiment of the present invention, and as shown in fig. 4, it is assumed that coordinates of the bellows window are (x, y, w, h), where x and y are respectively an abscissa and an ordinate of the upper left corner of the bellows window, and w and h are respectively the width and the height of the bellows window. The position when the mouse pointer moves out of the window is OP ═ x ", y". When the mouse pointer moves out of the text pipe window, the mouse information can be obtained by the following method:
first, a mouse device event path P is defined "/dev/input/mic".
Subsequently, P is opened by the open function, and the file descriptor fd is obtained.
And then, acquiring the mouse event data according to the fd, and analyzing the mouse event data. Since only the information of the left mouse button needs to be obtained, only the left mouse button state left, the increment numerical value of the mouse pointer on the x axis, and the increment numerical value of the mouse pointer on the y axis are obtained here, which are respectively: left ═ data [0] &0x 1; Δ x ═ data [1 ]; Δ y is data [2 ]. The left-1 means that the left mouse button is in a pressed state, and the left-0 means that the left mouse button is in a lifted state. The current mouse pointer position P 'is equal to the position OP at the time of moving out of the window plus the incremental value of the mouse pointer, i.e., P' (x ═ Δ x + x ", y ═ Δ y + y"). The first predetermined condition may be expressed as: x '< x | | x' > x + w | | | y '< y | | y' > y + h.
When the mouse pointer moves out of the text window, the file manager can determine the state of the left mouse button in real time, if the left numerical value is changed from 1 to 0, the left mouse button is determined to be lifted, at the moment, whether the mouse pointer is out of the text window is judged again, if the mouse pointer is determined to be out of the text window at the moment, the file manager executes logic for creating a new text window, and if the mouse pointer is not out of the text window, the file manager exits from the pre-created window state.
Fig. 5-7 illustrate schematic diagrams of creating a tab page according to one embodiment of the invention.
According to one embodiment of the invention, as shown in FIG. 5, a tab bar is included within the text pipe window, within which tabs of one or more tab pages, such as the "work document" tab, may be displayed. In this way, one or more tab pages may be displayed based on a text pipe window. Specifically, each tab page includes a tab adapted to be displayed in a tab field, which may be created based on an address field (file directory), on which corresponding address field information, such as "work document", may be displayed, and a corresponding file view for displaying one or more files corresponding to the address field displayed on the tab. Switching display of tab pages corresponding to tabs within the administration window can be accomplished by switching selected tabs at the tab bar, wherein when a tab is selected at the tab bar, the tab page corresponding to the selected tab is displayed within the administration window, such that one or more files corresponding to the address fields on the selected tab can be presented based on the file view of the tab page.
Here, as shown in fig. 5, dragged address field information is displayed on the tab of the tab page, for example, if the dragged address field is folder B, then "folder B" is displayed on the tab of the finally created tab page. In addition, after the tab page is created, the tab of the currently created tab page is actively selected, so that the newly created tab page and the file view thereof are displayed in the text management window.
In one implementation, the address corresponding to the dragged address segment is introduced into the tab page as a parameter, so that the tab page displays one or more files corresponding to the address segment within its corresponding file view according to the parameter. For example, the address field "folder B" has an address of "/folder a/folder B", and finally displayed within the file view of the created tab page is one or more files contained under folder B acquired based on the address "/folder a/folder B".
According to one embodiment, as shown in FIG. 6, one or more tab pages have been previously created within the administration window, including the tabs of the one or more tab pages within the tab bar, including, for example, "folder D" and "work document". When the dragging operation of the mouse on the address field is to drag the address field to the tab bar in the text pipe window for releasing, namely the dragging operation meets a second preset condition, a new tab page corresponding to the address field can be created.
In one embodiment, the method for creating a tab page corresponding to an address segment can be performed according to the following steps:
and determining the position of a mouse pointer in real time in the process of dragging the address field by the mouse.
When the mouse pointer position is determined to be within the tab bar, a pre-creation new tab page state is triggered. In one implementation, as shown in fig. 6, the tab selected by the mouse pointer in the tab bar may be determined according to the position of the mouse pointer, and a rectangular color block presenting a predetermined width and a predetermined color may be drawn on the left side of the selected tab (shown in the figure as the "folder D" tab) to indicate that the pre-creation of a new tab page state is triggered. Here, assuming that the width of the label column is w, the width of the inserted rectangular color block may be w' equal to 0.1 × w (0.1 is a coefficient, which may be determined according to specific requirements). At this time, the total width of one or more labels currently located in the label column is changed from w to w-w ', and the starting position is w' from 0.
When the mouse button is released in the tab bar of the text pipe window, in response to the operation of releasing the mouse button in the tab bar, determining a tab selected by a mouse pointer in the tab bar according to the position of the mouse pointer, creating a new tab page corresponding to the dragged address bar based on the selected tab, and displaying the tab of the new tab page on one side of the selected tab. In addition, the address corresponding to the dragged address segment is transmitted into the new label page as a parameter, so that the new label page can display one or more files corresponding to the address segment in the corresponding file view according to the parameter. As shown in fig. 7, the newly created tab page is the tab page corresponding to "folder B".
In one implementation, each label in the address bar corresponds to one index, and each label in the address bar increases sequentially from left to right according to the indexes. In addition, in a state where pre-creation of a new tab page is not triggered, the width of each tab displayed in the address bar is the same, and the sum of the widths of all the tabs is equal to the width of the tab bar. Thus, after a new tab page is created and a new tab is inserted in the address bar, the total number of tabs increases, and the width of each tab decreases accordingly.
And creating a new tab page based on the selected tab, actually, determining the index corresponding to the tab selected by the mouse pointer in the tab bar according to the position of the mouse pointer, taking the index corresponding to the selected tab as the index of the new tab, and creating the new tab page based on the index of the new tab. In this way, a new tag is inserted into the left side of the selected tag, and the new tag occupies the index corresponding to the selected tag, so that the index needs to be updated for the selected tag and each tag on the right side of the selected tag, that is, the index of each tag on the right side of the new tag is updated.
According to the address bar-based interaction method, the creation of the new text pipe page corresponding to the dragged address field can be realized only by dragging the address field through the mouse, and one or more files under the file directories corresponding to the address field are displayed in the file view of the new text pipe page.
Further, according to the technical scheme of the invention, when the address bar is dragged by the mouse, the corresponding new text pipe window or label page is created according to whether the position released by the mouse is released outside the window or in the label bar in the window, so that two creating functions of creating the text pipe window and creating the label page are integrated, and the operation mode is unified, thereby simplifying the operation process of the user and reducing the operation cost.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as removable hard drives, U.S. disks, floppy disks, CD-ROMs, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to execute the multilingual spam text recognition method of the present invention according to instructions in the program code stored in the memory.
By way of example, and not limitation, readable media may comprise readable storage media and communication media. Readable storage media store information such as computer readable instructions, data structures, program modules or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of readable media.
In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with examples of this invention. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
Furthermore, some of the described embodiments are described herein as a method or combination of method elements that can be performed by a processor of a computer system or by other means of performing the described functions. A processor with the necessary instructions for carrying out the method or the method elements thus forms a device for carrying out the method or the method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the means for performing the functions performed by the elements for the purpose of carrying out the invention.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this description, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The present invention has been disclosed in an illustrative rather than a restrictive sense, and the scope of the present invention is defined by the appended claims.

Claims (8)

1. An address bar-based interaction method executed in a file manager of a computing device, wherein a corresponding file manager window of the file manager is suitable for displaying on a system desktop, an address bar and a label bar are included in the file manager window, and the address bar comprises one or more associated address segments, and the method comprises the following steps:
receiving the dragging operation of a mouse on the address segment, and judging whether the dragging operation meets a preset condition;
if the dragging operation meets a preset condition, a new text pipe page corresponding to the address field is created, the new text pipe page comprises a new text pipe window and a label page, and the new text pipe page comprises a file view, wherein the file view comprises:
if the dragging operation is to drag the address segment out of the venturi window to be released, a new venturi window corresponding to the address segment is created;
if the dragging operation is to drag the address segment to a tab bar in the administration window for releasing, creating a tab page corresponding to the address segment, wherein the tab page comprises a corresponding tab and a file view, and the tab is suitable for being displayed on the tab bar;
and determining an address corresponding to the address field, and displaying one or more files corresponding to the address field in the file view of the new text pipe page based on the address.
2. The method of claim 1, wherein creating a new context window corresponding to the address segment comprises:
determining the position of a mouse pointer in real time;
when the position of a mouse pointer is positioned outside the text pipe window, triggering a pre-established window state;
and responding to the operation of releasing the mouse button outside the text pipe window, and creating a new text pipe window corresponding to the address field.
3. The method of claim 1, wherein the tab bar includes one or more tabs of a tab page, each tab corresponding to a respective index, and the step of creating the tab page corresponding to the address segment includes:
determining the position of a mouse pointer in real time;
when the position of a mouse pointer is positioned in the tab bar, triggering a state of pre-creating a new tab page;
and responding to the operation of releasing a mouse button in the label column, determining a label selected by a mouse pointer in the label column according to the position of the mouse pointer, and creating a new label page based on the selected label, wherein the label of the new label page is displayed on one side of the selected label.
4. The method of claim 3, wherein creating a new tab page based on the selected tab comprises:
determining an index corresponding to the label selected by the mouse pointer in the label column according to the position of the mouse pointer;
taking the index corresponding to the selected label as the index of a new label, and creating a new label page based on the index of the new label so as to insert the new label at the left side of the selected label;
the index of each tag to the right of the new tag is updated.
5. The method of claim 3, wherein triggering the pre-creation of a new tab page state comprises:
and determining a label selected by the mouse pointer in the label column according to the position of the mouse pointer, and presenting a rectangular color block with a preset width and a preset color on the left side of the selected label.
6. The method of any of claims 1-5, wherein displaying one or more files corresponding to the address segment within a file view of the new context page comprises:
and transmitting the address into the new text pipe page as a parameter so that the new text pipe page displays one or more corresponding files in a file view according to the parameter.
7. A computing device, comprising:
at least one processor; and
a memory storing program instructions, wherein the program instructions are configured to be adapted to be executed by the at least one processor, the program instructions comprising instructions for performing the method of any of claims 1-6.
8. A readable storage medium storing program instructions that, when read and executed by a computing device, cause the computing device to perform the method of any of claims 1-6.
CN202210459928.0A 2021-07-28 2021-07-28 Address bar-based interaction method and computing device Pending CN115016717A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210459928.0A CN115016717A (en) 2021-07-28 2021-07-28 Address bar-based interaction method and computing device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110854050.6A CN113311983B (en) 2021-07-28 2021-07-28 Address bar-based interaction method and computing device
CN202210459928.0A CN115016717A (en) 2021-07-28 2021-07-28 Address bar-based interaction method and computing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202110854050.6A Division CN113311983B (en) 2021-07-28 2021-07-28 Address bar-based interaction method and computing device

Publications (1)

Publication Number Publication Date
CN115016717A true CN115016717A (en) 2022-09-06

Family

ID=77381998

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202210459928.0A Pending CN115016717A (en) 2021-07-28 2021-07-28 Address bar-based interaction method and computing device
CN202110854050.6A Active CN113311983B (en) 2021-07-28 2021-07-28 Address bar-based interaction method and computing device

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202110854050.6A Active CN113311983B (en) 2021-07-28 2021-07-28 Address bar-based interaction method and computing device

Country Status (1)

Country Link
CN (2) CN115016717A (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7240292B2 (en) * 2003-04-17 2007-07-03 Microsoft Corporation Virtual address bar user interface control
US20120066628A1 (en) * 2010-09-09 2012-03-15 Microsoft Corporation Drag-able tabs
JP6148023B2 (en) * 2013-01-30 2017-06-14 キヤノン電子株式会社 System, information processing apparatus, history information server, method for acquiring or collecting history information, processing method, and program
CN104077387B (en) * 2014-06-27 2018-03-02 北京奇虎科技有限公司 A kind of web page contents display methods and browser device
CN105426083B (en) * 2015-12-07 2018-11-16 魅族科技(中国)有限公司 A kind of file switching method and terminal
CN111523287B (en) * 2020-04-23 2023-12-29 苏州云注软件技术有限公司 File view list display method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN113311983B (en) 2022-06-21
CN113311983A (en) 2021-08-27

Similar Documents

Publication Publication Date Title
EP2442214A1 (en) Electronic device, gesture processing method, and gesture processing program
EP1763751B1 (en) Multi-source, multi-destination data transfers
CN110516180B (en) Content display method and device and computing equipment
CN112000417B (en) Control method for window display effect and computing device
CN113311983B (en) Address bar-based interaction method and computing device
CN114048172A (en) File display method, computing device and storage medium
CN113742297A (en) File preview method, computing device and storage medium
CN114153538A (en) Window switching method, computing device and storage medium
CN113625931A (en) Desktop switching method, computing device and readable storage medium
CN113535650A (en) File naming method and computing device
CN113253904A (en) Display method, display device and electronic equipment
CN113190340B (en) Task switching method and computing device
CN112799565B (en) Content list display method and computing device
CN114510306B (en) Taskbar display method and device and computing equipment
CN114048173A (en) File folding method, computing device and storage medium
CN114021523A (en) Text marking method and device, text editor and computing equipment
CN112540715B (en) Pasting method of note content, terminal and computer storage medium
CN113590542A (en) File searching method, computing device and storage medium
CN113467695B (en) Task execution method and device, computing device and storage medium
CN114265533A (en) Resource access method, computing device and storage medium
CN113741758B (en) Working area switching method, computing device and storage medium
CN114035720A (en) Label processing method, computing device and readable storage medium
CN113656347B (en) File directory export method, file directory import method and computing device
CN114020200A (en) Page processing method and device
CN113741777A (en) Method for opening file based on drag operation, computing device and storage medium

Legal Events

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