Text message transmission apparatus and method thereof

Information

  • Patent Grant
  • 10609215
  • Patent Number
    10,609,215
  • Date Filed
    Friday, September 7, 2018
    6 years ago
  • Date Issued
    Tuesday, March 31, 2020
    4 years ago
Abstract
A text message transmission apparatus and a method thereof are provided. The text message transmission apparatus includes a mobile network communication module, a subscriber line interface circuit (SLIC) module and a processor. The mobile network communication module receives a text message. The SLIC module is configured to connect to a traditional telephone set in a public switched telephone network (PSTN). The processor is coupled to the mobile network communication module and the SLIC module. The processor decodes the text message to obtain a text content of the text message, transforms the text content into a speech content, and plays back the speech content through the SLIC module. Accordingly, the text messages can be transmitted through the PSTN.
Description
CROSS-REFERENCE TO RELATED APPLICATION

This application claims the priority benefit of Taiwan application serial no. 107110367, filed on Mar. 26, 2018. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.


BACKGROUND OF THE INVENTION
1. Field of the Invention

The invention relates to a text message transmission, and more particularly, to a text message transmission apparatus and a method thereof.


2. Description of Related Art

In recent years, global climate anomalies have caused a dramatic increase in the frequency of natural disasters. Moreover, volcanic eruptions, tsunami and earthquakes are also disasters likely to affect severe casualties. If an alarm message regarding the disasters can be broadcasted to people in the relevant area as early as possible or in advance, it will be able to avoid or reduce the damage to personnel, or damage to goods, buildings and assets. With the rapid popularization of mobile broadband technology, many countries have been promoting the provision of disaster prevention alerts and related contingency information through mobile networks. In other words, it is still very much required to have a cell phone capable of receiving a text message (e.g., Short Message Service (SMS), Cell Broadcast Service (CBS)) so the cell phone users can receive the alarm message. Consequently, this service cannot deliver the alarm message to people who communicate only by traditional telephone set.


SUMMARY OF THE INVENTION

In light of the above, the invention provides a text message transmission apparatus and a method thereof, which allows a traditional public switch telephone network (PSTN) telephone set can accept the text message from cellular network.


The text message transmission apparatus of the invention includes a mobile network communication module, a subscriber line interface circuit (SLIC) module and a processor. The mobile network communication module receives a text message. The SLIC module is configured to connect to the traditional telephone set on the PSTN. The processor is coupled to the mobile network communication module and the SLIC module, decodes the text message to obtain a text content in the text message, transforms the text content into a speech content, and plays back the speech content through the SLIC module.


In an embodiment of the invention, the SLIC module generates and turns on a ringing in response to the speech content received from the processor.


In an embodiment of the invention, the processor determines a severity of the text message, and the SLIC module sets up a frequency or a pattern of the ringing according to the severity.


In an embodiment of the invention, the SLIC module plays back the speech content in response to an off-hook state detected at the traditional telephone set.


In an embodiment of the invention, the SLIC module ends the operation of playing back the speech content in response to an on-hook state detected at the traditional telephone set.


The message transmission method of the invention is adapted to a device supporting a cellular network and a public switched telephone network, and includes the following steps. A text message is received from the cellular network. The text message is decoded to obtain a text content in the text message. The text content is transformed into a speech content. The speech content is played back through the PSTN.


In an embodiment of the invention, the step of playing back the speech content through the PSTN includes the following steps. A ringing is generated and turned on through a subscriber line interface circuit (SLIC) in response to the speech content being generated.


In an embodiment of the invention, the step of generating the ringing through the SLIC includes the following steps. The severity of the text message is determined. A set of frequency or a pattern of the ringing is set up according to the severity.


In an embodiment of the invention, the step of playing back the speech content through the PSTN includes the following steps. The speech content is played back in response to an off-hook state being detected.


In an embodiment of the invention, after the step of playing back the speech content through the PSTN, the following steps are further included. The operation of playing back the speech content is ended in response to an on-hook state being detected.


