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.
The invention relates to a text message transmission, and more particularly, to a text message transmission apparatus and a method thereof.
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.
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.
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.
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.
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
With reference to
With reference to
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.
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
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.
Number | Date | Country | Kind |
---|---|---|---|
107110367 A | Mar 2018 | TW | national |
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 |
Number | Date | Country | |
---|---|---|---|
20190297187 A1 | Sep 2019 | US |