Formation method and the device of the WEB network folder of class Windows
Technical field
The present invention relates to network application technical field, particularly relate to the method and the device that form the WEB network folder of class Windows in client.
Background technology
Web file is exactly the file on network, and the function that just looks like some website " network hard disc " that provide is the same, sees through explorer, just the data of client can be left on the webserver.In the use procedure of Internet, the network folder function that a lot of websites provide file to upload, download and manage, its function interface is varied.But, because people are more accustomed to the experience of the unit file of Windows, thereby use above-mentioned network folder function to have inconvenience.
Summary of the invention
Technical solution of the present invention
The formation method of the WEB network folder of one kind Windows, is characterized in that, the method comprises the steps:
1. adopt server script image data and produce Formatting Output, described data refer to the complete information for the file/file in client demonstration storing in server, and in the default demonstration of client form formatization, described format shows the WEB network folder that forms class Windows, described network folder comprises message header hurdle, command bar, file/file hurdle, the filename of described message header hurdle display network file, described command bar display command, file/file in described file/file hurdle is according to file/file sortord sequence under Windows folder content, described file/file hurdle at least comprises a html file,
2. adopt server script to produce described complete information at the default Formatting Output of client, adopt client script to sort and recombinate;
3. server script shows default browser hurdle in the above-mentioned Formatting Output of client simultaneously, utilize the multiple different pages of Frameset Technology Integration, adopt front end script to carry out the interoperability across window, to realize the interaction of browser hurdle and file/folder information main window;
4. corresponding KeyEvent and mouse event are set, the anti-aobvious mode to filesselected and the realization of multiselect, jump multiselect continuously that keyboard and mouse match: utilize front end script to carry out the response of mouse event and complete accordingly and choose, instead show and cancel;
5. utilize Ajax technology and conventional art to combine, the attribute to corresponding KeyEvent and mouse event is further set, right mouse button menu and the button group of equal value on browser hurdle are provided.
Use the formation method of the WEB network folder of class Windows claimed in claim 1 to generate a device for the WEB network folder of class Windows, it is characterized in that, described device at least comprises:
One virtual WEB network folder managing software module, is positioned at a client computer;
One virtual WEB network folder access control module, is connected to this user end computer via a network; And
One server control module, is connected to this virtual WEB network folder access control module, and this server control module emulation meets a storage device of the standard agreement of a service computer, wherein,
This virtual WEB network folder managing software module makes this server be equivalent to a local device, can carry out access to being stored in the multiple files in a storage device specific one, and this storage device is coupled to this user end computer.
The corresponding server of WEB network folder of described class Windows cannot be stored other content in this device.
Described device is stored multiple files and file with a file system.
Technique effect of the present invention:
The invention provides the method and the device that form the WEB network folder of class Windows in client, use server script image data and produce Formatting Output and adopt client script to sort and the step such as restructuring, although see through in essence explorer, the data of client is left on the webserver, for user provides the experience of the unit file of Windows.
Brief description of the drawings
Fig. 1 is the formation method schematic diagram of the WEB network folder of class Windows of the present invention.
Embodiment
Below in conjunction with accompanying drawing, embodiments of the invention are described further.
Fig. 1 is the formation method schematic diagram of the WEB network folder of class Windows of the present invention.As shown in Figure 1, realize the formation method of the WEB network folder of class Windows, mainly comprise following five steps:
1. adopt server script image data and produce Formatting Output, described data refer to the complete information for the file/file in client demonstration storing in server, and in the default demonstration of client form formatization, format shows the WEB network folder that forms class Windows, network folder comprises message header hurdle, command bar, file/file hurdle, the filename of message header hurdle display network file, command bar display command, file/file in file/file hurdle is according to file/file sortord sequence under Windows folder content, file/file hurdle at least comprises a html file, html is HTML, and html file refers to the descriptive text being made up of html order.
2. adopt server script to produce described complete information at the default Formatting Output of client, adopt client script to sort and recombinate;
3. server script shows default browser hurdle in the above-mentioned Formatting Output of client simultaneously, utilize the multiple different pages of Frameset Technology Integration, adopt front end script to carry out the interoperability across window, to realize the interaction of browser hurdle and file/folder information main window;
4. corresponding KeyEvent and mouse event are set, the anti-aobvious mode to filesselected and the realization of multiselect, jump multiselect continuously that keyboard and mouse match: utilize front end script to carry out the response of mouse event and complete accordingly and choose, instead show and cancel;
5. utilize Ajax technology and conventional art to combine, the attribute to corresponding KeyEvent and mouse event is further set, right mouse button menu and the button group of equal value on browser hurdle are provided.
Use the formation method of the WEB network folder of class Windows of the present invention to generate a device for the WEB network folder of class Windows, at least comprise following functions module:
One virtual WEB network folder managing software module, is positioned at a client computer;
One virtual WEB network folder access control module, is connected to this user end computer via a network; And
One server control module, is connected to this virtual WEB network folder access control module, and this server control module emulation meets a storage device of the standard agreement of a service computer,
Wherein, this virtual WEB network folder managing software module makes this server be equivalent to a local device, can carry out access to being stored in the multiple files in a storage device specific one, and this storage device is coupled to this user end computer.The corresponding server of WEB network folder of class Windows cannot be stored other content in this device.Device is stored multiple files and file with a file system.
Above the method and the device that form the WEB network folder of class Windows in client of relating to provided by the present invention is described in detail.Apply specific embodiment herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; Meanwhile, for those skilled in the art, according to thought of the present invention, still can modify or be equal to replacement the invention in specific embodiments and applications; In sum, this description should not be construed as limitation of the present invention, and all do not depart from technical scheme and the improvement thereof of the spirit and scope of the present invention, and it is all encompassed in the middle of the protection range of the invention patent.