CN101296415A - System and method for fault alarm of website - Google Patents

System and method for fault alarm of website Download PDF

Info

Publication number
CN101296415A
CN101296415A CNA2007101024662A CN200710102466A CN101296415A CN 101296415 A CN101296415 A CN 101296415A CN A2007101024662 A CNA2007101024662 A CN A2007101024662A CN 200710102466 A CN200710102466 A CN 200710102466A CN 101296415 A CN101296415 A CN 101296415A
Authority
CN
China
Prior art keywords
warning message
message
converted
short message
website
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
CNA2007101024662A
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CNA2007101024662A priority Critical patent/CN101296415A/en
Publication of CN101296415A publication Critical patent/CN101296415A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a system used for alarm of website faults and a method thereof. The method of the invention includes the following steps: (1) the detection of faults at a monitoring point in a website is carried out and a warning message is generated; (2) the warning message is converted into short message format; and (3) a modem is utilized to send the warning message converted into the short message format to a mobile terminal by a wireless communication network. By adopting the warning system and method of the invention, multiplex intermediate nodes in the transmission process of the warning message are greatly reduced, thus remarkably reducing the risk of warning message missing or transmission failure due to the self fault or instability of the intermediate nodes, and guaranteeing the real-time, highly effective and reliable monitoring of the website.

Description

