CN110162260A - File batch processing method, device, computer equipment and storage medium - Google Patents

File batch processing method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN110162260A
CN110162260A CN201910305338.0A CN201910305338A CN110162260A CN 110162260 A CN110162260 A CN 110162260A CN 201910305338 A CN201910305338 A CN 201910305338A CN 110162260 A CN110162260 A CN 110162260A
Authority
CN
China
Prior art keywords
file
touch screen
batch
sliding trace
point information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910305338.0A
Other languages
Chinese (zh)
Inventor
陈志辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201910305338.0A priority Critical patent/CN110162260A/en
Publication of CN110162260A publication Critical patent/CN110162260A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of file batch processing methods, device, computer equipment and storage medium, the described method includes: when detecting batch selection enabled instruction, startup file batch chooses function, when files in batch chooses function and is in starting state, obtain the touch screen point information that user interacts each high-frequency signal generated with touch screen area, and according to touch screen point information, generate target sliding trace, according to target sliding trace, determine selected file, using selected file as original document, if receiving batch selection command for stopping, it then terminates files in batch and chooses function, and using obtained original document as file destination, obtain operational order, and according to operational order, the corresponding operation of operational order is executed to the file that each of file destination is selected, it realizes and batch documents is carried out fast to execute operation , improve the efficiency of batch documents operation.

Description

