CN103838501A - Information processing method and electronic device - Google Patents

Information processing method and electronic device Download PDF

Info

Publication number
CN103838501A
CN103838501A CN201210473694.1A CN201210473694A CN103838501A CN 103838501 A CN103838501 A CN 103838501A CN 201210473694 A CN201210473694 A CN 201210473694A CN 103838501 A CN103838501 A CN 103838501A
Authority
CN
China
Prior art keywords
character
image file
electronic equipment
instruction
character code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201210473694.1A
Other languages
Chinese (zh)
Inventor
黄大荣
朱义国
林毅福
汪绪伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201210473694.1A priority Critical patent/CN103838501A/en
Publication of CN103838501A publication Critical patent/CN103838501A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an information processing method and an electronic device. The method is applied to the electronic device. The electronic device at least comprises a displaying unit. The method includes the following steps that a first order is obtained and used for controlling the displaying unit to display a first character; a first character code corresponding to the first character is obtained; whether a first image file corresponding to the first character code is stored in the electronic device in advance or not is judged based on the first character code and a first judgment result is obtained; when the first judgment result shows that the first image file is stored in the electronic device in advance, the first image file is displayed on the displaying unit according to a preset rule; otherwise the first character is displayed.

Description

A kind of method of information processing and electronic equipment
Technical field
The present invention relates to electronic technology field, relate in particular to a kind of method and electronic equipment of information processing.
Background technology
Along with the development of computer technology, increasing font is installed in electronic equipment, makes the shown font of electronic equipment varied.At electronic equipment, as notebook computer, panel computer, in smart mobile phone, except common regular script, the Song typeface,, also there is hard-tipped pen font in black matrix, director circle font, maiden's font, doll's font, it is personalized that these fonts show the word of electronic equipment.
At present, taking smart mobile phone as example, the system font of supposing smart mobile phone is the Song typeface, so, when user is sending short messages, or when Edit Document, input as " literary composition " word by handwriting mode, now, what on display screen, just show is " literary composition " word of the Song typeface, instead of user's hand-written " literary composition " word.
Present inventor is realizing in the process of technical scheme in the embodiment of the present application, finds at least to exist in above-mentioned prior art following technical matters:
From the above, when user wants electronic equipment to show the hand-written script of oneself, owing to not storing user's hand-written script in electronic equipment, make electronic equipment cannot show according to user's input user's hand-written script, and then make to exist in prior art the technical matters that electronic equipment cannot be using user's hand-written script as display font.
Summary of the invention
The invention provides a kind of method and electronic equipment of information processing, in order to solve the technical matters that the electronic equipment that exists in prior art cannot be using user's hand-written script as display font.
On the one hand, the present invention is by the application's a embodiment, a kind of method of information processing is provided, be applied to an electronic equipment, described electronic equipment at least comprises a display unit, described method comprises: obtain the first instruction, wherein, described the first instruction is used for controlling described display unit and shows the first character; Obtain first character code corresponding with described the first character; Based on described the first character code, judge whether described electronic equipment prestores first image file corresponding with described the first character code, obtain the first judged result; In the time that described the first judged result shows that described electronic equipment prestores described the first image file, on described display unit, show described the first image file according to pre-defined rule; Otherwise show described the first character.
Optionally, the character code that described acquisition is corresponding with described the first character, is specially: carry out described the first instruction, based on character and character-coded corresponding relation, obtain described first character code corresponding with described the first character.
Optionally, before described acquisition the first instruction, described method also comprises: receive the first information being sent by the second electronic equipment, wherein, the described first information at least comprises described the first character.
Optionally, before described acquisition the first instruction, described method also comprises: the first input trajectory that receives described the first character; Based on described the first input trajectory, obtain described the first image file, and be kept in described electronic equipment associated with described the first character code described the first image file.
Optionally, before described acquisition the first instruction, described method also comprises: receive and preserve described the first image file and described the first image file and described the first character-coded corresponding relation that are sent by the second electronic equipment.
On the other hand, the present invention provides a kind of information processing method by another embodiment of the application, be applied to an electronic equipment, described electronic equipment at least comprises display unit, described method comprises: receive the second instruction, described the second instruction is used for receiving the first input trajectory also by corresponding with the first character described the first input trajectory; Receive described the first input trajectory; Form the first image file based on described the first input trajectory; Obtain first character code corresponding with described the first character; By described character code and the associated preservation of described the first image file.
Optionally, after described reception the first input trajectory, described method also comprises: based on described the second instruction, described the first input trajectory is carried out to character recognition, obtain the first recognition result; According to described the first recognition result, obtain described the first character.
Optionally, after described reception the first input trajectory, described method also comprises: based on described the second instruction, described the first input trajectory is carried out to character recognition, obtain the first recognition result; According to described the first recognition result, obtain at least one character that comprises described the first character, and described at least one character is presented on described display unit; Detect whether the first operand is existed to the first operation, wherein, described the first operand is described the first character showing on described display unit; In the time there is described the first operation, obtain described the first character.
Optionally, the first character code that described acquisition is corresponding with described the first character, is specially based on character and character-coded corresponding relation, obtains described first character code corresponding with described the first character.
Optionally, described by described character code and the associated preservation of described the first image file, be specially the second image file of preservation associated with described the first character code is replaced with to described the first image file.
Again on the one hand, the present invention, by the application's a embodiment, provides a kind of electronic equipment, and described electronic equipment comprises: display unit; Control chip, is connected with described display unit, and for obtaining the first instruction, wherein, described the first instruction is used for controlling described display unit and shows the first character; Obtain first character code corresponding with described the first character; Based on described the first character code, judge whether described electronic equipment prestores first image file corresponding with described the first character code, obtain the first judged result; In the time that described the first judged result shows that described electronic equipment prestores described the first image file, on described display unit, show described the first image file according to pre-defined rule; Otherwise show described the first character.
Optionally, described control chip specifically comprises: first obtains unit, and for obtaining described the first instruction, wherein, described the first instruction is used for controlling described display unit and shows the first character; Second obtains unit, for obtaining first character code corresponding with described the first character; The first judging unit, for based on described the first character code, judges whether described electronic equipment prestores first image file corresponding with described the first character code, obtains the first judged result; The first display unit in the time that described the first judged result shows that described electronic equipment prestores described the first image file, shows described the first image file on described display unit according to pre-defined rule; Otherwise show described the first character.
Optionally, second acquisition unit, also for carrying out described the first instruction, based on character and character-coded corresponding relation, obtains described first character code corresponding with described the first character.
Optionally, described electronic equipment also comprises: the first receiving element, for receiving the first information being sent by the second electronic equipment, wherein, the described first information at least comprises described the first character.
Optionally, described electronic equipment also comprises: the second receiving element, for receiving the first input trajectory of described the first character; The first storage unit, for based on described the first input trajectory, obtains described the first image file, and is kept in described electronic equipment associated with described the first character code described the first image file.
Optionally, described the second receiving element, also for receiving described the first image file and described the first image file and described the first character-coded corresponding relation that are sent by the second electronic equipment; Described the first storage unit, also for preserving described the first image file and described the first image file and described the first character-coded corresponding relation that are sent by the second electronic equipment.
Again on the one hand, the present invention, by the application's a embodiment, provides a kind of electronic equipment, and described electronic equipment comprises: display unit; Control chip, is connected with described display unit, and for receiving the second instruction, described the second instruction is used for receiving the first input trajectory also by corresponding with the first character described the first input trajectory; Receive described the first input trajectory; Form the first image file based on described the first input trajectory; Obtain first character code corresponding with described the first character; By described character code and the associated preservation of described the first image file.
Optionally, described control chip specifically comprises: the first receiving element, and for receiving the second instruction, described the second instruction is used for receiving the first input trajectory also by corresponding with the first character described the first input trajectory; The second receiving element, for receiving described the first input trajectory; The first generation unit, for forming the first image file based on described the first input trajectory; First obtains unit, for obtaining first character code corresponding with described the first character; The first storage unit, for by described character code and the associated preservation of described the first image file.
Optionally, described electronic equipment also comprises: the first recognition unit, for based on described the second instruction, described the first input trajectory is carried out to character recognition, and obtain the first recognition result; Second obtains unit, for according to described the first recognition result, obtains described the first character.
Optionally, described electronic equipment also comprises: the second recognition unit, for based on described the second instruction, described the first input trajectory is carried out to character recognition, and obtain the first recognition result; The 3rd obtains unit, for according to described the first recognition result, obtains at least one character that comprises described the first character, and described at least one character is presented on described display unit; The first detecting unit, for detection of whether the first operand is existed to the first operation, wherein, described the first operand is described the first character showing on described display unit; The 4th obtains unit, in the time there is described the first operation, obtains described the first character.
Optionally, described second acquisition unit also, for based on character and character-coded corresponding relation, obtains described first character code corresponding with described the first character.
Optionally, described the first storage unit is also for replacing with described the first image file by the second image file of preservation associated with described the first character code.
The one or more technical schemes that provide in the embodiment of the present application, at least have following technique effect or advantage:
1, owing to having corresponding relation between the first character code and the first image file, just make user in the time of input the first character, electronic equipment can obtain the first image file by the first character code, and the first image file is presented on display unit, for example, when user's input " literary composition ", electronic equipment can obtain the character code of " literary composition ", then, again according to character code and image file, the namely corresponding relation between the image file of user's hand-written script, character code based on " literary composition " in electronic equipment finds the image file of user's hand-written script of " literary composition ", and this image file is presented on display unit, so, effectively solve the technical matters that the electronic equipment that exists in prior art cannot be using user's hand-written script as display font, and then realize electronic equipment and show user's hand-written script, and make the personalization of electronic equipment display font, improving user experiences.
2, because electronic equipment can receive the first information that comprises the first character being sent by the second electronic equipment, and then can be according to the first character and the first character code, and the corresponding relation of first character code and the first image file, so, electronic equipment can be shown the first character in the first information of the second electronic equipment transmission with user's hand-written script, improve user and experience.
3, due to by associated with the first character code the first image file being kept in electronic equipment, while just making user input the first character, electronic equipment can be according to the first character and the first character code, and first relation between character code and the first image file, the first character is presented on display unit with the first image file, so, make the electronic equipment can be using user's hand-written script as display font.
4, because electronic equipment can receive and preserve the first image file and the first image file and the first character-coded corresponding relation that are sent by the second electronic equipment, so, electronic equipment just can be in the situation that originally not storing the first image file, the first image file sending according to the second electronic equipment and itself and the first character-coded corresponding relation, and first character and the first character-coded relation, on display unit, show the first image file, use user's the hand-written script of the second electronic equipment as display font.
Brief description of the drawings
Fig. 1 is the process flow diagram of the method for the information processing in one embodiment of the invention;
Fig. 2 is the process flow diagram of the method for the storage user hand-written script in one embodiment of the invention;
Fig. 3 is the process flow diagram of the method for the storage user hand-written script in another embodiment of the present invention;
Fig. 4 is the process flow diagram of the method for correspondence the first input trajectory in one embodiment of the invention and the first character;
Fig. 5 is the process flow diagram of the method for correspondence the first input trajectory in another embodiment of the present invention and the first character;
Fig. 6 is the structural representation of the electronic equipment in one embodiment of the invention.
Embodiment
The embodiment of the present application is by providing a kind of method and electronic equipment of information processing, solved the technical matters that the electronic equipment that exists in prior art cannot be using user's hand-written script as display font.
Technical scheme in the embodiment of the present application is to solve the problem that the electronic equipment of above-mentioned existence cannot be using user's hand-written script as display font, and general thought is as follows:
Input after the first character user, electronic equipment can be according to the corresponding relation of the first character code and the first image file, and first character and the first character-coded corresponding relation, on display unit, the first image file is shown, wherein, the first image file is the image file of user's hand-written script of the first character, that is to say, electronic equipment just can be presented on display unit user's hand-written script as display font; Further, make the font demonstration of electronic equipment more personalized, improve user and experience.
In order better to understand technique scheme, below in conjunction with Figure of description and concrete embodiment, technique scheme is described in detail.
On the one hand, the present invention, by the application's a embodiment, provides a kind of method of information processing, be applied to an electronic equipment, this electronic equipment can be notebook computer, panel computer, smart mobile phone, electronic equipment at least comprises a display unit, this display unit can be LED display, it can also be capacitance touch display screen, optical touch display screen, electromagnetic screen, certainly, also can be other display screens, the application is not specifically limited.
As shown in Figure 1, the method comprises:
S101: obtain the first instruction, wherein, the first instruction is used for controlling display unit and shows the first character;
S102: obtain first character code corresponding with the first character;
S103: based on the first character code, judge whether electronic equipment prestores first image file corresponding with the first character code, obtain the first judged result;
S104: in the time that the first judged result shows that electronic equipment prestores the first image file, show the first image file according to pre-defined rule on display unit;
S105: otherwise show the first character.
Below such scheme is described in detail.
For example, user inputs the first character, as " literary composition " word, when electronic equipment detects and identify this first character, after electronic equipment knows that user has inputted " literary composition " word, carry out S101, obtain the first instruction, this first instruction is used for controlling display unit and shows the first character.
In specific implementation process, user inputs the first character can pass through spelling input method, also can pass through five-stroke input method, can also be by handwriting input, as long as inputting the first character and electronic equipment can be identified, the application is not specifically limited.
After obtaining the first instruction, carry out S102, that is: obtain first character code corresponding with the first character.
In specific implementation process, S102 can be: carry out the first instruction, based on character and character-coded corresponding relation, obtain first character code corresponding with the first character.
Specifically, in order to facilitate character input computing machine, can a corresponding hexadecimal character code for each character, such as the character code of " literary composition " is 0XCEC4, the character code of " specially " is 0XD7A8, character and character code can be stored in electronic equipment with the form of coding schedule, as shown in table 1 below:
Table 1
Character Character code
Literary composition 0XCEC4
Specially 0XD7A8
Above-mentioned character code is the character code of character correspondence in character code standard GB2312, in different character code standards, in GBK, GB18030, BIG5, due to coded system difference, the character code that same character is corresponding is also different, those of ordinary skill in the art can set voluntarily, and the application is not specifically limited.
So, after obtaining the first instruction, carry out this first instruction, and according to above-mentioned character and character-coded relation, in above-mentioned table 1, find the first character code that the first character is corresponding.Such as, the first character is " literary composition ", so, just can find the first corresponding character code 0XCEC4 in table 1.
Next, carry out S103, that is:, based on the first character code, judge whether electronic equipment prestores the first image file corresponding with the first character code, obtain the first judged result.
Specifically, finding after the first character code, because the first character code is also associated with the first image file, so just can in electronic equipment, search the first image file that the first character code is corresponding according to the first character code, and judge in electronic equipment whether prestore the first image file with this, obtain the first judged result.That is to say, after finding the first character code, if associated first image file that prestores in electronic equipment, so, the first judged result just shows to be preset with the first image file in electronic equipment, and electronic equipment just can find the first image file according to the first character code; If do not have related first image file that prestores in electronic equipment, so, the first judged result just shows that in electronic equipment, Non-precondition has the first image file, and electronic equipment just cannot find the first image file according to the first character code.
In specific implementation process, the relation between character, character code and image file can be kept in electronic equipment with the form of form.Further, what in form, preserve can be the storing path of image file, and like this, image file itself just can be stored in a database, or is stored in a storage unit independently.So, the relation between above-mentioned three can be as shown in table 2 below:
Table 2
Character Character code Image file address
Literary composition 0XCEC4 Address 1
Specially 0XD7A8 Address 2
Certainly, can also preserve the filename of image file in form, as long as be the information relevant to image file by what preserve, and can find image file by these information, the application is not specifically limited.
After obtaining the first judged result by S103, enter S104, that is: in the time that the first judged result shows that electronic equipment prestores the first image file, on display unit, show the first image file according to pre-defined rule.
Specifically, prestore the first image file in the first judged result represents electronic equipment time, just replace first character that should be presented on display unit with the first image file.Such as, when user is in the time inputting " literary composition " word, the display font of current electronic device is the Song typeface, so, should on display unit, show " literary composition " of the Song typeface, but in electronic equipment, prestore the first image file owing to knowing by S103, and according to the corresponding relation between character and image file, find the first image file, so, originally to show on the position of " literary composition ", show the first image file, namely show the image file of user's hand-written " literary composition ".
In specific implementation process, preset rules can be that the first image file is shown at former display position, and adjust to consistent with other character boundaries, can also be that the first image file is shown below the first character or around, certainly, can also be other preset rules, as long as the first image file can be shown, the application be not specifically limited.
That is: otherwise show the first character further, in the time that the first judged result represents not prestore the first image file in electronic equipment, enter S105.
Specifically, in the time not storing the first image file in electronic equipment, namely the first image file cannot be found by the first character code, on display unit, just show the first character.
In another embodiment, when electronic equipment receives the second electronic equipment, as smart mobile phone, when the information sent, before S101, the method also comprises: receive the first information being sent by the second electronic equipment, wherein, the first information at least comprises the first character.
Specifically, in the time that electronic equipment is received the first information that the second electronic equipment sends, such as, the first information that the second electronic equipment is sent is " application documents are received ", comprise the first character in this information, as " literary composition ", so, electronic equipment can be carried out S101-S103, judges in electronic equipment, whether to prestore the first image file, i.e. user's hand-written script of " literary composition ", now, the first image file can be electronic equipment user's hand-written script, can be also the second electronic equipment user's hand-written script, and the application is not specifically limited.In the time that the first judged result represents to prestore the first image file in electronic equipment, enter S104; Otherwise enter S105.
In specific implementation process, in order to obtain user's hand-written script, so, before S101, as shown in Figure 2, the method also comprises:
S201: the first input trajectory that receives the first character;
S202: based on the first input trajectory, obtain the first image file, and be kept in electronic equipment associated with the first character code the first image file.
Above-mentioned S101-S105 is for the first image file is presented to the method step on display unit, but before showing the first image file, can also comprise the method step that obtains the first image file and storage the first image file.
So, specifically, first, carry out S201, the first input trajectory that receives the first character, that is to say, user can be at handwriting pad, or handwriting input the first character on touch display screen, now, electronic equipment just can receive the first input trajectory of this character.Then, enter S202, electronic equipment is identified the first input trajectory, and what know that user inputs is the first character, simultaneously, the first input trajectory of user's input is preserved into the form of image, i.e. the first image file, and, the first character, the first character code and the first image file are stored in electronic equipment with the form of above-mentioned table 2, be about to be kept in electronic equipment associated with the first character code of the first image file, for user's use from now on.
In another embodiment, the method for above-mentioned acquisition user hand-written script, as shown in Figure 3, can also be:
S301: receive the second instruction, the second instruction is used for receiving the first input trajectory the first input trajectory is corresponding with the first character;
S302: receive the first input trajectory;
S303: form the first image file based on the first input trajectory;
S304: obtain first character code corresponding with the first character;
S305: by the first character code and the associated preservation of the first image file.
An electronics is that smart mobile phone is example below, and such scheme is elaborated.
For example, electronic equipment user wants the hand-written script of oneself to preserve into display font, so that electronic equipment is more personalized, so, user can the font of opening installation on electronic equipment make application software, can also open arbitrarily a documents editing program, such as, word program, note, Email, tap " making font " button on inputting display interface, enter the font pattern of making, carry out S301, obtain the second instruction, make electronic equipment be ready to receive the first input trajectory of user's handwriting input and the first input trajectory is corresponding with the first character.
Next, user starts to make one's own hand-written script.First, the font input area of user on touch display screen, handwriting input the first character, i.e. the first input trajectory, as " literary composition " word, now, carry out S302, receive the first input trajectory, so, the first input trajectory that electronic equipment can be inputted to user according to the second command reception.
In specific implementation process, after S302, for the first input trajectory and the first character are mapped, as shown in Figure 4, the method also comprises:
S401: based on the second instruction, the first input trajectory is carried out to character recognition, obtain the first recognition result;
S402: according to the first recognition result, obtain the first character.
Specifically, when electronic equipment receives after the first input trajectory, carry out S401, according to the second instruction, the first input trajectory is identified, obtain the first recognition result, according to user's handwriting input, obtain the orderly trace information of the first input trajectory, the namely hand-written stroke order of user, next, carry out S402, electronic equipment is just according to the first recognition result, obtain the first character, such as, what user inputted is " literary composition " word, so through identification, electronic equipment knows that user is with point, horizontal, skim, the order input of right-falling stroke, so, what just can know that user inputs is " literary composition " word, like this, just the first input trajectory and the first character have been mapped.
In another embodiment, because the first input trajectory of user input may be that gointed hand or stroke are not right in proper order, electronic equipment can accurately not be that what word what to identify that user writes be, so, after S302, as shown in Figure 5, the method also comprises:
S501: based on the second instruction, the first input trajectory is carried out to character recognition, obtain the first recognition result;
S502: according to the first recognition result, obtain at least one character that comprises the first character, and at least one character is presented on display unit;
S503: detect whether the first operand is existed to the first operation, wherein, the first operand is the first character showing on display unit;
S504: in the time there is the first operation, obtain the first character.
Specifically, when user's handwriting input is, what may write is gointed hand, or stroke order is not right, so, after user inputs the first input trajectory, carry out S501, according to the second instruction, the first input trajectory is carried out to character recognition, obtain the first recognition result.Such as, user wants input " literary composition ", but user may be the order input with point, horizontal stroke, right-falling stroke, slash, and so now electronic equipment is that what cannot accurately identify user's input is " literary composition " word.
Next, carry out S502, that is:, according to the first recognition result, obtain at least one character that comprises the first character, and at least one character is presented on display unit.
Specifically, when electronic equipment cannot accurately identify user input be the first character time, electronic equipment can carry out automatic error-correcting, and at least one character that comprises the first character is presented on the display screen of electronic equipment.Such as, what electronic equipment cannot accurately be identified electronic equipment input is " literary composition " word, pass through so automatic error-correcting, electronic equipment " studying carefully " these four characters that " literary composition ", " a surname " " can be made internal disorder or usurp " are presented on display unit with current display font, select for user.
After at least one character is presented on display unit, enter S503, that is: detect whether the first operand is existed to the first operation, wherein, the first operand is the first character showing on display unit.
Specifically, after at least one character is presented on display unit, user can be by tapping to select oneself to want the character of input, i.e. the first character, now, electronic equipment will detect the first operation that whether has user on display unit, this first operation is exactly the operation that taps that user selects character, certainly can also be the operation of stirring button, as long as can select user to want the first character of input by this operation, the application be not specifically limited.
Next, enter S504: in the time there is the first operation, obtain the first character.That is to say, select user to want the first character of input.
After receiving the first input trajectory by S302, enter S303, that is: form the first graphic file based on the first input trajectory.That is to say, electronic equipment can, by as screenshot capture, be preserved into image file with the form of image, i.e. the first image file by the first input trajectory of user's input.
In specific implementation process, S303 and then S302 carries out, and also can after S402 or S504, carry out, and can also carry out with S401 or S501 simultaneously, and the application does not do and specifically limits.
According to the second instruction, after the first input trajectory and the first character are mapped, carry out S304 at electronic equipment, that is: obtain first character code corresponding with the first character.
In specific implementation process, S304 can be: based on character and character-coded corresponding relation, obtain first character code corresponding with the first character.
Specifically, electronic equipment identify user input be the first character after, electronic equipment can find first character code corresponding with the first character according to above-mentioned table 1.Such as, the first character is " literary composition ", so, just can find the first corresponding character code 0XCEC4 in table 1.
Finally, when finding by S304 after the first character code, carry out S305, that is: by the first character code and the associated preservation of the first image file.
Specifically, S305 is consistent with S202, has just repeated no longer one by one at this.
Further, the hand-written script of preserving before user feels is plain, wants to preserve a new font, and now, S305 can be: the second image file of preservation associated with the first character code is replaced with to the first image file.That is to say, electronic equipment by the hand-written script of new user input the first image file replace original hand-written script image file corresponding to the first character of preserving, i.e. the second image file, and renewal above table, is updated to image file address corresponding the first character the storing path of the first image file.
So far, user preserves into the first image file with regard to having completed by the hand-written script of oneself, sets it as for electronic equipment the process that display font shows.
In another embodiment, the first image file can also send to electronic equipment by the second electronic equipment, like this in the time that electronic equipment itself does not have the first image file, still can show the first image file, taking user's hand-written script as display font, now, before S101, the method also comprises: receive and preserve the first image file and the first image file and the first character-coded corresponding relation that are sent by the second electronic equipment.Here said the first image file and the first character-coded corresponding relation can exist with above-mentioned table 2 form, certainly, can also be other forms, as long as can show the corresponding relation between the first image file and the first character code, the application be not specifically limited.
Introduce below the method for the information processing in the present invention by several specific embodiments, the following examples article the several possible application scenarios of method of described information processing.It should be noted that, the embodiment in the present invention is only for explaining the present invention, and can not be used for limiting the present invention.All embodiment that meet inventive concept are all within protection scope of the present invention, and those skilled in the art know how thought according to the present invention is out of shape naturally.
Embodiment mono-:
Electronic equipment is smart mobile phone.User thinks that the hand-written script of oneself is fine and sees, want to be arranged to the display font of mobile phone, so, user can tap " making font " button in input word body interface, and now, electronic equipment enters the font pattern of making.Under this pattern, user's handwriting input " literary composition " word, now, mobile phone can be identified " literary composition " automatically, what know that user inputs is " literary composition ", and find the character code 0XCEC4 that " literary composition " is corresponding, simultaneously, mobile phone can be by preserving into user's input trajectory the file of picture format automatically as screenshotss function, after this, what electronic equipment was associated above-mentioned image file again with character code 0XCEC4 is kept in electronic equipment, so just the hand-written script of " literary composition " word is kept, further, user can continue to preserve other characters, until user finishes to make font, and tap " exiting " button and exit the font pattern of making.Next, when user is editing short message or editor when p.m.entry, in the time that user inputs " wen " by spelling input method, display unit can demonstrate many alternative words, as " literary composition ", " ask ", " surely ", now, user selects " literary composition ", electronic equipment will, according to the corresponding relation between " literary composition " and character code 0XCEC4, find character code 0XCEC4, then goes for the image file of user's hand-written script of " literary composition " according to this character code.Owing to preserving before the image file of hand-written script of " literary composition ", so electronic equipment just can find this image file, and be presented at the position at input character cursor place.
Embodiment bis-:
Electronic equipment is smart mobile phone, and the second electronic equipment is notebook computer.When two end subscribers are carrying out remote chat, now, the second electronic equipment is sent a piece of news to electronic equipment, content is " tomorrow 10 see ", electronic equipment is after receiving this message, will be to " bright ", " my god ", " ten ", " point ", " see " that these five words word for word search character code, obtain the character code 0XC3F7 of " bright ", " my god " character code 0XCCEC, the character code 0XCAAE of " ten ", the character code 0XB5E3 of " point ", the character code 0XBCFB " seeing ", then, electronic equipment will remove to search the image file that whether prestores the hand-written script that these 5 words are corresponding in electronic equipment according to these 5 codings.The user who supposes electronic equipment is making and is preserving the image file corresponding to hand-written script of these 5 words before, so, electronic equipment will be shown to user successively by 5 image files that find, now, and " tomorrow 10 see " of what the user of electronic equipment saw is exactly hand-written script.
Embodiment tri-:
Electronic equipment and the second electronic equipment are smart mobile phone.When the second electronic equipment is in the time sending note to electronic equipment, the second electronic equipment user wants to allow electronic equipment user look at the hand-written script of oneself, so, clicking " transmission " button at the second electronic equipment sends after note, the second electronic equipment is in order to prevent from not storing in electronic equipment the image file of the second electronic equipment user hand-written script, just will issue the short message content of electronic equipment, and image file and the image file of its hand-written script of the second electronic equipment user making are packaged into packet and send to electronic equipment together with character-coded corresponding relation.So, electronic equipment, receiving after this packet, is decoded to packet, obtain short message content, image file, with and with character-coded corresponding relation, so, electronic equipment will find its corresponding character code according to the character in short message content, and go for its correspondence image file according to character code, and after finding image file, be presented on the display unit of electronic equipment, now, electronic equipment user just can see the second electronic equipment user's hand-written script.Further, use afterwards in the process of electronic equipment electronic equipment user, can also, using above-mentioned hand-written script as its display font, can also again send to other electronic equipments user.
Embodiment tetra-:
When electronic equipment and the second electronic equipment are panel computer.The second electronic equipment user wants to allow electronic equipment user have a look the hand-written script of oneself, so, in the time that the second electronic equipment sends Word message to electronic equipment, click after " transmission " button the second electronic equipment user, the detection information that first sends is to electronic equipment, whether detected electrons equipment has stored the image file of the second electronic equipment user's hand-written script, in the time above-mentioned image file being detected, electronic equipment sends a confirmation to the second electronic equipment, so, electronic equipment will only send to electronic equipment by the content of Word message; In the time above-mentioned image file not detected, the second electronic equipment can be by Word message content, image file, with and issue electronic equipment with the packing of character-coded corresponding relation, electronic equipment can be carried out S101-105, and image file is shown.Further, because electronic equipment had carried out the detection to image file, so, now needn't repeat S103, directly enter S104-S105 according to above-mentioned testing result.
Known according to description above, by the first character code is associated with the first image file, make electronic equipment to find the first character code according to the first character of user's input, and then find the first image file, and be presented on display unit, so just make electronic equipment to offer user by the display font using user's hand-written script as electronic equipment; Further, electronic equipment can also obtain the image file of other electronic equipments user's hand-written script, and sets it as display font and offer user.
Based on same inventive concept, the present invention, by another embodiment of the application, provides a kind of electronic equipment, and as shown in Figure 6, this electronic equipment 10 comprises: display unit 101; Control chip 102, is connected with display unit 101, and for obtaining the first instruction, wherein, the first instruction is used for controlling display unit 101 and shows the first character; Obtain first character code corresponding with the first character; Based on the first character code, judge whether electronic equipment 10 prestores first image file corresponding with the first character code, obtain the first judged result; In the time that the first judged result shows that electronic equipment 10 prestores the first image file, on display unit 101, show the first image file according to pre-defined rule; Otherwise show the first character.
Further, control chip 102 specifically comprises: first obtains unit, and for obtaining the first instruction, wherein, the first instruction is used for controlling display unit 101 and shows the first character; Second obtains unit, for obtaining first character code corresponding with the first character; The first judging unit, for based on the first character code, judges whether electronic equipment 10 prestores first image file corresponding with the first character code, obtains the first judged result; The first display unit in the time that the first judged result shows that electronic equipment 10 prestores the first image file, shows the first image file on display unit 101 according to pre-defined rule; Otherwise show the first character.
Further, second acquisition unit, also for carrying out the first instruction, based on character and character-coded corresponding relation, obtains first character code corresponding with the first character.
Further, electronic equipment also 10 comprises: the first receiving element, for receiving the first information being sent by the second electronic equipment, wherein, the first information at least comprises the first character.
Further, electronic equipment 10 also comprises: the second receiving element, for receiving the first input trajectory of the first character; The first storage unit, for based on the first input trajectory, obtains the first image file, and is kept in electronic equipment 10 associated with the first character code the first image file.
Further, the second receiving element, also for receiving the first image file and the first image file and the first character-coded corresponding relation that are sent by the second electronic equipment; The first storage unit, also for preserving the first image file and the first image file and the first character-coded corresponding relation that are sent by the second electronic equipment.
Based on same inventive concept, the present invention, by another embodiment of the application, provides a kind of electronic equipment, and as shown in Figure 6, this electronic equipment 10 comprises: display unit 101; Control chip 102, is connected with display unit 101, and for receiving the second instruction, the second instruction is used for receiving the first input trajectory the first input trajectory is corresponding with the first character; Receive the first input trajectory; Form the first image file based on the first input trajectory; Obtain first character code corresponding with the first character; By character code and the associated preservation of the first image file.
Further, control chip 102 specifically comprises: the first receiving element, and for receiving the second instruction, the second instruction is used for receiving the first input trajectory the first input trajectory is corresponding with the first character; The second receiving element, for receiving the first input trajectory; The first generation unit, for forming the first image file based on the first input trajectory; First obtains unit, for obtaining first character code corresponding with the first character; The first storage unit, for by character code and the associated preservation of the first image file.
Further, electronic equipment 10 also comprises: the first recognition unit, for based on the second instruction, the first input trajectory is carried out to character recognition, and obtain the first recognition result; Second obtains unit, for according to the first recognition result, obtains the first character.
Further, electronic equipment 10 also comprises: the second recognition unit, for based on the second instruction, the first input trajectory is carried out to character recognition, and obtain the first recognition result; The 3rd obtains unit, for according to the first recognition result, obtains at least one character that comprises the first character, and at least one character is presented on display unit 101; The first detecting unit, for detection of whether the first operand is existed to an operation, wherein, the first operand is the first character showing on display unit 101; The 4th obtains unit, in the time there is the first operation, obtains the first character.
Further, second acquisition unit also, for based on character and character-coded corresponding relation, obtains first character code corresponding with the first character.
Further, the first storage unit is also for replacing with the first image file by the second image file of preservation associated with the first character code.
According to description above, above-mentioned electronic equipment, for realizing the method for above-mentioned information processing, so the course of work of this electronic equipment is consistent with one or more embodiment of said method, has not just repeated at this one by one.
Technical scheme in above-mentioned the embodiment of the present application, at least has following technique effect or advantage:
1, owing to having corresponding relation between the first character code and the first image file, just make user in the time of input the first character, electronic equipment can obtain the first image file by the first character code, and the first image file is presented on display unit, so, effectively solve the technical matters that the electronic equipment that exists in prior art cannot be using user's hand-written script as display font, and then realize electronic equipment and show user's hand-written script, and make the personalization of electronic equipment display font, improve user and experience.
2, because electronic equipment can receive the first information that comprises the first character being sent by the second electronic equipment, and then can be according to the first character and the first character code, and the corresponding relation of first character code and the first image file, so, electronic equipment can be shown the first character in the first information of the second electronic equipment transmission with user's hand-written script, improve user and experience.
3, due to by associated with the first character code the first image file being kept in electronic equipment, while just making user input the first character, electronic equipment can be according to the first character and the first character code, and first relation between character code and the first image file, the first character is presented on display unit with the first image file, so, make the electronic equipment can be using user's hand-written script as display font.
4, because electronic equipment can receive and preserve the first image file and the first image file and the first character-coded corresponding relation that are sent by the second electronic equipment, so, electronic equipment just can be in the situation that originally not storing the first image file, the first image file sending according to the second electronic equipment and itself and the first character-coded corresponding relation, and first character and the first character-coded relation, on display unit, show the first image file, use user's the hand-written script of the second electronic equipment as display font.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, completely implement software example or the form in conjunction with the embodiment of software and hardware aspect.And the present invention can adopt the form at one or more upper computer programs of implementing of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) that wherein include computer usable program code.
The present invention is with reference to describing according to process flow diagram and/or the block scheme of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction that makes to carry out by the processor of computing machine or other programmable data processing device produces the device for realizing the function of specifying at flow process of process flow diagram or multiple flow process and/or square frame of block scheme or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of specifying in flow process of process flow diagram or multiple flow process and/or square frame of block scheme or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computing machine or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of specifying in flow process of process flow diagram or multiple flow process and/or square frame of block scheme or multiple square frame on computing machine or other programmable devices.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if these amendments of the present invention and within modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (22)

