CN1997019A - A message monitoring and receiving method based on FTP transfer - Google Patents
A message monitoring and receiving method based on FTP transfer Download PDFInfo
- Publication number
- CN1997019A CN1997019A CN 200610162275 CN200610162275A CN1997019A CN 1997019 A CN1997019 A CN 1997019A CN 200610162275 CN200610162275 CN 200610162275 CN 200610162275 A CN200610162275 A CN 200610162275A CN 1997019 A CN1997019 A CN 1997019A
- Authority
- CN
- China
- Prior art keywords
- file
- message
- ftp
- execution
- data
- 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.)
- Granted
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
This invention discloses one message monitor and receive method based on FTP transmission, which comprises the following steps: a, FTP customer end sends files to FTP servo; b, FTP servo analyzes and judged whether the said files composed of information and content acidify the set standard; c, FTP servo sends the preset standard files to the decoding module; d, coding and decoding module processes the FTP servo for analysis with file content; e, display memory module displays the file information and stores the database.
Description
Technical field
The present invention relates to the ftp file transmission technology, relate in particular to a kind of message monitoring method of reseptance based on the FTP transmission.
Background technology
Monitor in the framework at ETSI, defined the standard that TNE side X2 interface information reports to LIC by the FTP mode.The signaling process program that operates in TNE is responsible for handling X2 message, in the ASN.1 mode message code stream is encoded, and sends to the ftp client program then, generates message file by the ftp client program according to certain processing rule, uploads to the ftp server of LIC.
The message file that the LIC buffer memory receives is analyzed by the application program of oneself developing in needs.There are several problems in this traditional processing method: the first, and the real-time of information processing is poor, analyzing and processing as soon as possible often after coming on the information reporting; The second, the retrieval of information and statistics be difficulty very, and message file not of uniform size can not be found the existing file of certain call event fast only according to the temporal information in the filename, and be same, also inconveniently carries out statistical analysis at interested event items.
Summary of the invention
Technical problem to be solved by this invention provides a kind of message monitoring method of reseptance based on the FTP transmission.This method can solve the real-time of message demonstration and be convenient to retrieval, statistical problem.
In order to solve the problems of the technologies described above, the present invention is based on the message sink processing method of FTP transmission, comprise step:
(1) ftp client sends file to ftp server;
(2) ftp server carries out real-time analysis and judges whether to meet preassigned information, the file content that comprises in the described file;
(3) the ftp server file that will meet preassigned sends to coding/decoding module;
(4) coding/decoding module is decoded to the file of ftp server transmission and is analyzed the contained information of file;
When (5) showing the fructufy that memory module analyzes according to coding/decoding module display file information and with file storage to database.
Further, described ftp client be Telecommunication network equipment (TNE) side by monitoring office, ftp server is positioned at Lawful Interception Center (LIC) side; Described coding/decoding module and demonstration memory module also are positioned at the LIC side.
Further, described step (1) comprises that also ftp server reads when starting from described database described by the configuration information of monitoring office, and monitoring office is carried out authentication; Described step (3) comprises that also ftp server packet-by-packet is packaged into internal structure to the file that ftp client sends, and sends to coding/decoding module in the mode of windows message.
Further, the described configuration information that reads from database comprises by office direction of monitoring office number (OfficeID) and IP address.
Further, described step (2) more specifically is:
(201) receive file before, according to predetermined filename Naming conventions, filename is checked, specifically comprise information such as the length of filename and date, judge whether to be the proper messages file;
(202) receive data on the TCP link and judge the data volume that receives, if greater than 0 then execution in step (203), otherwise execution in step (204);
(203) data that receive are write in the local file.According to the check result of step 201, if file to be received is the X2 message file, execution in step 205, otherwise, execution in step 202.Write the data that receive in the local file and carry out step 205;
(204) reception of end this document;
(205) with data buffering to buffering area (Buf);
(206) according to preassigned the data among the Buf are carried out the analysis of message packet length, if buffer content is that complete bag and the length that analyzes bag are less than the data length among the current Buf, from buffering area, shift out this bag data, and execution in step (207), otherwise execution in step (202);
(207) packet is sent to coding/decoding module, execution in step (206) then according to inside definition.
Further again, described proper messages file is the X2 message file according to the filename standardize naming of ETSI (ETSI) definition.
Further, described X2 message file includes by the configuration information of monitoring office, and content displayed is any alternative information in the X2 message file in the described step (5); The content that stores in the described step (5) in the database also also can be for inquiry and retrieval for any alternative information in the X2 message file.
In addition, the preassigned in the described step (206) is the ASN.1 standard.
The present invention improves on the basis of original message receiving mode, specific implementation following function items:
Message file carries out the message analysis work in the file when receiving;
Source codec and interface display;
Message stores is to database.
Compared to prior art, utilize receiving handling method of the present invention can accomplish real-time demonstration by the X2 message that FTP uploads to quilt monitoring office, can in time understand the situation of intercepted user; Store in the database speed and the efficient that have improved the inquiry of message subsequent analysis and handled into by format.
Description of drawings
Fig. 1 is with using the embodiments of the invention overall construction drawing in the information system alert;
Fig. 2 is that ftp server receives the X2 file and carries out the schematic flow sheet of Message Processing in real time in the embodiment of the invention.
Embodiment
Fig. 1 is with using the embodiments of the invention overall construction drawing in the information system alert.Inserting Lawful Interception Center with two Telecommunication network equipments is example, has provided the general structure of the embodiment of the invention.Wherein finish following three major functions:
The first, the access of controlled terminal.According to the Server Management message file, the ftp server of LIC side has been set up two users, is respectively User1 and User2, corresponding local folders Folder1 and Folder2 for convenience.The ftp client of Office1 connects to ftp server with User1, and like this, the file that Office1 uploads just is kept at Folder1, and same, the file that Office2 uploads just is kept at Folder2.
The second, LIC side ftp server is handled.Ftp server also needs to finish following three functions except finishing basic functions such as connection, authentication, reception file:
A. configuration is read.The LIC side provides in database by the configuration information of monitoring office, mainly comprises the office direction number (OfficeID) and the IP address of controlled office.The ftp server program is obtained these configuration informations from database when starting.
B. file content analysis.The data that receive are analyzed, and concrete analytic process is seen the explanation to Fig. 2.
C. message is submitted to.Ftp server packet-by-packet is packaged into internal structure to the message that analyzes, sends to coding/decoding module in the mode of windows message and further handles.
The 3rd, source codec, processing.Coding/decoding module receives the message that ftp server sends, the work of further decoding, analyze message such as controlled number, type of message, time, in conjunction with and ftp server between information such as office direction number in the inside story, finish the interface display work of message, significant field in the message is deposited in database, so that the inquiry of message and retrieval.
As shown in Figure 2, be that ftp server receives the X2 file and carries out the step of Message Processing in real time in this enforcement:
Step 201: before receiving file,, filename is checked, specifically comprised information such as the length of filename and date, judge whether to be correct X2 file according to the filename standard of ETSI definition.
Step 202: receive the data on the TCP link, if the data volume that receives greater than 0, execution in step 203, otherwise, execution in step 204.
Step 203: the data that receive are write in the local file.According to the check result of step 201, if file to be received is the X2 message file, execution in step 205, otherwise, execution in step 202.Write the data that receive in the local file and carry out step 205.
Step 204: the receiving course that finishes this document.
Step 205: with data buffering to buffering area (Buf).
Step 206: according to the ASN.1 standard, the data among the Buf are carried out the analysis of message packet length, if buffer content be complete bag and the length that analyzes bag less than the data length among the current Buf also, from buffering area, shift out this bag data, execution in step 207, otherwise, execution in step 202.
Step 207: packet is sent to coding/decoding module according to the structure that inside defines, and execution in step 206 then.
The Chinese of english term that relates among the present invention or abbreviation correspondence is as follows:
Ftp file transfer protocol (File Transfer Protocol)
LIC Lawful Interception Center (Lawful Information Center)
TNE Telecommunication network equipment (Telecommunication Network Equipment)
ETSI ETSI (The European Telecommunications StandardsInstitute)
In sum, this method just can be carried out subpackage to message and be handled when FTP receives the X2 message file, send to coding/decoding module, carry out concrete protocal analysis by coding/decoding module, the real-time display message content at the interface, be convenient to operating personnel and in time corresponding event handled, the message stores after the analysis arrives database, convenient later inquiry and retrieval.
Claims (10)
1. the message monitoring method of reseptance based on the FTP transmission is characterized in that, comprises step:
(1) ftp client sends message file to ftp server;
(2) ftp server carries out real-time analysis and judges whether to meet preassigned information, the file content that comprises in the described file;
(3) the ftp server file that will meet preassigned sends to coding/decoding module;
(4) coding/decoding module is decoded to the file of ftp server transmission and is analyzed the contained information of file;
When (5) showing the fructufy that memory module analyzes according to coding/decoding module display file information and with storage to database.
2. the method for claim 1 is characterized in that:
Described ftp client be the Telecommunication network equipment side by monitoring office, ftp server is positioned at Lawful Interception Center LIC side; Described coding/decoding module and demonstration memory module also are positioned at the LIC side.
3. method as claimed in claim 2 is characterized in that:
Described step (1) comprises that also ftp server reads when starting from described database described by the configuration information of monitoring office, and quilt monitoring office is carried out authentication; Described step (3) comprises that also ftp server packet-by-packet is packaged into internal structure to the file that ftp client sends, and sends to coding/decoding module in the mode of windows message.
4. method as claimed in claim 3 is characterized in that: the described configuration information that reads from database comprises by the office direction of monitoring office number and IP address.
5. method as claimed in claim 4 is characterized in that, described step (2) more specifically is:
(201) receive file before, according to predetermined filename Naming conventions, filename is checked, specifically comprise information such as the length of filename and date, judge whether to be the proper messages file;
(202) receive data on the TCP link and judge the data volume that receives, if greater than 0 then execution in step (203), otherwise execution in step (204);
(203) data that receive are write in the local file.According to the check result of step 201, if file to be received is the X2 message file, execution in step 205, otherwise, execution in step 202.Write the data that receive in the local file and carry out step 205;
(204) reception of end this document;
(205) with data buffering to buffering area;
(206) according to preassigned the data in the buffering area are carried out the analysis of message packet length, if buffer content is that complete bag and the length that analyzes bag are less than the data length in the current buffering area, from buffering area, shift out this bag data, and execution in step (207), otherwise execution in step (202);
(207) packet is sent to coding/decoding module, execution in step (206) then according to inside definition.
6. method as claimed in claim 5 is characterized in that, described proper messages file is the X2 message file according to the filename standardize naming of ETSI's definition.
7. method as claimed in claim 6 is characterized in that, described X2 message file includes by the configuration information of monitoring office.
8. method as claimed in claim 7 is characterized in that, content displayed is any alternative information in the X2 message file in the described step (5).
9. method as claimed in claim 8 is characterized in that, the content that stores in the described step (5) in the database also also can be for inquiry and retrieval for any alternative information in the X2 message file.
10. method as claimed in claim 9 is characterized in that, the preassigned in the described step (206) is the ASN.1 standard.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006101622750A CN1997019B (en) | 2006-12-19 | 2006-12-19 | A message monitoring and receiving method based on FTP transfer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006101622750A CN1997019B (en) | 2006-12-19 | 2006-12-19 | A message monitoring and receiving method based on FTP transfer |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1997019A true CN1997019A (en) | 2007-07-11 |
CN1997019B CN1997019B (en) | 2010-12-08 |
Family
ID=38251945
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2006101622750A Expired - Fee Related CN1997019B (en) | 2006-12-19 | 2006-12-19 | A message monitoring and receiving method based on FTP transfer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1997019B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102035882A (en) * | 2010-11-29 | 2011-04-27 | 杭州思福迪信息技术有限公司 | FTP secondary logon system and method for transferring file and monitoring process |
CN111786942A (en) * | 2020-05-13 | 2020-10-16 | 上海大学 | Data security boundary monitoring method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11316717A (en) * | 1998-05-01 | 1999-11-16 | Nec Corp | Data transfer system |
CN100336373C (en) * | 2001-12-12 | 2007-09-05 | 中兴通讯股份有限公司 | Remote file transmission method |
US6898272B2 (en) * | 2002-08-01 | 2005-05-24 | Spirent Communications | System and method for testing telecommunication devices |
-
2006
- 2006-12-19 CN CN2006101622750A patent/CN1997019B/en not_active Expired - Fee Related
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102035882A (en) * | 2010-11-29 | 2011-04-27 | 杭州思福迪信息技术有限公司 | FTP secondary logon system and method for transferring file and monitoring process |
CN102035882B (en) * | 2010-11-29 | 2013-04-17 | 杭州思福迪信息技术有限公司 | FTP secondary logon system and method for implementing file transfer and process monitoring |
CN111786942A (en) * | 2020-05-13 | 2020-10-16 | 上海大学 | Data security boundary monitoring method |
CN111786942B (en) * | 2020-05-13 | 2022-06-14 | 上海大学 | Data security boundary monitoring method |
Also Published As
Publication number | Publication date |
---|---|
CN1997019B (en) | 2010-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100820522B1 (en) | Method, apparatus and system for providing a server agent for a mobile device | |
CN101090486B (en) | Monitoring device for multimedium monitoring information and its monitoring method | |
EP0976270B1 (en) | Data service in a mobile communications network | |
US8014294B2 (en) | System, apparatus and method for devices tracing | |
US20130191890A1 (en) | Method and system for user identity recognition based on specific information | |
US20010027474A1 (en) | Method for clientless real time messaging between internet users, receipt of pushed content and transacting of secure e-commerce on the same web page | |
CN103973781B (en) | A kind of screen monitor method and its system based on proxy server | |
US20120179840A1 (en) | System and method for distributed content transformation | |
WO2016145981A1 (en) | Data transmission system and method | |
CN102523296B (en) | Method, device and system for optimizing wireless webpage browsing resources | |
CN102567101A (en) | Multi-process management system for recognizing and monitoring pornographic images of WAP (wireless application protocol) mobile phone media | |
CN109982270B (en) | Multimedia information transmitting method for real-time identification and automatic adaptation mobile phone terminal | |
KR20000064041A (en) | Multimedia Messaging System and the Method | |
CN100370866C (en) | Wireless network controller log recording system and its method | |
CN101364901A (en) | Legal listening method, legal listening system, packet data gateway, listening center | |
CN1997019B (en) | A message monitoring and receiving method based on FTP transfer | |
CN102271331A (en) | Method and system for detecting reliability of service provider (SP) site | |
CN101924815A (en) | 3G MOA phone middleware embedded system | |
US20100328418A1 (en) | Method for real-time remote presentation and control of a visual page from a mobile terminal during a video call | |
CN104753774A (en) | Distributed enterprise integrated access gateway | |
CN101005515A (en) | Message monitoring and receiving system based on FTP transmission | |
CN113608778A (en) | Application management method and device, storage medium and electronic equipment | |
CN105681054A (en) | Intelligent aggregating content and voice input traffic-fee-free APP system and method | |
CN111935316A (en) | Method and device for acquiring front-end equipment catalog | |
CN112291210B (en) | Method and device for acquiring front-end equipment catalog |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20101208 Termination date: 20151219 |
|
EXPY | Termination of patent right or utility model |