The present invention relates to providing mechanisms for splitting a file and merging files, and more particularly, to a method and computer system for splitting a file and merging files by detecting a motion input, such as a touchscreen input or a gesture input.
A variety of appliances, including mobile phones, personal computers, notebook computers, and tablets, are in use in daily life. Due to the wide use of networks, a lot of users use portable appliances to send files in the form of attachments carried by mails and store the files in Web storage. However, there is a limitation to the size of a file sent by email. The maximum size of a file which can be stored in a file system of Web storage is also subject to a limitation. The prior art that pertains to compressing a file and splitting a file into multiple partial files is very useful. Typically, the operation performed to compress a file and split a file requires pre-configurations regarding the largest file size, the number of partial files, file formats (e.g., .rar, .zip, .7z), and file naming conventions, for example.
However, the prior art does not provide a convenient operation method for compressing/splitting a file to be sent or stored into multiple split partial files before the file is sent or stored.
Reference throughout this specification to features, advantages, or similar language does not imply that all of the features and advantages that may he realized with the present invention should be or are in any single embodiment of the invention. Rather, language referring to the features and advantages is understood to mean that a specific feature, advantage, or characteristic described in connection with an embodiment is included in at least one embodiment of the present invention. Thus, discussion of the features and advantages, and similar language, throughout this specification may, but do not necessarily, refer to the same embodiment.
Furthermore, the described features, advantages, and characteristics of the invention may be combined in any suitable manner in one or more embodiments. One skilled in the relevant art will recognize that the invention may be practiced without one or more of the specific features or advantages of a particular embodiment In other instances, additional features and advantages may be recognized in certain embodiments that may not be present in all embodiments of the invention.
The present invention provides a novel method for splitting a single file intuitively and merging multiple split files at a receiving end intuitively. Specifically, the present invention is characterized in that, in response to a unique and intuitive motion input, such as a touchscreen input or a gesture input, a splitting module is started to split a file to be sent or stored into multiple split partial files. Upon detection of the operation, the file to he sent or stored gets split into multiple split partial files on a touch-control graphical user interface (GUI) according to pre-configurations. Similarly, another unique and intuitive motion input, such as a touchscreen input or a gesture input, is effectuated, so as to start a merging module for merging multiple split partial files to create an original file. Upon detection of the operation, the multiple split partial files are merged to create an original file on a touch-control graphical user interface (GUI) according to pre-configurations.
According to an embodiment of the present invention, the present invention provides a method for splitting a file via a motion input on a graphical user interface. The method comprises the steps of:
According to another embodiment of the present invention, the present invention provides a method for merging all split multiple partial files via a motion input on a graphical user interface, wherein the partial files each include a header, the header comprising a preceding partial file pointer and a next partial file pointer, the method comprising the steps of:
According to yet another embodiment of the present invention, the present invention provides a computer system for splitting a file via a motion input on a graphical user interface, comprising:
The following description, the appended claims, and the embodiments of the present invention further illustrate the features and advantages of the present invention.
In order that the advantages of the invention will he readily understood, a more particular description of the invention briefly described above will be rendered by reference to specific embodiments that are illustrated in the appended drawings. Understanding that these drawings depict only typical embodiments of the invention and are not therefore to be considered to be limiting of its scope, the invention will be described and explained with additional specificity and detail through the use of the accompanying drawings.
Reference throughout this specification to “one embodiment,” “an embodiment,” or similar language means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, appearances of the phrases “in one embodiment,” “in an embodiment,” and similar language throughout this specification may, but do not necessarily, all refer to the same embodiment.
As will be appreciated by one skilled in the art, the present invention may be embodied as a computer readable medium of a computer system, a method or a computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, the present invention may take the form of a computer program product embodied in any tangible medium of expression having computer-usable program code embodied in the medium.
Any combination of one or more computer usable or computer readable medium(s) may be utilized. The computer-usable or computer-readable medium may be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. More specific examples (a non-exhaustive list) of the computer-readable 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 transmission media such as those supporting the Internet or an intranet, or a magnetic storage device. Note that the computer-usable or computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory. In the context of this document, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program code for use by or in connection with the instruction execution system, apparatus, or device. The computer-usable medium may include a propagated data signal with the computer-usable program code embodied therewith, either in baseband or as part of a carrier wave. The computer usable program code may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc.
Computer program code for carrying out operations 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, or partly on the user's computer and partly on a remote computer.
The present invention is described below with reference to flowchart illustrations and/or block diagrams of computer apparatus, methods and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may he provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable medium produce an article of manufacture including instruction means which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
Referring now to
The memory device 108 comprises a volatile memory, a random access memory (RAM), and/or a cache memory. The memory device 108 further comprises any other movable/immovable or volatile/nonvolatile storage medium, such as an immovable nonvolatile hard disk drive (not shown), a movable nonvolatile floppy disk drive, a CD-ROM, a DVD-ROM, an optical storage medium, a USB flash drive, or a memory card. Each drive connects to the bus 110 through one or more data medium interfaces.
The processor 106 accesses the program code, such as a program 124, in the memory device 108 or an external storage device 116. The program 124 has one or more functional modules 126, including but not limited to an operating system, for providing an application (to be described later and illustrated with
In fact, the functional modules 126 required for a function and/or method of the present invention are each provided in the form of a module in an application or a daemon. However, in another embodiment, it is practicable that the functional modules 126 are each provided in the form of any other programs. The functional modules 126 each comprise program codes described below and illustrated with
The bus 110 comes in different bus structures, including memory bus, peripheral bus, Accelerated Graphics Port (AGP), and a processor or local bus of at least one of the following bus architectures, including but not limited to, Industrial Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) bus, and Peripheral Component interconnect (PCI) bus.
The bus 110 provides a communication link for components in the computer system 104. The computer system 104 communicates with and links to one or more external devices 114 (such as a keyboard, direction-indicating apparatus, or display unit) through the device interface 112. The external devices 114 are digital camera modules for inputting image data and barcode data, or are I/O devices which can be integrated into a display unit 210 to provide a touchscreen whereby users operate an application and compile data, Furthermore, the computer system 104 communicates with the external device 114, the external storage device 116, or the other computer devices/systems through a network interface (such as a network interface controller or a modem), in this regard, the network is provided in the form of a connection of any type, including a fixed connection based on a local area network (LAN) or a wide area network (WAN), or dial-up Internet access service provided by an Internet service provider (ISP). Furthermore, the network is not restricted to wired or wireless connections, such as through GSM-enabled or Wi-Fi-enabled wireless networks for communicating with a computer device/system. Moreover, understandably, any other hardware constituent elements (not shown) and software (not shown), for example, an additional computer system, a router, and a firewall, can be included in the network.
In another embodiment, considering its basic structure and elements, the computer system 104 can he provided in the form of a general-purpose computer device, such as a personal computer (a desktop computer or a notebook computer), a server, or an appliance (e.g., IBM WebSphere Datapower SOA Appliance.) (http://www.redbooks.ibm.com/abstracts/redp4366.html) or Tivoli ISS Appliances (“IBM,” “WebSphere,” and “Tivoli” are registered trademarks owned by International Business Machine in the United States and/or any other countries.) Furthermore, the computer system 104 can also be implemented as a mobile computation device, such as a smartphone, a tablet, or a personal digital assistant (PDA). A data input module of a smartphone can be integrated into a display screen of the smartphone to provide a touchscreen whereby a user creates data or enters an instruction
As shown in the diagrams, hardware components in the computer system 104 are not intended to be all-inclusive; instead, they represent the most important components of the present invention, For instance, the computer system 104 further comprises a standby memory storage device, such as a magnetic cassette, DVD, Bernoulli cartridge, and the like. The above and other variations fall with the scope and spirit of the present invention.
The present invention is hereunder further illustrated with a splitting and/or merging module according to an embodiment of the present invention, but persons skilled in the art understand that the present invention is not restrictive of the splitting and/or merging module.
Referring to
The present invention is not restricted to the touch-control operation based on the touchscreen input, but applies to any motion input, for example, recognizing a gesture input by conventional gesture recognition technology.
In fact, the graphical user interface (GUI) of the present invention is not restricted to touch-control. With a direction-indicating device, such as a mouse, a unique input is effectuated by performing a non-touch-control operation, for example, right-clicking and dragging with the mouse to cross the file icons 230, so as to implement the present invention.
Moreover, before sending or storing a file according to the prior art, it is necessary to compress the file in order to effectively reduce the size of the file, and then the compressed file received at the receiving end is decompressed as needed. Hence, according to an embodiment of the present invention, before being split, a file is compressed according to a pre-configured file format, such as ,rar, ,zip, or .7z, However, the present invention is not restrictive of the sequence of a split and a compression.
Step 410: a user's computer system 104 chooses to split/merge a file and switches the computer system 104 to a splitting/merging mode.
Step 420: the computer system 104 detects and determines whether a user's finger has crossed at least two of the icon borders 220 surrounding the file icon 230. As mentioned before, the present invention is not limited to the touch-control operation based on a touchscreen input, but applies to any motion input, for example, recognizing a gesture input by conventional gesture recognition technology.
Step 430: upon detection that the user's finger has crossed at least two of the icon borders 220 surrounding the file icon 230, the file XYZ which is indicated by the file icon 230 and intended to be sent or stored is split into multiple partial files according to pre-configurations (such as the largest file size, number of partial files, file format, and file naming conventions), and multiple partial file icons 250 indicative of the multiple split partial files, respectively, are created on the touch-control graphical user interface (GUI). As mentioned before, according to an embodiment of the present invention, before being split, a file is compressed according to a pre-configured file format, such as .rar, .zip, or .7z. The pre-configurations are configured in advanced and stored in a file splitting/merging configuration database 440. The pre-configurations include the largest file size, the number of partial files to be split, the file format, and the conventions for naming the partial files. In fact, the present invention is not restrictive of the sequence of a split and a compression,
Step 510: the computer system 104 of the user chooses to split/merge a file and thus switch the computer system 104 to the splitting/merging mode,
Step 520: the computer system 104 detects and determines whether any single split partial file icon 250 has been tapped. As mentioned before, the present invention is not limited to a touch-control operation based on a touchscreen input, but applies to any motion input, for example, recognizing a gesture input by conventional gesture recognition technology.
Step 530: upon determination that a single split partial file icon 250 has been tapped, all the split partial files indicated by the partial file icons 250, respectively, are merged according to the preceding partial file pointers and the next partial file pointers in the headers, so as to create the original file. As mentioned before, according to an embodiment of the present invention, before being split, a file is compressed according to a pre-configured file format, such as .rar, .zip, or .7z. At this point in time, the split partial files indicated by the partial file icons 250, respectively, are merged so as to create the original file, and then a conventional decompression operation is performed on the original file according to a pre-configured file format.
The present invention applies to a wide variety of conventional appliances, such as mobile phones, personal computers, notebook computers, and tablets, which operate with or without a network and are equipped with non-touch control graphical user interfaces or touch control graphical user interfaces.
The foregoing preferred embodiments are provided to illustrate and disclose the technical features of the present invention, and are not intended to be restrictive of the scope of the present invention. Hence, all equivalent variations or modifications made to the foregoing embodiments without departing from the spirit embodied in the disclosure of the present invention should fall within the scope of the present invention as set forth in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
103106932 | Feb 2014 | TW | national |