Based on the above, according to the embodiments of the invention, by transforming the text message from the cellular network into the speech content and transmitting the speech content to the traditional telephone set through the SLIC, the integration problem for transmitting text message to the plain old telephone service (POTS) networking system may be solved. In addition, by providing different ringing manners described in the embodiments of the invention, the user is able to understand the severity of the text message (emergency, importance, etc.).


To make the above features and advantages of the invention more comprehensible, several embodiments accompanied with drawings are described in detail as follows.





BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.



FIG. 1 is a schematic diagram of a communication system according to an embodiment of the invention.



FIG. 2 is a device block diagram of a text message transmission apparatus according to an embodiment of the invention.



FIG. 3 is a device block diagram of a mobile network communication module and a processor according to an embodiment of the invention.



FIG. 4 is a device block diagram of a SLIC module, a traditional telephone set and a processor according to an embodiment of the invention.



FIG. 5 is a flowchart of a text message transmission method according to an embodiment of the invention.



FIG. 6 is a flowchart related to a severity of the message according to an embodiment of the invention.





DESCRIPTION OF THE EMBODIMENTS

Reference will now be made in detail to the present preferred embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.



FIG. 1 is a schematic diagram of a communication system 1 according to an embodiment of the invention. With reference to FIG. 1, the communication system 1 includes but not limited to a mobile terminal 11, traditional telephone set 12 and 13 and a text message transmission apparatus 100.


The mobile terminal 11 may be a cell phone, a tablet computer or the like for receiving services provided by a cellular (mobile) network 15, and the mobile terminal 11 may also send a text message (e.g., Short Message Service (SMS)) or make a phone call through the cellular network 15.


It should be noted that, in some embodiments, the text message (e.g., Cell Broadcast Service (CBS)) may also be originated from a broadcasting platform of government, businesses or companies and sent through a cell broadcast center of a telecommunications service provider.


The traditional telephone sets 12 and 13 may be telephones supporting a public switched telephone network (PSTN) or a voice over IP (VoIP) 17, and the traditional telephone sets 12 and 13 may establish voice calls via the PSTN or the Internet.


With reference to FIG. 2, the text message transmission apparatus 100 includes but not limited to a mobile network communication module 110, a subscriber line interface circuit (SLIC) module 130, a power supply 140, a memory 150 and a processor 160.


With reference to FIG. 3, the mobile network communication module 110 includes but not limited to at least one antenna 11, a radio front-end circuit 113, a radio transceiver 115 and a communication protocol processor 117. The radio front-end circuit 113 is configured to convert a radio frequency output by the antenna 111 into an analog baseband signal. The radio transceiver 115 executes processing operations such as low noise amplifying, impedance matching, frequency mixing, frequency up-conversion or down-conversion, filtering, amplification, analog and digital signal conversion and the like. The communication protocol processor 117 is configured to execute protocol layer function entities of a terminal device, such as a radio resource control (RRC), a mobile management (MM) in second-generation, third-generation, or fourth-generation mobile communication standards, and the communication protocol processor 117 is connected to the processor 160 to transmit data to each other.


With reference to FIG. 4, the SLIC module 130 is coupled to the processor 160, and the SLIC module 130 includes a function driver 131 and a protection circuit 133. The function driver 131 is configured to execute related functions in the SLIC, including a codec, a ringing generation, a local and incoming sound sources separation, a detection on an on-hook state and an off-hook state of the traditional telephone set 13, an adjustment on the ringing and wiring-related functions. The protection circuit 133 includes electronic elements that protect the SLIC from current and voltage, such as a fuse, a gas discharge tube, and a thyristor. The SLIC module 130 further provides a telephone line (e.g., TIP, RING) interface for connecting with the traditional telephone set 13 so as to accordingly generate and turn on the ringing on the traditional telephone set 13 and play back a speech content.


The power supply 140 includes a mains power port or power supplying devices including a battery, a power converter, a transformer, which are used to provide power required by the text message transmission apparatus 100.


The memory 150 may be a fixed or a removable device in any possible forms, including a random access memory (RAM), a read-only memory (ROM), a flash memory or other similar devices or a combination of the above-mentioned devices. The memory 150 is configured to store a text message, a text content, a speech content, a programming code, a device configuration, a codebook, buffer or permanent data, a codebook and the like.


