CN112383888A - Short message system, method and equipment - Google Patents

Short message system, method and equipment Download PDF

Info

Publication number
CN112383888A
CN112383888A CN202011209284.7A CN202011209284A CN112383888A CN 112383888 A CN112383888 A CN 112383888A CN 202011209284 A CN202011209284 A CN 202011209284A CN 112383888 A CN112383888 A CN 112383888A
Authority
CN
China
Prior art keywords
short message
module
sms
request
lted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011209284.7A
Other languages
Chinese (zh)
Inventor
羊娟
金晶
沈剑
蔡美善
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Zhongmi Communication Technology Co ltd
Original Assignee
Shanghai Zhongmi Communication Technology 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 Shanghai Zhongmi Communication Technology Co ltd filed Critical Shanghai Zhongmi Communication Technology Co ltd
Priority to CN202011209284.7A priority Critical patent/CN112383888A/en
Publication of CN112383888A publication Critical patent/CN112383888A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Abstract

A short message system comprises a system initialization module, a Short Message Service (SMS) module and a Short Message Service (SMS) module, wherein the system initialization module is used for running a system initialization script, starting an LTED process, initializing the SMS module and setting short message service; the SMS module is used for setting the number of the SMS center and the storage position of the SMS and starting a response thread and a real-time state reporting thread of a user interface of the WEBUI module; the LTED module is used for accessing the network and acquiring IP (Internet protocol) and performing data interaction with the SMS module; the WEBUI module is a WEB user interface and issues a request to the SMS short message module, wherein the request comprises sending, deleting, reading, short messages, refreshing a short message list and acquiring or configuring a short message center number; and the OAMD module provides an SMS configuration interface for the SMS short message module and the WEB user interface to use, and forwards the short message content and issues the instruction request.

Description