1. a method for information processing, is applied to an electronic equipment, and described electronic equipment at least comprises a display unit, it is characterized in that, described method comprises:
Obtain the first instruction, wherein, described the first instruction is used for controlling described display unit and shows the first character;
Obtain first character code corresponding with described the first character;
Based on described the first character code, judge whether described electronic equipment prestores first image file corresponding with described the first character code, obtain the first judged result;
In the time that described the first judged result shows that described electronic equipment prestores described the first image file, on described display unit, show described the first image file according to pre-defined rule;
Otherwise show described the first character.
2. the method for claim 1, it is characterized in that, the character code that described acquisition is corresponding with described the first character, is specially: carry out described the first instruction, based on character and character-coded corresponding relation, obtain described first character code corresponding with described the first character.
3. the method for claim 1, is characterized in that, before described acquisition the first instruction, described method also comprises:
Receive the first information being sent by the second electronic equipment, wherein, the described first information at least comprises described the first character.
4. the method for claim 1, is characterized in that, before described acquisition the first instruction, described method also comprises:
Receive the first input trajectory of described the first character;
Based on described the first input trajectory, obtain described the first image file, and be kept in described electronic equipment associated with described the first character code described the first image file.
5. the method for claim 1, is characterized in that, before described acquisition the first instruction, described method also comprises:
Receive and preserve described the first image file and described the first image file and described the first character-coded corresponding relation that are sent by the second electronic equipment.
6. an information processing method, is applied to an electronic equipment, and described electronic equipment at least comprises display unit, it is characterized in that, described method comprises:
Receive the second instruction, described the second instruction is used for receiving the first input trajectory also by corresponding with the first character described the first input trajectory;
Receive described the first input trajectory;
Form the first image file based on described the first input trajectory;
Obtain first character code corresponding with described the first character;
By described character code and the associated preservation of described the first image file.
7. method as claimed in claim 6, is characterized in that, after described reception the first input trajectory, described method also comprises:
Based on described the second instruction, described the first input trajectory is carried out to character recognition, obtain the first recognition result;
According to described the first recognition result, obtain described the first character.
8. method as claimed in claim 6, is characterized in that, after described reception the first input trajectory, described method also comprises:
Based on described the second instruction, described the first input trajectory is carried out to character recognition, obtain the first recognition result;
According to described the first recognition result, obtain at least one character that comprises described the first character, and described at least one character is presented on described display unit;
Detect whether the first operand is existed to the first operation, wherein, described the first operand is described the first character showing on described display unit;
In the time there is described the first operation, obtain described the first character.
9. method as claimed in claim 7 or 8, is characterized in that, the first character code that described acquisition is corresponding with described the first character, is specially based on character and character-coded corresponding relation, obtains described first character code corresponding with described the first character.
10. method as claimed in claim 6, is characterized in that, described by described character code and the associated preservation of described the first image file, is specially the second image file of preservation associated with described the first character code is replaced with to described the first image file.
11. 1 kinds of electronic equipments, is characterized in that, described electronic equipment comprises:
Display unit;
Control chip, is connected with described display unit, and for obtaining the first instruction, wherein, described the first instruction is used for controlling described display unit and shows the first character; Obtain first character code corresponding with described the first character; Based on described the first character code, judge whether described electronic equipment prestores first image file corresponding with described the first character code, obtain the first judged result; In the time that described the first judged result shows that described electronic equipment prestores described the first image file, on described display unit, show described the first image file according to pre-defined rule; Otherwise show described the first character.
12. electronic equipments as claimed in claim 11, is characterized in that, described control chip specifically comprises:
First obtains unit, and for obtaining described the first instruction, wherein, described the first instruction is used for controlling described display unit and shows the first character;
Second obtains unit, for obtaining first character code corresponding with described the first character;
The first judging unit, for based on described the first character code, judges whether described electronic equipment prestores first image file corresponding with described the first character code, obtains the first judged result;
The first display unit in the time that described the first judged result shows that described electronic equipment prestores described the first image file, shows described the first image file on described display unit according to pre-defined rule; Otherwise show described the first character.
13. electronic equipments as claimed in claim 11, is characterized in that, second acquisition unit, also for carrying out described the first instruction, based on character and character-coded corresponding relation, obtains described first character code corresponding with described the first character.
14. electronic equipments as claimed in claim 11, is characterized in that, described electronic equipment also comprises:
The first receiving element, for receiving the first information being sent by the second electronic equipment, wherein, the described first information at least comprises described the first character.
15. electronic equipments as claimed in claim 11, is characterized in that, described electronic equipment also comprises:
The second receiving element, for receiving the first input trajectory of described the first character;
The first storage unit, for based on described the first input trajectory, obtains described the first image file, and is kept in described electronic equipment associated with described the first character code described the first image file.
16. electronic equipments as claimed in claim 11, is characterized in that, described the second receiving element, also for receiving described the first image file and described the first image file and described the first character-coded corresponding relation that are sent by the second electronic equipment; Described the first storage unit, also for preserving described the first image file and described the first image file and described the first character-coded corresponding relation that are sent by the second electronic equipment.
17. 1 kinds of electronic equipments, is characterized in that, described electronic equipment comprises:
Display unit;
Control chip, is connected with described display unit, and for receiving the second instruction, described the second instruction is used for receiving the first input trajectory also by corresponding with the first character described the first input trajectory; Receive described the first input trajectory; Form the first image file based on described the first input trajectory; Obtain first character code corresponding with described the first character; By described character code and the associated preservation of described the first image file.
18. electronic equipments as claimed in claim 17, is characterized in that, described control chip specifically comprises:
The first receiving element, for receiving the second instruction, described the second instruction is used for receiving the first input trajectory also by corresponding with the first character described the first input trajectory;
The second receiving element, for receiving described the first input trajectory;
The first generation unit, for forming the first image file based on described the first input trajectory;
First obtains unit, for obtaining first character code corresponding with described the first character;
The first storage unit, for by described character code and the associated preservation of described the first image file.
19. electronic equipments as claimed in claim 17, is characterized in that, described electronic equipment also comprises:
The first recognition unit, for based on described the second instruction, carries out character recognition to described the first input trajectory, obtains the first recognition result;
Second obtains unit, for according to described the first recognition result, obtains described the first character.
20. electronic equipments as claimed in claim 17, is characterized in that, described electronic equipment also comprises:
The second recognition unit, for based on described the second instruction, carries out character recognition to described the first input trajectory, obtains the first recognition result;
The 3rd obtains unit, for according to described the first recognition result, obtains at least one character that comprises described the first character, and described at least one character is presented on described display unit;
The first detecting unit, for detection of whether the first operand is existed to the first operation, wherein, described the first operand is described the first character showing on described display unit;
The 4th obtains unit, in the time there is described the first operation, obtains described the first character.
21. electronic equipments as described in claim 19 or 20, is characterized in that, described second acquisition unit also, for based on character and character-coded corresponding relation, obtains described first character code corresponding with described the first character.
22. electronic equipments as claimed in claim 17, is characterized in that, described the first storage unit is also for replacing with described the first image file by the second image file of preservation associated with described the first character code.
CN201210473694.1A 2012-11-20 2012-11-20 Information processing method and electronic device Pending CN103838501A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210473694.1A CN103838501A (en) 2012-11-20 2012-11-20 Information processing method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210473694.1A CN103838501A (en) 2012-11-20 2012-11-20 Information processing method and electronic device