The processor 160 is configured to process a digital signal and execute procedures according to the exemplary embodiments of the invention, and is able to access or load in data or software modules recorded in the memory 150. Functions of the processor 160 may be implemented by using a programmable unit, such as a central processing unit (CPU), a microprocessor, a micro controller, a digital signal processing (DSP) chip, a field programmable gate array (FPGA). Functions of the processor 160 may also be implemented by an independent electronic device or integrated circuit (IC), and operations the processor 160 may be implemented in form of hardware. In this embodiment, the processor 160 runs applications 170 (e.g., software programs or modules, including a connection manager (CM) program 171, a message decoder 172, a message receiver 173, a speech player 174, a text/speech converter 175, an operating system (OS) kernel 180, a SLIC driver 181, a modem driver 182, and an audio processing driver 184 and an audio firmware 185 in an audio processor 183), and their operative functions will be described in more details in the following embodiments.


For better understanding of operating procedures in the embodiments of the invention, various embodiments are provided below and served to further describe the operating procedures of the text message transmission apparatus 100 in the embodiments of the invention.



FIG. 5 is a flowchart illustrating a message transmission method according to an embodiment of the invention. With reference to FIG. 5, the method of this embodiment is adapted to the text message transmission apparatus 100 supporting the cellular network 15 and the PSTN/VoIP 17 in the communication system 1 in FIG. 1. In the following paragraphs, the method according to the embodiments of the invention is described below with reference various elements and modules in the text message transmission apparatus 100. Various steps of the method can be adjusted according to an actual implementation requirement, which is not limited by the present disclosure.


After the power supply 140 is activated, the processor 160 loads in related hardware drivers in the applications 170 (e.g., the SLIC driver 181 for driving the SLIC module 130, the modem driver 182 for driving the mobile network communication module 110) and other computing program codes. Next, the processor 160 runs the CM program 171 to drive the mobile network communication module 110 to search for available cellular network resources in the cellular network 15 and monitor an access state to the cellular network 15 for the mobile network communication module 110. After camping on the cellular network, the CM program 171 may drive the message receiver 173 to receive the text message from the cellular network 15.


When CM program 171 receives the text message (e.g., messages like SMS or CBS) from the cellular network 15 through the mobile network communication module 110 (step S510), the CM program 171 transmits the text message to the message decoder 172 so the message decoder 172 can decode the text message to obtain the text content (step S520). The message decoder 172 decodes the text message into the text content (including information like content in a payload, or even an encoding method, a sender number, etc.) based on, for example, Third Generation Partnership (3GPP) TS 23.038 standard. Then, the message decoder 172 returns a decoding result to the CM program 171. The CM program 171 transmits the decoded text content to the text/speech converter 175.


The text/speech converter 175 then drives the audio processor 183 to execute a speech generating procedure and transforms the text content into the speech content according to a text to speech (TTS) technology (step S530). Next, the CM program 171 drives the SLIC module 130. When receiving the speech content from the CM program 171, the SLIC module 130 generates a ringing on the traditional telephone set 13.


It should be noted that, the text message may have varying degrees of severity or importance. With reference to FIG. 6, in an embodiment, the CM program 171 may determine a severity of the text message from the decoded text content (step S610) so that the SLIC module 140 may then set up a frequency or a pattern of the ringing according to the determined severity. For example, an emergency broadcast message has the highest severity, and thus the SLIC module 130 increases the frequency of the ringing so as to generate a rapid ringing sound (step S620). For general broadcast messages, the SLIC module 130 generates a normal ringing sound (step S630). For general text messages, the SLIC module 130 changes the pattern of the ringing so as to generate an intermittent ringing sound (step S640). It should be noted that, the classification of the severity of the text message and the change of frequency or the pattern of the corresponding ringing may also be varied, and the user can make changes based on demands other than being limited by the embodiment of FIG. 6.