File batch processing method, device, computer equipment and storage medium
Technical field
The present invention relates to computer field more particularly to a kind of file batch processing method, device, computer equipment and deposit Storage media.
Background technique
With the increasingly raising of economic rapid development and people's quality of life, powerful, large screen touch screen electricity The appearance of sub- equipment and universal, touch screen smart machine, especially smart phone are had begun, increasingly with people's lives Closely, it for example, various files, the downloading of application are also more and more on smart phone, in application program or more file, needs These files are carried out with batch arrangement, such as: mobile, duplication, deletion and upload etc..
It currently mainly carries out choosing operation by file one by one, or All Files is chosen to be operated, Wu Fagen Batch selection is carried out according to actual conditions, it is inefficient that this operates batch documents.
Summary of the invention
The embodiment of the present invention provides a kind of file batch processing method, device, computer equipment and storage medium, to solve The low problem of current smart machine batch documents operating efficiency.
A kind of file batch processing method, comprising:
When detecting batch selection enabled instruction, startup file batch chooses function;
It obtains user and interacts each touch screen point information generated with touch screen area, and according to the touch screen point information, generate Target sliding trace;
According to the target sliding trace, selected file is determined, using the selected file as original document;
If receiving batch selection command for stopping, terminates the files in batch and choose function, and is described first by what is obtained Beginning, file was as file destination;
The operational order for being directed to the file destination is obtained, and according to the operational order, in the file destination Each selected file executes the corresponding operation of the operational order.
A kind of files in batch processing unit, comprising:
Function activation module, for when detecting batch selection enabled instruction, startup file batch to choose function;
Track generation module interacts each touch screen point information generated with touch screen area for obtaining user, and according to institute Touch screen point information is stated, target sliding trace is generated;
File chooses module, will be described selected for determining selected file according to the target sliding trace File is as original document;
File determining module, if terminating the files in batch for receiving batch selection command for stopping and choosing function, And using the obtained original document as file destination;
Batch operation module is right for obtaining the operational order for being directed to the file destination, and according to the operational order Each of the file destination selected file executes the corresponding operation of the operational order.
A kind of computer equipment, including memory, processor and storage are in the memory and can be in the processing The computer program run on device, the processor realize above-mentioned file batch processing method when executing the computer program Step.
A kind of computer readable storage medium, the computer-readable recording medium storage have computer program, the meter The step of calculation machine program realizes above-mentioned file batch processing method when being executed by processor.
File batch processing method, device, computer equipment and storage medium provided in an embodiment of the present invention, are detecting When batch selection enabled instruction, startup file batch chooses function, when files in batch chooses function and is in starting state, obtains User interacts each touch screen point information generated with touch screen area, and according to touch screen point information, generates target sliding trace, according to Target sliding trace determines selected file, using selected file as original document, terminates if receiving batch selection Instruction then terminates files in batch and chooses function, and using obtained original document as file destination, obtains operational order, and root According to operational order, the corresponding operation of operational order is executed to the file that each of file destination is selected, is realized to batch File progress fast executes operation, improves the efficiency of batch documents operation.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is the application environment schematic diagram of file batch processing method provided in an embodiment of the present invention;
Fig. 2 is the implementation flow chart of file batch processing method provided in an embodiment of the present invention;
Fig. 3 is the implementation flow chart of step S20 in file batch processing method provided in an embodiment of the present invention;
Fig. 4 is the implementation flow chart of step S30 in file batch processing method provided in an embodiment of the present invention;
Fig. 5 is carried out more according to cancellation instruction to file destination in file batch processing method provided in an embodiment of the present invention New implementation flow chart;
Fig. 6 is another implementation flow chart of step S20 in file batch processing method provided in an embodiment of the present invention;
Fig. 7 is the schematic diagram of files in batch processing unit provided in an embodiment of the present invention;
Fig. 8 is the schematic diagram of computer equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Referring to Fig. 1, Fig. 1 shows the application environment of file batch processing method provided in an embodiment of the present invention.This document Batch processing method is applied in the scene that the file to client executes batch operation.The display of the computer equipment client It include functional area and touch screen area on interface, user generates function command, and pass through by the function key interaction of functional area Function command operates file, by interacting with touch screen area, generates touch screen point information, according to touch screen point information, Sliding trace is generated, and then according to sliding trace, determines the file chosen, and batch operation is executed to the file chosen.Client End includes but is not limited to: smart phone, electric touch screen computer and Intelligent flat etc. have the smart machine of touch screen functionality.
Referring to Fig. 2, this method executes Fig. 2 shows a kind of file batch processing method provided in an embodiment of the present invention Client, details are as follows:
S10: when detecting batch selection enabled instruction, startup file batch chooses function.
Specifically, client is provided with the start button of batch selection, which can be an entity function key, For example, the function key of the exterior domain in screen of intelligent device region, which is also possible to a virtual functions key, for example, The virtual functions key in a virtual functions region generated within screen area, is opened in user with what the batch selected When dynamic button interacts, triggering batch selection enabled instruction, when detecting batch selection enabled instruction, startup file batch Choose function.
Preferably, in the present embodiment, the screen area of smart machine includes functional area and touch screen area, functional area Including virtual functions key, such as: duplication, stickup, shearing, deletion, cancellation selection and page turning etc., touch screen area storage text to be processed Part, file to be processed specifically can be document, picture, compressed file and file etc..
S20: it obtains user and interacts each touch screen point information generated with touch screen area, and according to touch screen point information, generate Target sliding trace.
Specifically, when files in batch selection function is in the open state, user passes through finger or screen touch pen and intelligence When the interactive operations such as are clicked, slided in the touch screen area of equipment, high-frequency signal can be generated, each high-frequency signal can generate one A corresponding touch screen point information generates target sliding trace according to these touch screen point information.
Wherein, touch screen point information includes but is not limited to: touch screen position, touch screen time and touch screen type, touch screen position include The coordinate information of the point of contact action, the coordinate information can be absolute coordinate, be also possible to relative coordinate, and the touch screen time refers to The time of the corresponding interaction of touch screen point information, touch screen type refer to the corresponding action type of contact action, such as: clicking, slide, It pins.
Further, target sliding trace is generated according to touch screen point information, is by extracting touch screen from touch screen point information Position, and then touch screen position is screened, retain effective touch screen position, and then according to effective touch screen position, it is sliding to obtain target Dynamic rail mark.
S30: according to target sliding trace, selected file is determined, using selected file as original document.
Specifically, in the touch screen area of client, multiple subregions are corresponding with, each region can store a file, root According to the positional relationship between target sliding trace and each subregion there are file, determine that the subregion is sliding with the presence or absence of target Dynamic rail mark, if there are target sliding traces for the subregion, it is determined that the file of the subregion is selected file, if the subregion There is no target sliding traces, it is determined that the file of the subregion is not to be selected file, finally, by all selected files As original document.
It is worth noting that file mentioned by the present embodiment may include: document, picture, audio/video file, compressed file With file etc..
Preferably, in interactive process, it is understood that there may be some accidentally touchings and high-frequency information conversion are inaccurate, caused touch screen position It sets inaccurately, for the accuracy for ensuring original document selection, settable one default points threshold value, the target sliding in subregion In track, when the points for including are not less than default points threshold value, determine that the file of the subregion is selected file, preset points Threshold value can be reasonably selected according to the actual situation, be not particularly limited herein.
For example, in a specific embodiment, presetting points threshold value is 10, that is, in subregion, one section of target if it exists Sliding trace, and the points for forming this section of target sliding trace determine that the file in the subregion is selected not less than 10 Otherwise file confirms that the target sliding trace is the target sliding trace that maloperation generates, it is corresponding to delete the target sliding trace Touch screen point information, and be confirmed as the corresponding file of the subregion not to be selected file.
S40: it if receiving batch selection command for stopping, terminates files in batch and chooses function, and the initial text that will be obtained Part is as file destination.
Specifically, client is provided with the mute key of batch selection corresponding with the start button of batch selection, the end Only button can be an entity function key, be also possible to a virtual functions key, press in the termination that user selects with the batch When button interacts, triggering batch selection command for stopping terminates files in batch and chooses when detecting batch selection command for stopping Function that is, no longer obtaining user interacts the touch screen point information of each high-frequency signal generated with touch screen area, and will obtain at this time The original document arrived is as file destination.
S50: obtaining the operational order for being directed to file destination, and according to operational order, selected to each of file destination In file execute the corresponding operation of operational order.
Specifically, it is determined that, when receiving the operational order for file destination, being referred to according to the operation after file destination It enables, the corresponding operation of operational order is executed to the file that each of file destination is selected.
Wherein, operational order includes but is not limited to: replicating, pastes, is moved to, shears, deletes and uploads.
For example, in a specific embodiment, file destination includes 5 selected files, the operation operation received refers to It enables to delete, delete operation is performed both by this 5 selected files.
In the present embodiment, when detecting batch selection enabled instruction, startup file batch chooses function, in file batch When amount selection function is in starting state, obtains user and interact each touch screen point information generated with touch screen area, and according to touching Screen point information, generates target sliding trace, according to target sliding trace, determines selected file, selected file is made It terminates files in batch if receiving batch selection command for stopping for original document and chooses function, and the original document that will be obtained As file destination, operational order is obtained, and according to operational order, the file that each of file destination is selected is executed The corresponding operation of operational order is realized and fast executes operation to batch documents progress, improves the efficiency of batch documents operation.
On the basis of the corresponding embodiment of Fig. 2, below by a specific embodiment come to being mentioned in step S20 And according to touch screen point information, the concrete methods of realizing for generating target sliding trace is described in detail.
Referring to Fig. 3, Fig. 3 shows the specific implementation flow of step S20 provided in an embodiment of the present invention, details are as follows:
S21: being directed to each touch screen point information, and touch screen position is extracted from touch screen point information, obtains initial position set.
Specifically, to each touch screen point information, touch screen position is extracted from the touch screen point information, is obtained comprising each touch screen The initial position set of position.
Wherein, touch screen position is the coordinate information of the touch screen point information generated, which can be absolute coordinate, It can be relative coordinate, can specifically be selected according to actual conditions.
S22: carrying out deduplication processing to the touch screen position for including in initial position set, obtains deduplication treated just Beginning location sets.
Specifically, when finger or screen touch pen are interacted with touch screen area, perhaps screen touch pen pressing is overweight or pushes down for finger It is practical too long, the substantially a large amount of duplicate touch screen point information of meeting, to reduce subsequent calculation amount, first to these duplicate touch screen point information Deduplication processing is carried out, specific practice, which can be, finds out every group of identical touch screen position, and is directed to every group of identical touch screen position, Retain any one touch screen position.
For example, include 3 groups of identical touch screen positions in the initial position set got in a specific embodiment, First group is A1, A2 and A3, and second group is B1 and B2, and third group is C1, C2, C3 and C4, wherein the corresponding coordinate of A1, A2, A3 Information is identical, and the corresponding coordinate information of B1, B2 is identical, and the corresponding coordinate information of C1, C2, C3, C4 is identical, from every group, arbitrarily A touch screen position is selected, the initial position set after obtaining this three groups of deduplications are as follows: A2, B1 and C4.
Wherein, the concrete mode for judging whether it is duplicate touch screen position includes but is not limited to: regular expression, template With with preset discriminant function etc..
S23: the distance between any two touch screen position in deduplication treated initial position set is calculated, base is obtained This distance is deleted any one in the corresponding two touch screen positions of fundamental distance if fundamental distance is less than pre-determined distance threshold value A touch screen position obtains target when the distance between any two touch screen position is all larger than or is equal to pre-determined distance threshold value Location sets.
Specifically, after obtaining deduplication treated initial position set, to any two touch screen position in the set Citing calculating is carried out, obtains fundamental distance, and fundamental distance is compared with preset threshold, is preset if fundamental distance is less than Distance threshold then deletes any one touch screen position in the corresponding two touch screen positions of the fundamental distance, until any two When the distance between touch screen position is all larger than or is equal to pre-determined distance threshold value, target position set is obtained.
Preferably, to reduce calculation amount, the present embodiment is used closest to coordinate calculation, i.e., takes a touch screen position at random It sets, according to abscissa and ordinate, the determining touch screen position nearest with the coordinate distance of the touch screen position, and then calculate the two The distance of touch screen position as fundamental distance, and executes subsequent comparison procedure, when nearest with the coordinate distance of the touch screen position Mesh is put into when being greater than or equal to pre-determined distance threshold value with the fundamental distance of the touch screen position in the touch screen position by touch screen position Cursor position set, and no longer the touch screen position is calculated, to reduce calculation amount, improve the determining effect of target position set Rate.
S24: by target position gather in each touch screen position generate a corresponding point, obtain target sliding rail Mark.
Specifically, by target position gather in each touch screen position generate a corresponding point, obtain target sliding Track.
In the present embodiment, for each touch screen point information, touch screen position is extracted from touch screen point information, obtains initial bit It sets set, and deduplication processing is carried out to the touch screen position for including in initial position set, obtain deduplication treated and is initial Location sets, and then the distance between any two touch screen position in deduplication treated initial position set is calculated, it obtains Fundamental distance is deleted any in the corresponding two touch screen positions of fundamental distance if fundamental distance is less than pre-determined distance threshold value One touch screen position obtains mesh when the distance between any two touch screen position is all larger than or is equal to pre-determined distance threshold value Cursor position set, by target position gather in each touch screen position generate a corresponding point, obtain target sliding trace, Point and noise spot are repeated so that not including in obtained target sliding trace, is conducive to improve the standard that subsequent determination is selected file True property improves the efficiency of files in batch operation simultaneously as the rejecting of unrelated touch screen position, reduces calculation amount.
On the basis of the corresponding embodiment of Fig. 2, below by a specific embodiment come to being mentioned in step S30 And according to target sliding trace, selected file is determined, using selected file as the specific implementation side of original document Method is described in detail.
Referring to Fig. 4, Fig. 4 shows the specific implementation flow of step S30 provided in an embodiment of the present invention, details are as follows:
S31: each default file band of position in touch screen area is obtained, and the default file band of position of file will be present As initial Location Area.
Specifically, in the touch screen area of smart machine, multiple subregions are corresponding with, each subregion can store a text Using these subregions as the default file band of position, and the default file band of position of file will be present as initial bit in part Set region.
S32: the number of point of the statistics target sliding trace in each initial Location Area, as each initial position area The corresponding slide coefficient of file in domain.
Specifically, according to the location information of target sliding trace and each initial Location Area, determining and each initial bit The number of the point in the target sliding trace of area coincidence is set, and by the number of point, as file pair in the prime area file The slide coefficient answered.
S33: being directed to any one file, if the corresponding slide coefficient of file is greater than preset quantity threshold value, it is determined that file For selected file, and using selected file as original document.
Specifically, smart machine is previously provided with a preset quantity threshold value, is according to the preset quantity threshold value and sliding Relationship between number judges whether the target sliding trace of the initial Location Area of this document is maloperation, if this document is corresponding Slide coefficient be greater than preset quantity threshold value, it is determined that this document is selected file, if the corresponding slide coefficient of this document is small In or equal to preset quantity threshold value, it is determined that the sliding trace of the initial Location Area of this document is maloperation generation, and confirmation should File is not to be selected file.Finally, will each be selected file is used as original document.
In the present embodiment, by obtaining each default file band of position in touch screen area, and the pre- of file will be present If document location region counts point of the target sliding trace in each initial Location Area as initial Location Area Number, as the corresponding slide coefficient of file in each initial Location Area, for any one file, if the corresponding cunning of file Dynamic coefficient is greater than preset quantity threshold value, it is determined that and file be selected file, and using the file being selected as original document, It avoids file caused by accidentally touching selected, improves the reasonability of original document selection.
In one embodiment, the initial Location Area for being selected file, which is labeled with, chooses mark, after the step s 40, And before step S50, this document batch processing method further includes carrying out cancellation selection to the file in file destination, is led to below The concrete methods of realizing that a specific embodiment cancel selection to the file in file destination is crossed to be described in detail.
It carries out cancelling selection referring to Fig. 5, Fig. 5 shows the file provided in an embodiment of the present invention in file destination Specific implementation flow, details are as follows:
S61: if detecting, the instruction of mark is chosen in cancellation, the initial Location Area for including in acquisition instruction, as taking Disappear region.
Specifically, the initial Location Area for being selected file, which is labeled with, chooses mark, needs to cancel part quilt in user It, can be by clicking the region where this document when filesselected, and cancellation function key is clicked, cancelled with triggering and chooses mark Instruction, smart machine is when detecting that the instruction of mark is chosen in cancellation, the initial Location Area for including in acquisition instruction, as taking Disappear region.
It is worth noting that can according to need, the cancellation operation of multiple selected files is disposably carried out.
S62: will cancel choosing for region and indicate removal, and remove from file destination and cancel the corresponding file in region, will The file of reservation is as updated file destination.
Specifically, mark will be chosen to remove in the cancellation region, and removal cancellation region is corresponding from file destination File, using the file of reservation as updated file destination.
In the present embodiment, when detecting that the instruction of mark is chosen in cancellation, the initial position area that includes in acquisition instruction Domain indicates removal as cancellation region, and then by choosing for region is cancelled, and removal cancellation region is corresponding from file destination File allows to cancel the file falsely dropped, without whole using the file of reservation as updated file destination It reselects, improves the efficiency of batch selection.
On the basis of the corresponding embodiment of Fig. 2, in step S20, page-turning instruction is detected, have below by one The embodiment of body to interact the acquisition user mentioned in step S20 with touch screen area each touch screen point information generated, and According to touch screen point information, the concrete methods of realizing for generating target sliding trace is described in detail.
Referring to Fig. 6, Fig. 6 shows another specific implementation flow of step S20 provided in an embodiment of the present invention, it is described in detail such as Under:
S25: if detecting page-turning instruction, according to touch screen point information, interim sliding trace is generated.
Specifically, in the present embodiment, user can be as needed, while choosing multiple files of multiple pages, in basis Touch screen point information, during generating target sliding trace, if detecting page-turning instruction, according to the touch screen point got at this time Information generates interim sliding trace.
It is worth noting that adding when being related to the sliding trace of multiple pages for the interim sliding trace of each page Add page-tag, so as to it is subsequent obtain target sliding trace when, the selected of the different pages can be obtained by target sliding trace Middle file.
S26: it obtains user and interacts each touch screen point information generated with touch screen area, and according to touch screen point information, generate Current sliding trace.
Specifically, after generating interim sliding trace, continue to obtain each touching that user interacts generation with touch screen area Screen point information, and according to the touch screen point information got after interim sliding trace is generated, generate current sliding trace.
S27: according to interim sliding trace and current sliding trace, target sliding trace is obtained.
Specifically, operation is merged to obtained interim sliding trace and current sliding trace, obtains target sliding rail Mark.
In the present embodiment, when detecting page-turning instruction, according to touch screen point information, interim sliding trace is generated, and then obtain It takes family and interacts each touch screen point information generated with touch screen area, and according to touch screen point information, generate current sliding trace, then According to interim sliding trace and current sliding trace, target sliding trace is obtained, allows to disposably select multiple pages File improves the efficiency of batch selection.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Fig. 7 shows the principle frame with the one-to-one files in batch processing unit of above-described embodiment file batch processing method Figure.As shown in fig. 7, this document batch-processed devices include function activation module 10, track generation module 20, file selection module 30, file determining module 40 and batch operation module 50.Detailed description are as follows for each functional module:
Function activation module 10, for when detecting batch selection enabled instruction, startup file batch to choose function;
Track generation module 20, interacts each touch screen point information generated for obtaining user with touch screen area, and according to Touch screen point information generates target sliding trace;
File chooses module 30, and for determining selected file according to target sliding trace, selected file is made For original document;
File determining module 40, if it terminates files in batch for receiving batch selection command for stopping and chooses function, and Using obtained original document as file destination;
Batch operation module 50, for obtaining the operational order for being directed to file destination, and according to operational order, to target text The selected file of each of part executes the corresponding operation of operational order.
Further, track generation module 20 includes:
Position acquisition unit 21 is extracted touch screen position from touch screen point information, is obtained for being directed to each touch screen point information Initial position set;
Position duplicate removal unit 22 is obtained for carrying out deduplication processing to the touch screen position for including in initial position set Deduplication treated initial position set;
Metrics calculation unit 23, in initial position set that treated for calculating deduplication any two touch screen position it Between distance, obtain fundamental distance, if fundamental distance be less than pre-determined distance threshold value, delete corresponding two touch screens of fundamental distance Any one touch screen position in position, until the distance between any two touch screen position is all larger than or is equal to pre-determined distance threshold When value, target position set is obtained;
Track determination unit 24 generates a corresponding point for each touch screen position in gathering target position, Obtain target sliding trace.
Further, file selection module 30 includes:
For obtaining each default file band of position in touch screen area, and file will be present in region selection unit 31 The default file band of position is as initial Location Area;
Coefficients statistics unit 32 is made for counting the number of point of the target sliding trace in each initial Location Area For the corresponding slide coefficient of file in each initial Location Area;
Determination unit 33 is chosen, for being directed to any one file, if the corresponding slide coefficient of file is greater than preset quantity Threshold value, it is determined that file is selected file, and using selected file as original document.
Further, this document batch-processed devices further include:
Cancel area determination module 61, if including in acquisition instruction for detecting that the instruction of mark is chosen in cancellation Initial Location Area, as cancellation region;
File destination update module 62 indicates removal for that will cancel choosing for region, and removes and take from file destination Disappear the corresponding file in region, using the file of reservation as updated file destination.
Further, track generation module 20 further include:
Interim track generation unit 25, if, according to touch screen point information, generating interim sliding for detecting page-turning instruction Track;
Current track generation unit 26 interacts each touch screen point information generated with touch screen area for obtaining user, and According to touch screen point information, current sliding trace is generated;
Target trajectory determination unit 27, for obtaining target sliding rail according to interim sliding trace and current sliding trace Mark.
Specific about files in batch processing unit limits the limit that may refer to above for file batch processing method Fixed, details are not described herein.Modules in above-mentioned files in batch processing unit can fully or partially through software, hardware and its Combination is to realize.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with It is stored in the memory in computer equipment in a software form, in order to which processor calls the above modules of execution corresponding Operation.
Fig. 8 is the schematic diagram for the computer equipment that one embodiment of the invention provides.The computer equipment internal structure chart can With as shown in Figure 8.The computer equipment includes processor, memory, display screen and the input unit connected by system bus. Wherein, the processor of the computer equipment is for providing calculating and control ability.The input unit of the computer equipment is for obtaining The touch screen area of screen touch pen or finger and display screen is taken to interact the touch screen point information of generation, the memory of the computer equipment Including non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system and computer program.It should Built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The computer program To realize a kind of file batch processing method when being executed by processor.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory And the computer program that can be run on a processor, processor are realized at above-described embodiment files in batch when executing computer program The step of reason method, such as step S10 shown in Fig. 2 to step S50.Alternatively, processor is realized when executing computer program State the function of each module/unit of embodiment files in batch processing unit, such as module shown in Fig. 7 10 is to the function of module 50 Energy.To avoid repeating, which is not described herein again.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated File batch processing method in above method embodiment is realized when machine program is executed by processor, alternatively, the computer program quilt The function of each module/unit in file batch-processed devices in above-mentioned apparatus embodiment is realized when processor executes.To avoid weight Multiple, which is not described herein again.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of file batch processing method, which is characterized in that the file batch processing method includes:
When detecting batch selection enabled instruction, startup file batch chooses function;
It obtains user and interacts each touch screen point information generated with touch screen area, and according to the touch screen point information, generate target Sliding trace;
According to the target sliding trace, selected file is determined, using the selected file as original document;
If receiving batch selection command for stopping, terminates the files in batch and choose function, and the initial text that will be obtained Part is as file destination;
The operational order for being directed to the file destination is obtained, and according to the operational order, to each of described file destination The selected file executes the corresponding operation of the operational order.
2. file batch processing method as described in claim 1, which is characterized in that it is described according to the touch screen point information, it is raw Include: at target sliding trace
For each touch screen point information, touch screen position is extracted from the touch screen point information, obtains initial position set;
Deduplication processing is carried out to the touch screen position for including in the initial position set, is obtained deduplication treated just Beginning location sets;
Calculate the deduplication treated the distance between any two touch screen position in initial position set, obtain substantially away from From if the fundamental distance less than pre-determined distance threshold value, deletes appointing in the corresponding two touch screen positions of the fundamental distance It anticipates a touch screen position, when the distance between any two touch screen position is all larger than or is equal to the pre-determined distance threshold value, Obtain target position set;
Each of the target position set touch screen position is generated into a corresponding point, obtains the target sliding Track.
3. file batch processing method as described in claim 1, which is characterized in that it is described according to the target sliding trace, It determines selected file, includes: as original document using the selected file
Each default file band of position in the touch screen area is obtained, and the default file band of position of file will be present As initial Location Area;
The number for counting point of the target sliding trace in each initial Location Area, as each initial bit Set the corresponding slide coefficient of file in region;
For any one of file, if the corresponding slide coefficient of the file is greater than preset quantity threshold value, it is determined that The file is selected file, and using the selected file as the original document.
4. file batch processing method as described in claim 1, which is characterized in that the initial position area of the selected file Domain, which is labeled with, chooses mark, if receiving batch selection command for stopping described, terminates the files in batch and chooses function, And using the obtained original document as file destination after, and refer in described obtain for the operation of the file destination It enables, and according to the operational order, the selected file described to each of the file destination executes the operational order Before corresponding operation, the file batch processing method further include:
If detecting, the instruction of mark is chosen in cancellation, obtains the initial Location Area for including in described instruction, as taking Disappear region;
Mark will be chosen to remove described in the cancellation region, and it is corresponding to remove from the file destination cancellation region File, using the file of reservation as updated file destination.
5. such as the described in any item file batch processing methods of Claims 1-4, which is characterized in that the acquisition user and touching Shield each touch screen point information that region interaction generates, and according to the touch screen point information, generate target sliding trace further include:
If detecting page-turning instruction, according to the touch screen point information, interim sliding trace is generated;
It obtains user and interacts each touch screen point information generated with touch screen area, and according to the touch screen point information, generate current Sliding trace;
According to the interim sliding trace and the current sliding trace, the target sliding trace is obtained.
6. a kind of files in batch processing unit, which is characterized in that the files in batch processing unit includes:
Function activation module, for when detecting batch selection enabled instruction, startup file batch to choose function;
Track generation module interacts each touch screen point information generated with touch screen area for obtaining user, and according to the touching Screen point information, generates target sliding trace;
File chooses module, for selected file being determined, by the selected file according to the target sliding trace As original document;
File determining module, if terminating the files in batch for receiving batch selection command for stopping and choosing function, and will The obtained original document is as file destination;
Batch operation module, for obtaining the operational order for being directed to the file destination, and according to the operational order, to described Each of file destination selected file executes the corresponding operation of the operational order.
7. files in batch processing unit as claimed in claim 6, which is characterized in that the track generation module includes:
Position acquisition unit is extracted touch screen position from the touch screen point information, is obtained for being directed to each touch screen point information To initial position set;
Position duplicate removal unit is obtained for carrying out deduplication processing to the touch screen position for including in the initial position set To deduplication treated initial position set;
Metrics calculation unit, in initial position set that treated for calculating the deduplication between any two touch screen position Distance, obtain fundamental distance, if the fundamental distance be less than pre-determined distance threshold value, delete the fundamental distance corresponding two Any one touch screen position in a touch screen position, until the distance between any two touch screen position is all larger than or is equal to described When pre-determined distance threshold value, target position set is obtained;
Track determination unit, for by the target position gather each of the touch screen position generate one it is corresponding Point obtains the target sliding trace.
8. files in batch processing unit as claimed in claim 6, which is characterized in that the file chooses module and includes:
For obtaining each default file band of position in the touch screen area, and the institute of file will be present in region selection unit The default file band of position is stated as initial Location Area;
Coefficients statistics unit, for counting the number of point of the target sliding trace in each initial Location Area, As the corresponding slide coefficient of file in each initial Location Area;
Determination unit is chosen, for being directed to any one of file, if the corresponding slide coefficient of the file is greater than in advance If amount threshold, it is determined that the file is selected file, and using the selected file as the original document.
9. a kind of computer equipment, including memory, processor and storage are in the memory and can be in the processor The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to 5 described in any item file batch processing methods.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In realization such as files in batch processing side described in any one of claim 1 to 5 when the computer program is executed by processor Method.
CN201910305338.0A 2019-04-16 2019-04-16 File batch processing method, device, computer equipment and storage medium Pending CN110162260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910305338.0A CN110162260A (en) 2019-04-16 2019-04-16 File batch processing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910305338.0A CN110162260A (en) 2019-04-16 2019-04-16 File batch processing method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110162260A true CN110162260A (en) 2019-08-23