A kind of system and method that is used for fault alarm of website
Technical field
The present invention relates to the network communications technology, relate in particular to the real-time processing technique of network monitoring.
Background technology
In the prior art, the warning message of website relevant device, application and service is carried out instant processing, main have three kinds of modes: by the email delivery warning message, by outside third party service provider (be the direct supplier of mobile Internet service content application service, its can be according to user's requirement exploitation and provide be fit to the service that the cellphone subscriber uses) short message service gateway that provides transmits warning message, transmits warning message by immediate information software.
When adopting the email delivery warning message, the relevant warning message in the Email passes out to portable terminal from supervising device and receives, middle meeting experience multiplex node, if certain intermediate node itself breaks down, this Email can't transmit smoothly.In addition, portable terminal reception Email life period postpones, and also can not continual reception all day also handle Email, can not handle immediately thereby cause influencing the normal serious problems of visiting in website, makes a very bad impression.
When the short message service gateway that adopts outside third party service provider to provide is transmitted warning message, this warning message is delivered to third party's short messaging gateway from supervising device via public network, the node of middle experience is also more than E-mail mode, brings more uncertain thus.And the fault of the short messaging gateway of all challenges and third party service provider can cause the warning message often can't reliable delivery on the fault of intermediate node self, the public network, and portable terminal can not be known and handle problems timely and effectively.
When adopting immediate information software to transmit warning message, though the instantaneity of this mode is higher than E-mail mode, reliability is higher than the short messaging gateway mode of outside third party service provider, and the warning message that is caused that self breaks down can't transmit but it can not solve monitored intermediate node.This mode be because of can not realizing unattended operation in addition, thus warning message fully real-time and effective pass to portable terminal.
Summary of the invention
Above-mentioned defective at existing when the transmission warning message is monitored the website with realization in the prior art the invention provides a kind of warning system and method for carrying out the website monitoring based on the mobile terminal short message service.
According to one aspect of the present invention, a kind of system that is used for fault alarm of website is provided, comprise:
Supervising device is used for detecting the fault of described website and generates warning message;
The message format translation interface is used for described warning message is converted to short message format; And
Modulator-demodulator is used for sending the described warning message that is converted to short message format through cordless communication network to portable terminal.
Preferably, in said system, the form of the warning message that described supervising device generates is followed the email protocol of http protocol or formatted text.
Preferably, in said system, described cordless communication network is gsm communication network or radio paging network, and described portable terminal is at least a in mobile phone, personal digital assistant or the beep-pager.
Preferably, in said system, described warning message has preferential transmission rank and is sent according to described other height order of preferential transmission level by described modulator-demodulator.
According to another aspect of the present invention, a kind of method that is used for fault alarm of website is provided, comprise:
(1) detects the fault in the website and generate warning message;
(2) described warning message is converted to short message format; And
(3) send the described warning message that is converted to short message format through cordless communication network to portable terminal.
Preferably, in said method, in described step (1), the form of described warning message is followed the email protocol of http protocol or formatted text.
Preferably, in said method, in described step (2), according to following manner described warning message is converted to short message format: whether detection alarm message meets the interface standard standard, if meet, then be converted to short message format and be stored in the transmit queue, otherwise, warning message then abandoned.
Preferably, in said method, in described step (3), send the described warning message that is converted to short message format according to following manner: if the described warning message that is converted to short message format sends success first, then it is labeled as the successful state that sends, otherwise, then it is labeled as the state that sends failure and sends once more in the follow-up moment.
Preferably, in said method, in described step (3), when having a plurality of described warning message that is converted to short message format, utilize a plurality of modulator-demodulators to send simultaneously to cordless communication network.
Preferably, in said method, described cordless communication network is gsm communication network or radio paging network, and described portable terminal is at least a in mobile phone, personal digital assistant or the beep-pager.
Adopt warning system and method for carrying out the website monitoring based on the mobile terminal short message service provided by the invention, can greatly reduce the multiple intermediate node of warning message in transmittance process, significantly reduce to lose maybe to send successful risk because of intermediate node faults itself or the unstable warning message that causes, guarantee to the website carry out in real time, efficient and monitor reliably.
Description of drawings
The reader will become apparent various aspects of the present invention after the reference accompanying drawing has been read the specific embodiment of the present invention.Wherein,
Fig. 1 shows the warning system of carrying out the website monitoring based on mobile terminal short message;
Fig. 2 shows the data list structure of warning message;
Fig. 3 shows the description list based on relevant information in the warning message of HTTP2SMS interface;
Fig. 4 shows the description list based on relevant information in the warning message of MAIL2SMS interface; And
Fig. 5 shows the flow chart that carries out the warning message transmission of website monitoring based on mobile terminal short message.
Embodiment
With reference to the accompanying drawings, the specific embodiment of the present invention is described in further detail.
Fig. 1 shows the warning system of carrying out the website monitoring based on mobile terminal short message.As shown in Figure 1, in the frame of broken lines hardware component part of this warning system, that is, supervising device 100, change the modulator-demodulator 104 of 102 interfaces coupling with the message format translation interface 102 of supervising device 100 coupling with message format.With reference to Fig. 1, when supervising device 100 detects the fault message of website, this fault message is handled, and produced the warning message form of following http protocol or having the email protocol of formatted text; Message format translation interface 102 utilizes the form of the warning message format conversion one-tenth of HTTP2SMS interface or MAIL2SMS interface self-monitoring device 100 in future based on mobile terminal short message; Then, modulator-demodulator 104 sends the warning message that has been converted to short message format by message format translation interface 102 by cordless communication network to portable terminal.
Wherein, when the warning message of message format translation interface self-monitoring device 100 in 102 future is converted to short message format, need detection alarm message whether to meet the interface standard standard, if compliant, the short message format after then changing and will changing is stored in the transmit queue; If the standard of not meeting then abandons this warning message and will not change.
Wherein, when utilizing modulator-demodulator 104 to send SMS message the warning message of form, adopt fault-tolerant design, that is to say, send success first, then it is labeled as the successful state that sends if be converted to the warning message of short message format; Otherwise, it is labeled as the state that sends failure and sends this warning message once more.
Fig. 2 shows the data list structure of warning message.As shown in Figure 2, this data list structure is divided into 8 fields, respectively is id, date, receiver, message, remoteaddr, clientagent, status and nice.
Wherein, id represents the sequence number of this warning message in message queue; Date represents that this warning message enters the time of message queue; Receiver represents to receive the sign (for example for mobile phone, this sign can be phone number or the default group name that receives short message) of the portable terminal of short message; Message represents the content text of warning message; Remoteaddr points out to submit to the IP address of this warning message; Clientagent points out to submit to the title of this warning message place client; Status represents the state of message entry; And nice represents the priority (optional, as to default to 0) of this warning message.
More specifically, status is the character type parameter, takies a byte (byte), and four different values are arranged.When being " R ", expression message is in wait state; When being " Y ", expression message sends successfully; When being " X ", expression sends message failure for the first time; And " N " expression sends message failure for the second time.
Fig. 3 shows the description list based on the warning message relevant information of HTTP2SMS interface.At first it is pointed out that http protocol (HyperText Transfer Protocol: be to be used for to surpass the host-host protocol that this paper is transferred to local browser HTML (Hypertext Markup Language)) from www server.And the HTTP2SMS interface is a kind of cross-platform gateway software, realizes that by this host-host protocol internet connects with the seamless of short-message system, and the form that warning message is converted into short message sends to the portable terminal of appointment through the GSM modulator-demodulator.Here, GSM Modem is also referred to as the GSM mobile handset module, and it is a kind of modulation equipment of realizing gsm communication.This module adopts wireless communication technique, and short message, speech communication and data communication three big functions can be provided.When GSM Modem uses as short message service, also be referred to as the GSM short message module.As shown in Figure 3, for example, the HTTP request form of supposing to be committed to the warning message of HTTP2SMS interface is:
http://sms.monitor.alibaba.com:2688/sms/?bid=ALISA&receiver=13857188888&message=Hello%20World
By resolving the format warning message text in the HTTP request, can extract the content of respective field, wherein, the port that sends warning message is 2688; The sender ID that submits this warning message to is one of default sender of permission; The phone number of portable terminal that receives the short message format of this warning message is 13857188888; The content of short message text is HelloWorld.
Fig. 4 shows the description list based on the warning message relevant information of MAIL2SMS interface.It is pointed out that at first MAIL2SMS is a kind of cross-platform mail short messaging gateway software, it carries out seamless connection with e-mail system and short-message system, and the information transmission of making can extend to whenever and wherever possible from computer desktop.MAIL2SMS is by submitting the Email of formatted text to warning message, and utilizes the MAIL2SMS interface to resolve the content of respective field, and via the GSM modulator-demodulator warning message of short message format sent to portable terminal.As shown in Figure 4, for example, be committed to the MAIL request form of the warning message of MAIL2SMS interface:
#mail?sms@sms.monitor.alibaba.com
Subject:[ALERT]Test?Problem!
RECEIVER=13857188888
...
...
Cc:<Enter>
#
More specifically, the address of transmission warning message is:
sms@sms.monitor.alibaba.com;
The phone number of portable terminal that receives the short message format of this warning message is 13857188888;
Fig. 5 shows the flow chart that carries out the warning message transmission of website monitoring based on mobile terminal short message.With reference to Fig. 5, the warning message that website supervising device (for example operation troubles detects the server or the embedded system of software) generates sends to when taking corresponding measure to handle the portable terminal of warning problem with the form of mobile terminal short message, can adopt dual mode to realize with following step.
As shown in Figure 5, when adopting the HTTP2SMS interface, it may further comprise the steps:
(1) step 500.When servers/devices/application program in the monitoring state broke down, supervising device detected this fault;
(2) step 502.Supervising device is converted into warning message with detected fault message;
(3) step 504.When the message format translation interface is the HTTP2SMS interface, send strategy according to predefined warning message, the warning message of self-monitoring device is converted into the request form based on http protocol in the future;
(4) step 506.The request form based on http protocol that generates is committed to the HTTP2SMS interface;
(5) step 508.The HTTP2SMS interface is resolved this HTTP request, and contained format warning message text in the HTTP request is handled, and extracts the content of the respective field of relevant information;
(6) step 516.Judge whether this warning message meets the interface standard standard,, then enter step 518 if the warning message request does not meet the interface standard standard; If the warning message request meets the interface standard standard, then enter step 520;
(7) step 518.When the warning message request does not meet the interface standard standard, return error code and abandon warning message;
(8) step 520.When the warning message request meets the interface standard standard, this warning message is converted to short message format and is stored in the transmit queue;
(9) step 522.The warning message of storing with short message format in the current transmit queue is read in the background process circulation, and selects a warning message of high priority or high latency to be ready for sending;
(10) step 524.Utilize modulator-demodulator to send the above-mentioned warning message of choosing; And
(11) step 526.Portable terminal receives the warning message that sends with short message format, and takes corresponding technical measures to handle.
When adopting the MAIL2SMS interface, it comprises step:
(1) step 500.When servers/devices/application program in the monitoring state broke down, supervising device detected this fault;
(2) step 502.Supervising device is converted into warning message with detected fault message;
(3) step 510.When the message format translation interface is the MAIL2SMS interface, send strategy according to predefined warning message, the warning message of self-monitoring device is converted into the request form based on email protocol in the future;
(4) step 512.The request form based on the email protocol of formatted text that generates is committed to the MAIL2SMS interface;
(5) step 514.The MAIL2SMS interface is resolved format warning message contained in the formatted text based on email protocol, and extracts the content of respective field;
(6) step 516.Judge whether this warning message meets the interface standard standard,, then enter step 518 if the warning message request does not meet the interface standard standard; If the warning message request meets the interface standard standard, then enter step 520;
(7) step 518.When the warning message request does not meet the interface standard standard, return error code and abandon warning message;
(8) step 520.When the warning message request meets the interface standard standard, this warning message is converted to short message format and is stored in the transmit queue;
(9) step 522.The warning message of storing with short message format in the current transmit queue is read in the background process circulation, and selects a warning message of high priority or high latency to be ready for sending;
(10) step 524.Utilize modulator-demodulator to send the above-mentioned warning message of choosing; And
(11) step 526.Portable terminal receives the warning message that sends with short message format, and takes corresponding technical measures to handle.
Wherein, when adopting HTTP2SMS interface or MAIL2SMS interface, this supervising device all adopts fault-tolerant design.More specifically, when calling local GSM Modem and send SMS message warning message, if sends successfully, the field status value that then writes down this message status correspondence is " Y "; If send failure the first time, the field status value that then writes down this message status correspondence is that " X " and trial send for the second time, and as if transmission for the second time still failure, the field status value that then writes down this message status correspondence is " N ".
Wherein, this supervising device has adopted Redundancy Design, and can preset the group that receives the short message warning message, and short message group broadcast function is provided.Like this, when many short message warning systems put into operation, any short message warning system lost efficacy and then shielded automatically immediately, did not influence other warning system operate as normal.
It is worthy of note, in the superincumbent description, the cordless communication network of transmission short message is the GSM network, but it is evident that, principle of the present invention can be generalized to other cordless communication network that can transmit short message, for example cdma mobile communication network, 3G mobile communication network, paging network etc.In addition, the portable terminal that receives short message also is not limited to mobile phone, can also be equipment such as personal digital assistant and beep-pager.
Though represented and aspects more of the present invention be discussed, but those skilled in the art are to be appreciated that and can change that therefore scope of the present invention will be limited by claim and the content that is equal to aspect above-mentioned under the condition that does not deviate from the principle of the invention and spirit.

Claims (10)

1, a kind of system that is used for fault alarm of website is characterized in that, comprises:
Supervising device is used for detecting the fault of described website and generates warning message;
The message format translation interface is used for described warning message is converted to short message format; And
Modulator-demodulator is used for sending the described warning message that is converted to short message format through cordless communication network to portable terminal.
2, the system as claimed in claim 1 is characterized in that, the form of the warning message that described supervising device generates is followed the email protocol of http protocol or formatted text.
3, the system as claimed in claim 1 is characterized in that, described cordless communication network is gsm communication network or radio paging network, and described portable terminal is at least a in mobile phone, personal digital assistant or the beep-pager.
4, the system as claimed in claim 1 is characterized in that, described warning message has preferential transmission rank and sent according to described other height order of preferential transmission level by described modulator-demodulator.
5, a kind of method that is used for fault alarm of website is characterized in that, comprises:
(1) detects the fault in the described website and generate warning message;
(2) described warning message is converted to short message format; And
(3) send the described warning message that is converted to short message format through cordless communication network to portable terminal.
6, method as claimed in claim 5 is characterized in that, in described step (1), the form of described warning message is followed the email protocol of http protocol or formatted text.
7, method as claimed in claim 5, it is characterized in that, in described step (2), according to following manner described warning message is converted to short message format: whether detection alarm message meets the interface standard standard, if meet, then be converted to short message format and be stored in the transmit queue, otherwise, warning message then abandoned.
8, method as claimed in claim 5, it is characterized in that, in described step (3), send the described warning message that is converted to short message format according to following manner: if the described warning message that is converted to short message format sends success first, then it is labeled as the successful state that sends, otherwise, then it is labeled as the state that sends failure and sends once more in the follow-up moment.
9, method as claimed in claim 5 is characterized in that, in step (3), when having a plurality of described warning message that is converted to short message format, utilizes a plurality of modulator-demodulators to send simultaneously to cordless communication network.
10, method as claimed in claim 5 is characterized in that, described cordless communication network is gsm communication network or radio paging network, and described portable terminal is at least a in mobile phone, personal digital assistant or the beep-pager.
CNA2007101024662A 2007-04-27 2007-04-27 System and method for fault alarm of website Pending CN101296415A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101024662A CN101296415A (en) 2007-04-27 2007-04-27 System and method for fault alarm of website

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101024662A CN101296415A (en) 2007-04-27 2007-04-27 System and method for fault alarm of website

Publications (1)

Publication Number Publication Date
CN101296415A true CN101296415A (en) 2008-10-29

Family

ID=40066361

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101024662A Pending CN101296415A (en) 2007-04-27 2007-04-27 System and method for fault alarm of website

Country Status (1)

Country Link
CN (1) CN101296415A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102650857A (en) * 2011-12-22 2012-08-29 北京安天电子设备有限公司 Equipment abnormal alarm and control system and method based on short messages
CN106357417A (en) * 2015-07-13 2017-01-25 融合通信技术(天津)有限公司 Network equipment warning system on basis of short message platform
CN112583793A (en) * 2020-11-16 2021-03-30 浙江乾冠信息安全研究院有限公司 Mobile terminal safety early warning method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102650857A (en) * 2011-12-22 2012-08-29 北京安天电子设备有限公司 Equipment abnormal alarm and control system and method based on short messages
CN106357417A (en) * 2015-07-13 2017-01-25 融合通信技术(天津)有限公司 Network equipment warning system on basis of short message platform
CN112583793A (en) * 2020-11-16 2021-03-30 浙江乾冠信息安全研究院有限公司 Mobile terminal safety early warning method and system

Similar Documents

Publication Publication Date Title
KR101291324B1 (en) Extended messaging platform
CN100502573C (en) Reliable short messaging service
KR100466761B1 (en) Mail system, server and mail transmitting/receiving device
ZA200500376B (en) Methods and systems for mobile device messaging
CN101075987B (en) Apparatus and method for transmitting message
CN101573928A (en) Method for the delivery of messages in a communication system
CN100583897C (en) Error messaging method in HTTP based communication systems
CN103856391A (en) Information communication method and system, and server
US8909129B2 (en) Method for transmitting data, particularly having multimedia contents, in a mobile communication network
WO2007112686A1 (en) Instant communication system and method based on wap
CN101494545A (en) Method, system and mobile terminal for prompting business accounting
CA2605849A1 (en) Wireless data device performance monitor
CN103209392A (en) Cross-process and multi-application massage pushing method and device
JP4889813B1 (en) Data brokerage system
CN101902457A (en) System for configuring external communication protocol and method thereof
US20060089164A1 (en) Method and system for transmitting MMS notification message
CN101296415A (en) System and method for fault alarm of website
US20050234914A1 (en) Mail arrival notifying system and mail delivery apparatus
CN101860821B (en) Method and system for acquiring instant messages
CN101330664A (en) Method, system and apparatus for realizing multimedia business
CN105024908A (en) IM information pushing method and system, server and platform
CN101754131B (en) Message management method for mobile communication system and related device thereof
JP4562939B2 (en) New mail notification processing server
CN101753358A (en) Alarming information notification method and system
CN101106740A (en) A processing method for self-service message

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1120983

Country of ref document: HK

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20081029

REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 1120983

Country of ref document: HK