Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present inventionIn accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment isThe a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the artThe every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
Mobile terminal, supports text entry function including mobile phone, PDA, panel computer, notebook computer, vehicle-mounted computer etc.Terminal unit.Note that mobile terminal carries or memorandum application provided the user at any time record, check record at any timeThe function of content, as user has known cell-phone number and the birthday of new friend, then can the new friends birthday in memorandum set the same dayPut the memorandum of " phoning 13xxxxxxxxx ", have recorded the cell-phone number of new friend the most easily, be also provided with new simultaneouslyFriends birthday is reminded.But due in memorandum can only text exhibition content, therefore, the cell-phone number in memorandum is only a string numberWord, even if the cell-phone number of new friend is configured in contacts list by user after this, user beat in new friends birthday the same dayStill it is only able to display a string cell-phone number when opening memorandum, and after the very long time, user has been hard to tell this cell-phone number and has beenThe cell-phone number of who contact person, this has had been out the effect of memorandum undoubtedly.Although this is only a kind of concrete scene, butDaily life is frequently encountered similar scene, i.e. for the cell-phone number, network address or the arithmetic that input in note before userThe contents such as formula, user is follow-up be likely to when again checking to have had forgotten about the cell-phone number that recorded at that time corresponding to who contact person,What network address is corresponding to the result of calculation that what web page contents or Arithmetic Expressions Using are corresponding, etc..This all will cause note or standbyForget record and lose its effective record effect.
The content processing method of embodiment of the present invention offer and device, can be applicable in note or memorandum application scenarios,To improve existing note or the function of memorandum application.By to the identification of user input content and parsing, set up user's inputAssociating between content with local data or network data, and by user input partial content conversion be shown as local data orThe content identification that network data is corresponding, thus can know that cell-phone number is corresponding intuitively when user checks note or memorandumWeb page contents corresponding to contact person, network address, Arithmetic Expressions Using result etc. clear, there is the recorded content of concrete meaning, Jin ErtiHigh user obtains the efficiency of useful information from note or memorandum.
It should be noted that the content processing method of embodiment of the present invention offer and device, also can be applicable to other needsContent is resolved and change in the scene of display, such as the content displaying after voice collecting, the chat content of social softwareInput and displaying etc. scene, the present invention is to this and is not specifically limited.
With reference to Fig. 1, the embodiment of the present invention provides a kind of content processing method, including:
101, it is judged that whether the content of user's input comprises the content to be resolved meeting preset content form, if it is,Then
102, search the content-data that described content to be resolved is corresponding, and obtain the content mark that described content-data is correspondingKnow;
103, described Content Transformation to be resolved is shown as described content identification.
The content processing method that the embodiment of the present invention provides, can be performed by mobile terminal, after resolving and showing conversionContent.
Specifically, in step 101, when receiving the content of user's input, it is judged that the content that user has inputted isThe no content to be resolved meeting preset content form that comprises, wherein, it is judged that the triggering of process can be held when user's end of input accords withOK, such as, when user inputs carriage-return character, the Current Content paragraph inputted can be carried out content analysis, it is judged that currentWhether interior paragraph comprises the content to be resolved meeting preset content form;Can also is that and input preset content form userContent to be resolved and immediately input resolve command time perform, such as, user is defeated after inputting a string cell-phone number, network address or calculating formula" space " character Command entered, can also is that the resolve command of other presets certainly, then judge that user is currently entered interiorWhether hold is the content to be resolved of preset content form;The triggering of judge process also can use other triggering mode, the present invention coupleThis is not especially limited.
Described preset content form is according to set by different-format corresponding to all kinds of contents to be resolved, such as, can setPutting preset content form corresponding to cell-phone number is 11 continuous print Arabic numerals: 1XXXXXXXXXX, 10 X represent 10 AhArabic numbers;Preset content form corresponding to network address is: http://xxxx.com/xxxxxx, wherein, and http://xxxx.comRepresenting network address domain name, the x of the most spacing number after domain name then represents the character that network address program, network address space etc. are corresponding.NeedBright, above-mentioned concrete preset content form is only exemplary, and the preset content form described in the embodiment of the present invention also may be usedTo be other the form that content to be resolved may be corresponding, such as, base number format, mailbox form, QQ form, WWWForm etc., this is not especially limited by the present invention.
In step 102, according to the preset content form that the content to be resolved identified in step 101 is corresponding, with described symbolClose preset content form content to be resolved search in local data or network data corresponding with described content to be resolved inHold data, and obtain the content identification that described content-data is corresponding.Wherein, local data can be user contacts list,Short message, application program archive etc., network data can be the network address, chat application account etc..Content-data is permissibleAssociated person information, short message content, Web content etc., and content identification can be name of contact person, webpage title, No. QQThe corresponding pet name or remark names etc. can characterize the mark of described content-data.
In step 103, the content identification got according to step 102, the content to be resolved in the content that user is inputtedConversion is shown as content identification, such as, the QQ number translated that user inputs can be shown as this QQ number right in local QQ applicationThe remark names answered, as being shown as " contact Zhang San " by " contact 12345678 " conversion in memorandum.
It addition, in the embodiment of the present invention, can be by the side of inquiry for finding the content to be resolved of corresponding content markFor user, formula chooses whether that conversion shows described content identification;Conversion shows after described content identification, and described content identification can be withUser meet accident input content to be resolved be associated, user by access described content identification still can check its input inHold.
The content processing method that the embodiment of the present invention provides, is identified by the content inputting user and analyzes, carryingTake out the content to be resolved wherein meeting preset content form, and perform this locality coupling or net mate according to content to be resolved,The content identification corresponding to obtain content to be resolved, and Content Transformation to be resolved is shown as the content identification of its correspondence.ThisThe content processing method that bright embodiment provides at least can realize following beneficial effect:
1) part content of text conversion user inputted is shown as characterizing the content identification of this part content of text,Thus after the most scattered content of text is resolved arrangement, obtain the display format facilitating user cognition, improve user to recordThe recognition efficiency of content.
2) take full advantage of local data and network data, the Content Transformation that user inputs is shown as in user's needsHold mark, to meet the memory habit of user, make note or memorandum realize more meeting user's request, more personalized auxiliary meritEnergy.
With reference to Fig. 2~4, with multiple embodiments, present disclosure processing method is described in detail below.
In Fig. 2, the content processing method that the embodiment of the present invention provides, including:
201, it is judged that whether the content of user's input comprises contact number, if it is,
202, contacts list is searched the contact data matched with described contact number, and obtains describedIt is identification of contacts corresponding to personal data;
203, the contact number comprised in content user inputted is converted to described identification of contacts and shows.
In the present embodiment, the content to be resolved meeting preset content form is contact number, and step 202 is according to identifyingContact number search in native contact list correspondence contact data, get the connection that this contact number is correspondingIt is after people identifies, the conversion of described contact number is shown as described identification of contacts.In the present embodiment, inputted by userContact number establishes associating between identification of contacts with contact data in note or memorandum, by note orIdentification of contacts in memorandum, user direct correlation can have access to corresponding contact data.
Such as, " phoning 13456781234 " conversion that the present embodiment can realize inputting user is shown as " making a phone callGiveLi Si", and user by click on display in note or memorandum "Li Si" contact person Li Si can be sent a telegraph by dial-in direct.AgainOr " qq contact 234512345 " is convertible is shown as that " qq contactsKing five", user's click "King five" can directly recall and kingThe qq chat window of five.
In Fig. 3, the content processing method that the embodiment of the present invention provides, including:
301, it is judged that whether the content of user's input comprises text network address, if it is,
302, search whether described text network address is effective network address according to described text network address, if it is,
303, the conversion of described text network address is shown as hyperlink network address.
In the present embodiment, the content to be resolved meeting preset content form is text network address, according to described text network address, stepBy network data, rapid 302 can determine whether whether described text network address is effective network address, such as can be according to text network address on backstageInitiate network access request, if there being response, representing that text network address is effective, the most also can use other judgment mode, thisBright this is not limited;If text network address is effective network address, then the conversion of described text network address is shown as hyperlink netLocation.In the present embodiment, establish associating between hyperlink network address and web page server by text network address, by describedHyperlink network address, user can directly access the web page server of correspondence to obtain web data.
In the present embodiment, can judge, according to step 302, the network access request initiated when described text network address is whether effectivelyThe webpage title carried in acquired response data, directly changes text network address and is shown as described webpage title.
With reference to Fig. 4, alternatively, the embodiment of the present invention, also include:
304, when monitoring the access request for described hyperlink network address, obtain the webpage that described access request is correspondingThe webpage title comprised in data;
305, the conversion of described hyperlink network address is shown as the described webpage title obtained.
That is to say, after described hyperlink network address is initiated access request by user, the net returned according to web page serverPage data and webpage title, be shown as described webpage title by the conversion of described hyperlink network address.This preferred embodiment, fullyConsider to know clearly user's request, the most still plays writing function due to note, and therefore, directly displaying network address should be user recordOriginal intention, and after only user initiates the access request of network address, user just can be with webpage name corresponding to its each network address accessedBeing referred to as remembering key word, therefore, this preferred embodiment has taken into full account record original intention and memory style two aspect of user, entersOne step improves Consumer's Experience.Certainly, mention as in foregoing embodiments, in the embodiment of the present invention, even if described text network addressAfter conversion is shown as webpage title, user still can check its original text network address inputted, or user performs duplication, forwardingDeng operation time, described content identification is converted into initial content to be resolved and carries out data transmission.
In Fig. 5, the content processing method that the embodiment of the present invention provides, including:
401, it is judged that whether the content of user's input comprises the content to be resolved meeting default Arithmetic Expressions Using form, ifIt is, then
402, obtain result of calculation according to the Arithmetic Expressions Using that described content to be resolved is corresponding;
403, Arithmetic Expressions Using conversion corresponding for described content to be resolved is shown as the described result of calculation obtained.
In the present embodiment, the content to be resolved meeting preset content form is Arithmetic Expressions Using, and step 402 is according in step 401Arithmetic Expressions Using can calculate according to preset Arithmetic Expressions Using rule and obtain result of calculation, step 403 is then by the conversion display of described Arithmetic Expressions UsingFor result of calculation.Such as, user and friend carry out weekly a badminton game, and are obtained by the victory or defeat of note record both sidesPoint, with additive as a example by, the every weekly assembly of user be that both sides add score, respectively and through 6 weeks on the basis of result of the match in last weekAccumulation match, according to existing label, then can only be recorded as " 1+2+3+1+5+5 ", within the 7th week, then can only be recorded as " 1+2+3+1+5+ 5+2 ", user often records once will the integration in former weeks of double counting;And in the present embodiment, can be by " the 1+ of user record2+3+1+5+5 " directly conversion be shown as result of calculation " 16 ", user need to record "+2 " at the 7th week after " 16 ", just can obtainObtaining the integral result " 18 " of the 7th week, this eliminates the manual calculations process of user, convenient and practical.Certainly, this is only simply to addMethod computing, the embodiment of the present invention is not limited to that, regular also by the Arithmetic Expressions Using configuring other, it is achieved other calculating.
With reference to Fig. 6, the embodiment of the present invention provides a kind of content processing apparatus, including:
Judge module 11, meets the to be resolved interior of preset content form for judging whether to comprise in the content that user inputsHold;
Identifier acquisition module 12, for searching the content-data that described content to be resolved is corresponding, and obtains described content numberAccording to corresponding content identification;
Conversion display module 13, for being shown as described content identification by described Content Transformation to be resolved.
Specifically, it is judged that in module 11, when receiving the content of user's input, it is judged that in the content that user has inputtedWhether comprise the content to be resolved meeting preset content form, wherein, it is judged that the triggering of process can be when user's end of input accords withPerform, such as, when user inputs carriage-return character, the Current Content paragraph inputted can be carried out content analysis, it is judged that whenWhether front interior paragraph comprises the content to be resolved meeting preset content form;Can also be and input preset content form userContent to be resolved and immediately input resolve command time perform, such as, user is defeated after inputting a string cell-phone number, network address or calculating formula" space " character Command entered, certainly can also be the resolve command of other presets, then judges the content that user is currently enteredIt it is whether the content to be resolved of preset content form;The triggering of judge process also can use other triggering mode, and the present invention is to thisIt is not especially limited.
Described preset content form is according to set by different-format corresponding to all kinds of contents to be resolved, such as, can setPutting preset content form corresponding to cell-phone number is 11 continuous print Arabic numerals: 1XXXXXXXXXX, 10 X represent 10 AhArabic numbers;Preset content form corresponding to network address is: http://xxxx.com/xxxxxx, wherein, and http://xxxx.comRepresenting network address domain name, the x of the most spacing number after domain name then represents the character that network address program, network address space etc. are corresponding.NeedBright, above-mentioned concrete preset content form is only exemplary, and the preset content form described in the embodiment of the present invention also may be usedTo be other the form that content to be resolved may be corresponding, such as, base number format, mailbox form, QQ form, WWWForm etc., this is not especially limited by the present invention.
In identifier acquisition module 12, according to the preset content lattice that the content to be resolved identified in judge module 11 is correspondingFormula, with the described content to be resolved meeting preset content form search in local data or network data with described to be resolved inHold corresponding content-data, and obtain the content identification that described content-data is corresponding.Wherein, local data can be the connection of userBeing list, short message, application program archive etc., network data can be the network address, chat application account etc..ContentData can be associated person information, short message content, Web content etc., and content identification can be name of contact person, webpageTitle, No. QQ corresponding pet name or remark names etc. can characterize the mark of described content-data.
In conversion display module 13, the content identification got according to identifier acquisition module 12, the content that user is inputtedIn Content Transformation to be resolved be shown as content identification, such as the QQ number translated that user inputs can be shown as this QQ number existRemark names corresponding in local QQ application, as being shown as " contact Zhang San " by " contact 12345678 " conversion in memorandum.
It addition, in the embodiment of the present invention, can be by the side of inquiry for finding the content to be resolved of corresponding content markFor user, formula chooses whether that conversion shows described content identification;Conversion shows after described content identification, and described content identification can be withUser meet accident input content to be resolved be associated, user by access described content identification still can check its input inHold.
The content processing apparatus that the embodiment of the present invention provides, is identified by the content inputting user and analyzes, carryingTake out the content to be resolved wherein meeting preset content form, and perform this locality coupling or net mate according to content to be resolved,The content identification corresponding to obtain content to be resolved, and Content Transformation to be resolved is shown as the content identification of its correspondence.ThisThe content processing apparatus that bright embodiment provides at least can realize following beneficial effect:
1) part content of text conversion user inputted is shown as characterizing the content identification of this part content of text,Thus obtain after the most scattered content of text is resolved arrangement and facilitate user cognition display format, improve user in recordThe recognition efficiency held.
2) take full advantage of local data and network data, the Content Transformation that user inputs is shown as in user's needsHold mark, to meet the memory habit of user, make note or memorandum realize more meeting user's request, more personalized auxiliary meritEnergy.
The content processing apparatus provided the embodiment of the present invention with multiple embodiments below is described in detail.
In an alternative embodiment, in described content processing apparatus:
Described judge module 11, for judging whether comprise contact number in the content that user inputs;
Described identifier acquisition module 12, for searching and contacting that described contact number matches in contacts listPersonal data, and obtain the identification of contacts that described contact data is corresponding;
Described conversion display module 13, the contact number comprised in content user inputted is converted to describedIt is that people identifies and shows.
In the present embodiment, the content to be resolved meeting preset content form is contact number, identifier acquisition module 12In native contact list, search the contact data of correspondence according to the contact number identified, get this contact numberAfter corresponding identification of contacts, the conversion of described contact number is shown as described identification of contacts.In the present embodiment, by withThe contact number of family input establishes associating between identification of contacts with contact data in note or memorandum, logicalCrossing the identification of contacts in note or memorandum, user direct correlation can have access to corresponding contact data.
Such as, " phoning 13456781234 " conversion that the present embodiment can realize inputting user is shown as " making a phone callGiveLi Si", and user by click on display in note or memorandum "Li Si" contact person Li Si can be sent a telegraph by dial-in direct.AgainOr " qq contact 234512345 " is convertible is shown as that " qq contactsKing five", user's click "King five" can directly recall and kingThe qq chat window of five.
In an alternative embodiment, in described content processing apparatus:
Described judge module 11, for judging whether to comprise in the content that user inputs text network address;
According to described text network address, described identifier acquisition module 12, for searching whether described text network address is effective netLocation;
Described conversion display module 13, for being shown as hyperlink network address by the conversion of described text network address.
In the present embodiment, the content to be resolved meeting preset content form is text network address, according to described text network address, instituteState identifier acquisition module 12 and can determine whether whether described text network address is effective network address by network data, such as can be according to the textNetwork address initiates network access request on backstage, if there being response, representing that text network address is effective, other the most also can be used to sentenceDisconnected mode, this is not limited by the present invention;If text network address is effective network address, then the conversion of described text network address is shown asHyperlink network address.In the present embodiment, establish the pass between hyperlink network address and web page server by text network addressConnection, by described hyperlink network address, user can directly access the web page server of correspondence to obtain web data.
In the present embodiment, can judge, according to described identifier acquisition module 12, the net initiated when described text network address is whether effectivelyThe webpage title carried in response data acquired in network access request, directly changes text network address and is shown as described webpage nameClaim.
Preferably, in the present embodiment, described identifier acquisition module 12, it is further used for when monitoring for described hyperlinkDuring the access request of network address, obtain the webpage title comprised in the web data that described access request is corresponding;
Described conversion display module, is further used for the described webpage that the conversion of described hyperlink network address is shown as obtainTitle.
That is to say, after described hyperlink network address is initiated access request by user, the net returned according to web page serverPage data and webpage title, be shown as described webpage title by the conversion of described hyperlink network address.This preferred embodiment, fullyConsider to know clearly user's request, the most still plays writing function due to note, and therefore, directly displaying network address should be user recordOriginal intention, and after only user initiates the access request of network address, user just can be with webpage name corresponding to its each network address accessedBeing referred to as remembering key word, therefore, this preferred embodiment has taken into full account record original intention and memory style two aspect of user, entersOne step improves Consumer's Experience.Certainly, mention as in foregoing embodiments, in the embodiment of the present invention, even if described text network addressAfter conversion is shown as webpage title, user still can check its original text network address inputted, or user performs duplication, forwardingDeng operation time, described content identification is converted into initial content to be resolved and carries out data transmission.
In an alternative embodiment, in described content processing apparatus:
Whether described judge module 11, for judging to comprise in the content that user inputs to meet treating of default Arithmetic Expressions Using formResolve content;
Described identifier acquisition module 12, obtains result of calculation for the Arithmetic Expressions Using corresponding according to described content to be resolved;
Described conversion display module 13, for the institute being shown as obtaining by Arithmetic Expressions Using conversion corresponding for described content to be resolvedState result of calculation.
In the present embodiment, the content to be resolved meeting preset content form is Arithmetic Expressions Using, described identifier acquisition module 12Can calculate according to preset Arithmetic Expressions Using rule according to the Arithmetic Expressions Using in described judge module 11 and obtain result of calculation, described conversion showsThe conversion of described Arithmetic Expressions Using is then shown as result of calculation by module 13.Such as, user and friend carry out weekly a badminton game,And by the victory or defeat score of note record both sides, with additive as a example by, the every weekly assembly of user in last week on the basis of result of the match be pairSide is respectively plus score, and through the accumulation match of 6 weeks, according to existing label, then can only be recorded as " 1+2+3+1+5+5 ",Within 7th week, then can only be recorded as " 1+2+3+1+5+5+2 ", user often records once will the integration in former weeks of double counting;AndIn the present embodiment, " 1+2+3+1+5+5 " of user record directly conversion can be shown as result of calculation " 16 ", user was at the 7th weekOnly need to record "+2 " after " 16 ", just can obtain the integral result " 18 " of the 7th week, this eliminates the manual calculations mistake of userJourney, convenient and practical.Certainly, this is only simple additive operation, and the embodiment of the present invention is not limited to that, also by configuring itHis Arithmetic Expressions Using rule.
Device embodiment described above is only schematically, and the wherein said unit illustrated as separating component canTo be or to may not be physically separate, the parts shown as unit can be or may not be physics listUnit, i.e. may be located at a place, or can also be distributed on multiple NE.Can be selected it according to the actual needsIn some or all of module realize the purpose of the present embodiment scheme.Those of ordinary skill in the art are not paying creativenessWork in the case of, be i.e. appreciated that and implement.
Through the above description of the embodiments, those skilled in the art it can be understood that to each embodiment canThe mode adding required general hardware platform by software realizes, naturally it is also possible to pass through hardware.Based on such understanding, onState the part that prior art contributes by technical scheme the most in other words to embody with the form of software product, shouldComputer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some fingersMake with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs each and implementsThe method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;AlthoughWith reference to previous embodiment, the present invention is described in detail, it will be understood by those within the art that: it still may be usedSo that the technical scheme described in foregoing embodiments to be modified, or wherein portion of techniques feature is carried out equivalent;And these amendment or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit andScope.