CN104423979B - Information processing method and device - Google Patents

Information processing method and device Download PDF

Info

Publication number
CN104423979B
CN104423979B CN201310373803.7A CN201310373803A CN104423979B CN 104423979 B CN104423979 B CN 104423979B CN 201310373803 A CN201310373803 A CN 201310373803A CN 104423979 B CN104423979 B CN 104423979B
Authority
CN
China
Prior art keywords
title
data
character
application program
renaming
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.)
Active
Application number
CN201310373803.7A
Other languages
Chinese (zh)
Other versions
CN104423979A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310373803.7A priority Critical patent/CN104423979B/en
Publication of CN104423979A publication Critical patent/CN104423979A/en
Application granted granted Critical
Publication of CN104423979B publication Critical patent/CN104423979B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of information processing method and devices, belong to the communications field.The described method includes:It detects the event of renaming for the first object, and gets the second character renamed, respond event of renaming, the first title of the first object is arranged to editing mode;The first character of the first title is replaced with the second character, the title of the first object is changed to the second title from the first title to realize;During renaming, the first data are handled to obtain the second data, so that running the second application program when obtaining the trigger action for the first object after renaming and loading the second data.Described device includes:Detection module, respond module and processing module.The present invention realizes the first data of event automatic trigger of renaming to the conversion of the second data, and the validity of corresponding second data of the first object after renaming is ensure that while renaming, simplifies the operation of user, improves treatment effeciency, convenience is stronger.

Description

