CN102651035A - Method and device for generating text and mobile terminal - Google Patents
Method and device for generating text and mobile terminal Download PDFInfo
- Publication number
- CN102651035A CN102651035A CN2012101073890A CN201210107389A CN102651035A CN 102651035 A CN102651035 A CN 102651035A CN 2012101073890 A CN2012101073890 A CN 2012101073890A CN 201210107389 A CN201210107389 A CN 201210107389A CN 102651035 A CN102651035 A CN 102651035A
- Authority
- CN
- China
- Prior art keywords
- text
- scene information
- scene
- text message
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
The invention provides a method and a device for generating a text and a mobile terminal, wherein the method comprises the following steps of: acquiring scene information; inquiring a scene text mapping table according to the scene information, and acquiring text information matched with the scene information; and generating a text content including the text information according to the text information. The problems that a conventional method for generating the text is slow in text generation speed and is further low in efficiency are solved, and the time and the vigor needed to edit some modal text contents of a user are saved.
Description
Technical field
The embodiment of the invention relates to communication technical field, relates in particular to a kind of text generation method and device, portable terminal.
Background technology
Along with the fast development of the communication technology and mobile Internet, the function of portable terminal from strength to strength, the scope of use and environment are also more and more diversified.
As everyone knows; Existing portable terminal all provides the method for text generation, for example utilizes portable terminal to keep a diary or to edit short message, still; Use existing text generation method; In text editing process each time, all need the user manually to import the corresponding text character, could generate corresponding this paper content.
Therefore, there is the slow and inefficient problem of text generation speed in existing text generation method.
Summary of the invention
Text generation method provided by the invention and device, portable terminal can solve existing text generation method and have the slow and inefficient problem of text generation speed.
First aspect of the present invention provides a kind of text generation method, comprising:
Obtain scene information;
According to said scene information, inquiry scene text mapping table obtains the text message with said scene information coupling;
According to said text message, generate the content of text that comprises said text message.
Another aspect of the present invention provides a kind of text generating apparatus, comprising:
Acquisition module is used to obtain scene information;
Enquiry module is used for according to said scene information, and inquiry scene text mapping table obtains the text message with said scene information coupling;
The text generation module is used for according to said text message, generates the content of text that comprises said text message.
Another aspect of the present invention provides a kind of portable terminal, comprising:
Above-mentioned text generating apparatus.
The scene information of the described text generating apparatus of present embodiment through obtaining at the text message that matees with said scene information, and generates the content of text that comprises said text message automatically; Can solve existing text generation method and have the slow and inefficient problem of text generation speed.
Description of drawings
The schematic flow sheet of the text generation method that Fig. 1 provides for the embodiment of the invention one;
The structural representation of the text generating apparatus that Fig. 2 provides for the embodiment of the invention two.
Embodiment
The schematic flow sheet of the text generation method that Fig. 1 provides for the embodiment of the invention one, as shown in Figure 1, specifically comprise:
Functions such as the global location that the said text generating apparatus of present embodiment self has, information acquisition are obtained information such as the positional information, temporal information, Weather information, environmental information of scene.
For example, the user prepares to have gone to work, and launches said text generating apparatus, and the positional information of the scene of obtaining is the position at family place, and temporal information is 7:50.
Further for instance, the said text generating apparatus of present embodiment utilizes functions such as the global location that self has, information acquisition can monitor scene information to change, and the real-time update scene information.
For example, user 9:30 arrives company, changes according to the scene information that monitors, and upgrades scene information, and the positional information of the scene after the renewal is position, the blue CITIC Building of maple, and temporal information is 9:30.
It is to be noted; Text generating apparatus described in the present embodiment is when launching for the first time; Need the guiding user be provided with scene information and with the text message of said scene information coupling, the scene information described in the present embodiment specifically can comprise information such as the positional information, temporal information, Weather information, environmental information of scene.
For example, the user can family the position at place be set to the positional information of scene, the text message that matees with family can be made as from family and go out to work; 7:00-8:00 is set to the temporal information of scene, and the text message that matees with this temporal information can be made as morning; Fine day is set to the Weather information of scene, and the text message that matees with this Weather information can be made as fine, sunny.
In the present embodiment; The user can be saved in the scene text mapping table with the scene information that is provided with the text message of said scene information coupling; So that the user transfers scene information and edits with the text message of said scene information coupling, such as can delete, revise, operation such as interpolation.
For example, the positional information of the scene of obtaining is tame position, and inquiry scene text mapping table obtains the text message that matees with tame position and is " going out to work from family ".
For example, obtain the text message that matees with tame position and be " going out to work from family ", the text message that matees with 7:50 is " morning ", and the content of text that then generates automatically is " go out to work from family morning ".
For instance; The described text generating apparatus of present embodiment can be preserved the content of text of generation automatically, and further for instance, described text generating apparatus can receive call instruction; Return the content of text corresponding, so that the user edits the content of text of transferring with said call instruction.
Need to prove that the text generating apparatus described in the present embodiment specifically can adopt text to generate application program automatically and realize that described text generating apparatus default setting is not for starting; Promptly initiatively do not obtain the corresponding text message of scene information and scene information, if will launch the text automatically generating device, for instance; The user can select text to generate automatically through user interface; Described text generating apparatus obtains scene information automatically, according to the scene information that obtains, and inquiry scene text mapping table; Obtain the text message that matees with this scene information, and generate the content of text that comprises said text message automatically.
For example, the user prepares to have gone to work, and launches said text generating apparatus; The positional information of the scene of obtaining is the position at family place; Temporal information is 7:50, and inquiry scene text mapping table obtains the text message that matees with family and is " going out to work from family "; The text message that matees with 7:50 is " morning ", and the content of text that promptly generates automatically is " go out to work from family morning ".
The scene information of the described text generating apparatus of present embodiment through obtaining at the text message that matees with said scene information, and generates the content of text that comprises said text message automatically; Can solve existing text generation method and have the slow and inefficient problem of text generation speed; Simultaneously; The described text generating apparatus of present embodiment can preset scene information comprises information such as bright weak, the weather in position, time, light; Can preset the text message with the different scene information matches according to different scene informations, thereby can obtain different scene information, generate different content of text according to the residing varying environment of user; Not only improve text generation speed, also improved user's Experience Degree simultaneously.
The structural representation of the text generating apparatus that Fig. 2 provides for the embodiment of the invention two, as shown in Figure 2, said device specifically comprises:
For instance, said device also comprises:
Accordingly, acquisition module 21 specifically is used for obtaining scene information according to said automatic generation request message.
For instance, acquisition module 21 also is used to monitor scene information and changes, and upgrades said scene information.
For instance, said device also comprises:
For instance, said device also comprises:
It is to be noted; Text generating apparatus described in the present embodiment is when launching for the first time; Need be through module be set; The guiding user be provided with scene information and with the text message of said scene information coupling, the scene information described in the present embodiment specifically can comprise information such as the positional information, temporal information, Weather information, environmental information of scene.
It is to be noted that the described text generating apparatus of present embodiment has functions such as global location, information acquisition; For instance; Described text generating apparatus utilizes the global positioning function that self has that positional information can be provided; Utilize the information collection function that self has that temporal information, Weather information, environmental information etc. can be provided, wherein global positioning function can adopt the GPS module to realize; Information collection function can adopt the sensor in real time Information Monitoring to realize, perhaps adopts network communication module through realizing from third party's reception information.
Need to prove; Text generating apparatus described in the present embodiment specifically can adopt text to generate application program automatically and realize; Acquisition module default setting in the described text generating apparatus is not for starting, and promptly acquisition module does not initiatively obtain the corresponding text message of scene information and scene information, if will launch acquisition module so that text generates automatically; For instance; The user can send through request module and generate request message automatically to acquisition module, and acquisition module obtained scene information according to generating request message automatically, and the scene information that obtains is sent to enquiry module; Enquiry module is according to the scene information that obtains; Inquiry scene text mapping table; Obtain text message with this scene information that obtains coupling; Said text message is sent to the text generation module, and the text generation module generates the content of text that comprises said text message automatically according to said text message.
For example, the user prepares to have gone to work, and launches said text generating apparatus; Be equivalent to open corresponding text and generate application program automatically, acquisition module is given in request module transmission this moment generation request message automatically, and the generation request message obtain scene information to acquisition module according to being somebody's turn to do automatically; If the positional information of the scene of obtaining is the position at family place; Temporal information is 7:50, and enquiry module inquiry scene text mapping table obtains text message with the family coupling for to go out to work from family; The text message that matees with 7:50 is morning, and the content of text that the text generation module generates automatically is to go out to work from family morning.
Further for instance, the said text generating apparatus of present embodiment utilizes functions such as the global location that self has, information acquisition to change through acquisition module monitoring scene information, and upgrades scene information.For example, user 9:30 arrives company, and the acquisition module of present embodiment changes according to the scene information that monitors can the real-time update scene information; If the positional information of the scene after upgrading is position, the blue CITIC Building of maple; Temporal information is 9:30, obtains and the text message of the blue CITIC Building of maple coupling and the text message that matees with 9:30 through enquiry module, supposes that the text message with the blue CITIC Building of maple coupling that is provided with in advance is the working of arrival company; Please keep punching for being late with the text message of 9:30 coupling; The content of text that the text generation module generates automatically is " working of arrival company has been late, and please keep punching ".
For instance; The described text generating apparatus of present embodiment can also be preserved the content of text that the text generation module generates automatically through second storage module; So that the user transfers the content of text that second storage module is preserved, the content of text of automatic generation is edited.
The described device of present embodiment specifically is used to carry out the described text of method embodiment shown in Figure 1 and generates method automatically, and it realizes that principle and technique effect repeat no more.
The embodiment of the invention three provides a kind of portable terminal, specifically comprises the described text generating apparatus of device embodiment as shown in Figure 2.
For instance, portable terminal can utilize the automatic content of text that generates of said text generating apparatus to keep a diary or edit content of short message.
The described portable terminal of present embodiment specifically can be carried out the described text generation method of method embodiment shown in Figure 1, and it realizes that principle and technique effect repeat no more.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each method embodiment can be accomplished through the relevant hardware of programmed instruction.Aforesaid program can be stored in the computer read/write memory medium.This program the step that comprises above-mentioned each method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
What should explain at last is: above each embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although the present invention has been carried out detailed explanation with reference to aforementioned each embodiment; Those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, perhaps to wherein part or all technical characteristic are equal to replacement; And these are revised or replacement, do not make the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.
Claims (12)
1. a text generation method is characterized in that, comprising:
Obtain scene information;
According to said scene information, inquiry scene text mapping table obtains the text message with said scene information coupling;
According to said text message, generate the content of text that comprises said text message.
2. method according to claim 1 is characterized in that, said obtaining before the scene information comprises:
Receive and generate request message automatically;
The said scene information that obtains specifically comprises:
According to said automatic generation request message, obtain scene information.
3. method according to claim 1 is characterized in that, the said scene information that obtains also comprises afterwards:
The monitoring scene information changes, and upgrades said scene information.
4. method according to claim 1 is characterized in that, said inquiry scene text mapping table obtains before the text message that matees with said scene information, comprising:
Be provided with said scene information and with the text message of said scene information coupling, and be saved in the said scene text mapping table with said scene information and with the text message of said scene information coupling.
5. method according to claim 4 is characterized in that, and is said with said scene information and after being saved in the said scene text mapping table with the text message of said scene information coupling, comprising:
Edit to said scene information and with the text message of said scene information coupling.
6. method according to claim 1 is characterized in that, and is said according to said text message, generates to comprise after the content of text of said text message, comprising:
Preserve said content of text;
Receive call instruction, return the content of text corresponding with said call instruction.
7. this paper generating apparatus is characterized in that, comprising:
Acquisition module is used to obtain scene information;
Enquiry module is used for according to said scene information, and inquiry scene text mapping table obtains the text message with said scene information coupling;
The text generation module is used for according to said text message, generates the content of text that comprises said text message.
8. device according to claim 7 is characterized in that, also comprises:
Request module is used to send automatic generation request message and gives said acquisition module;
Said acquisition module specifically is used for obtaining scene information according to said automatic generation request message.
9. device according to claim 7 is characterized in that, said acquisition module also is used to monitor scene information and changes, and upgrades said scene information.
10. device according to claim 7 is characterized in that, also comprises:
Module is set, is used to the text message that said scene information is set and matees with said scene information;
First storage module is used for being kept at said scene text mapping table with said scene information and with the text message of said scene information coupling;
Editor module, the said scene information that is used for said first storage module is preserved and edit with the text message of said scene information coupling.
11. device according to claim 7 is characterized in that, also comprises:
Second storage module is used to preserve said content of text, edits so that the user transfers said content of text;
Calling module is used to receive call instruction, returns the content of text corresponding with said call instruction.
12. a portable terminal is characterized in that, comprising:
Each described text generating apparatus among the claim 7-11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012101073890A CN102651035A (en) | 2012-04-12 | 2012-04-12 | Method and device for generating text and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012101073890A CN102651035A (en) | 2012-04-12 | 2012-04-12 | Method and device for generating text and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102651035A true CN102651035A (en) | 2012-08-29 |
Family
ID=46693043
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012101073890A Pending CN102651035A (en) | 2012-04-12 | 2012-04-12 | Method and device for generating text and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102651035A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105956170A (en) * | 2016-05-20 | 2016-09-21 | 微鲸科技有限公司 | Real-time scene information embedding method, and scene realization system and method |
CN110866377A (en) * | 2018-08-08 | 2020-03-06 | 北京优酷科技有限公司 | Text content conversion method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1897559A (en) * | 2005-07-13 | 2007-01-17 | 英华达(上海)电子有限公司 | Automatic guiding method |
CN101847159A (en) * | 2010-05-11 | 2010-09-29 | 中兴通讯股份有限公司 | Terminal equipment and method for updating word stock thereof |
CN102014194A (en) * | 2010-08-19 | 2011-04-13 | 上海闻泰电子科技有限公司 | Method for realizing birthday reminding of mobile phone linkman and mobile phone |
-
2012
- 2012-04-12 CN CN2012101073890A patent/CN102651035A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1897559A (en) * | 2005-07-13 | 2007-01-17 | 英华达(上海)电子有限公司 | Automatic guiding method |
CN101847159A (en) * | 2010-05-11 | 2010-09-29 | 中兴通讯股份有限公司 | Terminal equipment and method for updating word stock thereof |
CN102014194A (en) * | 2010-08-19 | 2011-04-13 | 上海闻泰电子科技有限公司 | Method for realizing birthday reminding of mobile phone linkman and mobile phone |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105956170A (en) * | 2016-05-20 | 2016-09-21 | 微鲸科技有限公司 | Real-time scene information embedding method, and scene realization system and method |
CN105956170B (en) * | 2016-05-20 | 2019-07-19 | 微鲸科技有限公司 | Real-time scene information embedding method, Scene realization system and implementation method |
CN110866377A (en) * | 2018-08-08 | 2020-03-06 | 北京优酷科技有限公司 | Text content conversion method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101110837B (en) | System and method for implementing mobile phone blog | |
US8392832B2 (en) | Display placeholders for rich media content | |
CN104077341B (en) | The method and apparatus that keyword automatically replies mapping relations is generated in instant messaging | |
CN102508701A (en) | User terminal and method for controlling automatically-operating application program | |
US8886709B2 (en) | System and method for efficient image and document upload | |
US20130154956A1 (en) | Stylus Device | |
CN103442130A (en) | Voice control method, mobile terminal device and voice control system | |
CN102404685A (en) | Sending method and sharing method of location information and mobile communication terminal | |
CN104253872A (en) | Synchronous information updating method, system and terminal | |
CN102984390A (en) | Cellphone shooting management method and shooting cellphone | |
CN103944805A (en) | Information updating method and system based on Wechat platform | |
CN103905652A (en) | Power supply management method and electronic device | |
CN107562372B (en) | Electronic equipment, data management method thereof and computer readable storage medium | |
CN104184782B (en) | A kind of method and device, system realizing third-party application social | |
CN102651035A (en) | Method and device for generating text and mobile terminal | |
CN103716760A (en) | Method and system for receiving and sending short message | |
CN100546281C (en) | A kind of method and device that transmits data | |
CN102254023A (en) | Method and device for editing webpage | |
CN102395112A (en) | Intercommunication method for diversified multi-media information and mobile terminal | |
CN101341767A (en) | Mobile animation message service method and system and terminal | |
CN105630757A (en) | Data editing method and apparatus | |
CN103873631B (en) | Method and device for displaying call interface of mobile terminal | |
CN105138502A (en) | Method for recognizing copy objects and collecting data | |
CN101860573A (en) | Method, system and mobile terminal for updating internet information | |
CN104123067B (en) | Equipment and corresponding icon configuration and display methods in electrical equipment Internet of things system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120829 |