CN110401925A - A kind of generation method and device of communication message - Google Patents

A kind of generation method and device of communication message Download PDF

Info

Publication number
CN110401925A
CN110401925A CN201910375849.XA CN201910375849A CN110401925A CN 110401925 A CN110401925 A CN 110401925A CN 201910375849 A CN201910375849 A CN 201910375849A CN 110401925 A CN110401925 A CN 110401925A
Authority
CN
China
Prior art keywords
replacement
parameter
generation
value
template
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
CN201910375849.XA
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.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech Technologies Co 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 Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201910375849.XA priority Critical patent/CN110401925A/en
Publication of CN110401925A publication Critical patent/CN110401925A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0272Virtual private networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/18Network architectures or network communication protocols for network security using different networks or channels, e.g. using out of band channels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/18Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Abstract

The application provides the generation method and device of a kind of communication message, comprising: obtains the generation template of communication message, first parameter generated in template comprising being referred to by the first replacement label generation;It executes first replacement and marks corresponding arithmetic logic;The first replacement label is replaced using the operation result of the arithmetic logic, using the value as first parameter.By the technical solution of the application, it can be achieved that being related to the calling of the operation result of complicated function operation, the middle replacement label institute that please seek template is improved for the scope of application referred to.

Description

A kind of generation method and device of communication message
Technical field
This application involves network technique fields, and in particular to a kind of generation method and device of communication message.
Background technique
With the rapid development of mobile communication technology, operation leading with content supplier (SP, Service Provider) The application range for the mobile data services that quotient supports is increasing.It is with the Short Message Service Gateway that operator is docked in short message content provider , connection, certification are executed according to agreement between the Short Message Service Gateway for the operator that short message content provider is docked with it, submits and closes It is existing in processes such as request content, the reception return states of communication information, but since the gateway protocol of different operators is different Have in technology there is no ideal request content generating mode, not only seriously affects content supplier for request content Formation efficiency, and be related to higher recruitment cost in corresponding generating process.
Summary of the invention
In view of this, the application provides the generation method and device of a kind of communication message, configured for each operator logical The generation template for interrogating the corresponding request content of information can also be realized based on the dynamic replacement label generated in template and be related to complexity The calling of the operation result of functional operation improves the middle replacement label institute that please seek template for the scope of application that refers to, to solve The problems in docking operation is being carried out with the Short Message Service Gateway of different operators, is improving the formation efficiency of request content.
To achieve the above object, it is as follows to provide technical solution by the application:
According to a first aspect of the present application, a kind of generation method of communication message is proposed, applied to content supplier In the network equipment, comprising:
Obtain the generation template of communication message, first ginseng generated in template comprising being referred to by the first replacement label generation Number;
It executes first replacement and marks corresponding arithmetic logic;
The first replacement label is replaced using the operation result of the arithmetic logic, using taking as first parameter Value.
According to a second aspect of the present application, a kind of generating means of communication message are proposed, applied to content supplier In the network equipment, comprising:
Acquiring unit, obtains the generation template of communication message, includes to be referred in the generation template by the first replacement label generation The first parameter;
Execution unit executes first replacement and marks corresponding arithmetic logic;
First replacement unit is replaced first replacement using the operation result of the arithmetic logic and is marked, using as institute State the value of the first parameter.
By above technical scheme as it can be seen that in technical solution disclosed in the present application, the generation template based on communication message is replaced Dehorn note can be achieved that the operation result of corresponding arithmetic logic is called and replaced, so that the generation mould of the communication message of the application Plate can realize and the seamless interfacing of the access protocol containing complex calculation logic, to be not necessarily to people in arithmetic logic implementation procedure The operation that work configuration is called, improves the formation efficiency of communication message, reduces recruitment cost.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the generation method of the communication message provided according to one exemplary embodiment of the application;
Fig. 2 is the flow chart according to the generation method of another communication message in one exemplary embodiment of the application;
A kind of flow chart of the execution method for logical operation rule that Fig. 3 is provided according to one exemplary embodiment of the application;
Fig. 4 is the schematic configuration diagram according to one of one exemplary embodiment of the application electronic equipment;
Fig. 5 is the block diagram according to the generating means of one of one exemplary embodiment of the application communication message.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application. It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
With the rapid development of mobile communication technology, operation leading with content supplier (SP, Service Provider) The application range for the mobile data services that quotient supports is increasing.Content supplier is generated based on the access standard of carrier gateway Communication message to be sent, and the request content after certification is sent by the interface channel established between operator To operator, so that operator provides the Network communication service about communication message.
By taking the Short Message Service Gateway of docking operator, short message content provider as an example, since what different operators was capable of providing leads to News service is different, thus based on different project demands, short message content provider generally requires the short message of docking different operators Gateway, so that the composition form of the access standard adjustment request template based on the carrier gateway docked, and then can be according to fortune The request template generation of battalion quotient can pass through the request content of certification.
Such as in the generating process of the request content of short message certification code, for the access mark of the Short Message Service Gateway of operator A Standard, content supplier's configuration please seek template are as follows: account=user&password=123456&phoneNum= Your short message certification code of phoneNum $ $ &content=are as follows: $ $ code $ $, then the request template generation based on operator can Then be related to by the process of the request content of certification: the content of relevant information and real-time communication to be sent based on user is to asking The replacement label of fixation in seeking template is replaced, and fixed replacement label $ $ phoneNum $ $ is such as replaced with user's Phone number: 18518472331, fixed replacement label $ $ code $ $ is taken over and is changed to short message certification code to be sent: 866345。
However, when the authentication content in the access standard of operator becomes complexity, then it can not be to consolidating in please seeking template Fixed replacement label is replaced, so that the short message certification module of SSL vpn server cannot be with operator in the related technology Authentication gateway complete docking.
Such as if the request content requirement that operator can identify must be: account=user&password=123 Your short message certification code 866345&localTime=201 81115& of 456&phoneNum=18518472331&content= Tokenid=MjAxODExMTUxODUxODQ3MjMzMQ==, tokenid therein are l ocaltime+phoneNum group It carries out the value after base64 coding after conjunction, then please seek template corresponding to the request content that the operator can identify, need to wrap Identifying code replacement containing fixed phone number replacement label $ $ phoneNum $ $, fixation marks the transmission of $ $ code $ $, fixation Time replacement label $ $ localTime $ $ and revocable replacement mark $ $ tokenid $ $, it is clear that in the related art only In the case where capable of being replaced for fixation mark, is realized there are no effective method and progress is marked for revocable replacement Replacement.
In view of this, the application provides a kind of generation method of communication message, the generation template based on communication message is replaced Dehorn note can be achieved that the operation result of corresponding arithmetic logic is called and replaced, so that the generation mould of the communication message of the application Plate can realize and the seamless interfacing of the access protocol containing complex calculation logic, to be not necessarily to people in arithmetic logic implementation procedure The operation that work configuration is called, improves the formation efficiency of communication message, reduces recruitment cost.
With reference to the accompanying drawing, the specific embodiment of the application is described in detail.
For the application is further described, the following example is provided:
Fig. 1 is a kind of flow chart of the generation method of the communication message provided according to one exemplary embodiment of the application, such as Shown in Fig. 1, this method be may comprise steps of:
Step 101, the generation template of communication message is obtained, it is described to generate in template comprising marking generation to refer to by the first replacement First parameter.
In one embodiment, it generates also comprising the second parameter referred to by the second replacement label generation in template, and then by true Fixed second replacement label it is corresponding enter ginseng value so that using determining value replacement the second replacement label, using as second The value of parameter.As it can be seen that can determine that the replacement of the value of the second parameter marks for the value by determining ginseng, then directly It obtains the replacement and marks corresponding value, the determining method of classification is implemented based on the value of replacement label, improves parameter value Determination efficiency.
In one embodiment, according to the corresponding targeted carrier of communication message, the generation for corresponding to targeted carrier is obtained Template;Wherein, the parameter that the first replacement label generation referred to includes: shared parameter defined in the access protocol of all operators, and/ Or peculiar parameter defined in the access protocol of the targeted carrier.In the present embodiment, phase is transferred automatically according to operator That answers please seek template, and be different from and be manually modified in the related technology in conjunction with the Short Message Service Gateway agreement of operator to that please seek template, The scheme of the present embodiment please seek template accordingly without artificial provide in real time, simplify manual operation, improve short with operator Believe the docking efficiency of gateway.
Step 102, it executes first replacement and marks corresponding arithmetic logic.
In one embodiment, predefined operation corresponding with dynamic replacement label in dynamic link library can be called Logic, and receive the operation result for the arithmetic logic that the dynamic link library returns.
In one embodiment, arithmetic logic may include: to carry out the predefined of operation to the value that one or more enters ginseng Operation rule;Or, the predefined configuration rule that the value of system parameter is read out and is configured.Wherein, one or more It is a to enter to join other replacement labels for including corresponding to the generation template.
Step 103, it replaces first replacement using the operation result of the arithmetic logic to mark, using as described first The value of parameter.
Through the foregoing embodiment, corresponding for the first parameter in the generation template of communication message to carry out arithmetic logic Replacement label executes the replacement and marks corresponding arithmetic logic, and using the operation result obtained after execution to replacement mark into Row replacement, and then obtain the corresponding value of the first parameter so that can according to operator enter to join the corresponding parameter of standard setting and Corresponding logic fortune also can be performed even if the replacement marks simultaneously on-fixed and need to carry out logical operation in its corresponding replacement label It calculates and uses obtained operation result as the value of the first parameter, thus the shortcomings that overcoming in the related technology.
In order to make it easy to understand, being recognized below with the short message of the SSL vpn server docked with the authentication gateway of operator Card module in please seek template for, in the application generate communication message specific embodiment be described in detail.Below It is described in conjunction with generating process of the Fig. 2 to the communication message, wherein Fig. 2 is according in one exemplary embodiment of the application The flow chart of the generation method of another communication message, as shown in Fig. 2, this method may include:
Step 201, it receives and is requested about the transmission of communication message.
It in one embodiment, can be the HTTP request based on Transmission Control Protocol about the transmission request of communication message, accordingly , after the SSL vpn server containing short message certification module receives the HT TP request of client transmission, return contains shape The response message of state row and response code.
Step 202, according to the corresponding targeted carrier of request is sent, the generation template of communication message is obtained.
In one embodiment, corresponding communication message can be pre-configured for targeted carrier and generate template, without being based on The Valuation Standard of fixed form and targeted carrier are generated in real time, improve the formation efficiency of request content.
Step 203, traversal please seek template middle generation refer to parameter replacement label.
In one embodiment, the parameter that replacement label generation refers to may include: defined in the access protocol of all operators Peculiar parameter defined in the access protocol of shared parameter and/or the targeted carrier.
Step 204, if replacement label it is corresponding enter ginseng standard be fixed value replacement identify, then follow the steps 2 05;It is no Then, step 207 is executed.
Step 205, it determines that replacement label is corresponding to enter to join the value of standard.
Step 206, replacement label is replaced using identified value, using the value as parameter.
In one embodiment, the replacement label in please seeking template is parsed one by one, when the replacement traversed is labeled as When the replacement mark of fixed value, then marks corresponding value to replace the replacement label replacement, corresponded to using being marked as the replacement The value of parameter.In detailed process, it can be determined by the type identification of replacement label, $ $ such as is marked for replacement Org_password $ $, obtaining the replacement and marking corresponding type identification is TYPE_VALUE, then replaces label $ $ org_ Password $ $ is that the replacement of fixed value identifies, and determines that the corresponding value of replacement label $ $ org_password $ $ is Sec! 123456K then uses Sec!$ $ org_password $ $ in 123456K replacement request template, using as parameter org_ The value of password.
Step 207, it executes replacement and marks corresponding logical operation rule.
Executing replacement marks the concrete mode of corresponding logical operation rule that can predefine to call in dynamic link library Arithmetic logic corresponding with dynamic replacement label, receive the operation for the arithmetic logic that the dynamic link library returns As a result, specific implementation process can be as shown in figure 3, wouldn't repeat herein.
Step 208, replacement is marked using the operation result for executing logical operation rule and is replaced, using as parameter Value.
Step 209, if the replacement label that please be sought template completes replacement operation, the request for marking replacement to complete replacement Template is sent to the authentication gateway of operator as communication message;Otherwise, return step 203.
Fig. 3 is a kind of process of the execution method of logical operation rule provided according to one exemplary embodiment of the application Figure, as shown in figure 3, this method may comprise steps of:
Step 301, the dynamic link library containing logical operation rule is loaded.
In one embodiment, the dynamic link library after the completion of being pre-configured with can be directly compiled, linked, Jin Ershi Apply the loading procedure to dynamic link libraries.Furthermore, it is possible to be completed after dynamic link library is loaded into memory by dynamic linker To the process that the symbol of dynamic link library redirects, so that without jumping during symbolic reference in dynamic link library, Improve program operational efficiency.
In another embodiment, linker can be passed through in real time according to the Valuation Standard of targeted carrier by administrator and adds phase The file destination of pass, and dynamic link library is completed to load again after updating.In the present embodiment, it provides to dynamic link The method that dynamic library file is uploaded in library, realizes the update of the file destination in the dynamic link library corresponding to Valuation Standard, Improve the scope of application of dynamic link library.
All API in dynamic link library, which can be followed, returns the result consistent principle, can be interior so that returning the result The short message certification module held in the gateway of provider is identified.Such as go out ginseng result with " out " character representation, and then interior Hold the short message certification module in the gateway of provider and pass through the calling configured to " out " character, and then realizes and logic is transported Calculate the accurate acquisition of corresponding operation result.
It is easily understood that the generation and record of any dynamic link library that can support pending logical operation rule Method should belong in the protection scope of the application, and the application does not limit the generation of dynamic link library and loading method.
Step 302, incidence relation and replacement label and fixed value based on replacement label with API in dynamic link library Corresponding relationship, determination please seek template in replacement mark corresponding Substitution Rules.
Step 303, judge whether the corresponding replacement type of Substitution Rules is fixed value, if so, using the fixed value to replacing Dehorn note is replaced;It is no to then follow the steps 304.
In one embodiment, it can be determined according to replacement type identification, TYPE_VALUE mark replacement can be used Label is related to fixed value, and identifying replacement label using TYPE_API can also make with API type with incidence relation certainly The type of corresponding Substitution Rules is marked to be identified replacement with other identifier or the detection method about type, the application It is without limitation.
Step 304, gradually judge that each replacement marks whether that corresponding one enters ginseng, if so, calling dynamic link library with true Fixed this enters to join corresponding ginseng out, and goes out to join to mark replacement using this and be replaced;Otherwise, step 305 is executed.
Step 305, judge it is each enter to join A and enter to join the demand of B with the presence or absence of other, if so, executing step 3 06;Otherwise, It calls dynamic link library to enter to join the corresponding ginseng out of A so that determination is each, and executes step 308.
Step 306, dynamic link library is called to determine that other enter to join the corresponding ginseng out of B.
In one embodiment, when other enter to join in corresponding operation rule there are when undetermined parameter information, then preferentially Undetermined parameter information is determined, until determine other enter to join B it is corresponding go out ginseng enter ginseng all obtain after, execute fortune It calculates and determines that other enter to join joining out for B.
Step 307, enter to join the corresponding ginseng out of B using other to calculate into the corresponding ginseng out of ginseng A.
Step 308, logically operation rule carries out operation to the ginseng that goes out for entering to join A, is marked using the operation result to replacement Note is replaced.
In one embodiment, logical operation rule can carry out the predefined of operation to enter the value of ginseng to one or more Operation rule.Such as the Short Message Service Gateway equipment requirement as targeted carrier, request content must be analogous to " account= Your short message certification code 866345& of user&password=123456&phoneNum=18518472331&content= When the format of localTime=20181115&tokenid=MjAxODExMTUxODUxODQ 3MjMzMQ==", then not only It needs to be determined that the replacements such as " phoneNum ", identifying code " code ", local time " localTime " mark corresponding value, it is also necessary to It is calculated in conjunction with after combination " phoneNum " and " localTime " according to the logic rules of " carrying out base64 coding ", so that End value after calculating is as the corresponding revocable replacement values of replacement label " tokenid ".
In another embodiment, logical operation rule may be the value of system parameter is read out and is configured it is pre- The configuration rule of definition.Such as when the second that is accurate to for requiring localTime in the Valuation Standard of targeted carrier, then pass through dynamic Chained library is read out the local time in system, and is handled by configuring processing rule the time value of acquirement, makes It meets the authentication requesting for being accurate to the second.
Through the foregoing embodiment, by by the dynamic link library loaded API with please seek template in replacement mark It is associated, realizes the technology effect that the operation result of replacement label and any logical operation in please seeking template is replaced Fruit meets the certification demand of the relevant Valuation Standard of targeted carrier, in addition, arithmetic logic is packaged in dynamic link library In, and in the form of API for content supplier to the calling during improving that please seek template so that when exist to replacement Corresponding Substitution Rules are marked there are when change request, the secondary development without content supplier to short message certification module, and only Local variation is carried out to dynamic link library, to improve change efficiency;Further, optionally, by some sensitive field examples Such as key information writes on inside API, without being exposed in the configuration page, is effectively protected the privacy of sensitive information.
Fig. 4 is the schematic configuration diagram according to one of one exemplary embodiment of the application electronic equipment.Referring to FIG. 4, In hardware view, which includes processor, internal bus, network interface, memory and nonvolatile memory, certainly It is also possible that hardware required for other business.Processor read from nonvolatile memory corresponding computer program to It is then run in memory, forms the generating means of communication message on logic level.Certainly, other than software realization mode, Other implementations, such as logical device or the mode of software and hardware combining etc. is not precluded in the application, that is to say, that following The executing subject of process flow is not limited to each logic unit, is also possible to hardware or logical device.
Referring to FIG. 5, applied in the network equipment of content supplier, which can in Software Implementation To include:
Acquiring unit 501 obtains the generation template of communication message, includes to mark generation by the first replacement in the generation template The first parameter referred to;
Execution unit 502 executes first replacement and marks corresponding arithmetic logic;
First replacement unit 503, using the arithmetic logic operation result replace it is described first replacement mark, using as The value of first parameter.
Optionally, the execution unit 502 is specifically used for:
Call predefined arithmetic logic corresponding with dynamic replacement label in dynamic link library;
Receive the operation result for the arithmetic logic that the dynamic link library returns.
Optionally, the arithmetic logic includes:
The predefined operation rule of operation is carried out to the value that one or more enters ginseng;Or,
The predefined configuration rule that the value of system parameter is read out and is configured.
Optionally, one or more of to enter to join other replacement labels for including corresponding to the generation template.
Optionally, described to generate in template also comprising being marked by the second replacement for the second parameter referred to;Described device is also wrapped It includes:
Determination unit 504, determine it is described second replacement label it is corresponding enter ginseng value;
Second replacement unit 505 is replaced second replacement using determining value and is marked, using as second parameter Value.
Optionally, the acquiring unit 501 is specifically used for:
According to the corresponding targeted carrier of the communication message, the generation template for corresponding to the targeted carrier is obtained;
Wherein, the parameter that the first replacement label generation refers to includes: to share defined in the access protocol of all operators Peculiar parameter defined in the access protocol of parameter and/or the targeted carrier.
Described device corresponds to the above method, and more identical details no longer repeat one by one.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD- ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetism are deposited Equipment or any other non-transmission medium are stored up, can be used for storage can be accessed by a computing device information.According to boundary herein Fixed, computer-readable medium does not include temporary computer readable media (transitory media), such as the data-signal of modulation and Carrier wave.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
Although this specification includes many specific implementation details, these are not necessarily to be construed as the model for limiting any invention It encloses or range claimed, and is primarily used for describing the feature of the specific embodiment of specific invention.In this specification Certain features described in multiple embodiments can also be combined implementation in a single embodiment.On the other hand, individually implementing Various features described in example can also be performed separately in various embodiments or be implemented with any suitable sub-portfolio.This Outside, although feature can work in certain combinations as described above and even initially so be claimed, institute is come from One or more features in claimed combination can be removed from the combination in some cases, and claimed Combination can be directed toward the modification of sub-portfolio or sub-portfolio.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (12)