Information processing method and device
Technical field
The present invention relates to the communications field, more particularly to a kind of information processing method and device.
Background technology
At present, user needs to be compressed a file under many scenes, as user want send a file, but It is that file is larger to cause transmission speed too slow or can not send at all, therefore, user can be compressed this document, compress It is retransmited after to smaller file.
But user when being compressed to file, it is necessary to manually select tool of compression, and perform corresponding operation, such as exist Click right on file, the compression options for selecting to need in right button menu are in the case where needing arrange parameter, it is also necessary to Select and set of parameter etc. is carried out in the Parameter Set-up Menu of pop-up, operation is comparatively laborious, and use is very inconvenient, especially It is less efficient for the unfamiliar user of computer.
The content of the invention
In view of this, the present invention provides a kind of information processing method and device, to improve the efficiency of file process, more It is user-friendly.The technical solution is as follows:
In a first aspect, providing a kind of information processing method, the method is applied in electronic equipment, the electronic equipment With the first application program and the second application program, the electronic equipment further includes the first object, and first object is corresponding First data can be run and loaded by first application program, and the first title of first object includes the first character, institute State that the first character is corresponding with first application program, so that being run when obtaining the trigger action for first object First application program and first data are loaded based on the application program, wherein, first character is described The suffix name of first title;The described method includes:
It detects the event of renaming for first object, and gets the second character renamed, described second Character is corresponding with second application program;
It renames described in response event, first title of first object is arranged to editing mode;
The first character of first title is replaced with second character, with realize by the title of first object from First title is changed to the second title, and second character is the suffix name of second title;
By the title of first object from during first title is changed to second title, to described First data handled to obtain with rename after corresponding second data of first object so that obtaining for renaming Second application program is run during the trigger action of first object afterwards and is loaded based on second application program Second data.
Wherein, by the title of first object from during first title is changed to second title, First data are handled to obtain with rename after corresponding second data of first object, including:
By the title of first object from during first title is changed to second title, according to institute It states the first character and the second character searches coded conversion device;
First object pair after first data are handled to obtain and renamed using the coded conversion device The second data answered.
Further, before searching coded conversion device according to first character and the second character, further include:
Confirm whether the corresponding form of first character form corresponding with second character has relevance;
If it is, perform the step of coded conversion device is searched according to first character and the second character.
Wherein, by the title of first object from during first title is changed to second title, First data are handled to obtain with rename after corresponding second data of first object, including:
The title of first object from during first title is changed to second title, is being passed through into institute State the second application program first data are handled to obtain with rename after corresponding second data of first object.
Further, described in after first data being handled to obtain and renamed by second application program Before corresponding second data of first object, further include:
The corresponding form of first character lattice corresponding with second character are confirmed by second application program Whether formula has relevance;
If it is, after execution is handled to obtain and renamed by second application program to first data The step of first object corresponding second data.
Wherein, by the title of first object from during first title is changed to second title, First data are handled to obtain with rename after corresponding second data of first object, including:
By the title of first object from during first title is changed to second title, output ginseng Number sets interface for users arrange parameter;
Receive the parameter of user setting, according to the parameter received, first data are handled to obtain with Corresponding second data of first object after renaming.
Further, first data are handled to obtain and is counted with first object corresponding second after renaming According to afterwards, further include:
Delete corresponding first data of first object before renaming.
Second aspect provides a kind of information processing unit, and described device is applied in electronic equipment, the electronic equipment With the first application program and the second application program, the electronic equipment further includes the first object, and first object is corresponding First data can be run and loaded by first application program, and the first title of first object includes the first character, institute State that the first character is corresponding with first application program, so that being run when obtaining the trigger action for first object First application program and first data are loaded based on the application program, wherein, first character is described The suffix name of first title;Described device includes:
Detection module for detecting the event of renaming for being directed to first object, and gets rename second Character, second character are corresponding with second application program;
Respond module for responding the event of renaming, first title of first object is arranged to edit State;
Processing module, for replacing the first character of first title with second character, to realize described the The title of an object is changed to the second title from first title, and second character is the suffix name of second title; By the title of first object from during first title is changed to second title, to first data Handled to obtain with rename after corresponding second data of first object so that obtaining for described in after renaming Second application program is run during the trigger action of the first object and based on second application program loading described second Data.
Wherein, the processing module includes:
Searching unit, for the title of first object to be changed to second title from first title In the process, coded conversion device is searched according to first character and the second character;
First processing units, after first data are handled to obtain and renamed using the coded conversion device Corresponding second data of first object.
Further, the searching unit is used for:
The title of first object from during first title is changed to second title, is being confirmed into institute State whether the corresponding form of the first character form corresponding with second character has relevance, if it is, according to described First character and the second character search coded conversion device.
Wherein, the processing module includes:
Second processing unit, for the title of first object to be changed to the second place from first title During title, described first pair after first data are handled to obtain and renamed by second application program As corresponding second data.
Further, the second processing unit is used for:
The title of first object from during first title is changed to second title, is being passed through into institute It states the second application program and confirms whether the corresponding form of first character form corresponding with second character has association Property, if it is, described first after first data are handled to obtain and renamed by second application program Corresponding second data of object.
Wherein, the processing module includes:
Output unit, for the title of first object to be changed to second title from first title In the process, output parameter sets interface for users arrange parameter;
Receiving unit, for receiving the parameter of user setting;
3rd processing unit for the parameter received according to the receiving unit, carries out first data Processing obtain with rename after corresponding second data of first object.
Further, described device further includes:
Removing module, for described after the processing module is handled to obtain and renamed to first data After corresponding second data of an object, corresponding first data of first object before renaming are deleted.
The advantageous effect that technical solution provided by the invention is brought is:Renaming for first object is directed to by detecting Event, and the second character renamed is got, second character is corresponding with second application program;Described in response more Name event, editing mode is arranged to by first title of first object;Described first is replaced with second character The title of first object is changed to the second title by the first character of title to realize from first title, and described the Two characters are the suffix name of second title;The title of first object is being changed to described from first title During two titles, first data are handled to obtain with rename after corresponding second number of first object According to so that running second application program and base when obtaining the trigger action for first object after renaming Second data are loaded in second application program, realize event automatic trigger operation accordingly of renaming to the first data It is handled to obtain the second data, not only realizes renaming for the first object, but also ensure that the first object after renaming corresponds to The second data validity, user only by rename can relaxedly and rapidly realize normal use rename after second number According to, the operation of user is greatly simplified, it is more convenient easy-to-use, treatment effeciency is improved, is either familiar with the user of computer, also It is the user for being unfamiliar with computer, all easy to operate, direct convenience, convenience is stronger.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is the information processing method flow chart that the embodiment of the present invention 1 provides;
Fig. 2 is the information processing method flow chart that the embodiment of the present invention 2 provides;
Fig. 3 is the information processing method flow chart that the embodiment of the present invention 3 provides;
Fig. 4 is the information processing method flow chart that the embodiment of the present invention 4 provides;
Fig. 5 is the information processing unit structure chart that the embodiment of the present invention 5 provides;
Fig. 6 is the information processing unit structure chart that the embodiment of the present invention 6 provides.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Embodiment 1
Referring to Fig. 1, a kind of information processing method is present embodiments provided, applied in electronic equipment, which has There are the first application program and the second application program, which further includes the first object, corresponding first number of first object According to can be run and loaded by first application program, the first title of first object includes the first character, first character with First application program correspond to so that obtain for first object trigger action when run first application program with And first data are loaded based on the application program, wherein, which is the suffix name of first title;This method bag It includes:
101:It detects the event of renaming for first object, and gets the second character renamed, this second Character is corresponding with second application program;
102:The event of renaming is responded, first title of first object is arranged to editing mode;
103:The first character of first title is replaced with second character, with realize by the title of first object from this First title is changed to the second title, which is the suffix name of second title;
104:By the title of first object from during first title is changed to second title, to this first Data handled to obtain with rename after corresponding second data of first object so that obtain for after renaming should Second application program is run during the trigger action of the first object and second data are loaded based on second application program.
In the present embodiment, first object includes but not limited to:File etc..First entitled first object Original title, the newname that the second entitled user is set as needed for the first object.For example, file is original Entitled a.mp4, user's newname after setting that rename are known as a.rm.
First character is the suffix name of the first title, and the second character is the suffix name of the second title.Wherein, due to What two characters were arranged as required to for user, therefore, which may have relevance with the first character, it is also possible to not have Relevant property, the present embodiment are not specifically limited this.The relevance refers to that the first object has in front and rear form of renaming Certain association, specifically, if the form after renaming can be obtained by the format conversion before renaming, then it is assumed that the two, which has, closes Connection property, if the form after renaming cannot be obtained by the format conversion before renaming, then it is assumed that the two does not have relevance.
For loading corresponding first data of the first object, second application program is used to add first application program Carry corresponding second data of the first object.In the present embodiment, first application program can phase with second application program Together, can not also be same, it is not specifically limited herein.For example, the first application program and the second application program are player, then Such as, the first application program is notepad, and the second application program is compressed software etc., and the present embodiment is not specifically limited this.
Wherein, by the title of first object from during first title is changed to second title, to this One data handled to obtain with rename after corresponding second data of first object, including:
By the title of first object from during first title is changed to second title, according to first word Symbol and the second character search coded conversion device;
First data are handled to obtain using the coded conversion device with rename after first object corresponding Two data.
Further, before searching coded conversion device according to first character and the second character, further include:
Confirm whether the corresponding form of the first character form corresponding with second character has relevance;
If it is, perform the step of coded conversion device is searched according to first character and the second character.
Wherein, by the title of first object from during first title is changed to second title, to this One data handled to obtain with rename after corresponding second data of first object, including:
By the title of first object from during first title is changed to second title, second should by this First data are handled to obtain with program with rename after corresponding second data of first object.
Further, the first couple after first data being handled to obtain and renamed by second application program Before corresponding second data, further include:
Whether the corresponding form of first character form corresponding with second character is confirmed by second application program With relevance;
If it is, perform after first data are handled to obtain and renamed by second application program this The step of an object corresponding second data.
Wherein, by the title of first object from during first title is changed to second title, to this One data handled to obtain with rename after corresponding second data of first object, including:
By the title of first object, from during first title is changed to second title, output parameter is set Interface for users arrange parameter;
The parameter of user setting is received, according to the parameter received, which is handled to obtain and be renamed Corresponding second data of first object afterwards.
In the present embodiment, which is handled to obtain with rename after corresponding second data of first object Afterwards, further include:
Delete corresponding first data of first object before renaming.
The above method provided in this embodiment, the event of renaming of first object is directed to by detecting, and is got For the second character renamed, second character is corresponding with second application program;Rename described in response event, will described in First title of first object is arranged to editing mode;The first word of first title is replaced with second character The title of first object is changed to the second title by symbol to realize from first title, and second character is described The suffix name of second title;The title of first object is being changed to the process of second title from first title In, first data are handled to obtain with rename after corresponding second data of first object so that obtaining Second application program is run when must be directed to the trigger action of first object after renaming and is answered based on described second Second data are loaded with program, realizing event automatic trigger of renaming, operation is handled to obtain to the first data accordingly Second data not only realize renaming for the first object, but also ensure that corresponding second data of the first object after renaming Validity, user only by rename can relaxedly and rapidly realize normal use rename after the second data, it is greatly simple Change the operation of user, it is more convenient easy-to-use, treatment effeciency is improved, the user of computer is either familiar with, is still unfamiliar with electricity The user of brain, all easy to operate, direct convenience, convenience are stronger.
Embodiment 2
Referring to Fig. 2, a kind of information processing method is present embodiments provided, applied in electronic equipment, which has There are the first application program and the second application program, which further includes the first object, corresponding first number of first object According to can be run and loaded by first application program, the first title of first object includes the first character, first character with First application program correspond to so that obtain for first object trigger action when run first application program with And first data are loaded based on the application program, wherein, which is the suffix name of first title;This method bag It includes:
201:It detects the event of renaming for the first object, and gets the second character renamed, second word Symbol is corresponding with the second application program;
202:The event of renaming is responded, the first title of the first object is arranged to editing mode;
203:The first character of the first title is replaced with the second character, to realize the title of the first object from the first title The second title is changed to, which is the suffix name of the second title;
In the present embodiment, first object includes but not limited to:File etc..First entitled first object Original title, the newname that the second entitled user is set as needed for the first object.For example, file is original Entitled a.mp4, user's newname after setting that rename are known as a.rm.
First character is the suffix name of the first title, and the second character is the suffix name of the second title.Wherein, due to What two characters were arranged as required to for user, therefore, which may have relevance with the first character, it is also possible to not have Relevant property, the present embodiment are not specifically limited this.The relevance refers to that the first object has in front and rear form of renaming Certain association, specifically, if the form after renaming can be obtained by the format conversion before renaming, then it is assumed that the two, which has, closes Connection property, if the form after renaming cannot be obtained by the format conversion before renaming, then it is assumed that the two does not have relevance.
204:By the title of the first object from during the first title is changed to the second title, according to the first character and Second character searches coded conversion device;
In the present embodiment, the coded conversion device found can be the converter of simple function, such as only realize by renaming The conversion of first object corresponding second data of corresponding first data of the first preceding object to after renaming.It is of course also possible to For the coded conversion device with multiple functions, the conversion of multiple format can be such as realized, the present embodiment is not specifically limited this.
205:The first data are handled to obtain using the coded conversion device with rename after the first object corresponding Two data, so that running the second application program and based on this when obtaining the trigger action for the first object after renaming Second application program loads second data.
Wherein, the corresponding form of second data is effective form, so as to ensure that the second data that processing obtains It effectively, being capable of normal use.
For loading corresponding first data of the first object, second application program is used to add first application program Carry corresponding second data of the first object.In the present embodiment, first application program can phase with second application program Together, can not also be same, it is not specifically limited herein.For example, the first application program and the second application program are player, then Such as, the first application program is notepad, and the second application program is compressed software etc., and the present embodiment is not specifically limited this.
It is noted that the present embodiment can also be applied to following scene:First application program and the second application program For same application program, still, which has failed when loading corresponding first data of the first object, can not normally add Carry, after first data are converted to the second data during it will rename, the application program can with normal load this second Data, corresponding second data of the first object after being renamed so as to user by the application program normal use, entire mistake Journey is easy to operate, and user need to only change the suffix name of the first object, greatly simplifie operation, reduce complexity, carry High treatment effeciency.The application program can be player etc., after the file failure that rm forms are loaded such as a player, This document is converted to the file of mp4 forms by the above method, it is possible to which normal play uses.
In the present embodiment, further, before searching coded conversion device according to first character and the second character, also wrap It includes:
Confirm whether the corresponding form of the first character form corresponding with second character has relevance;
If it is, perform the step of coded conversion device is searched according to first character and the second character.
In the present embodiment, the first object pair after the first data are handled to obtain and renamed using the coded conversion device The second data answered, can include:
The coded conversion device output parameter sets interface for users arrange parameter;
The coded conversion device receives the parameter of user setting, and according to the parameter received, which is handled Obtain with rename after corresponding second data of first object.
In the present embodiment, which is handled to obtain with rename after corresponding second data of first object Afterwards, can also include:
Delete corresponding first data of the first object before renaming.
By deleting corresponding first data of the first object before renaming, can system space effectively be saved for user, The wasting of resources is avoided, since user needs to use corresponding second data of the first object after renaming, first before renaming Corresponding first data of object have not used, the first object before especially renaming be user can not normal use file In the case of, can by user it is unwanted it is described rename before file delete, so as to reach saving system space, avoid resource unrestrained The effect taken.
The above method provided in this embodiment, the event of renaming of first object is directed to by detecting, and is got For the second character renamed, second character is corresponding with second application program;Rename described in response event, will described in First title of first object is arranged to editing mode;The first word of first title is replaced with second character The title of first object is changed to the second title by symbol to realize from first title, and second character is described The suffix name of second title;The title of first object is being changed to the process of second title from first title In, coded conversion device is searched according to the first character and the second character, using the coded conversion device to first data at Reason obtain with rename after corresponding second data of first object so that obtaining for described first pair after renaming Second application program is run during the trigger action of elephant and second data are loaded based on second application program, it is real Having showed event automatic trigger of renaming, operation handles the first data to obtain the second data accordingly, not only realizes first pair Elephant is renamed, and ensure that the validity of corresponding second data of the first object after renaming, and user is only by renaming just Can relaxedly and rapidly realize normal use rename after the second data, greatly simplifie the operation of user, it is more convenient easily With, treatment effeciency is improved, is either familiar with the user of computer, is still unfamiliar with the user of computer, it is all easy to operate, it is directly square Just, convenience is stronger.
Embodiment 3
Referring to Fig. 3, a kind of information processing method is present embodiments provided, applied in electronic equipment, which has There are the first application program and the second application program, which further includes the first object, corresponding first number of first object According to can be run and loaded by first application program, the first title of first object includes the first character, first character with First application program correspond to so that obtain for first object trigger action when run first application program with And first data are loaded based on the application program, wherein, which is the suffix name of first title;This method bag It includes:
301:It detects the event of renaming for first object, and gets the second character renamed, this second Character is corresponding with second application program;
302:The event of renaming is responded, first title of first object is arranged to editing mode;
303:The first character of first title is replaced with second character, with realize by the title of first object from this First title is changed to the second title, which is the suffix name of second title;
In the present embodiment, first object includes but not limited to:File etc..First entitled first object Original title, the newname that the second entitled user is set as needed for the first object.For example, file is original Entitled a.mp4, user's newname after setting that rename are known as a.rm.
First character is the suffix name of the first title, and the second character is the suffix name of the second title.Wherein, due to What two characters were arranged as required to for user, therefore, which may have relevance with the first character, it is also possible to not have Relevant property, the present embodiment are not specifically limited this.The relevance refers to that the first object has in front and rear form of renaming Certain association, specifically, if the form after renaming can be obtained by the format conversion before renaming, then it is assumed that the two, which has, closes Connection property, if the form after renaming cannot be obtained by the format conversion before renaming, then it is assumed that the two does not have relevance.
For example, file a.rm is renamed as a.rmvb by user, wherein, rm forms and rmvb forms are all the lattice of video file Formula can carry out therebetween format conversion, it is therefore contemplated that with relevance.Alternatively, b.mp4 is converted to b.rm by user, In, mp4 forms and rm forms are all the forms of video file, can carry out format conversion therebetween, it is therefore contemplated that with closing Connection property.For another example, c.txt is renamed as c.rar by user, wherein, rar is compressed format, can be by the compressing file of any form For rar files, it is therefore contemplated that the file of rar and any form all has relevance, then txt forms have with rar forms Relevance.
304:By the title of first object from during first title is changed to second title, by this Two application programs first data are handled to obtain with rename after corresponding second data of first object so that Second application program is run when obtaining the trigger action for first object after renaming and based on this second using journey Sequence loads second data.
Wherein, the corresponding form of second data is effective form, so as to ensure that the second data that processing obtains It effectively, being capable of normal use.
Further, the first couple after first data being handled to obtain and renamed by second application program Before corresponding second data, further include:
Whether the corresponding form of first character form corresponding with second character is confirmed by second application program With relevance;
If it is, perform after first data are handled to obtain and renamed by second application program this The step of an object corresponding second data.
In the present embodiment, by the title of first object from during first title is changed to second title, First data are handled to obtain by second application program with rename after corresponding second data of first object, Including:
By the title of first object from during first title is changed to second title, the second application program Output parameter sets interface for users arrange parameter;
Second application program receives the parameter of user setting, according to the parameter received, at first data Reason obtain with rename after corresponding second data of first object.
In the present embodiment, which is handled to obtain with rename after corresponding second data of first object Afterwards, further include:
Delete corresponding first data of first object before renaming.
By deleting corresponding first data of the first object before renaming, can system space effectively be saved for user, The wasting of resources is avoided, since user needs to use corresponding second data of the first object after renaming, first before renaming Corresponding first data of object have not used, the first object before especially renaming be user can not normal use file In the case of, can by user it is unwanted it is described rename before file delete, so as to reach saving system space, avoid resource unrestrained The effect taken.
The above method provided in this embodiment, the event of renaming of first object is directed to by detecting, and is got For the second character renamed, second character is corresponding with second application program;Rename described in response event, will described in First title of first object is arranged to editing mode;The first word of first title is replaced with second character The title of first object is changed to the second title by symbol to realize from first title, and second character is described The suffix name of second title;The title of first object is being changed to the process of second title from first title In, first data are handled to obtain by second application program with rename after first object corresponding Two data so that run when obtaining the trigger action for first object after renaming second application program with And second data are loaded based on second application program, event automatic trigger operation accordingly of renaming is realized to first Data are handled to obtain the second data, not only realize renaming for the first object, but also ensure that the first object after renaming The validity of corresponding second data, user only by rename can relaxedly and rapidly realize normal use rename after Two data greatly simplifie the operation of user, more convenient easy-to-use, improve treatment effeciency, are either familiar with the use of computer Family, is still unfamiliar with the user of computer, all easy to operate, direct convenience, and convenience is stronger.
Embodiment 4
Referring to Fig. 4, a kind of information processing method is present embodiments provided, applied in electronic equipment, which has There are the first application program and the second application program, which further includes the first object, corresponding first number of first object According to can be run and loaded by first application program, the first title of first object includes the first character, first character with First application program correspond to so that obtain for first object trigger action when run first application program with And first data are loaded based on the application program, wherein, which is the suffix name of first title;This method bag It includes:
401:It detects the event of renaming for first object, and gets the second character renamed, this second Character is corresponding with second application program;
402:The event of renaming is responded, first title of first object is arranged to editing mode;
403:The first character of first title is replaced with second character, with realize by the title of first object from this First title is changed to the second title, which is the suffix name of second title;
404:By the title of first object from during first title is changed to second title, it is defeated Go out parameter setting interface for users arrange parameter;
Specifically, a dialog box can be popped up to check for user, show in the dialog box and turn with the form that will be carried out Related various parameters setting option is changed, user can be arranged as required to parameters, to turn according to the parameter into row format It changes.
For example, on the interface for carrying out video format conversion, video resolution, bit rate, frame rate etc. can be shown Parameter, user can select the parameter value of acquiescence, can also manual setting parameters as needed numerical value, the present embodiment pair This is not specifically limited.
405:The parameter of user setting is received, according to the parameter received, first data handle To with rename after corresponding second data of first object so that obtaining touching for first object after renaming It runs second application program during hair operation and second data is loaded based on second application program.
In the present embodiment, if the parameter of user setting includes deleting corresponding first data of the first object before renaming, Then first data are handled obtain with rename after corresponding second data of first object after, delete more Corresponding first data of the first object before name.
It is illustrated below with two specific scenes.
For example, in the scene of user's converting video file, detect user mp4 Bulk Rename Utilities renaming for rm files Event determines the relevance of mp4 and rm, since both files belong to video file together, has relevance;Mp4 is searched to turn The forced coding converter of rm is shifted to, pops up dialog box, allows user that conversion parameter, such as bit rate are set in dialog box; According to parameter set by user, which is converted into rm files, and by the suffix name of file after convert file formats It is revised as rm.
For another example, in the scene of user's compressed file, detect that user is renamed as txt file the thing of renaming of rar files Part determines the relevance of txt and rar, since rar belongs to compressed file format, it is possible to arbitrary file association;It searches Rar compressing file instruments pop up dialog box, and user is allowed to set conversion parameter, such as compression ratio in dialog box;According to user The suffix name of file by the txt file boil down to rar files, and is revised as by the parameter of setting after convert file formats rar。
The above method provided in this embodiment, the event of renaming of first object is directed to by detecting, and is got For the second character renamed, second character is corresponding with second application program;Rename described in response event, will described in First title of first object is arranged to editing mode;The first word of first title is replaced with second character The title of first object is changed to the second title by symbol to realize from first title, and second character is described The suffix name of second title;The title of first object is being changed to the process of second title from first title In, output parameter sets interface for users arrange parameter, receives the parameter of user setting, right according to the parameter received First data handled to obtain with rename after corresponding second data of first object so that being directed to Second application program is run during the trigger action of first object after renaming and based on second application program Second data are loaded, realizing event automatic trigger of renaming, operation handles the first data to obtain the second number accordingly According to, renaming for the first object is not only realized, but also ensure that the validity of corresponding second data of the first object after renaming, User only by rename can relaxedly and rapidly realize normal use rename after the second data, greatly simplifie user Operation, it is more convenient easy-to-use, improve treatment effeciency, be either familiar with the user of computer, be still unfamiliar with the user of computer, All easy to operate, direct convenience, convenience is stronger.
Embodiment 5
Referring to Fig. 5, a kind of information processing unit is present embodiments provided, applied in electronic equipment, which has There are the first application program and the second application program, which further includes the first object, corresponding first number of first object According to can be run and loaded by first application program, the first title of first object includes the first character, first character with First application program correspond to so that obtain for first object trigger action when run first application program with And first data are loaded based on the application program, wherein, which is the suffix name of first title;The device bag It includes:
Detection module 501 for detecting the event of renaming for being directed to first object, and gets rename second Character, second character are corresponding with second application program;
First title of first object for responding the event of renaming, is arranged to editor's shape by respond module 502 State;
Processing module 503, for replacing the first character of first title with second character, to realize the first couple The title of elephant is changed to the second title from first title, which is the suffix name of second title;By this first The title of object is handled to obtain and renamed from during first title is changed to second title to first data Corresponding second data of first object afterwards, so that obtaining the trigger action luck for first object after renaming Row and loads second data at second application program based on second application program.
In the present embodiment, above-mentioned electronic equipment includes but not limited to:Computer, laptop, tablet computer and mobile phone Etc., it is not specifically limited herein.
In the present embodiment, first object includes but not limited to:File etc..First entitled first object Original title, the newname that the second entitled user is set as needed for the first object.For example, file is original Entitled a.mp4, user's newname after setting that rename are known as a.rm.
First character is the suffix name of the first title, and the second character is the suffix name of the second title.Wherein, due to What two characters were arranged as required to for user, therefore, which may have relevance with the first character, it is also possible to not have Relevant property, the present embodiment are not specifically limited this.The relevance refers to that the first object has in front and rear form of renaming Certain association, specifically, if the form after renaming can be obtained by the format conversion before renaming, then it is assumed that the two, which has, closes Connection property, if the form after renaming cannot be obtained by the format conversion before renaming, then it is assumed that the two does not have relevance.
For loading corresponding first data of the first object, second application program is used to add first application program Carry corresponding second data of the first object.In the present embodiment, first application program can phase with second application program Together, can not also be same, it is not specifically limited herein.For example, the first application program and the second application program are player, then Such as, the first application program is notepad, and the second application program is compressed software etc., and the present embodiment is not specifically limited this.
In the present embodiment, processing module 503 can include:
Searching unit, for the title of first object to be changed to the process of second title from first title In, coded conversion device is searched according to first character and the second character;
First processing units, for after first data are handled to obtain and renamed using the coded conversion device should Corresponding second data of first object.
In the present embodiment, the coded conversion device found can be the converter of simple function, such as only realize by renaming The conversion of first object corresponding second data of corresponding first data of the first preceding object to after renaming.It is of course also possible to For the coded conversion device with multiple functions, the conversion of multiple format can be such as realized, the present embodiment is not specifically limited this.
Further, which is used for:
The title of first object from during first title is changed to second title, is being confirmed into first word Accord with whether corresponding form form corresponding with second character has relevance, if it is, according to first character and the Two characters search coded conversion device.
In the present embodiment, processing module 503 can include:
Second processing unit, for the title of first object to be changed to the mistake of second title from first title Cheng Zhong, first data are handled to obtain by second application program with rename after first object corresponding second Data.
Further, second processing unit is used for:
By the title of first object from during first title is changed to second title, second should by this Whether there is relevance with the program validation corresponding form of the first character form corresponding with second character, if it is, First data are handled to obtain by second application program with rename after corresponding second data of first object.
In the present embodiment, the corresponding form of second data is effective form, so as to ensure that processing obtains the Two data are effective, being capable of normal use.
It is noted that the present embodiment can also be applied to following scene:First application program and the second application program For same application program, still, which has failed when loading corresponding first data of the first object, can not normally add Carry, after first data are converted to the second data during it will rename, the application program can with normal load this second Data, corresponding second data of the first object after being renamed so as to user by the application program normal use, entire mistake Journey is easy to operate, and user need to only change the suffix name of the first object, greatly simplifie operation, reduce complexity, carry High treatment effeciency.The application program can be player etc., after the file failure that rm forms are loaded such as a player, This document is converted to the file of mp4 forms by the above method, it is possible to which normal play uses.
In the present embodiment, processing module 503 includes:
Output unit, for the title of first object to be changed to the process of second title from first title In, output parameter sets interface for users arrange parameter;
Receiving unit, for receiving the parameter of user setting;
3rd processing unit for the parameter received according to the receiving unit, to first data handle To with rename after corresponding second data of first object.
Referring to Fig. 6, in the present embodiment, above device can also include:
Removing module 504, for after the processing module is handled to obtain and renamed to first data this first After corresponding second data of object, corresponding first data of first object before renaming are deleted.
By deleting corresponding first data of the first object before renaming, can system space effectively be saved for user, The wasting of resources is avoided, since user needs to use corresponding second data of the first object after renaming, first before renaming Corresponding first data of object have not used, the first object before especially renaming be user can not normal use file In the case of, can by user it is unwanted it is described rename before file delete, so as to reach saving system space, avoid resource unrestrained The effect taken.
Above device provided in this embodiment can perform the method provided in any of the above-described embodiment of the method, detailed process See the description in embodiment of the method, do not repeat herein.
Above device provided in this embodiment, the event of renaming of first object is directed to by detecting, and is got For the second character renamed, second character is corresponding with second application program;Rename described in response event, will described in First title of first object is arranged to editing mode;The first word of first title is replaced with second character The title of first object is changed to the second title by symbol to realize from first title, and second character is described The suffix name of second title;The title of first object is being changed to the process of second title from first title In, first data are handled to obtain with rename after corresponding second data of first object so that obtaining Second application program is run when must be directed to the trigger action of first object after renaming and is answered based on described second Second data are loaded with program, realizing event automatic trigger of renaming, operation is handled to obtain to the first data accordingly Second data not only realize renaming for the first object, but also ensure that corresponding second data of the first object after renaming Validity, user only by rename can relaxedly and rapidly realize normal use rename after the second data, it is greatly simple Change the operation of user, it is more convenient easy-to-use, treatment effeciency is improved, the user of computer is either familiar with, is still unfamiliar with electricity The user of brain, all easy to operate, direct convenience, convenience are stronger.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and Within principle, any modifications, equivalent replacements and improvements are made should all be included in the protection scope of the present invention.

