CN103294264A - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN103294264A
CN103294264A CN2013101802522A CN201310180252A CN103294264A CN 103294264 A CN103294264 A CN 103294264A CN 2013101802522 A CN2013101802522 A CN 2013101802522A CN 201310180252 A CN201310180252 A CN 201310180252A CN 103294264 A CN103294264 A CN 103294264A
Authority
CN
China
Prior art keywords
data
file
folder
touch
data acquisition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013101802522A
Other languages
Chinese (zh)
Other versions
CN103294264B (en
Inventor
胡力峰
韦航
徐鸣
马健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Conew Network Technology Beijing Co Ltd
Zhuhai Juntian Electronic Technology Co Ltd
Beijing Cheetah Mobile Technology Co Ltd
Beijing Cheetah Network Technology Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Conew Network Technology Beijing Co Ltd
Shell Internet Beijing Security Technology Co Ltd
Zhuhai Juntian Electronic Technology Co Ltd
Beijing Kingsoft Internet Science and 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 Beijing Kingsoft Internet Security Software Co Ltd, Conew Network Technology Beijing Co Ltd, Shell Internet Beijing Security Technology Co Ltd, Zhuhai Juntian Electronic Technology Co Ltd, Beijing Kingsoft Internet Science and Technology Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201310180252.2A priority Critical patent/CN103294264B/en
Publication of CN103294264A publication Critical patent/CN103294264A/en
Application granted granted Critical
Publication of CN103294264B publication Critical patent/CN103294264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a data processing method and device. Wherein, the method comprises the following steps: determining a touch point position after detecting that the touch screen receives a touch point signal generated by the touch of a user; determining a touch range according to the contact position; acquiring a data set in the touch range, wherein the data set comprises one or more pieces of data; and saving the data set to a folder at a preset position. According to the invention, the data stored in the terminal can be automatically and efficiently sorted, the efficiency of sorting the data by a user is improved, and the effect of user experience is improved.

Description

Data processing method and device
Technical field
The present invention relates to data processing field, in particular to a kind of data processing method and device.
Background technology
Existing touch technology is widely used, and the touch-screen of bank debits machine for example, the computer in halls such as hospital, library all adopt touch technology to operate computing machine for the user.And existing mobile phone, MP3, digital camera also provide the touch-screen of supporting touch technology.
Touch technology refers to use the finger substituting for key, mouse is finished and hardware device between man-machine interaction, not only improved the hommization of equipment operation, reduced mouse, the shared space of keyboard simultaneously.The multi-point touch technology is the revolution of a touch technology aspect at present, multi-point touch (claims multiplex touch control, multiple spot induction, multiplex induction again, English is translated into Multitouch or Multi-Touch) be to adopt human-computer interaction technology and the common technology that realizes of hardware device, can not only be in the man-machine interactive operation that does not have to carry out under traditional input equipment (as: mouse, keyboard etc.) computing machine, and can realize touch-screen (screen, desktop, wall etc.) or Trackpad can receive the man-machine interactive operation of carrying out simultaneously from a plurality of touch points on the screen simultaneously.
Be example with the smart mobile phone, development along with smart mobile phone, mobile phone has not had mobile phone key gradually, smart mobile phone mostly uses touch technology now, and because the capacity of mobile phone EMS memory, RAM (random access memory) card is increasing, the storable file of user, data, photo etc. are more and more, and it is also more and more diversified to originate, file can not be kept in the identical file folder sometimes in transmission or when preserving, be unfavorable for the user to the management of file, search.
Existing smart mobile phone is set up file earlier usually in the file process of arrangement storage, the file name to creating drags file then and puts into the file that this creates.Also fairly simple under the few situation of the data that aforesaid way drags at needs, but if mobile a large amount of file, if there is the multilayer catalogue in the inside, then not only need the file that drags one by one, also need one by one the file in the sub-directory to be moved out, then there is complex operation, inefficient problem.
At the mode complex operation that is used for arrangement storage data in the correlation technique, inefficient problem does not propose effective solution at present as yet at present.
Summary of the invention
At the mode complex operation that is used for arrangement storage data in the correlation technique, inefficient problem does not propose effective solution at present as yet, and for this reason, fundamental purpose of the present invention is to provide a kind of data processing method and device, to address the above problem.
To achieve these goals, according to an aspect of the present invention, provide a kind of data processing method, this method comprises: after the contact signal that generates detecting touch-screen reception user's touch, determine contact position; Determine the touch scope according to described contact position; Obtain the data acquisition in the described touch scope, described data acquisition comprises one or more data; Described data acquisition is saved to the file in precalculated position.
To achieve these goals, according to a further aspect in the invention, provide a kind of data processing equipment, this device comprises: first detection module, after the contact signal that is used for generating detecting touch-screen reception user's touch, determine contact position; Processing module is used for determining the touch scope according to described contact position, and obtains the data acquisition in the described touch scope that described data acquisition comprises one or more data; Preserve module, be used for described data acquisition is saved to the file in precalculated position.
By the present invention, adopt after the contact signal that generates detecting touch-screen reception user's touch, determine contact position; Determine the touch scope according to described contact position; Obtain the data acquisition in the described touch scope, described data acquisition comprises one or more data; Described data acquisition is saved to the file in precalculated position, solved the mode complex operation that is used for arrangement storage data in the related art, inefficient problem, and then realize the data of storing in the automatical and efficient arrangement terminal, improve the efficient of user's disposal data, and improved user experience effect.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not constitute improper restriction of the present invention.In the accompanying drawings:
Fig. 1 is the structural representation according to the data processing equipment of the embodiment of the invention;
Fig. 2 is the process flow diagram according to the data processing method of the embodiment of the invention; And
Fig. 3 is the detail flowchart according to data processing method shown in Figure 2.
Embodiment
Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.Describe the present invention below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
The application's principle can use other universal or special calculating or communication environment or configuration to operate.The example that is applicable to the application's well-known computing system, environment and configuration includes but not limited to, personal computer, server, multicomputer system, the system based on little processing, minicomputer, mainframe computer and the distributed computing environment that comprises arbitrary said system or equipment.
Turn to accompanying drawing, wherein identical reference number refers to identical element, and the application's principle is shown in the suitable computing environment and realizes.Below describe the embodiment based on described the application, and should not think to limit the application about the alternative embodiment clearly do not described herein.
Embodiment one:
Fig. 1 shows an exemplary computer system schematic representation of apparatus that can be used for these equipment.For purposes of illustration, the architecture of painting only is an example of proper environment, is not that usable range or function to the application proposes any limitation.This computing system should be interpreted as that arbitrary assembly shown in Figure 1 or its combination are had any dependence or demand yet.
In its most basic configuration, Fig. 1 is the structural representation according to the data processing equipment of the embodiment of the invention.As shown in Figure 1, this device comprises: first detection module 10, processing module 30 and preservation module 50.Wherein,
First detection module 10 after the contact signal that is used for generating detecting touch-screen reception user's touch, is determined contact position.Whether this first detection module 10 receives user's touch for detection of touch-screen, is detecting after the user touches touch-screen, then can determine contact position on the touch-screen according to the contact signal that generates.
Processing module 30 is used for determining the touch scope according to contact position, and obtains the data acquisition in the touch scope that data acquisition comprises one or more data.This processing module 30 can be chosen the data that are presented on the touch-screen by contact position, for example, the user use two fingers long by touch-screen on any two positions, and after putting together in the centre, can trigger processing module 30 and select two corresponding data according to these two positions, and triggering all data choose between these two positions, the scope between two positions is the touch scope, thereby gets access to all data acquisitions in the touch scope.
(for example: three fingers) length is pressed optional position on the touch-screen if the user uses many fingers, then can find the contact position of touch-screen the top, the contact position of below, and all data between these two positions are chosen in triggering, scope between two positions is the touch scope, thereby gets access to all data acquisitions in the touch scope.
Preserve module 50, be used for data acquisition is saved to the file in precalculated position.Processing module 30 finished obtain data acquisition after, by preserving module 50 data acquisition of choosing is preserved, thereby has been finished automatically, the operation of disposal data fast.
As from the foregoing, in the above embodiments of the present application, after the user touches this touch-screen (supporting the multi-point touch technology), detect current because the user touches the contact signal that generates by first detection module 10, thereby determine the position of user's finger touch display screen, processing module 30 can be determined the data chosen according to the contact position of determining, and calculates the data acquisition in the touch scope automatically, at last by preserving module 50 with in the disposable file that moves to appointment of data acquisition.Said apparatus has improved the mode of operation that will need a plurality of data of movement that multi-pass operations just can finish originally, for example, the user only needs to trigger the data of any two positions on the touch-screen, just all data in these two determined scopes in position all can be chosen, be obtained a data set and put in order.Solved the mode complex operation that is used for arrangement storage data in the related art, inefficient problem, and then realize having improved the data of storing in the automatical and efficient arrangement terminal efficient of user's disposal data, and improved user experience effect.
Concrete, be example with the mobile phone of supporting the multi-point touch technology, can realize putting in order automatically according to the specific gesture operation that mobile phone receives the file of mobile phone terminal, form the file that a new arrangement obtains.For example, long 2 files end to end of press on the touch-screen are put together to centre one, just can finish the arrangement of move one by one of original needs, thereby save user's running time, and user friendly operation has improved user's experience.Wherein, long by on the touch-screen end to end the application of 2 files realized choosing contact position on the touch-screen, realized beginning to trigger the data acquisition that calculates in the contact position scope to the application of a middle operation of putting together.
Embodiment two:
In the above embodiments of the present application one, because touch-screen is supported the multi-point touch technology, therefore, can more than or equal to being example, manage two touch event the example of all data acquisitions that get access to that module 30 realized with the contact in the open.
Concrete, touch-screen receives at least two contact information, to determine at least two contact positions, wherein, receive at least two contact signals detecting touch-screen, and determine under the situation of at least two contact positions, the processing module 30 that provides in embodiment one can comprise: parsing module 301, be used for resolution data information configuration file, to obtain the current position that is presented at every data on the touch-screen, wherein, the data message configuration file comprises title, position and the sequence number of data; Matching module 302, mate at least two contact positions and the current position that is presented at every data on the touch-screen that are used for determining, to obtain at least two corresponding data of contact position; First read module 303 is for the sequence number that reads at least two corresponding data of contact position, to obtain sequence number range; Extraction module 304 for the interior all sequences number corresponding data of extraction and sequence number range, obtains data acquisition.
Data message configuration file in the above embodiments of the present application one or two can be the text of tree structure, also can be XML(Extensible Markup Language, extend markup language) file or database file.This data message configuration file has recorded the descriptor of all data and the information such as data relationship between each data, for example, descriptor can be the Name ﹠ Location coordinates of data when being presented on the touch-screen, and at the sequence number of backstage record and attribute etc.
Preferably, when the data message configuration file adopts the tree structure record, and the content of record is file and file, parsing module 301 in the embodiment of the present application two can resolution data information configuration file, the data of root folder are shown in the screen, and record the position of every data in screen, when program is received touch event and contact greater than 2, according to the position that touches, and the position calculation of every data on screen goes out the data acquisition in the touch scope.
In addition, when touch-screen receives that the contact of touch event is 1, what can judge that the user clicks according to current touch location is that on the touch-screen which shows data, if the attribute of these data is files, then display file information, if the attribute of these data is picture or link, the then operation of capable certain correspondence, as show a pictures, perhaps open a web page interlinkage etc.; If a file, then resolution file folder content is shown in the screen, and records the position of every data in screen.
The device that above-mentioned each embodiment of the application provides can also comprise: load-on module is used for start-up loading data message configuration file, and structural relation and the descriptor of data in the data message configuration file is read in internal memory; Display module is used for according to the structural relation of data descriptor being shown to touch-screen.
Concrete, this load-on module is used for the data message configuration file that start-up loading above-described embodiment one and two has been created, be that file is example with the data that record in the data message configuration file, this configuration file has recorded the configuration information of the structural relation of description document in the file and file.
Preferably, be that folder type is example with data, the load-on module that provides in above-described embodiment one and two can comprise: first acquisition module is used for loading the data message configuration file according to demand, to obtain root folder; Second read module is used for reading article one record related with root folder; Creation module is used for creating article one record according to the type of article one record under root folder, wherein, is recorded as in article one under the situation of file type, and article one record is added under the root folder; Be recorded as in article one under the situation of folder type, under root folder, create sub-folder; Second detection module, for detection of whether there being next bar record under root folder and/or the sub-folder, wherein, under the situation that has next bar record, then under root folder and/or sub-folder, create next bar record according to the type of next bar record, otherwise, detect whether the current file folder is root folder, press from both sides under the situation of root folder at current file, close the data message configuration file.
Above-described embodiment has been realized the resolving of data message configuration file, specific as follows: as to load and open the data message configuration file by first acquisition module, create root folder at touch-screen, and be set to the current file folder, read article one record under this root folder by second read module then, if this article one record description is a file, then this document is added in the current file, and detect whether also have next bar record under the current root folder, if also have next bar record, then return and detect whether this next bar record is a file, if file then continues to add in the root folder.In said process, if the record under the root folder is a file, then will under root folder, create a sub-folder by creation module, and continue to detect the attribute of the record under the sub-folder, and whether have next bar to record to load under this word file.Preferably, all files and file are all created finish and show after, traversal detects whether file or folder is root folder or root file, namely use the mode of recalling to judge, after detecting root folder, close and read current data configuration file, namely read the configuration file flow process and finish, so far configuration file is read in the internal memory.
Preferably, the preservation module 50 that provides of the above embodiments of the present application can comprise:
The 3rd detection module for detection of the type of data in the data acquisition, is namely judged the type of the data acquisition that obtains.
First replication module is used for then the data in the data acquisition being copied in the first newly-built file when data acquisition does not have the data of folder type.Concrete, judge the data that obtain not having in the data acquisition folder type this moment, a newly-built file then, and All Files copied to wherein.
Second replication module is used for when there is a file in data acquisition, then the data of non-folder type in the data acquisition is copied to during this document in the data acquisition presss from both sides.Concrete, judge the data that obtain a folder type this moment, then the data with all non-folder type copy in this file.
The 3rd replication module is used for then the data under a plurality of files being copied in the second newly-built file when there is a plurality of file in data acquisition.Concrete, judge the data that obtain a plurality of folder type this moment, then a newly-built file and the data under the All Files folder are copied to wherein.
The device that the above embodiments of the present application provide can also comprise: second acquisition module is used for obtaining the corresponding new construction relation of each data of data acquisition and new descriptor; Update module is used for upgrading the data message configuration file according to new construction relation and new descriptor.
Embodiment three:
Fig. 2 is the process flow diagram according to the data processing method of the embodiment of the invention; Fig. 3 is the detail flowchart according to data processing method shown in Figure 2.
As shown in Figure 2, this method comprises the steps:
Step S10 can realize by first detection module shown in Figure 1 10, detecting after touch-screen receives contact signal, determines contact position.
Above-mentioned steps is by detecting the touch event whether touch-screen receives the user, and detecting after the user touches touch-screen, determines touch-screen upper contact position according to the contact signal that generates.
Step S30 can realize determining the touch scope according to contact position by processing module shown in Figure 1 30.
Step S50 can realize obtaining data acquisition in the scope of contact by processing module shown in Figure 1 30, and data acquisition comprises one or more data.
Above-mentioned steps S30 and step S50 can choose the data that are presented on the touch-screen by contact position, for example, the user use two fingers long by touch-screen on any two positions, and after putting together, the centre (namely triggers the function of obtaining data acquisition), can realize selecting two corresponding data according to these two positions, to determine that the scope between two positions is the touch scope, and trigger all data of choosing between these two positions, thereby get access to all data acquisitions in the touch scope.
Step S70 can be saved to data acquisition the file in precalculated position by preservation module shown in Figure 1.This step is preserved the data acquisition of choosing by preserving module, thereby has finished automatic, the operation of disposal data fast.
Preferably, the touch-screen in the above embodiments of the present application three receives at least two contact information, to determine at least two contact positions.
As from the foregoing, in the above embodiments of the present application, after the user touches this touch-screen, at first by detecting current because the user touches the position that the contact signal that generates is determined user's finger touch display screen, can determine the data chosen according to the contact position of determining then, and calculate data acquisition in the touch scope automatically, at last by preserving module with in the disposable file that moves to appointment of data acquisition.Said method has improved the mode of operation that will need a plurality of data of movement that multi-pass operations just can finish originally.Solved the mode complex operation that is used for arrangement storage data in the related art, inefficient problem, and then realize having improved the data of storing in the automatical and efficient arrangement terminal efficient of user's disposal data, and improved user experience effect.
Concrete, be example with the mobile phone of supporting the multi-point touch technology, above-described embodiment can realize putting in order automatically according to the specific gesture operation that mobile phone receives the file of mobile phone terminal, forms the file that a new arrangement obtains.
Preferably, as shown in Figure 3, in the above embodiments of the present application, at step S301 resolution data information configuration file, to obtain before the current position that is presented at every data on the touch-screen, above-described embodiment three can also comprise the steps:
Step S305, start-up loading data message configuration file.This data message configuration file has recorded the descriptor of all data and the information such as data relationship between each data, for example, descriptor can be the Name ﹠ Location coordinates of data when being presented on the touch-screen, and at the sequence number of backstage record and attribute etc.Be that file is example with the data that record in the data message configuration file, this configuration file has recorded the configuration information of the structural relation of description document in the file and file.
Step S306 reads in internal memory with structural relation and the descriptor of data in the data message configuration file.
Step S307 is shown to touch-screen according to the structural relation of data with descriptor.
Preferably, be under the situation of folder type in data, the start-up loading data message configuration file that step S305 and step S306 are performed, and the step that structural relation and the description document of data in the data message configuration file are read in internal memory can comprise the steps:
Step S501 loads the data message configuration file according to demand, to obtain root folder.This step has realized opening the data message configuration file that has created, and is set to the current file folder.
Step S502 reads article one record related with root folder.
Step S503 creates article one record according to the type of article one record under root folder.This step has realized determining to create corresponding data by judging the type of this article one record.
Specifically can comprise following two kinds of situations:
A kind of is to judge that article one is recorded as under the situation of file type, article one record is added under the root folder, and jump under the step S504 detection current root file whether have next bar record; Another is to be recorded as under the situation of folder type in article one, creates sub-folder under root folder, and reads article one record under this sub-folder, and the method for repeating step S503 is created the record under this sub-folder then.
Step S504, detect under root folder and/or the sub-folder and whether have next bar record, and in judging file and/or sub-folder, exist under the situation of next bar record, then under root folder and/or sub-folder, create next bar record according to the type of next bar record.
Above-mentioned each step has realized parsing data message configuration file, obtain structural relation and descriptor between each data, after the record of root folder and all sub-folders has been finished in establishment, system begins to detect whether the current file folder is root folder, press from both sides under the situation of root folder at current file, close the data message configuration file.Concrete, this step detects by traversal whether file or folder is root file or root folder, namely use the mode of recalling to judge, after detecting root folder, close and read current data configuration file, namely read the configuration file flow process and finish, so far configuration file is read in the internal memory.
Preferably, in the above embodiments of the present application, receive at least two contact signals detecting touch-screen, and determine under the situation of at least two contact positions, what step S30 and step S50 realized determines the touch scope according to contact position, and the data acquisition that obtains in the scope of contact can comprise the steps:
Step S301, resolution data information configuration file, to obtain the current position that is presented at every data on the touch-screen, wherein, the data message configuration file comprises title, position and the sequence number of data.
Concrete, the data message configuration file in the above embodiments of the present application three can be the text of tree structure, also can be XML file or database file.This data message configuration file has recorded the descriptor of all data and the information such as data relationship between each data.For example, long press on the touch-screen end to end two files after, the position coordinates of these two files is obtained in triggering.
Step S302 mates two contact positions and the current position that is presented at every data on the touch-screen determined, to obtain two corresponding data of contact position at least at least.
Concrete, this step has realized how obtaining the coordinate position of two files after the triggering, and the coordinate position that obtains after namely the user can being touched is as the current contact position that is presented at the file on the touch-screen.
Step S303 reads the sequence number of at least two corresponding data of contact position, to obtain sequence number range.
Step S304 extracts the data number corresponding with the interior all sequences of sequence number range, obtains data acquisition.
Data in the above embodiments of the present application three can be file, file, picture or web page interlinkage etc.
Preferably, in the above embodiments of the present application, as shown in Figure 3, the step of the file that data acquisition is saved to the precalculated position that this step S70 realizes can comprise the steps:
Step S701, the type of data in the detection data acquisition; Wherein, when not having the data of folder type in the data acquisition, then the data in the data acquisition are copied in the first newly-built file, namely new folder and the file that copies selected data set are to wherein; When having a file in the data acquisition, then the data of non-folder type in the data acquisition are copied in this document folder in the data acquisition; When having a plurality of file in the data acquisition, then the data under a plurality of files are copied in the second newly-built file, be about in file copy to the newly-built file in the selected All Files folder.
Preferably, step S70 performed data acquisition is saved to the file in precalculated position after, the method that embodiment three realizes also comprises the steps:
Step S801 obtains the corresponding new construction relation of each data and new descriptor in the data acquisition;
Step S802 upgrades the data message configuration file according to new construction relation and new descriptor.
Above-mentioned steps has realized after the embodiment that uses the application to provide finishes data preparation, needs to upgrade original data message configuration file, so that system can read up-to-date demonstration information, and in the correct data of touch-screen demonstration.
In addition, in the above embodiments of the present application three, if the touch event that touch-screen is received and when having only a contact, which data what can judge that the user clicks according to touch location is, is that file is example with the type of data, if what trigger is a file, then display file information is if a file, then resolution file folder content, be shown in the screen, record the position of every data in screen.When if data type is other types such as picture or webpage, can carry out and show a pictures, perhaps open a web page interlinkage etc.
Need to prove, can in the computer system such as one group of computer executable instructions, carry out in the step shown in the process flow diagram of accompanying drawing, and, though there is shown logical order in flow process, but in some cases, can carry out step shown or that describe with the order that is different from herein.
From above description, as can be seen, the present invention has realized following technique effect: a plurality of steps that the application will arrange the document are originally integrated, and whole arrangement process is finished by the processor arrangement, thereby solved the mode complex operation that is used for arrangement storage data in the related art, inefficient problem, and then realize the data of storing in the automatical and efficient arrangement terminal, improve the efficient of user's disposal data, and improved user experience effect.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the memory storage and be carried out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. a data processing method is characterized in that, comprising:
After the contact signal that generates detecting touch-screen reception user's touch, determine contact position;
Determine the touch scope according to described contact position;
Obtain the data acquisition in the described touch scope, described data acquisition comprises one or more data;
Described data acquisition is saved to the file in precalculated position.
2. method according to claim 1, it is characterized in that, described touch-screen receives at least two contact information, to determine at least two contact positions, wherein, receive at least two contact signals detecting described touch-screen, and determine under the situation of at least two contact positions, determine the touch scope according to described contact position, and the data acquisition that obtains in the scope of described contact comprises the steps:
Resolution data information configuration file, to obtain the current position that is presented at every data on the described touch-screen, wherein, described data message configuration file comprises title, position and the sequence number of data;
Described at least two contact positions and the described current position that is presented at every data on the described touch-screen determined are mated, to obtain the corresponding data of described at least two contact positions;
Read the sequence number of described at least two corresponding data of contact position, to obtain sequence number range;
Extract the data number corresponding with the interior all sequences of described sequence number range, obtain described data acquisition.
3. method according to claim 2 is characterized in that, at resolution data information configuration file, to obtain before the current position that is presented at every data on the described touch-screen, described method also comprises:
The described data message configuration file of start-up loading;
Structural relation and the descriptor of data in the described data message configuration file are read in internal memory;
Structural relation according to described data is shown to described touch-screen with described descriptor.
4. method according to claim 3, it is characterized in that, be under the situation of folder type in described data, the described data message configuration file of start-up loading, and the structural relation of data in the described data message configuration file and the step that description document is read in internal memory comprised:
Load described data message configuration file according to demand, to obtain root folder;
Read article one record related with described root folder;
Type according to described article one record is created described article one record under described root folder, wherein, be recorded as in described article one under the situation of file type, and described article one record is added under the described root folder; Be recorded as in described article one under the situation of folder type, under described root folder, create sub-folder;
Detect and whether have next bar record under described root folder and/or the sub-folder, wherein, under the situation that has described next bar record, then under described root folder and/or described sub-folder, create described next bar record according to the type of described next bar record, otherwise, detecting whether the current file folder is root folder, is under the situation of root folder at described current file folder, closes described data message configuration file.
5. according to any described method in the claim 1 to 4, it is characterized in that the step that described data acquisition is saved to the file in precalculated position comprises:
Detect the type of data in the described data acquisition; Wherein,
When not having the data of folder type in the described data acquisition, then the data in the described data acquisition are copied in the first newly-built file;
When having a file in the described data acquisition, then the data of non-folder type in the described data acquisition are copied in this document folder in the described data acquisition;
When having a plurality of file in the described data acquisition, then the data under described a plurality of files are copied in the second newly-built file.
6. method according to claim 5 is characterized in that, after described data acquisition was saved to the file in precalculated position, described method also comprised:
Obtain the corresponding new construction relation of each data and new descriptor in the described data acquisition;
Upgrade described data message configuration file according to described new construction relation and new descriptor.
7. a data processing equipment is characterized in that, comprising:
First detection module after the contact signal that is used for generating detecting touch-screen reception user's touch, is determined contact position;
Processing module is used for determining the touch scope according to described contact position, and obtains the data acquisition in the described touch scope that described data acquisition comprises one or more data;
Preserve module, be used for described data acquisition is saved to the file in precalculated position.
8. device according to claim 7, it is characterized in that, described touch-screen receives at least two contact information, to determine at least two contact positions, wherein, receive at least two contact signals detecting described touch-screen, and determine that described processing module comprises under the situation of at least two contact positions:
Parsing module is used for resolution data information configuration file, and to obtain the current position that is presented at every data on the described touch-screen, wherein, described data message configuration file comprises title, position and the sequence number of data;
Matching module, mate described at least two contact positions and the described current position that is presented at every data on the described touch-screen that are used for determining, to obtain the corresponding data of described at least two contact positions;
First read module is for the sequence number that reads described at least two corresponding data of contact position, to obtain sequence number range;
Extraction module for the interior all sequences number corresponding data of extraction and described sequence number range, obtains described data acquisition.
9. device according to claim 8 is characterized in that, described device also comprises:
Load-on module is used for the described data message configuration file of start-up loading, and structural relation and the descriptor of data in the described data message configuration file are read in internal memory;
Display module is used for according to the structural relation of described data described descriptor being shown to described touch-screen.
10. device according to claim 9 is characterized in that, is under the situation of folder type in described data, and described load-on module comprises:
First acquisition module is used for loading described data message configuration file according to demand, to obtain root folder;
Second read module is used for reading article one record related with described root folder;
Creation module is used for creating described article one record according to the type of described article one record under described root folder, wherein, is recorded as in described article one under the situation of file type, and described article one record is added under the described root folder; Be recorded as in described article one under the situation of folder type, under described root folder, create sub-folder;
Second detection module, for detection of whether there being next bar record under described root folder and/or the sub-folder, wherein, under the situation that has described next bar record, then under described root folder and/or described sub-folder, create described next bar record according to the type of described next bar record, otherwise, detect whether the current file folder is root folder, press from both sides under the situation of root folder at described current file, close described data message configuration file.
11. according to any described device in the claim 7 to 10, it is characterized in that described preservation module comprises:
The 3rd detection module is for detection of the type of data in the described data acquisition;
First replication module is used for then the data in the described data acquisition being copied in the first newly-built file when described data acquisition does not have the data of folder type;
Second replication module is used for when there is a file in described data acquisition, then the data of non-folder type in the described data acquisition is copied to during this document in the described data acquisition presss from both sides;
The 3rd replication module is used for then the data under described a plurality of files being copied in the second newly-built file when there is a plurality of file in described data acquisition.
12. device according to claim 11 is characterized in that, described device also comprises:
Second acquisition module is used for obtaining the corresponding new construction relation of each data of described data acquisition and new descriptor;
Update module is used for upgrading described data message configuration file according to described new construction relation and new descriptor.
CN201310180252.2A 2013-05-15 2013-05-15 Data processing method and device Active CN103294264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310180252.2A CN103294264B (en) 2013-05-15 2013-05-15 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310180252.2A CN103294264B (en) 2013-05-15 2013-05-15 Data processing method and device

Publications (2)

Publication Number Publication Date
CN103294264A true CN103294264A (en) 2013-09-11
CN103294264B CN103294264B (en) 2016-11-16

Family

ID=49095263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310180252.2A Active CN103294264B (en) 2013-05-15 2013-05-15 Data processing method and device

Country Status (1)

Country Link
CN (1) CN103294264B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017028703A1 (en) * 2015-08-18 2017-02-23 阿里巴巴集团控股有限公司 Method and device for classifying interface objects
CN111512278A (en) * 2017-10-30 2020-08-07 华为技术有限公司 Method for processing application of terminal equipment and terminal equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770326A (en) * 2008-12-31 2010-07-07 北京联想软件有限公司 Realization method for moving object on touch screen and computing device
US20120030628A1 (en) * 2010-08-02 2012-02-02 Samsung Electronics Co., Ltd. Touch-sensitive device and touch-based folder control method thereof
US20120052921A1 (en) * 2010-08-30 2012-03-01 Samsung Electronics Co., Ltd. Mobile terminal and multi-touch based method for controlling list data output for the same
CN102682020A (en) * 2011-03-15 2012-09-19 深圳富泰宏精密工业有限公司 File management system and method
CN102768597A (en) * 2012-03-19 2012-11-07 联想(北京)有限公司 Method and device for operating electronic equipment
CN102779006A (en) * 2012-06-27 2012-11-14 华为技术有限公司 Object transfer method based on touch screen and touch screen intelligent device
CN102890593A (en) * 2011-07-21 2013-01-23 三星电子株式会社 Method and apparatus for managing icon in portable terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770326A (en) * 2008-12-31 2010-07-07 北京联想软件有限公司 Realization method for moving object on touch screen and computing device
US20120030628A1 (en) * 2010-08-02 2012-02-02 Samsung Electronics Co., Ltd. Touch-sensitive device and touch-based folder control method thereof
US20120052921A1 (en) * 2010-08-30 2012-03-01 Samsung Electronics Co., Ltd. Mobile terminal and multi-touch based method for controlling list data output for the same
CN102682020A (en) * 2011-03-15 2012-09-19 深圳富泰宏精密工业有限公司 File management system and method
CN102890593A (en) * 2011-07-21 2013-01-23 三星电子株式会社 Method and apparatus for managing icon in portable terminal
CN102768597A (en) * 2012-03-19 2012-11-07 联想(北京)有限公司 Method and device for operating electronic equipment
CN102779006A (en) * 2012-06-27 2012-11-14 华为技术有限公司 Object transfer method based on touch screen and touch screen intelligent device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017028703A1 (en) * 2015-08-18 2017-02-23 阿里巴巴集团控股有限公司 Method and device for classifying interface objects
CN106469015A (en) * 2015-08-18 2017-03-01 阿里巴巴集团控股有限公司 interface object classifying method and device
CN111512278A (en) * 2017-10-30 2020-08-07 华为技术有限公司 Method for processing application of terminal equipment and terminal equipment
CN111512278B (en) * 2017-10-30 2022-08-09 华为技术有限公司 Method for processing application of terminal equipment and terminal equipment

Also Published As

Publication number Publication date
CN103294264B (en) 2016-11-16

Similar Documents

Publication Publication Date Title
US10491552B2 (en) Inserting content into an application from an online synchronized content management system
Zaiane et al. Classifying text documents by associating terms with text categories
US9977768B2 (en) System for clipping webpages by traversing a dom, and highlighting a minimum number of words
US10042523B2 (en) Classifying and organizing web resources in web browsers
US20210073463A1 (en) Human-computer interaction method and apparatus thereof
RU2595524C2 (en) Device and method for processing content of web resource in browser
CN102968338A (en) Method and device for classifying application program of electronic equipment and electronic equipment
CN104077387A (en) Webpage content display method and browser device
CN103699674A (en) Webpage storing method, webpage opening method, webpage storing device, webpage opening device and webpage browsing system
EP3195116A1 (en) Personalized contextual menu for inserting content in a current application
CN110968553B (en) Ordering method and device for elements in directory tree
CN111666383A (en) Information processing method, information processing device, electronic equipment and computer readable storage medium
CN104462232A (en) Data storage method and device
CN110309460B (en) Search result page display method, device and equipment and readable storage medium
US9965450B2 (en) Dynamic management of site components
CN103123651A (en) Method of rapidly searching multiple same-kind paper, device and mobile equipment
CN103294264A (en) Data processing method and device
US10817272B2 (en) Generation and usage of language-converted script
EP3084636A1 (en) Identifying semantically-meaningful text selections
CN101777067A (en) System for recognizing and managing web page contents for mobile communication equipment terminals
US20160179821A1 (en) Searching Inside Items
WO2023005835A1 (en) Icon control method, apparatus, electronic device, and readable storage medium
WO2022156817A1 (en) Content extraction method and apparatus
CN113094367A (en) Data processing method and device and server
CN113468110A (en) File management method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100022 the 12 level of Fuxing International Center, 237 Chaoyang North Road, Chaoyang District, Beijing.

Patentee after: Beijing Cheetah Mobile Technology Co.,Ltd.

Patentee after: Beijing Cheetah Network Technology Co.,Ltd.

Patentee after: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

Patentee after: ZHUHAI JUNTIAN ELECTRONIC TECHNOLOGY Co.,Ltd.

Patentee after: CONEW NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

Address before: 100022 the 12 level of Fuxing International Center, 237 Chaoyang North Road, Chaoyang District, Beijing.

Patentee before: SHELL INTERNET (BEIJING) SECURITY TECHNOLOGY Co.,Ltd.

Patentee before: BEIJING KINGSOFT NETWORK TECHNOLOGY Co.,Ltd.

Patentee before: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

Patentee before: ZHUHAI JUNTIAN ELECTRONIC TECHNOLOGY Co.,Ltd.

Patentee before: CONEW NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.