WO2020000670A1 - Sms stitching processing method and apparatus, and computer device and storage medium - Google Patents

Sms stitching processing method and apparatus, and computer device and storage medium Download PDF

Info

Publication number
WO2020000670A1
WO2020000670A1 PCT/CN2018/105289 CN2018105289W WO2020000670A1 WO 2020000670 A1 WO2020000670 A1 WO 2020000670A1 CN 2018105289 W CN2018105289 W CN 2018105289W WO 2020000670 A1 WO2020000670 A1 WO 2020000670A1
Authority
WO
WIPO (PCT)
Prior art keywords
short message
field
information
user
placeholder
Prior art date
Application number
PCT/CN2018/105289
Other languages
French (fr)
Chinese (zh)
Inventor
张文聪
曹敏
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020000670A1 publication Critical patent/WO2020000670A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to a method, a device, a computer device, and a storage medium for splicing processing of short messages.
  • the inventor realizes that there is no substantial difference in the attributes of each corresponding personalized content in the traditional way, and there is a problem that the personalized content is filled incorrectly when generating a personalized short message.
  • a method, a device, a computer device, and a storage medium for processing splicing of short messages are provided.
  • a short message splicing processing method includes:
  • the short message template including: a text field and a placeholder field; filling field information in the short message group into a placeholder field of the corresponding short message template;
  • the filled placeholder field is spliced with the text field to obtain short message data.
  • a short message splicing processing device includes:
  • a receiving module for receiving a form uploaded by a terminal, and grouping field information contained in the form to form a short message group;
  • a filling module for obtaining a pre-stored short message template corresponding to a short message group includes: a text field and a placeholder field; and filling field information in the short message group into a placeholder of a corresponding short message template Field; and
  • a splicing module is configured to splice the filled placeholder field and the text field to obtain short message data.
  • a computer device includes a memory and one or more processors.
  • the memory stores computer-readable instructions.
  • the one or more processors are executed. The following steps:
  • the short message template including: a text field and a placeholder field; filling field information in the short message group into a placeholder field of the corresponding short message template;
  • the filled placeholder field is spliced with the text field to obtain short message data.
  • One or more non-volatile storage media storing computer-readable instructions.
  • the computer-readable instructions When executed by one or more processors, the one or more processors execute the following steps:
  • the short message template including: a text field and a placeholder field; filling field information in the short message group into a placeholder field of the corresponding short message template;
  • the filled placeholder field is spliced with the text field to obtain short message data.
  • FIG. 1 is an application scenario diagram of a short message splicing processing method according to one or more embodiments.
  • FIG. 2 is a schematic flowchart of a short message splicing processing method according to one or more embodiments.
  • FIG. 3 is a schematic flowchart of a template short message splicing step according to one or more embodiments.
  • FIG. 4 is a schematic flowchart of a method for updating field information according to one or more embodiments.
  • FIG. 5 is a block diagram of a short message splicing processing device according to one or more embodiments.
  • FIG. 6 is a block diagram of a computer device according to one or more embodiments.
  • the short message splicing processing method provided in this application can be applied to the application environment shown in FIG. 1.
  • the terminal 102 communicates with the server 104 through a network.
  • the terminal 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
  • the server 104 may be implemented by an independent server or a server cluster composed of multiple servers.
  • the terminal 102 can access a web page, so the terminal 102 can access the server 104 by entering a server address in the web page.
  • the operator edits a form containing field information in a web page, and then sends the form to the server 104 through the network.
  • terminal 102 and the server 104 may communicate via USB, the Internet, a local area network, Bluetooth, Wi-Fi, or ZigBee protocols.
  • the server 104 can analyze the form uploaded by the terminal 102. It is worth noting that a variety of short message templates are stored in the server 104.
  • the server obtains the short message group by grouping the field information, and then determines each SMS template for each SMS group.
  • the SMS template corresponds to one or more SMS groups.
  • the SMS group includes multiple fields of information, and then the field information of the SMS group is filled into the placeholder field of the SMS template.
  • the text data is obtained by splicing the filled placeholder with the text field.
  • a method for processing short message splicing is provided.
  • the method is applied to the server in FIG. 1 as an example, and includes the following steps:
  • Step 202 Receive a form uploaded by the terminal, and group field information included in the form to form a short message group.
  • the field information can be a piece of text, and the type of text can be date, number, Chinese characters, etc.
  • edit a series of field information Each text message may correspond to multiple field information, and then edit these edited text messages.
  • the corresponding field information is saved as a form, and the server can receive the form uploaded by the terminal.
  • the server when the server receives the form, the form can be parsed. Since the form may contain field information of multiple short messages, the field information corresponding to each short message needs to be distinguished during parsing. Therefore, the field information needs to be grouped here. In essence, each short message group corresponds to a short message.
  • Step 204 Obtain a pre-stored short message template corresponding to the short message group; fill the field information in the short message group into the placeholder field of the corresponding short message template.
  • SMS templates corresponding to various business scenarios can be stored in the server in advance.
  • Each SMS template includes a text field and a placeholder field.
  • the text field consists of fixed text. It will not change when the text messages are spliced.
  • the placeholder includes multiple formatting settings. The format of the placeholder can be set according to the content of the placeholder field.
  • the server can query the short message group corresponding to the short message group according to the short message group.
  • each SMS group may include multiple field information, or may only include one field information.
  • the corresponding SMS group of the field information may be edited according to business requirements.
  • the SMS group and SMS template corresponds to the number of placeholder fields, so all field information can be filled into the placeholder field, but for use in other business scenarios, the number of field information can also be greater than the number of placeholder fields. The number of placeholder fields, just fill the placeholder fields to achieve the splicing of short messages.
  • step 206 the filled placeholder field and the text field are spliced to obtain short message data.
  • the text field and the filled placeholder field can be spliced in the order predetermined by the SMS template, and the spliced SMS data can be generated. It is worth noting that the SMS data can be sent directly through the SMS gateway.
  • the form uploaded by the terminal is received, and the field information contained in the form is grouped to form a short message group, and then a short message template corresponding to the short message group is obtained.
  • the short message template may be stored in the server in advance, and the short message template includes text Fields and placeholder fields.
  • the field information in each SMS packet is filled into the placeholder fields of the corresponding SMS template. Finally, the filled placeholder fields and text fields are stitched to obtain SMS data.
  • the field information in the form is grouped, and then the corresponding message splicing is performed to ensure that the information does not go wrong when the message is spliced, so as to meet the needs of personalized message sending in different business scenarios.
  • a method for processing splicing of short messages is provided, as shown in FIG. 3.
  • Step 302 Receive a form uploaded by the terminal, and group field information included in the form to form a short message group.
  • Step 304 Obtain a pre-stored short message template corresponding to the short message group.
  • Step 306 Obtain the format type of the field information, verify the format type of the field information through the characteristic parameters of the field information, and when the verification is passed, determine to fill the field information in the short message group into the corresponding placeholder of the short message template. Field.
  • step 308 the field information in the short message packet is filled into the placeholder field of the short message template corresponding to the short message packet, and the filled placeholder field and the text field are spliced to obtain short message data.
  • the corresponding detection logic is added before the field information is filled into the placeholder field, thereby ensuring the accuracy of the filled data.
  • the form may include field information of multiple short messages, and each short message includes multiple field information, and the field information is stored in the form with a format.
  • the form can be created using the Microsoft Excel suite of Microsoft Office. First, a blank form is created by the EXCEL software, and then the field information of each short message is filled into the EXCEL table to obtain the form.
  • the form includes field information of multiple short messages, which need to be grouped first. Specifically, according to the characteristic parameters corresponding to each short message group, the characteristic parameters read from the form are the same. To get the field information of the short message group; one of the field information corresponds to one characteristic parameter.
  • the field information of multiple short messages is stored in the EXCEL form.
  • the server can read field information with the same characteristic parameters from the EXCEL form according to the characteristic parameters corresponding to each SMS group.
  • each short message can include multiple characteristic parameters, each characteristic parameter corresponds to a field information.
  • the corresponding SMS packet includes the characteristic parameter of R16C7.
  • the characteristic parameters of the placeholder field in the short message template may be correspondingly set, and the characteristic parameters of the placeholder field are consistent with the characteristic parameters of the field information.
  • the field information can be filled according to the characteristic parameters.
  • the grouping of the field information can also be obtained by the order of the field information of each SMS in the EXCEL form.
  • the server you can determine the arrangement of the field information of the short message in the EXCEL form.
  • the arrangement includes: horizontal arrangement and vertical arrangement. In the horizontal arrangement, the server can read the field information from left to right in order to get the field information short message. Grouping. When arranged vertically, the server can read the field information from top to bottom in order to get the short message grouping of field information.
  • the field information may include multiple format types.
  • the format type may include text, date, and number string. Before the field information is filled into the string field, the format type of the field information and its corresponding characteristic parameters need to be verified. Whether to correspond, the characteristic parameter corresponds to a format type.
  • the form is an EXCEL form
  • the characteristic parameters indicate the location of the cell.
  • the format of the cell can be set in advance according to the saved field information, and then the format of the cell and the characteristic parameters are stored in pairs, thereby realizing the format type of the field information. Whether it corresponds to its corresponding feature parameter.
  • the field information needs to be filled into the string field.
  • each field information in the SMS packet corresponds to a placeholder field in the SMS template.
  • the placeholder fields are all formatted. Placeholder.
  • the field information needs to be detected.
  • the placeholder field sets the number string to 11 digits and the format type to the number string field information. If it is a 12-digit string, the field information cannot be filled.
  • FIG. 4 a schematic flowchart of a field information update step is provided. For details, refer to FIG. 4.
  • Step 402 Receive a form uploaded by a terminal, and group field information included in the form to form a short message group.
  • Step 404 Parse and obtain user information included in the short message packet according to field information in the short message packet;
  • Step 406 Query a pre-established user information database according to the user information to obtain a user information record corresponding to the user information.
  • the user information database stores the user information records of multiple users.
  • the user information records can be obtained through the business records handled by the user, obtained through big data analysis, and the user information database can be indexed. Any user information of the user can be queried. To the user information record of this user.
  • Step 408 Update the form according to the user information record.
  • Updating the form in this step is essentially updating the field information of the short message in the form. It is worth noting that the message group includes not only user information, but also other information.
  • the field information in a complete short message is composed of identity information and query information.
  • the query information may include bank card balance and consumption records, etc .
  • the identity information may include user name, number information, and bank card number information. .
  • a pre-established user identity database is used, so that when editing a form of a template short message, only a part of the user information of each short message can be edited, and another part of the user information is uploaded to the server through the user identity database.
  • the user information records stored in it are supplemented. Therefore, this process reduces the difficulty of editing text messages, on the other hand, it can reduce the probability of user information being stolen.
  • the user information included in the field information is determined.
  • the user information may include a user name and a user number.
  • the user name and the user number are used as query bits and a check, respectively. Bit.
  • the user's name is the query digit and the user's mobile phone number is the check digit
  • the user number is checked by the check digit, and the form is updated after the check.
  • the check bit and the query bit are set to avoid the coincidence and error of the information query. It is worth noting that the query bit and check bit can also be set through the combination of other user information, and the same effect can be achieved.
  • an asymmetric encryption algorithm can be used to encrypt the transmitted form to avoid interception during data transmission.
  • the client can encrypt the form by using the server's public key.
  • the server After receiving the form, the private data is used to decrypt the encrypted data to obtain the form, which further improves the security of information transmission.
  • an index number corresponding to the user is established in the user information database.
  • the index number may be a random string, and the random string is unique.
  • the relationship table between the user and the random string is derived.
  • user information can also be calibrated.
  • the server receives the form sent by the client, and the form includes multiple pieces of field information. For each message, the user information contained in the field information is parsed, and then the user information is mapped to the user in the user information database. The user information records are compared to determine whether there is an error in the user information uploaded by the terminal.
  • the user information includes a user name, a user number, and a user card number.
  • the user information included in the field information received by the server is: Zhang San, 18888888888, 622215242554255.
  • you can The user name is searched in the user information database, for example, "Zhang San” is searched in the user information database.
  • the result obtained at this time is Zhang San, 18888888887, 622215242554255.
  • the server detects that the user number in the field information is incorrect, it corresponds to the error information in the replacement field information to ensure the accuracy of the information when the short message is spliced.
  • what kind of user information is used for retrieval is a prerequisite that the user information must be accurate.
  • a user number is used for searching in the user information database
  • two situations may occur.
  • One is retrieval
  • the result is empty, that is, the user number does not exist in the user information database.
  • the second is to retrieve Li Si ’s identity information.
  • Li Si ’s identity information By comparing the user information in the field information with Li Si ’s identity information, if the comparison results only the user number is consistent , It means that the user number of Zhang San in the field information is wrong.
  • other user information can be used to search in the user information database.
  • steps in the flowcharts of FIGS. 2-4 are sequentially displayed in accordance with the directions of the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless explicitly stated in this document, the execution of these steps is not strictly limited, and these steps can be performed in other orders. Moreover, at least a part of the steps in Figure 2-4 may include multiple sub-steps or stages. These sub-steps or stages are not necessarily performed at the same time, but may be performed at different times. These sub-steps or stages The execution order of is not necessarily performed sequentially, but may be performed in turn or alternately with at least a part of another step or a sub-step or stage of another step.
  • a template short message splicing device which includes a receiving module 502, a filling module 504, and a splicing module 506, where:
  • the receiving module 502 is configured to receive a form uploaded by a terminal, and group field information included in the form to form a short message group.
  • a filling module 504 configured to obtain a pre-stored short message template corresponding to a short message group, the short message template includes: a text field and a placeholder field; and fill the field information in the short message group to a placeholder of the corresponding short message template Character field.
  • a stitching module 506 is configured to stitch the filled placeholder field and the text field to obtain short message data.
  • the above short message template splicing device receives the form uploaded by the terminal through the receiving module 502, groups the field information contained in the form to form a short message group, and then fills the module 504 to obtain the short message template corresponding to the short message group.
  • the short message template can be stored in the server in advance.
  • the short message template includes a text field and a placeholder field.
  • the field information in each short message packet is filled into the placeholder field of the corresponding short message template.
  • the stitching module 506 stitches the filled placeholder field and the text field. Get SMS data.
  • the field information in the form is grouped, and then the corresponding message splicing is performed to ensure that the information does not go wrong when the message is spliced, so as to meet the needs of personalized message sending in different business scenarios.
  • the parsing module 504 is further configured to read field information with the same characteristic parameter from the form according to the characteristic parameters corresponding to each short message packet to obtain a short message packet with field information; one of the fields The information corresponds to a characteristic parameter.
  • it further includes a verification module for obtaining a format type of the field information, where the format type includes: a Chinese character string, a numeric string, and a date; and the field information is characterized by a characteristic parameter of the field information.
  • the format type is verified, and the format type corresponds to more than one characteristic parameter.
  • the verification is passed, it is determined that the field information in the short message packet is filled into the placeholder field of the corresponding short message template.
  • the filling module 506 is further configured to determine a placeholder field in a short message template corresponding to each field information in the short message packet; the placeholder field is a formatted placeholder; according to the The format information of the placeholder field verifies whether the format of the field information is correct. When the verification is passed, the field information is filled into the placeholder field.
  • the method further includes: an update module configured to parse and obtain user information included in the short message packet according to field information in the short message packet; and query a pre-established user information database according to the user information to obtain the user.
  • the user information record corresponding to the information; the form is updated according to the user information record.
  • the user information includes: a user name and a user number
  • the update module is further configured to set the user name as a query bit and the user number as a check bit;
  • the user number of the user is queried in the information base, the user number of the user is checked according to the check digit; after the check is passed, the user information record of the user is obtained from the user information base.
  • the filling module 504 is further configured to obtain a template tag of the short message group; the template tag is preset in the short message group, and the template tag uniquely corresponds to the short message template; according to the template The tag determines the short message template corresponding to the short message group.
  • Each module in the template short message splicing device can be implemented in whole or in part by software, hardware, and a combination thereof.
  • the above-mentioned modules may be embedded in the hardware in or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • a computer device is provided.
  • the computer device may be a server, and its internal structure diagram may be as shown in FIG. 6.
  • the computer device includes a processor, a memory, a network interface, and a database connected through a system bus.
  • the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system, computer-readable instructions, and a database.
  • the internal memory provides an environment for the operation of the operating system and computer-readable instructions in a non-volatile storage medium.
  • the database of the computer equipment is used to store field information, short message templates and other data.
  • the network interface of the computer device is used to communicate with an external terminal through a network connection.
  • the computer-readable instructions are executed by a processor to implement a method for processing short message stitching.
  • the computer device is connected to the terminal through a network port.
  • the terminal accesses the computer device by accessing the network port address.
  • the terminal sends field information to the computer device through the network port.
  • the computer-readable instructions stored in the volatile storage medium execute storing field information into a database, and performing an operation of splicing a short message to generate a template short message.
  • FIG. 6 is only a block diagram of a part of the structure related to the solution of the application, and does not constitute a limitation on the computer equipment to which the solution of the application is applied. Include more or fewer parts than shown in the figure, or combine certain parts, or have a different arrangement of parts.
  • a computer device includes a memory and one or more processors.
  • the memory stores computer-readable instructions.
  • the steps of the short message splicing processing method provided in any embodiment of the present application are implemented.
  • One or more non-volatile storage media storing computer-readable instructions, and when the computer-readable instructions are executed by one or more processors, the one or more processors implement the short message provided in any one of the embodiments of the present application Steps of the stitching method.
  • Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM) or external cache memory.
  • RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

