CN108009274A - Piece file mergence method and mobile terminal - Google Patents
Piece file mergence method and mobile terminal Download PDFInfo
- Publication number
- CN108009274A CN108009274A CN201711377240.3A CN201711377240A CN108009274A CN 108009274 A CN108009274 A CN 108009274A CN 201711377240 A CN201711377240 A CN 201711377240A CN 108009274 A CN108009274 A CN 108009274A
- Authority
- CN
- China
- Prior art keywords
- file
- combined
- merging
- type
- picture
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/168—Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
An embodiment of the present invention provides a kind of Piece file mergence method and mobile terminal, wherein method includes:According to the touch control operation of user, multiple files to be combined are determined;According to the file type of each file to be combined, the target type for merging file is determined;The content of the multiple file to be combined is merged, generates the merging file of the target type.By the embodiment of the present invention, it can solve the problems, such as that the Piece file mergence mode user's operation of current mobile terminal is cumbersome, user experience is poor.
Description
Technical field
The present invention relates to field of mobile terminals, more particularly to a kind of Piece file mergence method and mobile terminal.
Background technology
At present, user can browse various files in mobile terminal such as mobile phone, tablet computer, wearable device, such as scheme
Piece file or text etc., when user needs the content in a file being incorporated into another file, such as by text A
One section of text when being incorporated into text B, merging process is usually:User opens text A, and user opens text B, selects text
Text and the duplication merged is needed in A, the content of duplication is affixed in text B.
As it can be seen that when user carries out Piece file mergence in mobile terminal at present, four operations are at least needed:Open the first text
Part, the content opening the second file, choose content in the first file and duplication, pasting in the second file duplication, therefore, mesh
The Piece file mergence mode of preceding mobile terminal has the problem of user's operation is cumbersome, user experience is poor.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of Piece file mergence method and mobile terminal, to solve current mobile terminal
Piece file mergence mode user's operation is cumbersome, the problem of user experience is poor.
In order to solve the above technical problems, what the embodiment of the present invention was realized in:
In a first aspect, an embodiment of the present invention provides a kind of Piece file mergence method, applied to mobile terminal, including:
According to the touch control operation of user, multiple files to be combined are determined;
According to the file type of each file to be combined, the target type for merging file is determined;
The content of the multiple file to be combined is merged, generates the merging file of the target type.
Second aspect, an embodiment of the present invention provides a kind of mobile terminal, including:
File determining module, for the touch control operation according to user, determines multiple files to be combined;
Determination type module, for the file type according to each file to be combined, determines the target for merging file
Type;
File combination module, for the content of the multiple file to be combined to be merged, generates the target type
Merging file.
The third aspect, an embodiment of the present invention provides a kind of mobile terminal, including:Memory, processor and it is stored in institute
The computer program that can be run on memory and on the processor is stated, when the computer program is performed by the processor
The step of realizing the Piece file mergence method as described in above-mentioned first aspect.
Fourth aspect, an embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage
Computer program is stored with medium, the text as described in above-mentioned first aspect is realized when the computer program is executed by processor
The step of part merging method.
In the embodiment of the present invention, first according to the touch control operation of user, multiple files to be combined are determined, then according to each
The file type of file to be combined, determines the target type for merging file, finally carries out the content of the plurality of file to be combined
Merge, generate the merging file of target type.As it can be seen that by the embodiment of the present invention, user only needs to determine by touch control operation
Multiple files to be combined, user open file, duplication file content without performing, and paste the operation of file content, therefore
User's operation is simplified, improves Piece file mergence efficiency and user experience, the Piece file mergence mode for solving current mobile terminal
The problem of user's operation is cumbersome, user experience is poor.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments described in invention, for those of ordinary skill in the art, in the premise of not making the creative labor property
Under, other attached drawings can also be obtained according to these attached drawings.
Fig. 1 is the flow diagram for the Piece file mergence method that one embodiment of the invention provides;
Fig. 2 is the file type hierarchical relationship schematic diagram that one embodiment of the invention provides;
Fig. 3 a are the interface schematic diagram for the definite file to be combined that one embodiment of the invention provides;
Fig. 3 b are the interface schematic diagram for the definite file to be combined that another embodiment of the present invention provides;
Fig. 3 c are the interface schematic diagram for the definite file to be combined that another embodiment of the present invention provides;
Fig. 4 is the merging mode prompting interface schematic diagram that one embodiment of the invention provides;
Fig. 5 a are schematic diagram of the word of one embodiment of the invention offer above picture;
Fig. 5 b are schematic diagram of the word of one embodiment of the invention offer below image;
Fig. 5 c are the schematic diagram that the picture that one embodiment of the invention provides floats on next layer of word;
Fig. 5 d are schematic diagram of the word around picture of one embodiment of the invention offer;
Fig. 6 a are that the picture that one embodiment of the invention provides splices schematic diagram;
Fig. 6 b are that the picture that another embodiment of the present invention provides splices schematic diagram;
Fig. 7 is that the picture that one embodiment of the invention provides merges schematic diagram;
Fig. 8 is the module composition schematic diagram for the mobile terminal that one embodiment of the invention provides;
Fig. 9 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention.
Embodiment
In order to make those skilled in the art more fully understand the technical solution in the present invention, below in conjunction with of the invention real
The attached drawing in example is applied, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described implementation
Example is only part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this area is common
Technical staff's all other embodiments obtained without creative efforts, should all belong to protection of the present invention
Scope.
To solve the problems, such as that the Piece file mergence mode user's operation of current mobile terminal is cumbersome, user experience is poor, this hair
Bright embodiment provides a kind of Piece file mergence method, a kind of mobile terminal and a kind of computer-readable recording medium, wherein, file
Merging method is applied to mobile terminal side, can be by mobile terminal execution, and the mobile terminal involved in the embodiment of the present invention includes
But being not limited to mobile phone, computer, tablet computer, wearable device etc. has the terminal device of file memory function.
Fig. 1 is the flow diagram for the Piece file mergence method that one embodiment of the invention provides, as shown in Figure 1, this method bag
Include following steps:
Step 102, according to the touch control operation of user, multiple files to be combined are determined;
Step 104, according to the file type of each file to be combined, the target type for merging file is determined;
Step 106, the content of the plurality of file to be combined is merged, generates the merging file of target type.
In the embodiment of the present invention, first according to the touch control operation of user, multiple files to be combined are determined, then according to each
The file type of file to be combined, determines the target type for merging file, finally carries out the content of the plurality of file to be combined
Merge, generate the merging file of target type.As it can be seen that by the embodiment of the present invention, user only needs to determine by touch control operation
Multiple files to be combined, user open file, duplication file content without performing, and paste the operation of file content, therefore
User's operation is simplified, improves Piece file mergence efficiency and user experience, the Piece file mergence mode for solving current mobile terminal
The problem of user's operation is cumbersome, user experience is poor.
In above-mentioned steps 102, the touch control operation of user includes the one or more in the operation such as long-press, click, dragging.Move
Dynamic terminal determines multiple files to be combined according to the touch control operation of user.
File type in view of merging file needs to ensure that the normal of file content is shown, above-mentioned in one embodiment
In step 104, according to the file type of each file to be combined, determine the target type for merging file, be specially:According to each
The file type of file to be combined, determines the first file type for compatible each file to be combined;By the first file type,
It is determined as the target type for merging file.
By taking picture file and text as an example, mobile terminal is by the file type and text of common picture file
File type be organized as built in UML (Unified Modeling Language, Unified Modeling Language) figure in systems, shape
Into file type layer level graph of a relation, Fig. 2 is the file type hierarchical relationship schematic diagram that one embodiment of the invention provides, such as Fig. 2 institutes
Show, each file type is uniformly combined into tree, and in the tree, from top to bottom the grade of file type gradually drops
It is low.In the present embodiment, according to the file type of each file to be combined, the first text for compatible each file to be combined is determined
Part type, Ke Yiwei, in above-mentioned tree, determines the file type of each file to be combined, will each file to be combined
File type common nearest parent, be determined as the first file type for compatible each file to be combined, such as, wait to close
And file is JPG and gif file, then the first file type is MPEG, and file to be combined is MPEG and TXT files, then the first text
Part type is word.Wherein, set for the file type of compatible text and picture file as word document, when to be combined
When file is word document, it is word to determine the first file type.
After determining the first file type by the file type hierarchical relationship shown in Fig. 3, it can either cause the first files classes
The compatible each file to be combined of type, but inferior grade file type can be upgraded to it is high-grade, such as by after two JPG Piece file mergences
Upgrade to mpeg file, so as to ensure the display effect for merging file.
It is of course also possible to the first file type is determined by other means, such as, preset between each file type
Compatibility relation, as word is used for the merging of compatible picture and file, and the merging of compatible text and text, JPG are used for simultaneous
Hold the merging of picture and picture, so as to determine the first file type according to the compatibility relation.
After the first file type is determined, by the first file type, it is determined as the target type for merging file, so as to ensure
The merging file ultimately generated is capable of the content of compatible each file to be combined, ensures the content display effect for merging file.
In one embodiment, the definite multiple files to be combined of above-mentioned steps 102 include source file and file destination, above-mentioned
Step 106, the content of multiple files to be combined is merged, generates the merging file of target type, be specially:According to above-mentioned
Touch control operation, in multiple files to be combined, determines source file and at least one file destination, and the type for adjusting source file is upper
State target type, and by the content of each file destination added in the content of source file, using the source file after addition as
Merge file.Wherein, source file can be one, and file destination is at least one.
Specifically, according to above-mentioned touch control operation, in multiple files to be combined, source file and at least one target text are determined
Part, can be any one in following three kinds of modes:
(1) long-press of user is operated into corresponding file to be combined, is determined as source file, the clicking operation of user is corresponded to
Each file to be combined, be determined as file destination;
(2) long-press of user is operated into corresponding file to be combined, is determined as source file, the drag operation based on user,
The each file to be combined being dragged at source file is determined as file destination;
(3) drag operation based on user, is determined as file destination by trailing each file to be combined, will drag
The file to be combined at corresponding dragging end position is operated, is determined as source file.
Fig. 3 a are the interface schematic diagram for the definite file to be combined that one embodiment of the invention provides, as shown in Figure 3a, corresponding
Mode (1), the icon of user long-press file A on the screen so that the icon of file A is in suspended state, and user is in long-press text
After part A, file B is also clicked on, then file A and file B are determined as file to be combined by mobile terminal, and file A is determined as source
File, is determined as file destination by file B.Fig. 3 a are illustrated using file destination as one, if user after long-press file A,
Multiple files are clicked on, then each file is file destination.
Fig. 3 b are the interface schematic diagram for the definite file to be combined that another embodiment of the present invention provides, as shown in Figure 3b, right
Answer mode (2), the icon of user long-press file A on the screen so that the icon of file A is in suspended state, and user is in long-press
After file A, also file B is dragged at file A, then file A and file B are determined as file to be combined by mobile terminal, and will
File A is determined as source file, and file B is determined as file destination.Fig. 3 b are illustrated using file destination as one, if user exists
After long-press file A, multiple files are dragged at file A successively, then each trailing file is file destination.
Fig. 3 c are the interface schematic diagram for the definite file to be combined that another embodiment of the present invention provides, as shown in Figure 3c, right
Mode (3) is answered, user performs drag operation on the screen, and file B is dragged at file A, then mobile terminal is by file A and text
Part B is determined as file to be combined, and file A is determined as source file, and file B is determined as file destination.Fig. 3 c are with target text
Part is illustrated for one, if multiple files are dragged at file A by user successively, each trailing file is target
File.
In the present embodiment, user can be by the combining form selecting file of a variety of touch control operations, so that mobile terminal is true
Fixed file to be combined, and determine the source file and file destination in file to be combined.User's touch control manner is various, to meet not
With the operating habit of user.
In the present embodiment, according to the touch control operation of user, in multiple files to be combined, source file and at least one is determined
After file destination, the type for also adjusting source file is target type, and the content of each file destination is added to source file
Content in, using the source file after addition as merge file.Wherein, it can be one in source file, file destination can be
When multiple, mobile terminal successively can add the content of each file destination according to the order of user's selection target file
Into source file, using the source file after addition as merging file.As it can be seen that through this embodiment, it can automate and realize file
Merge, reach the effect that simplified user's operation realizes Piece file mergence.
In another embodiment, above-mentioned steps 106, the content of multiple files to be combined is merged, and generates target class
The merging file of type, is specially:Establishment file type is the first file of target type, and by the content of each file to be combined
It is incorporated into the first file, using the first file after merging as merging file.
Specifically, establishment file type is the first file of target type in the terminal, and the first file is blank text
Part, for merging file content, then, the content of each file to be combined is incorporated into the first file, after merging
First file is as file is merged, so as to obtain the merging file of target type.
In the present embodiment, by creating the first file, the content of each file to be combined is incorporated into the first file,
Using the first file after merging as file is merged, it can automate and realize Piece file mergence, reach simplified user's operation and realize text
The effect that part merges.
The determination mode for the file type for merging file, and two kinds of Piece file mergence modes are described above, below by
Another embodiment introduces the Piece file mergence mode of another file type based on file to be combined.
In the embodiment, above-mentioned steps 106, the content of multiple files to be combined is merged, generates target type
Merge file, be specially:According to the file type of each file to be combined, the content of multiple files to be combined is merged,
Generate the merging file of target type.
Wherein, the content of multiple files to be combined is merged, can will be more when generating the merging file of target type
The content of a file to be combined is incorporated into a file to be combined, can also be incorporated into the content of multiple files to be combined
In one newly-generated null file, merging the target type of file can use method above to determine which is not described herein again.
In the case of one kind, each file to be combined is text;Then, according to the files classes of each file to be combined
Type, the content of multiple files to be combined is merged, and generates the merging file of target type, is specially:By each text text
Text in part merges, and generates the merging file of target type.
For example file to be combined includes tri- texts of A, B, C, then in this example, successively by file A and file B
Content affixes to the most end of file C, the file type of the file C after stickup is revised as target type, by amended text
Part C is as merging file.
As it can be seen that by the embodiment of the present invention, user is when merging multiple texts, it is only necessary to it is more to choose this on the screen
A text, without carrying out other operations, mobile terminal can be automatically performed the merging of file content, simplify user
Operation, improves Piece file mergence efficiency.
In another case, multiple files to be combined include text and picture file:Then, according to each text to be combined
The file type of part, the content of multiple files to be combined is merged, and generates the merging file of target type, is specially:To
User prompt that picture file and text merge it is at least one merge mode, which merges for expression
To merging file in, the position relationship between picture and text;The merging mode selected according to user, by picture file
Text in picture and text file merges, and generates the merging file of target type.
Specifically, Fig. 4 is the merging mode prompting interface schematic diagram that one embodiment of the invention provides, as shown in figure 4, closing
And before text and picture file, mobile terminal display reminding interface, prompts the user with picture file and is carried out with text
At least one merging mode of merging, which is used to represent to merge in obtained merging file, between picture and text
Position relationship, include but not limited to Fig. 4 shown in word above picture, word below image, picture float on text
The next layer of word, word are around picture.
Fig. 5 a are schematic diagram of the word of one embodiment of the invention offer above picture, and Fig. 5 b are one embodiment of the invention
Schematic diagram of the word of offer below image, Fig. 5 c are that the picture that one embodiment of the invention provides floats on next layer of word
Schematic diagram, Fig. 5 d are schematic diagram of the word around picture of one embodiment of the invention offer.
Mobile terminal determines the merging mode of user's selection, and the merging mode selected according to user, by picture file
Picture and text file in text merge, generate the merging file of target type.According to the text for above merging file
The determination mode of part type understands that after text and picture file merging, it can be word document to merge file.One implementation
In example, the picture in picture file is added in text, and the text after addition merges file tool as file is merged
Body is word document, and in another embodiment, the text in picture and text in picture file is incorporated into newly-generated
In file, for newly-generated file to merge file, it is specially word document to merge file.
As it can be seen that by the embodiment of the present invention, user is when merging text and picture file, it is only necessary to selects on the screen
This article this document and picture file are taken, without carrying out other operations, mobile terminal can be automatically performed the conjunction of file content
And user's operation is simplified, improve Piece file mergence efficiency.And, there is provided the type-setting mode of a variety of files and picture, Neng Goubao
Card merges the visual effect of file.
In the case of another, each file to be combined is picture file, then, according to the files classes of each file to be combined
Type, the content of multiple files to be combined is merged, and generates the merging file of target type, is specially:
(1) size of the picture in each picture file is adjusted to pre-set dimension, by each figure after size adjusting
Piece is spliced, and generates the merging file of target type;
Alternatively,
(2) according to the above-mentioned touch control operation of user, source file and file destination, extraction are determined in multiple files to be combined
Background parts of picture in source file, and extract the foreground part of the picture in file destination, by the background parts of extraction and
The foreground part of extraction merges, and generates the merging file of target type.
In mode (1), mobile terminal is equal by the size of the picture in each picture file when merging each picture file
Pre-set dimension is adjusted to, is then spliced each picture after size adjusting, generation merges file.Fig. 6 a are the present invention one
The picture splicing schematic diagram that embodiment provides, as shown in Figure 6 a, shares two picture files, and mobile terminal is by each picture file
In the size of picture be adjusted to pre-set dimension, and two pictures after size adjusting are spliced.
Fig. 6 b are that the picture that another embodiment of the present invention provides splices schematic diagram, as shown in Figure 6 b, in one embodiment, are moved
Dynamic terminal determines multiple files to be combined according to user's operation, and each file to be combined is picture file, and mobile terminal will be every
The size of picture in a picture file is adjusted to pre-set dimension, and multiple pictures after adjustment are spliced, so as to spell
It is connected into picture as shown in Figure 6 b.In the case of one kind, mobile terminal can select the order of each picture file according to user, will
Each picture is according to left-to-right sequential concatenation from top to bottom into new picture file.In another case, mobile terminal exists
In multiple picture files, determine to merge file, and the type for merging file is revised as target type, mobile terminal is by other figures
Picture in piece file is moved to successively to be merged in file, and is spliced with merging original picture in file, splicing order
The order of each picture file can be selected to determine according to user.
In mode (2), mobile terminal determines source file according to the above-mentioned touch control operation of user in multiple files to be combined
And file destination, this partial routine may be referred to described above, which is not described herein again.Then, in mobile terminal extraction source file
Picture background parts, and the foreground part of the picture in file destination is extracted, before the background parts of extraction and extraction
Scape part merges, and generates the merging file of target type.Wherein, the side of picture foreground part and picture background part is extracted
Formula does not limit, and can have a variety of implementations.
Fig. 7 is that the picture that one embodiment of the invention provides merges schematic diagram, as shown in fig. 7, the picture is merging file, should
The foreground part (floral parts) of picture comes from a file to be combined, and background parts (part in addition to prospect) are from another
A file to be combined.
As it can be seen that by the embodiment of the present invention, user is when merging multiple picture files, it is only necessary to it is more to choose this on the screen
A picture file, without carrying out other operations, mobile terminal can be automatically performed the merging of file content, simplify user
Operation, improves Piece file mergence efficiency.
Corresponding above-mentioned Piece file mergence method, the embodiment of the present invention additionally provide a kind of mobile terminal, and Fig. 8 is the present invention one
The module composition schematic diagram for the mobile terminal that embodiment provides, as shown in figure 8, the mobile terminal, including:
File determining module 71, for the touch control operation according to user, determines multiple files to be combined;
Determination type module 72, for the file type according to each file to be combined, determines the mesh for merging file
Mark type;
File combination module 73, for the content of the multiple file to be combined to be merged, generates the target class
The merging file of type.
Alternatively, the determination type module 72 is specifically used for:
According to the file type of each file to be combined, first for compatible each file to be combined is determined
File type;
By first file type, it is determined as the target type for merging file.
Alternatively, the file combination module 73 is specifically used for:
According to the file type of each file to be combined, the content of the multiple file to be combined is merged,
Generate the merging file of the target type.
Alternatively, the file combination module 73 is specifically used for:
According to the touch control operation, in the multiple file to be combined, source file and at least one file destination are determined;
The type for adjusting the source file is the target type, and the content of each file destination is added to
In the content of the source file;
Using the source file after addition as the merging file.
Alternatively, the file combination module 73 is specifically used for:
Establishment file type is the first file of the target type, and the content of each file to be combined is closed
And into first file;
Using first file after merging as the merging file.
Alternatively, each file to be combined is text;
The file combination module 73 also particularly useful for:
Text in each text is merged, generates the merging file of the target type.
Alternatively, the multiple file to be combined includes text and picture file:
The file combination module 73 also particularly useful for:
Prompt the user with that picture file and text merge it is at least one merge mode, the merging mode is used
Merge in representing described in file, the position relationship between picture and text;
The merging mode selected according to user, by the text in the picture in the picture file and the text
Originally merge, generate the merging file of the target type.
Alternatively, each file to be combined is picture file;
The file combination module 73 also particularly useful for:
The size of picture in each picture file is adjusted to pre-set dimension, by each institute after size adjusting
State picture to be spliced, generate the merging file of the target type;
Alternatively,
According to the touch control operation, source file and file destination are determined in the multiple file to be combined, described in extraction
The background parts of picture in source file, and the foreground part of the picture in the file destination is extracted, by the back of the body of extraction
The foreground part of scape part and extraction merges, and generates the merging file of the target type.
By the embodiment of the present invention, user only needs to determine multiple files to be combined, Yong Huwu by touch control operation
It need to perform and open file, replicate file content, paste the operation of file content, therefore simplify user's operation, improve file
Combined efficiency and user experience, the Piece file mergence mode user's operation that solves current mobile terminal is cumbersome, user experience is poor
The problem of.
Fig. 9 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention, as shown in figure 9, should
Mobile terminal 800 includes but not limited to:Radio frequency unit 801, mixed-media network modules mixed-media 802, audio output unit 803, input unit 804,
Sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, processor 810, Yi Ji electricity
The grade component of source 811.It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 8 is not formed to mobile terminal
Restriction, mobile terminal can include than illustrating more or fewer components, either combine some components or different components
Arrangement.In embodiments of the present invention, mobile terminal include but not limited to mobile phone, tablet computer, laptop, palm PC,
Car-mounted terminal, wearable device and pedometer etc..
Wherein, 809 memory of memory contains computer program, when which is performed by processor 810, Neng Goushi
Existing below scheme:
According to the touch control operation of user, multiple files to be combined are determined;
According to the file type of each file to be combined, the target type for merging file is determined;
The content of the multiple file to be combined is merged, generates the merging file of the target type.
Alternatively, when which is performed by processor 810, according to the files classes of each file to be combined
Type, determines the target type for merging file, including:
According to the file type of each file to be combined, first for compatible each file to be combined is determined
File type;
By first file type, it is determined as the target type for merging file.
Alternatively, when which is performed by processor 810, the content of the multiple file to be combined is closed
And the merging file of the target type is generated, including:
According to the file type of each file to be combined, the content of the multiple file to be combined is merged,
Generate the merging file of the target type.
Alternatively, when which is performed by processor 810, the content of the multiple file to be combined is closed
And the merging file of the target type is generated, including:
According to the touch control operation, in the multiple file to be combined, source file and at least one file destination are determined;
The type for adjusting the source file is the target type, and the content of each file destination is added to
In the content of the source file;
Using the source file after addition as the merging file.
Alternatively, when which is performed by processor 810, the content of the multiple file to be combined is closed
And the merging file of the target type is generated, including:
Establishment file type is the first file of the target type, and the content of each file to be combined is closed
And into first file;
Using first file after merging as the merging file.
Alternatively, when which is performed by processor 810, each file to be combined is text;
According to the file type of each file to be combined, the content of the multiple file to be combined is merged,
The merging file of the target type is generated, including:
Text in each text is merged, generates the merging file of the target type.
Alternatively, when which is performed by processor 810, the multiple file to be combined include text and
Picture file:
According to the file type of each file to be combined, the content of the multiple file to be combined is merged,
The merging file of the target type is generated, including:
Prompt the user with that picture file and text merge it is at least one merge mode, the merging mode is used
Merge in representing described in file, the position relationship between picture and text;
The merging mode selected according to user, by the text in the picture in the picture file and the text
Originally merge, generate the merging file of the target type.
Alternatively, when which is performed by processor 810, each file to be combined is picture file;
According to the file type of each file to be combined, the content of the multiple file to be combined is merged,
The merging file of the target type is generated, including:
The size of picture in each picture file is adjusted to pre-set dimension, by each institute after size adjusting
State picture to be spliced, generate the merging file of the target type;
Alternatively,
According to the touch control operation, source file and file destination are determined in the multiple file to be combined, described in extraction
The background parts of picture in source file, and the foreground part of the picture in the file destination is extracted, by the back of the body of extraction
The foreground part of scape part and extraction merges, and generates the merging file of the target type.
By the embodiment of the present invention, user only needs to determine multiple files to be combined, Yong Huwu by touch control operation
It need to perform and open file, replicate file content, paste the operation of file content, therefore simplify user's operation, improve file
Combined efficiency and user experience, the Piece file mergence mode user's operation that solves current mobile terminal is cumbersome, user experience is poor
The problem of.
It should be understood that in the embodiment of the present invention, radio frequency unit 801 can be used for receiving and sending messages or communication process in, signal
Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 810;In addition, by uplink
Data sending is to base station.In general, radio frequency unit 801 includes but not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 801 can also by wireless communication system and network and other set
Standby communication.
Mobile terminal has provided wireless broadband internet to the user by mixed-media network modules mixed-media 802 and has accessed, and such as helps user to receive
Send e-mails, browse webpage and access streaming video etc..
Audio output unit 803 can be receiving by radio frequency unit 801 or mixed-media network modules mixed-media 802 or in memory 809
It is sound that the voice data of storage, which is converted into audio signal and exports,.Moreover, audio output unit 803 can also be provided and moved
The relevant audio output of specific function that dynamic terminal 800 performs is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 803 includes loudspeaker, buzzer and receiver etc..
Input unit 804 is used to receive audio or video signal.Input unit 804 can include graphics processor
(Graphics Processing Unit, GPU) 8041 and microphone 8042, graphics processor 8041 is in video acquisition mode
Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) carry out
Reason.Picture frame after processing may be displayed on display unit 806.Picture frame after the processing of graphics processor 8041 can be deposited
Storage is transmitted in memory 809 (or other storage mediums) or via radio frequency unit 801 or mixed-media network modules mixed-media 802.Mike
Wind 8042 can receive sound, and can be voice data by such acoustic processing.Voice data after processing can be
The form output of mobile communication base station can be sent to via radio frequency unit 801 by being converted in the case of telephone calling model.
Mobile terminal 800 further includes at least one sensor 805, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 8061, and proximity sensor can close when mobile terminal 800 is moved in one's ear
Display panel 8061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Pass
Sensor 805 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared ray sensor etc. are spent, details are not described herein.
Display unit 806 is used for the information for showing by information input by user or being supplied to user.Display unit 806 can wrap
Display panel 8061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 8061.
User input unit 807 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is related.Specifically, user input unit 807 include contact panel 8071 and
Other input equipments 8072.Contact panel 8071, also referred to as touch-screen, collect user on it or neighbouring touch operation
(for example user uses any suitable objects or annex such as finger, stylus on contact panel 8071 or in contact panel 8071
Neighbouring operation).Contact panel 8071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 810, receiving area
Manage the order that device 810 is sent and performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes contact panel 8071.Except contact panel 8071, user input unit 807 can also include other input equipments
8072.Specifically, other input equipments 8072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operation lever, details are not described herein.
Further, contact panel 8071 can be covered on display panel 8061, when contact panel 8071 is detected at it
On or near touch operation after, send to processor 810 with determine touch event type, be followed by subsequent processing device 810 according to touch
The type for touching event provides corresponding visual output on display panel 8061.Although in fig.9, contact panel 8071 and display
Panel 8061 is the component independent as two to realize the function that outputs and inputs of mobile terminal, but in some embodiments
In, can be integrated by contact panel 8071 and display panel 8061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place does not limit.
Interface unit 808 is the interface that external device (ED) is connected with mobile terminal 800.For example, external device (ED) can include
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 808 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and
One or more elements that the input received is transferred in mobile terminal 800 can be used in 800 He of mobile terminal
Data are transmitted between external device (ED).
Memory 809 can be used for storage software program and various data.Memory 809 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 809 can include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 810 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
A part, by running or performing the software program and/or module that are stored in memory 809, and calls and is stored in storage
Data in device 809, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place
Reason device 810 may include one or more processing units;Preferably, processor 810 can integrate application processor and modulatedemodulate is mediated
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 810.
Mobile terminal 800 can also include the power supply 811 (such as battery) to all parts power supply, it is preferred that power supply 811
Can be logically contiguous by power-supply management system and processor 810, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
In addition, mobile terminal 800 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 810, and memory 809, is stored in
On memory 809 and the computer program that can be run on the processor 810, the computer program are performed by processor 810
Each process of the above-mentioned Piece file mergence embodiments of the method for Shi Shixian, and identical technique effect can be reached, to avoid repeating, here
Repeat no more.
Further, the embodiment of the present invention also provides a kind of computer-readable recording medium, computer-readable recording medium
On be stored with computer program, which realizes each of above-mentioned Piece file mergence embodiment of the method when being executed by processor
Process, and identical technique effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage
Medium, such as read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access
Memory, abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those key elements, and
And other elements that are not explicitly listed are further included, or further include as this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical element in the process of key element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, services
Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, those of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make very much
Form, belongs within the protection of the present invention.
Claims (18)
- A kind of 1. Piece file mergence method, applied to mobile terminal, it is characterised in that including:According to the touch control operation of user, multiple files to be combined are determined;According to the file type of each file to be combined, the target type for merging file is determined;The content of the multiple file to be combined is merged, generates the merging file of the target type.
- 2. according to the method described in claim 1, it is characterized in that, according to the file type of each file to be combined, really Surely the target type of file is merged, including:According to the file type of each file to be combined, the first file for compatible each file to be combined is determined Type;By first file type, it is determined as the target type for merging file.
- 3. method according to claim 1 or 2, it is characterised in that closed the content of the multiple file to be combined And the merging file of the target type is generated, including:According to the file type of each file to be combined, the content of the multiple file to be combined is merged, is generated The merging file of the target type.
- 4. method according to claim 1 or 2, it is characterised in that closed the content of the multiple file to be combined And the merging file of the target type is generated, including:According to the touch control operation, in the multiple file to be combined, source file and at least one file destination are determined;The type for adjusting the source file is the target type, and by the content of each file destination added to described In the content of source file;Using the source file after addition as the merging file.
- 5. method according to claim 1 or 2, it is characterised in that closed the content of the multiple file to be combined And the merging file of the target type is generated, including:Establishment file type is the first file of the target type, and the content of each file to be combined is incorporated into In first file;Using first file after merging as the merging file.
- 6. according to the method described in claim 3, it is characterized in that, each file to be combined is text;According to the file type of each file to be combined, the content of the multiple file to be combined is merged, is generated The merging file of the target type, including:Text in each text is merged, generates the merging file of the target type.
- 7. according to the method described in claim 3, it is characterized in that, the multiple file to be combined includes text and picture File:According to the file type of each file to be combined, the content of the multiple file to be combined is merged, is generated The merging file of the target type, including:Prompt the user with that picture file and text merge it is at least one merge mode, the merging mode is used for table Show in the merging file, the position relationship between picture and text;The merging mode selected according to user, by the text in the picture in the picture file and the text into Row merges, and generates the merging file of the target type.
- 8. according to the method described in claim 3, it is characterized in that, each file to be combined is picture file;According to the file type of each file to be combined, the content of the multiple file to be combined is merged, is generated The merging file of the target type, including:The size of picture in each picture file is adjusted to pre-set dimension, by each figure after size adjusting Piece is spliced, and generates the merging file of the target type;Alternatively,According to the touch control operation, source file and file destination are determined in the multiple file to be combined, extracts the source document The background parts of picture in part, and the foreground part of the picture in the file destination is extracted, by the background portion of extraction Divide and the foreground part of extraction merges, generate the merging file of the target type.
- A kind of 9. mobile terminal, it is characterised in that including:File determining module, for the touch control operation according to user, determines multiple files to be combined;Determination type module, for the file type according to each file to be combined, determines the target type for merging file;File combination module, for the content of the multiple file to be combined to be merged, generates the conjunction of the target type And file.
- 10. mobile terminal according to claim 9, it is characterised in that the determination type module is specifically used for:According to the file type of each file to be combined, the first file for compatible each file to be combined is determined Type;By first file type, it is determined as the target type for merging file.
- 11. the mobile terminal according to claim 9 or 10, it is characterised in that the file combination module is specifically used for:According to the file type of each file to be combined, the content of the multiple file to be combined is merged, is generated The merging file of the target type.
- 12. the mobile terminal according to claim 9 or 10, it is characterised in that the file combination module is specifically used for:According to the touch control operation, in the multiple file to be combined, source file and at least one file destination are determined;The type for adjusting the source file is the target type, and by the content of each file destination added to described In the content of source file;Using the source file after addition as the merging file.
- 13. the mobile terminal according to claim 9 or 10, it is characterised in that the file combination module is specifically used for:Establishment file type is the first file of the target type, and the content of each file to be combined is incorporated into In first file;Using first file after merging as the merging file.
- 14. mobile terminal according to claim 11, it is characterised in that each file to be combined is text text Part;The file combination module also particularly useful for:Text in each text is merged, generates the merging file of the target type.
- 15. mobile terminal according to claim 11, it is characterised in that the multiple file to be combined includes text And picture file:The file combination module also particularly useful for:Prompt the user with that picture file and text merge it is at least one merge mode, the merging mode is used for table Show in the merging file, the position relationship between picture and text;The merging mode selected according to user, by the text in the picture in the picture file and the text into Row merges, and generates the merging file of the target type.
- 16. mobile terminal according to claim 11, it is characterised in that each file to be combined is picture text Part;The file combination module also particularly useful for:The size of picture in each picture file is adjusted to pre-set dimension, by each figure after size adjusting Piece is spliced, and generates the merging file of the target type;Alternatively,According to the touch control operation, source file and file destination are determined in the multiple file to be combined, extracts the source document The background parts of picture in part, and the foreground part of the picture in the file destination is extracted, by the background portion of extraction Divide and the foreground part of extraction merges, generate the merging file of the target type.
- A kind of 17. mobile terminal, it is characterised in that including:Memory, processor and it is stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 8 is realized when the computer program is performed by the processor Any one of Piece file mergence method the step of.
- 18. a kind of computer-readable recording medium, it is characterised in that be stored with computer on the computer-readable recording medium Program, realizes such as Piece file mergence method described in any item of the claim 1 to 8 when the computer program is executed by processor The step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711377240.3A CN108009274A (en) | 2017-12-19 | 2017-12-19 | Piece file mergence method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711377240.3A CN108009274A (en) | 2017-12-19 | 2017-12-19 | Piece file mergence method and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108009274A true CN108009274A (en) | 2018-05-08 |
Family
ID=62060079
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711377240.3A Pending CN108009274A (en) | 2017-12-19 | 2017-12-19 | Piece file mergence method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108009274A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110287719A (en) * | 2019-06-28 | 2019-09-27 | 维沃移动通信有限公司 | File encrypting method and mobile terminal |
CN111597151A (en) * | 2020-05-20 | 2020-08-28 | 广州平云小匠科技有限公司 | File generation method and device, computer equipment and storage medium |
CN113297141A (en) * | 2021-05-06 | 2021-08-24 | 维沃移动通信有限公司 | File merging method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1805480A (en) * | 2005-12-12 | 2006-07-19 | 周红 | Method of implementing view of serial pictures on mobile telephone |
CN103838470A (en) * | 2012-11-27 | 2014-06-04 | 联想(北京)有限公司 | Method of obtaining operation options and electronic device |
US20140363098A1 (en) * | 2013-06-09 | 2014-12-11 | Samsung Electronics Co., Ltd. | Image correlation method and electronic device thereof |
CN106294374A (en) * | 2015-05-15 | 2017-01-04 | 北京国双科技有限公司 | The method of small documents merging and data query system |
CN106407167A (en) * | 2016-08-29 | 2017-02-15 | 桂林力拓信息科技有限公司 | Word merging method and system |
-
2017
- 2017-12-19 CN CN201711377240.3A patent/CN108009274A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1805480A (en) * | 2005-12-12 | 2006-07-19 | 周红 | Method of implementing view of serial pictures on mobile telephone |
CN103838470A (en) * | 2012-11-27 | 2014-06-04 | 联想(北京)有限公司 | Method of obtaining operation options and electronic device |
US20140363098A1 (en) * | 2013-06-09 | 2014-12-11 | Samsung Electronics Co., Ltd. | Image correlation method and electronic device thereof |
CN106294374A (en) * | 2015-05-15 | 2017-01-04 | 北京国双科技有限公司 | The method of small documents merging and data query system |
CN106407167A (en) * | 2016-08-29 | 2017-02-15 | 桂林力拓信息科技有限公司 | Word merging method and system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110287719A (en) * | 2019-06-28 | 2019-09-27 | 维沃移动通信有限公司 | File encrypting method and mobile terminal |
CN110287719B (en) * | 2019-06-28 | 2021-08-06 | 维沃移动通信有限公司 | File encryption method and mobile terminal |
CN111597151A (en) * | 2020-05-20 | 2020-08-28 | 广州平云小匠科技有限公司 | File generation method and device, computer equipment and storage medium |
CN113297141A (en) * | 2021-05-06 | 2021-08-24 | 维沃移动通信有限公司 | File merging method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108415652A (en) | A kind of text handling method and mobile terminal | |
CN108228031A (en) | A kind of picture sharing method, image display method and mobile terminal | |
CN109408172A (en) | A kind of processing method and terminal device of application program | |
CN108334265B (en) | A kind of document handling method and mobile terminal | |
CN109343755A (en) | A kind of document handling method and terminal device | |
CN109947650A (en) | Script step process methods, devices and systems | |
CN109582475A (en) | A kind of sharing method and terminal | |
CN107943390A (en) | A kind of word clone method and mobile terminal | |
CN109613958A (en) | A kind of terminal equipment control method and terminal device | |
CN109871164A (en) | A kind of message method and terminal device | |
CN109189286A (en) | A kind of operating method and terminal of desktop application | |
CN109327672A (en) | A kind of video call method and terminal | |
CN109871358A (en) | A kind of management method and terminal device | |
CN109522278A (en) | A kind of file memory method and terminal device | |
CN108573307A (en) | A kind of method and terminal of processing neural network model file | |
CN107908330A (en) | The management method and mobile terminal of application icon | |
CN108228902A (en) | A kind of document display method and mobile terminal | |
CN109408072A (en) | A kind of application program delet method and terminal device | |
CN108898555A (en) | A kind of image processing method and terminal device | |
CN110225180A (en) | A kind of content input method and terminal device | |
CN110096203A (en) | A kind of screenshot method and mobile terminal | |
CN109815462A (en) | A kind of document creation method and terminal device | |
CN108009274A (en) | Piece file mergence method and mobile terminal | |
CN109491632A (en) | A kind of resource sharing method and terminal | |
CN109783722A (en) | A kind of content outputting method and terminal device |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180508 |