Summary of the invention
The present invention solves existing by providing a kind of network instant communication data information real-time monitoring system and monitoring method
There is the labor management instant communication information in technology to be easy to there is technical issues that accidentally to delete or leak to delete.
The embodiment of the invention provides a kind of network instant communication data information real-time monitoring systems, including data conversion storage to take
Business device, database server, message forwarding services device, monitoring server, user terminal and administrator terminal;
The data conversion storage server respectively with the database server, the monitoring server, the user terminal
It is connected with the administrator terminal;
The monitoring server also passes through the message forwarding services device and is connected with the user terminal;
Wherein, the forbidden character information obtained by the administrator terminal and the chat obtained by the user terminal
Information, through data conversion storage server storage into the database server, the monitoring server passes through data conversion storage
Server transfers the forbidden character information and the chat message from the database server, and to the illegal word
After symbol information and the chat message are matched, matching result is obtained, the message forwarding services device is tied according to the matching
Fruit sends the chat message.
Preferably, the system also includes alarm unit, the alarm unit is connected with the monitoring server;
Wherein, the alarm unit according to the matching result for alarming.
Preferably, the administrator terminal is also connected with the user terminal.
Preferably, the chat message includes text information and/or voice messaging.
Preferably, when the chat message includes the voice messaging, the monitoring server includes speech recognition list
Member;
Wherein, the voice recognition unit is for identifying the voice messaging.
Based on the same inventive concept, the embodiment of the present invention provides a kind of network instant communication data information real time monitoring side
Method, it is described to include:
Monitoring server transfers the forbidden character information and user terminal of administrator terminal by data conversion storage server
Chat message;
The monitoring server matches the forbidden character information and the chat message, obtains matching result;
The monitoring server sends the matching result to message forwarding services device, so that the message forwarding services device
The chat message is sent according to the matching result.
Preferably, when the matching result shows that the forbidden character information is matched with chat message, in the acquisition
After matching result, the method also includes:
The monitoring server sends warning message to the administrator terminal by the data conversion storage server.
Preferably, the chat message includes text information and/or voice messaging.
Preferably, when the chat message includes voice messaging, pass through data conversion storage service in the monitoring server
After the chat message of device calling and obtaining user terminal, the method also includes:
The monitoring server identifies the voice messaging.
One or more technical solutions in the embodiment of the present invention, have at least the following technical effects or advantages:
The chat message of the forbidden character information of administrator terminal and user terminal is stored by data conversion storage server
Into database server, monitoring server transfers forbidden character information and chat message progress through data conversion storage server again
Match, obtain matching result, stop press forwarding server sends chat message according to matching result, realizes and believes instant messaging
The effective monitoring of breath ensure that enterprises do not have forbidden character appearance, avoid accidentally deleting or leaking present in labor management deleting
The case where.
Specific embodiment
It is easy the presence of the technology for accidentally deleting or leaking the case where deleting to solve labor management instant communication information in the prior art
Problem, the present invention provide a kind of network instant communication data information real-time monitoring system and method.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
The present invention provides a kind of network instant communication data information real-time monitoring system, as shown in Figure 1, the system comprises
Data conversion storage server 101, database server 102, message forwarding services device 103, monitoring server 104, user terminal 105
With administrator terminal 106.Wherein, data conversion storage server 101 respectively with database server 102, monitoring server 104, use
Family terminal 105 is connected with administrator terminal 106, and monitoring server 104 also passes through message forwarding services device 103 and user terminal
105 are connected.
Specifically, on the one hand, administrator can set the forbidden character letter compared for reference by administrator terminal 106
Breath, will be illegal or belong to the information of secret and be added in administrator terminal 106 as forbidden character information, administrator's end
End 106 can also be managed forbidden character information.On the other hand, specific use can also be carried out by administrator terminal 106
The search at family and the search of characteristic information carry out normal chatting operation, and the pipe to user terminal 105 with other terminals
Reason.Wherein, administrator terminal 106 is also connected with user terminal 105, thus, administrator terminal 106 can be with user terminal 105
Carry out provisional communication.It should be noted that preferred, administrator terminal 106 and user terminal 105 can use wireless telecommunications side
Formula is attached, thus, administrator terminal 106 can be communicated with user terminal 105, administrator terminal 106 and user terminal 105
Between can also be communicated by message forwarding services device 103.In addition, may include in the real-time monitoring system multiple
User terminal 105.
Specifically, on the one hand, user is able to carry out chatting operation by user terminal 105, thus, user terminal 105
It can obtain chat message from the user.On the other hand, user's registration, Yong Hudeng can also be performed by user terminal 105
Record, the process for adding good friend and Modify password.
After obtaining forbidden character information by administrator terminal 106 and obtaining chat message by user terminal 105,
Forbidden character information and chat message are stored into database server 102 by data conversion storage server 101, database clothes
Business device 102 stores forbidden character information and chat message.In addition, the log-on message of user terminal 105 also can store
Into database server 102.It should be noted that user terminal 105 is needed when needing Modify password by data conversion storage
Server 101 is modified in database server 102, meanwhile, administrator terminal 106 needed when carrying out information search through
Data conversion storage server 101 is crossed to scan in database server 102.
For monitoring server 104, monitoring server 104 passes through data conversion storage server 101 from database service
Forbidden character information and chat message are transferred in device 102, and forbidden character information and chat message are matched, and are matched
As a result, when chat message is consistent with forbidden character information, determining that matching result is first to realize the monitoring to chat message
Matching result understand that there are forbidden characters in chat message, when chat message and forbidden character according to the first matching result
When information is not consistent, determine that matching result is that the second matching result understand that in chat message not according to the second matching result
There are forbidden characters.Wherein, monitoring server is matched by the method in SocketClass class.
Monitoring server 104 is sent to message forwarding services device 103 after obtaining matching result, by matching result, disappears
It ceases forwarding server 103 and chat message is sent according to matching result.Specifically, when matching result is the first matching result,
Show that there are forbidden characters in chat message, then message forwarding services device 103 handles the forbidden character masking in chat message
It is sent again afterwards, when matching result is the second matching result, shows that there is no forbidden characters in chat message, then message turns
Hair server 103 directly transmits chat message.
In the internet traffic real-time monitoring system of the application, user can carry out text by user terminal 105
Chatting operation can also carry out Video chat operation, thus, chat message includes text information and/or voice messaging.Work as chat
When including voice messaging in information, the monitoring server 104 includes voice recognition unit, and voice recognition unit is used for voice
Information is identified, text information is converted speech information into, so that text information be matched with forbidden character information.
Further, the internet traffic real-time monitoring system of the application further includes alarm unit, alarm unit and monitoring
Server 104 is connected, and alarm unit according to matching result for alarming.Specifically, when matching result is the first matching
When as a result, there are forbidden characters in alarm unit warning note chat message.Alarm unit can be audible alarm unit, can also
Think light warning unit, can also be acousto-optic warning unit.In addition, after monitoring server 104 obtains the first matching result,
First matching result can be sent to administrator terminal 106 through data conversion storage server 101 and carry out warning note.
Based on the same inventive concept, the present invention provides a kind of network instant communication data information method for real-time monitoring, such as Fig. 2
It is shown, which comprises
Step 201: monitoring server 104 transfers the forbidden character of administrator terminal 106 by data conversion storage server 101
The chat message of information and user terminal 105;
Step 202: the monitoring server 104 matches the forbidden character information and the chat message, obtains
Obtain matching result;
Step 203: the monitoring server 104 sends the matching result to message forwarding services device 103, so that described
Message forwarding services device 103 sends the chat message according to the matching result.
When the matching result shows that the forbidden character information is matched with chat message, in the acquisition matching result
Later, the method also includes:
The monitoring server 104 sends warning message to administrator's end by the data conversion storage server 101
End 106.
In the application, chat message includes text information and/or voice messaging.When the chat message includes voice messaging
When, it is described after the chat message that the monitoring server 104 passes through 101 calling and obtaining user terminal 105 of data conversion storage server
Method further include:
The monitoring server 104 identifies the voice messaging.
In this application, class library stores all classes, method and the function of system needs, user client, management
Member's client and each server have been applied to the content in class library.Class library has the function of serialized data, will be right
As flowing the call method when needing to transmit, so that it may be converted into the data of binary stream.Specifically, one memory stream storage of creation
Area, and object data sequence is turned into memory flow data, such data can be transmitted;It is called when receiving
Method, so that it may binary stream is melted into object data stream in reversion, thus, memory flow data is deserialized as object data, is closed
Close the memory field of creation and release.
In addition, class library has definition command mode capabilities, different information is arranged different type of messages, such as
The message generated when login is set to Login, and the user list information of Main form is set to UserList, because of all letters
Breath is stored in database server 102, so being provided with different type of messages can examine faster in order to system
Rope improves speed to corresponding data, and the convenience generated is realized in the code of monitoring later, if being provided with message
Type, it is only necessary to be monitored to type of message for the data of Chat, increase the ability of system processing.
In addition, class library also has the function of database linkage function and reads file content, in data conversion storage service
There are setFile.txt files under the path bin/Debug of device 101, and what is stored is the address of database server 102, right
The title and username and password for the database server 102 answered.Corresponding database can be found by this file system
Server 102 carries out data exchange.
In this application, IP and port numbers where showing server above the page of each server, when clicking connection
Connect work.
In one embodiment, firstly, being logged in user terminal 105 and administrator terminal 106, user terminal
105 logins are users to be monitored, and that administrator terminal 106 logs in is administrator, when user to be monitored sends out to Terminal Server Client
When sending chat message, data conversion storage server 101 stores chat message into database server 102, wherein database clothes
Business device 102 is also previously stored with the forbidden character information from 106 typing of administrator terminal, and monitoring server 104 will be by that will chat
Its information is matched with forbidden character information, so that the monitoring to chat message is realized, finally, message forwarding services device 103
The chat message of user terminal 105 is sent to Terminal Server Client according to the matching result of monitoring server 104.
One or more technical solutions in the embodiment of the present invention, have at least the following technical effects or advantages:
The chat message of the forbidden character information of administrator terminal and user terminal is stored by data conversion storage server
Into database server, monitoring server transfers forbidden character information and chat message progress through data conversion storage server again
Match, obtain matching result, stop press forwarding server sends chat message according to matching result, realizes and believes instant messaging
The effective monitoring of breath ensure that enterprises do not have forbidden character appearance, avoid accidentally deleting or leaking present in labor management deleting
The case where.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.