An SMS stitching processing method, comprising: receiving a form uploaded by a terminal and grouping the field information included in the form to form an SMS group; acquiring a pre-stored SMS template corresponding to the SMS group, the SMS template comprising: a text field and a placeholder field; filling the field information in the SMS group into the placeholder field of the corresponding SMS template; and stitching the filled-in placeholder field with the text field to obtain SMS data.

Description

短信拼接处理方法、装置、计算机设备和存储介质Short message splicing processing method, device, computer equipment and storage medium
相关申请的交叉引用Cross-reference to related applications
本申请要求于2018年6月27日提交中国专利局,申请号为201810678807.9,申请名称为“短信拼接处理方法、装置、计算机设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed on June 27, 2018 with the Chinese Patent Office under the application number of 201810678807.9 and the application name of "SMS splicing processing method, device, computer equipment and storage medium", the entire contents of which are incorporated by reference Incorporated in this application.
技术领域Technical field
本申请涉及一种短信拼接处理方法、装置、计算机设备和存储介质。The present application relates to a method, a device, a computer device, and a storage medium for splicing processing of short messages.
背景技术Background technique
随着短信发送技术的发展,企业在应对不同业务场景下,会选择不同的短信模板进行短信发送,利用传统技术发送手工短信时,需要编辑每一条短信,在进行批量短信发送时,通过编辑该业务场景下的短信模板,以生成待发送的短信,选择短信发送的多个对象,可以使得每个对象接收到相同内容的短信。在特殊的业务场景下,短信需要体现出不同对象的信息,在批量发送这种类型短信时,可以通过在短信模板中填充个性化内容,从而生成批量的个性化短信。With the development of short message sending technology, enterprises will choose different short message templates to send short messages in response to different business scenarios. When sending traditional short messages using traditional technology, each short message needs to be edited. An SMS template in a business scenario to generate a short message to be sent, and selecting multiple objects sent by the short message can make each object receive the same content of the short message. In special business scenarios, short messages need to reflect the information of different objects. When this type of short messages is sent in batches, personalized content can be filled in the short message template to generate a batch of personalized short messages.
发明人意识到,传统方式下每个对应的个性化内容的属性没有实质的区别,在生成个性化短信时,存在个性化内容填充出错的问题。The inventor realizes that there is no substantial difference in the attributes of each corresponding personalized content in the traditional way, and there is a problem that the personalized content is filled incorrectly when generating a personalized short message.
发明内容Summary of the invention
根据本申请公开的各种实施例,提供一种短信拼接处理方法、装置、计算机设备和存储介质。According to various embodiments disclosed in the present application, a method, a device, a computer device, and a storage medium for processing splicing of short messages are provided.
一种短信拼接处理方法包括:A short message splicing processing method includes:
接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组;Receiving the form uploaded by the terminal, grouping the field information contained in the form to form a short message group;
获取与短信分组相应的预存储的短信模板,所述短信模板包括:文本字段和占位符字段;将所述短信分组中的字段信息填充至对应的短信模板的占位符字段中;及Obtaining a pre-stored short message template corresponding to a short message group, the short message template including: a text field and a placeholder field; filling field information in the short message group into a placeholder field of the corresponding short message template; and
将填充后的占位符字段与所述文本字段进行拼接得到短信数据。The filled placeholder field is spliced with the text field to obtain short message data.
一种短信拼接处理装置包括:A short message splicing processing device includes:
接收模块,用于接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组;A receiving module for receiving a form uploaded by a terminal, and grouping field information contained in the form to form a short message group;
填充模块,用于获取与短信分组相应的预存储的短信模板,所述短信模板包括:文本字段和占位符字段;将所述短信分组中的字段信息填充至对应的短信模板的占位符字段中;及A filling module for obtaining a pre-stored short message template corresponding to a short message group, the short message template includes: a text field and a placeholder field; and filling field information in the short message group into a placeholder of a corresponding short message template Field; and
拼接模块,用于将填充后的占位符字段与所述文本字段进行拼接得到短信数据。A splicing module is configured to splice the filled placeholder field and the text field to obtain short message data.
一种计算机设备,包括存储器和一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述一个或多个处理器执行以下步骤:A computer device includes a memory and one or more processors. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the one or more processors are executed. The following steps:
接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组;Receiving the form uploaded by the terminal, grouping the field information contained in the form to form a short message group;
获取与短信分组相应的预存储的短信模板,所述短信模板包括:文本字段和占位符字段;将所述短信分组中的字段信息填充至对应的短信模板的占位符字段中;及Obtaining a pre-stored short message template corresponding to a short message group, the short message template including: a text field and a placeholder field; filling field information in the short message group into a placeholder field of the corresponding short message template; and
将填充后的占位符字段与所述文本字段进行拼接得到短信数据。The filled placeholder field is spliced with the text field to obtain short message data.
一个或多个存储有计算机可读指令的非易失性存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行以下步骤:One or more non-volatile storage media storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the following steps:
接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组;Receiving the form uploaded by the terminal, grouping the field information contained in the form to form a short message group;
获取与短信分组相应的预存储的短信模板,所述短信模板包括:文本字段和占位符字段;将所述短信分组中的字段信息填充至对应的短信模板的占位符字段中;及Obtaining a pre-stored short message template corresponding to a short message group, the short message template including: a text field and a placeholder field; filling field information in the short message group into a placeholder field of the corresponding short message template; and
将填充后的占位符字段与所述文本字段进行拼接得到短信数据。The filled placeholder field is spliced with the text field to obtain short message data.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。Details of one or more embodiments of the present application are set forth in the accompanying drawings and description below. Other features and advantages of the application will become apparent from the description, the drawings, and the claims.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to explain the technical solutions in the embodiments of the present application more clearly, the drawings used in the embodiments are briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. Those of ordinary skill in the art can also obtain other drawings according to these drawings without paying creative labor.
图1为根据一个或多个实施例中短信拼接处理方法的应用场景图。FIG. 1 is an application scenario diagram of a short message splicing processing method according to one or more embodiments.
图2为根据一个或多个实施例中短信拼接处理方法的流程示意图。FIG. 2 is a schematic flowchart of a short message splicing processing method according to one or more embodiments.
图3为根据一个或多个实施例中模板短信拼接步骤的流程示意图。3 is a schematic flowchart of a template short message splicing step according to one or more embodiments.
图4为根据一个或多个实施例中字段信息更新步骤方法的流程示意图。FIG. 4 is a schematic flowchart of a method for updating field information according to one or more embodiments.
图5为根据一个或多个实施例中短信拼接处理装置的框图。FIG. 5 is a block diagram of a short message splicing processing device according to one or more embodiments.
图6为根据一个或多个实施例中计算机设备的框图。FIG. 6 is a block diagram of a computer device according to one or more embodiments.
具体实施方式detailed description
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution, and advantages of the present application clearer, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the application, and are not used to limit the application.
本申请提供的短信拼接处理方法,可以应用于如图1所示的应用环境中。终端102通过网络与服务器104进行通信。其中,终端102可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备,服务器104可以用独立的服务器或者是多个服务器组成的服务器集群来实现。The short message splicing processing method provided in this application can be applied to the application environment shown in FIG. 1. The terminal 102 communicates with the server 104 through a network. The terminal 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. The server 104 may be implemented by an independent server or a server cluster composed of multiple servers.
进一步的,终端102可以访问web网页,因此终端102可以通过在web网页中输入服务器地址访问服务器104。操作人员通过在web网页中编辑包含字段信息的表单,通过然后通过网络将表单发送至服务器104。Further, the terminal 102 can access a web page, so the terminal 102 can access the server 104 by entering a server address in the web page. The operator edits a form containing field information in a web page, and then sends the form to the server 104 through the network.
进一步的,终端102与服务器104可以通过USB、互联网、局域网、蓝牙、Wi-Fi或ZigBee协议等通信方式。Further, the terminal 102 and the server 104 may communicate via USB, the Internet, a local area network, Bluetooth, Wi-Fi, or ZigBee protocols.
进一步的,服务器104中可以解析终端102上传的表单,值得说明的是,服务器104中预先存储了多种短信模板,在接收到表单时,服务器通过对字段信息进行分组得到短信分组,然后确定每个短信分组的短信模板,短信模板对应了一个或多个短信分组。分组后,短信分组中包括多条字段信息,然后将短信分组的字段信息填充至短信模板的占位符字段中。最后通过将填充后的占位符与文本字段进行拼接得到短信数据。Further, the server 104 can analyze the form uploaded by the terminal 102. It is worth noting that a variety of short message templates are stored in the server 104. When the form is received, the server obtains the short message group by grouping the field information, and then determines each SMS template for each SMS group. The SMS template corresponds to one or more SMS groups. After grouping, the SMS group includes multiple fields of information, and then the field information of the SMS group is filled into the placeholder field of the SMS template. Finally, the text data is obtained by splicing the filled placeholder with the text field.
在其中一个实施例中,如图2所示,提供了一种短信拼接处理方法,以该方法应用于图1中的服务器为例进行说明,包括以下步骤:In one embodiment, as shown in FIG. 2, a method for processing short message splicing is provided. The method is applied to the server in FIG. 1 as an example, and includes the following steps:
步骤202,接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组。Step 202: Receive a form uploaded by the terminal, and group field information included in the form to form a short message group.
字段信息可以是一段文本,文本的类型可以是日期、数字、汉字等,在终端中编辑短信时,编辑一系列的字段信息,每一条短信可能对应多条字段信息,然后将这些编辑好的短信的字段信息对应保存为表单,服务器可以接收终端上传的表单。The field information can be a piece of text, and the type of text can be date, number, Chinese characters, etc. When editing text messages in the terminal, edit a series of field information. Each text message may correspond to multiple field information, and then edit these edited text messages. The corresponding field information is saved as a form, and the server can receive the form uploaded by the terminal.
进一步的,服务器接收到表单时,可以对表单进行解析,由于表单中可能包含多条短信的字段信息,因此,解析时需要区分每条短信所对应的字段信息。因此,这里需要将字段信息进行分组,实质上,每个短息分组对应一条短信。Further, when the server receives the form, the form can be parsed. Since the form may contain field information of multiple short messages, the field information corresponding to each short message needs to be distinguished during parsing. Therefore, the field information needs to be grouped here. In essence, each short message group corresponds to a short message.
步骤204,获取与短信分组相应的预存储的短信模板;将短信分组中的字段信息填充至对应的短信模板的占位符字段中。Step 204: Obtain a pre-stored short message template corresponding to the short message group; fill the field information in the short message group into the placeholder field of the corresponding short message template.
在服务器中可以预先存储对应于各个业务场景下的短信模板,每个短信模板包括文本字段和占位符字段,文本字段由固定的文本组成,在短信的拼接时不会发生改变,占位符字段包括多种格式设置,具体可以根据占位符字段填充的内容来设置占位符的格式。服务器可以依据短信分组,查询得到短信分组对应的短信模板。SMS templates corresponding to various business scenarios can be stored in the server in advance. Each SMS template includes a text field and a placeholder field. The text field consists of fixed text. It will not change when the text messages are spliced. The placeholder The field includes multiple formatting settings. The format of the placeholder can be set according to the content of the placeholder field. The server can query the short message group corresponding to the short message group according to the short message group.
进一步的,每个短信分组可能包括多条字段信息,也可能只包括一条字段信息,在编辑短信时,可以根据业务需求编辑字段信息的所属短信分组,在进行短信拼接时,短信分组与短信模板对应,因此,字段信息的条数与占位符字段的数目对应,才能将所有的字段信息填充至占位符字段中,但是为了其他业务场景下的使用,字段信息的条数也可以大于占位符字段的数目,只需将占位符字段填满即可实现短信的拼接。Further, each SMS group may include multiple field information, or may only include one field information. When editing an SMS, the corresponding SMS group of the field information may be edited according to business requirements. When performing SMS splicing, the SMS group and SMS template Correspondingly, the number of field information corresponds to the number of placeholder fields, so all field information can be filled into the placeholder field, but for use in other business scenarios, the number of field information can also be greater than the number of placeholder fields. The number of placeholder fields, just fill the placeholder fields to achieve the splicing of short messages.
步骤206,将填充后的占位符字段与文本字段进行拼接得到短信数据。In step 206, the filled placeholder field and the text field are spliced to obtain short message data.
在将字段信息填充至占位符字段后,可以按照短信模板预定的顺序,将文本字段和填充后的占位符字段进行拼接,并生成拼接后的短信数据。值得说明的是,短信数据可以直接通过短信网关进行发送。After the field information is filled into the placeholder field, the text field and the filled placeholder field can be spliced in the order predetermined by the SMS template, and the spliced SMS data can be generated. It is worth noting that the SMS data can be sent directly through the SMS gateway.
上述短信拼接处理方法中,过接收终端上传的表单,对表单中包含的字段信息进行分 组形成短信分组,然后获取与短信分组对应的短信模板,短信模板可以预先存储在服务器中,短信模板包括文本字段和占位符字段,将每个短信分组中的字段信息分别填充至对应短信模板的占位符字段中,最后将填充后的占位符字段和文本字段进行拼接得到短信数据。本申请实施例,将表单中的字段信息进行分组,然后对应进行短信拼接,以此保证短信拼接时信息不会出错,以此满足不同业务场景下短信发送个性化的需求。In the above short message splicing processing method, the form uploaded by the terminal is received, and the field information contained in the form is grouped to form a short message group, and then a short message template corresponding to the short message group is obtained. The short message template may be stored in the server in advance, and the short message template includes text Fields and placeholder fields. The field information in each SMS packet is filled into the placeholder fields of the corresponding SMS template. Finally, the filled placeholder fields and text fields are stitched to obtain SMS data. In the embodiment of the present application, the field information in the form is grouped, and then the corresponding message splicing is performed to ensure that the information does not go wrong when the message is spliced, so as to meet the needs of personalized message sending in different business scenarios.
在其中一个实施例中,如图3所示,提供一种短信拼接处理方法,具体参见图3。In one embodiment, as shown in FIG. 3, a method for processing splicing of short messages is provided, as shown in FIG. 3.
步骤302,接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组。Step 302: Receive a form uploaded by the terminal, and group field information included in the form to form a short message group.
步骤304,获取与短信分组相应的预存储的短信模板。Step 304: Obtain a pre-stored short message template corresponding to the short message group.
步骤306,获取字段信息的格式类型,通过所述字段信息的特征参数对字段信息的格式类型进行验证,在验证通过时,确定将短信分组中的字段信息填充至对应的短信模板的占位符字段中。Step 306: Obtain the format type of the field information, verify the format type of the field information through the characteristic parameters of the field information, and when the verification is passed, determine to fill the field information in the short message group into the corresponding placeholder of the short message template. Field.
步骤308,将短信分组中的字段信息填充至短信分组对应的短信模板的占位符字段中,将填充后的占位符字段与文本字段进行拼接得到短信数据。In step 308, the field information in the short message packet is filled into the placeholder field of the short message template corresponding to the short message packet, and the filled placeholder field and the text field are spliced to obtain short message data.
本申请实施例中,通过在字段信息填充至占位符字段之前,加入相应的检测逻辑,以此保证填充数据的准确性。In the embodiment of the present application, the corresponding detection logic is added before the field information is filled into the placeholder field, thereby ensuring the accuracy of the filled data.
对于步骤302,在一实施例中,表单中可以包括多条短信的字段信息,每条短信包括多条字段信息,字段信息均是带格式存储在表单中。For step 302, in an embodiment, the form may include field information of multiple short messages, and each short message includes multiple field information, and the field information is stored in the form with a format.
可选的,表单可以采用微软的Microsoft Office的EXCEL套件建立,首先通过EXCEL软件建立空白表单,然后将每一条短信的字段信息填入EXCEL表中,从而得到表单。Optionally, the form can be created using the Microsoft Excel suite of Microsoft Office. First, a blank form is created by the EXCEL software, and then the field information of each short message is filled into the EXCEL table to obtain the form.
对于S304的步骤,在其中一个实施例中,表单包括多条短信的字段信息,首先需要对其进行分组,具体可以根据每个短信分组对应的特征参数,从表单中读取所述特征参数相同的字段信息,得到字段信息的短信分组;一个所述字段信息对应一个特征参数。As for the step S304, in one of the embodiments, the form includes field information of multiple short messages, which need to be grouped first. Specifically, according to the characteristic parameters corresponding to each short message group, the characteristic parameters read from the form are the same. To get the field information of the short message group; one of the field information corresponds to one characteristic parameter.
在其中一些实施例中,EXCEL表单中存储了多条短信的字段信息,服务器在获取EXCEL表单后,可以根据每个短信分组对应的特征参数,从EXCEL表单中读取特征参数相同的字段信息,值得说明的是,每个短信可以包括多个特征参数,每个特征参数对应一个字段信息,在EXCEL表单中,确定短信分组的特征参数为EXCEL表单中单元格的位置信息,例如,位置为单元格位置为R16C7,填入该单元格中的字段信息的特征参数为R16C7,对应的,其对应的短信分组包括R16C7这一特征参数。In some of these embodiments, the field information of multiple short messages is stored in the EXCEL form. After obtaining the EXCEL form, the server can read field information with the same characteristic parameters from the EXCEL form according to the characteristic parameters corresponding to each SMS group. It is worth noting that each short message can include multiple characteristic parameters, each characteristic parameter corresponds to a field information. In the EXCEL form, determine the characteristic parameter of the SMS grouping as the position information of the cell in the EXCEL form, for example, the position is a unit The cell position is R16C7, and the characteristic parameter of the field information filled in the cell is R16C7. Correspondingly, the corresponding SMS packet includes the characteristic parameter of R16C7.
对于步骤306,在其中一个实施例中,可以对应设置短信模板中占位符字段的特征参数,占位符字段的特征参数与字段信息的特征参数保持一致。在进行字段信息填充时,可以根据特征参数填充字段信息。For step 306, in one of the embodiments, the characteristic parameters of the placeholder field in the short message template may be correspondingly set, and the characteristic parameters of the placeholder field are consistent with the characteristic parameters of the field information. When filling the field information, the field information can be filled according to the characteristic parameters.
结合上述方案,在其中一个实施例中,在表单为EXCEL表单时,还可以通过每一条短信的字段信息在EXCEL表单中的排列顺序,得到字段信息的分组,具体的,在编辑EXCEL表单时,将每一条短信的字段信息保存在EXCEL表单的一行或者一列。在服务器中,可以判断短信的字段信息在EXCEL表单中的排列方式,排列方式包括:横向排列和 纵向排列,在横向排列时,服务器可以从左至右依次读取字段信息,得到字段信息的短信分组,在纵向排列时,服务器可以从上至下依次读取字段信息,得到字段信息的短信分组。In combination with the above scheme, in one of the embodiments, when the form is an EXCEL form, the grouping of the field information can also be obtained by the order of the field information of each SMS in the EXCEL form. Specifically, when editing the EXCEL form, Save the field information of each SMS in a row or column of the EXCEL form. In the server, you can determine the arrangement of the field information of the short message in the EXCEL form. The arrangement includes: horizontal arrangement and vertical arrangement. In the horizontal arrangement, the server can read the field information from left to right in order to get the field information short message. Grouping. When arranged vertically, the server can read the field information from top to bottom in order to get the short message grouping of field information.
在一些实施例中,字段信息可以包括多种格式类型,格式类型可以包括文本、日期以及数字串,在将字段信息填充至字符串字段中之前,需要验证字段信息的格式类型与其对应的特征参数是否对应,特征参数对应一种格式类型。In some embodiments, the field information may include multiple format types. The format type may include text, date, and number string. Before the field information is filled into the string field, the format type of the field information and its corresponding characteristic parameters need to be verified. Whether to correspond, the characteristic parameter corresponds to a format type.
具体的,表单为EXCEL表单,特征参数表示单元格的位置,可以根据保存的字段信息预先设置单元格的格式,然后将单元格的格式与特征参数对饮保存,从而实现验证字段信息的格式类型与其对应的特征参数是否对应。Specifically, the form is an EXCEL form, and the characteristic parameters indicate the location of the cell. The format of the cell can be set in advance according to the saved field information, and then the format of the cell and the characteristic parameters are stored in pairs, thereby realizing the format type of the field information. Whether it corresponds to its corresponding feature parameter.
在其中一个实施例中,验证字段信息后,需要将字段信息填充至字符串字段中,首先确定短信分组中每个字段信息对应短信模板中的占位符字段,占位符字段均为带格式占位符。然后根据占位符字段的格式信息,验证字段信息的格式是否正确,验证通过后,将字段信息填充至占位符字段中。In one of the embodiments, after the field information is verified, the field information needs to be filled into the string field. First, it is determined that each field information in the SMS packet corresponds to a placeholder field in the SMS template. The placeholder fields are all formatted. Placeholder. Then, according to the format information of the placeholder field, verify whether the format of the field information is correct. After the verification is passed, fill the field information into the placeholder field.
在一些实施例中,字段信息在确定对应格式的占位符字段后,还需要对字段信息进行检测,例如,占位符字段中设置数字串为11位数字,格式类型为数字串的字段信息为12位数字串,则无法完成字段信息的填充。In some embodiments, after determining the placeholder field of the corresponding format, the field information needs to be detected. For example, the placeholder field sets the number string to 11 digits and the format type to the number string field information. If it is a 12-digit string, the field information cannot be filled.
在其中一个实施例中,如图4所示,提供一种字段信息更新步骤的示意性流程图,具体参见图4。In one embodiment, as shown in FIG. 4, a schematic flowchart of a field information update step is provided. For details, refer to FIG. 4.
步骤402,接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组。Step 402: Receive a form uploaded by a terminal, and group field information included in the form to form a short message group.
步骤404,根据短信分组中的字段信息,解析得到短信分组中包括的用户信息;Step 404: Parse and obtain user information included in the short message packet according to field information in the short message packet;
步骤406,根据用户信息,查询预先建立的用户信息库,得到该用户信息对应的用户信息记录。Step 406: Query a pre-established user information database according to the user information to obtain a user information record corresponding to the user information.
用户信息库中存储多个用户的用户信息记录,用户信息记录可以通过该用户办理的业务记录,通过大数据分析得到,并为用户信息库建立索引,通过该用户的其中任意一个用户信息可以查询到该用户的用户信息记录。The user information database stores the user information records of multiple users. The user information records can be obtained through the business records handled by the user, obtained through big data analysis, and the user information database can be indexed. Any user information of the user can be queried. To the user information record of this user.
步骤408,根据用户信息记录对表单进行更新。Step 408: Update the form according to the user information record.
本步骤对表单进行更新,实质上是对表单中短信的字段信息进行更新。值得说明的是,短信分组中不仅包括有用户信息,还有可能包括其他的信息。Updating the form in this step is essentially updating the field information of the short message in the form. It is worth noting that the message group includes not only user information, but also other information.
在一些实施例中,一条完整的短息中的字段信息由身份信息和查询信息组成,查询信息可以包括银行卡余额以及消费记录等;身份信息中可以包括用户姓名、号码信息以及银行卡号信息等。In some embodiments, the field information in a complete short message is composed of identity information and query information. The query information may include bank card balance and consumption records, etc .; the identity information may include user name, number information, and bank card number information. .
本申请实施例,通过预先建立的用户身份库,从而,在编辑模板短信的表单时,可以只编辑每条短信用户信息其中的一部分,另一部分用户信息在表单上传至服务器后,通过用户身份库中存储的用户信息记录进行补充。因此,这样处理降低短信编辑的难度,另一方面又可以降低用户信息被窃取的概率。In the embodiment of the present application, a pre-established user identity database is used, so that when editing a form of a template short message, only a part of the user information of each short message can be edited, and another part of the user information is uploaded to the server through the user identity database. The user information records stored in it are supplemented. Therefore, this process reduces the difficulty of editing text messages, on the other hand, it can reduce the probability of user information being stolen.
对于步骤404,在其中一个实施例中,确定字段信息中包含的用户信息,用户信息可 以包括用户姓名和用户号码,在查询用户信息库时,将用户姓名和用户号码分别作为查询位和校验位。当用户姓名为查询位,用户手机号为校验位时,通过用户姓名查询到该用户的用户号码时,通过校验位对用户号码进行校验,通过校验后才对表单进行更新。当用户姓名为校验位,用户手机号为查询位时,通过查询位查询到用户的用户号码时,通过校验位对用户号码进行校验,通过校验后对表单进行更新。本实施例中,通过校验位和查询位的设置,避免信息查询的重合以及误差。值得说明的是,还可以通过其他用户信息的组合来设置查询位和校验位,也可以实现同样的效果For step 404, in one of the embodiments, the user information included in the field information is determined. The user information may include a user name and a user number. When querying the user information database, the user name and the user number are used as query bits and a check, respectively. Bit. When the user's name is the query digit and the user's mobile phone number is the check digit, when the user's user number is queried by the user's name, the user number is checked by the check digit, and the form is updated after the check. When the user's name is the check digit and the user's mobile phone number is the query digit, when the user's user number is queried by the query digit, the user number is checked by the check digit, and the form is updated after the check. In this embodiment, the check bit and the query bit are set to avoid the coincidence and error of the information query. It is worth noting that the query bit and check bit can also be set through the combination of other user information, and the same effect can be achieved.
对于步骤402,在其中一个实施例中,可以通过非对称加密算法,对传输的表单进行加密,以此避免数据传输时的监听,具体可以在客户端通过服务器的公钥对表单进行加密,服务器接收表单后,利用私钥对加密数据进行解密得到表单,以上进一步提高信息传输的安全。For step 402, in one of the embodiments, an asymmetric encryption algorithm can be used to encrypt the transmitted form to avoid interception during data transmission. Specifically, the client can encrypt the form by using the server's public key. The server After receiving the form, the private data is used to decrypt the encrypted data to obtain the form, which further improves the security of information transmission.
在另一些实施例中,在用户信息库中建立与用户对应的索引编号,索引编号可以是一个随机字符串,随机字符串唯一,建立好索引之后,导出用户与随机字符串的关系表,因此,在编辑表单时,只需要编辑对应用户的随机字符串以及非用户信息部分。那么在进行字段信息传输时,进一步保证了用户信息的安全。In other embodiments, an index number corresponding to the user is established in the user information database. The index number may be a random string, and the random string is unique. After the index is established, the relationship table between the user and the random string is derived. When editing the form, you only need to edit the random string corresponding to the user and the non-user information part. Then, when the field information is transmitted, the security of user information is further ensured.
通过建立用户信息库,还可以实现用户信息的校准。在一实施例中,服务器接收客户端发送的表单,表单中包括多条字段信息,针对每一条短信,解析字段信息中包含的用户信息,然后通过将用户信息与用户信息库中该用户对应的用户信息记录进行对比,以此判断终端上传的用户信息是否存在误差。By establishing a user information database, user information can also be calibrated. In an embodiment, the server receives the form sent by the client, and the form includes multiple pieces of field information. For each message, the user information contained in the field information is parsed, and then the user information is mapped to the user in the user information database. The user information records are compared to determine whether there is an error in the user information uploaded by the terminal.
在一些实施例中,用户信息包括用户姓名、用户号码以及用户卡号,以下以一具体实施例进行说明:服务器接收到字段信息中包含的用户信息为:张三、18888888888、622215242554255,此时,可以通过用户姓名在用户信息库中进行检索,例如在用户信息库中检索“张三”,此时得到的结果为张三、18888888887、622215242554255,通过对比发现,字段信息中的用户号码与用户信息库中的不一致,因此判断终端上传的用户号码有误。服务器在检测到字段信息中的用户号码有误时,对应替换字段信息中出现误差的信息,以保证短信拼接时信息的准确性。In some embodiments, the user information includes a user name, a user number, and a user card number. The following description is made in a specific embodiment: The user information included in the field information received by the server is: Zhang San, 18888888888, 622215242554255. At this time, you can The user name is searched in the user information database, for example, "Zhang San" is searched in the user information database. The result obtained at this time is Zhang San, 18888888887, 622215242554255. Through comparison, the user number in the field information and the user information database The inconsistencies in the URL are incorrect, so it is judged that the user number uploaded by the terminal is incorrect. When the server detects that the user number in the field information is incorrect, it corresponds to the error information in the replacement field information to ensure the accuracy of the information when the short message is spliced.
本申请实施例中,通过何种用户信息进行检索的前提条件是该用户信息必须准确,在本实施例,若采用用户号码在用户信息库中进行检索,可能出现两种情况,其一是检索结果为空,即用户信息库中不存在该用户号码,其二是检索到李四的身份信息,通过将字段信息中的用户信息与李四的身份信息进行对比,若对比结果仅用户号码一致,则说明是字段信息中张三的用户号码有误,此时,可以采用其他用户信息在用户信息库中进行检索。通过上述处理,可以避免采用原本有误的用户信息进行检索,从而确保用户信息的准确性。In the embodiment of the present application, what kind of user information is used for retrieval is a prerequisite that the user information must be accurate. In this embodiment, if a user number is used for searching in the user information database, two situations may occur. One is retrieval The result is empty, that is, the user number does not exist in the user information database. The second is to retrieve Li Si ’s identity information. By comparing the user information in the field information with Li Si ’s identity information, if the comparison results only the user number is consistent , It means that the user number of Zhang San in the field information is wrong. At this time, other user information can be used to search in the user information database. Through the above processing, it is possible to avoid the use of user information that is originally wrong for retrieval, thereby ensuring the accuracy of the user information.
应该理解的是,虽然图2-4的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2-4中的至少一 部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIGS. 2-4 are sequentially displayed in accordance with the directions of the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless explicitly stated in this document, the execution of these steps is not strictly limited, and these steps can be performed in other orders. Moreover, at least a part of the steps in Figure 2-4 may include multiple sub-steps or stages. These sub-steps or stages are not necessarily performed at the same time, but may be performed at different times. These sub-steps or stages The execution order of is not necessarily performed sequentially, but may be performed in turn or alternately with at least a part of another step or a sub-step or stage of another step.
在其中一个实施例中,如图5所示,提供了一种模板短信拼接装置,包括:接收模块502、填充模块504和拼接模块506,其中:In one embodiment, as shown in FIG. 5, a template short message splicing device is provided, which includes a receiving module 502, a filling module 504, and a splicing module 506, where:
接收模块502,用于接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组。The receiving module 502 is configured to receive a form uploaded by a terminal, and group field information included in the form to form a short message group.
填充模块504,用于获取与短信分组相应的预存储的短信模板,所述短信模板包括:文本字段和占位符字段;将所述短信分组中的字段信息填充至对应的短信模板的占位符字段中。A filling module 504, configured to obtain a pre-stored short message template corresponding to a short message group, the short message template includes: a text field and a placeholder field; and fill the field information in the short message group to a placeholder of the corresponding short message template Character field.
拼接模块506,用于将填充后的占位符字段与所述文本字段进行拼接得到短信数据。A stitching module 506 is configured to stitch the filled placeholder field and the text field to obtain short message data.
上述短信模板拼接装置,通过接收模块502接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组,然后填充模块504获取与短信分组对应的短信模板,短信模板可以预先存储在服务器中,短信模板包括文本字段和占位符字段,将每个短信分组中的字段信息分别填充至对应短信模板的占位符字段中,最后拼接模块506将填充后的占位符字段和文本字段进行拼接得到短信数据。本申请实施例,将表单中的字段信息进行分组,然后对应进行短信拼接,以此保证短信拼接时信息不会出错,以此满足不同业务场景下短信发送个性化的需求。The above short message template splicing device receives the form uploaded by the terminal through the receiving module 502, groups the field information contained in the form to form a short message group, and then fills the module 504 to obtain the short message template corresponding to the short message group. The short message template can be stored in the server in advance. The short message template includes a text field and a placeholder field. The field information in each short message packet is filled into the placeholder field of the corresponding short message template. Finally, the stitching module 506 stitches the filled placeholder field and the text field. Get SMS data. In the embodiment of the present application, the field information in the form is grouped, and then the corresponding message splicing is performed to ensure that the information does not go wrong when the message is spliced, so as to meet the needs of personalized message sending in different business scenarios.
在其中一个实施例中,解析模块504还用于根据每个短信分组对应的特征参数,从所述表单中读取所述特征参数相同的字段信息,得到字段信息的短信分组;一个所述字段信息对应一个特征参数。In one embodiment, the parsing module 504 is further configured to read field information with the same characteristic parameter from the form according to the characteristic parameters corresponding to each short message packet to obtain a short message packet with field information; one of the fields The information corresponds to a characteristic parameter.
在其中一个实施例中,还包括验证模块,用于获取所述字段信息的格式类型,所述格式类型包括:汉字串、数字串以及日期;通过所述字段信息的特征参数对所述字段信息的格式类型进行验证,所述格式类型对应一种以上的特征参数;在验证通过时,确定将短信分组中的字段信息填充至对应的短信模板的占位符字段中。In one of the embodiments, it further includes a verification module for obtaining a format type of the field information, where the format type includes: a Chinese character string, a numeric string, and a date; and the field information is characterized by a characteristic parameter of the field information. The format type is verified, and the format type corresponds to more than one characteristic parameter. When the verification is passed, it is determined that the field information in the short message packet is filled into the placeholder field of the corresponding short message template.
在其中一个实施例中,填充模块506还用于确定所述短信分组中每个字段信息对应的短信模板中的占位符字段;所述占位符字段为带格式占位符;根据所述占位符字段的格式信息,验证所述字段信息的格式是否正确,在验证通过时,将所述字段信息填充至所述占位符字段中。In one embodiment, the filling module 506 is further configured to determine a placeholder field in a short message template corresponding to each field information in the short message packet; the placeholder field is a formatted placeholder; according to the The format information of the placeholder field verifies whether the format of the field information is correct. When the verification is passed, the field information is filled into the placeholder field.
在其中一个实施例中,还包括:更新模块,用于根据短信分组中的字段信息,解析得到短信分组中包括的用户信息;根据所述用户信息,查询预先建立的用户信息库,得到该用户信息对应的用户信息记录;根据所述用户信息记录对表单进行更新。In one embodiment, the method further includes: an update module configured to parse and obtain user information included in the short message packet according to field information in the short message packet; and query a pre-established user information database according to the user information to obtain the user. The user information record corresponding to the information; the form is updated according to the user information record.
在其中一个实施例中,用户信息包括:用户姓名和用户号码,更新模块还用于设置所 述用户姓名为查询位以及设置所述用户号码为校验位;根据所述查询位在所述用户信息库中查询到该用户的用户号码时,根据所述校验位对该用户的用户号码进行校验;校验通过后从所述用户信息库中得到该用户的用户信息记录。In one embodiment, the user information includes: a user name and a user number, and the update module is further configured to set the user name as a query bit and the user number as a check bit; When the user number of the user is queried in the information base, the user number of the user is checked according to the check digit; after the check is passed, the user information record of the user is obtained from the user information base.
在其中一个实施例中,填充模块504还用于获取所述短信分组的模板标签;所述模板标签预先设置在所述短信分组中,所述模板标签唯一对应所述短信模板;根据所述模板标签,确定所述短信分组对应的短信模板。In one embodiment, the filling module 504 is further configured to obtain a template tag of the short message group; the template tag is preset in the short message group, and the template tag uniquely corresponds to the short message template; according to the template The tag determines the short message template corresponding to the short message group.
关于模板短信拼接装置的具体限定可以参见上文中对于短信拼接处理方法的限定,在此不再赘述。上述模板短信拼接装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。Regarding the specific limitation of the template short message splicing device, please refer to the foregoing limitation on the short message splicing processing method, which is not repeated here. Each module in the template short message splicing device can be implemented in whole or in part by software, hardware, and a combination thereof. The above-mentioned modules may be embedded in the hardware in or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
在其中一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图6所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机可读指令和数据库。该内存储器为非易失性存储介质中的操作系统和计算机可读指令的运行提供环境。该计算机设备的数据库用于存储字段信息、短信模板等数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机可读指令被处理器执行时以实现一种短信拼接处理方法。In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. 6. The computer device includes a processor, a memory, a network interface, and a database connected through a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer-readable instructions, and a database. The internal memory provides an environment for the operation of the operating system and computer-readable instructions in a non-volatile storage medium. The database of the computer equipment is used to store field information, short message templates and other data. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer-readable instructions are executed by a processor to implement a method for processing short message stitching.
在一实施例中,该计算机设备通过网络端口与终端连接,终端通过访问网络端口地址访问该计算机设备,终端将字段信息通过网络端口发送至该计算机设备,该计算机设备接收字段信息后,通过非易失性存储介质中存储的计算机可读指令执行将字段信息存储至数据库中,并且执行短信拼接的操作,生成模板短信。In one embodiment, the computer device is connected to the terminal through a network port. The terminal accesses the computer device by accessing the network port address. The terminal sends field information to the computer device through the network port. After the computer device receives the field information, The computer-readable instructions stored in the volatile storage medium execute storing field information into a database, and performing an operation of splicing a short message to generate a template short message.
本领域技术人员可以理解,图6中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 6 is only a block diagram of a part of the structure related to the solution of the application, and does not constitute a limitation on the computer equipment to which the solution of the application is applied. Include more or fewer parts than shown in the figure, or combine certain parts, or have a different arrangement of parts.
一种计算机设备,包括存储器和一个或多个处理器,存储器中存储有计算机可读指令,计算机可读指令被处理器执行时实现本申请任意一个实施例中提供的短信拼接处理方法的步骤。A computer device includes a memory and one or more processors. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps of the short message splicing processing method provided in any embodiment of the present application are implemented.
一个或多个存储有计算机可读指令的非易失性存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器实现本申请任意一个实施例中提供的短信拼接处理方法的步骤。One or more non-volatile storage media storing computer-readable instructions, and when the computer-readable instructions are executed by one or more processors, the one or more processors implement the short message provided in any one of the embodiments of the present application Steps of the stitching method.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一非易失性计算机可读取存储介质中,该计算机可读指令在执行时,可包括如上述各方法的实施例的 流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the methods of the foregoing embodiments can be implemented by using computer-readable instructions to instruct related hardware. The computer-readable instructions can be stored in a nonvolatile computer In the readable storage medium, the computer-readable instructions, when executed, may include the processes of the embodiments of the methods described above. Wherein, any reference to the storage, storage, database, or other media used in the embodiments provided in this application may include non-volatile and / or volatile storage. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be arbitrarily combined. In order to make the description concise, all possible combinations of the technical features in the above embodiments have not been described. However, as long as there is no contradiction in the combination of these technical features, it should be It is considered to be the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation manners of the present application, and the description thereof is more specific and detailed, but cannot be understood as a limitation on the scope of the invention patent. It should be noted that, for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of this application patent shall be subject to the appended claims.