1. a kind of generation method of communication message, which is characterized in that applied in the network equipment of content supplier, the method Include:
Obtain the generation template of communication message, first parameter generated in template comprising being referred to by the first replacement label generation;
It executes first replacement and marks corresponding arithmetic logic;
The first replacement label is replaced using the operation result of the arithmetic logic, using the value as first parameter.
2. method according to claim 1, which is characterized in that execution first replacement marks corresponding operation to patrol Volume, comprising:
Call predefined arithmetic logic corresponding with dynamic replacement label in dynamic link library;
Receive the operation result for the arithmetic logic that the dynamic link library returns.
3. method according to claim 1, which is characterized in that the arithmetic logic includes:
The predefined operation rule of operation is carried out to the value that one or more enters ginseng;Or,
The predefined configuration rule that the value of system parameter is read out and is configured.
4. method according to claim 3, which is characterized in that one or more of to enter to join corresponding to the generation template packet Other replacement labels contained.
5. method according to claim 1, which is characterized in that also comprising being referred to by the second replacement label generation in the generation template The second parameter;The method also includes:
Determine it is described second replacement label it is corresponding enter ginseng value;
The second replacement label is replaced using determining value, using the value as second parameter.
6. method according to claim 1, which is characterized in that the generation template for obtaining communication message, comprising:
According to the corresponding targeted carrier of the communication message, the generation template for corresponding to the targeted carrier is obtained;
Wherein, the parameter that the first replacement label generation refers to includes: that parameter is shared defined in the access protocol of all operators, And/or peculiar parameter defined in the access protocol of the targeted carrier.
7. a kind of generating means of communication message, which is characterized in that applied in the network equipment of content supplier, described device Include:
Acquiring unit, obtains the generation template of communication message, it is described generate in template comprising referred to by the first replacement label generation the One parameter;
Execution unit executes first replacement and marks corresponding arithmetic logic;
First replacement unit is replaced first replacement using the operation result of the arithmetic logic and is marked, using as described the The value of one parameter.
8. device according to claim 7, which is characterized in that the execution unit is specifically used for:
Call predefined arithmetic logic corresponding with dynamic replacement label in dynamic link library;
Receive the operation result for the arithmetic logic that the dynamic link library returns.
9. device according to claim 7, which is characterized in that the arithmetic logic includes:
The predefined operation rule of operation is carried out to the value that one or more enters ginseng;Or,
The predefined configuration rule that the value of system parameter is read out and is configured.
10. device according to claim 9, which is characterized in that one or more of to enter to join corresponding to the generation template Other replacement labels for including.
11. device according to claim 7, which is characterized in that also comprising marking generation by the second replacement in the generation template The second parameter referred to;Described device further include:
Determination unit, determine it is described second replacement label it is corresponding enter ginseng value;
Second replacement unit is replaced second replacement using determining value and is marked, using the value as second parameter.
12. device according to claim 7, which is characterized in that the acquiring unit is specifically used for:
According to the corresponding targeted carrier of the communication message, the generation template for corresponding to the targeted carrier is obtained;
Wherein, the parameter that the first replacement label generation refers to includes: that parameter is shared defined in the access protocol of all operators, And/or peculiar parameter defined in the access protocol of the targeted carrier.
CN201910375849.XA 2019-05-07 2019-05-07 A kind of generation method and device of communication message Pending CN110401925A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910375849.XA CN110401925A (en) 2019-05-07 2019-05-07 A kind of generation method and device of communication message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910375849.XA CN110401925A (en) 2019-05-07 2019-05-07 A kind of generation method and device of communication message