Family

ID=67639618

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910305338.0A Pending CN110162260A (en) 2019-04-16 2019-04-16 File batch processing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110162260A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112069133A (en) * 2020-08-07 2020-12-11 深圳传音控股股份有限公司 File management method, mobile terminal and computer storage medium
WO2021083134A1 (en) * 2019-10-31 2021-05-06 维沃移动通信有限公司 File selection method and electronic device
CN113190888A (en) * 2021-04-20 2021-07-30 东风柳州汽车有限公司 Process documentation method, device, equipment and storage medium
CN114818625A (en) * 2022-06-29 2022-07-29 天津联想协同科技有限公司 Method and device for processing document area

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821193A (en) * 2012-07-02 2012-12-12 中兴通讯股份有限公司 Method for rapidly operating file of intelligent cell phone and intelligent cell phone
CN103324439A (en) * 2013-06-27 2013-09-25 广东欧珀移动通信有限公司 Method and device for batch marking of files in electronic equipment with touch screen
CN104793879A (en) * 2014-01-22 2015-07-22 腾讯科技(深圳)有限公司 Object selection method on terminal equipment and terminal equipment
CN105138253A (en) * 2015-09-30 2015-12-09 深圳市创想天空科技股份有限公司 Method and device for batch processing of pictures
CN105849686A (en) * 2015-11-23 2016-08-10 华为技术有限公司 File selection method in intelligent terminal and intelligent terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821193A (en) * 2012-07-02 2012-12-12 中兴通讯股份有限公司 Method for rapidly operating file of intelligent cell phone and intelligent cell phone
CN103324439A (en) * 2013-06-27 2013-09-25 广东欧珀移动通信有限公司 Method and device for batch marking of files in electronic equipment with touch screen
CN104793879A (en) * 2014-01-22 2015-07-22 腾讯科技(深圳)有限公司 Object selection method on terminal equipment and terminal equipment
CN105138253A (en) * 2015-09-30 2015-12-09 深圳市创想天空科技股份有限公司 Method and device for batch processing of pictures
CN105849686A (en) * 2015-11-23 2016-08-10 华为技术有限公司 File selection method in intelligent terminal and intelligent terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021083134A1 (en) * 2019-10-31 2021-05-06 维沃移动通信有限公司 File selection method and electronic device
CN112069133A (en) * 2020-08-07 2020-12-11 深圳传音控股股份有限公司 File management method, mobile terminal and computer storage medium
CN113190888A (en) * 2021-04-20 2021-07-30 东风柳州汽车有限公司 Process documentation method, device, equipment and storage medium
CN113190888B (en) * 2021-04-20 2022-10-28 东风柳州汽车有限公司 Process documentation method, device, equipment and storage medium
CN114818625A (en) * 2022-06-29 2022-07-29 天津联想协同科技有限公司 Method and device for processing document area

