CN101778160A - Method and device for dynamically presetting message - Google Patents
Method and device for dynamically presetting message Download PDFInfo
- Publication number
- CN101778160A CN101778160A CN201010000198A CN201010000198A CN101778160A CN 101778160 A CN101778160 A CN 101778160A CN 201010000198 A CN201010000198 A CN 201010000198A CN 201010000198 A CN201010000198 A CN 201010000198A CN 101778160 A CN101778160 A CN 101778160A
- Authority
- CN
- China
- Prior art keywords
- parameter
- template
- message
- user
- template message
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000012795 verification Methods 0.000 claims description 30
- 230000008676 import Effects 0.000 claims description 4
- 230000000694 effects Effects 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 230000002950 deficient Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72436—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
- Document Processing Apparatus (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a method and a device for dynamically presetting message through a mobile terminal. The method of the invention comprises the following steps: editing texts and template parameters on a template message editing interface into template message; resolving the template message; and replacing the template parameters by using parameter values corresponding to the template parameters. A variable part can be dynamically replaced when the message is transmitted by setting the template message comprising a constant part and the variable part so as to effectively improve the user experience.
Description
Technical field
The present invention relates to the method and the device of presetting message, particularly a kind of template of using on mobile phone or other digital terminal equipment realizes the method and the device of dynamic presetting message.
Background technology
Message module in present most of portable terminal all provides presetting message to satisfy the demand that user's rapid and convenient use presetting message sends to destination object, preset SMS in the picture short message SMS, default phrase among the Email EMAIL or the like, for unified title, this paper abbreviates presetting message as.
This type of presetting message content is all fairly simple and stiff, as " happy birthday ", " National Day is happy ", " usual place is seen " or the like, particularly also have to revise message when the message that has name sends to different destination objects causes using the mass-sending function at every turn, operate suitable loaded down with trivial detailsly, this simple stiff presetting message mode is just more out-of-date.
Therefore prior art have that the presetting message content is simple, complex operation, the defective that is not easy to mass-send.
Summary of the invention
The purpose of this invention is to provide a kind of method that realizes dynamic presetting message, to solve above-mentioned prior art defective.Dynamic presetting message of the present invention promptly is called template message.Another purpose of the present invention provides a kind of device of realizing dynamic presetting message, abundant in content to generate, the simple to operate and presetting message being convenient to mass-send.
According to first aspect present invention, realize that the method for dynamic presetting message comprises:
Start template message editing interface, text and template parameter are compiled template message;
Described template message is resolved, use corresponding to the parameter value of each template parameter and replace template parameter.
Wherein said template parameter comprises: the Xi Tongcanshuo $S{ parameter name relevant with system }; The Yong Hucanshuo $P{ parameter name relevant } with the called subscriber; Import relevant User Defined Can Shuo $U{ parameter name with the user }; And Ji Suancanshuo $C{ parameter name }.
Wherein, text and template parameter being compiled template message further comprises: the tabulation of user's start-up system presetting message; Need the position of dynamic replacement to identify at template message editing interface with template parameter; And template message carried out verification.
Wherein, described verification further comprises: the syntax format to template message carries out verification, if correctly then to the template message parse, otherwise, reenter template message editing interface and update.
Wherein, described using replaced template parameter corresponding to the parameter value of each template parameter and further comprised: determine that described parameter is the User Defined parameter, call the custom parameter inputting interface, by user's input and customer parameter corresponding parameters value, with the alternate user parameter; Determine that described parameter is a system parameters, then the call operation system obtains system parameter values, with the alternative system parameter; Determine that described parameter is a customer parameter, then call the cards folder interface and obtain corresponding customer parameter value, with the alternate user parameter; Determine that described parameter is a calculating parameter, then the operation part according to calculating parameter obtains its parameter value.
According to second aspect present invention, realize that the device of dynamic presetting message comprises:
Template message editing module is used to start template message editing interface, and text and template parameter are compiled template message; And
The template message resolution module is used for described template message is resolved, and uses corresponding to the parameter value of each template parameter and replaces template parameter.
Wherein said template parameter comprises: the Xi Tongcanshuo $S{ parameter name relevant with system }; The Yong Hucanshuo $P{ parameter name relevant } with the called subscriber; Import relevant User Defined Can Shuo $U{ parameter name with the user }; And Ji Suancanshuo $C{ parameter name }.
Wherein said template message editing module is compiled template message to text and template parameter in the following manner: the tabulation of user's start-up system presetting message; Need the position of dynamic replacement to identify at template message editing interface, form template message with template parameter.
Device of the present invention also comprises template message verification module, is used for the syntax format of template message is carried out verification, if correctly then to the template message parse, otherwise, reenter template message editing interface and update.
Wherein said template message resolution module is replaced template parameter with the relevant parameters value in such a way:
Determine that described parameter is the User Defined parameter, call the custom parameter inputting interface, by user's input and customer parameter corresponding parameters value, with the alternate user parameter;
Determine that described parameter is a system parameters, then the call operation system obtains system parameter values, with the alternative system parameter;
Determine that described parameter is a customer parameter, then call the cards folder interface and obtain corresponding customer parameter value, with the alternate user parameter.
The present invention comprises by setting makes the template message of constant part and variable part variable part dynamically be replaced, thereby has improved user experience effectively when message sends.Enriched the content of presetting message on the one hand, also simplify user's operation on the other hand, only need write the demand that once just can mass-send such as the user, demand that different time transmission content dynamically updates or the like can realize that this template message function of realization also is not difficult on mobile phone.
The present invention is described in detail below in conjunction with accompanying drawing.
Description of drawings
Fig. 1 is the schematic diagram of the device of the dynamic presetting message of realization of the present invention;
Fig. 2 is the schematic representation of apparatus that shows the dynamic presetting message of realization of the present invention;
Fig. 3 is the embodiment framework hierarchy chart of the device of the dynamic presetting message of realization of the present invention;
Fig. 4 a is template message editing of the present invention interface;
Fig. 4 b is custom parameter attribute of the present invention interface;
Fig. 4 c is a calculating parameter editing interface of the present invention;
Fig. 4 d is a custom parameter inputting interface of the present invention;
Fig. 5 is the flow chart of template message editing example of the present invention;
Fig. 6 is the flow chart of template message use-case of the present invention.
Embodiment
Fig. 1 has shown the basic structure of the device of the dynamic presetting message of realization of the present invention, comprising:
Template message editing module is used to start template message editing interface, and text and template parameter are compiled template message; And
The template message resolution module is used for described template message is resolved, and uses corresponding to the parameter value of each template parameter and replaces template parameter.
Template parameter of the present invention comprises:
The Xi Tongcanshuo $S{ parameter name relevant with system }, for example, “ $S{date} " represent and get system data “ $S{time} " the representative system time, “ $S{datetime} " time on representative system date, “ $S{week} " representative system week;
With called relevant Shou Jicanshuo $P{ parameter name }, promptly relevant parameter with phone number, these parameters all are that the coupling phone number obtains from cards folder information, as obtaining corresponding information according to phone number, as “ $P{name} " represent and obtain name, “ $P{email} " represent and obtain the email address;
The Yong Hucanshuo $U{ parameter name relevant with the User Defined statement }, promptly the User Defined parameter is thought the Can Shuo $U{mywantsay} of word or the Can Shuo $U{hopewords} that representative of consumer is wished word such as representative of consumer; And
The Ji Suancanshuo $C{ parameter name relevant } with linguistic context, this parameter is relevant with above-mentioned S, P, U parameter value, promptly relevant with the linguistic context of template message, its corresponding specific user, and be arranged in the relevant position of template message according to the syntax format of template compiler, its usually corresponding one section operation part for example has a Can Shuo $C{bless} user of blessing to give different values according to different names, and one section false code is as follows
If ($P{name}==" Zhang San ")
$C{bless}=" wishes that you bring into play bigger effect in working "
Else If ($P{name}==" Li Si ")
$C{bless}=" it is more positive in working to wish you "
Endif。
Wherein template message editing module is compiled template message to text and template parameter in the following manner:
The tabulation of user's start-up system presetting message;
Need the position of dynamic replacement to identify at template message editing interface, to form template message with template parameter.
The device of the dynamic presetting message of realization of the present invention also comprises template message verification module, is used for the syntax format of template message is carried out verification, if correctly then to the template message parse, otherwise, reenter template message editing interface and update.
The template message resolution module is replaced template parameter with the relevant parameters value in such a way:
Determine that described parameter is the User Defined parameter, call the custom parameter inputting interface, by user's input and customer parameter corresponding parameters value, with the alternate user parameter;
Determine that described parameter is a system parameters, then the call operation system obtains system parameter values, with the alternative system parameter;
Determine that described parameter is a customer parameter, then call the cards folder interface and obtain corresponding customer parameter value, with the alternate user parameter.
Fig. 2 has shown the method for the dynamic presetting message of realization of the present invention, may further comprise the steps:
Start template message editing interface, text and template parameter are compiled template message;
Described template message is resolved, use corresponding to the parameter value of each template parameter and replace template parameter.
Wherein, text and template parameter being compiled template message further comprises:
The tabulation of user's start-up system presetting message;
Need the position of dynamic replacement to identify at template message editing interface with template parameter; And template message carried out verification.
Wherein, template message is carried out verification and comprised: the syntax format to template message carries out verification, if correctly then to the template message parse, otherwise, reenter template message editing interface and update.
Use parameter value replacement template parameter further to comprise: to determine that described parameter is the User Defined parameter, call the custom parameter inputting interface, by user's input and customer parameter corresponding parameters value, with the alternate user parameter corresponding to each template parameter; Determine that described parameter is a system parameters, then the call operation system obtains system parameter values, with the alternative system parameter; Determine that described parameter is a customer parameter, then call the cards folder interface and obtain corresponding customer parameter value, with the alternate user parameter; Determine that described parameter is a calculating parameter, then the operation part according to calculating parameter obtains its parameter value.
Fig. 3 has shown the embodiment of the device of the dynamic presetting message of realization of the present invention.
As shown in Figure 3, Template Editors provides template message editing interface, can only select to be inserted in the template to system parameters and mobile phone parameters, may use template verification module and " custom parameter attribute " interface (referring to Fig. 4 b) and " calculating parameter editor " interface (referring to Fig. 4 c) when template is preserved.
As shown in Figure 3, template verification module is carried out verification to the syntax format of template parameter.
As shown in Figure 3, the template message resolution module is most important nucleus module, comprise a template compiler and handle the computing of calculating parameter, so just finishing the parsing of parameter replaces, and the computing of calculating parameter replacement function (sees also Fig. 6, it describes " parsing of parameter is replaced, and the computing of calculating parameter is replaced " process and principle in detail).
As shown in Figure 3, template manager is to unique interface of using, realizes the logic control of whole template.
In addition, the presetting message that is used for the template message editing is preserved in the tabulation of the presetting message among Fig. 3.Message among Fig. 3 is newly-built/and editing interface is to use the interface of the template message of having edited.
Below in conjunction with Fig. 3 and Fig. 4, the concrete grammar embodiment that realizes dynamic presetting message is made an explanation.This method can may further comprise the steps:
A) Template Editors is compiled template message with text on the template message editing interface and template parameter, makes to comprise in the template message corresponding to the constant part of text with corresponding to the variable part of template parameter; And
B) when using template message, for example when sending note or mail, the template message resolution module is resolved its template parameter, uses then corresponding to the parameter value of every template parameter and replaces template parameter.
Like this when for example sending note, just can be only by replacing template parameter, the note that formation and specific user and linguistic context adapt, thereby the mass-sending of realization zero defect with the template parameter value character of template parameter (promptly corresponding to).
Referring to Fig. 3, steps A of the present invention) comprising:
The user starts the presetting message tabulation, edited text and template parameter before containing usually in this presetting message tabulation;
Template manager calls template message editing interface and (a) presetting message that described presetting message tabulation shows is edited referring to Fig. 4, comprise: the position that the needs at template message editing interface dynamically substitute identifies with template parameter, for example mobile phone parameters is placed the first row leftmost position, system parameters is placed the starting position of second row; Template manager calls template verification module the syntax format of template message is carried out checking treatment.
Need to prove,, then add this template parameter,, then this parameter is placed into the relevant position if the template parameter that needs is arranged in the presetting message in the relevant position if there is not the template parameter of needs in the presetting message tabulation.
The template parameter that identifies comprises mobile phone parameters at least, perhaps comprises mobile phone parameters and system parameters at least.
Checking treatment of the present invention comprises: when containing customer parameter in finding described template parameter, template manager calls custom parameter attribute interface (referring to Fig. 4 b), by user's input parameter value; And when containing calculating parameter in the described template parameter of discovery, template manager calls calculating parameter editing interface (referring to Fig. 4 c), select the operation part of calculating parameter by the user, the operation part that you are classic employee such as selecting if ($P{phone}==135********) $C{C1}=' ' operation part, you are best employee perhaps to select if ($P{phone}==135********) $C{C1}=' '.Template verification module judges by detecting the character of customer parameter and calculating parameter whether they exist.Exist in case find them, just notify Template Editors to call corresponding interface and carry out above-mentioned processing.
As selection, checking treatment of the present invention can comprise: when containing customer parameter in finding described template parameter, template manager calls custom parameter attribute interface, substitutes attribute when being selected to move by the user; And when containing calculating parameter in the described template parameter of discovery, template manager calls the calculating parameter editing interface, is selected the operation part of calculating parameter by the user.
Step B of the present invention) comprising: when having template parameter in the template manager judgement template message to be used, call the template message resolution module and carry out whether containing in the template parameter customer parameter, system parameters, mobile phone parameters and calculating parameter judgement successively; Template manager is according to judged result then, and the execution parameter value substitutes operation.
For example the user is when being ready for sending short message, the user starts message shown in Figure 3 newly-built/editing interface; Insert the template message shown in Fig. 4 a then through editor.Then pass through to detect the template parameter character by template manager, judge in the template message to be used and whether have template parameter, if have, then call the template message resolution module and carry out whether containing in the template parameter customer parameter, system parameters, mobile phone parameters and calculating parameter judgement successively; Template manager is according to the judged result of " having " then, and the execution parameter value substitutes operation.If a certain parameter does not have, for example do not have customer parameter or user's parameter value is arranged, then carry out the judgement of next parameter.
Template manager carries out following operation according to judged result:
If judged result substitutes when customer parameter and attribute are operation for containing, then template manager calls custom parameter inputting interface (referring to Fig. 4 d), by user's input and customer parameter corresponding parameters value, with the alternate user parameter;
If judged result is for containing system parameters, then template manager call operation system obtains system parameter values, with the alternative system parameter;
If judged result is for containing mobile phone parameters, then template manager calls the cards folder interface and obtains corresponding mobile phone parameters value, to substitute mobile phone parameters;
If judged result is for containing calculating parameter, then template manager calls template compiler and obtains its parameter value according to the operation part of calculating parameter, for example obtain following the calculating parameter value of customer parameter value " Zhang San " " wish you work in the bigger effect of performance ", perhaps follow the calculating parameter value of customer parameter value " Li Si " " wish you work in the bigger effect of performance " according to the operation part in when editor.
Realize the idiographic flow of template message editing of the present invention and realize the detailed process that template message of the present invention is used below in conjunction with accompanying drawing 5 and accompanying drawing 6 explanations.
Fig. 5 has shown template message editing flow process (being applied as example with note).
Step 1: the user enters preset SMS list interface (SMS is used usually all provides the preset SMS module, corresponding with presetting message tabulation startup shown in Figure 5).
Step 2: the startup of template message manager is also done initialization.
Step 3: the user carries out and adds or editing template message operation (annotate: template message is primary demonstration in the presetting message tabulation, promptly comprises the character string of series of parameters name).
Step 4: template manager calls template message editing interface (as Fig. 4 a, if add new template message, show the editing interface of a sky this moment, if the template message that editor has existed, the content of this template message of the primary demonstration of editing area this moment).
Step 5: the user carries out the editor of template message at editing interface, the place parameter identification that needs dynamic replacement, be that system parameters and mobile phone parameters can only be selected to insert in combobox, the User Defined parameter is directly with form “ $U{ parameter name } " the manual input of mode, calculating parameter is with form “ $C{ parameter name } " the manual input of mode.
Step 6: select " preservation " operation after input finishes.
Step 7: template manager calls template verification module the syntax format of template message is carried out verification, and verification is by turning back to step 4, and ejects the miscue frame and remind the user.
Step 8: verification is passed through, if comprise the User Defined parameter in the template message, template manager calls " custom parameter attribute " interface (as Fig. 4 b), the user need make two selections to custom parameter, select a direct input parameter value, select two bullet frame inputs promptly when operation, to eject parameter interface user input parameter value when operation.
Step 9: verification is passed through, if comprise calculating parameter in the template message, template manager calls " calculating parameter editor " interface (as Fig. 4 c), and the user selects calculating parameter, writes operation part according to the grammer of compiler support.
Step 10: the user selects " determining " at " calculating parameter editor " interface, calculating parameter begins verification, if do not pass through, returns step 9.
Step 11: all parameters are finished editor, return the template message that has comprised template parameter and arrive the preset SMS interface, so far preserve operation and finish.
Step 12: template message editing flow process finishes.
Fig. 6 has shown template message use flow process (being applied as example with note) of the present invention
Step 1: the user enter the short message editing interface be initiation message newly-built/editing interface.
Step 2: enter preset SMS and select to insert a certain template message, the template message shown in Fig. 4 a through editor.
Step 3: the user selects " transmission " operation.
Step 4: template manager judges that this template message has or not template parameter, further handles if call the template message resolution module, does not leap to step 11 if having.
Step 5: the template message resolution module judges that at first (attribute of custom parameter " replacing during operation " is determined in replacement when having or not User Defined parameter and attribute to be operation when editor, as Fig. 4 b), if have then template manager accesses " custom parameter input " interface (as Fig. 4 d), the user is in this interface input custom parameter corresponding parameters value.
Step 6: " determining " selected at user's " custom parameter input " interface, calls the template message resolution module at template manager and replaces the User Defined parameter, promptly finds corresponding parameters value and replacement according to parameter name, and so far customer parameter is replaced and finished.
Step 7: the template message resolution module is judged and is had or not system parameters, is that the relevant interface of OS obtains system parameter values if the call operation system is arranged, as obtaining system time at the linux cell phone platform by the localtime function.
Step 8: the template message resolution module judges and has or not mobile phone parameters that the template message resolution module calls the cards folder interface according to the phone number that sends object and replaces corresponding parameters as find corresponding name according to phone number.
Step 9: the template message resolution module is judged and is had or not calculating parameter, calls the template compiler syntax format according to a preconcerted arrangement that comprises and calculates the calculating parameter value.
If ($P{name}==" Zhang San ")
$C{bless}=" wishes that you bring into play bigger effect in working "
Else If ($P{name}==" Li Si ")
$C{bless}=" wishes that you bring into play bigger effect in working "
Endif
A Ji Suancanshuo $C{bless} just replaces with corresponding value according to different names as the aforementioned
Step 10: template manager returns to short message application program to the template message of having replaced all parameters.
Step 11: short message is used and is used the presetting message of having replaced parameter as the source message that sends, and calls transmission interface and sends message.
Step 12: template message uses flow process to finish.
From with the cope match-plate pattern message editing with use flow process as can be seen, the template message resolution module is the core of whole template message management, it also is the function extension point, as long as resolver can support just can expand more parameter, presetting message uses after the template that it is rich, autgmentability, ease for use characteristics are also just more and more obvious.
In sum, the present invention has adopted in order to following key technology:
1. be provided with template parameter, i.e. variable part in the presetting message, syntax format is " $ parameter type { parameter name } "
Can be divided into following four classes:
√ S representative system parameter is as “ $S{date} " represent and get system data “ $S{time} "
The representative system time, “ $S{datetime} " time on representative system date, “ $S{month} " representative system week.
√ P represents mobile phone parameters (promptly relevant with phone number parameter, these parameters all are that the coupling phone number obtains from cards folder information), as obtaining corresponding information according to phone number),
As “ $P{name} " represent and obtain name, “ $P{email} " represent and obtain the email address.
√ U representative of consumer parameter, i.e. custom parameter, the User Defined parameter can input when sending, and also can be provided with when editor.
It (is that this parameter is to calculate gained by above-mentioned S, P, U parameter value according to certain condition that √ C represents calculating parameter, this parameter is also resolved replacement at last by the template message resolution module), for example have a Can Shuo $C{bless} user of blessing to give different values according to different names, one section false code is as follows
If ($P{name}==" Zhang San ")
$C{bless}=" wishes that you bring into play bigger effect in working "
Else If ($P{name}==" Li Si ")
$C{bless}=" it is more positive in working to wish you "
Endif。
The √ parameter does not allow nested, and U and C parameter are directly write by corresponding syntax format when edit model.
2, Template Editors: template message editing interface is provided.
3, template verification module: the syntax format to template parameter carries out verification.
4, template message resolution module: be most important nucleus module, finish the parsing replacement of parameter and the computing of calculating parameter and replace.
5, template manager: be unique interface, realize the logic control of whole template to using.
Although above the present invention is had been described in detail, the invention is not restricted to this, those skilled in the art of the present technique can carry out various modifications according to principle of the present invention.Therefore, all modifications of doing according to the principle of the invention all should be understood to fall into protection scope of the present invention.
Claims (10)
1. method that realizes dynamic presetting message comprises:
Start template message editing interface, text and template parameter are compiled template message;
Described template message is resolved, use corresponding to the parameter value of each template parameter and replace template parameter.
2. method according to claim 1, wherein said template parameter comprises:
The Xi Tongcanshuo $S{ parameter name relevant } with system;
The Yong Hucanshuo $P{ parameter name relevant } with the called subscriber;
Import relevant User Defined Can Shuo $U{ parameter name with the user }; And
Ji Suancanshuo $C{ parameter name }.
3. method according to claim 2, describedly text and template parameter are compiled template message further comprise:
The tabulation of user's start-up system presetting message;
Need the position of dynamic replacement to identify at template message editing interface, form template message with template parameter;
Template message is carried out verification.
4. method according to claim 3, described verification further comprises:
Syntax format to template message carries out verification, if correctly then to the template message parse, otherwise, reenter template message editing interface and update.
5. method according to claim 1, described using replaced template parameter corresponding to the parameter value of each template parameter and further comprised:
Determine that described parameter is the User Defined parameter, call the custom parameter inputting interface, by user's input and customer parameter corresponding parameters value, with the alternate user parameter;
Determine that described parameter is a system parameters, then the call operation system obtains system parameter values, with the alternative system parameter;
Determine that described parameter is a customer parameter, then call the cards folder interface and obtain corresponding customer parameter value, with the alternate user parameter;
Determine that described parameter is a calculating parameter, then the operation part according to calculating parameter obtains its parameter value.
6. device of realizing dynamic presetting message comprises:
Template message editing module is used to start template message editing interface, and text and template parameter are compiled template message; And
The template message resolution module is used for described template message is resolved, and uses corresponding to the parameter value of each template parameter and replaces template parameter.
7. device according to claim 6, wherein said template parameter comprises:
The Xi Tongcanshuo $S{ parameter name relevant } with system;
The Yong Hucanshuo $P{ parameter name relevant } with the called subscriber;
Import relevant User Defined Can Shuo $U{ parameter name with the user }; And
Ji Suancanshuo $C{ parameter name }.
8. device according to claim 7, wherein said template message editing module is compiled template message to text and template parameter in the following manner:
The tabulation of user's start-up system presetting message;
Need the position of dynamic replacement to identify at template message editing interface, form template message with template parameter;
9. device according to claim 8 also comprises template message verification module, is used for template message is carried out verification, and described verification comprises:
Syntax format to template message carries out verification, if correctly then to the template message parse, otherwise, reenter template message editing interface and update.
10. device according to claim 6, wherein said template message resolution module are replaced template parameter with the relevant parameters value in such a way:
Determine that described parameter is the User Defined parameter, call the custom parameter inputting interface, by user's input and customer parameter corresponding parameters value, with the alternate user parameter;
Determine that described parameter is a system parameters, then the call operation system obtains system parameter values, with the alternative system parameter;
Determine that described parameter is a customer parameter, then call the cards folder interface and obtain corresponding customer parameter value, with the alternate user parameter.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010000198.5A CN101778160B (en) | 2010-01-08 | 2010-01-08 | Method and device for dynamically presetting message |
PCT/CN2010/074017 WO2010148984A1 (en) | 2010-01-08 | 2010-06-17 | Method and device for dynamically presetting messages |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010000198.5A CN101778160B (en) | 2010-01-08 | 2010-01-08 | Method and device for dynamically presetting message |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101778160A true CN101778160A (en) | 2010-07-14 |
CN101778160B CN101778160B (en) | 2014-08-20 |
Family
ID=42514482
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010000198.5A Expired - Fee Related CN101778160B (en) | 2010-01-08 | 2010-01-08 | Method and device for dynamically presetting message |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101778160B (en) |
WO (1) | WO2010148984A1 (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102740255A (en) * | 2011-04-15 | 2012-10-17 | 中兴通讯股份有限公司 | Method and device for constructing short message |
CN104320539A (en) * | 2014-10-21 | 2015-01-28 | 厦门美图移动科技有限公司 | Method for quickly inputting on mobile equipment through template |
CN104378282A (en) * | 2013-12-25 | 2015-02-25 | 腾讯科技(深圳)有限公司 | Information sending method and information forwarding method, device and system |
CN105227435A (en) * | 2015-08-24 | 2016-01-06 | 小米科技有限责任公司 | The method and apparatus of transmission of messages |
CN105653509A (en) * | 2015-12-24 | 2016-06-08 | 北京经纬恒润科技有限公司 | Document processing method and device |
CN105930313A (en) * | 2016-04-13 | 2016-09-07 | 平安科技(深圳)有限公司 | Method and device for processing notification message |
CN106713476A (en) * | 2017-01-01 | 2017-05-24 | 国云科技股份有限公司 | Message transmission implementation method based on message template |
CN107203505A (en) * | 2017-05-26 | 2017-09-26 | 北京小米移动软件有限公司 | Text message edit methods and device |
US20170310638A1 (en) * | 2013-12-19 | 2017-10-26 | Architecture Technology Corporation | Context-aware network and situation management for crypto-partitioned networks |
CN107659487A (en) * | 2016-08-23 | 2018-02-02 | 平安科技(深圳)有限公司 | The collocation method and configuration device of message template |
CN109635260A (en) * | 2018-11-09 | 2019-04-16 | 北京百度网讯科技有限公司 | For generating the method, apparatus, equipment and storage medium of article template |
CN110401925A (en) * | 2019-05-07 | 2019-11-01 | 杭州迪普科技股份有限公司 | A kind of generation method and device of communication message |
CN111027298A (en) * | 2019-05-31 | 2020-04-17 | 珠海随变科技有限公司 | Message sending method, system, computer device and storage medium |
CN111368522A (en) * | 2020-03-31 | 2020-07-03 | 中国建设银行股份有限公司 | Information generation method and device, computer equipment and computer readable storage medium |
CN112104544A (en) * | 2020-09-08 | 2020-12-18 | 紫光云(南京)数字技术有限公司 | Method and device for sending dynamic mail based on Freemarker |
CN113779945A (en) * | 2020-08-20 | 2021-12-10 | 北京沃东天骏信息技术有限公司 | Method and device for generating file |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1509049A1 (en) * | 2003-08-20 | 2005-02-23 | Accenture Global Services GmbH | Methods and systems for providing information to mobile users over limited bandwidth |
CN1913660A (en) * | 2006-08-28 | 2007-02-14 | 深圳市杰特电信控股有限公司 | Automatic trunking transmitting method of mobile phone short message |
CN101237605A (en) * | 2007-02-01 | 2008-08-06 | 环达电脑(上海)有限公司 | Personalized SMS group sending method |
CN101127945A (en) * | 2007-09-20 | 2008-02-20 | 黄家昌 | A method and system for adding names of target users in SMS group |
CN101534346B (en) * | 2009-04-13 | 2012-05-23 | 中国网通集团宽带业务应用国家工程实验室有限公司 | Short message template based on short message transmitting method and terminal thereof |
-
2010
- 2010-01-08 CN CN201010000198.5A patent/CN101778160B/en not_active Expired - Fee Related
- 2010-06-17 WO PCT/CN2010/074017 patent/WO2010148984A1/en active Application Filing
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102740255A (en) * | 2011-04-15 | 2012-10-17 | 中兴通讯股份有限公司 | Method and device for constructing short message |
US20170310638A1 (en) * | 2013-12-19 | 2017-10-26 | Architecture Technology Corporation | Context-aware network and situation management for crypto-partitioned networks |
US20170346771A1 (en) * | 2013-12-25 | 2017-11-30 | Tencent Technology (Shenzhen) Company Limited | Message sending and forwarding method, apparatus, and system |
CN104378282A (en) * | 2013-12-25 | 2015-02-25 | 腾讯科技(深圳)有限公司 | Information sending method and information forwarding method, device and system |
CN104378282B (en) * | 2013-12-25 | 2016-08-24 | 腾讯科技(深圳)有限公司 | Message method, message forwarding method, Apparatus and system |
US20160301642A1 (en) * | 2013-12-25 | 2016-10-13 | Tencent Technology (Shenzhen) Company Limited | Message sending and forwarding method, apparatus, and system |
US9774550B2 (en) * | 2013-12-25 | 2017-09-26 | Tencent Technology (Shenzhen) Company Limited | Message sending and forwarding method, apparatus, and system |
US10212109B2 (en) * | 2013-12-25 | 2019-02-19 | Tencent Technology (Shenzhen) Company Limited | Message sending and forwarding method, apparatus, and system |
CN104320539A (en) * | 2014-10-21 | 2015-01-28 | 厦门美图移动科技有限公司 | Method for quickly inputting on mobile equipment through template |
CN105227435A (en) * | 2015-08-24 | 2016-01-06 | 小米科技有限责任公司 | The method and apparatus of transmission of messages |
CN105653509A (en) * | 2015-12-24 | 2016-06-08 | 北京经纬恒润科技有限公司 | Document processing method and device |
CN105653509B (en) * | 2015-12-24 | 2019-04-26 | 北京经纬恒润科技有限公司 | A kind of document processing method and device |
CN105930313A (en) * | 2016-04-13 | 2016-09-07 | 平安科技(深圳)有限公司 | Method and device for processing notification message |
CN107659487A (en) * | 2016-08-23 | 2018-02-02 | 平安科技(深圳)有限公司 | The collocation method and configuration device of message template |
CN106713476A (en) * | 2017-01-01 | 2017-05-24 | 国云科技股份有限公司 | Message transmission implementation method based on message template |
CN107203505A (en) * | 2017-05-26 | 2017-09-26 | 北京小米移动软件有限公司 | Text message edit methods and device |
CN109635260A (en) * | 2018-11-09 | 2019-04-16 | 北京百度网讯科技有限公司 | For generating the method, apparatus, equipment and storage medium of article template |
CN109635260B (en) * | 2018-11-09 | 2022-07-12 | 北京百度网讯科技有限公司 | Method, device, equipment and storage medium for generating article template |
CN110401925A (en) * | 2019-05-07 | 2019-11-01 | 杭州迪普科技股份有限公司 | A kind of generation method and device of communication message |
CN111027298A (en) * | 2019-05-31 | 2020-04-17 | 珠海随变科技有限公司 | Message sending method, system, computer device and storage medium |
CN111368522A (en) * | 2020-03-31 | 2020-07-03 | 中国建设银行股份有限公司 | Information generation method and device, computer equipment and computer readable storage medium |
CN111368522B (en) * | 2020-03-31 | 2024-01-30 | 中国建设银行股份有限公司 | Information generation method and device, computer equipment and computer readable storage medium |
CN113779945A (en) * | 2020-08-20 | 2021-12-10 | 北京沃东天骏信息技术有限公司 | Method and device for generating file |
CN112104544A (en) * | 2020-09-08 | 2020-12-18 | 紫光云(南京)数字技术有限公司 | Method and device for sending dynamic mail based on Freemarker |
CN112104544B (en) * | 2020-09-08 | 2022-05-10 | 紫光云(南京)数字技术有限公司 | Method and device for sending dynamic mail based on Freemarker |
Also Published As
Publication number | Publication date |
---|---|
WO2010148984A1 (en) | 2010-12-29 |
CN101778160B (en) | 2014-08-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101778160B (en) | Method and device for dynamically presetting message | |
CN102866782B (en) | Input method and input method system for improving sentence generating efficiency | |
CN101216854B (en) | Computer words input method and system and its word library maintenance method and device | |
CN110244941B (en) | Task development method and device, electronic equipment and computer readable storage medium | |
CN101287195A (en) | Editing device and method for HTML multimedia message service | |
CN103150294A (en) | Method and system for correcting based on voice identification results | |
CN103425704A (en) | Application interface providing method and application interface providing device | |
CN112711414B (en) | Form interface adaptation display method and device and storage medium | |
CN102323858B (en) | Identify the input method of modification item in input, terminal and system | |
CN108664505B (en) | Method and device for exporting database table structure | |
CN109669678A (en) | Template engine integration method, device, electronic equipment and storage medium | |
CN111580794A (en) | Method and device for creating business document in business management system | |
CN104468926A (en) | Method and device for controlling contact persons in mobile terminal | |
CN101365012A (en) | Abbreviation operating method and hand-hold communication terminal | |
CN107682747A (en) | TV set software rapid generation and device | |
JP2007219940A (en) | Menu control device, mobile phone, and program for menu control device | |
CN110531968B (en) | Method for automatically extracting web front-end function code to generate independent template | |
CN113177059A (en) | Method and device for generating matching platform SQL script | |
CN113822025A (en) | Office file automatic generation method, device, equipment and storage medium | |
CN109508185B (en) | Code review method and device | |
CN103477337B (en) | The electronic equipment of dynamic format currency expression formula and method | |
US20060291463A1 (en) | Communication apparatus, control method therefor, computer readable information recording medium and communication destination apparatus type registration data | |
JP5206675B2 (en) | Structured document converter | |
JP2008216965A (en) | Method of displaying mail on screen in music-integrated form | |
CN111353293B (en) | Statement material generation method and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140820 Termination date: 20180108 |