Claims (20)

  1. 一种短信拼接处理方法,包括:A short message splicing processing method includes:
    接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组;Receiving the form uploaded by the terminal, grouping the field information contained in the form to form a short message group;
    获取与短信分组相应的预存储的短信模板,所述短信模板包括:文本字段和占位符字段;将所述短信分组中的字段信息填充至对应的短信模板的占位符字段中;及Obtaining a pre-stored short message template corresponding to a short message group, the short message template including: a text field and a placeholder field; filling field information in the short message group into a placeholder field of the corresponding short message template; and
    将填充后的占位符字段与所述文本字段进行拼接得到短信数据。The filled placeholder field is spliced with the text field to obtain short message data.
  2. 根据权利要求1所述的短信拼接处理方法,其特征在于,所述对表单包含的字段信息进行分组形成短信分组,包括:The method for splicing a short message according to claim 1, wherein the grouping the field information included in the form to form a short message group comprises:
    根据短信分组对应的特征参数,从所述表单中读取所述特征参数相同的字段信息,得到字段信息的短信分组;一个所述字段信息对应一个特征参数。According to the characteristic parameter corresponding to the short message group, the field information with the same characteristic parameter is read from the form to obtain the short message group of the field information; one of the field information corresponds to one characteristic parameter.
  3. 根据权利要求2所述的短信拼接处理方法,其特征在于,在将所述短信分组中的字段信息分别填充至所述短信分组对应的短信模板的占位符字段中之前,还包括:The method for splicing a short message according to claim 2, before filling field information in the short message group into a placeholder field of a short message template corresponding to the short message group, further comprising:
    获取所述字段信息的格式类型,所述格式类型包括:汉字串、数字串以及日期;Obtaining a format type of the field information, where the format type includes a Chinese character string, a numeric string, and a date;
    通过所述字段信息的特征参数对所述字段信息的格式类型进行验证,所述格式类型对应一种以上的特征参数;及Verifying a format type of the field information through a characteristic parameter of the field information, where the format type corresponds to more than one characteristic parameter; and
    在验证通过时,确定将短信分组中的字段信息填充至对应的短信模板的占位符字段中。When the verification is passed, it is determined that the field information in the short message packet is filled into the placeholder field of the corresponding short message template.
  4. 根据权利要求2所述的短信拼接处理方法,其特征在于,所述将所述短信分组中的字段信息填充至对应的短信模板的占位符字段中,包括:The method for processing a short message splicing according to claim 2, wherein the filling the field information in the short message group into a placeholder field of a corresponding short message template comprises:
    确定所述短信分组中每个字段信息对应的短信模板中的占位符字段;所述占位符字段为带格式占位符;及Determining a placeholder field in a short message template corresponding to each field information in the short message group; the placeholder field is a formatted placeholder; and
    根据所述占位符字段的格式信息,验证所述字段信息的格式是否正确,在验证通过时,将所述字段信息填充至所述占位符字段中。Verify whether the format of the field information is correct according to the format information of the placeholder field, and when the verification is passed, fill the field information into the placeholder field.
  5. 根据权利要求1所述的短信拼接处理方法,其特征在于,在对表单包含的字段信息进行分组形成短信分组之后,还包括:The method for processing short message stitching according to claim 1, wherein after grouping the field information included in the form to form a short message group, the method further comprises:
    根据短信分组中的字段信息,解析得到短信分组中包括的用户信息;Parse and obtain the user information included in the SMS packet according to the field information in the SMS packet;
    根据所述用户信息,查询预先建立的用户信息库,得到该用户信息对应的用户信息记录;及Querying a pre-established user information database according to the user information to obtain a user information record corresponding to the user information; and
    根据所述用户信息记录对表单进行更新。Update the form according to the user information record.
  6. 根据权利要求5所述短信拼接处理方法,其特征在于,所述用户信息包括:用户姓名和用户号码;The method for processing short message splicing according to claim 5, wherein the user information comprises: a user name and a user number;
    所述根据所述用户信息,查询预先建立的用户信息库,得到该用户信息的对应的用户信息记录,包括:The querying a pre-established user information database according to the user information to obtain a corresponding user information record of the user information includes:
    设置所述用户姓名为查询位以及设置所述用户号码为校验位;及Setting the user name as a query digit and setting the user number as a check digit; and
    根据所述查询位在所述用户信息库中查询到该用户的用户号码时,根据所述校验位对 该用户的用户号码进行校验;校验通过后从所述用户信息库中得到该用户的用户信息记录。When the user number of the user is queried in the user information base according to the query bit, the user number of the user is checked according to the check bit; the check is obtained from the user information base after passing the check. User information record for the user.
  7. 根据权利要求1至6任一项所述的短信拼接处理方法,其特征在于,所述获取与短信分组相应的预存储的短信模板,包括:The method for splicing a short message according to any one of claims 1 to 6, wherein the obtaining a pre-stored short message template corresponding to a short message group comprises:
    获取所述短信分组的模板标签;所述模板标签预先设置在所述短信分组中,所述模板标签唯一对应所述短信模板;及Obtaining a template tag of the short message group; the template tag is preset in the short message group, and the template tag uniquely corresponds to the short message template; and
    根据所述模板标签,确定所述短信分组对应的短信模板。According to the template tag, a short message template corresponding to the short message group is determined.
  8. 一种短信拼接处理装置,所述装置包括:A short message splicing processing device, the device includes:
    接收模块,用于接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组;A receiving module for receiving a form uploaded by a terminal, and grouping field information contained in the form to form a short message group;
    填充模块,用于获取与短信分组相应的预存储的短信模板,所述短信模板包括:文本字段和占位符字段;将所述短信分组中的字段信息填充至对应的短信模板的占位符字段中;A filling module for obtaining a pre-stored short message template corresponding to a short message group, the short message template includes: a text field and a placeholder field; and filling field information in the short message group into a placeholder of a corresponding short message template Field
    拼接模块,用于将填充后的占位符字段与所述文本字段进行拼接得到短信数据。A splicing module is configured to splice the filled placeholder field and the text field to obtain short message data.
  9. 根据权利要求8所述的短信拼接处理装置,其特征在于,所述接收模块还用于根据短信分组对应的特征参数,从所述表单中读取所述特征参数相同的字段信息,得到字段信息的短信分组;一个所述字段信息对应一个特征参数。The device for splicing a short message according to claim 8, wherein the receiving module is further configured to read field information with the same characteristic parameter from the form according to the characteristic parameter corresponding to the short message group to obtain field information A short message group; one of the field information corresponds to one characteristic parameter.
  10. 一种计算机设备,包括存储器及一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:A computer device includes a memory and one or more processors. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the one or more processors, the one or more processors are caused. Each processor performs the following steps:
    接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组;Receiving the form uploaded by the terminal, grouping the field information contained in the form to form a short message group;
    获取与短信分组相应的预存储的短信模板,所述短信模板包括:文本字段和占位符字段;将所述短信分组中的字段信息填充至对应的短信模板的占位符字段中;及Obtaining a pre-stored short message template corresponding to a short message group, the short message template including: a text field and a placeholder field; filling field information in the short message group into a placeholder field of the corresponding short message template; and
    将填充后的占位符字段与所述文本字段进行拼接得到短信数据。The filled placeholder field is spliced with the text field to obtain short message data.
  11. 根据权利要求10所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:The computer device according to claim 10, wherein the processor further executes the following steps when executing the computer-readable instructions:
    根据短信分组对应的特征参数,从所述表单中读取所述特征参数相同的字段信息,得到字段信息的短信分组;一个所述字段信息对应一个特征参数。According to the characteristic parameter corresponding to the short message group, the field information with the same characteristic parameter is read from the form to obtain the short message group of the field information; one of the field information corresponds to one characteristic parameter.
  12. 根据权利要求11所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:The computer device of claim 11, wherein the processor further executes the following steps when executing the computer-readable instructions:
    获取所述字段信息的格式类型,所述格式类型包括:汉字串、数字串以及日期;Obtaining a format type of the field information, where the format type includes a Chinese character string, a numeric string, and a date;
    通过所述字段信息的特征参数对所述字段信息的格式类型进行验证,所述格式类型对应一种以上的特征参数;及Verifying a format type of the field information through a characteristic parameter of the field information, where the format type corresponds to more than one characteristic parameter; and
    在验证通过时,确定将短信分组中的字段信息填充至对应的短信模板的占位符字段中。When the verification is passed, it is determined that the field information in the short message packet is filled into the placeholder field of the corresponding short message template.
  13. 根据权利要求11所述的计算机设备,其特征在于,所述处理器执行所述计算机 可读指令时还执行以下步骤:The computer device of claim 11, wherein the processor further executes the following steps when executing the computer-readable instructions:
    确定所述短信分组中每个字段信息对应的短信模板中的占位符字段;所述占位符字段为带格式占位符;及Determining a placeholder field in a short message template corresponding to each field information in the short message group; the placeholder field is a formatted placeholder; and
    根据所述占位符字段的格式信息,验证所述字段信息的格式是否正确,在验证通过时,将所述字段信息填充至所述占位符字段中。Verify whether the format of the field information is correct according to the format information of the placeholder field, and when the verification is passed, fill the field information into the placeholder field.
  14. 根据权利要求10所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:The computer device according to claim 10, wherein the processor further executes the following steps when executing the computer-readable instructions:
    根据短信分组中的字段信息,解析得到短信分组中包括的用户信息;Parse and obtain the user information included in the SMS packet according to the field information in the SMS packet;
    根据所述用户信息,查询预先建立的用户信息库,得到该用户信息对应的用户信息记录;及Querying a pre-established user information database according to the user information to obtain a user information record corresponding to the user information; and
    根据所述用户信息记录对表单进行更新。Update the form according to the user information record.
  15. 根据权利要求14所述的计算机设备,其特征在于,所述用户信息包括:用户姓名和用户号码;The computer device according to claim 14, wherein the user information comprises: a user name and a user number;
    所述处理器执行所述计算机可读指令时还执行以下步骤:When the processor executes the computer-readable instructions, the following steps are further performed:
    设置所述用户姓名为查询位以及设置所述用户号码为校验位;及Setting the user name as a query digit and setting the user number as a check digit; and
    根据所述查询位在所述用户信息库中查询到该用户的用户号码时,根据所述校验位对该用户的用户号码进行校验;校验通过后从所述用户信息库中得到该用户的用户信息记录。When the user number of the user is queried in the user information base according to the query bit, the user number of the user is checked according to the check bit; the check is obtained from the user information base after passing the check. User information record for the user.
  16. 一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:One or more non-transitory computer-readable storage media storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the following steps:
    接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组;Receiving the form uploaded by the terminal, grouping the field information contained in the form to form a short message group;
    获取与短信分组相应的预存储的短信模板,所述短信模板包括:文本字段和占位符字段;将所述短信分组中的字段信息填充至对应的短信模板的占位符字段中;及Obtaining a pre-stored short message template corresponding to a short message group, the short message template including: a text field and a placeholder field; filling field information in the short message group into a placeholder field of the corresponding short message template; and
    将填充后的占位符字段与所述文本字段进行拼接得到短信数据。The filled placeholder field is spliced with the text field to obtain short message data.
  17. 根据权利要求16所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:The storage medium according to claim 16, wherein when the computer-readable instructions are executed by the processor, the following steps are further performed:
    根据短信分组对应的特征参数,从所述表单中读取所述特征参数相同的字段信息,得到字段信息的短信分组;一个所述字段信息对应一个特征参数。According to the characteristic parameter corresponding to the short message group, the field information with the same characteristic parameter is read from the form to obtain the short message group of the field information; one of the field information corresponds to one characteristic parameter.
  18. 根据权利要求17所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:The storage medium according to claim 17, wherein when the computer-readable instructions are executed by the processor, the following steps are further performed:
    获取所述字段信息的格式类型,所述格式类型包括:汉字串、数字串以及日期;Obtaining a format type of the field information, where the format type includes a Chinese character string, a numeric string, and a date;
    通过所述字段信息的特征参数对所述字段信息的格式类型进行验证,所述格式类型对应一种以上的特征参数;及Verifying a format type of the field information through a characteristic parameter of the field information, where the format type corresponds to more than one characteristic parameter; and
    在验证通过时,确定将短信分组中的字段信息填充至对应的短信模板的占位符字段中。When the verification is passed, it is determined that the field information in the short message packet is filled into the placeholder field of the corresponding short message template.
  19. 根据权利要求17所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:The storage medium according to claim 17, wherein when the computer-readable instructions are executed by the processor, the following steps are further performed:
    确定所述短信分组中每个字段信息对应的短信模板中的占位符字段;所述占位符字段为带格式占位符;及Determining a placeholder field in a short message template corresponding to each field information in the short message group; the placeholder field is a formatted placeholder; and
    根据所述占位符字段的格式信息,验证所述字段信息的格式是否正确,在验证通过时,将所述字段信息填充至所述占位符字段中。Verify whether the format of the field information is correct according to the format information of the placeholder field, and when the verification is passed, fill the field information into the placeholder field.
  20. 根据权利要求16所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:The storage medium according to claim 16, wherein when the computer-readable instructions are executed by the processor, the following steps are further performed:
    根据短信分组中的字段信息,解析得到短信分组中包括的用户信息;Parse and obtain the user information included in the SMS packet according to the field information in the SMS packet;
    根据所述用户信息,查询预先建立的用户信息库,得到该用户信息对应的用户信息记录;及Querying a pre-established user information database according to the user information to obtain a user information record corresponding to the user information; and
    根据所述用户信息记录对表单进行更新。Update the form according to the user information record.
