CN105653354A - Batch processing method and device - Google Patents
Batch processing method and device Download PDFInfo
- Publication number
- CN105653354A CN105653354A CN201511001093.0A CN201511001093A CN105653354A CN 105653354 A CN105653354 A CN 105653354A CN 201511001093 A CN201511001093 A CN 201511001093A CN 105653354 A CN105653354 A CN 105653354A
- Authority
- CN
- China
- Prior art keywords
- batch processing
- processing object
- preset
- batch
- policy
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/466—Transaction processing
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses a batch processing method, which comprises the following steps: when an instruction for carrying out batch processing on a batch processing object is acquired, inquiring an operation record of the batch processing object; classifying the batch processing objects according to the operation records to obtain the classes of the batch processing objects; acquiring a processing strategy corresponding to the class to which the batch processing object belongs according to the corresponding relation between the preset class and the processing strategy; and carrying out batch processing on the batch processing objects according to the processing strategy. The embodiment of the invention also discloses a batch processing device. By adopting the invention, the terminal can flexibly carry out batch processing on the batch processing objects, and the user experience is improved.
Description
Technical field
The present invention relates to electronic technology field, particularly relate to method and the device of a kind of batch processing.
Background technology
Along with the fast development of electronic information, the operation object that various need carry out processing also gets more and more, and wherein, operation object can be as: electronic document, application program, video pictures etc. Therefore, the processing efficiency how improving operation object just seems very important.
At present, batch processing can operate object for magnanimity and carries out batch processing, it is possible to a large amount of operation objects carries out processing operation simultaneously, and can complete treating processes fast, thus effectively improve processing efficiency. But, current batch processing, when being processed by operation object, is all adopt unified operation mode instruction to process, cannot carry out differentiated treatment for different processing demands, so that terminal cannot carry out batch runs object flexibly, make troubles to user.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, it is provided that and a kind of method of batch processing and device. The classification different according to batch processing object can adopt different processing policies that batch processing object is carried out batch processing.
In order to solve the problems of the technologies described above, embodiments provide a kind of method of batch processing, comprising:
When getting the instruction that preset batch processing object is carried out batch processing, inquire about the operating record of described batch processing object;
According to described operating record, described batch processing object is carried out classification process, obtain described batch processing object generic;
According to the corresponding relation of preset classification and processing policy, obtain the processing policy that described batch processing object generic is corresponding;
According to described processing policy, described batch processing object is carried out batch processing.
Wherein, described classification comprises first category and the 2nd classification, and described operating record comprises the use frequency of described batch processing object;
Described according to described operating record, described batch processing object is carried out classification process, obtains described batch processing object generic and comprise:
Judge whether the use frequency of described batch processing object is not less than default threshold value;
When judging that the use frequency of described batch processing object is not less than described threshold value, it is determined that described batch processing object belongs to first category;
When judging that the use frequency of described batch processing object is less than described threshold value, it is determined that described batch processing object belongs to the 2nd classification.
Wherein, described processing policy comprises the first processing policy and the 2nd processing policy;
Described according to the corresponding relation of preset classification and processing policy, comprise before obtaining processing policy corresponding to described batch processing object generic:
Corresponding first processing policy of preset first category;
Corresponding 2nd processing policy of preset 2nd classification.
Wherein, described according to described processing policy, described batch processing object carried out batch processing and comprises:
When described processing policy is the first processing policy, detect whether described batch processing object needs to upgrade;
When detect described batch processing object need to be upgraded time, described batch processing object is upgraded, generate bulk updating object;
Obtain preset batch processing order and described bulk updating object is carried out batch processing;
When detect do not need to be upgraded by described batch processing object time, obtain preset batch processing order and described batch processing object carried out batch processing.
Wherein, described according to described processing policy, described batch processing object carried out batch processing and comprises:
When described processing policy is the 2nd processing policy, obtains preset batch processing order and described batch processing object is carried out batch processing.
Wherein, also comprise before the operating record of the described batch processing object of described inquiry:
Detecting the network state residing for described terminal, described network state comprises networking state and suspension state;
When detecting that described terminal is in described networking state, perform the operating record step of the described batch processing object of described inquiry;
When detecting that described terminal is in suspension state, export preset information, to point out user to carry out interconnection network.
Wherein, described when getting the instruction that batch processing object is carried out batch processing, comprise before inquiring about the operating record of described batch processing object:
Create the batch application program being used for batch processing object carries out batch processing;
Preset batch processing object and preset batch processing order is carried out by described batch application program;
When starting described batch application program, generate the instruction that preset batch processing object is carried out batch processing.
Present invention also offers a kind of batch processing device, described device comprises:
Query unit, for when getting the instruction that preset batch processing object carries out batch processing, inquiring about the operating record of described batch processing object;
Classification processing unit, for described batch processing object being carried out classification process according to described operating record, obtains described batch processing object generic;
Acquiring unit, for the corresponding relation according to preset classification and processing policy, obtains the processing policy that described batch processing object generic is corresponding;
Batch unit, for carrying out batch processing according to described processing policy to described batch processing object.
Wherein, described classification comprises first category and the 2nd classification, and described operating record comprises the use frequency of described batch processing object;
Described classification processing unit comprises:
Whether judgment sub-unit, be not less than default threshold value for judging the use frequency of described batch processing object;
First determines subelement, for judging that the use frequency of described batch processing object is not less than described threshold value when described judgment sub-unit, it is determined that described batch processing object belongs to first category;
2nd determines subelement, for judging that the use frequency of described batch processing object is less than described threshold value when described judgment sub-unit, it is determined that described batch processing object belongs to the 2nd classification.
Wherein, described processing policy comprises the first processing policy and the 2nd processing policy;
Described device also comprises:
First preset unit, for corresponding first processing policy of preset first category;
2nd preset unit, for corresponding 2nd processing policy of preset 2nd classification.
Wherein, described batch unit comprises:
Detection sub-unit, for when described processing policy is the first processing policy, detecting whether described batch processing object needs to upgrade;
Upgrade subelement, for when described detection sub-unit detect described batch processing object need to be upgraded time, described batch processing object is upgraded, generation bulk updating object;
First batch processing subelement, carries out batch processing for obtaining preset batch processing order to described bulk updating object;
2nd batch processing subelement, for when described detection sub-unit detect do not need to be upgraded by described batch processing object time, obtain preset batch processing order and described batch processing object carried out batch processing.
Wherein, described batch unit also specifically for:
When described processing policy is the 2nd processing policy, obtains preset batch processing order and described batch processing object is carried out batch processing.
Wherein, described device also comprises:
Detecting unit, for detecting the network state residing for described terminal, described network state comprises networking state and suspension state;
When described detecting unit detects that described terminal is in described networking state, notify that described query unit inquires about the operating record of described batch processing object;
Output unit, for when described detecting unit detects that described terminal is in suspension state, exporting preset information, to point out user to carry out interconnection network.
Wherein, it is characterised in that, described device also comprises:
Creating unit, for creating the batch application program for batch processing object carries out batch processing;
Preset unit, for carrying out preset batch processing object and preset batch processing order by described batch application program;
Generate unit, for when starting described batch application program, generating the instruction that preset batch processing object is carried out batch processing.
Implement the embodiment of the present invention, there is following useful effect:
In embodiments of the present invention, when getting the instruction that preset batch processing object is carried out batch processing, inquire about the operating record of described batch processing object, according to described operating record, described batch processing object is carried out classification process, obtain described batch processing object generic, according to the corresponding relation of preset classification and processing policy, obtain the processing policy that described batch processing object generic is corresponding, make terminal the classification different according to batch processing object can adopt different processing policies that batch processing object is carried out batch processing, thus flexibly batch processing object can be carried out batch processing, improve Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, it is briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the first embodiment schematic flow sheet of the method for a kind of batch processing that the embodiment of the present invention provides;
Fig. 2 is the 2nd embodiment schematic flow sheet of the method for a kind of batch processing that the embodiment of the present invention provides;
Fig. 3 is the 3rd embodiment schematic flow sheet of the method for a kind of batch processing that the embodiment of the present invention provides;
Fig. 4 is the first example structure figure of a kind of batch processing device that the embodiment of the present invention provides;
Fig. 5 is the 2nd example structure figure of a kind of batch processing device that the embodiment of the present invention provides;
Fig. 6 is the 3rd example structure figure of a kind of batch processing device that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only the present invention's part embodiment, instead of whole embodiments. Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
For convenience, using terminal as the executive agent in the embodiment of the present invention, described terminal can comprise: computer, mobile phone, panel computer, palm PC or mobile internet device (MobileInternetDevice, the intelligent terminal such as MID), above-mentioned terminal is only citing, and non exhaustive, including but not limited to above-mentioned terminal.
Refer to Fig. 1, it is the first embodiment schematic flow sheet of the method for a kind of batch processing of the present invention. As shown in Figure 1, described in the present embodiment, a kind of method of batch processing comprises step:
S100, when getting the instruction that preset batch processing object carries out batch processing, inquires about the operating record of described batch processing object.
In embodiments of the present invention, the system of terminal can be Windows system. Terminal can preset one or more batch processing object, wherein, batch processing object can be the objects such as user's application program, plug-in unit and document. Optionally, user can carry out preset batch processing object as required voluntarily, or terminal is according to the operating record of the operation object of terminal record, carries out preset batch processing object. Further, terminal can create the batch application program for batch processing object carries out batch processing, and user is undertaken adding batch processing object thus preset batch processing object by operation batch application program.
In embodiments of the present invention, when batch processing object need to be carried out batch processing by terminal, preset batch processing object is carried out the instruction of batch processing by user-operable terminal input. Concrete, terminal can install batch application program, when user starts instruction for the input of batch application program, terminal can generate the instruction that batch processing object carries out batch processing, then terminal can get the instruction that batch processing object carries out batch processing, and preset batch processing object is carried out batch processing.
In embodiments of the present invention, terminal can record the operating record of the operation object that terminal stores, such as operating records such as the use frequency of recording operation object, the unloading number of times of recording operation object, it is preferable that, in embodiments of the present invention, operating record can be the use frequency of operation object. Terminal can filter out the operating record of batch processing object from the operating record of above operation object.
S101, carries out classification process according to described operating record to described batch processing object, obtains described batch processing object generic.
In embodiments of the present invention, classification can comprise first category and the 2nd classification. Batch processing object is carried out classification process according to operating record by terminal, obtains batch processing object generic and can be: whether the use frequency of terminal judges batch processing object is not less than default threshold value. When judging that the use frequency of batch processing object is not less than default threshold value, it is determined that batch processing object belongs to first category; Default preset when judging that the use frequency of batch processing object is less than, it is determined that batch processing object belongs to the 2nd classification, and wherein, predetermined threshold value can be arranged voluntarily, does not limit at this.
S102, according to the corresponding relation of preset classification and processing policy, obtains the processing policy that described batch processing object generic is corresponding.
In embodiments of the present invention, terminal can the corresponding relation of preset classification and processing policy, wherein, processing policy can comprise the first processing policy and the 2nd processing policy, then terminal can corresponding first processing policy of preset first category, corresponding 2nd processing policy of preset 2nd classification. Terminal according to the corresponding relation of preset classification and processing policy, can obtain the processing policy that batch processing object generic is corresponding. As: when batch processing object generic is first category, then terminal is according to the corresponding relation of above classification and processing policy, the processing policy obtaining batch processing object generic corresponding is the first processing policy, when batch processing object generic is the 2nd classification, then terminal is according to the corresponding relation of above classification and processing policy, and the processing policy obtaining batch processing object generic corresponding is the 2nd processing policy.
S103, carries out batch processing according to described processing policy to described batch processing object.
In embodiments of the present invention, when processing policy is the first processing policy, terminal can detect whether batch processing object needs to upgrade, as when batch processing object is application program, terminal is by whether the official website inquiry application of application program has renewal version, when terminal inquiry has renewal version to application program, terminal can determine that application program need to upgrade. when batch processing object need to be upgraded by terminal judges, batch processing object can be upgraded by terminal, generate bulk updating object, thus replace batch processing object, such as, when batch processing object is application program, terminal by the official website of application program inquire application program have upgrade version time, terminal can the renewal version of down load application program and install, generate the application program upgraded, thus replace original application program, wherein, terminal upgrades in the storage path of batch processing object, or when the storage path of bulk updating object and the storage path of batch processing object are different, the storage path that terminal can obtain bulk updating object simultaneously upgrades. after terminal upgrades, terminal can obtain preset batch processing order and bulk updating object is carried out batch processing.
In embodiments of the present invention, when processing policy is the 2nd processing policy, terminal can obtain preset batch processing order and batch processing object is carried out batch processing. And, if when batch processing object need to be upgraded by user, user can manually obtain bulk updating object and replace batch processing object, and if when the storage path of bulk updating object and batch processing object is inconsistent, user can carry out manually upgrade bulk updating object storage path.
In embodiments of the present invention, terminal can preset batch processing order, batch processing order can be the language editor that carries of the system of terminal and become, if batch processing order is that the DOS language editor in Windows system becomes, wherein, DOS language is a kind of assembly language towards disk. Batch processing order can be used for batch processing batch processing object, batch processing order comprise the startup batch processing order for starting batch processing object, for close batch processing object closedown batch processing order, for the batch processing order such as bulk updating order of bulk updating object, terminal can carry out preset batch processing order according to the operation that batch processing object need to be carried out by user, optionally, user can operate terminal as required and carries out preset batch processing order voluntarily. Concrete, terminal can install batch application program, and user is undertaken adding batch processing order by operation batch application program, thus preset batch processing order. Further, batch application program also can provide a large amount of batch processing orders, the batch processing order that user can provide in batch application program according to demand select required batch processing order to carry out preset, thus it is preset to avoid user need to carry out input by editor's DOS order, effectively reduces user operation complexity.
In embodiments of the present invention, when terminal gets preset batch processing order, terminal can carry out determining batch processing object. When terminal batch processing object is carried out batch processing at first time, terminal can carry out scanning batch processing object, it is determined that batch processing object, and the storage path obtaining batch processing object stores. When terminal is not first time batch processing object is carried out batch processing, terminal can carry out determining batch processing object according to the storage path of preset batch processing object. After terminal determines batch processing object, the batch processing object determined can be carried out batch processing according to preset batch processing order by terminal. Further, user also can carry out the storage path of preset batch processing object. After user carries out manual bulk updating object, if the storage path of the storage path of the bulk updating object after upgrading and batch processing object is inconsistent, then user can carry out the storage path of preset bulk updating object.
In embodiments of the present invention, the batch processing object determined can be carried out batch processing according to preset batch processing order by terminal, as when batch processing order is the startup batch processing order for starting batch processing object, batch processing object can be started by terminal. In a particular application, can such as: when need to start network mailbox and immediate communication tool as user, terminal can be preset batch processing object be network mailbox and immediate communication tool, preset batch processing order is for starting batch processing order, when user clicks batch application program, then terminal can start browser logging in network mailbox, and starts instant messaging work.
In embodiments of the present invention, when batch processing object start time need to input account number cipher log in time, then terminal can carry out account number cipher corresponding to preset batch processing object. When batch processing object is started by terminal, terminal can obtain account number cipher corresponding to batch processing object and carry out logging in startup.
In embodiments of the present invention, when getting the instruction that preset batch processing object is carried out batch processing, inquire about the operating record of described batch processing object, according to described operating record, described batch processing object is carried out classification process, obtain described batch processing object generic, according to the corresponding relation of preset classification and processing policy, obtain the processing policy that described batch processing object generic is corresponding, make terminal the classification different according to batch processing object can adopt different processing policies that batch processing object is carried out batch processing, thus flexibly batch processing object can be carried out batch processing, improve Consumer's Experience.
Refer to Fig. 2, it is the 2nd embodiment schematic flow sheet of the method for a kind of batch processing of the present invention. As shown in Figure 2, described in the present embodiment, a kind of method of batch processing comprises step:
S200, when getting the instruction that batch processing object carries out batch processing, detects the network state residing for described terminal.
In embodiments of the present invention, network state can comprise networking state and suspension state, and wherein, networking state is that terminal is set up network with Internet and is connected, and suspension state is that terminal disconnects network with Internet and is connected.
S201, when detecting that described terminal is in suspension state, exports preset information.
In embodiments of the present invention, when terminal detects that terminal is in networking state, terminal can perform step S202. When terminal detects that terminal is in suspension state, the exportable preset information of terminal, wherein, information is used for prompt terminal and is connected with Internet disconnection network, and information can be the informations such as voice information, graphic information and vibration information.Further, after terminal exports preset information, user can carry out interconnection network according to information. Further, user can also input instruction according to information, and when instruction is determined in user's input, terminal can perform step S202, and when user inputs stop instruction, terminal can stop carrying out batch processing.
S202, inquires about the operating record of described batch processing object.
S203, carries out classification process according to described operating record to described batch processing object, obtains described batch processing object generic.
S204, according to the corresponding relation of preset classification and processing policy, obtains the processing policy that described batch processing object generic is corresponding.
S205, carries out batch processing according to described processing policy to described batch processing object.
In embodiments of the present invention, the concrete implementation content of step S202, step S203, step S204 and step S205 see the concrete implementation content of the step S100 in above embodiment, step S101, step S102 and step S103, can not repeat at this.
In embodiments of the present invention, when getting the instruction that batch processing object is carried out batch processing when terminal, detect the network state residing for described terminal, when detecting that described terminal is in suspension state, export preset information, user can be operated according to the information that terminal exports, thus convenient user operation, and terminal the classification different according to batch processing object can adopt different processing policies that batch processing object is carried out batch processing, thus flexibly batch processing object can be carried out batch processing, it is to increase Consumer's Experience.
Refer to Fig. 3, it is the 3rd embodiment schematic flow sheet of the method for a kind of batch processing of the present invention. As shown in Figure 3, described in the present embodiment, a kind of method of batch processing comprises step:
S300, creates the batch application program being used for batch processing object carries out batch processing.
In embodiments of the present invention, the installation kit that terminal can obtain batch application program is installed, thus creates the batch application program being used for batch processing object carries out batch processing.
S301, carries out preset batch processing object and preset batch processing order by described batch application program.
In embodiments of the present invention, user is undertaken adding handling object and batch processing order by operation batch application program, thus terminal carries out preset batch processing object and preset batch processing order by batch application program.
S302, when starting described batch application program, generates the instruction that preset batch processing object carries out batch processing.
In embodiments of the present invention, when terminal receives the instruction of startup batch application program of user's input, terminal can start batch application program, and generates the instruction that batch processing object carries out batch processing.
S303, when getting the instruction that batch processing object carries out batch processing, inquires about the operating record of described batch processing object;
S304, carries out classification process according to described operating record to described batch processing object, obtains described batch processing object generic;
S305, according to the corresponding relation of preset classification and processing policy, obtains the processing policy that described batch processing object generic is corresponding;
S306, carries out batch processing according to described processing policy to described batch processing object.
In embodiments of the present invention, the concrete implementation content of step S303, step S304, step S305 and step S306 see the concrete implementation content of the step S100 in above embodiment, step S101, step S102 and step S103, can not repeat at this.
In embodiments of the present invention, terminal can create the batch application program for batch processing object carries out batch processing, preset batch processing object and preset batch processing order is carried out by described batch application program, when starting described batch application program, generate the instruction that preset batch processing object is carried out batch processing, terminal is made to be carried out preset batch processing object and preset batch processing order by batch application program, thus convenient user operation, and terminal the classification different according to batch processing object can adopt different processing policies that batch processing object is carried out batch processing, thus flexibly batch processing object can be carried out batch processing, improve Consumer's Experience.
See Fig. 4, it is the first example structure figure of a kind of batch processing device that the embodiment of the present invention provides. Device described in the embodiment of the present invention comprises:
Query unit 100, for when getting the instruction that preset batch processing object carries out batch processing, inquiring about the operating record of described batch processing object.
Classification processing unit 200, for described batch processing object being carried out classification process according to described operating record, obtains described batch processing object generic.
Acquiring unit 300, for the corresponding relation according to preset classification and processing policy, obtains the processing policy that described batch processing object generic is corresponding.
Batch unit 400, for carrying out batch processing according to described processing policy to described batch processing object.
In embodiments of the present invention, described batch processing device specifically can be terminal, it is possible to is certain the function module in terminal, simply will be described explanation for terminal below.
In embodiments of the present invention, the system of terminal can be Windows system. Terminal can preset one or more batch processing object, wherein, batch processing object can be the objects such as user's application program, plug-in unit and document. Optionally, user can carry out preset batch processing object as required voluntarily, or terminal is according to the operating record of the operation object of terminal record, carries out preset batch processing object. Further, terminal can create the batch application program for batch processing object carries out batch processing, and user is undertaken adding batch processing object thus preset batch processing object by operation batch application program.
In embodiments of the present invention, when batch processing object need to be carried out batch processing by terminal, preset batch processing object is carried out the instruction of batch processing by user-operable terminal input. Concrete, terminal can install batch application program, when user starts instruction for the input of batch application program, terminal can generate the instruction that batch processing object carries out batch processing, then terminal can get the instruction that batch processing object carries out batch processing, and preset batch processing object is carried out batch processing.
In embodiments of the present invention, terminal can record the operating record of the operation object that terminal stores, such as operating records such as the use frequency of recording operation object, the unloading number of times of recording operation object, it is preferable that, in embodiments of the present invention, operating record can be the use frequency of operation object. Query unit 100 can filter out the operating record of batch processing object from the operating record of the operation object of above record.
In embodiments of the present invention, classification can comprise first category and the 2nd classification. Batch processing object is carried out classification process according to operating record by classification processing unit 200, obtains batch processing object generic and can be: classification processing unit 200 judges whether the use frequency of batch processing object is not less than default threshold value.When classification processing unit 200 judges that the use frequency of batch processing object is not less than default threshold value, classification processing unit 200 determines that batch processing object belongs to first category; When classification processing unit 200, to judge that the use frequency of batch processing object is less than default preset, and classification processing unit 200 determines that batch processing object belongs to the 2nd classification, and wherein, predetermined threshold value can be arranged voluntarily, does not limit at this.
In embodiments of the present invention, terminal can the corresponding relation of preset classification and processing policy, wherein, processing policy can comprise the first processing policy and the 2nd processing policy, then terminal can corresponding first processing policy of preset first category, corresponding 2nd processing policy of preset 2nd classification. Acquiring unit 300 according to the corresponding relation of preset classification and processing policy, can obtain the processing policy that batch processing object generic is corresponding. As: when batch processing object generic is first category, acquiring unit 300 is according to the corresponding relation of above classification and processing policy, the processing policy obtaining batch processing object generic corresponding is the first processing policy, when batch processing object generic is the 2nd classification, acquiring unit 300 is according to the corresponding relation of above classification and processing policy, and the processing policy obtaining batch processing object generic corresponding is the 2nd processing policy.
In embodiments of the present invention, when processing policy is the first processing policy, batch unit 400 can detect whether batch processing object needs to upgrade, as when batch processing object is application program, batch unit 400 is by whether the official website inquiry application of application program has renewal version, when batch unit 400 inquire application program have upgrade version time, batch unit 400 can determine that application program need to upgrade. when batch unit 400 judges to be upgraded by batch processing object, batch processing object can be upgraded by batch unit 400, generate bulk updating object, thus replace batch processing object, such as, when batch processing object is application program, batch unit 400 by the official website of application program inquire application program have upgrade version time, batch unit 400 can the renewal version of down load application program and install, generate the application program upgraded, thus replace original application program, wherein, batch unit 400 upgrades in the storage path of batch processing object, or when the storage path of bulk updating object and the storage path of batch processing object are different, the storage path that batch unit 400 can obtain bulk updating object simultaneously upgrades. after terminal upgrades, batch unit 400 can obtain preset batch processing order and bulk updating object is carried out batch processing.
In embodiments of the present invention, when processing policy is the 2nd processing policy, batch unit 400 can obtain preset batch processing order and batch processing object is carried out batch processing. And, if when batch processing object need to be upgraded by user, user can manually obtain bulk updating object and replace batch processing object, and if when the storage path of bulk updating object and batch processing object is inconsistent, user can carry out manually upgrade bulk updating object storage path.
In embodiments of the present invention, terminal can preset batch processing order, batch processing order can be the language editor that carries of the system of terminal and become, if batch processing order is that the DOS language editor in Windows system becomes, wherein, DOS language is a kind of assembly language towards disk.Batch processing order can be used for batch processing batch processing object, batch processing order comprise the startup batch processing order for starting batch processing object, for close batch processing object closedown batch processing order, for the batch processing order such as bulk updating order of bulk updating object, terminal can carry out preset batch processing order according to the operation that batch processing object need to be carried out by user, optionally, user can operate terminal as required and carries out preset batch processing order voluntarily. Concrete, terminal can install batch application program, and user is undertaken adding batch processing order by operation batch application program, thus preset batch processing order. Further, batch application program also can provide a large amount of batch processing orders, the batch processing order that user can provide in batch application program according to demand select required batch processing order to carry out preset, thus it is preset to avoid user need to carry out input by editor's DOS order, effectively reduces user operation complexity.
In embodiments of the present invention, when batch unit 400 gets preset batch processing order, batch unit 400 can carry out determining batch processing object. When batch unit 400 batch processing object is carried out batch processing at first time, batch unit 400 can carry out scanning batch processing object, it is determined that batch processing object, and the storage path obtaining batch processing object stores. When batch unit 400 is not first time batch processing object is carried out batch processing, batch unit 400 can carry out determining batch processing object according to the storage path of preset batch processing object. After batch unit 400 determines batch processing object, the batch processing object determined can be carried out batch processing according to preset batch processing order by batch unit 400. Further, user also can carry out the storage path of preset batch processing object. After user carries out manual bulk updating object, if the storage path of the storage path of the bulk updating object after upgrading and batch processing object is inconsistent, then user can carry out the storage path of preset bulk updating object.
In embodiments of the present invention, the batch processing object determined can be carried out batch processing according to preset batch processing order by batch unit 400, as when batch processing order is the startup batch processing order for starting batch processing object, batch processing object can be started by batch unit 400. In a particular application, can such as: when need to start network mailbox and immediate communication tool as user, terminal can be preset batch processing object be network mailbox and immediate communication tool, preset batch processing order is for starting batch processing order, when user clicks batch application program, batch unit 400 can start browser logging in network mailbox, and starts instant messaging work.
In embodiments of the present invention, when batch processing object start time need to input account number cipher log in time, then terminal can carry out account number cipher corresponding to preset batch processing object. When batch processing object is started by batch unit 400, batch unit 400 can obtain account number cipher corresponding to batch processing object to carry out logging in startup.
Wherein, described classification processing unit 200 also comprises:
Whether judgment sub-unit, be not less than default threshold value for judging the use frequency of described batch processing object.
First determines subelement, for judging that the use frequency of described batch processing object is not less than described threshold value when described judgment sub-unit, it is determined that described batch processing object belongs to first category.
2nd determines subelement, for judging that the use frequency of described batch processing object is less than described threshold value when described judgment sub-unit, it is determined that described batch processing object belongs to the 2nd classification.
Described device also comprises:
First preset unit, for corresponding first processing policy of preset first category.
2nd preset unit, for corresponding 2nd processing policy of preset 2nd classification.
Described batch unit 400 also comprises:
Detection sub-unit, for when described processing policy is the first processing policy, detecting whether described batch processing object needs to upgrade.
Upgrade subelement, for when described detection sub-unit detect described batch processing object need to be upgraded time, described batch processing object is upgraded, generation bulk updating object.
First batch processing subelement, carries out batch processing for obtaining preset batch processing order to described bulk updating object.
2nd batch processing subelement, for when described detection sub-unit detect do not need to be upgraded by described batch processing object time, obtain preset batch processing order and described batch processing object carried out batch processing.
Described batch unit 400 also specifically for:
When described processing policy is the 2nd processing policy, obtains preset batch processing order and described batch processing object is carried out batch processing.
It should be appreciated that the function of each function module of unit in the terminal of the present embodiment can according to the method specific implementation in aforesaid method embodiment, its specific implementation process with reference to the associated description of aforesaid method embodiment, no longer can repeat herein.
In embodiments of the present invention, when getting the instruction that preset batch processing object is carried out batch processing, inquire about the operating record of described batch processing object, according to described operating record, described batch processing object is carried out classification process, obtain described batch processing object generic, according to the corresponding relation of preset classification and processing policy, obtain the processing policy that described batch processing object generic is corresponding, make terminal the classification different according to batch processing object can adopt different processing policies that batch processing object is carried out batch processing, thus flexibly batch processing object can be carried out batch processing, improve Consumer's Experience.
See Fig. 5, it is the 2nd example structure figure of a kind of batch processing device that the embodiment of the present invention provides. Device described in the embodiment of the present invention comprises:
Query unit 100, classification processing unit 200, acquiring unit 300 and batch unit 400.
Wherein, described device also comprises:
Detecting unit 500, for detecting the network state residing for described terminal, described network state comprises networking state and suspension state.
Output unit 600, for when described detecting unit detects that described terminal is in suspension state, exporting preset information, to point out user to carry out interconnection network.
In embodiments of the present invention, network state can comprise networking state and suspension state, and wherein, networking state is that terminal is set up network with Internet and is connected, and suspension state is that terminal disconnects network with Internet and is connected. Detecting unit 500 can sense terminals whether interconnection network in real time, thus the network state residing for monitoring terminal. When detecting unit 500 detects that terminal is in networking state, can notify that query unit 100 inquires about the operating record of described batch processing object.
In embodiments of the present invention, when detecting unit 500 detects that terminal is in suspension state, the exportable preset information of output unit 600, wherein, information is used for prompt terminal and is connected with Internet disconnection network, and information can be the informations such as voice information, graphic information and vibration information.Further, after output unit 600 exports preset information, user can carry out interconnection network according to information. Further, user can also input instruction according to information, and when instruction is determined in user's input, terminal can notify that query unit 100 inquires about the operating record of described batch processing object; When user inputs stop instruction, terminal can stop carrying out batch processing.
It should be appreciated that the function of each function module of unit in the terminal of the present embodiment can according to the method specific implementation in aforesaid method embodiment, its specific implementation process with reference to the associated description of aforesaid method embodiment, no longer can repeat herein.
In embodiments of the present invention, when getting the instruction that batch processing object is carried out batch processing when terminal, detect the network state residing for described terminal, when detecting that described terminal is in suspension state, export preset information, user can be operated according to the information that terminal exports, thus convenient user operation, and terminal the classification different according to batch processing object can adopt different processing policies that batch processing object is carried out batch processing, thus flexibly batch processing object can be carried out batch processing, it is to increase Consumer's Experience.
See Fig. 5, it is the 2nd example structure figure of a kind of batch processing device that the embodiment of the present invention provides. Device described in the embodiment of the present invention comprises:
Query unit 100, classification processing unit 200, acquiring unit 300 and batch unit 400.
Wherein, described device also comprises:
Creating unit 700, for creating the batch application program for batch processing object carries out batch processing.
Preset unit 800, for carrying out preset batch processing object and preset batch processing order by described batch application program.
Generate unit 900, for when starting described batch application program, generating the instruction that preset batch processing object is carried out batch processing.
In embodiments of the present invention, the installation kit that creating unit 700 can obtain batch application program is installed, thus creates the batch application program being used for batch processing object carries out batch processing.
In embodiments of the present invention, user is undertaken adding handling object and batch processing order by operation batch application program, thus preset unit 800 carries out preset batch processing object and preset batch processing order by batch application program.
In embodiments of the present invention, when terminal receives the instruction of startup batch application program of user's input, generate unit 900 and can start batch application program, and generate the instruction that batch processing object is carried out batch processing.
It should be appreciated that the function of each function module of unit in the terminal of the present embodiment can according to the method specific implementation in aforesaid method embodiment, its specific implementation process with reference to the associated description of aforesaid method embodiment, no longer can repeat herein.
In embodiments of the present invention, terminal can create the batch application program for batch processing object carries out batch processing, preset batch processing object and preset batch processing order is carried out by described batch application program, when starting described batch application program, generate the instruction that preset batch processing object is carried out batch processing, terminal is made to be carried out preset batch processing object and preset batch processing order by batch application program, thus convenient user operation, and terminal the classification different according to batch processing object can adopt different processing policies that batch processing object is carried out batch processing, thus flexibly batch processing object can be carried out batch processing, improve Consumer's Experience.
In the description of this specification sheets, at least one embodiment that the description of reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. means to be contained in the present invention in conjunction with concrete feature, structure, material or feature that this embodiment or example describe or example. In this manual, to the schematic representation of above-mentioned term not must for be identical embodiment or example. And, the concrete feature of description, structure, material or feature can combine in one or more embodiment in office or example in an appropriate manner. In addition, when not conflicting, the feature of the different embodiment described in this specification sheets or example and different embodiment or example can be carried out combining and combining by the technician of this area.
In addition, term " first ", " the 2nd " are only for describing object, and can not be interpreted as instruction or hint relative importance or imply the quantity indicating indicated technology feature. Thus, be limited with " first ", the feature of " the 2nd " can express or implicit comprise at least one this feature. In describing the invention, the implication of " multiple " is at least two, such as two, three etc., unless otherwise expressly limited specifically.
Describe and can be understood in schema or in this any process otherwise described or method, represent and comprise one or more for realizing the module of the code of the performed instruction of the step of specific logical function or process, fragment or part, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can not according to order that is shown or that discuss, comprise according to involved function by the mode while of basic or by contrary order, carrying out n-back test, this should be understood by embodiments of the invention person of ordinary skill in the field.
In flow charts represent or in this logic otherwise described and/or step, such as, the sequencing list of the performed instruction for realizing logic function can be considered as, may be embodied in any computer-readable medium, for instruction execution system, device or equipment (as based on system for computer, the system comprising treater or other can from instruction execution system, device or equipment instruction fetch and perform the system of instruction) use, or use in conjunction with these instruction execution systems, device or equipment. With regard to this specification sheets, " computer-readable medium " can be any can comprise, store, communicate, propagate or transmission program for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment. The example more specifically (non-exhaustive list) of computer-readable medium comprises following: the electrical connection section (electronic installation) with one or more wiring, portable computer diskette box (magnetic device), random access memory (RAM), read-only storage (ROM), erasable edit read-only storage (EPROM or dodge speed storer), fiber device, and portable optic disk read-only storage (CDROM). In addition, computer-readable medium is it is even possible that be paper or other the suitable media that can print described program thereon, because can such as by paper or other media be carried out optical scanning, then carry out editing, decipher or carry out process with other suitable methods if desired and electronically obtain described program, then store it in computer memory.
It is to be understood that each several part of the present invention can realize with hardware, software, firmware or their combination. In the above-described embodiment, multiple step or method can realize with the software stored in memory and perform by suitable instruction execution system or firmware. Such as, if realized with hardware, the same with in another enforcement mode, can realize with the arbitrary item in following technology well known in the art or their combination: the discrete logic with the logic gates for data signal being realized logic function, there is the application specific integrated circuit of suitable combinational logic gating circuit, programmable gate array (PGA), field-programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is can be completed by the hardware that program carrys out instruction relevant, described program can be stored in a kind of computer-readable recording medium, this program perform time, step comprising embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, it is also possible to is that the independent physics of each unit exists, it is also possible to two or more unit are integrated in a module. Above-mentioned integrated module both can adopt the form of hardware to realize, it is also possible to adopts the form of software function module to realize. If described integrated module realize using the form of software function module and as independent production marketing or when using, it is also possible to be stored in a computer read/write memory medium.
The above-mentioned storage media mentioned can be read-only storage, disk or CD etc. Although above it has been shown and described that embodiments of the invention, it is understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, and above-described embodiment can be changed, revises, replace and modification by the those of ordinary skill of this area within the scope of the invention.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, it is can be completed by the hardware that computer program carrys out instruction relevant, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment such as above-mentioned each side method. Wherein, described storage media can be magnetic disc, CD, read-only storage memory body (Read-OnlyMemory, ROM) or random storage and remembers body (RandomAccessMemory, RAM) etc.
Above disclosed being only the better embodiment of the present invention, certainly can not limit the interest field of the present invention with this, the equivalent variations therefore done according to the claims in the present invention, still belongs to the scope that the present invention is contained.
Claims (10)
1. the method for a batch processing, it is characterised in that, described method comprises:
When getting the instruction that preset batch processing object is carried out batch processing, inquire about the operating record of described batch processing object;
According to described operating record, described batch processing object is carried out classification process, obtain described batch processing object generic;
According to the corresponding relation of preset classification and processing policy, obtain the processing policy that described batch processing object generic is corresponding;
According to described processing policy, described batch processing object is carried out batch processing.
2. the method for claim 1, it is characterised in that, described classification comprises first category and the 2nd classification, and described operating record comprises the use frequency of described batch processing object;
Described according to described operating record, described batch processing object is carried out classification process, obtains described batch processing object generic and comprise:
Judge whether the use frequency of described batch processing object is not less than default threshold value;
When judging that the use frequency of described batch processing object is not less than described threshold value, it is determined that described batch processing object belongs to first category;
When judging that the use frequency of described batch processing object is less than described threshold value, it is determined that described batch processing object belongs to the 2nd classification.
3. method as claimed in claim 2, it is characterised in that, described processing policy comprises the first processing policy and the 2nd processing policy;
Described according to the corresponding relation of preset classification and processing policy, comprise before obtaining processing policy corresponding to described batch processing object generic:
Corresponding first processing policy of preset first category;
Corresponding 2nd processing policy of preset 2nd classification.
4. method as claimed in claim 3, it is characterised in that, described according to described processing policy, described batch processing object carried out batch processing and comprise:
When described processing policy is the first processing policy, detect whether described batch processing object needs to upgrade;
When detect described batch processing object need to be upgraded time, described batch processing object is upgraded, generate bulk updating object;
Obtain preset batch processing order and described bulk updating object is carried out batch processing;
When detect do not need to be upgraded by described batch processing object time, obtain preset batch processing order and described batch processing object carried out batch processing.
5. method as claimed in claim 3, it is characterised in that, described according to described processing policy, described batch processing object carried out batch processing and comprise:
When described processing policy is the 2nd processing policy, obtains preset batch processing order and described batch processing object is carried out batch processing.
6. the method for claim 1, it is characterised in that, also comprise before the operating record of the described batch processing object of described inquiry:
Detecting the network state residing for described terminal, described network state comprises networking state and suspension state;
When detecting that described terminal is in described networking state, perform the operating record step of the described batch processing object of described inquiry;
When detecting that described terminal is in suspension state, export preset information, to point out user to carry out interconnection network.
7. method as described in claim 4 or 5, it is characterised in that, described when getting the instruction that batch processing object is carried out batch processing, comprise before inquiring about the operating record of described batch processing object:
Create the batch application program being used for batch processing object carries out batch processing;
Preset batch processing object and preset batch processing order is carried out by described batch application program;
When starting described batch application program, generate the instruction that preset batch processing object is carried out batch processing.
8. a batch processing device, it is characterised in that, described device comprises:
Query unit, for when getting the instruction that preset batch processing object carries out batch processing, inquiring about the operating record of described batch processing object;
Classification processing unit, for described batch processing object being carried out classification process according to described operating record, obtains described batch processing object generic;
Acquiring unit, for the corresponding relation according to preset classification and processing policy, obtains the processing policy that described batch processing object generic is corresponding;
Batch unit, for carrying out batch processing according to described processing policy to described batch processing object.
9. device as claimed in claim 8, it is characterised in that, described classification comprises first category and the 2nd classification, and described operating record comprises the use frequency of described batch processing object;
Described classification processing unit comprises:
Whether judgment sub-unit, be not less than default threshold value for judging the use frequency of described batch processing object;
First determines subelement, for judging that the use frequency of described batch processing object is not less than described threshold value when described judgment sub-unit, it is determined that described batch processing object belongs to first category;
2nd determines subelement, for judging that the use frequency of described batch processing object is less than described threshold value when described judgment sub-unit, it is determined that described batch processing object belongs to the 2nd classification.
10. device as claimed in claim 9, it is characterised in that, described processing policy comprises the first processing policy and the 2nd processing policy;
Described device also comprises:
First preset unit, for corresponding first processing policy of preset first category;
2nd preset unit, for corresponding 2nd processing policy of preset 2nd classification.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511001093.0A CN105653354A (en) | 2015-12-28 | 2015-12-28 | Batch processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511001093.0A CN105653354A (en) | 2015-12-28 | 2015-12-28 | Batch processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105653354A true CN105653354A (en) | 2016-06-08 |
Family
ID=56477015
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511001093.0A Pending CN105653354A (en) | 2015-12-28 | 2015-12-28 | Batch processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105653354A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106843675A (en) * | 2016-12-26 | 2017-06-13 | 普联技术有限公司 | The generation method and device of shortcut |
WO2018027871A1 (en) * | 2016-08-11 | 2018-02-15 | 张焰焰 | Recording-system operation method and recording system |
CN109933614A (en) * | 2019-02-01 | 2019-06-25 | 王亚萍 | A kind of electronic tax office data preprocess method based on big data behavioural analysis |
CN110110170A (en) * | 2019-04-30 | 2019-08-09 | 北京字节跳动网络技术有限公司 | A kind of method, apparatus of data processing, medium and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1852538A (en) * | 2005-10-25 | 2006-10-25 | 华为技术有限公司 | Method and apparatus for monitoring and updating software in apparatus management |
CN101017546A (en) * | 2007-03-12 | 2007-08-15 | 中国建设银行股份有限公司 | Method and device for categorical data batch processing |
CN103530175A (en) * | 2013-10-24 | 2014-01-22 | 广东欧珀移动通信有限公司 | Application program sorting and processing method and device |
CN103905442A (en) * | 2014-03-28 | 2014-07-02 | 小米科技有限责任公司 | Wakeup method and device in data synchronization |
WO2014177115A1 (en) * | 2013-09-30 | 2014-11-06 | 中兴通讯股份有限公司 | Mobile terminal application batch management method and system, and upgrade server |
-
2015
- 2015-12-28 CN CN201511001093.0A patent/CN105653354A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1852538A (en) * | 2005-10-25 | 2006-10-25 | 华为技术有限公司 | Method and apparatus for monitoring and updating software in apparatus management |
CN101017546A (en) * | 2007-03-12 | 2007-08-15 | 中国建设银行股份有限公司 | Method and device for categorical data batch processing |
WO2014177115A1 (en) * | 2013-09-30 | 2014-11-06 | 中兴通讯股份有限公司 | Mobile terminal application batch management method and system, and upgrade server |
CN103530175A (en) * | 2013-10-24 | 2014-01-22 | 广东欧珀移动通信有限公司 | Application program sorting and processing method and device |
CN103905442A (en) * | 2014-03-28 | 2014-07-02 | 小米科技有限责任公司 | Wakeup method and device in data synchronization |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018027871A1 (en) * | 2016-08-11 | 2018-02-15 | 张焰焰 | Recording-system operation method and recording system |
CN106843675A (en) * | 2016-12-26 | 2017-06-13 | 普联技术有限公司 | The generation method and device of shortcut |
CN106843675B (en) * | 2016-12-26 | 2020-07-28 | 普联技术有限公司 | Method and device for generating shortcut |
CN109933614A (en) * | 2019-02-01 | 2019-06-25 | 王亚萍 | A kind of electronic tax office data preprocess method based on big data behavioural analysis |
CN109933614B (en) * | 2019-02-01 | 2021-08-06 | 青岛微智慧信息有限公司 | Electronic tax bureau data preprocessing method based on big data behavior analysis |
CN110110170A (en) * | 2019-04-30 | 2019-08-09 | 北京字节跳动网络技术有限公司 | A kind of method, apparatus of data processing, medium and electronic equipment |
CN110110170B (en) * | 2019-04-30 | 2021-12-07 | 北京字节跳动网络技术有限公司 | Data processing method, device, medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105653354A (en) | Batch processing method and device | |
CN1269022C (en) | Equipment environment configuraration system and method, and used data storage medium | |
CN104123496A (en) | Rogue software interception method, device and terminal | |
CN109582547A (en) | Electronic device, monitoring data alarm method and storage medium | |
CN105068823A (en) | Application processing method, application processing apparatus and terminal | |
CN105786481A (en) | Method and device for setting application self-starting and electronic equipment | |
CN101354691A (en) | Host apparatus capable of connecting with at least one device and method of connecting host apparatus to device | |
CN112996020A (en) | Bluetooth-based automatic testing method and device and Bluetooth testing terminal | |
CN103491395A (en) | Method for expanding peripheral units of smart television and smart television | |
CN104363112A (en) | Parameter management method and parameter management device | |
CN111291443B (en) | Automatic generation method, device and equipment for I/O module model of vehicle control unit software | |
CN109240916A (en) | Information output controlling method, device and computer readable storage medium | |
CN107315947A (en) | Pay class application management method, device and mobile terminal | |
CN113272785B (en) | Method for mounting file system, terminal equipment and storage medium | |
CN115113890A (en) | Automatic deployment method, system, equipment and medium of terminal software | |
CN114706526A (en) | Automatic capacity expansion method, system and equipment for cloud native storage data volume | |
CN107272989A (en) | Using startup method, device and terminal device | |
CN109543420B (en) | Permission configuration method and device based on sud, electronic equipment and storage medium | |
US8495033B2 (en) | Data processing | |
CN113076093A (en) | Power monitoring system configuration method and device and terminal | |
US20140223152A1 (en) | Configuring operating system administration capabilities using an embedded workflow engine | |
CN112000354A (en) | Version information updating method, version information updating device, version information updating equipment and storage medium | |
CN105653009A (en) | Method and device for starting night sleep mode and electronic equipment | |
JP2005135075A (en) | Equipment management system | |
CN113196235A (en) | Fast application adding 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160608 |