Next, when the SLIC module 130 detects that the traditional telephone set 13 is in the off-hook state (e.g., when a handset is picked up or an answer button is pressed), the SLIC module 140 plays back the speech content (step S650) so as to play back the speech content on the traditional telephone set 13 (step S540). When the SLIC module 130 detects that the traditional telephone set 13 is in the on-hook state (e.g., when the handset is put back to the telephone or a hang up button is pressed), the SLIC module 130 ends the operation of playing back the speech content. Meanwhile, the CM program 171 may keep the text/speech content in the memory 150 or directly delete the text/speech content, depending on settings or demands.


In summary, according to the embodiments of the invention, the text message from the cellular network may be transformed into the speech content for transmission to the PSTN so that the traditional telephone set is able to receive the speech content and the user may listen to the text content of the text message in voice. As a result, simply by connecting the traditional telephone set to the text message transmission apparatus, the user is able to receive (emergency, disaster, etc) warning messages.


It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention cover modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents.

Claims
  • 1. A text message transmission apparatus, comprising: a mobile network communication transceiver, connecting to a cellular network and directly receiving a text message from the cellular network;a subscriber line interface circuit (SLIC), directly connecting to a traditional telephone set in a public switched telephone network (PSTN); anda processor, coupled to the mobile network communication transceiver and the SLIC, the processor decoding the text message to obtain a text content in the text message, determining a severity of the text message according to the text content, transforming the text content into a speech content, and playing back the speech content directly to the traditional telephone set through the SLIC, wherein the SLIC sets up a frequency or a pattern of a ringing directly to the traditional telephone set according to the severity, and the severity corresponding to an emergency broadcast message has a different frequency or a different pattern of the ringing in comparing with a general text message.
  • 2. The text message transmission apparatus of claim 1, wherein the SLIC generates the ringing in response to the speech content received from the processor.
  • 3. The text message transmission apparatus of claim 1, wherein the SLIC plays back the speech content in response to an off-hook state detected at the traditional telephone set.
  • 4. The text message transmission apparatus of claim 1, wherein the SLIC ends the operation of playing back the speech content in response to an on-hook state detected at the traditional telephone set.
  • 5. A message transmission method, adapted to a device supporting a cellular network and a public switched telephone network, the message transmission method comprising: connecting to the cellular network and directly receiving a text message from the cellular network;decoding the text message to obtain a text content in the text message;determining a severity of the text message according to the text content;transforming the text content into a speech content;setting up a frequency or a pattern of a ringing directly to a traditional telephone set according to the severity through a subscriber line interface circuit (SLIC), wherein the severity corresponding to an emergency broadcast message has a different frequency or a different pattern of the ringing in comparing with a general text message; andplaying back the speech content directly to the traditional telephone set in the public switched telephone network through the SLIC.
  • 6. The message transmission method of claim 5, wherein the step of playing back the speech content through the public switched telephone network comprises: generating the ringing through the SLIC in response to the speech content being generated.
  • 7. The message transmission method of claim 5, wherein the step of playing back the speech content through the public switched telephone network comprises: playing back the speech content in response to an off-hook state being detected.
  • 8. The message transmission method of claim 5, wherein after playing back the speech content through the public switched telephone network, the message transmission method further comprises: ending the operation of playing back the speech content in response to an on-hook state being detected.
Priority Claims (1)
Number Date Country Kind
107110367 A Mar 2018 TW national
US Referenced Citations (16)
Number Name Date Kind
5604791 Lee Feb 1997 A
6035273 Spies Mar 2000 A
20020160757 Shavit Oct 2002 A1
20030095643 Fortman May 2003 A1
20030120489 Krasnansky Jun 2003 A1
20030137973 Kim Jul 2003 A1
20030194077 Ramey Oct 2003 A1
20040132500 Rogalski Jul 2004 A1
20050025296 Benco Feb 2005 A1
20060033809 Farley Feb 2006 A1
20070049255 Bhakta Mar 2007 A1
20080263348 Zaltsman Oct 2008 A1
20090131090 Jo May 2009 A1
20120088481 Postma Apr 2012 A1
20150365809 Lemberg Dec 2015 A1
20170164175 Bozik Jun 2017 A1
Related Publications (1)
Number Date Country
20190297187 A1 Sep 2019 US