Short message system, method and equipment
Technical Field
The present invention relates to the field of wireless communications, and in particular, to a short message system, method and device.
Background
SMS (Short Messaging Service) is the earliest Short message Service, and is also a Short message Service with the highest popularity at present, and is also a store and forward Service.
Term name Full scale Description of the invention
GSM Global System for Mobile Communications Global mobile communication system
PDU Protocol Data Unit Protocol data unit
SMSC Short Message Service Center Short message service center
SMS Short Messaging Service Short message service
LTE long Term Evolution Long term evolution
UE User Equipment User equipment
Disclosure of Invention
In one embodiment of the invention, the short message system comprises a system initialization module, a WEBUI module, an OAMD module, an SMS short message module and an LTED module.
The system initialization module is used for running a system initialization script, starting an LTED process, initializing the SMS short message module and setting short message service;
the SMS module is used for setting the number of the SMS center and the storage position of the SMS and starting a response thread and a real-time state reporting thread of a user interface of the WEBUI module;
the LTED module is used for accessing the network and acquiring IP (Internet protocol) and performing data interaction with the SMS module;
the WEBUI module is a WEB user interface and issues a request to the SMS short message module, wherein the request comprises sending, deleting, reading, short messages, refreshing a short message list and acquiring or configuring a short message center number;
and the OAMD module provides an SMS configuration interface for the SMS short message module and the WEB user interface to use, and forwards the short message content and issues the instruction request.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
fig. 1 is a schematic diagram of a short message system according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart of an SMS message module according to an embodiment of the present invention.
Fig. 3 is a flow chart of the WEBUI module according to one embodiment of the present invention.
Detailed Description
According to one or more embodiments, as shown in fig. 1, a SMS message system includes a system initialization module, a wetui module, an OAMD module (OAM-midwall, which is an intermediate layer module and is a communication bridge between WEBUI and a bottom layer), an SMS message module, and an lte module.
And the system initialization module runs a system initialization script, starts an LTED process when the equipment is started, also comprises related initialization of SMS and performs related early-stage setting for short message service.
And the SMS module is used for setting a short message center number, a short message storage position and the like after being started, and starting a response thread and a real-time state reporting thread of a user interface of the WEBUI module.
The LTE module (LTE, which is a long term evolution of 3GPP technical standard, and is responsible for network-related operations) performs network access and IP acquisition, and performs data communication with the SMS short message module.
The WEBUI module is a WEB user interface and issues some requests to the SMS short message module, and the requests mainly comprise sending, deleting, reading, short messages, refreshing a short message list and obtaining or configuring a short message center number.
And the OAMD module provides related interfaces of SMS configuration, is used by the SMS short message module and a WEB User Interface (UI), and transmits the content of the short message and issues the instruction request.
After the equipment is started, the equipment starts a system starting script, and an LTED module is started in the script. At this time, in the process of reinitializing the LTED module, the SMS module, namely the short message function, is started. And sending an AT command related to the short message to initialize the short message function.
As shown in fig. 2, the SMS message module is started in the lte process, which is initiated by initializing the SMS and other functions of the module such as accessing the network, creating two threads, responding to the threads of the page request (including SMS message request, sending, deleting, reading, etc.) and the real-time state thread (obtaining a message list in real time), sending the corresponding AT command to the communication module after the LTED receives the related request, and taking out the result returned by the module, and writing the result into the corresponding nv node (here, the nv node is a memory node, which is a space opened in software for storing data, facilitating indirect communication between the processes by reading data content) or a corresponding file for obtaining a web page.
As shown in fig. 3, the WEB request of the WEBUI module mainly includes sending and reading a short message, and initializing a short message format to be a PDU short message, so when sending a short message, characters that need to convert the content of the short message input on a page into the PDU format are sent to the module for sending, and due to the limitation of length, the short message is split and sent after exceeding a certain length, thereby supporting the sending of long short messages. The received short message content is also a character string in a PDU format, the character string in the PDU format is converted into corresponding English or Chinese characters to be displayed when a page reads or refreshes a short message list, a deleting request is that a short message to be deleted is selected in the page, and the webpage transmits the index of the short message to an LTED (SMS) module to delete the short message according to a command.
After the device main process is started, a command for listing all short messages is continuously sent, the obtained result is compared with the previous short message every time, and if the short message is updated (a new short message is received or the short message is deleted), the new short message is written into the text to create a short message list.
The WEBUI module mainly comprises an inbox, an outbox and a setting interface, wherein the setting interface is mainly used for configuring a number of a short message center, the number of the short message center is generally obtained from an SIM card through a command when the mobile terminal is started and initialized in an LTED (SMS) module, if the number of the short message center is not obtained in the SIM card, the number of the short message center is set through a page according to a short message center of a related operator, and the inbox and the outbox display read, unread, sent and unsent messages according to related identifiers.
The implementation of the PDU message is described in detail below.
The sending of short messages is usually in Text and PDU (Protocol Data Unit) mode. The Text mode is simple to use for receiving and sending short message codes, and is very easy to realize, but the biggest defect is that the Chinese short message cannot be received and sent; the PDU mode not only supports Chinese short messages, but also can send English short messages. The PDU mode may use 3 kinds of codes for sending and receiving short messages: 7-bit, 8-bit and UCS 2. 7-bit encoding is used to transmit plain ASCII characters, which encodes a string of 7-bit characters (highest bit 0) into 8-bit data, each 8 characters being "compressible" into 7; 8-bit encoding is commonly used to send data messages such as pictures and ring tones; and the UCS2 encoding is used to transmit Unicode characters. Under the three encoding modes, the maximum capacity of the user information (TP-UD) section (the maximum number of characters of the short message which can be transmitted) of the PDU string is 160, 140 and 70 respectively. Here, one english alphabet, one chinese character, and one data byte are all regarded as one character.
The user information length (TP-UDL) of a PDU string has different meanings in various encoding modes. When 7-bit is coded, the number of characters of the original short message is referred to, but the number of bytes after coding is not referred to. When 8-bit is coded, the number of bytes is just. UCS2 encodes it, also in number of bytes, equal to twice the number of characters of the original short message. If a header (basic parameter TP-UDHI is 1) exists in the user information (TP-UD), the length (TP-UDL) of the user information is equal to the sum of the length of the header and the number of bytes after encoding under all encoding modes. If the compression algorithm proposed by GSM 03.42 is used (001 for the upper 3 bits of the TP-DCS), the length is also the compressed encoded byte number or the sum of the header length and the compressed encoded byte number.
Currently, Text and pdu (protocol Data unit) modes are commonly used for sending short messages. The Text mode is simple to use for receiving and sending short message codes, and is very easy to realize, but the biggest defect is that the Chinese short message cannot be received and sent; the PDU mode not only supports Chinese short messages, but also can send English short messages. The PDU mode may use 3 kinds of codes for sending and receiving short messages: 7-bit, 8-bit and UCS 2. The 7-bit encoding is used to transmit plain ASCII characters, the 8-bit encoding is typically used to transmit data messages, and the UCS2 encoding is used to transmit Unicode characters. The general PDU code consists of thirteen items A B C D E F G H I J K L M.
A: short message center address length, 2-bit hexadecimal number (1 byte).
B: type of short message center number, 2-digit hexadecimal number.
C: the short message center number, B + C, will be determined by the data in a.
D: pduType, 2-bit hexadecimal number.
E: message Reference, 2-bit hexadecimal number.
F: called number length, 2-bit hexadecimal number.
G: the type of the called number, 2-bit hexadecimal number, takes the same value as B.
H: the called number, length is determined by the data in F.
I: protocol identification, 2-bit hexadecimal number.
J: data encoding scheme, 2-bit hexadecimal number.
K: validity period, 2-bit hexadecimal number.
L: user data length, 2-bit hexadecimal number.
M: user data, the length of which is determined by the data in L. The J is encoded by UCS2, and here is a Unicode character in chinese and english.
The encoding and decoding of the PDU includes:
(1) english coding and decoding
The default GSM character set is 7-bit encoding, the ASCII code is 8-bit encoding, and the encoding is to convert 8-bit ASCII encoding into 7-bit encoding. For example: 1234 encoded to give 31D98C 06. After "1234" is represented by binary, the code is converted to 7-bit code as follows:
8 bit code 00110001001100100011001100110100
7 bit code 00110001110110011000110000000110
By way of example, it can be seen that Bit8 of ascii8 Bit code is removed, and the next few bits of the next 7 Bit code are successively shifted to the front to form a new 8 Bit code. Decoding is the reverse process of the above, namely converting a 7-bit character code into an 8-bit character code.
(2) Chinese coding and decoding
The Chinese coding is simple, namely the Chinese coding of GB2312 is converted into the Unicode coding. Decoding is just to convert the Unicode code into the Chinese code of GB 2312.
In daily short message receiving and sending, Chinese short messages are more, English short messages can also be received and sent as Chinese short messages, and if the program requirement is not high, all short messages can use Chinese codes.
The function realized by the embodiment of the invention can lead the router to send and receive the short message in a webpage form, and not only just like the conventional router only supports the network access function. The technical means involved in the middle are the problems of inter-process communication (message queue), short message coding mode, AT configuration mode, memory storage and the like.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A short message system is characterized in that the system comprises a system initialization module, a WEBUI module, an OAMD module, an SMS short message module and an LTED module,
the system initialization module is used for running a system initialization script, starting an LTED process, initializing the SMS short message module and setting short message service;
the SMS module is used for setting the number of the SMS center and the storage position of the SMS and starting a response thread and a real-time state reporting thread of a user interface of the WEBUI module;
the LTED module is used for accessing the network and acquiring IP (Internet protocol) and performing data interaction with the SMS module;
the WEBUI module is a WEB user interface and issues a request to the SMS short message module, wherein the request comprises sending, deleting, reading, short messages, refreshing a short message list and acquiring or configuring a short message center number;
and the OAMD module provides an SMS configuration interface for the SMS short message module and the WEB user interface to use, and forwards the short message content and issues the instruction request.
2. The SMS system of claim 1, wherein the SMS module is initiated during an LTED process,
after the start of the LTED process, firstly, the SMS short message module is accessed and initialized, then two threads are created, including a thread for responding a page request and a real-time state thread,
after receiving the request, the LTED module issues an AT command to the communication module in a programming mode of serial port communication, and the communication module returns a processing result of the AT command and writes the processed AT command into a corresponding nv node or a corresponding file for webpage acquisition.
3. The SMS system of claim 2, wherein the response page request thread includes SMS request, send, delete, read.
4. The text message system of claim 2, wherein the real-time status thread comprises a real-time short message list.
5. The SMS system of claim 2, wherein the WEB request of the WEBUI module comprises,
the short message is sent and read out,
initializing and setting the format of the short message as a PDU short message,
when sending short message, converting the content of short message input from page into character in PDU format and then sending it,
when the received short message content is a character string in a PDU format, the WEB page reads or refreshes a short message list, the character string in the PDU format is converted into a corresponding English or Chinese character to be displayed,
and the deleting request is to select the short message to be deleted on the page, and the webpage transmits the index of the short message to the LTED module and the SMS module and deletes the short message according to the command.
6. A short messaging method based on the short messaging system of claim 1, wherein the WEB request is issued through a WEB user interface, comprising,
the short message is sent and read out,
initializing and setting the format of the short message as a PDU short message,
when sending short message, converting the content of short message input from page into character in PDU format and then sending it,
when the received short message content is a character string in a PDU format, the WEB page reads or refreshes a short message list, the character string in the PDU format is converted into a corresponding English or Chinese character to be displayed,
and the deleting request is to select the short message to be deleted on the page, and the webpage transmits the index of the short message to the LTED module and the SMS module and deletes the short message according to the command.
7. Short message equipment is characterized by comprising a memory; and
a processor coupled to the memory, the processor configured to execute instructions stored in the memory, the processor to:
a WEB request is issued via a WEB user interface, including,
the short message is sent and read out,
initializing and setting the format of the short message as a PDU short message,
when sending short message, converting the content of short message input from page into character in PDU format and then sending it,
when the received short message content is a character string in a PDU format, the WEB page reads or refreshes a short message list, the character string in the PDU format is converted into a corresponding English or Chinese character to be displayed,
and the deleting request is to select the short message to be deleted on the page, and the webpage transmits the index of the short message to the LTED module and the SMS module and deletes the short message according to the command.
8. A storage medium on which a computer program is stored which, when executed by a processor, carries out the method of claim 6.
CN202011209284.7A 2020-11-03 2020-11-03 Short message system, method and equipment Pending CN112383888A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011209284.7A CN112383888A (en) 2020-11-03 2020-11-03 Short message system, method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011209284.7A CN112383888A (en) 2020-11-03 2020-11-03 Short message system, method and equipment