Publications (1)

Publication Number Publication Date
CN103838501A true CN103838501A (en) 2014-06-04

Family

ID=50802063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210473694.1A Pending CN103838501A (en) 2012-11-20 2012-11-20 Information processing method and electronic device

Country Status (1)

Country Link
CN (1) CN103838501A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293738A (en) * 2016-08-09 2017-01-04 腾讯科技(深圳)有限公司 The update method of a kind of facial expression image and device
CN106803904A (en) * 2016-11-24 2017-06-06 德为显示科技股份有限公司 A kind of liquid crystal display OSD display methods and system
CN108170502A (en) * 2017-12-27 2018-06-15 上海传英信息技术有限公司 The method and terminal of picture display font
CN108595107A (en) * 2018-05-02 2018-09-28 维沃移动通信有限公司 A kind of interface content processing method and mobile terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101794566A (en) * 2010-01-08 2010-08-04 青岛海信移动通信技术股份有限公司 Method and related device for determining font data of character to be displayed in mobile terminal
CN101860686A (en) * 2009-04-08 2010-10-13 三菱电机株式会社 Image display system
CN102074221A (en) * 2011-01-06 2011-05-25 深圳芯邦科技股份有限公司 Method and device for displaying characters

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860686A (en) * 2009-04-08 2010-10-13 三菱电机株式会社 Image display system
JP2010243865A (en) * 2009-04-08 2010-10-28 Mitsubishi Electric Corp Image display system
CN101794566A (en) * 2010-01-08 2010-08-04 青岛海信移动通信技术股份有限公司 Method and related device for determining font data of character to be displayed in mobile terminal
CN102074221A (en) * 2011-01-06 2011-05-25 深圳芯邦科技股份有限公司 Method and device for displaying characters

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293738A (en) * 2016-08-09 2017-01-04 腾讯科技(深圳)有限公司 The update method of a kind of facial expression image and device
CN106803904A (en) * 2016-11-24 2017-06-06 德为显示科技股份有限公司 A kind of liquid crystal display OSD display methods and system
CN108170502A (en) * 2017-12-27 2018-06-15 上海传英信息技术有限公司 The method and terminal of picture display font
CN108595107A (en) * 2018-05-02 2018-09-28 维沃移动通信有限公司 A kind of interface content processing method and mobile terminal

