1. Field of the Invention
The present invention relates to a method for processing response messages, wherein a transmitter is utilized to deliver a message to a receiver. When the receiver receives the message, a second communication gateway connected with it will send a response message back to a first communication gateway that is connected with the transmitter. This method allows the transmitter to decide if the receiver has really received the message or not, thus reducing the loss of property and life to enterprises and their employees possibly due to loss of messages.
2. Description of the Prior Art
With continued progress in communication technologies, communication equipments have evolved from wired telephones and pagers into mobile phones of the 1st, 2nd and 3rd generations, and have gradually shifted from voice transmission through analog signals that was only available at the beginning to include information transmission via digital signals. As a result, users will gain wider access to diversified communication modes. Again, due to progress in mobile communication technology and gradual popularity of base stations installed, industrial control equipments begin to rely on mobile communication networks to perform remote control-related operations. Especially in remote areas and even areas that are difficult to wire, enterprises can utilize mobile communication networks to transmit information or data to and from industrial control equipments at remote sites. Such means of remote control will enable enterprises to understand the status of industrial control equipments in remote locations and take control over these devices effectively and remotely.
The aforesaid methods of digital signal transmission are adopted in circuit switched data (CSD), short message service (SMS) and general packet radio service (GPRS), etc. For CSD service, it will occupy the resources for voice channels while digital signals are transmitted, which will result in such troubles where users cannot make phone call. On the other hand, while users make phone call, they also cannot transmit digital signals via Internet at the same time. In addition, this technology has its limitations because of its unavailability for use by the general public in some areas. Whether GPRS or CSD is used, the costs are much higher than SMS. Therefore, SMS has become the digital transmission technology more commonly used at present.
However, such SMS technology does not provide any safety mechanism. In another word, a transmitter does not know whether the short messages it sends are received by a given receiver successfully. Thus, it is possible to suffer heavy losses when the transmitter sends a warning message but the receiver does not receive such message successfully. In rainfall or water level monitoring, for example, when the rainfall or water level is found to be abnormal, warning messages can be transmitted from a remote location to master control equipment inside an enterprise for performing necessary operations. If the master control equipment does not receive the message(s) due to busy lines or other reasons at this moment, and the transmitter does not know that the receiver has not got the message(s), the enterprise will not be able to react immediately. Any delay in reaction may result in flooding of rivers and further lead to severe casualties. On the other hand, for monitoring of debris flows in mountainous regions, irreparable damages as indicated above may be caused possibly because the transmitter does not know whether the receiver gets important messages successfully.
Thus, how to solve the common problems and disadvantages as mentioned above is just what the firms involved in this industry need urgently to research and improve.
In view of the problems and disadvantages mentioned above, the inventor, after collecting related information and inviting assessments and reviews from various parties, relying on many years of experience in this industry and through continuous trials and corrections, has finally invented the method for processing response messages.
An objective of the present invention is to reduce the possibilities that a transmitter cannot immediately learn about and handle the cases in which a receiver does not receive messages from the transmitter, wherein the transmitter is connected with a first communication gateway, while the receiver is linked with a second communication gateway. When the transmitter tries to rely on the first communication gateway for transmitting a message to the receiver via a mobile communication network and the second communication gateway in sequence, the first communication gateway will, after a certain period of time, decide if it has received a response message returned by the second communication gateway through the mobile communication network. The first communication gateway will automatically transmit the message again if it decides that no message is received within a certain period of time, thus reducing potential financial losses to enterprises and safety risks on employees due to unsuccessful transmission of messages to the receiver.
Another objective of the present invention is to ensure that the first communication gateway will send warning messages to the transmitter when it decides after a certain period of time that the message is not received. Such way of active and timely notification to administrators will enable them to learn and handle unsuccessful transmission of messages immediately without any delay in communication of important information, thus further enhancing reliability in transmission of messages.
The third objective of the present invention is to ensure that the second communication gateway, when receiving a message, can decide if the Auth ID preceding the message is the same as the preset value in the memory. If not, continued transmission of the message to the receiver will be prohibited. This can prevent bandwidth hogging due to hackers' intrusion or prevent other unnecessary messages from going into the receiver.
The fourth objective of the present invention is to make sure that the second communication gateway, when receiving a message, will decide if the preceding message ID is the same as the value stored in the memory. If so, it will judge that the message is a packet of repeated transmission. In this context, it will prevent the message from being further transmitted to the receiver. This will effectively reduce the possibilities where the transmitter continues to deliver the same messages repeatedly as a result of its failure, which may make the receiver get these messages continuously and further lead to system damages and bandwidth payloads.
In order to achieve the objectives and functions stated above as well as the technology and framework adopted in the present invention, some examples of the preferred embodiments of are illustrated in detail with reference to the accompanying drawings to fully describe the features and functions of the present invention.
Refer to
The transmitter 1 may be represented by a host computer 5 or a remote control equipment 6; and the host computer 5 may be a notebook computer, industrial computer, desktop computer or a server, etc, and the remote control equipment 6 may be a water level or debris flow monitoring device, etc.
The first communication gateway 2 is connected with the transmitter 1 through a serial transmission port 21 that is connected to a central processing unit (CPU) 22, and the CPU 22 is further linked with a memory 23 and a mobile communication unit 24.
The second communication gateway 3 receives short messages from the mobile communication unit 24 of the first communication gateway 2 via a mobile communication unit 31 which is connected with a CPU 32, and the CPU 32 is further linked with a memory 33 and a serial transmission port 34.
The receiver 4 is connected with the serial transmission port 34 of the second communication gateway 3. If the host computer 5 serves as the receiver 4 is, the remote control equipment 6 will be replaced by the transmitter 1. On the other hand, if the remote control equipment 6 serves as the receiver 4, the host computer 5 will be represented by the transmitter 1.
In the preceding paragraphs, the serial transmission ports 21 and 34 may be RS232, RS485 or transmission control protocol/internet protocol (TCP/IP) for network transmission, etc, while the mobile communication units 24 and 31 can receive the messages in a wide range of formats of mobile communication networks, including Global System for Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (W-CDMA), High Speed Download Packet Access (HSDPA) or Enhanced Data Rates for GSM Evolution (EDGE), etc.
Refer to
The example of the embodiments described above is given on the premise that the host computer 5 inside the enterprise serves as the transmitter 1, while the external remote control equipment 6 functions as the receiver 4. However, the present invention should not be construed as limited to the embodiments, where the host computer 5 or the remote control equipment 6 serves as the transmitter 1 or the receiver 4. Besides, the preset time in the step (107), which is stored in the memory 23, can be set at the discretion of designers. Therefore, the settings for the transmitter 1 and the receiver 4 or the preset value of time as mentioned above are intended to illustrate one example of the preferred embodiments of the present invention, and should not be construed as a limitation on the patent claims of the present invention.
The response message, delivered by the remote control equipment 6 through the second communication gateway 3, mobile communication network and the mobile communication unit 24 of the first communication gateway 2 in a right sequence, may be a short message or phone message. If the CPU 22 of the first communication gateway 2 receives a phone message transmitted back by the remote control equipment 6 after a given period of time, it will transmit a message to the mobile communication unit 24 for cutting off the message before another message transmission process is initiated.
If the CPU 22 of the first communication gateway 2 does not receive any response message from the receiver 4 after the given time period, it will deliver a warning message to the transmitter 1 via E-mails, SNTP Trap or active messages to notify managers for unsuccessful transmission of the message to the receiver 4.
Further refer to
Refer to
The present invention is mainly characterized by the connections of the transmitter 1 with the first communication gateway 2 and the connections of the second communication gateway 3 with the receiver 4. When the transmitter 1 transmits a message to the receiver 4 via the first communication gateway 2, mobile communication gateway and the second communication gateway 3 sequentially, the second communication gateway 3 will deliver a response message to the first communication gateway 2 after the receiver 4 gets the message, so that the transmitter 1 can learn if the receiver 4 has received the message or not. However, for the descriptions about the host computer 5 or the remote control equipment 6 inside an enterprise as the transmitter 1 or the receiver 4, the process in which the receiver 4 determines if a message is valid or not, the way for the receiver 4 to deliver response messages and the preset time of a message transmitted from the transmitter 1 to the receiver 4, etc, all these are intended to illustrate an example of the preferred embodiments of the present invention, and can vary according to users' needs. Anyhow, this example of the embodiments of the present invention should not be construed as limitations on the patent claims of the present invention. Then, all other equivalent changes and modifications made without departing from the spirit of the art disclosed in the present invention should be included in the appended claims of the present invention.
In summary, the method for processing response messages of the present invention has the advantages as follows when applied:
(1) In the present invention, the first communication gateway 2 will determine that the receiver 4 does not receive the message if it does not get a response message from the second communication gateway 3 after a given period of time, and then will automatically transmit the message to the receiver 4 again. This can reduce the risk that message packets are lost due to network congestion or other reasons in the course of transmission. Besides, automatic re-transmission will facilitate immediate processing of the messages that are not received by the receiver 4 immediately, such as the information on the water level of a reservoir which is higher than the benchmark level or debris flows exceeding the baseline, thus reducing the damages to enterprises' assets and safety of their employees.
(2) In the present invention, the first communication gateway 2 will deliver a warning message to the transmitter 1 if it determines that no response message is received from the second communication gateway 3 after a certain period of time, thus notifying managers to perform necessary operations in a timely manner.
(3) In the present invention, the CPU 32 of the second communication gateway 3 connected with the receiver will decide if the Auth ID in the message header is the same as the value preset in the memory 33, so as to determine if transmission of the message should be continued to the receiver 4. By doing so, it can effectively avoid illegal intrusion of others or bandwidth occupation caused by surges of invalid messages in great amount into the receiver 4, thus reducing the possibilities in which messages cannot be transmitted successfully.
(4) In the present invention, the CPU 32 of the second communication gateway 3 connected with it will decide if the Msg ID in the message header is the same as the stored value, which is a valid message delivered previously. If so, the CPU 32 will decide that the message is transmitted repeatedly. In this way, it can prevent system damages and severe bandwidth payloads upon the receiver 4 as a result of continued transmissions from the transmitter 1 due to its breakdown.
In summary, the method for processing response messages of the present invention, once applied, will lead to improved functions in a remarkable way. Hence, it meets the conditions for patentability of an invention. While the application of patent is filed pursuant to applicable laws, your early approval of the present invention will be highly appreciated so as to guarantee benefits and rights of the inventor who has worked hard at this invention. For any question, please do not hesitate to inform the inventor by mail, and the inventor will try his best to cooperate with you.