CN114817969A - Method, device, terminal and storage medium for previewing network disk drive letter file - Google Patents

Method, device, terminal and storage medium for previewing network disk drive letter file Download PDF

Info

Publication number
CN114817969A
CN114817969A CN202210753189.6A CN202210753189A CN114817969A CN 114817969 A CN114817969 A CN 114817969A CN 202210753189 A CN202210753189 A CN 202210753189A CN 114817969 A CN114817969 A CN 114817969A
Authority
CN
China
Prior art keywords
preview
function
network disk
file
authority
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.)
Granted
Application number
CN202210753189.6A
Other languages
Chinese (zh)
Other versions
CN114817969B (en
Inventor
陈太阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Lenovo Collaboration Technology Inc
Original Assignee
Tianjin Lenovo Collaboration Technology Inc
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 Tianjin Lenovo Collaboration Technology Inc filed Critical Tianjin Lenovo Collaboration Technology Inc
Priority to CN202210753189.6A priority Critical patent/CN114817969B/en
Publication of CN114817969A publication Critical patent/CN114817969A/en
Application granted granted Critical
Publication of CN114817969B publication Critical patent/CN114817969B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • 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
    • 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/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing

Abstract

The embodiment of the invention discloses a method, a device, a terminal and a storage medium for previewing a network disk drive letter file. Wherein the method comprises the following steps: monitoring the operation of peripheral input equipment; when the operation is matched with a preset preview operation, determining a corresponding operation function according to the operation; acquiring the operation function, and judging whether the operation function has the content of the corresponding function of the bound network disk side preview operation; when the network disk side previews and operates the corresponding function, a permission query request is sent to a network disk permission query interface; receiving an authority inquiry result returned by the network disk, and judging whether the preview object has the authority or not according to the authority inquiry result; and when the authority exists, displaying the file preview content at a preset position by using the execution result of the corresponding function of the preview operation of the network disk side. The user can conveniently and quickly know the content in the files or folders in the network disk drive letter, and the working efficiency of the user is improved.

Description

Method, device, terminal and storage medium for previewing network disk drive letter file
Technical Field
The embodiment of the invention relates to the technical field of network disks, in particular to a method, a device, a terminal and a storage medium for previewing a network disk drive character file.
Background
The network disk is an online storage service released by internet companies. The network disk system machine room divides a certain disk space for users, provides file management functions such as storage, access, backup and sharing of files for the users free or charged, and has high-level disaster recovery backup all over the world. The user can see the network disk as a hard disk or a U disk placed on the network, whether in home, a unit or anywhere else, and can manage and edit the files in the network disk by connecting to the Internet. The portable type solar water heater is not required to be carried about and is not afraid of being lost.
Usually, the network disk provides network disk services for users by adopting a web page login mode. And part of users also obtain the network disk service by using a mode of mounting the file directory shared by the network disk by using the local virtual disk identifier. Compared with a web page mode, the method is more flexible and closer to a user using mode. Is widely popular with users.
In the process of implementing the invention, the inventor finds the following technical problems: because the storage positions and modes of the network disk drive symbols and the files of the local system are different, the preview function commonly used by the local operating system cannot be used, in the process of using the network disk drive symbols, as the daily use of the number of the files increases day by day, the contents are determined after the files or the folders are opened by double clicking when certain uncertain files or folders are searched, and the files or the folders are closed and quitted after the searching requirements are not met. Repeating such tedious operations wastes time, affecting work efficiency and experience. Meanwhile, due to the specific file security management and control strategy of the network disk, when the current user does not have the authority of the file, the user needs to open the file or the folder, and the network disk feeds back a result after the authority authentication is waited, so that the working efficiency and the experience are further influenced.
Disclosure of Invention
The embodiment of the invention provides a method, a device, a terminal and a storage medium for previewing a network disk drive letter file, and aims to solve the technical problem that in the prior art, the efficiency of searching for the file in the using process of the network disk drive letter is low.
In a first aspect, an embodiment of the present invention provides a method for previewing a network drive letter file, including:
monitoring the operation of peripheral input equipment;
when the operation is matched with a preset preview operation, determining a corresponding operation function according to the operation;
acquiring the operation function, and judging whether the operation function has the content of the corresponding function of the bound network disk side preview operation;
when the network disk side previews and operates the corresponding function, a permission query request is sent to a network disk permission query interface;
receiving an authority inquiry result returned by the network disk, and judging whether the preview object has the authority or not according to the authority inquiry result;
and when the authority exists, displaying the file preview content at a preset position by using the execution result of the corresponding function of the preview operation of the network disk side.
In a second aspect, an embodiment of the present invention further provides a device for previewing a diskette drive letter file, including:
the monitoring module is used for monitoring the operation of the peripheral input equipment;
the acquisition module is used for determining a corresponding operation function according to the operation when the operation is matched with a preset preview operation;
the judging module is used for acquiring the operation function and judging whether the operation function has the content of the corresponding function of the bound network disk side preview operation;
the sending module is used for sending a permission query request to the network disk permission query interface when the network disk side previews the corresponding function;
the receiving module is used for receiving the authority inquiry result returned by the network disk and judging whether the preview object has the authority or not according to the authority inquiry result;
and the display module is used for displaying the file preview content at a preset position by using the execution result of the corresponding function of the website side preview operation when the right is provided.
In a third aspect, an embodiment of the present invention further provides a terminal, including:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method for previewing a webpay file as provided in the embodiments above.
In a fourth aspect, the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are used to execute the method for previewing a roulette file provided in the foregoing embodiments.
The method, the device, the terminal and the storage medium for previewing the network disk drive letter file provided by the embodiment of the invention monitor the operation of peripheral input equipment; when the operation is matched with a preset preview operation, determining a corresponding operation function according to the operation; acquiring the operation function, and judging whether the operation function has the content of the corresponding function of the bound network disk side preview operation; when the network disk side previews and operates the corresponding function, a permission query request is sent to a network disk permission query interface; receiving an authority inquiry result returned by the network disk, and judging whether the preview object has the authority or not according to the authority inquiry result; and when the authority exists, displaying the file preview content at a preset position by using the execution result of the corresponding function of the preview operation of the network disk side. When the user previews, the corresponding operation function is checked to determine whether the network disk drive sign previewing function is the network disk drive sign previewing function, the authority inquiry request is sent through the network disk authority inquiry interface, when the authority requirement is met, the network disk side previewing operation corresponding function in the operation function is used for obtaining the previewing result on the network disk side, and the previewing result is displayed in the sign, so that the user can conveniently and quickly know the content of the file or the folder in the network disk drive sign, the working efficiency of the user is improved, and the use experience of the user in using the network disk drive sign is improved.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments thereof, made with reference to the following drawings:
fig. 1 is a schematic flowchart of a method for previewing a drive letter file according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for previewing a network drive letter file according to a second embodiment of the present invention;
fig. 3 is a schematic flowchart of a method for previewing a network drive letter file according to a third embodiment of the present invention;
fig. 4 is a schematic flowchart of a method for previewing a network drive letter file according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a device for previewing a network drive letter file according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal according to a sixth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a schematic flow chart of a method for previewing a network drive letter file according to an embodiment of the present invention, where this embodiment is applicable to a case where a terminal is used to preview a network drive letter file in a local operating system, and the method may be implemented by a network drive letter file previewing apparatus, and specifically includes the following steps:
and step 110, monitoring the operation of the peripheral input equipment.
Typically, in Windows, the preview of a file by the explorer is implemented through the system previewhhandler component. The system component can be applied to preview cache files in the system, realizes a preview function, and is convenient for a user to know contents in the files without opening the files. However, this approach cannot be implemented in the mesh drive. Because the files in the network disk drive are numerous and change frequently. Therefore, the cache method cannot be adopted.
In order to solve the above problem, in this embodiment, a corresponding operation may be preset, and after the user performs the corresponding operation, a corresponding web drive preview service is provided for the user.
The user can execute corresponding operation through the computer peripheral input equipment such as a keyboard, a mouse and the like.
And step 120, when the operation is matched with a preset preview operation, determining a corresponding operation function according to the operation.
In this embodiment, the preset preview operation may be different from the original setting in the operating system. And matching the detected user operation with a preset preview operation, and determining a corresponding operation function when the detected user operation is consistent with the preset preview operation. The operation function is used for correspondingly executing the preview operation of the user and obtaining a corresponding operation result.
Step 130, obtaining the operation function, and judging whether the operation function has the content of the corresponding function of the bound network disk side preview operation.
Different from the traditional local operation event function, because the corresponding network disk operation is executed by the remote network disk system, the operation function and the corresponding function of the network disk side preview operation can be bound. Illustratively, the API interface corresponding to the key operation event in the mouse may be directionally steered to operate the corresponding function. Therefore, the operation function includes the name or other directional content of the function corresponding to the bonded web-disk-side preview operation. Therefore, whether the current preview operation of the user is previewing the content of the file or the folder in the network disk drive can be judged in the mode.
And 140, sending an authority inquiry request to the network disk authority inquiry interface when the network disk side previews the corresponding function.
Due to the consideration of the network disk on the file security, a permission management and control strategy is usually adopted for the file or the folder, and for a user without permission, the file or the folder cannot preview the user. Therefore, for a part of files in the network disk drive, whether the current user has the preview authority needs to be determined firstly. In this embodiment, it can be determined whether the user has a preview authority for the currently operated object file through the above steps.
And 150, receiving an authority inquiry result returned by the network disk, and judging whether the preview object has the authority according to the authority inquiry result.
Illustratively, the network disk may provide a corresponding permission query interface, illustratively, a corresponding operation object may be determined according to the operation, the operation object may be a selected file or folder, information such as an address of the file or folder and an ID of the current user is sent to the permission query interface set by the network disk, and the network disk acquires the query information through the permission query interface and determines whether the current user has a preview permission for the operation object in a manner of searching for metadata. The network disk obtains the query result of whether the current user has the preview authority for the operation object in a mode of searching corresponding metadata, and returns the query result to the terminal, so that the terminal judges whether the current operation object has the preview authority according to the authority query result.
And 160, when the right exists, displaying the file preview content at a preset position by using the execution result of the function corresponding to the preview operation of the network disk side.
In the embodiment, the corresponding operation feedback operation for the file in the drive letter is executed by the network disk. Therefore, the execution result of the corresponding function can be previewed and operated by the network disk side. And after the network disk obtains an execution result by operating the corresponding function, the network disk sends the execution result to the terminal. And the terminal displays the execution result. For example, a preview area may be set in the current interface, and the preview content of the file may be displayed in the preview area.
The embodiment monitors the operation of the peripheral input equipment; when the operation is matched with a preset preview operation, determining a corresponding operation function according to the operation; acquiring the operation function, and judging whether the operation function has the content of the corresponding function of the bound network disk side preview operation; when the network disk side previews and operates the corresponding function, a permission query request is sent to a network disk permission query interface; receiving an authority inquiry result returned by the network disk, and judging whether the preview object has the authority or not according to the authority inquiry result; and when the authority exists, displaying the file preview content at a preset position by using the execution result of the corresponding function of the preview operation of the network disk side. When the user previews, the corresponding operation function is checked to determine whether the network disk drive sign previewing function is the network disk drive sign previewing function, the authority inquiry request is sent through the network disk authority inquiry interface, when the authority requirement is met, the network disk side previewing operation corresponding function in the operation function is used for obtaining the previewing result on the network disk side, and the previewing result is displayed in the sign, so that the user can conveniently and quickly know the content of the file or the folder in the network disk drive sign, the working efficiency of the user is improved, and the use experience of the user in using the network disk drive sign is improved.
In a preferred embodiment of this embodiment, the method may further include the following steps: and when the current interface does not have the authority, sending an authority prompt on the current interface. When the current user does not have the right to the operation object, a right prompt can be sent, illustratively, a dialog box can be called, and the fact that the dialog box does not have the right is prompted, so that file preview experience of the user using the network disk drive can be further improved.
In another preferred implementation manner of this embodiment, the corresponding operation function may be further set as an operation function corresponding to the drive letter, so as to be distinguished from the system operation function. In an operating system, a File class describes a File or folder. (a folder may also be referred to as a directory) this class occurs by encapsulating files and folders in a file system. Files and folders can be manipulated through the idea of objects. The FileOperation object can be utilized to realize corresponding functions for preview operation. However, in this embodiment, since different functions are implemented, a new FileOperation object may be created, which may be named as "FakeFileOperation" to implement the corresponding webdisk drive file preview function. And the preview of the files in the network disk character is realized by the user through corresponding operation.
Example two
Fig. 2 is a flowchart illustrating a method for previewing a network drive letter file according to a second embodiment of the present invention. In this embodiment, before monitoring the operation of the peripheral input device, the method may further include the following steps: adding or registering preview operation items in a local operating system registry; setting a preset browsing operation function as a corresponding operation function of the preview operation item; and adding resource items for the preview operation according to a preset resource file.
Correspondingly, the method for previewing the network disk drive letter file provided by the embodiment specifically includes:
step 210, add or register preview operation items in the local operating system registry.
In the operating system, firstly, a corresponding operation item needs to be added in a system registry for registering the operation so as to be associated with an event. In the embodiment, automatic writing into the registry can be adopted, and illustratively, the automatic writing into the registry can be performed when the drive client is installed. Or may be registered manually at the time the client is compiled using the regsvr32 command. And can implement automatic read event association after restart.
Optionally, adding or registering a preview operation item in the local operating system registry may further include: and capturing a preview operation setting action of a user, and setting a preview operation item according to the preview operation. In this embodiment, a preview operation item selection interface may also be provided, which is convenient for a user to set a corresponding preview operation item according to an operation habit to which the user is accustomed, and in this interface, the user may input a corresponding preview operation setting action, for example: a middle mouse key or some shortcut keys on a keyboard, etc. By the mode, user-defined preview operation item setting can be realized, and better preview experience of the network drive letter file can be provided for the user.
And step 220, setting a preset browsing operation function as a corresponding operation function of the preview operation item.
After the preview operation item is added or registered in the local operating system registry, a corresponding operation function can be established corresponding to the corresponding event. In this embodiment, the browsing operation function may be used as a corresponding operation function, so as to implement the preview operation of the web disk drive file according to the operation of the user after the event is triggered.
And step 230, adding resource items for the preview operation according to a preset resource file.
Accordingly, the resource items include: menu content, icon content, and dynamically linked library derived content. In this embodiment, since the preview operation is usually performed by pressing a button to trigger a menu, the operation implementation is selected in the menu. Therefore, it is necessary to provide corresponding menu contents. In addition, corresponding icons can be set for the icons, and corresponding icon images are provided by utilizing the resource files. So as to facilitate the user to quickly select the file preview option in the menu items. In addition, the association of the icon and the menu can be realized by using the dynamic link library to export the ShellExt content. And adding resources for the preview operation by utilizing various resources provided in the resource file.
And step 240, monitoring the operation of the peripheral input equipment.
And step 250, when the operation is matched with a preset preview operation, determining a corresponding operation function according to the operation.
And step 260, acquiring the operation function, and judging whether the operation function has the content of the corresponding function of the bound network disk side preview operation.
And step 270, sending an authority inquiry request to the network disk authority inquiry interface when the network disk side previews the corresponding function.
And step 280, receiving an authority inquiry result returned by the network disk, and judging whether the preview object has the authority according to the authority inquiry result.
And 290, when the authority exists, displaying the file preview content at a preset position by using the execution result of the corresponding function of the preview operation of the network disk side.
In this embodiment, before monitoring the operation of the peripheral input device, the method may further include the following steps: adding or registering preview operation items in a local operating system registry; setting a preset browsing operation function as a corresponding operation function of the preview operation item; and adding resource items for the preview operation according to a preset resource file. Corresponding menu items and preview options can be quickly established in the operating system of the terminal. And the user can preview the selected network disk drive letter file conveniently by adopting the menu.
EXAMPLE III
Fig. 3 is a flowchart illustrating a method for previewing a network drive letter file according to a third embodiment of the present invention. In this embodiment, when the right is present, the file preview content may be displayed at a preset position by using the execution result of the function corresponding to the web-disk-side preview operation, and specifically, the method is optimized based on the following steps: receiving preview result information sent by a network disk side by using a preview port, wherein the preview result information is generated by executing a corresponding function of a preview operation of the network disk side, and the preview result information comprises: the subdirectory information content, the content of the document, the thumbnail of the image and the data stream of the audio-video file; and displaying the preview result information in a preview window of the drive letter.
Correspondingly, the method for previewing the network disk drive letter file provided by the embodiment specifically includes:
and step 310, monitoring the operation of the peripheral input equipment.
And step 320, when the operation is matched with a preset preview operation, determining a corresponding operation function according to the operation.
And step 330, acquiring the operation function, and judging whether the operation function has the content of the corresponding function of the bound network disk side preview operation.
And 340, sending an authority inquiry request to the network disk authority inquiry interface when the network disk side previews the corresponding function.
And 350, receiving an authority inquiry result returned by the network disk, and judging whether the preview object has the authority according to the authority inquiry result.
Step 360, when the right is provided, receiving preview result information sent by the network disk side by using a preview port, wherein the preview result information is generated by executing a function corresponding to the preview operation of the network disk side, and the preview result information includes: the subdirectory information content, the content of the document, the thumbnail of the image, and the data stream of the audio-video file.
In this embodiment, the network disk may perform a preview operation on the file object selected by the user through a preview operation corresponding to the function on the network disk side, and generate a corresponding preview result. After the preview result is generated, the preview result can be sent to the terminal through a preset preview service port.
Specifically, when the selected file object is a folder, the preview result information may include: the subdirectory information content, if a document, the preview result information can be the document content. The documents may include files such as ppt, txt, word, and excel. If an image, for example: the preview result information of the png, jpeg, gif and other files can be thumbnails of the images, and if the files are audio and video files, the corresponding preview result information can be corresponding data streams to form streaming media.
And 370, displaying the preview result information in a preview window of the drive letter.
And displaying the received preview result information in a preview window set in the drive letter interface so as to facilitate a user to check the preview result of the selected file object through the preview window.
In this embodiment, when the right is present, the file preview content is displayed at a preset position by using the execution result of the function corresponding to the preview operation on the network disk side, which is specifically optimized as follows: receiving preview result information sent by a network disk side by using a preview port, wherein the preview result information is generated by executing a function corresponding to the preview operation of the network disk side, and the preview result information comprises: the subdirectory information content, the content of the document, the thumbnail of the image and the data stream of the audio-video file; and displaying the preview result information in a preview window of the drive letter. The preview result information can be quickly acquired from a preview port provided by the network disk and can be dynamically displayed in the window, so that a user can conveniently and quickly know the detailed contents of the selected file object.
Example four
Fig. 4 is a flowchart illustrating a method for previewing a network drive letter file according to a fourth embodiment of the present invention. In this embodiment, the method may further include the following steps: when a preset browsing progress adjusting operation is received, a browsing progress adjusting function is utilized to send a browsing progress request to a network disk; and receiving browsing progress information sent by the network disk, and displaying the browsing progress information at the preset position.
Correspondingly, the method for previewing the network disk drive letter file provided by the embodiment specifically includes:
and step 410, monitoring the operation of the peripheral input equipment.
And step 420, when the operation is matched with a preset preview operation, determining a corresponding operation function according to the operation.
And 430, acquiring the operation function, and judging whether the operation function has the content of the corresponding function of the bound network disk side preview operation.
And step 440, when the function corresponding to the network disk side preview operation is included, sending a permission query request to the network disk permission query interface.
And 450, receiving an authority inquiry result returned by the network disk, and judging whether the preview object has the authority according to the authority inquiry result.
Step 460, when the right exists, receiving the preview result information sent by the network disk side by using the preview port, wherein the preview result information is generated by executing a corresponding function of the preview operation of the network disk side.
And 470, displaying the preview result information in a preview window of the drive letter.
And step 480, sending a browsing progress request to the network disk by using the browsing progress adjustment function when receiving the preset browsing progress adjustment operation.
For some complicated network disk files, users often need to view more information to fully know the content of the file. For example: for a multi-page document, a user needs to view the contents of the multiple pages to fully understand the contents of the document. Or for the audio-video file, the user often needs to view or listen to part of the content in the audio-video file to know the content. Therefore, in this embodiment, a browsing progress adjustment operation may be additionally set, and the setting manner may adopt the setting method of the preview operation, and the corresponding browsing progress adjustment function corresponding to the web disk side is referred to in the corresponding operation function. And when a preset browsing progress adjusting operation is received, sending a browsing progress adjusting request to the network disk side so as to obtain a browsing progress adjusting result by using a browsing progress adjusting function corresponding to the network disk side.
And 490, receiving the browsing progress information sent by the network disk, and displaying the browsing progress information at the preset position.
And the network disk obtains a browsing progress adjustment result by using the corresponding browsing progress adjustment function, and sends the browsing progress information to the terminal, and the terminal can display the adjusted preview result in a browsing window.
The present embodiment adds the following steps: when a preset browsing progress adjusting operation is received, a browsing progress adjusting function is utilized to send a browsing progress request to a network disk; and receiving browsing progress information sent by the network disk, and displaying the browsing progress information at the preset position. The user can browse partial contents in the selected file object conveniently as required, and can quickly know the detailed contents of the network disk file, so that the working efficiency of the network disk use is further improved, and the use experience of the user is improved.
In a preferred implementation manner of this embodiment, when receiving a preset browsing progress adjustment operation, before sending a browsing progress request to the network disk by using the browsing progress adjustment function, the method may further include the following steps: and binding the middle key sliding operation with the browsing progress adjusting function. The preview habit of the user usually adopts a middle key sliding mode to adjust the browsing progress, so that in the embodiment, the middle key sliding operation can be bound with the browsing progress adjusting function, so as to better approach the use habit of the user. The use experience of the user in adjusting the browsing progress is improved.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a device for previewing a network drive letter file according to a fifth embodiment of the present invention, as shown in fig. 5, the device includes:
a monitoring module 510, configured to monitor an operation of a peripheral input device;
an obtaining module 520, configured to determine a corresponding operation function according to the operation when the operation matches a preset preview operation;
a determining module 530, configured to obtain the operation function, and determine whether there is a content of a function corresponding to a network disk side preview operation bound in the operation function;
a sending module 540, configured to send an authority query request to the network disk authority query interface when a corresponding function is previewed and operated on the network disk side;
a receiving module 550, configured to receive an authority query result returned by the network disk, and determine whether the preview object has an authority according to the authority query result;
and the display module 560 is configured to display the file preview content at a preset position by using the execution result of the function corresponding to the webside preview operation when the right is obtained.
The device for previewing the network disk drive letter file provided by the embodiment monitors the operation of the peripheral input equipment; when the operation is matched with a preset preview operation, determining a corresponding operation function according to the operation; acquiring the operation function, and judging whether the operation function has the content of the corresponding function of the bound network disk side preview operation; when the network disk side previews and operates the corresponding function, a permission query request is sent to a network disk permission query interface; receiving an authority inquiry result returned by the network disk, and judging whether the preview object has the authority or not according to the authority inquiry result; and when the authority exists, displaying the file preview content at a preset position by using the execution result of the corresponding function of the preview operation of the network disk side. When the user previews, the corresponding operation function is checked to determine whether the network disk drive sign previewing function is the network disk drive sign previewing function, the authority inquiry request is sent through the network disk authority inquiry interface, when the authority requirement is met, the network disk side previewing operation corresponding function in the operation function is used for obtaining the previewing result on the network disk side, and the previewing result is displayed in the sign, so that the user can conveniently and quickly know the content of the file or the folder in the network disk drive sign, the working efficiency of the user is improved, and the use experience of the user in using the network disk drive sign is improved.
On the basis of the above embodiments, the apparatus further includes:
and the prompt sending module is used for sending the permission prompt on the current interface when the permission is not available.
On the basis of the above embodiments, the corresponding operation function is an operation function corresponding to the drive letter, so as to be distinguished from the system operation function.
On the basis of the above embodiments, the apparatus includes:
the adding or registering module is used for adding or registering preview operation items in a local operating system registry;
the setting module is used for setting a preset browsing operation function as a corresponding operation function of the preview operation item;
and the adding module is used for adding resource items for the preview operation according to a preset resource file.
On the basis of the above embodiments, the resource item includes: menu content, icon content, and dynamically linked library derived content.
On the basis of the above embodiments, the adding or registering module includes:
and the setting unit is used for capturing the preview operation setting action of the user and setting the preview operation item according to the preview operation.
On the basis of the above embodiments, the display module includes:
a receiving unit, configured to receive, by using a preview port, preview result information sent by a network disk side, where the preview result information is generated by executing a function corresponding to a preview operation of the network disk side, and the preview result information includes: the subdirectory information content, the content of the document, the thumbnail of the image and the data stream of the audio-video file;
and the display unit is used for displaying the preview result information in a preview window of the drive letter.
On the basis of the above embodiments, the display module further includes:
a browsing progress request sending unit, configured to send a browsing progress request to the network disk by using a browsing progress adjustment function when a preset browsing progress adjustment operation is received;
and the browsing progress information display unit is used for receiving the browsing progress information sent by the network disk and displaying the browsing progress information at the preset position.
The device for previewing the network drive letter file provided by the embodiment of the invention can execute the method for previewing the network drive letter file provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE six
Fig. 6 is a schematic structural diagram of a terminal according to a sixth embodiment of the present invention. Fig. 6 illustrates a block diagram of an exemplary terminal 12 suitable for use in implementing embodiments of the present invention. The terminal 12 shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 6, the terminal 12 is embodied in the form of a general purpose computing device. The components of terminal 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Terminal 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by terminal 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache 32. The terminal 12 can further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
The terminal 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the terminal 12, and/or any devices (e.g., network card, modem, etc.) that enable the terminal 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the terminal 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with the other modules of the terminal 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the terminal 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by executing programs stored in the system memory 28, for example, implementing the web drive file preview method provided by the embodiment of the present invention.
EXAMPLE seven
The seventh embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for previewing a diskette drive character file according to any one of the embodiments.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (12)

1. A method for previewing a network drive letter file is characterized by comprising the following steps:
monitoring the operation of peripheral input equipment;
when the operation is matched with a preset preview operation, determining a corresponding operation function according to the operation;
acquiring the operation function, and judging whether the operation function has the content of the corresponding function of the bound network disk side preview operation;
when the network disk side previews and operates the corresponding function, a permission query request is sent to a network disk permission query interface;
receiving an authority inquiry result returned by the network disk, and judging whether the preview object has the authority or not according to the authority inquiry result;
and when the authority exists, displaying the file preview content at a preset position by using the execution result of the corresponding function of the preview operation of the network disk side.
2. The method of claim 1, further comprising:
and when the current interface does not have the authority, sending an authority prompt on the current interface.
3. The method of claim 1, wherein the corresponding operation function is an operation function corresponding to a drive letter so as to be distinguished from a system operation function.
4. The method of claim 1, wherein prior to listening for operation of a peripheral input device, the method further comprises:
adding or registering preview operation items in a local operating system registry;
setting a preset browsing operation function as a corresponding operation function of the preview operation item;
and adding resource items for the preview operation according to a preset resource file.
5. The method of claim 4, wherein the resource items comprise: menu content, icon content, and dynamically linked library derived content.
6. The method of claim 4, wherein adding or registering a preview operation item in the native operating system registry comprises:
and capturing a preview operation setting action of a user, and setting a preview operation item according to the preview operation.
7. The method according to claim 1, wherein displaying the file preview content at a preset position by using the result of the execution of the corresponding function of the web-side preview operation when the web-side preview operation has the right, comprises:
receiving preview result information sent by a network disk side by using a preview port, wherein the preview result information is generated by executing a function corresponding to the preview operation of the network disk side, and the preview result information comprises: the subdirectory information content, the content of the document, the thumbnail of the image and the data stream of the audio-video file;
and displaying the preview result information in a preview window of the drive letter.
8. The method of claim 1, further comprising:
when a preset browsing progress adjusting operation is received, a browsing progress adjusting function is utilized to send a browsing progress request to a network disk;
and receiving browsing progress information sent by the network disk, and displaying the browsing progress information at the preset position.
9. The method according to claim 8, wherein before sending a browsing progress request to the web disk by using the browsing progress adjustment function when receiving a preset browsing progress adjustment operation, the method further comprises:
and binding the middle key sliding operation with the browsing progress adjusting function.
10. A device for previewing a drive letter file, comprising:
the monitoring module is used for monitoring the operation of the peripheral input equipment;
the acquisition module is used for determining a corresponding operation function according to the operation when the operation is matched with a preset preview operation;
the judging module is used for acquiring the operation function and judging whether the operation function has the content of the corresponding function of the bound network disk side preview operation;
the sending module is used for sending a permission query request to the network disk permission query interface when the network disk side previews the corresponding function;
the receiving module is used for receiving the authority inquiry result returned by the network disk and judging whether the preview object has the authority or not according to the authority inquiry result;
and the display module is used for displaying the file preview content at a preset position by using the execution result of the corresponding function of the website side preview operation when the right is provided.
11. A terminal, characterized in that the terminal comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method for previewing a dribble file according to any of claims 1-9.
12. A storage medium containing computer executable instructions for performing the method of previewing a roulette file according to any of claims 1-9 when executed by a computer processor.
CN202210753189.6A 2022-06-30 2022-06-30 Method, device, terminal and storage medium for previewing network disk drive letter file Active CN114817969B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210753189.6A CN114817969B (en) 2022-06-30 2022-06-30 Method, device, terminal and storage medium for previewing network disk drive letter file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210753189.6A CN114817969B (en) 2022-06-30 2022-06-30 Method, device, terminal and storage medium for previewing network disk drive letter file

Publications (2)

Publication Number Publication Date
CN114817969A true CN114817969A (en) 2022-07-29
CN114817969B CN114817969B (en) 2022-11-11

Family

ID=82523251

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210753189.6A Active CN114817969B (en) 2022-06-30 2022-06-30 Method, device, terminal and storage medium for previewing network disk drive letter file

Country Status (1)

Country Link
CN (1) CN114817969B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115130130A (en) * 2022-08-31 2022-09-30 天津联想协同科技有限公司 Network disk file unlocking method and device, network disk and storage medium
CN115826828A (en) * 2023-02-23 2023-03-21 天津联想协同科技有限公司 Network disk file operation method, device, terminal and storage medium
CN116010356A (en) * 2023-03-27 2023-04-25 天津联想协同科技有限公司 Method, device, network disk and storage medium for quickly previewing file through label

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090862A (en) * 2014-07-16 2014-10-08 山东大学 Network disk multi-type file online preview method based on Linux+Ngnix+Mysql+PHP (LNMP)
CN104462224A (en) * 2014-11-12 2015-03-25 成都卫士通信息产业股份有限公司 Cloud disc file online editing method
CN104468720A (en) * 2014-11-07 2015-03-25 广州市至德科技企业孵化器有限公司 Method for determining preview link and providing dynamic preview information for preview link
CN106843898A (en) * 2017-02-09 2017-06-13 郑州云海信息技术有限公司 Scsi disk information query method under a kind of Linux system
CN107659729A (en) * 2017-09-29 2018-02-02 努比亚技术有限公司 A kind of previewing file method, apparatus and computer-readable recording medium
CN108959573A (en) * 2018-07-05 2018-12-07 京东方科技集团股份有限公司 Data migration method, device, electronic equipment and storage medium based on desktop cloud
CN110582764A (en) * 2019-07-11 2019-12-17 深圳市鹰硕技术有限公司 file preview method, device and storage medium
CN110781644A (en) * 2019-11-04 2020-02-11 北京联想协同科技有限公司 File preview method, equipment and computer storage medium
CN110908961A (en) * 2019-11-15 2020-03-24 天津联想协同科技有限公司 File processing method, electronic device and computer storage medium
CN111966261A (en) * 2020-10-21 2020-11-20 北京联想协同科技有限公司 File management method, device and storage medium
CN113589982A (en) * 2021-07-29 2021-11-02 北京字跳网络技术有限公司 Resource playing method and device, electronic equipment and storage medium
CN113742297A (en) * 2021-09-10 2021-12-03 统信软件技术有限公司 File preview method, computing device and storage medium
CN113821771A (en) * 2021-11-24 2021-12-21 天津联想协同科技有限公司 Dynamic watermark adding method, device, network disk and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090862A (en) * 2014-07-16 2014-10-08 山东大学 Network disk multi-type file online preview method based on Linux+Ngnix+Mysql+PHP (LNMP)
CN104468720A (en) * 2014-11-07 2015-03-25 广州市至德科技企业孵化器有限公司 Method for determining preview link and providing dynamic preview information for preview link
CN104462224A (en) * 2014-11-12 2015-03-25 成都卫士通信息产业股份有限公司 Cloud disc file online editing method
CN106843898A (en) * 2017-02-09 2017-06-13 郑州云海信息技术有限公司 Scsi disk information query method under a kind of Linux system
CN107659729A (en) * 2017-09-29 2018-02-02 努比亚技术有限公司 A kind of previewing file method, apparatus and computer-readable recording medium
CN108959573A (en) * 2018-07-05 2018-12-07 京东方科技集团股份有限公司 Data migration method, device, electronic equipment and storage medium based on desktop cloud
CN110582764A (en) * 2019-07-11 2019-12-17 深圳市鹰硕技术有限公司 file preview method, device and storage medium
CN110781644A (en) * 2019-11-04 2020-02-11 北京联想协同科技有限公司 File preview method, equipment and computer storage medium
CN110908961A (en) * 2019-11-15 2020-03-24 天津联想协同科技有限公司 File processing method, electronic device and computer storage medium
CN111966261A (en) * 2020-10-21 2020-11-20 北京联想协同科技有限公司 File management method, device and storage medium
CN113589982A (en) * 2021-07-29 2021-11-02 北京字跳网络技术有限公司 Resource playing method and device, electronic equipment and storage medium
CN113742297A (en) * 2021-09-10 2021-12-03 统信软件技术有限公司 File preview method, computing device and storage medium
CN113821771A (en) * 2021-11-24 2021-12-21 天津联想协同科技有限公司 Dynamic watermark adding method, device, network disk and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115130130A (en) * 2022-08-31 2022-09-30 天津联想协同科技有限公司 Network disk file unlocking method and device, network disk and storage medium
CN115826828A (en) * 2023-02-23 2023-03-21 天津联想协同科技有限公司 Network disk file operation method, device, terminal and storage medium
CN115826828B (en) * 2023-02-23 2023-07-14 天津联想协同科技有限公司 Network disk file operation method, device, terminal and storage medium
CN116010356A (en) * 2023-03-27 2023-04-25 天津联想协同科技有限公司 Method, device, network disk and storage medium for quickly previewing file through label
CN116010356B (en) * 2023-03-27 2023-08-11 天津联想协同科技有限公司 Method, device, network disk and storage medium for quickly previewing file through label

Also Published As

Publication number Publication date
CN114817969B (en) 2022-11-11

Similar Documents

Publication Publication Date Title
CN114817969B (en) Method, device, terminal and storage medium for previewing network disk drive letter file
KR102121626B1 (en) Associating a file type with an application in a network storage service
US20200412793A1 (en) Link file sharing and synchronization
US6735623B1 (en) Method and system for accessing a remote storage area
US20200052983A1 (en) Data leakage protection in cloud applications
EP2783313B1 (en) Sharing services
TWI379233B (en) Method and computer-readable medium for inserting a multimedia file through a web-based desktop productivity application
US20180234406A1 (en) Browser plug-in for secure credential submission
US8706778B2 (en) Methods and systems for an action-based interface for files and other assets
CN114385091B (en) Method and device for realizing network disk drive character, network disk and storage medium
CN104346075A (en) Method for processing screenshots and client
US20140095980A1 (en) Method and system for displaying and operating multi-layers item list in browsers with supporting of concurrent multiple_users
TW200925972A (en) Modifying hover help for a user interface
US11882154B2 (en) Template representation of security resources
US20140208225A1 (en) Managing sensitive information
US10891259B2 (en) User driven data pre-fetch
US20090271871A1 (en) Intelligent uploaded content placement
CN107862035B (en) Network reading method and device for conference record, intelligent tablet and storage medium
CN115826828B (en) Network disk file operation method, device, terminal and storage medium
US20130007028A1 (en) Discovering related files and providing differentiating information
CN114816646B (en) Shortcut operation method, device, terminal and storage medium suitable for network disk drive letter
US8788593B1 (en) Systems and methods for downloading attachments
CN115238314A (en) Network disk file display method and device, network disk and storage medium
CN107749892B (en) Network reading method and device for conference record, intelligent tablet and storage medium
CN114816203B (en) Shortcut operation method, device, terminal and storage medium suitable for network disk drive letter

Legal Events

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