Publications (1)

Publication Number Publication Date
CN112383888A true CN112383888A (en) 2021-02-19

Family

ID=74577947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011209284.7A Pending CN112383888A (en) 2020-11-03 2020-11-03 Short message system, method and equipment

Country Status (1)

Country Link
CN (1) CN112383888A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113490165A (en) * 2021-06-21 2021-10-08 广州致远电子有限公司 4G module short message receiving and transmitting method of embedded system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549608A (en) * 2003-05-09 2004-11-24 中兴通讯股份有限公司 Short message pocket transmission equipment and realizing method
CN101031096A (en) * 2006-03-02 2007-09-05 中兴通讯股份有限公司 Method and system for packet transmitting SMS
US20110153750A1 (en) * 2009-12-17 2011-06-23 Robert Sanchez Computer To Mobile Two-Way Chat System And Method
CN102364966A (en) * 2011-10-09 2012-02-29 中兴通讯股份有限公司 Wireless communication terminal and short message processing method and system of wireless communication terminal
CN102638572A (en) * 2012-03-19 2012-08-15 北京邮电大学 Short-message sending service system based on Web Element mechanism and operating method thereof
CN103731805A (en) * 2012-10-15 2014-04-16 苏州精易会信息技术有限公司 System for providing short message sending service for software system
US20140287786A1 (en) * 2013-03-22 2014-09-25 Argela Yazilim ve Bilisim Teknolojileri San. ve Tic. A.S. Internet-based short message retrieval and display system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549608A (en) * 2003-05-09 2004-11-24 中兴通讯股份有限公司 Short message pocket transmission equipment and realizing method
CN101031096A (en) * 2006-03-02 2007-09-05 中兴通讯股份有限公司 Method and system for packet transmitting SMS
US20110153750A1 (en) * 2009-12-17 2011-06-23 Robert Sanchez Computer To Mobile Two-Way Chat System And Method
CN102364966A (en) * 2011-10-09 2012-02-29 中兴通讯股份有限公司 Wireless communication terminal and short message processing method and system of wireless communication terminal
CN102638572A (en) * 2012-03-19 2012-08-15 北京邮电大学 Short-message sending service system based on Web Element mechanism and operating method thereof
CN103731805A (en) * 2012-10-15 2014-04-16 苏州精易会信息技术有限公司 System for providing short message sending service for software system
US20140287786A1 (en) * 2013-03-22 2014-09-25 Argela Yazilim ve Bilisim Teknolojileri San. ve Tic. A.S. Internet-based short message retrieval and display system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
徐延发: ""基于WEB方式的短信管理平台的研究与实现"", 《中国优秀硕士学位论文全文数据库》 *
王媛: ""LTE制式下短消息功能的设计与实现"", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113490165A (en) * 2021-06-21 2021-10-08 广州致远电子有限公司 4G module short message receiving and transmitting method of embedded system
CN113490165B (en) * 2021-06-21 2022-09-02 广州致远电子股份有限公司 4G module short message receiving and transmitting method for embedded system