PCT/CN2018/105289 2018-06-27 2018-09-12 Sms stitching processing method and apparatus, and computer device and storage medium WO2020000670A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810678807.9A CN108897728B (en) 2018-06-27 2018-06-27 Short message splicing processing method and device, computer equipment and storage medium
CN201810678807.9 2018-06-27

Publications (1)

Publication Number Publication Date
WO2020000670A1 true WO2020000670A1 (en) 2020-01-02

Family

ID=64346394

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/105289 WO2020000670A1 (en) 2018-06-27 2018-09-12 Sms stitching processing method and apparatus, and computer device and storage medium

Country Status (2)

Country Link
CN (1) CN108897728B (en)
WO (1) WO2020000670A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306994A (en) * 2020-11-10 2021-02-02 北京沃东天骏信息技术有限公司 Database data migration method and device and storage medium
CN113778846A (en) * 2020-11-30 2021-12-10 北京沃东天骏信息技术有限公司 Method and apparatus for generating test data
CN114567855A (en) * 2022-03-09 2022-05-31 北京神州泰岳软件股份有限公司 Long short message processing method and device and electronic equipment

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783336A (en) * 2018-12-18 2019-05-21 中国平安人寿保险股份有限公司 Data analyze scenario generation method, device, medium and electronic equipment
CN110019754B (en) * 2019-01-30 2023-11-07 创新先进技术有限公司 Knowledge base building method, device and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924640A (en) * 2009-06-15 2010-12-22 北京华智大为科技有限公司 Method and system for group sending of email
WO2014114172A1 (en) * 2013-01-23 2014-07-31 小米科技有限责任公司 Text message transmission method, device and terminal
CN105450499A (en) * 2014-08-15 2016-03-30 阿里巴巴集团控股有限公司 Mail behavior feedback method and device
CN106384225A (en) * 2016-09-20 2017-02-08 焦点教育科技有限公司 Method for batch transmission of point-to-point notifications based on customized variable fields

Family Cites Families (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000014139A (en) * 1998-08-14 2000-03-06 서평원 Mobile station statistical data collection and initialize control method in mobile communication system of code division multi-access method
IES20000406A2 (en) * 2000-05-24 2001-08-08 Nua Ltd A System and Method for publishing and categorising documents on a Network
JP4095617B2 (en) * 2005-02-28 2008-06-04 キヤノン株式会社 Document processing apparatus, document processing method, and computer program
US20070016614A1 (en) * 2005-07-15 2007-01-18 Novy Alon R J Method and apparatus for providing structured data for free text messages
CN100558045C (en) * 2006-08-07 2009-11-04 华为技术有限公司 A kind of system and method that generates communication customer description information
CN100559768C (en) * 2006-08-08 2009-11-11 阿里巴巴集团控股有限公司 A kind of information distribution method and system
CN101335959A (en) * 2008-08-06 2008-12-31 统庆通信设备(深圳)有限公司 Mobile phone short message batch processing method
CN101378549B (en) * 2008-09-27 2012-01-25 华为终端有限公司 Method, device and system for determining long short message affiliated by standard short message
CN101465917B (en) * 2009-01-09 2011-06-08 华为终端有限公司 Method for grouping communication terminal information and communication terminal
CN101616377B (en) * 2009-07-20 2012-09-05 中兴通讯股份有限公司 Method and system for processing short message
CN101620591A (en) * 2009-08-12 2010-01-06 国网电力科学研究院 Method for designing module report form layout based on cell mode
CN101877836B (en) * 2010-05-27 2014-06-18 中兴通讯股份有限公司南京分公司 Short message restoring system, device and method
CN102263851A (en) * 2010-05-31 2011-11-30 北京迅捷英翔网络科技有限公司 Message conversion method
CN102508850A (en) * 2011-09-29 2012-06-20 用友软件股份有限公司 Form data processing device and form data processing method
CN103246676A (en) * 2012-02-10 2013-08-14 富士通株式会社 Method and device for clustering messages
US20130262241A1 (en) * 2012-02-28 2013-10-03 Drivebuymarketing, Inc. System and method for automatic template fulfillments and editing for variable data
US10489360B2 (en) * 2012-10-17 2019-11-26 Ab Initio Technology Llc Specifying and applying rules to data
CN104461491B (en) * 2013-09-24 2017-10-27 阿里巴巴集团控股有限公司 The operation method and system of a kind of Hybrid components
CN104796312B (en) * 2014-01-17 2017-12-26 腾讯科技(深圳)有限公司 Contact person information processing method, apparatus and system
CN104935438B (en) * 2015-05-28 2018-09-07 北京旷视科技有限公司 Method and apparatus for authentication
CN105045773A (en) * 2015-07-10 2015-11-11 北京奇虎科技有限公司 Method and apparatus for generating card template type service short message
CN106528576B (en) * 2015-09-15 2021-06-25 腾讯科技(深圳)有限公司 Page search method, terminal, system and storage medium
CN106559761A (en) * 2015-09-28 2017-04-05 中国移动通信集团公司 A kind of information processing method and terminal, server
CN105472580B (en) * 2015-11-17 2019-08-06 小米科技有限责任公司 Processing method, device, terminal and the server of information
CN107392560A (en) * 2016-05-16 2017-11-24 杨国成 A kind of Excel list datas issue acquisition method and system based on internet
CN107092625B (en) * 2016-12-28 2020-10-09 北京星选科技有限公司 Data configuration method, data processing method and device
CN107145537B (en) * 2017-04-21 2021-06-18 深圳市天天来玩科技有限公司 Table data importing method and system
CN107666479A (en) * 2017-08-02 2018-02-06 上海壹账通金融科技有限公司 Information encrypting and decrypting method, apparatus, computer equipment and storage medium
CN107704444B (en) * 2017-10-11 2021-03-16 远光软件股份有限公司 Display method of multi-column and multi-column table
CN108153897B (en) * 2018-01-10 2022-04-12 中国银行股份有限公司 PLSQL program code generation method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924640A (en) * 2009-06-15 2010-12-22 北京华智大为科技有限公司 Method and system for group sending of email
WO2014114172A1 (en) * 2013-01-23 2014-07-31 小米科技有限责任公司 Text message transmission method, device and terminal
CN105450499A (en) * 2014-08-15 2016-03-30 阿里巴巴集团控股有限公司 Mail behavior feedback method and device
CN106384225A (en) * 2016-09-20 2017-02-08 焦点教育科技有限公司 Method for batch transmission of point-to-point notifications based on customized variable fields

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306994A (en) * 2020-11-10 2021-02-02 北京沃东天骏信息技术有限公司 Database data migration method and device and storage medium
CN113778846A (en) * 2020-11-30 2021-12-10 北京沃东天骏信息技术有限公司 Method and apparatus for generating test data
CN114567855A (en) * 2022-03-09 2022-05-31 北京神州泰岳软件股份有限公司 Long short message processing method and device and electronic equipment
CN114567855B (en) * 2022-03-09 2023-07-14 北京神州泰岳软件股份有限公司 Long short message processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN108897728B (en) 2023-04-07
CN108897728A (en) 2018-11-27

Similar Documents

Publication Publication Date Title
WO2020000670A1 (en) Sms stitching processing method and apparatus, and computer device and storage medium
CN108573371B (en) Data approval method, device, computer equipment and storage medium
WO2020186786A1 (en) File processing method and apparatus, computer device and storage medium
WO2021003980A1 (en) Blacklist sharing method and apparatus, computer device and storage medium
EP3596642B1 (en) Privacy-preserving identity verification
WO2019200757A1 (en) Data importing method and apparatus, and computer device and storage medium
CN109474578B (en) Message checking method, device, computer equipment and storage medium
CN111314306A (en) Interface access method and device, electronic equipment and storage medium
WO2021042914A1 (en) Test data generation method and apparatus, computer device and storage medium
WO2020253061A1 (en) Page generating method and apparatus, computer device, and storage medium
US20160048494A1 (en) Form filling method and related terminal
CN111767095A (en) Micro-service generation method and device, terminal equipment and storage medium
WO2020233091A1 (en) Method and apparatus for service data rollback, computer device and storage medium
WO2021003977A1 (en) Default information query method and apparatus, and computer device and storage medium
CN111314172B (en) Block chain-based data processing method, device, equipment and storage medium
CN110908778B (en) Task deployment method, system and storage medium
CN112860778B (en) Database management method, device, equipment and medium for desktop application program
WO2019080423A1 (en) Resource value transfer method and apparatus, storage medium, and server
WO2021120628A1 (en) Blockchain-based sensitive word detection method and apparatus, computer device and computer-readable storage medium
CN109286933B (en) Authentication method, device, system, computer equipment and storage medium
CN112817935A (en) Data processing method, device and equipment based on field type and storage medium
CN109544265B (en) Electronic lock information processing method, electronic device and storage medium
CN108133026B (en) Multi-data processing method, system and storage medium
CN111143399B (en) Data processing method, device, storage medium and computer equipment
CN115391188A (en) Scene test case generation method, device, equipment and storage medium

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18923853

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 18923853

Country of ref document: EP

Kind code of ref document: A1