Similar Documents

Publication Publication Date Title
US20090002324A1 (en) Method, Apparatus and Computer Program Product for Providing a Scrolling Mechanism for Touch Screen Devices
EP2763387B1 (en) Method and system for sharing web page information
EP2699029A1 (en) Method and Device for Providing a Message Function
EP2770422A2 (en) Method for providing a feedback in response to a user input and a terminal implementing the same
US9430146B1 (en) Density-based filtering of gesture events associated with a user interface of a computing device
CN104636434A (en) Search result processing method and device
CN107885823B (en) Audio information playing method and device, storage medium and electronic equipment
CN103809844B (en) A kind of state prompt method and electronic equipment
CN105278818B (en) Content copying methods and device in a kind of instant message applications
CN105183291A (en) Method and system for extracting information in display interface
CN103927077A (en) File display method and electronic equipment
US20150212713A1 (en) Information processing apparatus, information processing method, and computer-readable recording medium
CN104765528A (en) Display method and device of virtual keyboard
CN105302458A (en) Message display method and apparatus
CN103841460A (en) Image data transmission method and electronic devices
CN103838501A (en) Information processing method and electronic device
CN104866174A (en) Information displaying method and apparatus
CN103019610A (en) Object selection method and terminal
JP5791219B1 (en) Instant message transmission / reception program, information processing method, and information processing apparatus
JP6668868B2 (en) Information processing apparatus and information processing program
CN106293671B (en) Method and device for generating component template
CN104463974A (en) Three-dimensional model showing method, device and system
CN104657098A (en) Display System And Display Controll Device
CN104156145A (en) Text content selection method based on handwriting pen and portable terminal
US20160292140A1 (en) Associative input method and terminal

Legal Events

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

Application publication date: 20140604

RJ01 Rejection of invention patent application after publication