Publications (1)

Publication Number Publication Date
CN110401925A true CN110401925A (en) 2019-11-01

Family

ID=68322927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910375849.XA Pending CN110401925A (en) 2019-05-07 2019-05-07 A kind of generation method and device of communication message

Country Status (1)

Country Link
CN (1) CN110401925A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112329416A (en) * 2020-10-27 2021-02-05 维沃移动通信有限公司 Message generation method and device and electronic equipment
CN113473130A (en) * 2021-06-21 2021-10-01 Tcl华星光电技术有限公司 Encoding method, decoding method, encoding device, and decoding device

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1792062A (en) * 2003-02-07 2006-06-21 移动365 Intermediary network system and method
CN1968441A (en) * 2006-04-12 2007-05-23 华为技术有限公司 Method for implementation of predefined short message service
CN101014198A (en) * 2007-02-14 2007-08-08 华为技术有限公司 Gateway service control point apparatus and international roaming realizing method
CN101159920A (en) * 2007-10-16 2008-04-09 华为技术有限公司 Method of initiating two party call through short message, corresponding equipment and system
CN101258709A (en) * 2004-04-26 2008-09-03 移动365 Intermediary network system and method for facilitating message exchange between wireless networks
CN101321262A (en) * 2008-07-11 2008-12-10 中国网络通信集团公司 Network television incremental value business system and method for implementing business combination
CN101562730A (en) * 2009-05-31 2009-10-21 南京中兴特种软件有限责任公司 Multi-communication protocol conversion method used for wireless video route
CN101662742A (en) * 2008-08-29 2010-03-03 中兴通讯股份有限公司 System for supporting multi-protocol integrated short message platform and implementing method
CN101778160A (en) * 2010-01-08 2010-07-14 中兴通讯股份有限公司 Method and device for dynamically presetting message
WO2012085867A1 (en) * 2010-12-23 2012-06-28 Telefonaktiebolaget L M Ericsson (Publ) Messaging center, user equipment, and methods for message translation
CN104853334A (en) * 2015-05-25 2015-08-19 小米科技有限责任公司 Method and device for analyzing short message
CN107943775A (en) * 2017-11-24 2018-04-20 泰康保险集团股份有限公司 Method, apparatus, storage medium and the electronic equipment of message push
CN109413714A (en) * 2018-10-12 2019-03-01 Oppo广东移动通信有限公司 Processing method, device, storage medium and the terminal of user agent's information

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1792062A (en) * 2003-02-07 2006-06-21 移动365 Intermediary network system and method
CN101258709A (en) * 2004-04-26 2008-09-03 移动365 Intermediary network system and method for facilitating message exchange between wireless networks
CN1968441A (en) * 2006-04-12 2007-05-23 华为技术有限公司 Method for implementation of predefined short message service
CN101014198A (en) * 2007-02-14 2007-08-08 华为技术有限公司 Gateway service control point apparatus and international roaming realizing method
CN101159920A (en) * 2007-10-16 2008-04-09 华为技术有限公司 Method of initiating two party call through short message, corresponding equipment and system
CN101321262A (en) * 2008-07-11 2008-12-10 中国网络通信集团公司 Network television incremental value business system and method for implementing business combination
CN101662742A (en) * 2008-08-29 2010-03-03 中兴通讯股份有限公司 System for supporting multi-protocol integrated short message platform and implementing method
CN101562730A (en) * 2009-05-31 2009-10-21 南京中兴特种软件有限责任公司 Multi-communication protocol conversion method used for wireless video route
CN101778160A (en) * 2010-01-08 2010-07-14 中兴通讯股份有限公司 Method and device for dynamically presetting message
WO2012085867A1 (en) * 2010-12-23 2012-06-28 Telefonaktiebolaget L M Ericsson (Publ) Messaging center, user equipment, and methods for message translation
CN104853334A (en) * 2015-05-25 2015-08-19 小米科技有限责任公司 Method and device for analyzing short message
CN107943775A (en) * 2017-11-24 2018-04-20 泰康保险集团股份有限公司 Method, apparatus, storage medium and the electronic equipment of message push
CN109413714A (en) * 2018-10-12 2019-03-01 Oppo广东移动通信有限公司 Processing method, device, storage medium and the terminal of user agent's information

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112329416A (en) * 2020-10-27 2021-02-05 维沃移动通信有限公司 Message generation method and device and electronic equipment
CN113473130A (en) * 2021-06-21 2021-10-01 Tcl华星光电技术有限公司 Encoding method, decoding method, encoding device, and decoding device
CN113473130B (en) * 2021-06-21 2023-10-03 Tcl华星光电技术有限公司 Encoding method, decoding method, encoding device, and decoding device