Similar Documents

Publication Publication Date Title
US8311527B2 (en) Mobile communication terminal, server, system and method for message service with font data
Ma et al. General application research on GSM module
WO2017054597A1 (en) Processing method and device for emoji string
CN101350858B (en) Method for decoding short message and user terminal
US20120278433A1 (en) Method for transmitting and receiving multimedia information and terminal
JP2014526098A (en) Method and system for downloading font files
WO2012027932A1 (en) Method, equipment and terminal for encoding/decoding short message
CN101390410B (en) Icon transforming system, and service method for the same
CN112383888A (en) Short message system, method and equipment
CN201286115Y (en) E-mail customer terminal and mobile communication terminal
CN106878145B (en) Display method, display device and display system of user-defined picture
WO2011017927A1 (en) Short message encoding method, device and system
CN101345952A (en) Data storing and reading method, device and system for client identification card
CN103843292B (en) Networking component and mobile device
CN101686568B (en) Methods and terminals for transmitting and displaying text information
CN105704215B (en) Shared file system and corresponding document sending method and device
US9544252B2 (en) Compressing and decompressing electronic messages in message threads
KR101254599B1 (en) Providing transparent cdma short message service using non-cdma mobile devices, smart cards and networks
CN102281516B (en) Short message processing method and short message processing terminal
CN102131161B (en) Method, device and system for encoding short message
CN111629020A (en) Remote input method, device, PC (personal computer) terminal, android device and system
KR20000059275A (en) MGMS; Multiple Graphic Message System and Service
CN105610701A (en) Instant messaging method, device and system
KR20090021589A (en) Apparatus and method for font message transformation
TW201515491A (en) Method of handling SMS messages and related communication system

Legal Events

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

Application publication date: 20210219

RJ01 Rejection of invention patent application after publication