Claims (8)

1. a kind of information processing method, which is characterized in that the method is applied in electronic equipment, and the electronic equipment has the One application program and the second application program, the electronic equipment further include the first object, and first object corresponding first counts According to can be run and loaded by first application program, the first title of first object includes the first character, and described first Character is corresponding with first application program, so that running described the when obtaining the trigger action for first object One application program and first data are loaded based on the application program, wherein, first character is the first place The suffix name of title;The described method includes:
It detects the event of renaming for first object, and gets the second character renamed, second character It is corresponding with second application program;
It renames described in response event, first title of first object is arranged to editing mode;
The first character of first title is replaced with second character, to realize the title of first object from described First title is changed to the second title, and second character is the suffix name of second title;
By the title of first object from during first title is changed to second title, to described first Data handled to obtain with rename after corresponding second data of first object so that obtaining for after renaming Second application program is run during the trigger action of first object and based on described in second application program loading Second data;
By the title of first object from during first title is changed to second title, to described first Data handled to obtain with rename after corresponding second data of first object, including:
By the title of first object from during first title is changed to second title, according to described One character and the second character search coded conversion device;
First data are handled to obtain using the coded conversion device corresponding with first object after renaming Second data;
Or, the title of first object from during first title is changed to second title, is being passed through into institute State the second application program first data are handled to obtain with rename after corresponding second data of first object;
Or, by the title of first object from during first title is changed to second title, output ginseng Number sets interface for users arrange parameter;
The parameter of user setting is received, according to the parameter received, first data is handled to obtain and renamed Corresponding second data of first object afterwards.
2. according to the method described in claim 1, turn it is characterized in that, searching coding according to first character and the second character Before parallel operation, further include:
Confirm whether the corresponding form of first character form corresponding with second character has relevance;
If it is, perform the step of coded conversion device is searched according to first character and the second character.
3. according to the method described in claim 1, it is characterized in that, by second application program to first data into Row processing obtain with rename after corresponding second data of first object before, further include:
Confirm that the corresponding form of first character form corresponding with second character is by second application program It is no that there is relevance;
If it is, perform first data are handled to obtain and renamed by second application program after described in The step of first object corresponding second data.
4. according to the method in any one of claims 1 to 3, which is characterized in that first data handle To with rename after corresponding second data of first object after, further include:
Delete corresponding first data of first object before renaming.
5. a kind of information processing unit, which is characterized in that described device is applied in electronic equipment, and the electronic equipment has the One application program and the second application program, the electronic equipment further include the first object, and first object corresponding first counts According to can be run and loaded by first application program, the first title of first object includes the first character, and described first Character is corresponding with first application program, so that running described the when obtaining the trigger action for first object One application program and first data are loaded based on the application program, wherein, first character is the first place The suffix name of title;Described device includes:
Detection module for detecting the event of renaming for being directed to first object, and gets the second character renamed, Second character is corresponding with second application program;
First title of first object for responding the event of renaming, is arranged to editing mode by respond module;
Processing module, for replacing the first character of first title with second character, to realize described first pair The title of elephant is changed to the second title from first title, and second character is the suffix name of second title;It is inciting somebody to action The title of first object carries out first data from during first title is changed to second title Processing obtain with rename after corresponding second data of first object so that obtaining for described first after renaming Second application program is run during the trigger action of object and second data are loaded based on second application program;
The processing module includes:
Searching unit, for the title of first object to be changed to the process of second title from first title In, coded conversion device is searched according to first character and the second character;
First processing units, for the institute after first data are handled to obtain and renamed using the coded conversion device State corresponding second data of the first object;
Or, the processing module includes:
Second processing unit, for the title of first object to be changed to second title from first title In the process, first object pair after first data being handled to obtain and renamed by second application program The second data answered;
Or, the processing module includes:
Output unit, for the title of first object to be changed to the process of second title from first title In, output parameter sets interface for users arrange parameter;
Receiving unit, for receiving the parameter of user setting;
3rd processing unit for the parameter received according to the receiving unit, is handled first data Obtain with rename after corresponding second data of first object.
6. device according to claim 5, which is characterized in that the searching unit is used for:
By the title of first object from during first title is changed to second title, confirming described the Whether the corresponding form of one character form corresponding with second character has relevance, if it is, according to described first Character and the second character search coded conversion device.
7. device according to claim 5, which is characterized in that the second processing unit is used for:
The title of first object from during first title is changed to second title, is being passed through described Two application programs confirm whether the corresponding form of first character form corresponding with second character has relevance, such as Fruit is first object pair after then first data are handled to obtain and renamed by second application program The second data answered.
8. device according to any one of claims 5 to 7, which is characterized in that described device further includes:
Removing module, for described first pair after the processing module is handled to obtain and renamed to first data After corresponding second data, corresponding first data of first object before renaming are deleted.
CN201310373803.7A 2013-08-23 2013-08-23 Information processing method and device Active CN104423979B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310373803.7A CN104423979B (en) 2013-08-23 2013-08-23 Information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310373803.7A CN104423979B (en) 2013-08-23 2013-08-23 Information processing method and device

