A kind of data processing method and view networked system
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of data processing method and a kind of view networking system
System.
Background technique
It is the important milestone of network Development depending on networking, is the more advanced form of internet, is a real-time network, it can
It realizes the whole network HD video real-time Transmission that current internet cannot achieve, pushes numerous Internet applications to HD video;
To realize the service of large-scale high-definition video synthesis on a platform, for example, HD video meeting, video monitoring, intelligence
Monitoring analysis, emergency command etc..
Terminal device can disappear alarm when monitoring hazard event such as fire, mud-rock flow, explosion, riot etc. event
Breath is sent to position dispatching platform, and then user can be handled warning message by position dispatching platform, such as establishes and reports
How the videophone of alert point, commander handle hazard event.Wherein, warning message is using WebSocket (based on the complete of TCP
Duplex communication protocol) agreement is transmitted, and use the data of WebSocket transmission that can be emptied in page furbishing, because
If this some warning message is not handled in time, when next warning message arrives, then not processed warning message will
It is removed, causes user that can not handle.
Summary of the invention
The embodiment of the present invention is the technical problem to be solved is that providing a kind of data processing method, when solving page furbishing
The problem of loss of data.
Correspondingly, the embodiment of the invention also provides a kind of view networked system, to guarantee the realization of the above method and answer
With.
To solve the above-mentioned problems, the invention discloses a kind of data processing methods, are applied in view networked system, described
It include position dispatching platform and view networking message forwarding server based on view networking depending on networked system, wherein the position tune
Spending platform includes view networking position dispatch server and client, which comprises the view networking message forwarding server
Warning message is received, the warning message is sent by terminal device;The view networking message forwarding server is by the report
Alert message is forwarded to the view networking position dispatch server;The view networking position dispatch server receives warning message, and
In the database by warning message storage;Determine untreated warning message in database, and by the untreated report
Alert message is sent to the client;The client shows the untreated warning message;Wherein, the warning message is
Using the transmission of full-duplex communication agreement.
The invention also discloses a kind of view networked system, the networked system includes the position dispatching platform based on view networking
With view networking message forwarding server, the position dispatching platform includes view networking position dispatch server and client, depending on connection
Network information forwarding server includes: receiving module and the first forwarding module, and described depending on networking position dispatch server includes: storage
Module and the second forwarding module, the client include display module, wherein
The receiving module, for receiving warning message, the warning message is sent by terminal device;Described first
Forwarding module, for the warning message to be forwarded to the view networking position dispatch server;The memory module, for connecing
Warning message is received, and in the database by warning message storage;Second forwarding module, for determining in database not
The warning message of processing, and the untreated warning message is sent to the client;The display module is used for client
End shows the untreated warning message;Wherein, the warning message is transmitted using full-duplex communication agreement.
Compared with prior art, the embodiment of the present invention includes following advantages:
Networking message forwarding server is regarded described in the embodiment of the present invention after the warning message that receiving terminal apparatus is sent,
The warning message can be forwarded to the view networking position dispatch server;It is described to be received depending on networking position dispatch server
To after the warning message, the warning message can be stored in the database, then can determine untreated report in database
Alert message, is sent to the client for the untreated warning message, by the client to the untreated alarm
Message is shown;A warning message is sent to client since view networking position dispatch server is every, the client
The page just refreshes once, so that untreated history warning message is emptied, therefore will be each depending on networking position dispatch server
Warning message untreated in database in the database, is then sent to client, energy again by received warning message storage
Loss of data when enough customer terminal webpage being avoided to refresh every time.
Detailed description of the invention
Fig. 1 is a kind of networking schematic diagram of view networking of the invention;
Fig. 2 is a kind of hardware structural diagram of node server of the invention;
Fig. 3 is a kind of hardware structural diagram of access switch of the invention;
Fig. 4 is the hardware structural diagram that a kind of Ethernet association of the invention turns gateway;
Fig. 5 is a kind of view networked system general frame schematic diagram of the embodiment of the present invention;
Fig. 6 is a kind of step flow chart of data processing method embodiment of the invention;
Fig. 7 is the step flow chart of another data processing method embodiment of the invention;
Fig. 8 is a kind of structural block diagram of view networked system embodiment of the invention;
Fig. 9 is the structural block diagram of another view networked system embodiment of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service
Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring
Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication
All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or
Computer realizes that high-definition quality video plays.
Embodiment in order to enable those skilled in the art to better understand the present invention is introduced to depending on networking below:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network
Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network
Switching), Streaming demand is met using Packet Switching depending on networking technology.Has grouping depending on networking technology
Flexible, the simple and low price of exchange, is provided simultaneously with the quality and safety assurance of circuit switching, it is virtually electric to realize the whole network switch type
The seamless connection of road and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lack
It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet.User data is in network-wide basis
It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can be realized at present mutually
The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous network video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform
Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy
Enough transmitted comprising signaling and data.For voice and video business, handled depending on networking and unified video platform Streaming Media
Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and
Using state-of-the-art real time operating system, the programme information in server instruction is mapped to specific hard drive space, media
Content is no longer pass through server, and moment is directly delivered to user terminal, and user waits typical time less than 0.2 second.It optimizes
Sector distribution greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the 20% of the internet ad eundem IP, but
The concurrent flow greater than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Depending on the structural design networked by servicing independent licence system, equipment and the modes such as user data is completely isolated every time
The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented black
The attack of visitor and virus, structural carefree secure network is provided for user.
It services innovative technology (Service Innovation Technology)
Business and transmission are fused together by unified video platform, whether single user, private user or a net
The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich
The multimedia video service of rich colorful various forms.Unified video platform is traditional to substitute with table schema using " menu type "
Complicated applications programming, considerably less code, which can be used, can be realized complicated application, realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class
Type, but centralized control node is needed to control whole network in network on this basis.
As shown in Figure 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes: node server, access switch, terminal (including various machines
Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases
Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal.
Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes: metropolitan area server, node switch, node serve
Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end
Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve
Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking network, and node server and metropolitan area
The network controlled under server can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat
Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 embodiment of the present invention can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including ether
Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (or
National net, World Wide Web etc.) and access net.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes: node server, access switch (including ether
Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The specific hardware structure of each access network equipment are as follows:
Node server:
As shown in Fig. 2, mainly including Network Interface Module 201, switching engine module 202, CPU module 203, disk array
Module 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engine
Module 202;Switching engine module 202 look into the operation of address table 205 to the packet come in, to obtain the navigation information of packet;
And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close
It is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded: 1) port if meeting the following conditions
It is less than to send caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, including
The operation such as initialization, read-write to hard disk;CPU module 203 is mainly responsible between access switch, terminal (not shown)
Protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table)
Configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module
302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould
Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met,
It then distributes corresponding flow identifier (stream-id), and enters switching engine module 303, otherwise abandon;Uplink network interface mould
The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 204 is come in enters switching engine
Module 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the navigation information of packet;
If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier
(stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full,
It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet
Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full,
Then abandon.
All pack buffer queues of 303 poll of switching engine module, are divided to two kinds of situations in embodiments of the present invention:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1)
It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and is forwarded:
1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval
Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and,
Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module
402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan
Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined
Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking mesh way address of measured data packet
DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting
Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410
(2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, according to the view of packet networking mesh if there is Bao Ze
Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway
SA, Ethernet length or frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network
Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine
Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes: node server, node switch, metropolitan area server.
Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes
Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
Access net data packet mainly include following sections: destination address (DA), source address (SA), reserve bytes,
payload(PDU)、CRC。
As shown in table 1, the data packet for accessing net mainly includes following sections:
Table 1
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet
Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address,
Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different datagrams, is if it is various protocol packages
64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment
It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server
Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment
System, introduces parameter in embodiments of the present invention: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification
Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just
There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters
The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into
0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN)
Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with
The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in table 2, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
Table 2
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its
In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position
Set is between the reserve bytes and payload of data packet.
In the prior art, due to being using the WebSocket (full-duplex communication based on TCP depending on the warning message in networking
Agreement) agreement is transmitted, and then warning message can be emptied in page furbishing, if therefore some warning message not by and
When handle, when next warning message arrive when, then not processed warning message will be removed, and cause user that can not locate
Reason;Therefore the embodiment of the present invention proposes a kind of data processing method applied in view networked system, that is, is receiving full duplex
It, in the database by warning message storage, then again will be untreated in database after the warning message of communication protocol transmission
Warning message be pushed to client, and then solve the problems, such as customer terminal webpage refresh when loss of data.
Wherein, it can refer to Fig. 5, show a kind of view networked system overall structure block diagram of the embodiment of the present invention, the view
Networked system 500 includes position dispatching platform 501 and view networking message forwarding server 502 based on view networking, wherein described
Position dispatching platform 501 includes view networking position dispatch server 5011 and client 5022.The view networking message forwarding clothes
Business device 502 is for providing message forwarding services, and the position dispatching platform 501 is for providing the storage, displaying and processing of message
Service.It further include terminal device 503 in Fig. 5, the terminal device may include ethernet end device and/or set depending on networked terminals
It is standby, wherein between the terminal device 503 and view networking message forwarding server 502, to regard networking message forwarding server 502
Between view networking position dispatch server 5011, and between view networking position dispatch server 5011 and client 5012
Warning message is all made of the transmission of full-duplex communication agreement.
Wherein, in the embodiment of the present invention, the client-side program of the position dispatching platform 501 can be deployed in PC
On (personal computer, personal computer), it can be showed in the form of Web site;Wherein, the Web site is with super
Text marking language (Hyper Text Markup Language, HTML) and hypertext transfer protocol (Hyper Text
Transfer Protocol, HTTP) based on, it is capable of providing the information of towards Internet service, consistent user interface
Browsing system.
Referring to Fig. 6, a kind of step flow chart of data processing method embodiment of the invention is shown, is specifically included:
Step 601, the view networking message forwarding server receive warning message, and the warning message is by terminal device
It sends.
The warning message described be forwarded to the view depending on networking message forwarding server and network position tune by step 602
Spend server.
In the embodiment of the present invention, user when finding hazard event, can be used terminal device (depending on networked terminals and/or with
Too network termination) alarm operation is executed, after user executes alarm operation, terminal device can send alarm to position dispatching platform and disappear
Breath, so that user performs corresponding processing warning message by position dispatching platform, view networking such as corresponding with alarm point is eventually
End equipment establishes videophone, is monitored and is commanded with the treatment process to hazard event.Specifically, terminal device 503 can
The warning message is sent to by the view networking message forwarding service using full-duplex communication agreement (such as WebSocket agreement)
Device 502, and then by the warning message is forwarded to position dispatching platform 501 depending on networking message forwarding server 502;Therefore institute
It states and can receive warning message depending on networking message forwarding server 502, then still use full-duplex communication agreement by the alarm
Message is transmitted to view networking position dispatch server 5011, completes the forwarding to warning message.It wherein, can in the warning message
Location information, type of alarm information including much information such as alarm point etc..It is of course also possible to be that terminal device monitors danger
After dangerous event, warning message, the invention is not limited in this regard actively are sent to position dispatching platform.
Step 603, view networking position dispatch server receive warning message, and the warning message are stored in number
According in library.
Step 604 determines untreated warning message in database, and the untreated warning message is sent to institute
State client.
Step 605, the client show the untreated warning message.
In the embodiment of the present invention, primary alarm is sent to client 5012 disappear depending on networking position dispatch server 5011 is every
Breath, the page of the client 5012 just refreshes once, and then untreated history warning message can be emptied;Therefore, in order to ensure that
When 5012 page of client refreshes every time, not processed history warning message can be demonstrated, view networking position scheduling
The warning message can be deposited in the database, then be inquired from database after receiving warning message by server 5011
Warning message in all untreated warning messages or setting time is sent to client by untreated warning message
5012.After the client 5012 receives the untreated warning message, the untreated warning message can be opened up
Show, and then when the page of client 5012 is refreshed every time, avoids untreated history warning message and be lost;Then it uses
The warning message that family can be checked by client 5012 as processing, and can in the client 5012 to warning message at
Reason, multiple view networked terminals equipment for example around alarm point set up video conference, with building depending on networked terminals equipment for alarm point
Vertical videophone etc..
To sum up, disappear depending on networking message forwarding server in the alarm that receiving terminal apparatus is sent described in the embodiment of the present invention
After breath, the warning message can be forwarded to the view networking position dispatch server;The view networking position dispatch server
After receiving the warning message, the warning message can be stored in the database, then can determine in database and do not locate
The untreated warning message is sent to the client, by the client to described untreated by the warning message of reason
Warning message be shown;A warning message, the visitor are sent to client since view networking position dispatch server is every
The page at family end just refreshes once, so that untreated history warning message is emptied, therefore regards networking position dispatch server
Received warning message storage in the database, warning message untreated in database then will be sent to client again every time
End, can be avoided loss of data when customer terminal webpage refreshes every time.
In another embodiment of the invention, there is corresponding status indicator in each warning message in database, described
Status indicator includes untreated mark and processed mark;Warning message with untreated mark is that untreated alarm disappears
Breath, the warning message with processed mark are processed warning message.When untreated warning message a certain in client
After processed, the status indicator of the untreated warning message is updated to processed mark in database, i.e., this is untreated
Warning message is converted to processed message;Therefore view network position dispatch server can according to the status indicator of each warning message,
Untreated warning message is searched from database returns to client.
Referring to Fig. 7, show the step flow chart of another data processing method of the embodiment of the present invention, specifically include as
Lower step:
Step 701, the view networking message forwarding server receive warning message.
In the embodiment of the present invention, user has found such as fire, mud-rock flow, explosion, riot when hazard event, can be in terminal
Alarm operation is executed in equipment, terminal device generates corresponding warning message according to alarm operation, then by the warning message
It is sent to view networking message forwarding server 502, is transmitted to position dispatching platform depending on networking message forwarding server 502 by described
501.Certainly, terminal device can automatically be monitored hazard event, and to actively generate warning message concurrent when finding hazard event
It send to view networking message forwarding server 502.It is described in turn to can receive the warning message depending on networking message forwarding server 502,
And the warning message is transmitted to view networking position dispatch server 5011, it is specific as follows:
Step 702 described judges whether the warning message is Ethernet warning message depending on networking message forwarding server.
In the embodiment of the present invention, the terminal device can be view networked terminals equipment, is also possible to ethernet terminal and sets
It is standby, therefore the warning message received depending on networking message forwarding server 502, it may be possible to Ethernet warning message (i.e. with
Too network data), it is also possible to regard network alarm message (i.e. view networking data);But it is described depending on networking location server 5011 can only
It handles depending on network alarm message, it is therefore desirable to Ethernet warning message is converted into view network alarm message, to report
Alert message is forwarded.Specifically, if described can divide received warning message depending on networking message forwarding server 502
Analysis, judges whether received warning message is Ethernet warning message, if so, 703 are thened follow the steps, if it is not, thening follow the steps
704。
The Ethernet warning message is converted to view network alarm message by step 703.
It is described depending on networking message forwarding server 502 determine it is received be Ethernet warning message when, can to it is described with
Too net warning message is converted, and Ethernet warning message is converted to view network alarm message, is then forwarded, that is, executes
Step 704.
Step 704 is forwarded to the view networking position dispatch server depending on network alarm message for described.
It is described that Ethernet warning message is being converted into view network alarm message depending on networking message forwarding server 502, or,
After receiving view network alarm message, the view networking position dispatch server 5011 can will be forwarded to depending on network alarm message
In, and then complete the forwarding to warning message.
Step 705, view networking position dispatch server receive warning message, and the warning message are stored in number
According in library.
It is described to can receive the warning message depending on networking position dispatch server 5011 in the embodiment of the present invention, then will
The warning message is stored in database.Warning message in database all has status indicator, and the status indicator is used for table
The processing status of warning message is levied, the status indicator includes processed mark and untreated mark, the processed mark table
Levying warning message is that state processed, the untreated mark have characterized warning message as not processed state;Due to received
Warning message is the untreated warning message of user, therefore when by the storage of received warning message in the database, can be should
Warning message adds untreated mark.
In an alternative embodiment of the invention, it can be fed back according to client 5012 depending on networking position dispatch server 5011
Status message is updated the status indicator of warning message in database.Specifically, user can be in client 5012 to not
The warning message of processing executes processing operation, after client receives the processing operation of user, can jump to corresponding processing circle
Face, and then user can be handled the warning message at processing interface;The untreated alarm signal is determined to client 5012
After breath is processed, the corresponding mark update message of the untreated warning message can be generated according to processed mark, then will
The mark update message is sent to the view networking position dispatch server 5011;The view networking position dispatch server
After 5011 receive the status message, according to the mark update message, by the state mark of the untreated warning message
Knowledge is updated to processed mark.
And then database can be determined according to the mark of warning message each in database depending on networking position dispatch server 5011
In untreated warning message, it is specific as follows:
Step 706 obtains the corresponding status indicator of each warning message in database.
Warning message with untreated mark is determined as untreated warning message by step 707.
The corresponding status indicator of each warning message in database can be obtained depending on networking position dispatch server 5011, if alarm
The status indicator of message is untreated mark, it may be determined that the warning message is untreated warning message, if warning message
Status indicator is processed mark, it may be determined that the warning message is processed warning message.
The untreated warning message is sent to the client by step 708.
It, can be by untreated warning message depending on networking position dispatch server 5011 after determining untreated warning message
Be sent to client 5012, wherein the untreated warning message of transmission can with untreated warning messages all in database,
It is also possible to untreated warning message in setting time, can be specifically arranged as desired, the invention is not limited in this regard;It is described
Setting time can also be arranged as desired.
Step 709, the client show the untreated warning message.
The client 5012 receives the untreated warning message, can open up to the untreated warning message
Show, to prompt user.
Step 710, the view networking position dispatch server receive the inquiry instruction that client is sent.
Step 711 obtains the corresponding warning message of the inquiry instruction from database, and is back to the client.
For the present invention one optionally in embodiment, user can also be by 5012 enquiry of historical data of client (i.e.
History warning message), inquiry operation can be executed in client 5012, client 5012 receives the inquiry operation of user
Afterwards, corresponding inquiry instruction can be generated according to the inquiry operation, and the inquiry instruction is sent to view networking position
Dispatch server 5011, with indicate it is described depending on networking position dispatch server 5011 inquire the inquiry instruction it is corresponding alarm disappear
Breath.And then the inquiry instruction that can receive client transmission depending on networking position dispatch server 5011, then from database
The corresponding warning message of the inquiry instruction is obtained, and is back to the client 5012;User is allowed to check history report
Alert message.In addition, user can also execute warning message distribution operation in the client 5012, client 5012 is received
After the warning message distribution operation, produces corresponding distribution and instructs and be sent to view networking position dispatch server 5011,
After receiving the distribution instruction depending on networking position dispatch server 5011, it may be determined that corresponding alarm of distribution instruction disappears
Breath, is then distributed to other clients for the warning message.What certain client 5012 can also execute user
Other operations are handled, and the embodiment of the present invention different one illustrates herein.
To sum up, position dispatch server is netted after receiving the warning message by the Union of Central Vision of the embodiment of the present invention, can be by institute
It states warning message storage in the database, then can determine untreated warning message in database, by the untreated report
Alert message is sent to the client, is shown by the client to the untreated warning message;Since view is networked
As soon as position dispatch server is every to send time warning message to client, the page of the client refreshes once, so that not locating
The history warning message of reason is emptied, therefore warning message untreated in database is sent to client, can be avoided visitor
Loss of data when family end page face is refreshed every time.
Secondly, the position dispatch server of view networking described in the embodiment of the present invention receives the inquiry instruction that client is sent;
The corresponding warning message of the inquiry instruction is obtained from database, and is back to the client.And then it is convenient for user query
History warning message, provides user experience.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to
According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented
Necessary to example.
Referring to Fig. 8, a kind of structural block diagram for regarding networked system embodiment of the present invention is shown, can specifically include: described
Networked system includes position dispatching platform 801 and view networking message forwarding server 802 based on view networking, the position scheduling
Platform 801 includes view networking position dispatch server 8011 and client 8012, includes: depending on networking message forwarding server 802
Receiving module 8021 and the first forwarding module 8022, it is described depending on networking position dispatch server 8011 include: memory module 80111
With the second forwarding module 80112, the client 8012 includes display module 80121, wherein
The receiving module 8021, for receiving warning message, the warning message is sent by terminal device;
First forwarding module 8022, for the warning message to be forwarded to the view networking position dispatch service
Device;
The memory module 80111, for receiving warning message, and in the database by warning message storage;
Second forwarding module 80112, for determining untreated warning message in database, and will be described untreated
Warning message be sent to the client;
The display module 80121 shows the untreated warning message for client;
Wherein, the warning message is transmitted using full-duplex communication agreement.
Referring to Fig. 9, the structural block diagram of another view networked system embodiment of the invention is shown.
In an alternative embodiment of the invention, the client 8012 further includes message generating module 80122 and message hair
Send module 80123, described depending on networking position dispatch server 8011 further includes update module 80113, wherein
The message generating module 80122, after determining that untreated warning message is processed, according to processed mark
Know and generates the corresponding mark update message of the untreated warning message;
The message transmission module 80123, for the mark update message to be sent to view networking position scheduling
Server;
The update module 80113 is used for according to the mark update message, by the shape of the untreated warning message
State mark is updated to processed mark.
In an alternative embodiment of the invention, view position dispatch server 8011 of networking further includes enquiry module
80114,
The enquiry module 80114, for receiving the inquiry instruction of client transmission;The inquiry is obtained from database
Corresponding warning message is instructed, and is back to the client.
In an alternative embodiment of the invention, first forwarding module 8022, if being forwarded for the view networking message
Server determines that the warning message is Ethernet warning message, then the Ethernet warning message is converted to view network alarm
Message;The view networking position dispatch server is forwarded to depending on network alarm message by described.
In an alternative embodiment of the invention, second forwarding module 80112, for obtaining, respectively alarm disappears in database
Corresponding status indicator is ceased, the status indicator includes processed mark and untreated mark;By the report with untreated mark
Alert information is determined as untreated warning message.
To sum up, disappear depending on networking message forwarding server in the alarm that receiving terminal apparatus is sent described in the embodiment of the present invention
After breath, the warning message can be forwarded to the view networking position dispatch server;The view networking position dispatch server
After receiving the warning message, the warning message can be stored in the database, then can determine in database and do not locate
The untreated warning message is sent to the client, by the client to described untreated by the warning message of reason
Warning message be shown;A warning message, the visitor are sent to client since view networking position dispatch server is every
The page at family end just refreshes once, so that untreated history warning message is emptied, therefore regards networking position dispatch server
Received warning message storage in the database, warning message untreated in database then will be sent to client again every time
End, can be avoided loss of data when customer terminal webpage refreshes every time.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In the computer-readable memory to work in a predictive manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of data processing method provided by the present invention and it is a kind of be described in detail depending on networked system, this
Apply that a specific example illustrates the principle and implementation of the invention in text, the explanation of above example is only intended to
It facilitates the understanding of the method and its core concept of the invention;At the same time, for those skilled in the art, think of according to the present invention
Think, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as pair
Limitation of the invention.