Similar Documents

Publication Publication Date Title
CN110249307A (en) System and method for executing primary contract on block chain
US10938924B1 (en) Systems and methods related to executing transactions in a hybrid cloud environment
US20210117578A1 (en) Apparatus, systems, and methods to protect hardware and software
WO2018063666A1 (en) System and method for digital brokerage service for iot micro compute services
JP2013070597A (en) Systems and methods for accessing charging capabilities of electric vehicle charging stations
US9832222B2 (en) Anti-malware mobile content data management apparatus and method
US10996997B2 (en) API-based service command invocation
CN109447820B (en) Data processing method, device, computer equipment and storage medium
CN107766738A (en) A kind of binding method of smart machine, device and system, communication system
US11064035B2 (en) Coordinating the use of independent radio receivers associated with a single transmitter
US20160260157A1 (en) Rapid service orchestration and management
CN107844518B (en) Method for evaluating download quantity of specified APP, data server, packaging platform and system
CN114281573A (en) Workflow data interaction method and device, electronic device and readable storage medium
JP2013045455A (en) Systems and methods for energy management between utility provider and consumer
CN110266517A (en) External service call method, device and terminal device based on gateway
CN111178840A (en) Service processing method, device, system, electronic equipment and storage medium
CN110401925A (en) A kind of generation method and device of communication message
CN108207012A (en) A kind of flow control methods, device, terminal and system
US11151551B2 (en) Systems and methods related to executing transactions in a hybrid cloud environment
CN106873958A (en) The call method and device of a kind of API
CN111435495B (en) Service processing method, device and equipment
US10148826B2 (en) Methods and apparatus to interface with different service provider information technology systems supporting service ordering
CN114969832B (en) Private data management method and system based on server-free architecture
CN110381056A (en) Proprietary protocol decoding method and device based on Netty
CN109587198A (en) Graph text information method for pushing and device

Legal Events

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

Application publication date: 20191101