Publications (2)

Publication Number Publication Date
CN104423979A CN104423979A (en) 2015-03-18
CN104423979B true CN104423979B (en) 2018-06-01

Family

ID=52973061

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310373803.7A Active CN104423979B (en) 2013-08-23 2013-08-23 Information processing method and device

Country Status (1)

Country Link
CN (1) CN104423979B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094833A (en) * 2015-08-03 2015-11-25 联想(北京)有限公司 Data Processing method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1445649A (en) * 2002-03-20 2003-10-01 文化传信科技(澳门)有限公司 Data display method and system
CN101059797A (en) * 2006-04-20 2007-10-24 风网科技(北京)有限公司 Video frequency file automatic conversion system and its method
CN103177043A (en) * 2011-12-26 2013-06-26 联想(北京)有限公司 Method and electronic system used for transferring file across system platform

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1445649A (en) * 2002-03-20 2003-10-01 文化传信科技(澳门)有限公司 Data display method and system
CN101059797A (en) * 2006-04-20 2007-10-24 风网科技(北京)有限公司 Video frequency file automatic conversion system and its method
CN103177043A (en) * 2011-12-26 2013-06-26 联想(北京)有限公司 Method and electronic system used for transferring file across system platform

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"炫技";无;《少年电脑世界》;20130801;44-45 *
"玩转 Zip Magic 2000";张迎新;赵江;《软件》;20000615;30-32 *

