Specific implementation mode
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, below in conjunction with the accompanying drawings and specific real
Applying mode, the present invention is described in further detail.Obviously, described embodiments are some of the embodiments of the present invention, without
It is whole embodiment.Based on the embodiments of the present invention, those of ordinary skill in the art are not before making creative work
The every other embodiment obtained is put, shall fall within the protection scope of the present invention.
It is the important milestone of network Development depending on networking, is a real-time network, can realize HD video real-time Transmission,
Push numerous the Internet, applications to HD video, high definition is face-to-face.
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 requests, TV Mail, individual character recording (PVR), Intranet (manage) channel, intelligent video Broadcast Control, information publication by oneself
All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, word, communication, data, by TV or
Computer realizes that high-definition quality video plays.
To make those skilled in the art more fully understand the embodiment of the present invention, below to being introduced depending on networking:
Depending on networking, applied portion of techniques is as described below:
Network technology (NetworkTechnology)
Network technology innovation depending on networking improves traditional ethernet (Ethernet), potential huge on network to face
Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network
Switching), Streaming demands are met using Packet Switching depending on networking technology.Has grouping depending on networking technology
Flexible, the simple and low price exchanged, is provided simultaneously with quality and the 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)
Depending on two advantages of asynchronous and packet switch networked using Ethernet, it is scarce under the premise of complete be compatible with to eliminate Ethernet
It falls into, has the end-to-end seamless connection of the whole network, direct user terminal directly carries IP data packets.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 realizes at present mutually
The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous Internet video applications to high Qinghua, unitizes.
Server technology (ServerTechnology)
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 include signaling and data transmission.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
State-of-the-art real time operating system is used, 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 for typical time to be 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 internets ad eundem IP, but
The concurrent flow more than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Structural design depending on networking 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, fire wall generally, has prevented black
The attack of visitor and virus, provide structural carefree secure network to the user.
Service innovative technology (Service Innovation Technology)
Business and transmission are merged 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 substituted using " menu type " with table schema traditional
Complicated applications program, and can use considerably less code that complicated application can be realized, and 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 Ethernet can be connected.
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 be formed regarding networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
1, networked devices are regarded to classify
1.1 embodiment of the present invention can be mainly divided into 3 classes depending on the equipment in networking:Server, interchanger (including ether
Net association turns gateway), terminal (including various set-top boxes, encoding board, memory etc.).It can be divided into Metropolitan Area Network (MAN) on the whole depending on networking
(or national net, World Wide Web etc.) and access net.
The equipment of 1.2 wherein access mesh portions can be mainly divided into 3 classes:Node server, access switch (including ether
Net association turns gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The particular hardware structure of each access network equipment is:
Node server:
As shown in Fig. 2, including mainly 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 to the packet come in look into the operation of address table 205, 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 if meeting the following conditions:1) port
It is less than to send caching;2) the queue package counting facility is more than zero.Disk array module 204 mainly realizes the control to hard disk, including
The operations 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, including mainly 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,
Corresponding flow identifier (stream-id) is then distributed, and enters switching engine module 303, is otherwise abandoned;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 to the packet come in look into the operation of address table 306, to obtain the navigation information of packet;
It is gone toward uplink network interface if the packet into switching engine module 303 is downstream 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:
It is gone toward uplink network interface if the queue is downstream 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 more than zero;3) token that rate control module generates is obtained;
It is gone toward uplink network interface if the queue is not downstream network interface, meets the following conditions and be forwarded:
1) it is less than to send caching for the port;2) the queue package counting facility is more than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval
The pack buffer queue that interface is gone toward uplink network interface generates token, to control the code check 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, including mainly 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 add modules 409, MAC removing modules 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
The ethernet mac DA of measured data packet, ethernet mac SA, Ethernet length or frame type, networking mesh way address is regarded
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 modules 410
(2byte), and enter corresponding order caching, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, if there is Bao Ze regarding with networking mesh according to packet
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:
Include mainly 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 includes mainly Network Interface Module, video encoding engine
Module, CPU module;Memory includes mainly 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 includes mainly Network Interface Module, switching engine module and CPU module;Metropolitan area server includes mainly
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
The data packet for accessing net includes mainly following sections:Destination address (DA), source address (SA), reserve bytes,
payload(PDU)、CRC。
As shown in the table, the data packet for accessing net includes mainly following sections:
DA |
SA |
Reserved |
Payload |
CRC |
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 parts payload have different length according to the type of different datagrams, are 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 computational methods follow 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
2 kinds can be all can exceed that 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 unique, is closed to accurately describe the connection between metropolitan area network equipment
System, introduces parameter in embodiments of the present invention:Label uniquely describes 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 device A and equipment B there are two connection, then data packet from device A to equipment B just
There are 2 labels, data packet also there are 2 labels from equipment B to device A.Label is divided into label, outgoing label, it is assumed that data packet enters
The label (entering label) of device A is 0x0000, and the label (outgoing label) when this data packet leaves device A may reform into
0x0001.The networking flow 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 is all dominated by metropolitan area server, and node switch, node server are all passive execution, 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 the table, the data packet of Metropolitan Area Network (MAN) includes mainly following sections:
DA |
SA |
Reserved |
Label |
Payload |
CRC |
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.
Based on the above-mentioned characteristic regarding networking, it is proposed that the core idea of the embodiment of the present invention is sent by receiving client
, for the service request of IP Camera, it is privately owned to determine that the corresponding type of service of service request and IP Camera use
Agreement is then based on type of service and proprietary protocol, the corresponding privately owned control instruction of service request is generated, by the privately owned control
Instruction is sent to IP Camera, executes the corresponding operation of privately owned control instruction to control IP Camera, realizes to using
The IP Camera of various criterion is uniformly accessed into, and is improved the integration of equipments degree of monitoring system, is improved the stabilization of monitoring system
Property.
In embodiments of the present invention, upper layer application unified interface, lower layer's dynamic load, independent realization, by patrolling are based on
Access is divided into two layers on volume, one layer is unified service application interface, and one layer is dynamically to implement, in monitoring system
It only interacts, can reach device independence purpose with the direct relation of shielding system and equipment room, realize and set with upper layer in angle
Standby is uniformly accessed into.
By the way that general application interface to be abstracted, i.e., the business of different protocol standards is subjected to unified same sex extraction,
Then business used in monitoring system is defined, then the independent access for realizing different standards is realized, while according to upper
The incoming type of layer completes dynamic load.
During realizing dynamic load, all standards can be compatible with by being uniformly accessed into Service Design, but be uniformly accessed into clothes
Business will not load any standard module in the case where no equipment accesses, and can just add when receiving the facility information of various criterion
The standard module is carried, and only load is primary, when the equipment for continuing to have the standard, is not just loading.
In the data for receiving monitoring system, unified interface verification can be carried out according to data type, after verification further according to
Access type carries out dynamic standard entity dynamic load logic, only loads primary, i.e. foundation and the relationship between standards entities,
It is dispatched to unified interface B/C/D/E etc. further according to unified interface A, realizes the processing method of a closed loop.
The embodiment of the present invention can include system layer, application layer, access layer, mechanical floor with monitoring system.
System layer can be represent layer, can be interacted with user.
Application layer can be to be uniformly accessed into service, and the unified interface for completing overlayer monitors system is called, and realize unified industry
Business application interface extracts, while when monitoring system is transferred and is uniformly accessed into service, the service of being uniformly accessed into can be passed according to monitoring system
Defeated device type completes the function that dynamic load downloads example.
Access layer can be include Onvif, GB/T 28181, API (Application Programming
Interface), the entities such as other standards refer to specific equipment access and realize that the main realization for completing standard agreement, Onivf refers to
Completion Onvif agreements access, GB/T 28181, which refers to, completes the access of 28181 agreements of GB/T, and other standards refer to completion other standards and connect
Enter, API refers to the access for completing nonstandard protocol.
It should be noted that the entity of access layer is independent entity, one entity of a standard realizes benchmark service
Isolation simplifies system realization, ensure that the stability of corpus separatum, lead to this reality after will not going wrong because of other entities
Body is abnormal.
Mechanical floor can be include IP Camera, audio/video coder (Encoder), audio/video decoder
(Decoder), refer to various standards/off-gauge monitoring device.
Specifically, with reference to Fig. 5, a kind of step flow chart of the method for business processing of the embodiment of the present invention, institute are shown
It states method to be applied to regard networking, may include steps of:
Step 501, receive what client was sent, for the service request of IP Camera;
In embodiments of the present invention, when client needs to be operated for some IP Camera, video is such as transferred
Stream, acquisition daily record, dollying head orientation etc., client can send the service request for IP Camera, monitoring system
The service request of client transmission can be received.
As an example, client may include the client being located in networking or internet.
Step 502, the corresponding type of service of the service request and the proprietary protocol that the IP Camera uses are determined;
After receiving service request, monitoring system can parse service request, may thereby determine that type of service,
And the proprietary protocol that IP Camera uses.
As an example, type of service may include media class, holder class, control class, alarm class.
Wherein, media class may include audio, video data transmission services;
Holder class may include holder and presetting bit business, represents holder comprehensive (left and right/upper and lower) mobile and camera lens and becomes
Again, Zoom control, presetting bit may include setting and redirect, and setting is setting specific position, and it is to jump to specific position to redirect;
It may include all get and set content services to control class, refers to the get and set of all audio & video equipments, get is
The parameter that can be obtained from audio & video equipment, set is the audio & video equipment parameter that can be arranged.Such as:Get obtains current audio and video
The resolution ratio of current audio & video equipment, that is, control audio and video class parameter is arranged in the resolution ratio of equipment, set;
It may include all alarm business of monitoring device, such as network interruption, video-losing alarm to alert class.
Proprietary protocol may include Onvif agreements, 28181 agreements of GB/T, PSIA agreements.
Wherein, Onvif agreements can be the agreement defined using Onvif specifications, and Onvif specifications describe Internet video
Model, interface, data type and the pattern of data interaction, and some existing standards, such as WS series standards have been multiplexed,
The target of Onvif specifications is to realize an Internet video framework agreement, make network video product that different vendor produced (including
Shoot with video-corder front end, video recording equipment etc.) complete intercommunication.
28181 agreements of GB/T are to be based on《Safety precaution video monitoring networking system information transmissions, exchange, control technology are wanted
It asks》The agreement of definition is, it is specified that information transmission in city monitoring alarm networking system, exchange, the interconnection architecture of control, communication protocols
Discuss structure, the technologies such as transmission, the basic demand and security requirement that exchange, control, and control, transfer process and protocol interface
It is required that.The standard is suitable for the conceptual design of safety precaution monitoring alarm networked system, system detectio, examination and associated
Equipment research and development, production, other information system can refer to use.
PSIA agreements are the agreements that physics security protection interoperability alliance defines, and are the hardware and software of entity safety-protection system
Platform foundes a kind of standardized interface, and the different safety-protection systems of IP based network is made to have compatibility.
In a kind of preferred embodiment of the present invention, step 502 may include following sub-step:
Sub-step S11 obtains the mark of the IP Camera;
In embodiments of the present invention, may include the mark of IP Camera, such as net in the service request that client is sent
The ID of network camera, by parsing service request, monitoring system can extract the mark of IP Camera from specific field.
Sub-step S12 is matched in preset agreement corresponds to table, obtains the corresponding proprietary protocol of the mark.
Since the proprietary protocol that the IP Camera of different manufacturers uses is different, monitoring system can pre-establish agreement pair
Table is answered, agreement, which corresponds to table, can store the mark of IP Camera and the correspondence of proprietary protocol, when acquisition IP Camera
Mark after, monitoring system can match in agreement corresponds to table mark, determine and identify matched proprietary protocol.
Step 503, it is based on the type of service and the proprietary protocol, generates the corresponding privately owned control of the service request
Instruction;Wherein, the privately owned control instruction is the instruction that the IP Camera can identify;
In order to generate the privately owned control instruction that IP Camera can identify, after determining type of service and proprietary protocol,
Monitoring system can be generated for different types of service, and corresponding privately owned control is generated using the proprietary protocol of IP Camera
Instruction.
Service request is uniformly accessed on upper layer in order to realize, monitoring system can first use standard agreement service request
It is uniformly processed, then determines corresponding proprietary protocol again, standardized service request conversion IP Camera can be known
Other privately owned service request.
Specifically, step 503 may include following sub-step:
Sub-step S21 searches the corresponding stereotyped command format of the type of service in preset standard agreement;
As an example, standard agreement may include regarding networking protocol.
After receiving service request, monitoring system can call standard agreement, determine type of service pair in service request
The stereotyped command format answered.
In a kind of preferred embodiment of the present invention, standard agreement can have one or more first interfaces, sub-step S21
It may include following sub-step:
Sub-step S211 determines the corresponding target first interface of the type of service;
Sub-step S212 calls the target first interface, determines the corresponding stereotyped command format of the type of service.
In embodiments of the present invention, standard agreement can externally provide one or more first interfaces, and each service class
Type is corresponding with one or more first interfaces, and monitoring system can call corresponding target first interface corresponding with type of service,
Then the corresponding stereotyped command format of type of service is obtained from target first interface.
Sub-step S22 is based on the stereotyped command format, generates the corresponding standard control instruction of the service request;
After determining stereotyped command format, monitoring system can extract critical field from service request, refer to according to standard
It enables format be converted, generates the corresponding standard control instruction of service request.
The standard control instruction is converted to privately owned control instruction by sub-step S23 using the proprietary protocol.
After generating standard control instruction, monitoring system determines that IP Camera corresponds to proprietary protocol, then can call
Corresponding proprietary protocol, is converted to privately owned control instruction, so that IP Camera can be identified by standard control instruction.
In a kind of preferred embodiment of the present invention, proprietary protocol can have one or more second interfaces, in sub-step
Before S23, it can also include the following steps:
Establish the correspondence of one or more of first interfaces and one or more of second interfaces.
In embodiments of the present invention, proprietary protocol can externally provide one or more second interfaces, and second interface can be with
Corresponding with first interface, such as Fig. 6, type of service is media class, and the target first interface of corresponding standard agreement can be:openA
(opening audio and video), closeA (closing audio and video), and the corresponding target second interface of proprietary protocol can be:Init B are (just
Beginningization), connect B (connection), open B (open audio and video), disconnect B (disconnecting audio and video).
In a kind of preferred embodiment of the present invention, sub-step S23 may include following sub-step:
Sub-step S231 is based on the correspondence, determines the corresponding target second interface of the target first interface;
Sub-step S232 calls the target second interface, and the standard control instruction is converted to privately owned control instruction.
After generating standard control instruction, monitoring system can determine the corresponding target second interface of target first interface,
Standard control instruction is converted to privately owned control instruction by then invocation target second interface.
Step 504, the privately owned control instruction is sent to the IP Camera, is held with controlling the IP Camera
The corresponding operation of the row privately owned control instruction.
After generating privately owned control instruction, privately owned control instruction can be sent to IP Camera, network by monitoring system
After camera receives privately owned control instruction, the corresponding operation of privately owned control instruction can be carried out.
In embodiments of the present invention, it is sent by receiving client, for the service request of IP Camera, determines industry
The proprietary protocol that corresponding type of service and IP Camera use is asked in business, is then based on type of service and proprietary protocol, raw
At the corresponding privately owned control instruction of service request, the privately owned control instruction is sent to IP Camera, is taken the photograph with controlling network
As the corresponding operation of the privately owned control instruction of head execution, being uniformly accessed into the IP Camera using various criterion is realized, is carried
The integration of equipments degree of high monitoring system, improves the stability of monitoring system.
It should be noted that for embodiment of the method, for simple description, therefore it is all expressed as a series of action group
It closes, but those skilled in the art should understand that, the embodiment of the present invention is not limited by the described action sequence, because according to
According to the embodiment of the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented
Necessary to example.
With reference to Fig. 7, a kind of structure diagram of the system of business processing of the embodiment of the present invention, the system application are shown
In regarding networking, following module can specifically include:
Service request receiving module 701, for receiving client transmission, for the service request of IP Camera;
Determining module 702, for determining what the corresponding type of service of the service request and the IP Camera used
Proprietary protocol;
Privately owned control instruction generation module 703 generates the industry for being based on the type of service and the proprietary protocol
Corresponding privately owned control instruction is asked in business;Wherein, the privately owned control instruction is the instruction that the IP Camera can identify;
Privately owned control instruction sending module 704, for the privately owned control instruction to be sent to the IP Camera, with
It controls the IP Camera and executes the corresponding operation of the privately owned control instruction.
In a kind of preferred embodiment of the present invention, privately owned control instruction generation module 703 includes:
Stereotyped command format searches submodule, in preset standard agreement, it is corresponding to search the type of service
Stereotyped command format;
Standard control instruction generates submodule, for being based on the stereotyped command format, generates the service request and corresponds to
Standard control instruction;
Privately owned control instruction transform subblock is converted to the standard control instruction for using the proprietary protocol
Privately owned control instruction.
In a kind of preferred embodiment of the present invention, the standard agreement has one or more first interfaces, stereotyped command
Format searches submodule:
Target first interface determination unit, for determining the corresponding target first interface of the type of service;
Target first interface call unit determines that the type of service is corresponding for calling the target first interface
Stereotyped command format.
In a kind of preferred embodiment of the present invention, the proprietary protocol has one or more second interfaces, the system
Further include:
Corresponding relation building module connects for establishing one or more of first interfaces with one or more of second
The correspondence of mouth.
In a kind of preferred embodiment of the present invention, privately owned control instruction transform subblock includes:
Target second interface determination unit determines that the target first interface is corresponding for being based on the correspondence
Target second interface;
Target second interface call unit converts the standard control instruction for calling the target second interface
For privately owned control instruction.
In a kind of preferred embodiment of the present invention, determining module 702 includes:
Identify acquisition submodule, the mark for obtaining the IP Camera;
Proprietary protocol obtains submodule, for being matched in corresponding to table in preset agreement, obtains the mark and corresponds to
Proprietary protocol.
In a kind of preferred embodiment of the present invention, the standard agreement includes regarding networking protocol, and the proprietary protocol includes
Onvif agreements, 28181 agreements of GB/T, PSIA agreements.
In embodiments of the present invention, it is sent by receiving client, for the service request of IP Camera, determines industry
The proprietary protocol that corresponding type of service and IP Camera use is asked in business, is then based on type of service and proprietary protocol, raw
At the corresponding privately owned control instruction of service request, the privately owned control instruction is sent to IP Camera, is taken the photograph with controlling network
As the corresponding operation of the privately owned control instruction of head execution, being uniformly accessed into the IP Camera using various criterion is realized, is carried
The integration of equipments degree of high monitoring system, improves the stability of monitoring system.
The embodiment of the invention also discloses a kind of electronic equipment, including memory, processor and storage are on a memory simultaneously
The step of computer program that can be run on a processor, the processor realizes method as described above when executing described program.
The embodiment of the invention also discloses a kind of computer readable storage mediums, are stored thereon with computer program, the journey
The step of method as described above is realized when sequence is executed by processor.
For device embodiments, since it is basically similar to the method embodiment, so fairly simple, the correlation of description
Place illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiment, 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 be provided 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 with reference 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 flow and/or box combination.These can be provided
Computer program instructions are set to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine so that is held by the processor of computer or other programmable data processing terminal equipments
Capable instruction generates for realizing in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes
The device of specified function.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing terminal equipments
In computer-readable memory operate in a specific manner so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one flow of flow chart or multiple flows and/or one side of block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments 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 flow of flow chart or multiple flows
And/or in one box of block diagram or multiple boxes 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 include other elements that are not explicitly listed, or further include 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 including the element.
Above to a kind of method and system of business processing provided by the present invention, it is described in detail, answers herein
With specific case, principle and implementation of the present invention are described, and the explanation of above example is only intended to help to manage
Solve the method and its core concept of the present invention;Meanwhile for those of ordinary skill in the art, according to the thought of the present invention,
There will be changes in specific implementation mode and application range, in conclusion the content of the present specification should not be construed as to this hair
Bright limitation.