Similar Documents

Publication Publication Date Title
CN110162260A (en) File batch processing method, device, computer equipment and storage medium
CN102821193B (en) A kind of method of prompt operation file of smart mobile phone and smart mobile phone
CN106201170B (en) A kind of the footmark processing method and terminal of application icon
CN103905590B (en) Mobile device and its dial panel
CN103870196B (en) A kind of method and device for switching object
CN102855648B (en) A kind of image processing method and device
CN105068727A (en) Realization method and device for drawing tool
CN105094736B (en) Display control method, display control unit and electronic equipment
CN105786295A (en) Character input method and device
CN106484225B (en) A kind of wallpaper switching method and mobile terminal
WO2016188261A1 (en) Method and apparatus for switching multiple folders, and computer storage medium
CN105843903A (en) File management method and terminal
CN105426049B (en) A kind of delet method and terminal
CN105677178B (en) A kind of method and mobile terminal adjusting the affiliated figure layer of control
CN109189301A (en) A kind of method and device of screenshot capture
CN106055215B (en) A kind of event time recording method and mobile terminal
CN107347111A (en) The control method and terminal of terminal
CN106022070A (en) Operation method, device and terminal based on fingerprint recognition
CN107817927B (en) Application icon management method and device
CN106569683A (en) Method and equipment for performing batch processing of applications on mobile terminal
CN104469013B (en) A kind of mobile terminal and its dialing edit methods
CN114882915B (en) Information recording method and device and electronic equipment
CN103778004A (en) Method for forming file folder
CN105159563B (en) Terminal device and its control method
CN111722776B (en) File interaction method and device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190823