Also Published As

Publication number Publication date
CN104423979A (en) 2015-03-18

Similar Documents

Publication Publication Date Title
JP7181958B2 (en) File processing method and mobile terminal
US9537957B2 (en) Seamless application session reconstruction between devices
CN101611395B (en) Method and system for media file conversion
US10003633B2 (en) Method and device for resuming file download
CN102572606A (en) Streaming digital content with flexible remote playback
CN103475572A (en) Method, device and system for sending multiple pictures in instant messaging application
US20130058266A1 (en) Method and system for realizing wireless USB flash disk
WO2015096597A1 (en) Method and device for browsing document by multiple devices
CN110795393A (en) Method, system, equipment and readable storage medium for analyzing binary format of document
CN101931706A (en) Method and device for inputting backup data into mobile terminal
CN102929488A (en) Automatic noting system and achieving method of electronic documents
CN104423979B (en) Information processing method and device
CN103020263A (en) Method, device and terminal for storing webpage information
CN102377688A (en) File transmission method and equipment
CN103440147A (en) Control method and device of software using version
CN104991934A (en) Directory deletion method and apparatus
CN106294293B (en) It is a kind of realize interactive electronic read system, method and apparatus
CN103136264A (en) Accessory inquiring method and user terminal
CN101945233A (en) Method for looking up PPT (Power Point) and PDF (Portable Document Format) documents and television adopting same
CN109739548B (en) Program packaging method, program packaging device and computer readable storage medium
CN111427917A (en) Search data processing method and related product
CN106095739A (en) Information creating method and information creating device
CN1512394A (en) Structural data variator, structure data varying method and program
CN102650907B (en) Method and device for replacing Fn key with combination key to execute device function
CN101907977B (en) Method and device for copying built-in hard disk data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant