WO2020000670A1 - 短信拼接处理方法、装置、计算机设备和存储介质 - Google Patents

短信拼接处理方法、装置、计算机设备和存储介质 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
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2018/105289
Other languages
English (en)
French (fr)
Inventor
张文聪
曹敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Publication of WO2020000670A1 publication Critical patent/WO2020000670A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

一种短信拼接处理方法,包括:接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组,获取与短信分组相应的预存储的短信模板,短信模板包括:文本字段和占位符字段,将短信分组中的字段信息填充至对应的短信模板的占位符字段中,将填充后的占位符字段与文本字段进行拼接得到短信数据。

Description

短信拼接处理方法、装置、计算机设备和存储介质
相关申请的交叉引用
本申请要求于2018年6月27日提交中国专利局,申请号为201810678807.9,申请名称为“短信拼接处理方法、装置、计算机设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及一种短信拼接处理方法、装置、计算机设备和存储介质。
背景技术
随着短信发送技术的发展,企业在应对不同业务场景下,会选择不同的短信模板进行短信发送,利用传统技术发送手工短信时,需要编辑每一条短信,在进行批量短信发送时,通过编辑该业务场景下的短信模板,以生成待发送的短信,选择短信发送的多个对象,可以使得每个对象接收到相同内容的短信。在特殊的业务场景下,短信需要体现出不同对象的信息,在批量发送这种类型短信时,可以通过在短信模板中填充个性化内容,从而生成批量的个性化短信。
发明人意识到,传统方式下每个对应的个性化内容的属性没有实质的区别,在生成个性化短信时,存在个性化内容填充出错的问题。
发明内容
根据本申请公开的各种实施例,提供一种短信拼接处理方法、装置、计算机设备和存储介质。
一种短信拼接处理方法包括:
接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组;
获取与短信分组相应的预存储的短信模板,所述短信模板包括:文本字段和占位符字段;将所述短信分组中的字段信息填充至对应的短信模板的占位符字段中;及
将填充后的占位符字段与所述文本字段进行拼接得到短信数据。
一种短信拼接处理装置包括:
接收模块,用于接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组;
填充模块,用于获取与短信分组相应的预存储的短信模板,所述短信模板包括:文本字段和占位符字段;将所述短信分组中的字段信息填充至对应的短信模板的占位符字段中;及
拼接模块,用于将填充后的占位符字段与所述文本字段进行拼接得到短信数据。
一种计算机设备,包括存储器和一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述一个或多个处理器执行以下步骤:
接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组;
获取与短信分组相应的预存储的短信模板,所述短信模板包括:文本字段和占位符字段;将所述短信分组中的字段信息填充至对应的短信模板的占位符字段中;及
将填充后的占位符字段与所述文本字段进行拼接得到短信数据。
一个或多个存储有计算机可读指令的非易失性存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行以下步骤:
接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组;
获取与短信分组相应的预存储的短信模板,所述短信模板包括:文本字段和占位符字段;将所述短信分组中的字段信息填充至对应的短信模板的占位符字段中;及
将填充后的占位符字段与所述文本字段进行拼接得到短信数据。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为根据一个或多个实施例中短信拼接处理方法的应用场景图。
图2为根据一个或多个实施例中短信拼接处理方法的流程示意图。
图3为根据一个或多个实施例中模板短信拼接步骤的流程示意图。
图4为根据一个或多个实施例中字段信息更新步骤方法的流程示意图。
图5为根据一个或多个实施例中短信拼接处理装置的框图。
图6为根据一个或多个实施例中计算机设备的框图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请提供的短信拼接处理方法,可以应用于如图1所示的应用环境中。终端102通过网络与服务器104进行通信。其中,终端102可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备,服务器104可以用独立的服务器或者是多个服务器组成的服务器集群来实现。
进一步的,终端102可以访问web网页,因此终端102可以通过在web网页中输入服务器地址访问服务器104。操作人员通过在web网页中编辑包含字段信息的表单,通过然后通过网络将表单发送至服务器104。
进一步的,终端102与服务器104可以通过USB、互联网、局域网、蓝牙、Wi-Fi或ZigBee协议等通信方式。
进一步的,服务器104中可以解析终端102上传的表单,值得说明的是,服务器104中预先存储了多种短信模板,在接收到表单时,服务器通过对字段信息进行分组得到短信分组,然后确定每个短信分组的短信模板,短信模板对应了一个或多个短信分组。分组后,短信分组中包括多条字段信息,然后将短信分组的字段信息填充至短信模板的占位符字段中。最后通过将填充后的占位符与文本字段进行拼接得到短信数据。
在其中一个实施例中,如图2所示,提供了一种短信拼接处理方法,以该方法应用于图1中的服务器为例进行说明,包括以下步骤:
步骤202,接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组。
字段信息可以是一段文本,文本的类型可以是日期、数字、汉字等,在终端中编辑短信时,编辑一系列的字段信息,每一条短信可能对应多条字段信息,然后将这些编辑好的短信的字段信息对应保存为表单,服务器可以接收终端上传的表单。
进一步的,服务器接收到表单时,可以对表单进行解析,由于表单中可能包含多条短信的字段信息,因此,解析时需要区分每条短信所对应的字段信息。因此,这里需要将字段信息进行分组,实质上,每个短息分组对应一条短信。
步骤204,获取与短信分组相应的预存储的短信模板;将短信分组中的字段信息填充至对应的短信模板的占位符字段中。
在服务器中可以预先存储对应于各个业务场景下的短信模板,每个短信模板包括文本字段和占位符字段,文本字段由固定的文本组成,在短信的拼接时不会发生改变,占位符字段包括多种格式设置,具体可以根据占位符字段填充的内容来设置占位符的格式。服务器可以依据短信分组,查询得到短信分组对应的短信模板。
进一步的,每个短信分组可能包括多条字段信息,也可能只包括一条字段信息,在编辑短信时,可以根据业务需求编辑字段信息的所属短信分组,在进行短信拼接时,短信分组与短信模板对应,因此,字段信息的条数与占位符字段的数目对应,才能将所有的字段信息填充至占位符字段中,但是为了其他业务场景下的使用,字段信息的条数也可以大于占位符字段的数目,只需将占位符字段填满即可实现短信的拼接。
步骤206,将填充后的占位符字段与文本字段进行拼接得到短信数据。
在将字段信息填充至占位符字段后,可以按照短信模板预定的顺序,将文本字段和填充后的占位符字段进行拼接,并生成拼接后的短信数据。值得说明的是,短信数据可以直接通过短信网关进行发送。
上述短信拼接处理方法中,过接收终端上传的表单,对表单中包含的字段信息进行分 组形成短信分组,然后获取与短信分组对应的短信模板,短信模板可以预先存储在服务器中,短信模板包括文本字段和占位符字段,将每个短信分组中的字段信息分别填充至对应短信模板的占位符字段中,最后将填充后的占位符字段和文本字段进行拼接得到短信数据。本申请实施例,将表单中的字段信息进行分组,然后对应进行短信拼接,以此保证短信拼接时信息不会出错,以此满足不同业务场景下短信发送个性化的需求。
在其中一个实施例中,如图3所示,提供一种短信拼接处理方法,具体参见图3。
步骤302,接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组。
步骤304,获取与短信分组相应的预存储的短信模板。
步骤306,获取字段信息的格式类型,通过所述字段信息的特征参数对字段信息的格式类型进行验证,在验证通过时,确定将短信分组中的字段信息填充至对应的短信模板的占位符字段中。
步骤308,将短信分组中的字段信息填充至短信分组对应的短信模板的占位符字段中,将填充后的占位符字段与文本字段进行拼接得到短信数据。
本申请实施例中,通过在字段信息填充至占位符字段之前,加入相应的检测逻辑,以此保证填充数据的准确性。
对于步骤302,在一实施例中,表单中可以包括多条短信的字段信息,每条短信包括多条字段信息,字段信息均是带格式存储在表单中。
可选的,表单可以采用微软的Microsoft Office的EXCEL套件建立,首先通过EXCEL软件建立空白表单,然后将每一条短信的字段信息填入EXCEL表中,从而得到表单。
对于S304的步骤,在其中一个实施例中,表单包括多条短信的字段信息,首先需要对其进行分组,具体可以根据每个短信分组对应的特征参数,从表单中读取所述特征参数相同的字段信息,得到字段信息的短信分组;一个所述字段信息对应一个特征参数。
在其中一些实施例中,EXCEL表单中存储了多条短信的字段信息,服务器在获取EXCEL表单后,可以根据每个短信分组对应的特征参数,从EXCEL表单中读取特征参数相同的字段信息,值得说明的是,每个短信可以包括多个特征参数,每个特征参数对应一个字段信息,在EXCEL表单中,确定短信分组的特征参数为EXCEL表单中单元格的位置信息,例如,位置为单元格位置为R16C7,填入该单元格中的字段信息的特征参数为R16C7,对应的,其对应的短信分组包括R16C7这一特征参数。
对于步骤306,在其中一个实施例中,可以对应设置短信模板中占位符字段的特征参数,占位符字段的特征参数与字段信息的特征参数保持一致。在进行字段信息填充时,可以根据特征参数填充字段信息。
结合上述方案,在其中一个实施例中,在表单为EXCEL表单时,还可以通过每一条短信的字段信息在EXCEL表单中的排列顺序,得到字段信息的分组,具体的,在编辑EXCEL表单时,将每一条短信的字段信息保存在EXCEL表单的一行或者一列。在服务器中,可以判断短信的字段信息在EXCEL表单中的排列方式,排列方式包括:横向排列和 纵向排列,在横向排列时,服务器可以从左至右依次读取字段信息,得到字段信息的短信分组,在纵向排列时,服务器可以从上至下依次读取字段信息,得到字段信息的短信分组。
在一些实施例中,字段信息可以包括多种格式类型,格式类型可以包括文本、日期以及数字串,在将字段信息填充至字符串字段中之前,需要验证字段信息的格式类型与其对应的特征参数是否对应,特征参数对应一种格式类型。
具体的,表单为EXCEL表单,特征参数表示单元格的位置,可以根据保存的字段信息预先设置单元格的格式,然后将单元格的格式与特征参数对饮保存,从而实现验证字段信息的格式类型与其对应的特征参数是否对应。
在其中一个实施例中,验证字段信息后,需要将字段信息填充至字符串字段中,首先确定短信分组中每个字段信息对应短信模板中的占位符字段,占位符字段均为带格式占位符。然后根据占位符字段的格式信息,验证字段信息的格式是否正确,验证通过后,将字段信息填充至占位符字段中。
在一些实施例中,字段信息在确定对应格式的占位符字段后,还需要对字段信息进行检测,例如,占位符字段中设置数字串为11位数字,格式类型为数字串的字段信息为12位数字串,则无法完成字段信息的填充。
在其中一个实施例中,如图4所示,提供一种字段信息更新步骤的示意性流程图,具体参见图4。
步骤402,接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组。
步骤404,根据短信分组中的字段信息,解析得到短信分组中包括的用户信息;
步骤406,根据用户信息,查询预先建立的用户信息库,得到该用户信息对应的用户信息记录。
用户信息库中存储多个用户的用户信息记录,用户信息记录可以通过该用户办理的业务记录,通过大数据分析得到,并为用户信息库建立索引,通过该用户的其中任意一个用户信息可以查询到该用户的用户信息记录。
步骤408,根据用户信息记录对表单进行更新。
本步骤对表单进行更新,实质上是对表单中短信的字段信息进行更新。值得说明的是,短信分组中不仅包括有用户信息,还有可能包括其他的信息。
在一些实施例中,一条完整的短息中的字段信息由身份信息和查询信息组成,查询信息可以包括银行卡余额以及消费记录等;身份信息中可以包括用户姓名、号码信息以及银行卡号信息等。
本申请实施例,通过预先建立的用户身份库,从而,在编辑模板短信的表单时,可以只编辑每条短信用户信息其中的一部分,另一部分用户信息在表单上传至服务器后,通过用户身份库中存储的用户信息记录进行补充。因此,这样处理降低短信编辑的难度,另一方面又可以降低用户信息被窃取的概率。
对于步骤404,在其中一个实施例中,确定字段信息中包含的用户信息,用户信息可 以包括用户姓名和用户号码,在查询用户信息库时,将用户姓名和用户号码分别作为查询位和校验位。当用户姓名为查询位,用户手机号为校验位时,通过用户姓名查询到该用户的用户号码时,通过校验位对用户号码进行校验,通过校验后才对表单进行更新。当用户姓名为校验位,用户手机号为查询位时,通过查询位查询到用户的用户号码时,通过校验位对用户号码进行校验,通过校验后对表单进行更新。本实施例中,通过校验位和查询位的设置,避免信息查询的重合以及误差。值得说明的是,还可以通过其他用户信息的组合来设置查询位和校验位,也可以实现同样的效果
对于步骤402,在其中一个实施例中,可以通过非对称加密算法,对传输的表单进行加密,以此避免数据传输时的监听,具体可以在客户端通过服务器的公钥对表单进行加密,服务器接收表单后,利用私钥对加密数据进行解密得到表单,以上进一步提高信息传输的安全。
在另一些实施例中,在用户信息库中建立与用户对应的索引编号,索引编号可以是一个随机字符串,随机字符串唯一,建立好索引之后,导出用户与随机字符串的关系表,因此,在编辑表单时,只需要编辑对应用户的随机字符串以及非用户信息部分。那么在进行字段信息传输时,进一步保证了用户信息的安全。
通过建立用户信息库,还可以实现用户信息的校准。在一实施例中,服务器接收客户端发送的表单,表单中包括多条字段信息,针对每一条短信,解析字段信息中包含的用户信息,然后通过将用户信息与用户信息库中该用户对应的用户信息记录进行对比,以此判断终端上传的用户信息是否存在误差。
在一些实施例中,用户信息包括用户姓名、用户号码以及用户卡号,以下以一具体实施例进行说明:服务器接收到字段信息中包含的用户信息为:张三、18888888888、622215242554255,此时,可以通过用户姓名在用户信息库中进行检索,例如在用户信息库中检索“张三”,此时得到的结果为张三、18888888887、622215242554255,通过对比发现,字段信息中的用户号码与用户信息库中的不一致,因此判断终端上传的用户号码有误。服务器在检测到字段信息中的用户号码有误时,对应替换字段信息中出现误差的信息,以保证短信拼接时信息的准确性。
本申请实施例中,通过何种用户信息进行检索的前提条件是该用户信息必须准确,在本实施例,若采用用户号码在用户信息库中进行检索,可能出现两种情况,其一是检索结果为空,即用户信息库中不存在该用户号码,其二是检索到李四的身份信息,通过将字段信息中的用户信息与李四的身份信息进行对比,若对比结果仅用户号码一致,则说明是字段信息中张三的用户号码有误,此时,可以采用其他用户信息在用户信息库中进行检索。通过上述处理,可以避免采用原本有误的用户信息进行检索,从而确保用户信息的准确性。
应该理解的是,虽然图2-4的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2-4中的至少一 部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
在其中一个实施例中,如图5所示,提供了一种模板短信拼接装置,包括:接收模块502、填充模块504和拼接模块506,其中:
接收模块502,用于接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组。
填充模块504,用于获取与短信分组相应的预存储的短信模板,所述短信模板包括:文本字段和占位符字段;将所述短信分组中的字段信息填充至对应的短信模板的占位符字段中。
拼接模块506,用于将填充后的占位符字段与所述文本字段进行拼接得到短信数据。
上述短信模板拼接装置,通过接收模块502接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组,然后填充模块504获取与短信分组对应的短信模板,短信模板可以预先存储在服务器中,短信模板包括文本字段和占位符字段,将每个短信分组中的字段信息分别填充至对应短信模板的占位符字段中,最后拼接模块506将填充后的占位符字段和文本字段进行拼接得到短信数据。本申请实施例,将表单中的字段信息进行分组,然后对应进行短信拼接,以此保证短信拼接时信息不会出错,以此满足不同业务场景下短信发送个性化的需求。
在其中一个实施例中,解析模块504还用于根据每个短信分组对应的特征参数,从所述表单中读取所述特征参数相同的字段信息,得到字段信息的短信分组;一个所述字段信息对应一个特征参数。
在其中一个实施例中,还包括验证模块,用于获取所述字段信息的格式类型,所述格式类型包括:汉字串、数字串以及日期;通过所述字段信息的特征参数对所述字段信息的格式类型进行验证,所述格式类型对应一种以上的特征参数;在验证通过时,确定将短信分组中的字段信息填充至对应的短信模板的占位符字段中。
在其中一个实施例中,填充模块506还用于确定所述短信分组中每个字段信息对应的短信模板中的占位符字段;所述占位符字段为带格式占位符;根据所述占位符字段的格式信息,验证所述字段信息的格式是否正确,在验证通过时,将所述字段信息填充至所述占位符字段中。
在其中一个实施例中,还包括:更新模块,用于根据短信分组中的字段信息,解析得到短信分组中包括的用户信息;根据所述用户信息,查询预先建立的用户信息库,得到该用户信息对应的用户信息记录;根据所述用户信息记录对表单进行更新。
在其中一个实施例中,用户信息包括:用户姓名和用户号码,更新模块还用于设置所 述用户姓名为查询位以及设置所述用户号码为校验位;根据所述查询位在所述用户信息库中查询到该用户的用户号码时,根据所述校验位对该用户的用户号码进行校验;校验通过后从所述用户信息库中得到该用户的用户信息记录。
在其中一个实施例中,填充模块504还用于获取所述短信分组的模板标签;所述模板标签预先设置在所述短信分组中,所述模板标签唯一对应所述短信模板;根据所述模板标签,确定所述短信分组对应的短信模板。
关于模板短信拼接装置的具体限定可以参见上文中对于短信拼接处理方法的限定,在此不再赘述。上述模板短信拼接装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
在其中一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图6所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机可读指令和数据库。该内存储器为非易失性存储介质中的操作系统和计算机可读指令的运行提供环境。该计算机设备的数据库用于存储字段信息、短信模板等数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机可读指令被处理器执行时以实现一种短信拼接处理方法。
在一实施例中,该计算机设备通过网络端口与终端连接,终端通过访问网络端口地址访问该计算机设备,终端将字段信息通过网络端口发送至该计算机设备,该计算机设备接收字段信息后,通过非易失性存储介质中存储的计算机可读指令执行将字段信息存储至数据库中,并且执行短信拼接的操作,生成模板短信。
本领域技术人员可以理解,图6中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
一种计算机设备,包括存储器和一个或多个处理器,存储器中存储有计算机可读指令,计算机可读指令被处理器执行时实现本申请任意一个实施例中提供的短信拼接处理方法的步骤。
一个或多个存储有计算机可读指令的非易失性存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器实现本申请任意一个实施例中提供的短信拼接处理方法的步骤。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一非易失性计算机可读取存储介质中,该计算机可读指令在执行时,可包括如上述各方法的实施例的 流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(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)等。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (20)

  1. 一种短信拼接处理方法,包括:
    接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组;
    获取与短信分组相应的预存储的短信模板,所述短信模板包括:文本字段和占位符字段;将所述短信分组中的字段信息填充至对应的短信模板的占位符字段中;及
    将填充后的占位符字段与所述文本字段进行拼接得到短信数据。
  2. 根据权利要求1所述的短信拼接处理方法,其特征在于,所述对表单包含的字段信息进行分组形成短信分组,包括:
    根据短信分组对应的特征参数,从所述表单中读取所述特征参数相同的字段信息,得到字段信息的短信分组;一个所述字段信息对应一个特征参数。
  3. 根据权利要求2所述的短信拼接处理方法,其特征在于,在将所述短信分组中的字段信息分别填充至所述短信分组对应的短信模板的占位符字段中之前,还包括:
    获取所述字段信息的格式类型,所述格式类型包括:汉字串、数字串以及日期;
    通过所述字段信息的特征参数对所述字段信息的格式类型进行验证,所述格式类型对应一种以上的特征参数;及
    在验证通过时,确定将短信分组中的字段信息填充至对应的短信模板的占位符字段中。
  4. 根据权利要求2所述的短信拼接处理方法,其特征在于,所述将所述短信分组中的字段信息填充至对应的短信模板的占位符字段中,包括:
    确定所述短信分组中每个字段信息对应的短信模板中的占位符字段;所述占位符字段为带格式占位符;及
    根据所述占位符字段的格式信息,验证所述字段信息的格式是否正确,在验证通过时,将所述字段信息填充至所述占位符字段中。
  5. 根据权利要求1所述的短信拼接处理方法,其特征在于,在对表单包含的字段信息进行分组形成短信分组之后,还包括:
    根据短信分组中的字段信息,解析得到短信分组中包括的用户信息;
    根据所述用户信息,查询预先建立的用户信息库,得到该用户信息对应的用户信息记录;及
    根据所述用户信息记录对表单进行更新。
  6. 根据权利要求5所述短信拼接处理方法,其特征在于,所述用户信息包括:用户姓名和用户号码;
    所述根据所述用户信息,查询预先建立的用户信息库,得到该用户信息的对应的用户信息记录,包括:
    设置所述用户姓名为查询位以及设置所述用户号码为校验位;及
    根据所述查询位在所述用户信息库中查询到该用户的用户号码时,根据所述校验位对 该用户的用户号码进行校验;校验通过后从所述用户信息库中得到该用户的用户信息记录。
  7. 根据权利要求1至6任一项所述的短信拼接处理方法,其特征在于,所述获取与短信分组相应的预存储的短信模板,包括:
    获取所述短信分组的模板标签;所述模板标签预先设置在所述短信分组中,所述模板标签唯一对应所述短信模板;及
    根据所述模板标签,确定所述短信分组对应的短信模板。
  8. 一种短信拼接处理装置,所述装置包括:
    接收模块,用于接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组;
    填充模块,用于获取与短信分组相应的预存储的短信模板,所述短信模板包括:文本字段和占位符字段;将所述短信分组中的字段信息填充至对应的短信模板的占位符字段中;
    拼接模块,用于将填充后的占位符字段与所述文本字段进行拼接得到短信数据。
  9. 根据权利要求8所述的短信拼接处理装置,其特征在于,所述接收模块还用于根据短信分组对应的特征参数,从所述表单中读取所述特征参数相同的字段信息,得到字段信息的短信分组;一个所述字段信息对应一个特征参数。
  10. 一种计算机设备,包括存储器及一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:
    接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组;
    获取与短信分组相应的预存储的短信模板,所述短信模板包括:文本字段和占位符字段;将所述短信分组中的字段信息填充至对应的短信模板的占位符字段中;及
    将填充后的占位符字段与所述文本字段进行拼接得到短信数据。
  11. 根据权利要求10所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:
    根据短信分组对应的特征参数,从所述表单中读取所述特征参数相同的字段信息,得到字段信息的短信分组;一个所述字段信息对应一个特征参数。
  12. 根据权利要求11所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:
    获取所述字段信息的格式类型,所述格式类型包括:汉字串、数字串以及日期;
    通过所述字段信息的特征参数对所述字段信息的格式类型进行验证,所述格式类型对应一种以上的特征参数;及
    在验证通过时,确定将短信分组中的字段信息填充至对应的短信模板的占位符字段中。
  13. 根据权利要求11所述的计算机设备,其特征在于,所述处理器执行所述计算机 可读指令时还执行以下步骤:
    确定所述短信分组中每个字段信息对应的短信模板中的占位符字段;所述占位符字段为带格式占位符;及
    根据所述占位符字段的格式信息,验证所述字段信息的格式是否正确,在验证通过时,将所述字段信息填充至所述占位符字段中。
  14. 根据权利要求10所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:
    根据短信分组中的字段信息,解析得到短信分组中包括的用户信息;
    根据所述用户信息,查询预先建立的用户信息库,得到该用户信息对应的用户信息记录;及
    根据所述用户信息记录对表单进行更新。
  15. 根据权利要求14所述的计算机设备,其特征在于,所述用户信息包括:用户姓名和用户号码;
    所述处理器执行所述计算机可读指令时还执行以下步骤:
    设置所述用户姓名为查询位以及设置所述用户号码为校验位;及
    根据所述查询位在所述用户信息库中查询到该用户的用户号码时,根据所述校验位对该用户的用户号码进行校验;校验通过后从所述用户信息库中得到该用户的用户信息记录。
  16. 一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:
    接收终端上传的表单,对表单包含的字段信息进行分组形成短信分组;
    获取与短信分组相应的预存储的短信模板,所述短信模板包括:文本字段和占位符字段;将所述短信分组中的字段信息填充至对应的短信模板的占位符字段中;及
    将填充后的占位符字段与所述文本字段进行拼接得到短信数据。
  17. 根据权利要求16所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:
    根据短信分组对应的特征参数,从所述表单中读取所述特征参数相同的字段信息,得到字段信息的短信分组;一个所述字段信息对应一个特征参数。
  18. 根据权利要求17所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:
    获取所述字段信息的格式类型,所述格式类型包括:汉字串、数字串以及日期;
    通过所述字段信息的特征参数对所述字段信息的格式类型进行验证,所述格式类型对应一种以上的特征参数;及
    在验证通过时,确定将短信分组中的字段信息填充至对应的短信模板的占位符字段中。
  19. 根据权利要求17所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:
    确定所述短信分组中每个字段信息对应的短信模板中的占位符字段;所述占位符字段为带格式占位符;及
    根据所述占位符字段的格式信息,验证所述字段信息的格式是否正确,在验证通过时,将所述字段信息填充至所述占位符字段中。
  20. 根据权利要求16所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:
    根据短信分组中的字段信息,解析得到短信分组中包括的用户信息;
    根据所述用户信息,查询预先建立的用户信息库,得到该用户信息对应的用户信息记录;及
    根据所述用户信息记录对表单进行更新。
PCT/CN2018/105289 2018-06-27 2018-09-12 短信拼接处理方法、装置、计算机设备和存储介质 Ceased WO2020000670A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810678807.9A CN108897728B (zh) 2018-06-27 2018-06-27 短信拼接处理方法、装置、计算机设备和存储介质
CN201810678807.9 2018-06-27

Publications (1)

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

Family

ID=64346394

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/105289 Ceased WO2020000670A1 (zh) 2018-06-27 2018-09-12 短信拼接处理方法、装置、计算机设备和存储介质

Country Status (2)

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

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475497A (zh) * 2020-03-27 2020-07-31 深圳壹账通智能科技有限公司 一种系统字段筛查方法、装置、计算机设备及存储介质
CN112306994A (zh) * 2020-11-10 2021-02-02 北京沃东天骏信息技术有限公司 数据库数据迁移方法、装置以及存储介质
CN113761567A (zh) * 2021-01-29 2021-12-07 北京京东拓先科技有限公司 数据加密方法、装置、电子设备和计算机可读介质
CN113778846A (zh) * 2020-11-30 2021-12-10 北京沃东天骏信息技术有限公司 用于生成测试数据的方法和装置
CN114567855A (zh) * 2022-03-09 2022-05-31 北京神州泰岳软件股份有限公司 一种长短信处理方法、装置和电子设备

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783336A (zh) * 2018-12-18 2019-05-21 中国平安人寿保险股份有限公司 数据分析脚本生成方法、装置、介质和电子设备
CN110019754B (zh) * 2019-01-30 2023-11-07 创新先进技术有限公司 一种知识库的建立方法、装置及设备
CN111427884A (zh) * 2020-03-03 2020-07-17 中国平安人寿保险股份有限公司 表单数据处理方法、装置、电子设备及存储介质
CN111428463A (zh) * 2020-03-26 2020-07-17 深圳壹账通智能科技有限公司 一种短信处理方法、装置、电子设备和存储介质
CN113919310B (zh) * 2021-10-27 2025-10-28 挂号网(杭州)科技有限公司 短信内容确定方法、装置、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924640A (zh) * 2009-06-15 2010-12-22 北京华智大为科技有限公司 一种电子邮件群发的方法和系统
WO2014114172A1 (zh) * 2013-01-23 2014-07-31 小米科技有限责任公司 一种发送短信的方法、装置及终端
CN105450499A (zh) * 2014-08-15 2016-03-30 阿里巴巴集团控股有限公司 一种邮件行为反馈方法及装置
CN106384225A (zh) * 2016-09-20 2017-02-08 焦点教育科技有限公司 一种基于自定义变量字段批量发送点对点通知的方法

Family Cites Families (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000014139A (ko) * 1998-08-14 2000-03-06 서평원 코드분할 다중접속 방식의 이동통신 시스템에서 이동국 통계 데이터 수집 및 초기화 제어방법
IES20000406A2 (en) * 2000-05-24 2001-08-08 Nua Ltd A System and Method for publishing and categorising documents on a Network
JP4095617B2 (ja) * 2005-02-28 2008-06-04 キヤノン株式会社 文書処理装置及び文書処理方法及びコンピュータプログラム
CN101283350A (zh) * 2005-07-15 2008-10-08 思索软件有限公司 用于为自由文本消息提供结构化数据的方法和装置
CN100558045C (zh) * 2006-08-07 2009-11-04 华为技术有限公司 一种生成通信用户描述信息的系统及方法
CN100559768C (zh) * 2006-08-08 2009-11-11 阿里巴巴集团控股有限公司 一种信息投放方法及系统
CN101335959A (zh) * 2008-08-06 2008-12-31 统庆通信设备(深圳)有限公司 一种手机短信的批处理方法
CN101378549B (zh) * 2008-09-27 2012-01-25 华为终端有限公司 一种确定标准短信所属长短信的方法、装置和系统
CN101465917B (zh) * 2009-01-09 2011-06-08 华为终端有限公司 一种通信终端信息分组的方法及通信终端
CN101616377B (zh) * 2009-07-20 2012-09-05 中兴通讯股份有限公司 一种短信的处理方法及系统
CN101620591A (zh) * 2009-08-12 2010-01-06 国网电力科学研究院 一种基于单元格方式的组件化报表布局设计方法
CN101877836B (zh) * 2010-05-27 2014-06-18 中兴通讯股份有限公司南京分公司 短信复活系统、装置及方法
CN102263851A (zh) * 2010-05-31 2011-11-30 北京迅捷英翔网络科技有限公司 消息转换方法
CN102508850A (zh) * 2011-09-29 2012-06-20 用友软件股份有限公司 表单数据处理装置和表单数据处理方法
CN103246676A (zh) * 2012-02-10 2013-08-14 富士通株式会社 对消息进行聚类的方法和设备
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 (zh) * 2013-09-24 2017-10-27 阿里巴巴集团控股有限公司 一种Hybrid组件的运行方法和系统
CN104796312B (zh) * 2014-01-17 2017-12-26 腾讯科技(深圳)有限公司 联系人信息处理方法、装置及系统
CN104935438B (zh) * 2015-05-28 2018-09-07 北京旷视科技有限公司 用于身份验证的方法和装置
CN105045773A (zh) * 2015-07-10 2015-11-11 北京奇虎科技有限公司 卡片模板式服务类短信的生成方法及装置
CN106528576B (zh) * 2015-09-15 2021-06-25 腾讯科技(深圳)有限公司 页面搜索方法、终端及系统以及存储介质
CN106559761A (zh) * 2015-09-28 2017-04-05 中国移动通信集团公司 一种信息处理方法及终端、服务器
CN105472580B (zh) * 2015-11-17 2019-08-06 小米科技有限责任公司 信息的处理方法、装置、终端及服务器
CN107392560A (zh) * 2016-05-16 2017-11-24 杨国成 一种基于互联网的Excel表格数据发布采集方法及系统
CN107092625B (zh) * 2016-12-28 2020-10-09 北京星选科技有限公司 数据配置方法、数据处理方法及装置
CN107145537B (zh) * 2017-04-21 2021-06-18 深圳市天天来玩科技有限公司 一种表格数据导入方法及系统
CN107666479A (zh) * 2017-08-02 2018-02-06 上海壹账通金融科技有限公司 信息加密解密方法、装置、计算机设备和存储介质
CN107704444B (zh) * 2017-10-11 2021-03-16 远光软件股份有限公司 多栏多列表格的展示方法
CN108153897B (zh) * 2018-01-10 2022-04-12 中国银行股份有限公司 一种plsql程序代码生成方法及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924640A (zh) * 2009-06-15 2010-12-22 北京华智大为科技有限公司 一种电子邮件群发的方法和系统
WO2014114172A1 (zh) * 2013-01-23 2014-07-31 小米科技有限责任公司 一种发送短信的方法、装置及终端
CN105450499A (zh) * 2014-08-15 2016-03-30 阿里巴巴集团控股有限公司 一种邮件行为反馈方法及装置
CN106384225A (zh) * 2016-09-20 2017-02-08 焦点教育科技有限公司 一种基于自定义变量字段批量发送点对点通知的方法

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475497A (zh) * 2020-03-27 2020-07-31 深圳壹账通智能科技有限公司 一种系统字段筛查方法、装置、计算机设备及存储介质
CN112306994A (zh) * 2020-11-10 2021-02-02 北京沃东天骏信息技术有限公司 数据库数据迁移方法、装置以及存储介质
CN113778846A (zh) * 2020-11-30 2021-12-10 北京沃东天骏信息技术有限公司 用于生成测试数据的方法和装置
CN113761567A (zh) * 2021-01-29 2021-12-07 北京京东拓先科技有限公司 数据加密方法、装置、电子设备和计算机可读介质
CN114567855A (zh) * 2022-03-09 2022-05-31 北京神州泰岳软件股份有限公司 一种长短信处理方法、装置和电子设备
CN114567855B (zh) * 2022-03-09 2023-07-14 北京神州泰岳软件股份有限公司 一种长短信处理方法、装置和电子设备

Also Published As

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

Similar Documents

Publication Publication Date Title
WO2020000670A1 (zh) 短信拼接处理方法、装置、计算机设备和存储介质
CN108573371B (zh) 数据审批方法、装置、计算机设备和存储介质
CN111767095B (zh) 微服务生成方法、装置、终端设备及存储介质
CN109474578B (zh) 报文消息校验方法、装置、计算机设备和存储介质
CN110365670B (zh) 黑名单共享方法、装置、计算机设备和存储介质
US10880078B2 (en) Data storage, data check, and data linkage method and apparatus
EP3596642B1 (en) Privacy-preserving identity verification
WO2020186786A1 (zh) 文件处理方法、装置、计算机设备和存储介质
CN111314306A (zh) 接口访问方法及装置、电子设备、存储介质
CN109582681A (zh) 业务数据处理方法、装置、计算机设备及存储介质
WO2020253061A1 (zh) 页面生成方法、装置、计算机设备和存储介质
CN110334303A (zh) 表单校验方法、装置、计算机设备和存储介质
WO2020233091A1 (zh) 业务数据回退方法、装置、计算机设备和存储介质
WO2020192134A1 (zh) 基于Spring MVC的异常处理方法、装置、计算机设备和存储介质
WO2020192141A1 (zh) 接口模拟方法、装置、计算机设备和存储介质
WO2021012571A9 (zh) 数据处理方法、装置、计算机设备和存储介质
CN111143399B (zh) 数据处理方法、装置、存储介质和计算机设备
CN114003432B (zh) 参数校验方法、装置、计算机设备和存储介质
WO2019080423A1 (zh) 资源数值转移方法、装置、存储介质和服务器
CN108429745A (zh) 登录的认证方法和认证系统、网页登录方法和系统
WO2021068348A1 (zh) 任务部署方法、系统和存储介质
CN112416770A (zh) 测试数据的生成方法、装置、设备及存储介质
WO2021120628A1 (zh) 基于区块链的敏感词检测方法、装置、计算机设备和计算机可读存储介质
CN112860778A (zh) 桌面应用程序的数据库管理方法、装置、设备和介质
CN109544265B (zh) 电子锁信息处理方法、电子设备和存储介质

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